/* prebid.js v7.36.0
Updated: 2023-02-15
Modules: 33acrossBidAdapter, adagioBidAdapter, adponeBidAdapter, adyoulikeBidAdapter, adkernelBidAdapter, amxBidAdapter, aolBidAdapter, apacdexBidAdapter, appnexusBidAdapter, brightcomBidAdapter, connectadBidAdapter, conversantBidAdapter, eplanningBidAdapter, ixBidAdapter, lockerdomeBidAdapter, medianetBidAdapter, microadBidAdapter, nobidBidAdapter, nextMillenniumBidAdapter, minutemediaBidAdapter, openxBidAdapter, pubmaticBidAdapter, rubiconBidAdapter, sharethroughBidAdapter, sonobiBidAdapter, sovrnBidAdapter, synacormediaBidAdapter, teadsBidAdapter, trionBidAdapter, tripleliftBidAdapter, resetdigitalBidAdapter, adtelligentBidAdapter, unrulyBidAdapter, gumgumBidAdapter, yieldmoBidAdapter, currency, priceFloors, schain, britepoolIdSystem, criteoIdSystem, id5IdSystem, intentIqIdSystem, sharedIdSystem, uid2IdSystem, userId, verizonMediaIdSystem, enrichmentFpdModule, gptPreAuction, unifiedIdSystem, pubProvidedIdSystem */
if(window.pbjs&&window.pbjs.libLoaded)try{window.pbjs.getConfig("debug")&&console.warn("Attempted to load a copy of Prebid.js that clashes with the existing 'pbjs' instance. Load aborted.")}catch(e){}else (function(){
!function(){var e,n={5706:function(e,n,t){t.d(n,{Pd:function(){return s},Th:function(){return c},_U:function(){return d}});var r=t(5730),i=t(4358),o=t(265),a=t(4614),u="outstream";function c(e){var n=this,t=e.url,c=e.config,s=e.id,d=e.callback,f=e.loaded,l=e.adUnitCode,g=e.renderNow;this.url=t,this.config=c,this.handlers={},this.id=s,this.loaded=f,this.cmd=[],this.push=function(e){"function"==typeof e?n.loaded?e.call():n.cmd.push(e):(0,i.H)("Commands given to Renderer.push must be wrapped in a function")},this.callback=d||function(){n.loaded=!0,n.process()},this.render=function(){var e=this,n=arguments,c=function(){e._render?e._render.apply(e,n):(0,i.yN)("No render function was provided, please use .setRender on the renderer")};!function(e){var n=pbjs.adUnits,t=(0,a.sE)(n,(function(n){return n.code===e}));if(!t)return!1;var r=(0,o.Z)(t,"renderer"),i=!!(r&&r.url&&r.render),u=(0,o.Z)(t,"mediaTypes.video.renderer"),c=!!(u&&u.url&&u.render);return!!(i&&!0!==r.backupOnly||c&&!0!==u.backupOnly)}(l)?g?c():(this.cmd.unshift(c),(0,r.B)(t,u,this.callback,this.documentContext)):((0,i.yN)("External Js not loaded by Renderer since renderer url and callback is already defined on adUnit ".concat(l)),c())}.bind(this)}function s(e){return!(!e||!e.url)}function d(e,n,t){var r=null;e.config&&e.config.documentResolver&&(r=e.config.documentResolver(n,document,t)),r||(r=document),e.documentContext=r,e.render(n,e.documentContext)}c.install=function(e){return new c({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded,adUnitCode:e.adUnitCode,renderNow:e.renderNow})},c.prototype.getConfig=function(){return this.config},c.prototype.setRender=function(e){this._render=e},c.prototype.setEventHandlers=function(e){this.handlers=e},c.prototype.handleVideoEvent=function(e){var n=e.id,t=e.eventName;"function"==typeof this.handlers[t]&&this.handlers[t](),(0,i.ji)("Prebid Renderer event for id ".concat(n," type ").concat(t))},c.prototype.process=function(){for(;this.cmd.length>0;)try{this.cmd.shift().call()}catch(e){(0,i.H)("Error processing Renderer command: ",e)}}},875:function(e,n,t){t.d(n,{f:function(){return a}});var r=t(265),i={};function o(e,n,t){var r=function(e,n){var t=i[e]=i[e]||{bidders:{}};return n?t.bidders[n]=t.bidders[n]||{}:t}(e,t);return r[n]=(r[n]||0)+1,r[n]}var a={incrementRequestsCounter:function(e){return o(e,"requestsCounter")},incrementBidderRequestsCounter:function(e,n){return o(e,"requestsCounter",n)},incrementBidderWinsCounter:function(e,n){return o(e,"winsCounter",n)},getRequestsCounter:function(e){return(0,r.Z)(i,"".concat(e,".requestsCounter"))||0},getBidderRequestsCounter:function(e,n){return(0,r.Z)(i,"".concat(e,".bidders.").concat(n,".requestsCounter"))||0},getBidderWinsCounter:function(e,n){return(0,r.Z)(i,"".concat(e,".bidders.").concat(n,".winsCounter"))||0}}},1039:function(e,n,t){t.d(n,{VP:function(){return H},ZP:function(){return G},rp:function(){return q},uV:function(){return M},TJ:function(){return D},nX:function(){return x}});var r=t(9062),i=t(3324),o=t(4942),a=t(4358),u=t(265),c=t(1002),s=t(3193),d=t(4614),f=t(4679),l=[];function g(e,n){return e.labelAll?{labelAll:!0,labels:e.labelAll,activeLabels:n}:{labelAll:!1,labels:e.labelAny,activeLabels:n}}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.labels,t=void 0===n?[]:n,r=e.labelAll,i=void 0!==r&&r,o=e.activeLabels,c=void 0===o?[]:o,s=arguments.length>1?arguments[1]:void 0,g=arguments.length>2?arguments[2]:void 0,p=v(arguments.length>3&&void 0!==arguments[3]?arguments[3]:l);(0,a.PO)(s)||(s=g?{banner:{sizes:g}}:{});var h=(0,u.Z)(s,"banner.sizes");p.shouldFilter&&h&&((s=(0,a.I8)(s)).banner.sizes=h.filter((function(e){return p.sizesSupported[e]})));var m={active:!s.hasOwnProperty(f.Mk)||(0,u.Z)(s,"banner.sizes.length")>0&&(0===t.length||!i&&(t.some((function(e){return p.labels[e]}))||t.some((function(e){return(0,d.q9)(c,e)})))||i&&t.reduce((function(e,n){return e?p.labels[n]||(0,d.q9)(c,n):e}),!0)),mediaTypes:s};return h&&h.length!==s.banner.sizes.length&&(m.filterResults={before:h,after:s.banner.sizes}),m}function v(e){return e.reduce((function(e,n){if("object"===(0,c.Z)(n)&&"string"==typeof n.mediaQuery&&n.mediaQuery.length>0){var t=!1;try{t=(0,a.Zy)().matchMedia(n.mediaQuery).matches}catch(e){(0,a.yN)("Unfriendly iFrame blocks sizeConfig from being correctly evaluated"),t=matchMedia(n.mediaQuery).matches}t&&(Array.isArray(n.sizesSupported)&&(e.shouldFilter=!0),["labels","sizesSupported"].forEach((function(t){return(n[t]||[]).forEach((function(n){return e[t][n]=!0}))})))}else(0,a.yN)('sizeConfig rule missing required property "mediaQuery"');return e}),{labels:{},sizesSupported:{},shouldFilter:!1})}s.vc.getConfig("sizeConfig",(function(e){return function(e){l=e}(e.sizeConfig)}));var h=t(59),m=t(5339),y=t(8928),b=t(2797),w=t(875),C=t(5102),A=t(4516),T=t(2021),E=t(5644),O=t(9128),k=t(5383);function I(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function B(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?I(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):I(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var j={CLIENT:"client",SERVER:"server"},S={},U=S.bidderRegistry={},R=S.aliasRegistry={},P=[];s.vc.getConfig("s2sConfig",(function(e){e&&e.s2sConfig&&(P=(0,a.kJ)(e.s2sConfig)?e.s2sConfig:[e.s2sConfig])}));var _={};var N=(0,b.z3)("sync",(function(e){var n=e.bidderCode,t=e.auctionId,r=e.bidderRequestId,i=e.adUnits,o=e.src,c=e.metrics;return i.reduce((function(e,i){return e.push(i.bids.filter((function(e){return e.bidder===n})).reduce((function(e,n){var s=null==(n=Object.assign({},n,(0,a.iG)(i,["nativeParams","nativeOrtbRequest","ortb2Imp","mediaType","renderer"]))).mediaTypes?i.mediaTypes:n.mediaTypes;return(0,a.FS)(s)?n=Object.assign({},n,{mediaTypes:s}):(0,a.H)("mediaTypes is not correctly configured for adunit ".concat(i.code)),e.push(Object.assign({},n,{adUnitCode:i.code,transactionId:i.transactionId,sizes:(0,u.Z)(s,"banner.sizes")||(0,u.Z)(s,"video.playerSize")||[],bidId:n.bid_id||(0,a._d)(),bidderRequestId:r,auctionId:t,src:o,metrics:c,bidRequestsCount:w.f.getRequestsCounter(i.code),bidderRequestsCount:w.f.getBidderRequestsCounter(i.code,n.bidder),bidderWinsCount:w.f.getBidderWinsCounter(i.code,n.bidder)})),e}),[])),e}),[]).reduce(a.xH,[]).filter((function(e){return""!==e}))}),"getBids");var Z=(0,b.z3)("sync",(function(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).getS2SBidders;if(null==n)return e;var r=(void 0===t?M:t)(n);return e.filter((function(e){return r.has(e.bidder)}))}),"filterBidsForAdUnit");var q=new A.iK,x=new A.LO,D=new A.$e,H={getCoppa:function(){return!!s.vc.getConfig("coppa")}},F=(0,b.z3)("sync",(function(e,n){return function(e,n){return e.reduce((function(e,t){var r=p(g(t,n),t.mediaTypes,t.sizes),i=r.active,o=r.mediaTypes,u=r.filterResults;return i?(u&&(0,a.PN)('Size mapping filtered adUnit "'.concat(t.code,'" banner sizes from '),u.before,"to ",u.after),t.mediaTypes=o,t.bids=t.bids.reduce((function(e,r){var i=p(g(r,n),t.mediaTypes),o=i.active,u=i.mediaTypes,c=i.filterResults;return o?(c&&((0,a.PN)('Size mapping filtered adUnit "'.concat(t.code,'" bidder "').concat(r.bidder,'" banner sizes from '),c.before,"to ",c.after),r.mediaTypes=u),e.push(r)):(0,a.PN)('Size mapping deactivated adUnit "'.concat(t.code,'" bidder "').concat(r.bidder,'"')),e}),[]),e.push(t)):(0,a.PN)('Size mapping disabled adUnit "'.concat(t.code,'"')),e}),[])}(e,n)}),"setupAdUnitMediaTypes");function M(e){(0,a.kJ)(e)||(e=[e]);var n=new Set([null]);return e.filter((function(e){return e&&e.enabled})).flatMap((function(e){return e.bidders})).forEach((function(e){return n.add(e)})),n}var z=(0,b.z3)("sync",(function(e,n){var t,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).getS2SBidders,i=(void 0===r?M:r)(n);return(0,a.pP)(e).reduce((function(e,n){return e[i.has(n)?j.SERVER:j.CLIENT].push(n),e}),(t={},(0,o.Z)(t,j.CLIENT,[]),(0,o.Z)(t,j.SERVER,[]),t))}),"partitionBidders");function W(e,n){var t=U[e],r=(null==t?void 0:t.getSpec)&&t.getSpec();if(r&&r[n]&&"function"==typeof r[n])return[r,r[n]]}function L(e,n,t,r){try{(0,a.PN)("Invoking ".concat(e,".").concat(n));for(var i=arguments.length,o=new Array(i>4?i-4:0),u=4;u<i;u++)o[u-4]=arguments[u];s.vc.runWithBidder(e,r.bind.apply(r,[t].concat(o)))}catch(t){(0,a.yN)("Error calling ".concat(n," of ").concat(e))}}function K(e,n,t){var i=W(e,n);null!=i&&L.apply(void 0,[e,n].concat((0,r.Z)(i),[t]))}S.makeBidRequests=(0,b.z3)("sync",(function(e,n,t,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},u=arguments.length>6?arguments[6]:void 0;u=(0,O.Bf)(u),T.j8(E.FP.BEFORE_REQUEST_BIDS,e),(0,h.Fb)(e),e=F(e,i);var c=z(e,P),f=c[j.CLIENT],l=c[j.SERVER];s.vc.getConfig("bidderSequence")===s.FD&&(f=(0,a.TV)(f));var g=(0,C.nH)(),p=[],v=o.global||{},m=o.bidder||{};function y(e){var n=Object.freeze((0,a.Ee)({},v,m[e.bidderCode]));return e.ortb2=n,e.bids.forEach((function(e){return e.ortb2=n})),e}P.forEach((function(r){if(r&&r.enabled){var i=function(e,n){var t=(0,a.I8)(e);return t.forEach((function(e){e.bids=Z(e.bids,n).map((function(e){return e.bid_id=(0,a._d)(),e}))})),t.filter((function(e){return 0!==e.bids.length}))}(e,r),o=(0,a.DO)();l.forEach((function(e){var c=(0,a._d)(),s=u.fork(),d=y({bidderCode:e,auctionId:t,bidderRequestId:c,uniquePbsTid:o,bids:N({bidderCode:e,auctionId:t,bidderRequestId:c,adUnits:(0,a.I8)(i),src:E.os.YZ,metrics:s}),auctionStart:n,timeout:r.timeout,src:E.os.YZ,refererInfo:g,metrics:s});0!==d.bids.length&&p.push(d)})),i.forEach((function(e){var n=e.bids.filter((function(e){return(0,d.sE)(p,(function(n){return(0,d.sE)(n.bids,(function(n){return n.bidId===e.bid_id}))}))}));e.bids=n})),p.forEach((function(e){void 0===e.adUnitsS2SCopy&&(e.adUnitsS2SCopy=i.filter((function(e){return e.bids.length>0})))}))}}));var b=function(e){var n=(0,a.I8)(e);return n.forEach((function(e){e.bids=Z(e.bids,null)})),n.filter((function(e){return 0!==e.bids.length}))}(e);return f.forEach((function(e){var o=(0,a._d)(),c=u.fork(),s=y({bidderCode:e,auctionId:t,bidderRequestId:o,bids:N({bidderCode:e,auctionId:t,bidderRequestId:o,adUnits:(0,a.I8)(b),labels:i,src:"client",metrics:c}),auctionStart:n,timeout:r,refererInfo:g,metrics:c}),d=U[e];d||(0,a.H)("Trying to make a request for bidder that does not exist: ".concat(e)),d&&s.bids&&0!==s.bids.length&&p.push(s)})),p.forEach((function(e){q.getConsentData()&&(e.gdprConsent=q.getConsentData()),x.getConsentData()&&(e.uspConsent=x.getConsentData()),D.getConsentData()&&(e.gppConsent=D.getConsentData())})),p.forEach((function(e){s.vc.runWithBidder(e.bidderCode,(function(){var n=s.vc.getConfig("fledgeEnabled");e.fledgeEnabled=navigator.runAdAuction&&n}))})),p}),"makeBidRequests"),S.callBids=function(e,n,t,r,o,u,c){var d=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{};if(n.length){var f=n.reduce((function(e,n){return e[Number(void 0!==n.src&&n.src===E.os.YZ)].push(n),e}),[[],[]]),l=(0,i.Z)(f,2),g=l[0],p=l[1],v=[];p.forEach((function(e){for(var n=-1,t=0;t<v.length;++t)if(e.uniquePbsTid===v[t].uniquePbsTid){n=t;break}n<=-1&&v.push(e)}));var h=0;P.forEach((function(e){if(e&&v[h]&&M(e).has(v[h].bidderCode)){var n=(0,y.O)(u,o?{request:o.request.bind(null,"s2s"),done:o.done}:void 0),i=e.bidders,c=U[e.adapter],s=v[h].uniquePbsTid,f=v[h].adUnitsS2SCopy,l=p.filter((function(e){return e.uniquePbsTid===s}));if(c){var g={ad_units:f,s2sConfig:e,ortb2Fragments:d};if(g.ad_units.length){var m=l.map((function(e){return e.start=(0,a.AB)(),r.bind(e)})),b=(0,a.pP)(g.ad_units).filter((function(e){return i.includes(e)}));(0,a.ji)("CALLING S2S HEADER BIDDERS ==== ".concat(b.length>0?b.join(", "):'No bidder specified, using "ortb2Imp" definition(s) only')),l.forEach((function(e){T.j8(E.FP.BID_REQUESTED,B(B({},e),{},{tid:e.auctionId}))})),c.callBids(g,p,t,(function(){return m.forEach((function(e){return e()}))}),n)}}else(0,a.H)("missing "+e.adapter);h++}})),g.forEach((function(e){e.start=(0,a.AB)();var n=U[e.bidderCode];s.vc.runWithBidder(e.bidderCode,(function(){(0,a.ji)("CALLING BIDDER"),T.j8(E.FP.BID_REQUESTED,e)}));var i=(0,y.O)(u,o?{request:o.request.bind(null,e.bidderCode),done:o.done}:void 0),d=r.bind(e);try{s.vc.runWithBidder(e.bidderCode,a.ak.call(n.callBids,n,e,t,d,i,c,s.vc.callbackWithBidder(e.bidderCode)))}catch(n){(0,a.H)("".concat(e.bidderCode," Bid Adapter emitted an uncaught error when parsing their bidRequest"),{e:n,bidRequest:e}),d()}}))}else(0,a.yN)("callBids executed with no bidRequests.  Were they filtered by labels or sizing?")},S.videoAdapters=[],S.registerBidAdapter=function(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,r=void 0===t?[]:t;e&&n?"function"==typeof e.callBids?(U[n]=e,(0,d.q9)(r,"video")&&S.videoAdapters.push(n),(0,d.q9)(r,"native")&&h.Sg.push(n)):(0,a.H)("Bidder adaptor error for bidder code: "+n+"bidder must implement a callBids() function"):(0,a.H)("bidAdapter or bidderCode not specified")},S.aliasBidAdapter=function(e,n,t){if(void 0===U[n]){var r=U[e];if(void 0===r){var i=[];P.forEach((function(t){if(t.bidders&&t.bidders.length){var r=t&&t.bidders;t&&(0,d.q9)(r,n)?R[n]=e:i.push(e)}})),i.forEach((function(e){(0,a.H)('bidderCode "'+e+'" is not an existing bidder.',"adapterManager.aliasBidAdapter")}))}else try{var o,u=function(e){var n=[];return(0,d.q9)(S.videoAdapters,e)&&n.push("video"),(0,d.q9)(h.Sg,e)&&n.push("native"),n}(e);if(r.constructor.prototype!=Object.prototype)(o=new r.constructor).setBidderCode(n);else{var c=r.getSpec(),s=t&&t.gvlid,f=t&&t.skipPbsAliasing;o=(0,m.PZ)(Object.assign({},c,{code:n,gvlid:s,skipPbsAliasing:f})),R[n]=e}S.registerBidAdapter(o,n,{supportedMediaTypes:u})}catch(n){(0,a.H)(e+" bidder does not currently support aliasing.","adapterManager.aliasBidAdapter")}}else(0,a.ji)('alias name "'+n+'" has been already specified.')},S.registerAnalyticsAdapter=function(e){var n=e.adapter,t=e.code,r=e.gvlid;n&&t?"function"==typeof n.enableAnalytics?(n.code=t,_[t]={adapter:n,gvlid:r}):(0,a.H)('Prebid Error: Analytics adaptor error for analytics "'.concat(t,'"\n        analytics adapter must implement an enableAnalytics() function')):(0,a.H)("Prebid Error: analyticsAdapter or analyticsCode not specified")},S.enableAnalytics=function(e){(0,a.kJ)(e)||(e=[e]),(0,a.yi)(e,(function(e){var n=_[e.provider];n&&n.adapter?n.adapter.enableAnalytics(e):(0,a.H)("Prebid Error: no analytics adapter found in registry for '".concat(e.provider,"'."))}))},S.getBidAdapter=function(e){return U[e]},S.getAnalyticsAdapter=function(e){return _[e]},S.callTimedOutBidders=function(e,n,t){n=n.map((function(n){return n.params=(0,a.S0)(e,n.adUnitCode,n.bidder),n.timeout=t,n})),n=(0,a.vM)(n,"bidder"),Object.keys(n).forEach((function(e){K(e,"onTimeout",n[e])}))},S.callBidWonBidder=function(e,n,t){n.params=(0,a.S0)(t,n.adUnitCode,n.bidder),w.f.incrementBidderWinsCounter(n.adUnitCode,n.bidder),K(e,"onBidWon",n)},S.callSetTargetingBidder=function(e,n){K(e,"onSetTargeting",n)},S.callBidViewableBidder=function(e,n){K(e,"onBidViewable",n)},S.callBidderError=function(e,n,t){K(e,"onBidderError",{error:n,bidderRequest:t})},S.callDataDeletionRequest=(0,b.z3)("sync",(function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];var o="onDataDeletionRequest";Object.keys(U).filter((function(e){return!R.hasOwnProperty(e)})).forEach((function(e){var t=W(e,o);if(null!=t){var i=k.K.getBidsRequested().filter((function(n){return function(e){for(var n=new Set;R.hasOwnProperty(e)&&!n.has(e);)n.add(e),e=R[e];return e}(n.bidderCode)===e}));L.apply(void 0,[e,o].concat((0,r.Z)(t),[i],n))}})),Object.entries(_).forEach((function(e){var t,r=(0,i.Z)(e,2),u=r[0],c=r[1],s=null==c||null===(t=c.adapter)||void 0===t?void 0:t[o];if("function"==typeof s)try{s.apply(c.adapter,n)}catch(e){(0,a.H)("error calling ".concat(o," of ").concat(u),e)}}))}));var G=S},5339:function(e,n,t){t.d(n,{Q1:function(){return R},PZ:function(){return B},dX:function(){return I}});var r=t(3324),i=t(1002);function o(e){var n=e;return{callBids:function(){},setBidderCode:function(e){n=e},getBidderCode:function(){return n}}}var a=t(1039),u=t(3193),c=t(9626),s=t(1974),d=t(59),f=t(154),l=t(5644),g=t(2021),p=t(4614),v=t(8928),h=t(4358),m=t(265),y=t(4679),b=t(2797),w=t(5164),C=t(5383),A=t(5975),T=t(9128),E=(0,w.eA)("bidderFactory"),O=["cpm","ttl","creativeId","netRevenue","currency"],k=1;function I(e){var n=Array.isArray(e.supportedMediaTypes)?{supportedMediaTypes:e.supportedMediaTypes}:void 0;function t(e){var t=B(e);a.ZP.registerBidAdapter(t,e.code,n)}t(e),Array.isArray(e.aliases)&&e.aliases.forEach((function(n){var r,i,o=n;(0,h.PO)(n)&&(o=n.code,r=n.gvlid,i=n.skipPbsAliasing),a.ZP.aliasRegistry[o]=e.code,t(Object.assign({},e,{code:o,gvlid:r,skipPbsAliasing:i}))}))}function B(e){return Object.assign(new o(e.code),{getSpec:function(){return Object.freeze(e)},registerSyncs:n,callBids:function(i,o,s,v,m,y){if(Array.isArray(i.bids)){var b={},w=[],E=P(i).measureTime("validate",(function(){return i.bids.filter(t)}));if(0!==E.length){var k={};E.forEach((function(e){k[e.bidId]=e,e.adUnitCode||(e.adUnitCode=e.placementCode)})),j(e,E,i,v,y,{onRequest:function(e){return g.j8(l.FP.BEFORE_BIDDER_HTTP,i,e)},onResponse:function(n){m(e.code),w.push(n)},onFledgeAuctionConfigs:function(e){e.forEach((function(e){var n=k[e.bidId];n&&U(n,e)}))},onError:function(n,t){m(e.code),a.ZP.callBidderError(e.code,t,i),g.j8(l.FP.BIDDER_ERROR,{error:t,bidderRequest:i}),(0,h.H)("Server call for ".concat(e.code," failed: ").concat(n," ").concat(t.status,". Continuing without bids."))},onBid:function(n){var t=k[n.requestId];if(t){if(n.adapterCode=t.bidder,function(e,n){var t=A.S.get(n,"allowAlternateBidderCodes")||!1,r=A.S.get(n,"allowedAlternateBidderCodes");if(e&&n&&n!==e&&(r=(0,h.kJ)(r)?r.map((function(e){return e.trim().toLowerCase()})).filter((function(e){return!!e})).filter(h.tT):r,!t||(0,h.kJ)(r)&&"*"!==r[0]&&!r.includes(e)))return!0;return!1}(n.bidderCode,t.bidder))return(0,h.yN)("".concat(n.bidderCode," is not a registered partner or known bidder of ").concat(t.bidder,", hence continuing without bid. If you wish to support this bidder, please mark allowAlternateBidderCodes as true in bidderSettings.")),void o.reject(t.adUnitCode,n,l.Gw.Dg);n.originalCpm=n.cpm,n.originalCurrency=n.currency,n.meta=n.meta||Object.assign({},n[t.bidder]);var r=Object.assign((0,c.m)(l.Q_.Q,t),n);I(t.adUnitCode,r)}else(0,h.yN)("Bidder ".concat(e.code," made bid for unknown request ID: ").concat(n.requestId,". Ignoring.")),o.reject(null,n,l.Gw.Gp)},onCompletion:B})}else B()}function I(e,n){var t=(0,T.Bf)(n.metrics);t.checkpoint("addBidResponse"),b[e]=!0,t.measureTime("addBidResponse.validate",(function(){return function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.index,o=void 0===i?C.K.index:i;function a(){var e=Object.keys(n);return O.every((function(t){return(0,p.q9)(e,t)&&!(0,p.q9)([void 0,null],n[t])}))}function u(e){return"Invalid bid from ".concat(n.bidderCode,". Ignoring bid: ").concat(e)}if(!e)return(0,h.yN)("No adUnitCode was supplied to addBidResponse."),!1;if(!n)return(0,h.yN)("Some adapter tried to add an undefined bid for ".concat(e,".")),!1;if(!a())return(0,h.H)(u("Bidder ".concat(n.bidderCode," is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params."))),!1;if("native"===n.mediaType&&!(0,d.r4)(n,{index:o}))return(0,h.H)(u("Native bid missing some required properties.")),!1;if("video"===n.mediaType&&!(0,f.Dn)(n,{index:o}))return(0,h.H)(u("Video bid does not have required vastUrl or renderer property")),!1;if("banner"===n.mediaType&&!function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.index,o=void 0===i?C.K.index:i;if((n.width||0===parseInt(n.width,10))&&(n.height||0===parseInt(n.height,10)))return n.width=parseInt(n.width,10),n.height=parseInt(n.height,10),!0;var a=o.getBidRequest(n),u=o.getMediaTypes(n),c=a&&a.sizes||u&&u.banner&&u.banner.sizes,s=(0,h.sF)(c);if(1===s.length){var d=s[0].split("x"),f=(0,r.Z)(d,2),l=f[0],g=f[1];return n.width=parseInt(l,10),n.height=parseInt(g,10),!0}return!1}(e,n,{index:o}))return(0,h.H)(u("Banner bids require a width and height")),!1;return!0}(e,n)}))?o(e,n):o.reject(e,n,l.Gw.UI)}function B(){s(),u.vc.runWithBidder(e.code,(function(){g.j8(l.FP.BIDDER_DONE,i),n(w,i.gdprConsent,i.uspConsent,i.gppConsent)}))}}});function n(n,t,r,i){S(e,n,t,r,i)}function t(n){return!!e.isBidRequestValid(n)||((0,h.yN)("Invalid bid sent to bidder ".concat(e.code,": ").concat(JSON.stringify(n))),!1)}}var j=(0,b.z3)("sync",(function(e,n,t,r,o,a){var u=a.onRequest,c=a.onResponse,s=a.onFledgeAuctionConfigs,d=a.onError,f=a.onBid,l=a.onCompletion,g=P(t);l=g.startTiming("total").stopBefore(l);var p=g.measureTime("buildRequests",(function(){return e.buildRequests(n,t)}));if(p&&0!==p.length){Array.isArray(p)||(p=[p]);var v=(0,h.yx)(l,p.length);p.forEach((function(n){var t=g.fork();function a(e){null!=e&&(e.metrics=t.fork().renameWith()),f(e)}var l=o((function(r,i){m();try{r=JSON.parse(r)}catch(e){}r={body:r,headers:{get:i.getResponseHeader.bind(i)}},c(r);try{r=t.measureTime("interpretResponse",(function(){return e.interpretResponse(r,n)}))}catch(n){return(0,h.H)("Bidder ".concat(e.code," failed to interpret the server's response. Continuing without bids"),null,n),void v()}var o;r&&(0,h.kJ)(r.fledgeAuctionConfigs)?(s(r.fledgeAuctionConfigs),o=r.bids):o=r,o&&((0,h.kJ)(o)?o.forEach(a):a(o)),v()})),p=o((function(e,n){m(),d(e,n),v()}));u(n);var m=t.startTiming("net");switch(n.method){case"GET":r("".concat(n.url).concat(function(e){if(e)return"?".concat("object"===(0,i.Z)(e)?(0,h.Re)(e):e);return""}(n.data)),{success:l,error:p},void 0,Object.assign({method:"GET",withCredentials:!0},n.options));break;case"POST":r(n.url,{success:l,error:p},"string"==typeof n.data?n.data:JSON.stringify(n.data),Object.assign({method:"POST",contentType:"text/plain",withCredentials:!0},n.options));break;default:(0,h.yN)("Skipping invalid request from ".concat(e.code,". Request type ").concat(n.type," must be GET or POST")),v()}}))}else l()}),"processBidderRequests"),S=(0,b.z3)("async",(function(e,n,t,r,i){var o=u.vc.getConfig("userSync.aliasSyncEnabled");if(e.getUserSyncs&&(o||!a.ZP.aliasRegistry[e.code])){var c=u.vc.getConfig("userSync.filterSettings"),d=e.getUserSyncs({iframeEnabled:!(!c||!c.iframe&&!c.all),pixelEnabled:!(!c||!c.image&&!c.all)},n,t,r,i);d&&(Array.isArray(d)||(d=[d]),d.forEach((function(n){s.k_.registerSync(n.type,e.code,n.url)})))}}),"registerSyncs"),U=(0,b.z3)("sync",(function(e,n){(0,h.PN)("bidderFactory.addComponentAuction",n)}),"addComponentAuction");function R(e,n){var t=a.ZP.getBidAdapter(e);if(t.getSpec().getMappingFileInfo){var r=t.getSpec().getMappingFileInfo(),i=r.localStorageKey?r.localStorageKey:t.getBidderCode(),o=E.getDataFromLocalStorage(i);if(o){try{o=JSON.parse(o)}catch(n){(0,h.H)("Failed to parse ".concat(e," mapping data stored in local storage"))}return o.mapping[n]?o.mapping[n]:null}}}function P(e){return(0,T.Bf)(e.metrics).renameWith((function(n){return["adapter.client.".concat(n),"adapters.client.".concat(e.bidderCode,".").concat(n)]}))}(0,b.v5)("checkAdUnitSetup").before((function(e,n){if(!u.vc.getConfig("adpod.brandCategoryExclusion"))return e.call(this,n);n.filter((function(e){return(0,m.Z)(e,"mediaTypes.video.context")===y.Oh})).map((function(e){return e.bids.map((function(e){return e.bidder}))})).reduce(h.xH,[]).filter(h.tT).forEach((function(e){var n=a.ZP.getBidAdapter(e);if(n.getSpec().getMappingFileInfo){var t=n.getSpec().getMappingFileInfo(),r=t.refreshInDays?t.refreshInDays:k,i=t.localStorageKey?t.localStorageKey:n.getSpec().code,o=E.getDataFromLocalStorage(i);try{(!(o=o?JSON.parse(o):void 0)||(0,h.AB)()>o.lastUpdated+24*r*60*60*1e3)&&(0,v.h)(t.url,{success:function(n){try{n=JSON.parse(n);var t={lastUpdated:(0,h.AB)(),mapping:n.mapping};E.setDataInLocalStorage(i,JSON.stringify(t))}catch(n){(0,h.H)("Failed to parse ".concat(e," bidder translation mapping file"))}},error:function(){(0,h.H)("Failed to load ".concat(e," bidder translation file"))}})}catch(n){(0,h.H)("Failed to parse ".concat(e," bidder translation mapping file"))}}})),e.call(this,n)}))},5730:function(e,n,t){t.d(n,{B:function(){return u}});var r=t(4614),i=t(4358),o=new WeakMap,a=["debugging","adloox","criteo","outstream","adagio","spotx","browsi","brandmetrics","justtag","tncId","akamaidap","ftrackId","inskin","hadron","medianet","improvedigital","aaxBlockmeter","confiant","arcspan"];function u(e,n,t,u,c){if(n&&e){if((0,r.q9)(a,n)){u||(u=document);var s=l(u,e);if(s)return t&&"function"==typeof t&&(s.loaded?t():s.callbacks.push(t)),s.tag;var d=o.get(u)||{},f={loaded:!1,tag:null,callbacks:[]};return d[e]=f,o.set(u,d),t&&"function"==typeof t&&f.callbacks.push(t),(0,i.yN)("module ".concat(n," is loading external JavaScript")),function(n,t,r,o){r||(r=document);var a=r.createElement("script");a.type="text/javascript",a.async=!0;var u=l(r,e);u&&(u.tag=a);a.readyState?a.onreadystatechange=function(){"loaded"!==a.readyState&&"complete"!==a.readyState||(a.onreadystatechange=null,t())}:a.onload=function(){t()};a.src=n,o&&(0,i.D9)(a,o);return(0,i.jC)(a,r),a}(e,(function(){f.loaded=!0;try{for(var e=0;e<f.callbacks.length;e++)f.callbacks[e]()}catch(e){(0,i.H)("Error executing callback","adloader.js:loadExternalScript",e)}}),u,c)}(0,i.H)("".concat(n," not whitelisted for loading external JavaScript"))}else(0,i.H)("cannot load external script without url and moduleCode");function l(e,n){var t=o.get(e);return t&&t[n]?t[n]:null}}},8928:function(e,n,t){t.d(n,{O:function(){return c},h:function(){return u}});var r=t(1002),i=t(3193),o=t(4358),a=4,u=c();function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.request,u=n.done;return function(n,c,s){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var f,l=d.method||(s?"POST":"GET"),g=document.createElement("a");g.href=n;var p="object"===(0,r.Z)(c)&&null!==c?c:{success:function(){(0,o.ji)("xhr success")},error:function(e){(0,o.H)("xhr error",null,e)}};if("function"==typeof c&&(p.success=c),(f=new window.XMLHttpRequest).onreadystatechange=function(){if(f.readyState===a){"function"==typeof u&&u(g.origin);var e=f.status;e>=200&&e<300||304===e?p.success(f.responseText,f):p.error(f.statusText,f)}},i.vc.getConfig("disableAjaxTimeout")||(f.ontimeout=function(){(0,o.H)("  xhr timeout after ",f.timeout,"ms")}),"GET"===l&&s){var v=(0,o.en)(n,d);Object.assign(v.search,s),n=(0,o.Q2)(v)}f.open(l,n,!0),i.vc.getConfig("disableAjaxTimeout")||(f.timeout=e),d.withCredentials&&(f.withCredentials=!0),(0,o.yi)(d.customHeaders,(function(e,n){f.setRequestHeader(n,e)})),d.preflight&&f.setRequestHeader("X-Requested-With","XMLHttpRequest"),f.setRequestHeader("Content-Type",d.contentType||"text/plain"),"function"==typeof t&&t(g.origin),"POST"===l&&s?f.send(s):f.send()}catch(e){(0,o.H)("xhr construction",e),"object"===(0,r.Z)(c)&&null!==c&&c.error(e)}}}},5383:function(e,n,t){t.d(n,{K:function(){return re}});var r=t(4358),i=t(3324),o=t(1002),a=t(265),u=t(6463),c=t(59),s=t(8928),d=t(3193),f=15;function l(e){var n,t,r,i=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,o=void 0===i?re.index:i,a=e.vastXml?e.vastXml:(n=e.vastUrl,t=e.vastImpUrl,r=t?"<![CDATA[".concat(t,"]]>"):"",'<VAST version="3.0">\n    <Ad>\n      <Wrapper>\n        <AdSystem>prebid.org wrapper</AdSystem>\n        <VASTAdTagURI><![CDATA['.concat(n,"]]></VASTAdTagURI>\n        <Impression>").concat(r,"</Impression>\n        <Creatives></Creatives>\n      </Wrapper>\n    </Ad>\n  </VAST>")),u=o.getAuction(e),c={type:"xml",value:a,ttlseconds:Number(e.ttl)+f};return d.vc.getConfig("cache.vasttrack")&&(c.bidder=e.bidder,c.bidid=e.requestId,c.aid=e.auctionId),null!=u&&(c.timestamp=u.getAuctionStart()),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(c.key=e.customCacheKey),c}function g(e,n){var t={puts:e.map(l)};(0,s.h)(d.vc.getConfig("cache.url"),function(e){return{success:function(n){var t;try{t=JSON.parse(n).responses}catch(n){return void e(n,[])}t?e(null,t):e(new Error("The cache server didn't respond with a responses property."),[])},error:function(n,t){e(new Error("Error storing video ad in the cache: ".concat(n,": ").concat(JSON.stringify(t))),[])}}}(n),JSON.stringify(t),{contentType:"text/plain",withCredentials:!0})}var p=t(5706),v=t(1974),h=t(2797),m=t(4614),y=t(154),b=t(4679),w=t(5975),C=t(2021),A=t(1039),T=t(5644),E=t(8792),O=t(9128),k=t(9626),I=t(6066),B=v.k_.syncUsers,j="started",S="inProgress",U="completed";C.on(T.FP.BID_ADJUSTMENT,(function(e){!function(e){var n=(0,I.O)(e.cpm,e);n>=0&&(e.cpm=n)}(e)}));var R=4,P={},_={},N=[];function Z(e){var n=e.adUnits,t=e.adUnitCodes,c=e.callback,s=e.cbTimeout,f=e.labels,l=e.auctionId,g=e.ortb2Fragments,v=e.metrics;v=(0,O.Bf)(v);var h,w,I,Z,H=n,M=f,z=t,L=l||(0,r.DO)(),K=s,J=new Set,Q=[],Y=c,X=[],$=[],ee=[],te=[];function ie(){return{auctionId:L,timestamp:h,auctionEnd:w,auctionStatus:Z,adUnits:H,adUnitCodes:z,labels:M,bidderRequests:X,noBids:ee,bidsReceived:$,bidsRejected:Q,winningBids:te,timeout:K,metrics:v}}function oe(e,t){if(t&&clearTimeout(I),void 0===w){var i=[];e&&((0,r.ji)("Auction ".concat(L," timedOut")),o=J,(i=X.map((function(e){return(e.bids||[]).filter((function(e){return!o.has(e.bidder)}))})).reduce(r.xH,[])).length&&C.j8(T.FP.BID_TIMEOUT,i)),Z=U,w=Date.now(),v.checkpoint("auctionEnd"),v.timeBetween("requestBids","auctionEnd","requestBids.total"),v.timeBetween("callBids","auctionEnd","requestBids.callBids"),C.j8(T.FP.AUCTION_END,ie()),D(H,(function(){try{if(null!=Y){var t=z,o=$.filter(r.ak.call(r.IK,this,t)).reduce(ne,{});Y.apply(pbjs,[o,e,L]),Y=null}}catch(e){(0,r.H)("Error executing bidsBackHandler",null,e)}finally{i.length&&A.ZP.callTimedOutBidders(n,i,K);var a=d.vc.getConfig("userSync")||{};a.enableOverride||B(a.syncDelay)}}))}var o}function ae(){d.vc.resetBidder(),(0,r.PN)("Bids Received for Auction with id: ".concat(L),$),Z=U,oe(!1,!0)}function ue(e){J.add(e)}function ce(e){var n=this;e.forEach((function(e){var n;n=e,X=X.concat(n)}));var t={},c={bidRequests:e,run:function(){var c,l;c=oe.bind(null,!0),l=setTimeout(c,K),I=l,Z=S,C.j8(T.FP.AUCTION_INIT,ie());var v=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=t.index,s=void 0===c?re.index:c,f=0,l=!1,g=new Set,v={},h={};function w(e,n){null==h[e]&&(h[e]=E.Z.resolve()),h[e]=h[e].then((function(){return E.Z.resolve(n).catch((function(){}))}))}function A(e,t){var r=e.timeout;(null==r||r>n.getTimeout())&&(r=n.getTimeout());var i=n.getAuctionStart()+r-Date.now(),o=h[e.bidderRequestId],a=h[""];(null!=o||null!=a)&&i>0?E.Z.race([E.Z.timeout(i),E.Z.resolve(a).then((function(){return o}))]).then(t):t()}function O(){f--,l&&0===f&&e()}function I(e,n,t){return v[n.requestId]=!0,function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.index,o=void 0===i?re.index:i,a=o.getBidderRequest(e),u=o.getAdUnit(e),c=a&&a.start||e.requestTimestamp;Object.assign(e,{responseTimestamp:e.responseTimestamp||(0,r.AB)(),requestTimestamp:e.requestTimestamp||c,cpm:parseFloat(e.cpm)||0,bidder:e.bidder||e.bidderCode,adUnitCode:n}),null!=(null==u?void 0:u.ttlBuffer)&&(e.ttlBuffer=u.ttlBuffer);e.timeToRespond=e.responseTimestamp-e.requestTimestamp}(n,e),f++,t(O)}function B(e,t){I(e,t,(function(e){var i=function(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.index,i=void 0===r?re.index:r;C.j8(T.FP.BID_ADJUSTMENT,e);var a=(null===(n=i.getBidRequest(e))||void 0===n?void 0:n.renderer)||i.getAdUnit(e).renderer,c=e.mediaType,s=i.getMediaTypes(e),f=s&&s[c],l=f&&f.renderer,g=null;l&&l.url&&l.render&&(!0!==l.backupOnly||!e.renderer)?g=l:a&&a.url&&a.render&&(!0!==a.backupOnly||!e.renderer)&&(g=a);g&&(e.renderer=p.Th.install({url:g.url,config:g.options}),e.renderer.setRender(g.render));var v=V(e.mediaType,s,d.vc.getConfig("mediaTypePriceGranularity")),h=(0,u.D)(e.cpm,"object"===(0,o.Z)(v)?v:d.vc.getConfig("customPriceBucket"),d.vc.getConfig("currency.granularityMultiplier"));return e.pbLg=h.low,e.pbMg=h.med,e.pbHg=h.high,e.pbAg=h.auto,e.pbDg=h.dense,e.pbCg=h.custom,e}(t);i.mediaType===b.pX?function(e,n,t){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.index,u=void 0===o?re.index:o,c=!0,s=(0,a.Z)(u.getMediaTypes({requestId:n.originalRequestId||n.requestId,transactionId:n.transactionId}),"video"),f=s&&(0,a.Z)(s,"context"),l=s&&(0,a.Z)(s,"useCacheKey");d.vc.getConfig("cache.url")&&(l||f!==y.gZ)&&(!n.videoCacheKey||d.vc.getConfig("cache.ignoreBidderCacheKey")?(c=!1,G(e,n,t,s)):n.vastUrl||((0,r.H)("videoCacheKey specified but not required vastUrl for video bid"),c=!1));c&&(F(e,n),t())}(n,i,e):(null!=i.native&&"object"===(0,o.Z)(i.native)&&W(i),F(n,i),e())}))}function j(e,t,o){return I(e,t,(function(e){var a,u=(0,k.m)(T.Q_.H,null===(a=t.getIdentifiers)||void 0===a?void 0:a.call(t));return Object.assign(u,Object.fromEntries(Object.entries(t).filter((function(e){var n=(0,i.Z)(e,1)[0];return!u.hasOwnProperty(n)&&!["ad","adUrl","vastXml","vastUrl","native"].includes(n)})))),u.status=T.UE.G9,u.cpm=0,t.rejectionReason=o,(0,r.yN)("Bid from ".concat(t.bidder||"unknown bidder"," was rejected: ").concat(o),t),C.j8(T.FP.BID_REJECTED,t),n.addBidRejected(t),e(),u}))}function S(){var t=this,i=n.getBidRequests(),o=d.vc.getConfig("auctionOptions");if(g.add(t),o&&!(0,r.xb)(o)){var a=o.secondaryBidders;a&&!i.every((function(e){return(0,m.q9)(a,e.bidderCode)}))&&(i=i.filter((function(e){return!(0,m.q9)(a,e.bidderCode)})))}l=i.every((function(e){return g.has(e)})),t.bids.forEach((function(e){v[e.bidId]||(n.addNoBid(e),C.j8(T.FP.NO_BID,e))})),l&&0===f&&e()}return{addBidResponse:function(){function e(e,n){var t,r=s.getBidderRequest(n);w(r&&r.bidderRequestId||"",q.call({dispatch:B},e,n,(function(r){return null==t&&(t=j(e,n,r)),t})))}return e.reject=j,e}(),adapterDone:function(){A(this,S.bind(this))}}}(ae,n);A.ZP.callBids(H,e,v.addBidResponse,v.adapterDone,{request:function(e,n){f(P,n),f(t,e),_[e]||(_[e]={SRA:!0,origin:n}),t[e]>1&&(_[e].SRA=!1)},done:function(e){P[e]--,N[0]&&s(N[0])&&N.shift()}},K,ue,g)}};function s(e){var n=!0,t=d.vc.getConfig("maxRequestsPerOrigin")||R;return e.bidRequests.some((function(e){var r=1,i=void 0!==e.src&&e.src===T.os.YZ?"s2s":e.bidderCode;return _[i]&&(!1===_[i].SRA&&(r=Math.min(e.bids.length,t)),P[_[i].origin]+r>t&&(n=!1)),!n})),n&&e.run(),n}function f(e,n){void 0===e[n]?e[n]=1:e[n]++}s(c)||((0,r.yN)("queueing auction due to limited endpoint capacity"),N.push(c))}return{addBidReceived:function(e){$=$.concat(e)},addBidRejected:function(e){Q=Q.concat(e)},addNoBid:function(e){ee=ee.concat(e)},executeCallback:oe,callBids:function(){Z=j,h=Date.now();var e=v.measureTime("requestBids.makeRequests",(function(){return A.ZP.makeBidRequests(H,h,L,K,M,g,v)}));(0,r.PN)("Bids Requested for Auction with id: ".concat(L),e),v.checkpoint("callBids"),e.length<1?((0,r.yN)("No valid bid requests returned for auction"),ae()):x.call({dispatch:ce,context:this},e)},addWinningBid:function(e){te=te.concat(e),A.ZP.callBidWonBidder(e.adapterCode||e.bidder,e,n)},setBidTargeting:function(e){A.ZP.callSetTargetingBidder(e.adapterCode||e.bidder,e)},getWinningBids:function(){return te},getAuctionStart:function(){return h},getTimeout:function(){return K},getAuctionId:function(){return L},getAuctionStatus:function(){return Z},getAdUnits:function(){return H},getAdUnitCodes:function(){return z},getBidRequests:function(){return X},getBidsReceived:function(){return $},getNoBids:function(){return ee},getFPD:function(){return g},getMetrics:function(){return v}}}var q=(0,h.z3)("sync",(function(e,n,t){this.dispatch.call(null,e,n)}),"addBidResponse"),x=(0,h.z3)("sync",(function(e){this.dispatch.call(this.context,e)}),"addBidderRequests"),D=(0,h.z3)("async",(function(e,n){n&&n()}),"bidsBackCallback");function H(e,n){n.timeToRespond>e.getTimeout()+d.vc.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function F(e,n){!function(e){var n,t=!0===w.S.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0;e.bidderCode&&(t||e.dealId)&&(n=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.index,i=void 0===r?re.index:r;if(!n)return{};var o=i.getBidRequest(n),a={},u=$(n.mediaType,e);ee(a,u,n,o),e&&w.S.getOwn(e,T.k2.xn)&&(ee(a,w.S.ownSettingsFor(e),n,o),n.sendStandardTargeting=w.S.get(e,"sendStandardTargeting"));n.native&&(a=Object.assign({},a,(0,c.Ur)(n)));return a}(e.bidderCode,e));e.adserverTargeting=Object.assign(e.adserverTargeting||{},n)}(n),(0,O.Bf)(n.metrics).timeSince("addBidResponse","addBidResponse.total"),C.j8(T.FP.BID_RESPONSE,n),e.addBidReceived(n),H(e,n)}var M,z,W=function(e){var n,t,r=null===(n=re.index.getAdUnit(e))||void 0===n?void 0:n.nativeOrtbRequest,i=null===(t=e.native)||void 0===t?void 0:t.ortb;if(r&&i){var o=(0,c.zq)(i,r);Object.assign(e.native,o)}},L=function(e){g(e.map((function(e){return e.bidResponse})),(function(n,t){t.forEach((function(t,i){var o,a=e[i],u=a.auctionInstance,c=a.bidResponse,s=a.afterBidAdded;n?((0,r.yN)("Failed to save to the video cache: ".concat(n,". Video bid must be discarded.")),H(u,c)):""===t.uuid?((0,r.yN)("Supplied video cache key was already in use by Prebid Cache; caching attempt was rejected. Video bid must be discarded."),H(u,c)):(c.videoCacheKey=t.uuid,c.vastUrl||(c.vastUrl=(o=c.videoCacheKey,"".concat(d.vc.getConfig("cache.url"),"?uuid=").concat(o))),F(u,c),s())}))}))};d.vc.getConfig("cache",(function(e){M="number"==typeof e.cache.batchSize&&e.cache.batchSize>0?e.cache.batchSize:1,z="number"==typeof e.cache.batchTimeout&&e.cache.batchTimeout>0?e.cache.batchTimeout:0}));var K=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:setTimeout,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:L,t=[[]],r=!1,i=function(e){return e()};return function(o,a,u){var c=z>0?e:i;t[t.length-1].length>=M&&t.push([]),t[t.length-1].push({auctionInstance:o,bidResponse:a,afterBidAdded:u}),r||(r=!0,c((function(){t.forEach(n),t=[[]],r=!1}),z))}}(),G=(0,h.z3)("async",(function(e,n,t,r){K(e,n,t)}),"callPrebidCache");function V(e,n,t){if(e&&t){if(e===b.pX){var r=(0,a.Z)(n,"".concat(b.pX,".context"),"instream");if(t["".concat(b.pX,"-").concat(r)])return t["".concat(b.pX,"-").concat(r)]}return t[e]}}var J=function(e){return function(n){var t=e||function(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,t=void 0===n?re.index:n,r=V(e.mediaType,t.getMediaTypes(e),d.vc.getConfig("mediaTypePriceGranularity"));return"string"==typeof e.mediaType&&r?"string"==typeof r?r:"custom":d.vc.getConfig("priceGranularity")}(n);return t===T.Ql.B7?n.pbAg:t===T.Ql.uN?n.pbDg:t===T.Ql.yE?n.pbLg:t===T.Ql.M2?n.pbMg:t===T.Ql.lj?n.pbHg:t===T.Ql.qN?n.pbCg:void 0}},Q=function(){return function(e){return e.meta&&e.meta.advertiserDomains&&e.meta.advertiserDomains.length>0?e.meta.advertiserDomains[0]:""}},Y=function(){return function(e){return e.meta&&e.meta.primaryCatId?e.meta.primaryCatId:""}};function X(e,n){return{key:e,val:"function"==typeof n?function(e,t){return n(e,t)}:function(e){return(0,r.NA)(e,n)}}}function $(e,n){var t=T.TD,i=Object.assign({},w.S.settingsFor(null));if(i[T.k2.xn]||(i[T.k2.xn]=function(){var e=T.TD;return[X(e.BIDDER,"bidderCode"),X(e.AD_ID,"adId"),X(e.PRICE_BUCKET,J()),X(e.SIZE,"size"),X(e.DEAL,"dealId"),X(e.SOURCE,"source"),X(e.FORMAT,"mediaType"),X(e.ADOMAIN,Q()),X(e.ACAT,Y())]}()),"video"===e){var o=i[T.k2.xn].slice();if(i[T.k2.xn]=o,[t.UUID,t.CACHE_ID].forEach((function(e){void 0===(0,m.sE)(o,(function(n){return n.key===e}))&&o.push(X(e,"videoCacheKey"))})),d.vc.getConfig("cache.url")&&(!n||!1!==w.S.get(n,"sendStandardTargeting"))){var u=(0,r.en)(d.vc.getConfig("cache.url"));void 0===(0,m.sE)(o,(function(e){return e.key===t.CACHE_HOST}))&&o.push(X(t.CACHE_HOST,(function(e){return(0,a.Z)(e,"adserverTargeting.".concat(t.CACHE_HOST))?e.adserverTargeting[t.CACHE_HOST]:u.hostname})))}}return i}function ee(e,n,t,i){var o=n[T.k2.xn];return t.size=t.getSize(),(0,r.yi)(o,(function(o){var a=o.key,u=o.val;if(e[a]&&(0,r.yN)("The key: "+a+" is being overwritten"),(0,r.LQ)(u))try{u=u(t,i)}catch(e){(0,r.H)("bidmanager","ERROR",e)}(void 0===n.suppressEmptyKeys||!0!==n.suppressEmptyKeys)&&a!==T.TD.DEAL||!(0,r.jH)(u)&&null!=u?e[a]=u:(0,r.PN)("suppressing empty key '"+a+"' from adserver targeting")})),e}function ne(e,n){return e[n.adUnitCode]||(e[n.adUnitCode]={bids:[]}),e[n.adUnitCode].bids.push(n),e}function te(e){Object.assign(this,{getAuction:function(n){var t=n.auctionId;if(null!=t)return e().find((function(e){return e.getAuctionId()===t}))},getAdUnit:function(n){var t=n.transactionId;if(null!=t)return e().flatMap((function(e){return e.getAdUnits()})).find((function(e){return e.transactionId===t}))},getMediaTypes:function(e){var n=e.transactionId,t=e.requestId;if(null!=t){var r=this.getBidRequest({requestId:t});if(null!=r&&(null==n||r.transactionId===n))return r.mediaTypes}else if(null!=n){var i=this.getAdUnit({transactionId:n});if(null!=i)return i.mediaTypes}},getBidderRequest:function(n){var t=n.requestId,r=n.bidderRequestId;if(null!=t||null!=r){var i=e().flatMap((function(e){return e.getBidRequests()}));return null!=r&&(i=i.filter((function(e){return e.bidderRequestId===r}))),null==t?i[0]:i.find((function(e){return e.bids&&null!=e.bids.find((function(e){return e.bidId===t}))}))}},getBidRequest:function(n){var t=n.requestId;if(null!=t)return e().flatMap((function(e){return e.getBidRequests()})).flatMap((function(e){return e.bids})).find((function(e){return e&&e.bidId===t}))}})}var re=function(){var e=[],n={};return n.addWinningBid=function(n){var t=(0,O.Bf)(n.metrics);t.checkpoint("bidWon"),t.timeBetween("auctionEnd","bidWon","render.pending"),t.timeBetween("requestBids","bidWon","render.e2e");var i=(0,m.sE)(e,(function(e){return e.getAuctionId()===n.auctionId}));i?(n.status=T.UE.fe,i.addWinningBid(n)):(0,r.yN)("Auction not found when adding winning bid")},n.getAllWinningBids=function(){return e.map((function(e){return e.getWinningBids()})).reduce(r.xH,[])},n.getBidsRequested=function(){return e.map((function(e){return e.getBidRequests()})).reduce(r.xH,[])},n.getNoBids=function(){return e.map((function(e){return e.getNoBids()})).reduce(r.xH,[])},n.getBidsReceived=function(){return e.map((function(e){if(e.getAuctionStatus()===U)return e.getBidsReceived()})).reduce(r.xH,[]).filter((function(e){return e}))},n.getAllBidsForAdUnitCode=function(n){return e.map((function(e){return e.getBidsReceived()})).reduce(r.xH,[]).filter((function(e){return e&&e.adUnitCode===n}))},n.getAdUnits=function(){return e.map((function(e){return e.getAdUnits()})).reduce(r.xH,[])},n.getAdUnitCodes=function(){return e.map((function(e){return e.getAdUnitCodes()})).reduce(r.xH,[]).filter(r.tT)},n.createAuction=function(n){var t=Z(n);return function(n){e.push(n)}(t),t},n.findBidByAdId=function(n){return(0,m.sE)(e.map((function(e){return e.getBidsReceived()})).reduce(r.xH,[]),(function(e){return e.adId===n}))},n.getStandardBidderAdServerTargeting=function(){return $()[T.k2.xn]},n.setStatusForBids=function(t,r){var i=n.findBidByAdId(t);if(i&&(i.status=r),i&&r===T.UE.CK){var o=(0,m.sE)(e,(function(e){return e.getAuctionId()===i.auctionId}));o&&o.setBidTargeting(i)}},n.getLastAuctionId=function(){return e.length&&e[e.length-1].getAuctionId()},n.clearAllAuctions=function(){e.length=0},n.index=new te((function(){return e})),n}()},5975:function(e,n,t){t.d(n,{S:function(){return g}});var r=t(5671),i=t(3144),o=t(265),a=t(4358),u=t(8640),c=t(5644);function s(e,n){!function(e,n){if(n.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,n),n.add(e)}function d(e,n,t){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return t}var f=new WeakSet;function l(e){return null==e?this.defaultScope:e}var g=new(function(){function e(n,t){(0,r.Z)(this,e),s(this,f),this.getSettings=n,this.defaultScope=t}return(0,i.Z)(e,[{key:"get",value:function(e,n){var t=this.getOwn(e,n);return void 0===t&&(t=this.getOwn(null,n)),t}},{key:"getOwn",value:function(e,n){return e=d(this,f,l).call(this,e),(0,o.Z)(this.getSettings(),"".concat(e,".").concat(n))}},{key:"getScopes",value:function(){var e=this;return Object.keys(this.getSettings()).filter((function(n){return n!==e.defaultScope}))}},{key:"settingsFor",value:function(e){return(0,a.Ee)({},this.ownSettingsFor(null),this.ownSettingsFor(e))}},{key:"ownSettingsFor",value:function(e){return e=d(this,f,l).call(this,e),this.getSettings()[e]||{}}}]),e}())((function(){return(0,u.R)().bidderSettings||{}}),c.k2.zF)},9626:function(e,n,t){t.d(n,{m:function(){return o}});var r=t(4358);function i(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.src,i=void 0===t?"client":t,o=n.bidder,a=void 0===o?"":o,u=n.bidId,c=n.transactionId,s=n.auctionId,d=i,f=e||0;this.bidderCode=a,this.width=0,this.height=0,this.statusMessage=function(){switch(f){case 0:return"Pending";case 1:return"Bid available";case 2:return"Bid returned empty or error response";case 3:return"Bid timed out"}}(),this.adId=(0,r._d)(),this.requestId=u,this.transactionId=c,this.auctionId=s,this.mediaType="banner",this.source=d,this.getStatusCode=function(){return f},this.getSize=function(){return this.width+"x"+this.height},this.getIdentifiers=function(){return{src:this.source,bidder:this.bidderCode,bidId:this.requestId,transactionId:this.transactionId,auctionId:this.auctionId}}}function o(e,n){return new i(e,n)}},3193:function(e,n,t){t.d(n,{FD:function(){return w},vc:function(){return O}});var r=t(4942),i=t(1002),o=t(3324),a=t(6463),u=t(4614),c=t(4358),s=t(265),d=t(5644);function f(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}var l="TRUE"===(0,c.rD)(d.f).toUpperCase(),g=3e3,p=!0,v=!1,h=!1,m=!0,y=10,b=400,w="random",C={};C[w]=!0,C.fixed=!0;var A=w,T={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},E="*";var O=function(){var e,n,t,d=[],w=null;function O(){e={};var r={_debug:l,get debug(){return this._debug},set debug(e){this._debug=e},_bidderTimeout:g,get bidderTimeout(){return this._bidderTimeout},set bidderTimeout(e){this._bidderTimeout=e},_publisherDomain:null,get publisherDomain(){return this._publisherDomain},set publisherDomain(e){(0,c.yN)("publisherDomain is deprecated and has no effect since v7 - use pageUrl instead"),this._publisherDomain=e},_priceGranularity:T.MEDIUM,set priceGranularity(e){o(e)&&("string"==typeof e?this._priceGranularity=i(e)?e:T.MEDIUM:(0,c.PO)(e)&&(this._customPriceBucket=e,this._priceGranularity=T.CUSTOM,(0,c.ji)("Using custom price granularity")))},get priceGranularity(){return this._priceGranularity},_customPriceBucket:{},get customPriceBucket(){return this._customPriceBucket},_mediaTypePriceGranularity:{},get mediaTypePriceGranularity(){return this._mediaTypePriceGranularity},set mediaTypePriceGranularity(e){var n=this;this._mediaTypePriceGranularity=Object.keys(e).reduce((function(t,r){return o(e[r])?"string"==typeof e?t[r]=i(e[r])?e[r]:n._priceGranularity:(0,c.PO)(e)&&(t[r]=e[r],(0,c.ji)("Using custom price granularity for ".concat(r))):(0,c.yN)("Invalid price granularity for media type: ".concat(r)),t}),{})},_sendAllBids:p,get enableSendAllBids(){return this._sendAllBids},set enableSendAllBids(e){this._sendAllBids=e},_useBidCache:h,get useBidCache(){return this._useBidCache},set useBidCache(e){this._useBidCache=e},_deviceAccess:m,get deviceAccess(){return this._deviceAccess},set deviceAccess(e){this._deviceAccess=e},_bidderSequence:A,get bidderSequence(){return this._bidderSequence},set bidderSequence(e){C[e]?this._bidderSequence=e:(0,c.yN)("Invalid order: ".concat(e,". Bidder Sequence was not set."))},_timeoutBuffer:b,get timeoutBuffer(){return this._timeoutBuffer},set timeoutBuffer(e){this._timeoutBuffer=e},_disableAjaxTimeout:v,get disableAjaxTimeout(){return this._disableAjaxTimeout},set disableAjaxTimeout(e){this._disableAjaxTimeout=e},_maxNestedIframes:y,get maxNestedIframes(){return this._maxNestedIframes},set maxNestedIframes(e){this._maxNestedIframes=e},_auctionOptions:{},get auctionOptions(){return this._auctionOptions},set auctionOptions(e){(function(e){if(!(0,c.PO)(e))return(0,c.yN)("Auction Options must be an object"),!1;for(var n=0,t=Object.keys(e);n<t.length;n++){var r=t[n];if("secondaryBidders"!==r&&"suppressStaleRender"!==r)return(0,c.yN)("Auction Options given an incorrect param: ".concat(r)),!1;if("secondaryBidders"===r){if(!(0,c.kJ)(e[r]))return(0,c.yN)("Auction Options ".concat(r," must be of type Array")),!1;if(!e[r].every(c.d8))return(0,c.yN)("Auction Options ".concat(r," must be only string")),!1}else if("suppressStaleRender"===r&&!(0,c.jn)(e[r]))return(0,c.yN)("Auction Options ".concat(r," must be of type boolean")),!1}return!0})(e)&&(this._auctionOptions=e)}};function i(e){return(0,u.sE)(Object.keys(T),(function(n){return e===T[n]}))}function o(e){if(!e)return(0,c.H)("Prebid Error: no value passed to `setPriceGranularity()`"),!1;if("string"==typeof e)i(e)||(0,c.yN)("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.");else if((0,c.PO)(e)&&!(0,a.t)(e))return(0,c.H)("Invalid custom price value passed to `setPriceGranularity()`"),!1;return!0}n&&q(Object.keys(n).reduce((function(e,t){return n[t]!==r[t]&&(e[t]=r[t]||{}),e}),{})),n=r,t={}}function k(){if(w&&t&&(0,c.PO)(t[w])){var e=t[w],r=new Set(Object.keys(n).concat(Object.keys(e)));return(0,u.Oc)(r).reduce((function(t,r){return void 0===e[r]?t[r]=n[r]:void 0===n[r]?t[r]=e[r]:(0,c.PO)(e[r])?t[r]=(0,c.Ee)({},n[r],e[r]):t[r]=e[r],t}),{})}return Object.assign({},n)}var I=[k,function(){var e=k();return Object.defineProperty(e,"ortb2",{get:function(){throw new Error("invalid access to 'orbt2' config - use request parameters instead")}}),e}].map((function(e){return function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){var n=arguments.length<=0?void 0:arguments[0];return n?(0,s.Z)(e(),n):k()}return Z.apply(void 0,arguments)}})),B=(0,o.Z)(I,2),j=B[0],S=B[1],U=[S,j].map((function(e){return function(){var n=e.apply(void 0,arguments);return n&&"object"===(0,i.Z)(n)&&(n=(0,c.I8)(n)),n}})),R=(0,o.Z)(U,2),P=R[0],_=R[1];function N(t){if((0,c.PO)(t)){var r=Object.keys(t),i={};r.forEach((function(r){var o=t[r];(0,c.PO)(e[r])&&(0,c.PO)(o)&&(o=Object.assign({},e[r],o));try{i[r]=n[r]=o}catch(e){(0,c.yN)("Cannot set config for property ".concat(r," : "),e)}})),q(i)}else(0,c.H)("setConfig options must be an object")}function Z(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n;if("string"!=typeof e&&(i=e,e=E,t=n||{}),"function"==typeof i){var o={topic:e,callback:i};return d.push(o),t.init&&i(e===E?S():(0,r.Z)({},e,S(e))),function(){d.splice(d.indexOf(o),1)}}(0,c.H)("listener must be a function")}function q(e){var n=Object.keys(e);d.filter((function(e){return(0,u.q9)(n,e.topic)})).forEach((function(n){n.callback((0,r.Z)({},n.topic,e[n.topic]))})),d.filter((function(e){return e.topic===E})).forEach((function(n){return n.callback(e)}))}function x(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{!function(e){if(!(0,c.PO)(e))throw"setBidderConfig bidder options must be an object";if(!Array.isArray(e.bidders)||!e.bidders.length)throw"setBidderConfig bidder options must contain a bidders list with at least 1 bidder";if(!(0,c.PO)(e.config))throw"setBidderConfig bidder options must contain a config object"}(e),e.bidders.forEach((function(r){t[r]||(t[r]={}),Object.keys(e.config).forEach((function(i){var o=e.config[i];if((0,c.PO)(o)){var a=n?c.Ee:Object.assign;t[r][i]=a({},t[r][i]||{},o)}else t[r][i]=o}))}))}catch(e){(0,c.H)(e)}}function D(e,n){w=e;try{return n()}finally{H()}}function H(){w=null}return O(),{getCurrentBidder:function(){return w},resetBidder:H,getConfig:S,getAnyConfig:j,readConfig:P,readAnyConfig:_,setConfig:N,mergeConfig:function(e){if((0,c.PO)(e)){var n=(0,c.Ee)(k(),e);return N(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?f(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({},n)),n}(0,c.H)("mergeConfig input must be an object")},setDefaults:function(t){(0,c.PO)(e)?(Object.assign(e,t),Object.assign(n,t)):(0,c.H)("defaults must be an object")},resetConfig:O,runWithBidder:D,callbackWithBidder:function(e){return function(n){return function(){if("function"==typeof n){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return D(e,c.ak.call.apply(c.ak,[n,this].concat(r)))}(0,c.yN)("config.callbackWithBidder callback is not a function")}}},setBidderConfig:x,getBidderConfig:function(){return t},mergeBidderConfig:function(e){return x(e,!0)}}}()},4516:function(e,n,t){t.d(n,{$P:function(){return m},$e:function(){return I},LO:function(){return O},iK:function(){return k}});var r=t(136),i=t(2963),o=t(1120),a=t(5671),u=t(3144),c=t(4942),s=t(8916),d=t(2793),f=t(4358),l=t(8792);function g(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=(0,o.Z)(e);if(n){var a=(0,o.Z)(this).constructor;t=Reflect.construct(r,arguments,a)}else t=r.apply(this,arguments);return(0,i.Z)(this,t)}}function p(e,n,t){v(e,n),n.set(e,t)}function v(e,n){if(n.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function h(e,n,t){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return t}var m=Object.freeze({}),y=new WeakMap,b=new WeakMap,w=new WeakMap,C=new WeakMap,A=new WeakSet,T=function(){function e(){var n,t;(0,a.Z)(this,e),v(n=this,t=A),t.add(n),p(this,y,{writable:!0,value:void 0}),p(this,b,{writable:!0,value:void 0}),p(this,w,{writable:!0,value:void 0}),p(this,C,{writable:!0,value:void 0}),(0,c.Z)(this,"generatedTime",void 0),this.reset()}return(0,u.Z)(e,[{key:"reset",value:function(){(0,d.Z)(this,w,(0,l.P)()),(0,d.Z)(this,y,!1),(0,d.Z)(this,b,null),(0,d.Z)(this,C,!1),this.generatedTime=null}},{key:"enable",value:function(){(0,d.Z)(this,y,!0)}},{key:"enabled",get:function(){return(0,s.Z)(this,y)}},{key:"ready",get:function(){return(0,s.Z)(this,C)}},{key:"promise",get:function(){return(0,s.Z)(this,C)?l.Z.resolve((0,s.Z)(this,b)):((0,s.Z)(this,y)||h(this,A,E).call(this,null),(0,s.Z)(this,w).promise)}},{key:"setConsentData",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,f.AB)();this.generatedTime=n,h(this,A,E).call(this,e)}},{key:"getConsentData",value:function(){return(0,s.Z)(this,b)}}]),e}();function E(e){(0,d.Z)(this,C,!0),(0,d.Z)(this,b,e),(0,s.Z)(this,w).resolve(e)}var O=function(e){(0,r.Z)(t,e);var n=g(t);function t(){return(0,a.Z)(this,t),n.apply(this,arguments)}return(0,u.Z)(t,[{key:"getConsentMeta",value:function(){var e=this.getConsentData();if(e&&this.generatedTime)return{usp:e,generatedAt:this.generatedTime}}}]),t}(T),k=function(e){(0,r.Z)(t,e);var n=g(t);function t(){return(0,a.Z)(this,t),n.apply(this,arguments)}return(0,u.Z)(t,[{key:"getConsentMeta",value:function(){var e=this.getConsentData();if(e&&e.vendorData&&this.generatedTime)return{gdprApplies:e.gdprApplies,consentStringSize:(0,f.d8)(e.vendorData.tcString)?e.vendorData.tcString.length:0,generatedAt:this.generatedTime,apiVersion:e.apiVersion}}}]),t}(T),I=function(e){(0,r.Z)(t,e);var n=g(t);function t(){return(0,a.Z)(this,t),n.apply(this,arguments)}return(0,u.Z)(t,[{key:"getConsentMeta",value:function(){if(this.getConsentData()&&this.generatedTime)return{generatedAt:this.generatedTime}}}]),t}(T)},6463:function(e,n,t){t.d(n,{D:function(){return l},t:function(){return p}});var r=t(4614),i=t(4358),o=t(3193),a=2,u={buckets:[{max:5,increment:.5}]},c={buckets:[{max:20,increment:.1}]},s={buckets:[{max:20,increment:.01}]},d={buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5}]},f={buckets:[{max:5,increment:.05},{max:10,increment:.1},{max:20,increment:.5}]};function l(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":g(e,u,t),med:""===r?"":g(e,c,t),high:""===r?"":g(e,s,t),auto:""===r?"":g(e,f,t),dense:""===r?"":g(e,d,t),custom:""===r?"":g(e,n,t)}}function g(e,n,t){var u="";if(!p(n))return u;var c=n.buckets.reduce((function(e,n){return e.max>n.max?e:n}),{max:0}),s=0,d=(0,r.sE)(n.buckets,(function(n){if(e>c.max*t){var r=n.precision;void 0===r&&(r=a),u=(n.max*t).toFixed(r)}else{if(e<=n.max*t&&e>=s*t)return n.min=s,n;s=n.max}}));return d&&(u=function(e,n,t){var r=void 0!==n.precision?n.precision:a,u=n.increment*t,c=n.min*t,s=Math.floor,d=o.vc.getConfig("cpmRoundingFunction");"function"==typeof d&&(s=d);var f,l,g=Math.pow(10,r+2),p=(e*g-c*g)/(u*g);try{f=s(p)*u+c}catch(e){l=!0}(l||"number"!=typeof f)&&((0,i.yN)("Invalid rounding function passed in config"),f=Math.floor(p)*u+c);return(f=Number(f.toFixed(10))).toFixed(r)}(e,d,t)),u}function p(e){if((0,i.xb)(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var n=!0;return e.buckets.forEach((function(e){e.max&&e.increment||(n=!1)})),n}},2021:function(e,n,t){t.d(n,{S1:function(){return l},j8:function(){return p},on:function(){return f},vw:function(){return g}});var r=t(4358),i=t(5644),o=Array.prototype.slice,a=Array.prototype.push,u=r.HA(i.FP,(function(e){return e})),c=i.aI,s=[],d=function(){var e={},n={};return n.on=function(n,t,i){if(function(e){return r.r3(u,e)}(n)){var o=e[n]||{que:[]};i?(o[i]=o[i]||{que:[]},o[i].que.push(t)):o.que.push(t),e[n]=o}else r.H("Wrong event name : "+n+" Valid event names :"+u)},n.emit=function(n){!function(n,t){r.ji("Emitting event for: "+n);var i=t[0]||{},o=i[c[n]],u=e[n]||{que:[]},d=r.HA(u,(function(e,n){return n})),f=[];s.push({eventType:n,args:i,id:o,elapsedTime:r.bd()}),o&&r.r3(d,o)&&a.apply(f,u[o].que),a.apply(f,u.que),r.yi(f,(function(e){if(e)try{e.apply(null,t)}catch(e){r.H("Error executing handler:","events.js",e)}}))}(n,o.call(arguments,1))},n.off=function(n,t,i){var o=e[n];r.xb(o)||r.xb(o.que)&&r.xb(o[i])||i&&(r.xb(o[i])||r.xb(o[i].que))||(i?r.yi(o[i].que,(function(e){var n=o[i].que;e===t&&n.splice(n.indexOf(e),1)})):r.yi(o.que,(function(e){var n=o.que;e===t&&n.splice(n.indexOf(e),1)})),e[n]=o)},n.get=function(){return e},n.addEvents=function(e){u=u.concat(e)},n.getEvents=function(){var e=[];return r.yi(s,(function(n){var t=Object.assign({},n);e.push(t)})),e},n}();r.u2(d.emit.bind(d));var f=d.on,l=d.off,g=(d.get,d.getEvents),p=d.emit;d.addEvents},8196:function(e,n,t){t.d(n,{W:function(){return o}});var r=t(4358),i=(0,t(5164).eA)(),o=(0,r.HP)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.host;if(!i.cookiesAreEnabled())return e;var n,t,o=e.split(".");if(2===o.length)return e;var a=-2,u="_rdc".concat(Date.now()),c="writeable";do{n=o.slice(a).join(".");var s=new Date((0,r.AB)()+1e4).toUTCString();i.setCookie(u,c,s,"Lax",n,void 0),i.getCookie(u,void 0)===c?(t=!1,i.setCookie(u,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,n,void 0)):(a+=-1,t=Math.abs(a)<=o.length)}while(t);return n}))},2797:function(e,n,t){t.d(n,{Bx:function(){return g},Cd:function(){return s},IF:function(){return p},bA:function(){return l},v5:function(){return d},z3:function(){return u}});var r=t(9062),i=t(1432),o=t.n(i),a=t(8792),u=o()({ready:o().SYNC|o().ASYNC|o().QUEUE}),c=(0,a.P)();u.ready=function(){var e=u.ready;return function(){try{return e.apply(u,arguments)}finally{c.resolve()}}}();var s=c.promise,d=u.get;var f={};function l(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).postInstallAllowed,i=void 0!==t&&t;u("async",(function(t){t.forEach((function(e){return n.apply(void 0,(0,r.Z)(e))})),i&&(f[e]=n)}),e)([])}function g(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];var i=f[e];if(i)return i.apply(void 0,t);d(e).before((function(e,n){n.push(t),e(n)}))}function p(e,n){return Object.defineProperties(n,Object.fromEntries(["before","after","getHooks","removeAll"].map((function(n){return[n,{get:function(){return e[n]}}]})))),n}},4679:function(e,n,t){t.d(n,{B5:function(){return r},Mk:function(){return o},Oh:function(){return a},pX:function(){return i}});var r="native",i="video",o="banner",a="adpod"},59:function(e,n,t){t.d(n,{Fb:function(){return j},JL:function(){return Z},Sg:function(){return h},Ur:function(){return P},e6:function(){return R},eK:function(){return N},lY:function(){return D},r4:function(){return U},xc:function(){return m},zq:function(){return F}});var r=t(9062),i=t(3324),o=t(4942),a=t(265),u=t(4358),c=t(4614),s=t(5383),d=t(5644),f=t(4679);function l(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return g(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return g(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function g(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function p(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function v(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?p(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var h=[],m=Object.keys(d.FY).map((function(e){return d.FY[e]})),y={image:{ortb:{ver:"1.2",assets:[{required:1,id:1,img:{type:3,wmin:100,hmin:100}},{required:1,id:2,title:{len:140}},{required:1,id:3,data:{type:1}},{required:0,id:4,data:{type:2}},{required:0,id:5,img:{type:1,wmin:20,hmin:20}}]},image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1}}},b=d.s$,w=d.oF,C=d.V1,A=d.zA,T=d.FY,E=M(C),O=M(b),k={img:1,js:2,1:"img",2:"js"},I={impression:1,"viewable-mrc50":2,"viewable-mrc100":3,"viewable-video50":4};function B(e){if(e&&e.type&&function(e){if(!e||!(0,c.q9)(Object.keys(y),e))return(0,u.H)("".concat(e," nativeParam is not supported")),!1;return!0}(e.type)&&(e=y[e.type]),!e||!e.ortb||S(e.ortb))return e}function j(e){e.forEach((function(e){var n=e.nativeParams||(0,a.Z)(e,"mediaTypes.native");n&&(e.nativeParams=B(n)),e.nativeParams&&(e.nativeOrtbRequest=e.nativeParams.ortb||function(e){if(!e&&!(0,u.PO)(e))return void(0,u.H)("Native assets object is empty or not an object: ",e);var n={ver:"1.2",assets:[]};for(var t in e)if(!A.includes(t))if(T.hasOwnProperty(t)){var r=e[t],i=0;r.required&&(0,u.jn)(r.required)&&(i=Number(r.required));var o={id:n.assets.length,required:i};if(t in C)o.data={type:b[C[t]]},r.len&&(o.data.len=r.len);else if("icon"===t||"image"===t){if(o.img={type:"icon"===t?w.ICON:w.MAIN},r.aspect_ratios)if((0,u.kJ)(r.aspect_ratios))if(r.aspect_ratios.length){var a=r.aspect_ratios[0],c=a.min_width,s=a.min_height;(0,u.U)(c)&&(0,u.U)(s)?(o.img.wmin=c,o.img.hmin=s):(0,u.H)("image.aspect_ratios min_width or min_height are invalid: ",c,s);var d=r.aspect_ratios.filter((function(e){return e.ratio_width&&e.ratio_height})).map((function(e){return"".concat(e.ratio_width,":").concat(e.ratio_height)}));d.length>0&&(o.img.ext={aspectratios:d})}else(0,u.H)("image.aspect_ratios was passed, but it's empty:",r.aspect_ratios);else(0,u.H)("image.aspect_ratios was passed, but it's not a an array:",r.aspect_ratios);r.sizes&&(2===r.sizes.length&&(0,u.U)(r.sizes[0])&&(0,u.U)(r.sizes[1])?(o.img.w=r.sizes[0],o.img.h=r.sizes[1],delete o.img.hmin,delete o.img.wmin):(0,u.H)("image.sizes was passed, but its value is not an array of integers:",r.sizes))}else"title"===t?o.title={len:r.len||140}:"ext"===t&&(o.ext=r,delete o.required);n.assets.push(o)}else(0,u.H)("Unrecognized native asset code: ".concat(t,". Asset will be ignored."));return n}(e.nativeParams))}))}function S(e){var n=e.assets;if(!Array.isArray(n)||0===n.length)return(0,u.H)("assets in mediaTypes.native.ortb is not an array, or it's empty. Assets: ",n),!1;var t=n.map((function(e){return e.id}));return n.length!==new Set(t).size||t.some((function(e){return e!==parseInt(e,10)}))?((0,u.H)("each asset object must have 'id' property, it must be unique and it must be an integer"),!1):e.hasOwnProperty("eventtrackers")&&!Array.isArray(e.eventtrackers)?((0,u.H)("ortb.eventtrackers is not an array. Eventtrackers: ",e.eventtrackers),!1):n.every((function(e){return function(e){if(!(0,u.PO)(e))return(0,u.H)("asset must be an object. Provided asset: ",e),!1;if(e.img){if(!(0,u.hj)(e.img.w)&&!(0,u.hj)(e.img.wmin))return(0,u.H)("for img asset there must be 'w' or 'wmin' property"),!1;if(!(0,u.hj)(e.img.h)&&!(0,u.hj)(e.img.hmin))return(0,u.H)("for img asset there must be 'h' or 'hmin' property"),!1}else if(e.title){if(!(0,u.hj)(e.title.len))return(0,u.H)("for title asset there must be 'len' property defined"),!1}else if(e.data){if(!(0,u.hj)(e.data.type))return(0,u.H)("for data asset 'type' property must be a number"),!1}else if(e.video&&!(Array.isArray(e.video.mimes)&&Array.isArray(e.video.protocols)&&(0,u.hj)(e.video.minduration)&&(0,u.hj)(e.video.maxduration)))return(0,u.H)("video asset is not properly configured"),!1;return!0}(e)}))}function U(e){var n,t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,r=(void 0===t?s.K.index:t).getAdUnit(e);if(!r)return!1;var i=r.nativeOrtbRequest,o=(null===(n=e.native)||void 0===n?void 0:n.ortb)||function(e,n){var t=v(v({},H(e)),{},{assets:[]});function r(e,r){var i=n.assets.find(e);null!=i&&(r(i=(0,u.I8)(i)),t.assets.push(i))}return Object.keys(e).filter((function(n){return!!e[n]})).forEach((function(n){var t=e[n];switch(n){case"title":r((function(e){return null!=e.title}),(function(e){e.title={text:t}}));break;case"image":case"icon":var i="image"===n?w.MAIN:w.ICON;r((function(e){return null!=e.img&&e.img.type===i}),(function(e){e.img={url:t}}));break;default:n in C&&r((function(e){return null!=e.data&&e.data.type===b[C[n]]}),(function(e){e.data={value:t}}))}})),t}(e.native,i);return function(e,n){if(!(0,a.Z)(e,"link.url"))return(0,u.H)("native response doesn't have 'link' property. Ortb response: ",e),!1;var t=n.assets.filter((function(e){return 1===e.required})).map((function(e){return e.id})),r=e.assets.map((function(e){return e.id})),i=t.every((function(e){return(0,c.q9)(r,e)}));i||(0,u.H)("didn't receive a bid with all required assets. Required ids: ".concat(t,", but received ids in response: ").concat(r));return i}(o,i)}function R(e,n){var t=n.native.ortb||H(n.native);return"click"===e.action?function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.fetchURL,i=void 0===r?u.hq:r;if(n){var o,a=(e.assets||[]).filter((function(e){return e.link})).reduce((function(e,n){return e[n.id]=n.link,e}),{}),c=(null===(o=e.link)||void 0===o?void 0:o.clicktrackers)||[],s=a[n],d=c;s&&(d=s.clicktrackers||[]),d.forEach((function(e){return i(e)}))}else{var f;((null===(f=e.link)||void 0===f?void 0:f.clicktrackers)||[]).forEach((function(e){return i(e)}))}}(t,null==e?void 0:e.assetId):function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.runMarkup,r=void 0===t?function(e){return(0,u.$8)(e)}:t,i=n.fetchURL,o=void 0===i?u.hq:i,a=(e.eventtrackers||[]).filter((function(e){return e.event===I.impression})),c=a.reduce((function(e,n){return k.hasOwnProperty(n.method)&&e[k[n.method]].push(n.url),e}),{img:[],js:[]}),s=c.img,d=c.js;e.imptrackers&&(s=s.concat(e.imptrackers));s.forEach((function(e){return o(e)})),d=d.map((function(e){return'<script async src="'.concat(e,'"><\/script>')})),e.jstracker&&(d=d.concat([e.jstracker]));d.length&&r(d.join("\n"))}(t),e.action}function P(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,t=void 0===n?s.K.index:n,r={},i=t.getAdUnit(e);(0,a.Z)(i,"nativeParams.rendererUrl")?e.native.rendererUrl=q(i.nativeParams.rendererUrl):(0,a.Z)(i,"nativeParams.adTemplate")&&(e.native.adTemplate=q(i.nativeParams.adTemplate));var o=!1!==(0,a.Z)(i,"nativeParams.sendTargetingKeys"),u=function(e){var n={};(0,a.Z)(e,"nativeParams.ext")&&Object.keys(e.nativeParams.ext).forEach((function(e){n[e]="hb_native_".concat(e)}));return v(v({},d.FY),n)}(i),c=v(v({},e.native),e.native.ext);return delete c.ext,Object.keys(c).forEach((function(n){var t=u[n],c=q(e.native[n])||q((0,a.Z)(e,"native.ext.".concat(n)));if("adTemplate"!==n&&t&&c){var s=(0,a.Z)(i,"nativeParams.".concat(n,".sendId"));if("boolean"!=typeof s&&(s=(0,a.Z)(i,"nativeParams.ext.".concat(n,".sendId"))),s)c="".concat(t,":").concat(e.adId);var d=(0,a.Z)(i,"nativeParams.".concat(n,".sendTargetingKeys"));"boolean"!=typeof d&&(d=(0,a.Z)(i,"nativeParams.ext.".concat(n,".sendTargetingKeys"))),("boolean"==typeof d?d:o)&&(r[t]=c)}})),r}function _(e,n,t){var r={message:"assetResponse",adId:e.adId},i=n.native;return n.native.ortb&&(r.ortb=n.native.ortb),r.assets=[],(null==t?Object.keys(i):t).forEach((function(e){if("adTemplate"===e&&i[e])r.adTemplate=q(i[e]);else if("rendererUrl"===e&&i[e])r.rendererUrl=q(i[e]);else if("ext"===e)Object.keys(i[e]).forEach((function(n){if(i[e][n]){var t=q(i[e][n]);r.assets.push({key:n,value:t})}}));else if(i[e]&&d.FY.hasOwnProperty(e)){var n=q(i[e]);r.assets.push({key:e,value:n})}})),r}function N(e,n){var t=e.assets.map((function(e){return(0,u.V9)(d.FY,e)}));return _(e,n,t)}function Z(e,n){return _(e,n,null)}function q(e){return(null==e?void 0:e.url)||e}function x(e){if(S(e)){var n,t={},r=l(e.assets);try{var i=function(){var e=n.value;if(e.title){var r={required:!!e.required&&Boolean(e.required),len:e.title.len};t.title=r}else if(e.img){var i={required:!!e.required&&Boolean(e.required)};e.img.w&&e.img.h?i.sizes=[e.img.w,e.img.h]:e.img.wmin&&e.img.hmin&&(i.aspect_ratios={min_width:e.img.wmin,min_height:e.img.hmin,ratio_width:e.img.wmin,ratio_height:e.img.hmin}),e.img.type===w.MAIN?t.image=i:t.icon=i}else if(e.data){var o=Object.keys(b).find((function(n){return b[n]===e.data.type})),a=Object.keys(C).find((function(e){return C[e]===o}));t[a]={required:!!e.required&&Boolean(e.required)},e.data.len&&(t[a].len=e.data.len)}};for(r.s();!(n=r.n()).done;)i()}catch(e){r.e(e)}finally{r.f()}return t}}function D(e){if(!e||!(0,u.kJ)(e))return e;if(!e.some((function(e){var n;return null===(n=((null==e?void 0:e.mediaTypes)||{})[f.B5])||void 0===n?void 0:n.ortb})))return e;var n,t=(0,u.I8)(e),r=l(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.mediaTypes&&i.mediaTypes[f.B5]&&i.mediaTypes[f.B5].ortb&&(i.mediaTypes[f.B5]=Object.assign((0,u.ei)(i.mediaTypes[f.B5],A),x(i.mediaTypes[f.B5].ortb)),i.nativeParams=B(i.mediaTypes[f.B5]))}}catch(e){r.e(e)}finally{r.f()}return t}function H(e){var n={link:{},eventtrackers:[]};return Object.entries(e).forEach((function(e){var t=(0,i.Z)(e,2),r=t[0],o=t[1];switch(r){case"clickUrl":n.link.url=o;break;case"clickTrackers":n.link.clicktrackers=Array.isArray(o)?o:[o];break;case"impressionTrackers":(Array.isArray(o)?o:[o]).forEach((function(e){n.eventtrackers.push({event:I.impression,method:k.img,url:e})}));break;case"javascriptTrackers":n.jstracker=Array.isArray(o)?o.join(""):o}})),n}function F(e,n){var t={},i=(null==n?void 0:n.assets)||[];t.clickUrl=e.link.url,t.privacyLink=e.privacy;var o,a=l((null==e?void 0:e.assets)||[]);try{var u=function(){var e=o.value,n=i.find((function(n){return e.id===n.id}));e.title?t.title=e.title.text:e.img?t[n.img.type===w.MAIN?"image":"icon"]=e.img.url:e.data&&(t[E[O[n.data.type]]]=e.data.value)};for(a.s();!(o=a.n()).done;)u()}catch(e){a.e(e)}finally{a.f()}t.impressionTrackers=[];var c,s=[];null!=n&&n.imptrackers&&(c=t.impressionTrackers).push.apply(c,(0,r.Z)(n.imptrackers));var d,f=l((null==e?void 0:e.eventtrackers)||[]);try{for(f.s();!(d=f.n()).done;){var g=d.value;g.event===I.impression&&g.method===k.img&&t.impressionTrackers.push(g.url),g.event===I.impression&&g.method===k.js&&s.push(g.url)}}catch(e){f.e(e)}finally{f.f()}return s=s.map((function(e){return'<script async src="'.concat(e,'"><\/script>')})),null!=e&&e.jstracker&&s.push(e.jstracker),s.length&&(t.javascriptTrackers=s.join("\n")),t}function M(e){var n={};for(var t in e)n[e[t]]=t;return n}},4614:function(e,n,t){function r(e,n,t){return e&&e.includes(n,t)||!1}function i(){return Array.from.apply(Array,arguments)}function o(e,n,t){return e&&e.find(n,t)}t.d(n,{Oc:function(){return i},q9:function(){return r},sE:function(){return o}})},1451:function(e,n,t){var r=t(3324),i=t(4942),o=t(8640),a=t(4358),u=t(265),c=t(6475),s=t(2021),d=t(59),f=t(5644),l=t(5383),g=t(4614),p=t(5706),v=t(3193),h=f.FP,m=h.AD_RENDER_FAILED,y=h.AD_RENDER_SUCCEEDED;function b(e){var n=e.reason,t=e.message,r=e.bid,i=e.id,o={reason:n,message:t};r&&(o.bid=r),i&&(o.adId=i),(0,a.H)(t),s.j8(m,o)}function w(e){var n=e.doc,t=e.bid,r=e.id,i={doc:n};t&&(i.bid=t),r&&(i.adId=r),s.j8(y,i)}var C=f.FP.BID_WON,A=f.FP.STALE_RENDER,T=new WeakSet,E={"Prebid Request":function(e,n,t){if(null==t)return void b({reason:f.q_.CANNOT_FIND_AD,message:"Cannot find ad '".concat(n.adId,"' for cross-origin render request"),id:n.adId});if(t.status===f.UE.fe&&((0,a.yN)("Ad id ".concat(t.adId," has been rendered before")),s.j8(A,t),(0,u.Z)(v.vc.getConfig("auctionOptions"),"suppressStaleRender")))return;try{!function(e,n){var t=e.adId,r=e.ad,i=e.adUrl,o=e.width,u=e.height,c=e.renderer,s=e.cpm,d=e.originalCpm;(0,p.Pd)(c)?(0,p._U)(c,e):t&&(k(e),n({message:"Prebid Response",ad:(0,a.ew)(r,d||s),adUrl:(0,a.ew)(i,d||s),adId:t,width:o,height:u}))}(t,e)}catch(e){return void b({reason:f.q_.EXCEPTION,message:e.message,id:n.adId,bid:t})}l.K.addWinningBid(t),s.j8(C,t)},"Prebid Event":function(e,n,t){if(null==t)return void(0,a.H)("Cannot find ad '".concat(n.adId,"' for x-origin event request"));if(t.status!==f.UE.fe)return void(0,a.yN)("Received x-origin event request without corresponding render request for ad '".concat(n.adId,"'"));switch(n.event){case f.FP.AD_RENDER_FAILED:b({bid:t,id:n.adId,reason:n.info.reason,message:n.info.message});break;case f.FP.AD_RENDER_SUCCEEDED:w({doc:null,bid:t,id:n.adId});break;default:(0,a.H)("Received x-origin event request for unsupported event: '".concat(n.event,"' (adId: '").concat(n.adId,"')"))}}};function O(e){var n=e.message?"message":"data",t={};try{t=JSON.parse(e[n])}catch(e){return}if(t&&t.adId&&t.message){var r=(0,g.sE)(l.K.getBidsReceived(),(function(e){return e.adId===t.adId}));E.hasOwnProperty(t.message)&&E[t.message](function(e){return null==e.origin&&0===e.ports.length?function(){var e="Cannot post message to a frame with null origin. Please update creatives to use MessageChannel, see https://github.com/prebid/Prebid.js/issues/7870";throw(0,a.H)(e),new Error(e)}:e.ports.length>0?function(n){e.ports[0].postMessage(JSON.stringify(n))}:function(n){e.source.postMessage(JSON.stringify(n),e.origin)}}(e),t,r)}}function k(e){var n=e.adId,t=e.adUnitCode,r=e.width,i=e.height;["div","iframe"].forEach((function(e){var o=function(e){var r=function(e,n){return(0,a.T9)()?function(e){var n=(0,g.sE)(window.googletag.pubads().getSlots(),(function(n){return(0,g.sE)(n.getTargetingKeys(),(function(t){return(0,g.q9)(n.getTargeting(t),e)}))}));return n?n.getSlotElementId():null}(e):(0,a.X4)()?function(e){var n=window.apntag.getTag(e);return n&&n.targetId}(n):n}(n,t),i=document.getElementById(r);return i&&i.querySelector(e)}(e+':not([style*="display: none"])');if(o){var u=o.style;u.width=r?r+"px":"100%",u.height=i+"px"}else(0,a.yN)("Unable to locate matching page element for adUnitCode ".concat(t,".  Can't resize it to ad's dimensions.  Please review setup."))}))}Object.assign(E,{"Prebid Native":function(e,n,t){if(null==t)return void(0,a.H)("Cannot find ad '".concat(n.adId,"' for x-origin event request"));T.has(t)||(T.add(t),l.K.addWinningBid(t),s.j8(C,t));switch(n.action){case"assetRequest":e((0,d.eK)(n,t));break;case"allAssetRequest":e((0,d.JL)(n,t));break;case"resizeNativeHeight":t.height=n.height,t.width=n.width,k(t);break;default:(0,d.e6)(n,t)}}});var I=t(1974),B=t(9062),j=t(4679),S=t(2797),U=t(5975),R=[],P=20,_=1;v.vc.getConfig("ttlBuffer",(function(e){"number"==typeof e.ttlBuffer?_=e.ttlBuffer:(0,a.H)("Invalid value for ttlBuffer",e.ttlBuffer)}));var N="targetingControls.allowTargetingKeys",Z="targetingControls.addTargetingKeys",q='Only one of "'.concat(N,'" or "').concat(Z,'" can be set'),x=Object.keys(f.TD).map((function(e){return f.TD[e]})),D={isActualBid:function(e){return e.getStatusCode()===f.Q_.Q},isBidNotExpired:function(e){return e.responseTimestamp+1e3*(e.ttl-(e.hasOwnProperty("ttlBuffer")?e.ttlBuffer:_))>(0,a.AB)()},isUnusedBid:function(e){return e&&(e.status&&!(0,g.q9)([f.UE.fe],e.status)||!e.status)}};function H(e){return!Object.values(D).some((function(n){return!n(e)}))}var F=(0,S.z3)("sync",(function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!(arguments.length>3&&void 0!==arguments[3]&&arguments[3])){var r=[],i=v.vc.getConfig("sendBidsControl.dealPrioritization"),o=(0,a.vM)(e,"adUnitCode");return Object.keys(o).forEach((function(e){var u=[],c=(0,a.vM)(o[e],"bidderCode");Object.keys(c).forEach((function(e){return u.push(c[e].reduce(n))})),t>0?(u=i?u.sort(M(!0)):u.sort((function(e,n){return n.cpm-e.cpm})),r.push.apply(r,(0,B.Z)(u.slice(0,t)))):r.push.apply(r,(0,B.Z)(u))})),r}return e}));function M(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(n,t){return void 0!==n.adserverTargeting.hb_deal&&void 0===t.adserverTargeting.hb_deal?-1:void 0===n.adserverTargeting.hb_deal&&void 0!==t.adserverTargeting.hb_deal?1:e?t.cpm-n.cpm:t.adserverTargeting.hb_pb-n.adserverTargeting.hb_pb}}var z=function(e){var n={},t={};function r(e,n){return e.adserverTargeting&&n&&((0,a.kJ)(n)&&(0,g.q9)(n,e.adUnitCode)||"string"==typeof n&&e.adUnitCode===n)}function o(n){return"string"==typeof n?[n]:(0,a.kJ)(n)?n:e.getAdUnitCodes()||[]}function c(){var n=e.getBidsReceived();if(v.vc.getConfig("useBidCache")){var r=v.vc.getConfig("bidCacheFilterFunction");"function"==typeof r&&(n=n.filter((function(e){return t[e.adUnitCode]===e.auctionId||!!r(e)})))}else n=n.filter((function(e){return t[e.adUnitCode]===e.auctionId}));return n=n.filter((function(e){return(0,u.Z)(e,"video.context")!==j.Oh})).filter(H),F(n,a.K$)}function s(e,t){var r=n.getWinningBids(e,t),o=l();return r=r.map((function(e){return(0,i.Z)({},e.adUnitCode,Object.keys(e.adserverTargeting).filter((function(n){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===o.indexOf(n)})).reduce((function(n,t){var r=[e.adserverTargeting[t]],o=(0,i.Z)({},t.substring(0,P),r);if(t===f.TD.DEAL){var a="".concat(t,"_").concat(e.bidderCode).substring(0,P),u=(0,i.Z)({},a,r);return[].concat((0,B.Z)(n),[o,u])}return[].concat((0,B.Z)(n),[o])}),[]))})),r}function l(){return e.getStandardBidderAdServerTargeting().map((function(e){return e.key})).concat(x).filter(a.tT)}function p(e,n,t,r){return Object.keys(n.adserverTargeting).filter(h()).forEach((function(t){e.length&&e.filter(function(e){return function(t){return t.adUnitCode===n.adUnitCode&&t.adserverTargeting[e]}}(t)).forEach(function(e){return function(t){(0,a.kJ)(t.adserverTargeting[e])||(t.adserverTargeting[e]=[t.adserverTargeting[e]]),t.adserverTargeting[e]=t.adserverTargeting[e].concat(n.adserverTargeting[e]).filter(a.tT),delete n.adserverTargeting[e]}}(t))})),e.push(n),e}function h(){var e=l();return e=e.concat(d.xc),function(n){return-1===e.indexOf(n)}}function m(e){return(0,i.Z)({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(h()).map((function(n){return(0,i.Z)({},n.substring(0,P),[e.adserverTargeting[n]])})))}function y(e,n){return n.map((function(n){return(0,i.Z)({},"".concat(n,"_").concat(e.bidderCode).substring(0,P),[e.adserverTargeting[n]])}))}return n.setLatestAuctionForAdUnit=function(e,n){t[e]=n},n.resetPresetTargeting=function(n,t){if((0,a.T9)()){var r=o(n),i=e.getAdUnits().filter((function(e){return(0,g.q9)(r,e.code)})),u=R.reduce((function(e,n){return e[n]=null,e}),{});window.googletag.pubads().getSlots().forEach((function(e){var n=(0,a.LQ)(t)&&t(e);i.forEach((function(t){(t.code===e.getAdUnitPath()||t.code===e.getSlotElementId()||(0,a.LQ)(n)&&n(t.code))&&e.updateTargetingFromMap(u)}))}))}},n.resetPresetTargetingAST=function(e){o(e).forEach((function(e){var n=window.apntag.getTag(e);if(n&&n.keywords){var t=Object.keys(n.keywords),r={};t.forEach((function(e){(0,g.q9)(R,e.toLowerCase())||(r[e]=n.keywords[e])})),window.apntag.modifyTag(e,{keywords:r})}}))},n.getAllTargeting=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c(),l=o(n),h=s(l,t).concat(function(e,n){return n.filter((function(n){return(0,g.q9)(e,n.adUnitCode)})).map((function(e){return Object.assign({},e)})).reduce(p,[]).map(m).filter((function(e){return e}))}(l,t)).concat(v.vc.getConfig("enableSendAllBids")?function(e,n){var t=x.concat(d.xc),o=v.vc.getConfig("sendBidsControl.bidLimit"),u=F(n,a.ZH,o),c=v.vc.getConfig("targetingControls.allowSendAllBidsTargetingKeys"),s=c?c.map((function(e){return f.TD[e]})):t;return u.map((function(n){if(r(n,e))return(0,i.Z)({},n.adUnitCode,y(n,t.filter((function(e){return void 0!==n.adserverTargeting[e]&&-1!==s.indexOf(e)}))))})).filter((function(e){return e}))}(l,t):function(e,n){if(!0===v.vc.getConfig("targetingControls.alwaysIncludeDeals")){var t=x.concat(d.xc);return F(n,a.ZH).map((function(n){if(n.dealId&&r(n,e))return(0,i.Z)({},n.adUnitCode,y(n,t.filter((function(e){return void 0!==n.adserverTargeting[e]}))))})).filter((function(e){return e}))}return[]}(l,t)).concat(function(n){function t(e){return(0,u.Z)(e,f.k2.xn)}function r(e){var n=t(e);return Object.keys(n).map((function(e){return(0,a.d8)(n[e])&&(n[e]=n[e].split(",").map((function(e){return e.trim()}))),(0,a.kJ)(n[e])||(n[e]=[n[e]]),(0,i.Z)({},e,n[e])}))}return e.getAdUnits().filter((function(e){return(0,g.q9)(n,e.code)&&t(e)})).map((function(e){return(0,i.Z)({},e.code,r(e))}))}(l));h.map((function(e){Object.keys(e).map((function(n){e[n].map((function(e){-1===R.indexOf(Object.keys(e)[0])&&(R=Object.keys(e).concat(R))}))}))}));var b=Object.keys(Object.assign({},f.kF,f.FY)),w=v.vc.getConfig(N),C=v.vc.getConfig(Z);if(null!=C&&null!=w)throw new Error(q);w=null!=C?b.concat(C):w||b,Array.isArray(w)&&w.length>0&&(h=function(e,n){var t=Object.assign({},f.TD,f.FY),r=Object.keys(t),i={};(0,a.PN)("allowTargetingKeys - allowed keys [ ".concat(n.map((function(e){return t[e]})).join(", ")," ]")),e.map((function(e){var o=Object.keys(e)[0],a=e[o].filter((function(e){var o=Object.keys(e)[0],a=0===r.filter((function(e){return 0===o.indexOf(t[e])})).length||(0,g.sE)(n,(function(e){var n=t[e];return 0===o.indexOf(n)}));return i[o]=!a,a}));e[o]=a}));var o=Object.keys(i).filter((function(e){return i[e]}));return(0,a.PN)("allowTargetingKeys - removed keys [ ".concat(o.join(", ")," ]")),e.filter((function(e){return e[Object.keys(e)[0]].length>0}))}(h,w)),h=function(e){var n=e.map((function(e){return(0,i.Z)({},Object.keys(e)[0],e[Object.keys(e)[0]].map((function(e){return(0,i.Z)({},Object.keys(e)[0],e[Object.keys(e)[0]].join(","))})).reduce((function(e,n){return Object.assign(n,e)}),{}))})).reduce((function(e,n){var t=Object.keys(n)[0];return e[t]=Object.assign({},e[t],n[t]),e}),{});return n}(h);var A=v.vc.getConfig("targetingControls.auctionKeyMaxChars");return A&&((0,a.PN)("Detected 'targetingControls.auctionKeyMaxChars' was active for this auction; set with a limit of ".concat(A," characters.  Running checks on auction keys...")),h=function(e,n){var t=(0,a.I8)(e),r=Object.keys(t).map((function(e){return{adUnitCode:e,adserverTargeting:t[e]}})).sort(M());return r.reduce((function(e,r,i,o){var u,c=(u=r.adserverTargeting,Object.keys(u).reduce((function(e,n){return e+"".concat(n,"%3d").concat(encodeURIComponent(u[n]),"%26")}),""));i+1===o.length&&(c=c.slice(0,-3));var s=r.adUnitCode,d=c.length;return d<=n?(n-=d,(0,a.PN)("AdUnit '".concat(s,"' auction keys comprised of ").concat(d," characters.  Deducted from running threshold; new limit is ").concat(n),t[s]),e[s]=t[s]):(0,a.yN)("The following keys for adUnitCode '".concat(s,"' exceeded the current limit of the 'auctionKeyMaxChars' setting.\nThe key-set size was ").concat(d,", the current allotted amount was ").concat(n,".\n"),t[s]),i+1===o.length&&0===Object.keys(e).length&&(0,a.H)("No auction targeting keys were permitted due to the setting in setConfig(targetingControls.auctionKeyMaxChars).  Please review setup and consider adjusting."),e}),{})}(h,A)),l.forEach((function(e){h[e]||(h[e]={})})),h},v.vc.getConfig("targetingControls",(function(e){null!=(0,u.Z)(e,N)&&null!=(0,u.Z)(e,Z)&&(0,a.H)(q)})),n.setTargetingForGPT=function(e,n){window.googletag.pubads().getSlots().forEach((function(t){Object.keys(e).filter(n?n(t):(0,a.zV)(t)).forEach((function(n){Object.keys(e[n]).forEach((function(t){var r=e[n][t];"string"==typeof r&&-1!==r.indexOf(",")&&(r=r.split(",")),e[n][t]=r})),(0,a.ji)("Attempting to set targeting-map for slot: ".concat(t.getSlotElementId()," with targeting-map:"),e[n]),t.updateTargetingFromMap(e[n])}))}))},n.getWinningBids=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c(),t=o(e);return n.filter((function(e){return(0,g.q9)(t,e.adUnitCode)})).filter((function(e){return!0===U.S.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0})).map((function(e){return e.adUnitCode})).filter(a.tT).map((function(e){return n.filter((function(n){return n.adUnitCode===e?n:null})).reduce(a.ZH)}))},n.setTargetingForAst=function(e){var t=n.getAllTargeting(e);try{n.resetPresetTargetingAST(e)}catch(e){(0,a.H)("unable to reset targeting for AST"+e)}Object.keys(t).forEach((function(e){return Object.keys(t[e]).forEach((function(n){if((0,a.ji)("Attempting to set targeting for targetId: ".concat(e," key: ").concat(n," value: ").concat(t[e][n])),(0,a.d8)(t[e][n])||(0,a.kJ)(t[e][n])){var r={};n.search(/pt[0-9]/)<0?r[n.toUpperCase()]=t[e][n]:r[n]=t[e][n],window.apntag.setKeywords(e,r,{overrideKeyValue:!0})}}))}))},n.isApntagDefined=function(){if(window.apntag&&(0,a.LQ)(window.apntag.setKeywords))return!0},n}(l.K),W=t(9626),L=t(5730),K=t(8792),G="__pbjs_debugging__";function V(){return(0,o.R)().installedModules.includes("debugging")}function J(e){return new K.Z((function(n){(0,L.B)(e,"debugging",n)}))}var Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.load,t=void 0===n?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alreadyInstalled,t=void 0===n?V:n,r=e.script,i=void 0===r?J:r,u=null;return function(){return null==u&&(u=new K.Z((function(e,n){setTimeout((function(){if(t())e();else{var r="https://cdn.jsdelivr.net/npm/prebid.js@7.36.0/dist/debugging-standalone.js";(0,a.ji)('Debugging module not installed, loading it from "'.concat(r,'"...')),(0,o.R)()._installDebugging=!0,i(r).then((function(){(0,o.R)()._installDebugging({DEBUG_KEY:G,hook:S.z3,config:v.vc,createBid:W.m,logger:(0,a.qp)("DEBUG:")})})).then(e,n)}}))}))),u}}():n,r=e.hook,i=void 0===r?(0,S.v5)("requestBids"):r,u=null,c=!1;function s(e){for(var n=this,t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return(u||K.Z.resolve()).then((function(){return e.apply(n,r)}))}function d(){i.getHooks({hook:s}).remove(),c=!1}return{enable:function(){c||(u=t(),i.before(s,99),c=!0)},disable:d,reset:function(){u=null,d()}}}();Q.reset;v.vc.getConfig("debugging",(function(e){var n=e.debugging;null!=n&&n.enabled?Q.enable():Q.disable()}));var Y=t(875),X=t(5164),$=t(1039),ee=t(9128),ne=t(5102),te=t(8196),re=t(7809),ie={getRefererInfo:ne.nH,findRootDomain:te.W,getWindowTop:a.Zy,getWindowSelf:a.e7,getHighEntropySUA:re.KI,getLowEntropySUA:re.hi},oe=(0,S.z3)("sync",(function(e){return K.Z.all([e,(n=v.vc.getConfig("firstPartyData.uaHints"),Array.isArray(n)&&0===n.length?K.Z.resolve(ie.getLowEntropySUA()):ie.getHighEntropySUA(n)).catch((function(){return null}))]).then((function(e){var n=(0,r.Z)(e,2),t=n[0],i=n[1];return Object.entries(ue).forEach((function(e){var n=(0,r.Z)(e,2),i=n[0],o=(0,n[1])();o&&Object.keys(o).length>0&&(t[i]=(0,a.Ee)({},o,t[i]))})),i&&(0,c.N)(t,"device.sua",Object.assign({},i,t.device.sua)),t}));var n}));function ae(e){try{return e(ie.getWindowTop())}catch(n){return e(ie.getWindowSelf())}}var ue={site:function(){var e,n,t,r=ie.getRefererInfo(),i=(0,ne.hh)(r.page,{noLeadingWww:!0}),o=null===(e=ae((function(e){return e.document.querySelector("meta[name='keywords']")})))||void 0===e||null===(n=e.content)||void 0===n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\s/g,"");return function(e){return(0,a.iG)(e,Object.keys(e))}({page:r.page,ref:r.ref,domain:i,keywords:o,publisher:{domain:ie.findRootDomain(i)}})},device:function(){return ae((function(e){return{w:e.innerWidth||e.document.documentElement.clientWidth||e.document.body.clientWidth,h:e.innerHeight||e.document.documentElement.clientHeight||e.document.body.clientHeight,dnt:(0,a.oV)()?1:0,ua:e.navigator.userAgent,language:e.navigator.language.split("-").shift()}}))},regs:function(){var e={};ae((function(e){return e.navigator.globalPrivacyControl}))&&(0,c.N)(e,"ext.gpc",1);var n=v.vc.getConfig("coppa");return"boolean"==typeof n&&(e.coppa=n?1:0),e}},ce=(0,o.R)(),se=I.k_.triggerUserSyncs,de=f.FP,fe=de.ADD_AD_UNITS,le=de.BID_WON,ge=de.REQUEST_BIDS,pe=de.SET_TARGETING,ve=de.STALE_RENDER,he=f.q_,me=he.PREVENT_WRITING_ON_MAIN_DOCUMENT,ye=he.NO_AD,be=he.EXCEPTION,we=he.CANNOT_FIND_AD,Ce=he.MISSING_DOC_OR_ADID,Ae={bidWon:function(e){var n=l.K.getBidsRequested().map((function(e){return e.bids.map((function(e){return e.adUnitCode}))})).reduce(a.xH).filter(a.tT);if(!(0,a.r3)(n,e))return void(0,a.H)('The "'+e+'" placement is not defined.');return!0}};function Te(e,n,t){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=n,e.defaultView.frameElement.height=t)}function Ee(e,n){var t=[];return(0,a.kJ)(e)&&(n?e.length===n:e.length>0)&&(e.every((function(e){return(0,a.HC)(e,2)}))?t=e:(0,a.HC)(e,2)&&t.push(e)),t}function Oe(e){var n=(0,a.I8)(e),t=n.mediaTypes.banner,r=Ee(t.sizes);return r.length>0?(t.sizes=r,n.sizes=r):((0,a.H)("Detected a mediaTypes.banner object without a proper sizes field.  Please ensure the sizes are listed like: [[300, 250], ...].  Removing invalid mediaTypes.banner object from request."),delete n.mediaTypes.banner),n}function ke(e){var n=(0,a.I8)(e),t=n.mediaTypes.video;if(t.playerSize){var r="number"==typeof t.playerSize[0]?2:1,i=Ee(t.playerSize,r);i.length>0?(2===r&&(0,a.PN)("Transforming video.playerSize from [640,480] to [[640,480]] so it's in the proper format."),t.playerSize=i,n.sizes=i):((0,a.H)("Detected incorrect configuration of mediaTypes.video.playerSize.  Please specify only one set of dimensions in a format like: [[640, 480]]. Removing invalid mediaTypes.video.playerSize property from request."),delete n.mediaTypes.video.playerSize)}return n}function Ie(e){var n=(0,a.I8)(e),t=n.mediaTypes.native;if(t.ortb){var r=Object.keys(f.FY).filter((function(e){return f.FY[e].includes("hb_native_")})),i=Object.keys(t).filter((function(e){return r.includes(e)}));i.length>0&&((0,a.H)("when using native OpenRTB format, you cannot use legacy native properties. Deleting ".concat(i," keys from request.")),i.forEach((function(e){return delete n.mediaTypes.native[e]})))}return t.image&&t.image.sizes&&!Array.isArray(t.image.sizes)&&((0,a.H)("Please use an array of sizes for native.image.sizes field.  Removing invalid mediaTypes.native.image.sizes property from request."),delete n.mediaTypes.native.image.sizes),t.image&&t.image.aspect_ratios&&!Array.isArray(t.image.aspect_ratios)&&((0,a.H)("Please use an array of sizes for native.image.aspect_ratios field.  Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete n.mediaTypes.native.image.aspect_ratios),t.icon&&t.icon.sizes&&!Array.isArray(t.icon.sizes)&&((0,a.H)("Please use an array of sizes for native.icon.sizes field.  Removing invalid mediaTypes.native.icon.sizes property from request."),delete n.mediaTypes.native.icon.sizes),n}function Be(e,n){var t=(0,u.Z)(e,"mediaTypes.".concat(n,".pos"));if(!(0,a.hj)(t)||isNaN(t)||!isFinite(t)){var r="Value of property 'pos' on ad unit ".concat(e.code," should be of type: Number");(0,a.yN)(r),s.j8(f.FP.AUCTION_DEBUG,{type:"WARNING",arguments:r}),delete e.mediaTypes[n].pos}return e}function je(e){var n=function(n){return"adUnit.code '".concat(e.code,"' ").concat(n)},t=e.mediaTypes,r=e.bids;return null==r||(0,a.kJ)(r)?null==r&&null==e.ortb2Imp?((0,a.H)(n("has no 'adUnit.bids' and no 'adUnit.ortb2Imp'. Removing adUnit from auction")),null):t&&0!==Object.keys(t).length?(null==e.ortb2Imp||null!=r&&0!==r.length||(e.bids=[{bidder:null}],(0,a.ji)(n("defines 'adUnit.ortb2Imp' with no 'adUnit.bids'; it will be seen only by S2S adapters"))),e):((0,a.H)(n("does not define a 'mediaTypes' object.  This is a required field for the auction, so this adUnit has been removed.")),null):((0,a.H)(n("defines 'adUnit.bids' that is not an array. Removing adUnit from auction")),null)}!function(){var e=null;try{e=window.sessionStorage}catch(e){}if(null!==e){var n=Q,t=null;try{t=e.getItem(G)}catch(e){}null!==t&&n.enable()}}(),ce.bidderSettings=ce.bidderSettings||{},ce.libLoaded=!0,ce.version="v7.36.0",(0,a.PN)("Prebid.js v7.36.0 loaded"),ce.installedModules=ce.installedModules||[],ce.adUnits=ce.adUnits||[],ce.triggerUserSyncs=se;var Se={validateAdUnit:je,validateBannerMediaType:Oe,validateVideoMediaType:ke,validateSizes:Ee};Object.assign(Se,{validateNativeMediaType:Ie});var Ue,Re=(0,S.z3)("sync",(function(e){var n=[];return e.forEach((function(e){if(null!=(e=je(e))){var t,r,i,o=e.mediaTypes;o.banner&&(t=Oe(e),o.banner.hasOwnProperty("pos")&&(t=Be(t,"banner"))),o.video&&(r=ke(t||e),o.video.hasOwnProperty("pos")&&(r=Be(r,"video"))),o.native&&(i=Ie(r||(t||e)));var a=Object.assign({},t,r,i);n.push(a)}})),n}),"checkAdUnitSetup");function Pe(e){var n=l.K[e]().filter(a.ak.call(a.IK,this,l.K.getAdUnitCodes())),t=l.K.getLastAuctionId();return n.map((function(e){return e.adUnitCode})).filter(a.tT).map((function(e){return n.filter((function(n){return n.auctionId===t&&n.adUnitCode===e}))})).filter((function(e){return e&&e[0]&&e[0].adUnitCode})).map((function(e){return(0,i.Z)({},e[0].adUnitCode,{bids:e})})).reduce((function(e,n){return Object.assign(e,n)}),{})}function _e(e,n,t){var r=n.querySelector(t);e.parentNode&&e.parentNode===r||(0,a.jC)(e,n,t)}ce.getAdserverTargetingForAdUnitCodeStr=function(e){if((0,a.PN)("Invoking pbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var n=ce.getAdserverTargetingForAdUnitCode(e);return(0,a.Ob)(n)}(0,a.ji)("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},ce.getHighestUnusedBidResponseForAdUnitCode=function(e){if(e){var n=l.K.getAllBidsForAdUnitCode(e).filter(H);return n.length?n.reduce(a.ZH):{}}(0,a.ji)("Need to call getHighestUnusedBidResponseForAdUnitCode with adunitCode")},ce.getAdserverTargetingForAdUnitCode=function(e){return ce.getAdserverTargeting(e)[e]},ce.getAdserverTargeting=function(e){return(0,a.PN)("Invoking pbjs.getAdserverTargeting",arguments),z.getAllTargeting(e)},ce.getConsentMetadata=function(){return(0,a.PN)("Invoking pbjs.getConsentMetadata"),{gdpr:$.rp.getConsentMeta(),usp:$.nX.getConsentMeta(),gpp:$.TJ.getConsentMeta(),coppa:!!v.vc.getConfig("coppa")}},ce.getNoBids=function(){return(0,a.PN)("Invoking pbjs.getNoBids",arguments),Pe("getNoBids")},ce.getNoBidsForAdUnitCode=function(e){return{bids:l.K.getNoBids().filter((function(n){return n.adUnitCode===e}))}},ce.getBidResponses=function(){return(0,a.PN)("Invoking pbjs.getBidResponses",arguments),Pe("getBidsReceived")},ce.getBidResponsesForAdUnitCode=function(e){return{bids:l.K.getBidsReceived().filter((function(n){return n.adUnitCode===e}))}},ce.setTargetingForGPTAsync=function(e,n){if((0,a.PN)("Invoking pbjs.setTargetingForGPTAsync",arguments),(0,a.T9)()){var t=z.getAllTargeting(e);z.resetPresetTargeting(e,n),z.setTargetingForGPT(t,n),Object.keys(t).forEach((function(e){Object.keys(t[e]).forEach((function(n){"hb_adid"===n&&l.K.setStatusForBids(t[e][n],f.UE.CK)}))})),s.j8(pe,t)}else(0,a.H)("window.googletag is not defined on the page")},ce.setTargetingForAst=function(e){(0,a.PN)("Invoking pbjs.setTargetingForAn",arguments),z.isApntagDefined()?(z.setTargetingForAst(e),s.j8(pe,z.getAllTargeting())):(0,a.H)("window.apntag is not defined on the page")},ce.renderAd=(0,S.z3)("async",(function(e,n,t){if((0,a.PN)("Invoking pbjs.renderAd",arguments),(0,a.ji)("Calling renderAd with adId :"+n),n)try{var r=l.K.findBidByAdId(n);if(!r){var i="Error trying to write ad. Cannot find ad by given id : ".concat(n);return void b({reason:we,message:i,id:n})}if(r.status===f.UE.fe&&((0,a.yN)("Ad id ".concat(r.adId," has been rendered before")),s.j8(ve,r),(0,u.Z)(v.vc.getConfig("auctionOptions"),"suppressStaleRender")))return;if(r.ad=(0,a.ew)(r.ad,r.originalCpm||r.cpm),r.adUrl=(0,a.ew)(r.adUrl,r.originalCpm||r.cpm),t&&t.clickThrough){var o=t.clickThrough;r.ad=(0,a.x_)(r.ad,o),r.adUrl=(0,a.x_)(r.adUrl,o)}l.K.addWinningBid(r),s.j8(le,r);var c=r.height,d=r.width,g=r.ad,h=r.mediaType,m=r.adUrl,y=r.renderer,C=r.adUnitCode,A=ce.adUnits.filter((function(e){return e.code===C})),T=ce.videoModule;if(A.video&&T)return void T.renderBid(A.video.divId,r);if(!e){var E="Error trying to write ad Id :".concat(n," to the page. Missing document");return void b({reason:Ce,message:E,id:n})}var O=document.createComment("Creative ".concat(r.creativeId," served by ").concat(r.bidder," Prebid.js Header Bidding"));if((0,a.jC)(O,e,"html"),(0,p.Pd)(y))(0,p._U)(y,r,e),_e(O,e,"html"),w({doc:e,bid:r,id:n});else if(e===document&&!(0,a.yL)()||"video"===h){var k="Error trying to write ad. Ad render call ad id ".concat(n," was prevented from writing to the main document.");b({reason:me,message:k,bid:r,id:n})}else if(g)e.write(g),e.close(),Te(e,d,c),_e(O,e,"html"),(0,a.R_)(r),w({doc:e,bid:r,id:n});else if(m){var I=(0,a.$u)();I.height=c,I.width=d,I.style.display="inline",I.style.overflow="hidden",I.src=m,(0,a.jC)(I,e,"body"),Te(e,d,c),_e(O,e,"html"),(0,a.R_)(r),w({doc:e,bid:r,id:n})}else{var B="Error trying to write ad. No ad for bid response id: ".concat(n);b({reason:ye,message:B,bid:r,id:n})}}catch(e){var j="Error trying to write ad Id :".concat(n," to the page:").concat(e.message);b({reason:be,message:j,id:n})}else{var S="Error trying to write ad Id :".concat(n," to the page. Missing adId");b({reason:Ce,message:S,id:n})}})),ce.removeAdUnit=function(e){((0,a.PN)("Invoking pbjs.removeAdUnit",arguments),e)?((0,a.kJ)(e)?e:[e]).forEach((function(e){for(var n=ce.adUnits.length-1;n>=0;n--)ce.adUnits[n].code===e&&ce.adUnits.splice(n,1)})):ce.adUnits=[]},ce.requestBids=(Ue=(0,S.z3)("async",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.bidsBackHandler,t=e.timeout,i=e.adUnits,o=e.adUnitCodes,u=e.labels,c=e.auctionId,d=e.ttlBuffer,f=e.ortb2,l=e.metrics,p=e.defer;s.j8(ge);var h=t||v.vc.getConfig("bidderTimeout");(0,a.PN)("Invoking pbjs.requestBids",arguments),o&&o.length?i=i.filter((function(e){return(0,g.q9)(o,e.code)})):o=i&&i.map((function(e){return e.code}));var m={global:(0,a.Ee)({},v.vc.getAnyConfig("ortb2")||{},f||{}),bidder:Object.fromEntries(Object.entries(v.vc.getBidderConfig()).map((function(e){var n=(0,r.Z)(e,2);return[n[0],n[1].ortb2]})).filter((function(e){var n=(0,r.Z)(e,2);return n[0],null!=n[1]})))};return oe(K.Z.resolve(m.global)).then((function(e){return m.global=e,Ne({bidsBackHandler:n,timeout:h,adUnits:i,adUnitCodes:o,labels:u,auctionId:c,ttlBuffer:d,ortb2Fragments:m,metrics:l,defer:p})}))}),"requestBids"),(0,S.IF)(Ue,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.adUnits||ce.adUnits;return e.adUnits=(0,a.kJ)(n)?n.slice():[n],e.metrics=(0,ee.V6)(),e.metrics.checkpoint("requestBids"),e.defer=(0,K.P)({promiseFactory:function(e){return new Promise(e)}}),Ue.call(this,e),e.defer.promise})));var Ne=(0,S.z3)("async",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.bidsBackHandler,t=e.timeout,r=e.adUnits,i=e.ttlBuffer,o=e.adUnitCodes,u=e.labels,s=e.auctionId,d=e.ortb2Fragments,f=e.metrics,p=e.defer,h=(0,$.uV)(v.vc.getConfig("s2sConfig")||[]);function m(e,t,r){if("function"==typeof n)try{n(e,t,r)}catch(e){(0,a.H)("Error executing bidsBackHandler",null,e)}p.resolve({bids:e,timedOut:t,auctionId:r})}if((r=(0,ee.Bf)(f).measureTime("requestBids.validate",(function(){return Re(r)}))).forEach((function(e){var n,t,r=Object.keys(e.mediaTypes||{banner:"banner"}),o=e.bids.map((function(e){return e.bidder})),u=$.ZP.bidderRegistry,s=o.filter((function(e){return!h.has(e)})),d=(null===(n=e.ortb2Imp)||void 0===n||null===(t=n.ext)||void 0===t?void 0:t.tid)||(0,a.DO)();e.transactionId=d,null==i||e.hasOwnProperty("ttlBuffer")||(e.ttlBuffer=i),(0,c.N)(e,"ortb2Imp.ext.tid",d),s.forEach((function(n){var t=u[n],i=t&&t.getSpec&&t.getSpec(),o=i&&i.supportedMediaTypes||["banner"];r.some((function(e){return(0,g.q9)(o,e)}))?Y.f.incrementBidderRequestsCounter(e.code,n):((0,a.yN)((0,a.or)(e,n)),e.bids=e.bids.filter((function(e){return e.bidder!==n})))})),Y.f.incrementRequestsCounter(e.code)})),r&&0!==r.length){var y=l.K.createAuction({adUnits:r,adUnitCodes:o,callback:m,cbTimeout:t,labels:u,auctionId:s,ortb2Fragments:d,metrics:f}),b=r.length;b>15&&(0,a.PN)("Current auction ".concat(y.getAuctionId()," contains ").concat(b," adUnits."),r),o.forEach((function(e){return z.setLatestAuctionForAdUnit(e,y.getAuctionId())})),y.callBids()}else(0,a.ji)("No adUnits configured. No bids requested."),m()}),"startAuction");ce.requestBids.before((function(e,n){function t(e){for(var n;n=e.shift();)n()}t(X.Ld),t(Ze),e.call(this,n)}),49),ce.addAdUnits=function(e){(0,a.PN)("Invoking pbjs.addAdUnits",arguments),ce.adUnits.push.apply(ce.adUnits,(0,a.kJ)(e)?e:[e]),s.j8(fe)},ce.onEvent=function(e,n,t){(0,a.PN)("Invoking pbjs.onEvent",arguments),(0,a.LQ)(n)?!t||Ae[e].call(null,t)?s.on(e,n,t):(0,a.H)('The id provided is not valid for event "'+e+'" and no handler was set.'):(0,a.H)('The event handler provided is not a function and was not set on event "'+e+'".')},ce.offEvent=function(e,n,t){(0,a.PN)("Invoking pbjs.offEvent",arguments),t&&!Ae[e].call(null,t)||s.S1(e,n,t)},ce.getEvents=function(){return(0,a.PN)("Invoking pbjs.getEvents"),s.vw()},ce.registerBidAdapter=function(e,n){(0,a.PN)("Invoking pbjs.registerBidAdapter",arguments);try{$.ZP.registerBidAdapter(e(),n)}catch(e){(0,a.H)("Error registering bidder adapter : "+e.message)}},ce.registerAnalyticsAdapter=function(e){(0,a.PN)("Invoking pbjs.registerAnalyticsAdapter",arguments);try{$.ZP.registerAnalyticsAdapter(e)}catch(e){(0,a.H)("Error registering analytics adapter : "+e.message)}},ce.createBid=function(e){return(0,a.PN)("Invoking pbjs.createBid",arguments),(0,W.m)(e)};var Ze=[],qe=(0,S.z3)("async",(function(e){e&&!(0,a.xb)(e)?((0,a.PN)("Invoking pbjs.enableAnalytics for: ",e),$.ZP.enableAnalytics(e)):(0,a.H)("pbjs.enableAnalytics should be called with option {}")}),"enableAnalyticsCb");function xe(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){(0,a.H)("Error processing command :","prebid.js",e)}}))}ce.enableAnalytics=function(e){Ze.push(qe.bind(this,e))},ce.aliasBidder=function(e,n,t){(0,a.PN)("Invoking pbjs.aliasBidder",arguments),e&&n?$.ZP.aliasBidAdapter(e,n,t):(0,a.H)("bidderCode and alias must be passed as arguments","pbjs.aliasBidder")},ce.aliasRegistry=$.ZP.aliasRegistry,v.vc.getConfig("aliasRegistry",(function(e){"private"===e.aliasRegistry&&delete ce.aliasRegistry})),ce.getAllWinningBids=function(){return l.K.getAllWinningBids()},ce.getAllPrebidWinningBids=function(){return l.K.getBidsReceived().filter((function(e){return e.status===f.UE.CK}))},ce.getHighestCpmBids=function(e){return z.getWinningBids(e)},ce.markWinningBidAsUsed=function(e){var n=[];e.adUnitCode&&e.adId?n=l.K.getBidsReceived().filter((function(n){return n.adId===e.adId&&n.adUnitCode===e.adUnitCode})):e.adUnitCode?n=z.getWinningBids(e.adUnitCode):e.adId?n=l.K.getBidsReceived().filter((function(n){return n.adId===e.adId})):(0,a.yN)("Improper use of markWinningBidAsUsed. It needs an adUnitCode or an adId to function."),n.length>0&&(n[0].status=f.UE.fe)},ce.getConfig=v.vc.getAnyConfig,ce.readConfig=v.vc.readAnyConfig,ce.mergeConfig=v.vc.mergeConfig,ce.mergeBidderConfig=v.vc.mergeBidderConfig,ce.setConfig=v.vc.setConfig,ce.setBidderConfig=v.vc.setBidderConfig,ce.que.push((function(){window.addEventListener("message",O,!1)})),ce.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){(0,a.H)("Error processing command :",e.message,e.stack)}else(0,a.H)("Commands written into pbjs.cmd.push must be wrapped in a function")},ce.que.push=ce.cmd.push,ce.processQueue=function(){S.z3.ready(),xe(ce.que),xe(ce.cmd)}},8640:function(e,n,t){function r(){return window.pbjs}t.d(n,{R:function(){return r}}),window.pbjs=window.pbjs||{},window.pbjs.cmd=window.pbjs.cmd||[],window.pbjs.que=window.pbjs.que||[],window._pbjsGlobals=window._pbjsGlobals||[],window._pbjsGlobals.push("pbjs")},5102:function(e,n,t){t.d(n,{hh:function(){return a},nH:function(){return u}});var r=t(3193),i=t(4358);function o(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(!e)return e;if(/\w+:\/\//.exec(e))return e;var t=n.location.protocol;try{t=n.top.location.protocol}catch(e){}return/^\/\//.exec(e)?t+e:"".concat(t,"//").concat(e)}function a(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.noLeadingWww,r=void 0!==t&&t,i=n.noPort,a=void 0!==i&&i;try{e=new URL(o(e))}catch(e){return}return e=a?e.hostname:e.host,r&&e.startsWith("www.")&&(e=e.substring(4)),e}var u=function(e){function n(e){try{var n=e.querySelector("link[rel='canonical']");if(null!==n)return n.href}catch(e){}return null}return function(){var t,u,c,s,d=[],f=function(e){try{if(!e.location.ancestorOrigins)return;return e.location.ancestorOrigins}catch(e){}}(e),l=r.vc.getConfig("maxNestedIframes"),g=!1,p=0,v=!1,h=!1,m=!1;do{var y=t,b=h,w=void 0,C=!1,A=null;h=!1,t=t?t.parent:e;try{w=t.location.href||null}catch(e){C=!0}if(C)if(b){var T=y.context;try{u=A=T.sourceUrl,m=!0,v=!0,t===e.top&&(g=!0),T.canonicalUrl&&(c=T.canonicalUrl)}catch(e){}}else{(0,i.yN)("Trying to access cross domain iframe. Continuing without referrer and location");try{var E=y.document.referrer;E&&(A=E,t===e.top&&(g=!0))}catch(e){}!A&&f&&f[p-1]&&(A=f[p-1],t===e.top&&(m=!0)),A&&!v&&(u=A)}else{if(w&&(u=A=w,v=!1,t===e.top)){g=!0;var O=n(t.document);O&&(c=O)}t.context&&t.context.sourceUrl&&(h=!0)}d.push(A),p++}while(t!==e.top&&p<l);d.reverse();try{s=e.top.document.referrer}catch(e){}var k=g||m?u:null,I=r.vc.getConfig("pageUrl")||c||null,B=r.vc.getConfig("pageUrl")||k||o(I,e);return k&&k.indexOf("?")>-1&&-1===B.indexOf("?")&&(B="".concat(B).concat(k.substring(k.indexOf("?")))),{reachedTop:g,isAmp:v,numIframes:p-1,stack:d,topmostLocation:u||null,location:k,canonicalUrl:I,page:B,domain:a(B)||null,ref:s||null,legacy:{reachedTop:g,isAmp:v,numIframes:p-1,stack:d,referer:u||null,canonicalUrl:I}}}}(window)},5164:function(e,n,t){t.d(n,{Ld:function(){return c},df:function(){return l},eA:function(){return f}});var r=t(2797),i=t(4358),o=t(5975),a=t(4516),u=["core","prebid-module"],c=[];function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.gvlid,t=e.moduleName,r=e.bidderCode,s=e.moduleType,f=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).bidderSettings,l=void 0===f?o.S:f;function g(e){if(function(){if(null==r)return!0;var e=l.get(r,"storageAllowed");return null!=e&&e}()){var o;return d(n,r||t,{hasEnforcementHook:!1},(function(n){if(n&&n.hasEnforcementHook)o=e(n);else{var t={hasEnforcementHook:!1,valid:(0,i.wn)()};o=e(t)}})),o}(0,i.PN)("bidderSettings denied access to device storage for bidder '".concat(r,"'"));return e({valid:!1})}u.includes(s)&&(n=n||a.$P);var p=function(e){var n=function(e){if(e&&e.valid)try{return!!window.localStorage}catch(e){(0,i.H)("Local storage api disabled")}return!1};if(!e||"function"!=typeof e)return g(n);c.push((function(){var t=g(n);e(t)}))};return{setCookie:function(e,n,t,r,i,o){var a=function(o){if(o&&o.valid){var a=i&&""!==i?" ;domain=".concat(encodeURIComponent(i)):"",u=t&&""!==t?" ;expires=".concat(t):"",c=null!=r&&"none"==r.toLowerCase()?"; Secure":"";document.cookie="".concat(e,"=").concat(encodeURIComponent(n)).concat(u,"; path=/").concat(a).concat(r?"; SameSite=".concat(r):"").concat(c)}};if(!o||"function"!=typeof o)return g(a);c.push((function(){var e=g(a);o(e)}))},getCookie:function(e,n){var t=function(n){if(n&&n.valid){var t=window.document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]*)\\s*(;|$)");return t?decodeURIComponent(t[2]):null}return null};if(!n||"function"!=typeof n)return g(t);c.push((function(){var e=g(t);n(e)}))},localStorageIsEnabled:function(e){var n=function(e){if(e&&e.valid)try{return localStorage.setItem("prebid.cookieTest","1"),"1"===localStorage.getItem("prebid.cookieTest")}catch(e){}finally{try{localStorage.removeItem("prebid.cookieTest")}catch(e){}}return!1};if(!e||"function"!=typeof e)return g(n);c.push((function(){var t=g(n);e(t)}))},cookiesAreEnabled:function(e){var n=function(e){return!(!e||!e.valid)&&(0,i.IG)()};if(!e||"function"!=typeof e)return g(n);c.push((function(){var t=g(n);e(t)}))},setDataInLocalStorage:function(e,n,t){var r=function(t){t&&t.valid&&p()&&window.localStorage.setItem(e,n)};if(!t||"function"!=typeof t)return g(r);c.push((function(){var e=g(r);t(e)}))},getDataFromLocalStorage:function(e,n){var t=function(n){return n&&n.valid&&p()?window.localStorage.getItem(e):null};if(!n||"function"!=typeof n)return g(t);c.push((function(){var e=g(t);n(e)}))},removeDataFromLocalStorage:function(e,n){var t=function(n){n&&n.valid&&p()&&window.localStorage.removeItem(e)};if(!n||"function"!=typeof n)return g(t);c.push((function(){var e=g(t);n(e)}))},hasLocalStorage:p,findSimilarCookies:function(e,n){var t=function(n){if(n&&n.valid){var t=[];if((0,i.wn)())for(var r=document.cookie.split(";");r.length;){var o=r.pop(),a=o.indexOf("=");a=a<0?o.length:a,decodeURIComponent(o.slice(0,a).replace(/^\s+/,"")).indexOf(e)>=0&&t.push(decodeURIComponent(o.slice(a+1)))}return t}};if(!n||"function"!=typeof n)return g(t);c.push((function(){var e=g(t);n(e)}))}}}var d=(0,r.z3)("async",(function(e,n,t,r){r(t)}),"validateStorageEnforcement");function f(e){return s({moduleName:e,moduleType:"core"})}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.gvlid,t=e.moduleName,r=e.bidderCode;if(arguments.length>1||arguments.length>0&&!(0,i.PO)(arguments[0]))throw new Error("Invalid invocation for getStorageManager");return s({gvlid:n,moduleName:t,bidderCode:r})}},1974:function(e,n,t){t.d(n,{k_:function(){return s}});var r=t(3324),i=t(4358),o=t(3193),a=t(4614),u=t(5164);o.vc.setDefaults({userSync:(0,i.I8)({syncEnabled:!0,filterSettings:{image:{bidders:"*",filter:"include"}},syncsPerBidder:5,syncDelay:3e3,auctionDelay:0})});var c=(0,u.eA)("usersync");var s=function(e){var n={},t={image:[],iframe:[]},u=new Set,c={},s={image:!0,iframe:!1},d=e.config;function f(){if(d.syncEnabled&&e.browserSupportsCookies){try{!function(){if(!s.iframe)return;l(t.iframe,(function(e){var n=(0,r.Z)(e,2),o=n[0],a=n[1];(0,i.ji)("Invoking iframe user sync for bidder: ".concat(o)),(0,i.Vs)(a),function(e,n){e.image=e.image.filter((function(e){return e[0]!==n}))}(t,o)}))}(),function(){if(!s.image)return;l(t.image,(function(e){var n=(0,r.Z)(e,2),t=n[0],o=n[1];(0,i.ji)("Invoking image pixel user sync for bidder: ".concat(t)),(0,i.hq)(o)}))}()}catch(e){return(0,i.H)("Error firing user syncs",e)}t={image:[],iframe:[]}}}function l(e,n){(0,i.TV)(e).forEach((function(e){n(e),u.add(e[0])}))}function g(e,n){var t=d.filterSettings;if(function(e,n){if(e.all&&e[n])return(0,i.yN)('Detected presence of the "filterSettings.all" and "filterSettings.'.concat(n,'" in userSync config.  You cannot mix "all" with "iframe/image" configs; they are mutually exclusive.')),!1;var t=e.all?e.all:e[n],r=e.all?"all":n;if(!t)return!1;var o=t.filter,a=t.bidders;if(o&&"include"!==o&&"exclude"!==o)return(0,i.yN)('UserSync "filterSettings.'.concat(r,".filter\" setting '").concat(o,"' is not a valid option; use either 'include' or 'exclude'.")),!1;if("*"!==a&&!(Array.isArray(a)&&a.length>0&&a.every((function(e){return(0,i.d8)(e)&&"*"!==e}))))return(0,i.yN)('Detected an invalid setup in userSync "filterSettings.'.concat(r,".bidders\"; use either '*' (to represent all bidders) or an array of bidders.")),!1;return!0}(t,e)){s[e]=!0;var r=t.all?t.all:t[e],o="*"===r.bidders?[n]:r.bidders,u={include:function(e,n){return!(0,a.q9)(e,n)},exclude:function(e,n){return(0,a.q9)(e,n)}};return u[r.filter||"include"](o,n)}return!s[e]}return o.vc.getConfig("userSync",(function(e){if(e.userSync){var n=e.userSync.filterSettings;(0,i.PO)(n)&&(n.image||n.all||(e.userSync.filterSettings.image={bidders:"*",filter:"include"}))}d=Object.assign(d,e.userSync)})),n.registerSync=function(e,r,o){return u.has(r)?(0,i.ji)('already fired syncs for "'.concat(r,'", ignoring registerSync call')):d.syncEnabled&&(0,i.kJ)(t[e])?r?0!==d.syncsPerBidder&&Number(c[r])>=d.syncsPerBidder?(0,i.yN)('Number of user syncs exceeded for "'.concat(r,'"')):n.canBidderRegisterSync(e,r)?(t[e].push([r,o]),void(c=function(e,n){return e[n]?e[n]+=1:e[n]=1,e}(c,r))):(0,i.yN)('Bidder "'.concat(r,'" not permitted to register their "').concat(e,'" userSync pixels.')):(0,i.yN)("Bidder is required for registering sync"):(0,i.yN)('User sync type "'.concat(e,'" not supported'))},n.syncUsers=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(f,Number(e));f()},n.triggerUserSyncs=function(){d.enableOverride&&n.syncUsers()},n.canBidderRegisterSync=function(e,n){return!d.filterSettings||!g(e,n)},n}(Object.defineProperties({config:o.vc.getConfig("userSync")},{browserSupportsCookies:{get:function(){return!(0,i.fr)()&&c.cookiesAreEnabled()}}}))},4358:function(e,n,t){t.d(n,{$8:function(){return Ce},$u:function(){return te},AB:function(){return ze},An:function(){return q},Bq:function(){return sn},CS:function(){return nn},D9:function(){return kn},DO:function(){return Z},EE:function(){return S},Ee:function(){return Cn},FS:function(){return Qe},G2:function(){return an},H:function(){return X},HA:function(){return ve},HC:function(){return fn},HP:function(){return On},I8:function(){return xe},IG:function(){return Ke},IK:function(){return qe},K$:function(){return _e},LQ:function(){return oe},NA:function(){return Be},NI:function(){return W},Ob:function(){return H},PN:function(){return Q},PO:function(){return se},Q2:function(){return bn},RI:function(){return he},R_:function(){return we},Re:function(){return D},S0:function(){return Ye},SG:function(){return Te},T9:function(){return Ue},TV:function(){return Ze},U:function(){return on},V9:function(){return je},Vs:function(){return Ae},W$:function(){return Tn},X4:function(){return Re},XV:function(){return pn},Yp:function(){return mn},ZH:function(){return Pe},Zy:function(){return K},_R:function(){return An},_d:function(){return N},ak:function(){return P},bd:function(){return We},d5:function(){return vn},d8:function(){return ae},dj:function(){return En},e7:function(){return G},eB:function(){return ne},ei:function(){return cn},en:function(){return yn},ew:function(){return Fe},fr:function(){return He},fz:function(){return un},hj:function(){return ce},hl:function(){return ln},hq:function(){return be},iG:function(){return Je},jC:function(){return me},jH:function(){return le},ji:function(){return J},jn:function(){return de},kJ:function(){return ue},ky:function(){return tn},oV:function(){return Xe},or:function(){return rn},pP:function(){return Se},pw:function(){return F},qp:function(){return $},r3:function(){return pe},rD:function(){return re},s:function(){return z},sF:function(){return M},t0:function(){return x},tT:function(){return Oe},u2:function(){return k},uh:function(){return dn},vM:function(){return Ve},wn:function(){return Le},xH:function(){return ke},x_:function(){return Me},xb:function(){return fe},yL:function(){return De},yN:function(){return Y},yi:function(){return ge},yo:function(){return gn},yx:function(){return Ge},zE:function(){return Ie},zV:function(){return en}});var r,i=t(3324),o=t(9062),a=t(4942),u=t(1002),c=t(3193),s=t(7079),d=t.n(s),f=t(4614),l=t(5644),g=t(8792),p="Array",v="String",h="Function",m="Number",y="Object",b="Boolean",w=Object.prototype.toString,C=Boolean(window.console),A=Boolean(C&&window.console.log),T=Boolean(C&&window.console.info),E=Boolean(C&&window.console.warn),O=Boolean(C&&window.console.error);function k(e){r=e}function I(){null!=r&&r.apply(void 0,arguments)}var B={checkCookieSupport:Ke,createTrackPixelIframeHtml:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!e)return"";n&&(e=encodeURI(e));t&&(t='sandbox="'.concat(t,'"'));return"<iframe ".concat(t,' id="').concat(N(),'"\n      frameborder="0"\n      allowtransparency="true"\n      marginheight="0" marginwidth="0"\n      width="0" hspace="0" vspace="0" height="0"\n      style="height:0px;width:0px;display:none;"\n      scrolling="no"\n      src="').concat(e,'">\n    </iframe>')},getWindowSelf:G,getWindowTop:K,getWindowLocation:V,insertUserSyncIframe:Ae,insertElement:me,isFn:oe,triggerPixel:be,logError:X,logWarn:Y,logMessage:J,logInfo:Q,parseQS:hn,formatQS:mn,deepEqual:wn},j={};function S(){return j}var U,R={},P=function(e,n){return n}.bind(null,1,R)()===R?Function.prototype.bind:function(e){var n=this,t=Array.prototype.slice.call(arguments,1);return function(){return n.apply(e,t.concat(Array.prototype.slice.call(arguments)))}},_=(U=0,function(){return++U});function N(){return _()+Math.random().toString(16).substr(2)}function Z(e){return e?(e^(window&&window.crypto&&window.crypto.getRandomValues?crypto.getRandomValues(new Uint8Array(1))[0]%16:16*Math.random())>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,Z)}function q(e,n){return n&&n[e]?n[e]:""}function x(e,n,t){return t?e+n+"="+encodeURIComponent(t)+"&":e}function D(e){var n="";for(var t in e)e.hasOwnProperty(t)&&(n+=t+"="+encodeURIComponent(e[t])+"&");return n=n.replace(/&$/,"")}function H(e){return e&&Object.getOwnPropertyNames(e).length>0?(n=e,Object.keys(n)).map((function(n){return"".concat(n,"=").concat(encodeURIComponent(Be(e,n)))})).join("&"):"";var n}function F(e){if(e){var n=[];if(e.mediaTypes&&e.mediaTypes.banner&&Array.isArray(e.mediaTypes.banner.sizes)){var t=e.mediaTypes.banner.sizes;Array.isArray(t[0])?n=t:n.push(t)}else Array.isArray(e.sizes)&&(Array.isArray(e.sizes[0])?n=e.sizes:n.push(e.sizes));return n}}function M(e){var n=[];if("string"==typeof e){var t=e.split(","),r=/^(\d)+x(\d)+$/i;if(t)for(var i in t)he(t,i)&&t[i].match(r)&&n.push(t[i])}else if("object"===(0,u.Z)(e)){var o=e.length;if(o>0)if(2===o&&"number"==typeof e[0]&&"number"==typeof e[1])n.push(z(e));else for(var a=0;a<o;a++)n.push(z(e[a]))}return n}function z(e){if(L(e))return e[0]+"x"+e[1]}function W(e){if(L(e))return{w:e[0],h:e[1]}}function L(e){return ue(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1])}function K(){return window.top}function G(){return window.self}function V(){return window.location}function J(){ne()&&A&&console.log.apply(console,ee(arguments,"MESSAGE:"))}function Q(){ne()&&T&&console.info.apply(console,ee(arguments,"INFO:"))}function Y(){ne()&&E&&console.warn.apply(console,ee(arguments,"WARNING:")),I(l.FP.AUCTION_DEBUG,{type:"WARNING",arguments:arguments})}function X(){ne()&&O&&console.error.apply(console,ee(arguments,"ERROR:")),I(l.FP.AUCTION_DEBUG,{type:"ERROR",arguments:arguments})}function $(e){function n(n){return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];n.apply(void 0,[e].concat(r))}}return{logError:n(X),logWarn:n(Y),logMessage:n(J),logInfo:n(Q)}}function ee(e,n){e=[].slice.call(e);var t=c.vc.getCurrentBidder();return n&&e.unshift(n),t&&e.unshift(r("#aaa")),e.unshift(r("#3b88c3")),e.unshift("%cPrebid"+(t?"%c".concat(t):"")),e;function r(e){return"display: inline-block; color: #fff; background: ".concat(e,"; padding: 1px 4px; border-radius: 3px;")}}function ne(){return!!c.vc.getConfig("debug")}function te(){var e=document.createElement("iframe");return e.id=N(),e.height=0,e.width=0,e.border="0px",e.hspace="0",e.vspace="0",e.marginWidth="0",e.marginHeight="0",e.style.border="0",e.scrolling="no",e.frameBorder="0",e.src="about:blank",e.style.display="none",e}function re(e){return hn(V().search)[e]||""}function ie(e,n){return w.call(e)==="[object "+n+"]"}function oe(e){return ie(e,h)}function ae(e){return ie(e,v)}function ue(e){return ie(e,p)}function ce(e){return ie(e,m)}function se(e){return ie(e,y)}function de(e){return ie(e,b)}function fe(e){if(!e)return!0;if(ue(e)||ae(e))return!(e.length>0);for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0}function le(e){return ae(e)&&(!e||0===e.length)}function ge(e,n){if(!fe(e)){if(oe(e.forEach))return e.forEach(n,this);var t=0,r=e.length;if(r>0)for(;t<r;t++)n(e[t],t,e);else for(t in e)hasOwnProperty.call(e,t)&&n.call(this,e[t],t)}}function pe(e,n){if(fe(e))return!1;if(oe(e.indexOf))return-1!==e.indexOf(n);for(var t=e.length;t--;)if(e[t]===n)return!0;return!1}function ve(e,n){if(fe(e))return[];if(oe(e.map))return e.map(n);var t=[];return ge(e,(function(r,i){t.push(n(r,i,e))})),t}function he(e,n){return e.hasOwnProperty?e.hasOwnProperty(n):void 0!==e[n]&&e.constructor.prototype[n]!==e[n]}function me(e,n,t,r){var i;n=n||document,i=t?n.getElementsByTagName(t):n.getElementsByTagName("head");try{if((i=i.length?i:n.getElementsByTagName("body")).length){i=i[0];var o=r?null:i.firstChild;return i.insertBefore(e,o)}}catch(e){}}function ye(e,n){var t=null;return new g.Z((function(r){var i=function n(){e.removeEventListener("load",n),e.removeEventListener("error",n),null!=t&&window.clearTimeout(t),r()};e.addEventListener("load",i),e.addEventListener("error",i),null!=n&&(t=window.setTimeout(i,n))}))}function be(e,n,t){var r=new Image;n&&B.isFn(n)&&ye(r,t).then(n),r.src=e}function we(e){var n=e.source,t=e.burl;n===l.os.YZ&&t&&B.triggerPixel(t)}function Ce(e){if(e){var n=document.createElement("iframe");n.id=N(),n.width=0,n.height=0,n.hspace="0",n.vspace="0",n.marginWidth="0",n.marginHeight="0",n.style.display="none",n.style.height="0px",n.style.width="0px",n.scrolling="no",n.frameBorder="0",n.allowtransparency="true",B.insertElement(n,document,"body"),n.contentWindow.document.open(),n.contentWindow.document.write(e),n.contentWindow.document.close()}}function Ae(e,n,t){var r=B.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),i=document.createElement("div");i.innerHTML=r;var o=i.firstChild;n&&B.isFn(n)&&ye(o,t).then(n),B.insertElement(o,document,"html",!0)}function Te(e){if(!e)return"";var n='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return n+='<img src="'+encodeURI(e)+'"></div>'}function Ee(e,n,t){return null==n?t:ae(n)?n:ce(n)?n.toString():void B.logWarn("Unsuported type for param: "+e+" required type: String")}function Oe(e,n,t){return t.indexOf(e)===n}function ke(e,n){return e.concat(n)}function Ie(e,n){var t;if(e)return n.some((function(n){var r=(0,f.sE)(n.bids,(function(n){return["bidId","adId","bid_id"].some((function(t){return n[t]===e}))}));return r&&(t=r),r})),t}function Be(e,n){return e[n]}function je(e,n){for(var t in e)if(e.hasOwnProperty(t)&&e[t]===n)return t}function Se(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:pbjs.adUnits).map((function(e){return e.bids.map((function(e){return e.bidder})).reduce(ke,[])})).reduce(ke,[]).filter(Oe)}function Ue(){if(window.googletag&&oe(window.googletag.pubads)&&oe(window.googletag.pubads().getSlots))return!0}function Re(){if(window.apntag&&oe(window.apntag.getTag))return!0}var Pe=Ne("timeToRespond",(function(e,n){return e>n})),_e=Ne("responseTimestamp",(function(e,n){return e>n}));Ne("responseTimestamp",(function(e,n){return e<n}));function Ne(e,n){return function(t,r){return t.cpm===r.cpm?n(t[e],r[e])?r:t:t.cpm<r.cpm?r:t}}function Ze(e){for(var n=e.length;n>0;){var t=Math.floor(Math.random()*n),r=e[--n];e[n]=e[t],e[t]=r}return e}function qe(e,n){return(0,f.q9)(e,n&&n.adUnitCode)}function xe(e){return d()(e)}function De(){try{return B.getWindowSelf()!==B.getWindowTop()}catch(e){return!0}}function He(){return/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent)}function Fe(e,n){if(e)return e.replace(/\$\{AUCTION_PRICE\}/g,n)}function Me(e,n){if(e&&n&&"string"==typeof n)return e.replace(/\${CLICKTHROUGH}/g,n)}function ze(){return(new Date).getTime()}function We(){return window.performance&&window.performance.now&&window.performance.now()||0}function Le(){return!1!==c.vc.getConfig("deviceAccess")}function Ke(){if(window.navigator.cookieEnabled||document.cookie.length)return!0}function Ge(e,n){if(n<1)throw new Error("numRequiredCalls must be a positive number. Got ".concat(n));var t=0;return function(){++t===n&&e.apply(this,arguments)}}function Ve(e,n){return e.reduce((function(e,t){return(e[t[n]]=e[t[n]]||[]).push(t),e}),{})}function Je(e,n){return n.filter((function(n){return e[n]})).reduce((function(n,t){return Object.assign(n,(0,a.Z)({},t,e[t]))}),{})}function Qe(e){var n=["banner","native","video"];return!!Object.keys(e).every((function(e){return(0,f.q9)(n,e)}))&&(!e.video||!e.video.context||(0,f.q9)(["instream","outstream","adpod"],e.video.context))}function Ye(e,n,t){return e.filter((function(e){return e.code===n})).map((function(e){return e.bids})).reduce(ke,[]).filter((function(e){return e.bidder===t})).map((function(e){return e.params||{}}))}function Xe(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack}var $e=function(e,n){return e.getAdUnitPath()===n||e.getSlotElementId()===n};function en(e){return function(n){return $e(e,n)}}function nn(e){return function(n){return $e(n,e)}}function tn(e){var n=function(e){var n;return Ue()&&(n=(0,f.sE)(window.googletag.pubads().getSlots(),nn(e))),n}(e);return n?{gptSlot:n.getAdUnitPath(),divId:n.getSlotElementId()}:{}}function rn(e,n){var t=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n    ".concat(e.code," is a ").concat(t," ad unit\n    containing bidders that don't support ").concat(t,": ").concat(n,".\n    This bidder won't fetch demand.\n  ")}function on(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function an(e){return e.replace(/(?:^|\.?)([A-Z])/g,(function(e,n){return"_"+n.toLowerCase()})).replace(/^_/,"")}function un(e){return Object.keys(e).reduce((function(n,t){return void 0!==e[t]&&(n[t]=e[t]),n}),{})}function cn(e,n){return"object"!==(0,u.Z)(e)?{}:n.reduce((function(t,r,i){if("function"==typeof r)return t;var o=r,a=r.match(/^(.+?)\sas\s(.+?)$/i);a&&(r=a[1],o=a[2]);var u=e[r];return"function"==typeof n[i+1]&&(u=n[i+1](u,t)),void 0!==u&&(t[o]=u),t}),{})}function sn(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"keywords",t=[];return ge(e,(function(e,r){if(ue(e)){var i=[];ge(e,(function(e){((e=Ee(n+"."+r,e))||""===e)&&i.push(e)})),e=i}else{if(!ae(e=Ee(n+"."+r,e)))return;e=[e]}t.push({key:r,value:e})})),t}function dn(e,n){return Object.keys(e).forEach((function(t){var r,i;n[t]&&(oe(e[t])?n[t]=e[t](n[t]):n[t]=(r=e[t],i=n[t],"string"===r?i&&i.toString():"number"===r?Number(i):i),isNaN(n[t])&&delete n.key)})),n}function fn(e,n){return ue(e)&&(!n||e.length===n)&&e.every((function(e){return on(e)}))}function ln(e,n){for(var t=[],r=0;r<n;r++){var i=se(e)?xe(e):e;t.push(i)}return t}function gn(e,n){for(var t=[],r=0;r<Math.ceil(e.length/n);r++){var i=r*n,o=i+n;t.push(e.slice(i,o))}return t}function pn(e){return Math.min.apply(Math,(0,o.Z)(e))}function vn(e){return Math.max.apply(Math,(0,o.Z)(e))}function hn(e){return e?e.replace(/^\?/,"").split("&").reduce((function(e,n){var t=n.split("="),r=(0,i.Z)(t,2),o=r[0],a=r[1];return/\[\]$/.test(o)?(e[o=o.replace("[]","")]=e[o]||[],e[o].push(a)):e[o]=a||"",e}),{}):{}}function mn(e){return Object.keys(e).map((function(n){return Array.isArray(e[n])?e[n].map((function(e){return"".concat(n,"[]=").concat(e)})).join("&"):"".concat(n,"=").concat(e[n])})).join("&")}function yn(e,n){var t=document.createElement("a");n&&"noDecodeWholeURL"in n&&n.noDecodeWholeURL?t.href=e:t.href=decodeURIComponent(e);var r=n&&"decodeSearchAsString"in n&&n.decodeSearchAsString;return{href:t.href,protocol:(t.protocol||"").replace(/:$/,""),hostname:t.hostname,port:+t.port,pathname:t.pathname.replace(/^(?!\/)/,"/"),search:r?t.search:B.parseQS(t.search||""),hash:(t.hash||"").replace(/^#/,""),host:t.host||window.location.host}}function bn(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":".concat(e.port):""))+(e.pathname||"")+(e.search?"?".concat(B.formatQS(e.search||"")):"")+(e.hash?"#".concat(e.hash):"")}function wn(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).checkTypes,r=void 0!==t&&t;if(e===n)return!0;if("object"!==(0,u.Z)(e)||null===e||"object"!==(0,u.Z)(n)||null===n||r&&e.constructor!==n.constructor)return!1;if(Object.keys(e).length!==Object.keys(n).length)return!1;for(var i in e){if(!n.hasOwnProperty(i))return!1;if(!wn(e[i],n[i],{checkTypes:r}))return!1}return!0}function Cn(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];if(!t.length)return e;var i=t.shift();if(se(e)&&se(i)){var u=function(n){se(i[n])?(e[n]||Object.assign(e,(0,a.Z)({},n,{})),Cn(e[n],i[n])):ue(i[n])?e[n]?ue(e[n])&&i[n].forEach((function(t){for(var r=1,i=0;i<e[n].length;i++)if(wn(e[n][i],t)){r=0;break}r&&e[n].push(t)})):Object.assign(e,(0,a.Z)({},n,(0,o.Z)(i[n]))):Object.assign(e,(0,a.Z)({},n,i[n]))};for(var c in i)u(c)}return Cn.apply(void 0,[e].concat(t))}function An(e){for(var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=function(e,n){if(oe(Math.imul))return Math.imul(e,n);var t=(4194303&e)*(n|=0);return 4290772992&e&&(t+=(4290772992&e)*n|0),0|t},i=3735928559^t,o=1103547991^t,a=0;a<e.length;a++)i=r(i^(n=e.charCodeAt(a)),2654435761),o=r(o^n,1597334677);return i=r(i^i>>>16,2246822507)^r(o^o>>>13,3266489909),(4294967296*(2097151&(o=r(o^o>>>16,2246822507)^r(i^i>>>13,3266489909)))+(i>>>0)).toString()}function Tn(e){return e?e.defaultView:null}function En(e){try{return JSON.parse(e)}catch(e){}}function On(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},t=new Map,r=function(){var r=n.apply(this,arguments);return t.has(r)||t.set(r,e.apply(this,arguments)),t.get(r)};return r.clear=t.clear.bind(t),r}function kn(e,n){for(var t in n)n.hasOwnProperty(t)&&e.setAttribute(t,n[t])}var In;In={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"}},6066:function(e,n,t){t.d(n,{O:function(){return a}});var r=t(5383),i=t(5975),o=t(4358);function a(e,n,t){var a,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=u.index,s=void 0===c?r.K.index:c,d=u.bs,f=void 0===d?i.S:d;t=t||s.getBidRequest(n);var l=f.get((null==n?void 0:n.bidderCode)||(null===(a=t)||void 0===a?void 0:a.bidder),"bidCpmAdjustment");if(l&&"function"==typeof l)try{return l(e,Object.assign({},n),t)}catch(e){(0,o.H)("Error during bid adjustment",e)}return e}},9128:function(e,n,t){t.d(n,{A:function(){return C},Bf:function(){return h},V6:function(){return y},g3:function(){return w}});var r=t(3324),i=t(3193);function o(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return a(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return a(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return u=e.done,e},e:function(e){c=!0,o=e},f:function(){try{u||null==t.return||t.return()}finally{if(c)throw o}}}}function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var u="performanceMetrics",c=window.performance&&window.performance.now?function(){return window.performance.now()}:function(){return Date.now()},s=new WeakMap;function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.now,t=void 0===n?c:n,r=e.mkNode,i=void 0===r?g:r,o=e.mkTimer,a=void 0===o?l:o,u=e.mkRenamer,d=void 0===u?function(e){return e}:u,f=e.nodes,p=void 0===f?s:f;return function(){return function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return{forEach:function(n){n(e)}}};r=d(r);var o,u=(o="timestamps",function(e){return n.dfWalk({visit:function(n,t){var r=t[o];if(r.hasOwnProperty(e))return r[e]}})});function c(e,t){var i=r(e);n.dfWalk({follow:function(e,n){return n.propagate&&(!e||!e.stopPropagation)},visit:function(e,n){i.forEach((function(r){null==e?n.metrics[r]=t:(n.groups.hasOwnProperty(r)||(n.groups[r]=[]),n.groups[r].push(t))}))}})}function s(e){return a(t,(function(n){return c(e,n)}))}function f(){var e={};return n.dfWalk({visit:function(n,t){e=Object.assign({},!n||n.includeGroups?t.groups:null,t.metrics,e)}}),e}var l={startTiming:s,measureTime:function(e,n){return s(e).stopAfter(n)()},measureHookTime:function(e,n,t){var r=s(e);return t(function(e){var n=r.stopBefore(e);return n.bail=e.bail&&r.stopBefore(e.bail),n.stopTiming=r,n.untimed=e,n}(n))},checkpoint:function(e){n.timestamps[e]=t()},timeSince:function(e,n){var r=u(e),i=null!=r?t()-r:null;return null!=n&&c(n,i),i},timeBetween:function(e,n,t){var r=u(e),i=u(n),o=null!=r&&null!=i?i-r:null;return null!=t&&c(t,o),o},setMetric:c,getMetrics:f,fork:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=t.propagate,a=void 0===o||o,u=t.stopPropagation,c=void 0!==u&&u,s=t.includeGroups;return e(i([[n,{propagate:a,stopPropagation:c,includeGroups:void 0!==s&&s}]]),r)},join:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.propagate,i=void 0===r||r,o=t.stopPropagation,a=void 0!==o&&o,u=t.includeGroups,c=void 0!==u&&u,s=p.get(e);null!=s&&s.addParent(n,{propagate:i,stopPropagation:a,includeGroups:c})},newMetrics:function(){return e(n.newSibling(),r)},renameWith:function(t){return e(n,t)},toJSON:function(){return f()}};return p.set(l,n),l}(i([]))}}function f(e,n,t){return function(){n&&n();try{return e.apply(this,arguments)}finally{t&&t()}}}function l(e,n){var t=e(),r=!1;function i(){r||(n(e()-t),r=!0)}return i.stopBefore=function(e){return f(e,i)},i.stopAfter=function(e){return f(e,null,i)},i}function g(e){return{metrics:{},timestamps:{},groups:{},addParent:function(n,t){e.push([n,t])},newSibling:function(){return g(e.slice())},dfWalk:function(){var n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.visit,a=t.follow,u=void 0===a?function(){return!0}:a,c=t.visited,s=void 0===c?new Set:c,d=t.inEdge;if(!s.has(this)){if(s.add(this),null!=(n=i(d,this)))return n;var f,l=o(e);try{for(l.s();!(f=l.n()).done;){var g=(0,r.Z)(f.value,2),p=g[0],v=g[1];if(u(d,v)&&null!=(n=p.dfWalk({visit:i,follow:u,visited:s,inEdge:v})))return n}}catch(e){l.e(e)}finally{l.f()}}}}}var p=function(){var e=function(){},n=function(){return{}},t={forEach:e},r=function(){return null};r.stopBefore=function(e){return e},r.stopAfter=function(e){return e};var i=Object.defineProperties({dfWalk:e,newSibling:function(){return i},addParent:e},Object.fromEntries(["metrics","timestamps","groups"].map((function(e){return[e,{get:n}]}))));return d({now:function(){return 0},mkNode:function(){return i},mkRenamer:function(){return function(){return t}},mkTimer:function(){return r},nodes:{get:e,set:e}})()}(),v=!0;function h(e){return v&&e||p}i.vc.getConfig(u,(function(e){v=!!e[u]}));var m,y=(m=d(),function(){return v?m():p});function b(e,n){return function(t,r){return function(i){for(var o=arguments.length,a=new Array(o>1?o-1:0),u=1;u<o;u++)a[u-1]=arguments[u];var c=this;return h(n.apply(c,a)).measureHookTime(e+t,i,(function(e){return r.call.apply(r,[c,e].concat(a))}))}}}var w=b("requestBids.",(function(e){return e.metrics})),C=b("addBidResponse.",(function(e,n){return n.metrics}))},8792:function(e,n,t){t.d(n,{P:function(){return A},Z:function(){return C}});var r=t(3324),i=t(5671),o=t(3144),a=t(7326),u=t(8301),c=t(136),s=t(2963),d=t(1120),f=t(8916),l=t(2793),g=t(8640);function p(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=(0,d.Z)(e);if(n){var i=(0,d.Z)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,s.Z)(this,t)}}function v(e,n,t){!function(e,n){if(n.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,n),n.set(e,t)}var h=0,m=1,y=new WeakMap,b=new WeakMap,w=new WeakMap,C=function(e){(0,c.Z)(t,e);var n=p(t);function t(e){var r;(0,i.Z)(this,t);var o=[],u=[];function c(e,n){return function(t){if(!o.length){for(o.push(e,t);u.length;)u.shift()();n(t)}}}return r=n.call(this,"function"!=typeof e?e:function(n,t){var r,i=c(m,t),o=(r=c(h,n),function(e){return"function"==typeof(null==e?void 0:e.then)?e.then(r,i):r(e)});try{e(o,i)}catch(e){i(e)}}),v((0,a.Z)(r),y,{writable:!0,value:void 0}),v((0,a.Z)(r),b,{writable:!0,value:void 0}),v((0,a.Z)(r),w,{writable:!0,value:null}),(0,l.Z)((0,a.Z)(r),y,o),(0,l.Z)((0,a.Z)(r),b,u),r}return(0,o.Z)(t,[{key:"then",value:function(e,n){var i=this;if("function"==typeof n)for(var o=this;o;){(0,u.Z)((0,d.Z)(t.prototype),"then",this).call(o,null,(function(){return null}));var a=(0,f.Z)(o,w);(0,l.Z)(o,w,null),o=a}var c=(0,f.Z)(this,y),s=new t((function(t,o){var a=function(){var i=c[1],a=c[0]===h?[e,t]:[n,o],u=(0,r.Z)(a,2),s=u[0],d=u[1];if("function"==typeof s){try{i=s(i)}catch(e){return void o(e)}d=t}d(i)};c.length?a():(0,f.Z)(i,b).push(a)}));return(0,l.Z)(s,w,this),s}}],[{key:"timeout",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new t((function(n){0===e?n():setTimeout(n,e)}))}},{key:"resolve",value:function(e){return new this((function(n){return n(e)}))}},{key:"reject",value:function(e){return new this((function(n,t){return t(e)}))}}]),t}((0,g.R)().Promise||Promise);function A(){var e,n,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).promiseFactory;function r(e){return function(n){return e(n)}}return{promise:(void 0===t?function(e){return new C(e)}:t)((function(t,r){e=t,n=r})),resolve:r(e),reject:r(n)}}},154:function(e,n,t){t.d(n,{Dn:function(){return d},LD:function(){return s},gZ:function(){return c}});var r=t(265),i=t(4358),o=t(3193),a=t(2797),u=t(5383),c="outstream",s="instream";function d(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,t=void 0===n?u.K.index:n,i=(0,r.Z)(t.getMediaTypes(e),"video"),o=i&&(0,r.Z)(i,"context"),a=i&&(0,r.Z)(i,"useCacheKey"),c=t.getAdUnit(e);return f(e,c,i,o,a)}var f=(0,a.z3)("sync",(function(e,n,t,r,a){return t&&(a||r!==c)?o.vc.getConfig("cache.url")||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):((0,i.H)('\n        This bid contains only vastXml and will not work when a prebid cache url is not specified.\n        Try enabling prebid cache with pbjs.setConfig({ cache: {url: "..."} });\n      '),!1):!(r===c&&!a)||!!(e.renderer||n&&n.renderer||t.renderer)}),"checkVideoBidSetup")},265:function(e,n,t){function r(e,n,t,r,i){for(n=n.split?n.split("."):n,r=0;r<n.length;r++)e=e?e[n[r]]:i;return e===i?t:e}t.d(n,{Z:function(){return r}})},1432:function(e){
/*
* @license MIT
* Fun Hooks v0.9.10
* (c) @snapwich
*/
u.SYNC=1,u.ASYNC=2,u.QUEUE=4;var n="fun-hooks";var t=Object.freeze({useProxy:!0,ready:0}),r=new WeakMap,i="2,1,0"===[1].reduce((function(e,n,t){return[e,n,t]}),2).toString()?Array.prototype.reduce:function(e,n){var t,r=Object(this),i=r.length>>>0,o=0;if(n)t=n;else{for(;o<i&&!(o in r);)o++;t=r[o++]}for(;o<i;)o in r&&(t=e(t,r[o],o,r)),o++;return t};function o(e,n){return Array.prototype.slice.call(e,n)}var a=Object.assign||function(e){return i.call(o(arguments,1),(function(e,n){return n&&Object.keys(n).forEach((function(t){e[t]=n[t]})),e}),e)};function u(e){var c,s={},d=[];function f(e,n){return"function"==typeof e?v.call(null,"sync",e,n):"string"==typeof e&&"function"==typeof n?v.apply(null,arguments):"object"==typeof e?l.apply(null,arguments):void 0}function l(e,n,t){var r=!0;void 0===n&&(n=Object.getOwnPropertyNames(e),r=!1);var i={},o=["constructor"];do{(n=n.filter((function(n){return!("function"!=typeof e[n]||-1!==o.indexOf(n)||n.match(/^_/))}))).forEach((function(n){var r=n.split(":"),o=r[0],a=r[1]||"sync";if(!i[o]){var u=e[o];i[o]=e[o]=v(a,u,t?[t,o]:void 0)}})),e=Object.getPrototypeOf(e)}while(r&&e);return i}function g(e){var t=Array.isArray(e)?e:e.split(".");return i.call(t,(function(r,i,o){var a=r[i],u=!1;return a||(o===t.length-1?(c||d.push((function(){u||console.warn(n+": referenced '"+e+"' but it was never created")})),r[i]=p((function(e){r[i]=e,u=!0}))):r[i]={})}),s)}function p(e){var n=[],t=[],i=function(){},o={before:function(e,t){return c.call(this,n,"before",e,t)},after:function(e,n){return c.call(this,t,"after",e,n)},getHooks:function(e){var r=n.concat(t);"object"==typeof e&&(r=r.filter((function(n){return Object.keys(e).every((function(t){return n[t]===e[t]}))})));try{a(r,{remove:function(){return r.forEach((function(e){e.remove()})),this}})}catch(e){console.error("error adding `remove` to array, did you modify Array.prototype?")}return r},removeAll:function(){return this.getHooks().remove()}},u={install:function(r,o,a){this.type=r,i=a,a(n,t),e&&e(o)}};return r.set(o.after,u),o;function c(e,r,o,a){var u={hook:o,type:r,priority:a||10,remove:function(){var r=e.indexOf(u);-1!==r&&(e.splice(r,1),i(n,t))}};return e.push(u),e.sort((function(e,n){return n.priority-e.priority})),i(n,t),this}}function v(t,i,s){var f=i.after&&r.get(i.after);if(f){if(f.type!==t)throw n+": recreated hookable with different type";return i}var l,v,h=s?g(s):p(),m={get:function(e,n){return h[n]||Reflect.get.apply(Reflect,arguments)}};return c||d.push(y),e.useProxy&&"function"==typeof Proxy&&Proxy.revocable?v=new Proxy(i,m):(v=function(){return m.apply?m.apply(i,this,o(arguments)):i.apply(this,arguments)},a(v,h)),r.get(v.after).install(t,v,(function(e,n){var r,i=[];e.length||n.length?(e.forEach(a),r=i.push(void 0)-1,n.forEach(a),l=function(e,n,a){var u,c=0,s="async"===t&&"function"==typeof a[a.length-1]&&a.pop();function d(e){"sync"===t?u=e:s&&s.apply(null,arguments)}function f(e){if(i[c]){var r=o(arguments);return f.bail=d,r.unshift(f),i[c++].apply(n,r)}"sync"===t?u=e:s&&s.apply(null,arguments)}return i[r]=function(){var r=o(arguments,1);"async"===t&&s&&(delete f.bail,r.push(f));var i=e.apply(n,r);"sync"===t&&f(i)},f.apply(null,a),u}):l=void 0;function a(e){i.push(e.hook)}y()})),v;function y(){!c&&("sync"!==t||e.ready&u.SYNC)&&("async"!==t||e.ready&u.ASYNC)?"sync"!==t&&e.ready&u.QUEUE?m.apply=function(){var e=arguments;d.push((function(){v.apply(e[1],e[2])}))}:m.apply=function(){throw n+": hooked function not ready"}:m.apply=l}}return(e=a({},t,e)).ready?f.ready=function(){c=!0,function(e){for(var n;n=e.shift();)n()}(d)}:c=!0,f.get=g,f}e.exports=u},7079:function(e){e.exports=function e(n){var t=Array.isArray(n)?[]:{};for(var r in n){var i=n[r];t[r]=i&&"object"==typeof i?e(i):i}return t}},907:function(e,n,t){function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}t.d(n,{Z:function(){return r}})},3878:function(e,n,t){function r(e){if(Array.isArray(e))return e}t.d(n,{Z:function(){return r}})},5057:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(907);function i(e){if(Array.isArray(e))return(0,r.Z)(e)}},7326:function(e,n,t){function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.d(n,{Z:function(){return r}})},6983:function(e,n,t){function r(e,n){return n.get?n.get.call(e):n.value}t.d(n,{Z:function(){return r}})},6011:function(e,n,t){function r(e,n,t){if(n.set)n.set.call(e,t);else{if(!n.writable)throw new TypeError("attempted to set read only private field");n.value=t}}t.d(n,{Z:function(){return r}})},5671:function(e,n,t){function r(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}t.d(n,{Z:function(){return r}})},1519:function(e,n,t){function r(e,n,t){if(!n.has(e))throw new TypeError("attempted to "+t+" private field on non-instance");return n.get(e)}t.d(n,{Z:function(){return r}})},8916:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(6983),i=t(1519);function o(e,n){var t=(0,i.Z)(e,n,"get");return(0,r.Z)(e,t)}},2793:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(6011),i=t(1519);function o(e,n,t){var o=(0,i.Z)(e,n,"set");return(0,r.Z)(e,o,t),t}},3144:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(7343);function i(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,n,t){return n&&i(e.prototype,n),t&&i(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}},4942:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(7343);function i(e,n,t){return(n=(0,r.Z)(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}},8301:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(8415);function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,n,t){var i=(0,r.Z)(e,n);if(i){var o=Object.getOwnPropertyDescriptor(i,n);return o.get?o.get.call(arguments.length<3?e:t):o.value}},i.apply(this,arguments)}},1120:function(e,n,t){function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}t.d(n,{Z:function(){return r}})},136:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(9611);function i(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&(0,r.Z)(e,n)}},9199:function(e,n,t){function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}t.d(n,{Z:function(){return r}})},1902:function(e,n,t){function r(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,o,a,u=[],c=!0,s=!1;try{if(o=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=o.call(t)).done)&&(u.push(r.value),u.length!==n);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}t.d(n,{Z:function(){return r}})},5267:function(e,n,t){function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(n,{Z:function(){return r}})},2786:function(e,n,t){function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(n,{Z:function(){return r}})},2963:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(1002),i=t(7326);function o(e,n){if(n&&("object"===(0,r.Z)(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},9611:function(e,n,t){function r(e,n){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},r(e,n)}t.d(n,{Z:function(){return r}})},3324:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(3878),i=t(1902),o=t(181),a=t(5267);function u(e,n){return(0,r.Z)(e)||(0,i.Z)(e,n)||(0,o.Z)(e,n)||(0,a.Z)()}},8415:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(1120);function i(e,n){for(;!Object.prototype.hasOwnProperty.call(e,n)&&null!==(e=(0,r.Z)(e)););return e}},9062:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(5057),i=t(9199),o=t(181),a=t(2786);function u(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,a.Z)()}},5512:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(1002);function i(e,n){if("object"!==(0,r.Z)(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!==(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}},7343:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(1002),i=t(5512);function o(e){var n=(0,i.Z)(e,"string");return"symbol"===(0,r.Z)(n)?n:String(n)}},1002:function(e,n,t){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.d(n,{Z:function(){return r}})},181:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(907);function i(e,n){if(e){if("string"==typeof e)return(0,r.Z)(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?(0,r.Z)(e,n):void 0}}},6475:function(e,n,t){function r(e,n,t){n.split&&(n=n.split("."));for(var r,i,o=0,a=n.length,u=e;o<a&&"__proto__"!==(i=n[o++])&&"constructor"!==i&&"prototype"!==i;)u=u[i]=o===a?t:typeof(r=u[i])==typeof n?r:0*n[o]!=0||~(""+n[o]).indexOf(".")?{}:[]}t.d(n,{N:function(){return r}})},5644:function(e){e.exports=JSON.parse('{"k2":{"xn":"adserverTargeting","zF":"standard"},"f":"pbjs_debug","Q_":{"Q":1,"H":2},"FP":{"AUCTION_INIT":"auctionInit","AUCTION_END":"auctionEnd","BID_ADJUSTMENT":"bidAdjustment","BID_TIMEOUT":"bidTimeout","BID_REQUESTED":"bidRequested","BID_RESPONSE":"bidResponse","BID_REJECTED":"bidRejected","NO_BID":"noBid","BID_WON":"bidWon","BIDDER_DONE":"bidderDone","BIDDER_ERROR":"bidderError","SET_TARGETING":"setTargeting","BEFORE_REQUEST_BIDS":"beforeRequestBids","BEFORE_BIDDER_HTTP":"beforeBidderHttp","REQUEST_BIDS":"requestBids","ADD_AD_UNITS":"addAdUnits","AD_RENDER_FAILED":"adRenderFailed","AD_RENDER_SUCCEEDED":"adRenderSucceeded","TCF2_ENFORCEMENT":"tcf2Enforcement","AUCTION_DEBUG":"auctionDebug","BID_VIEWABLE":"bidViewable","STALE_RENDER":"staleRender","BILLABLE_EVENT":"billableEvent"},"q_":{"PREVENT_WRITING_ON_MAIN_DOCUMENT":"preventWritingOnMainDocument","NO_AD":"noAd","EXCEPTION":"exception","CANNOT_FIND_AD":"cannotFindAd","MISSING_DOC_OR_ADID":"missingDocOrAdid"},"aI":{"bidWon":"adUnitCode"},"Ql":{"yE":"low","M2":"medium","lj":"high","B7":"auto","uN":"dense","qN":"custom"},"TD":{"BIDDER":"hb_bidder","AD_ID":"hb_adid","PRICE_BUCKET":"hb_pb","SIZE":"hb_size","DEAL":"hb_deal","SOURCE":"hb_source","FORMAT":"hb_format","UUID":"hb_uuid","CACHE_ID":"hb_cache_id","CACHE_HOST":"hb_cache_host","ADOMAIN":"hb_adomain","ACAT":"hb_acat"},"kF":{"BIDDER":"hb_bidder","AD_ID":"hb_adid","PRICE_BUCKET":"hb_pb","SIZE":"hb_size","DEAL":"hb_deal","FORMAT":"hb_format","UUID":"hb_uuid","CACHE_HOST":"hb_cache_host"},"FY":{"title":"hb_native_title","body":"hb_native_body","body2":"hb_native_body2","privacyLink":"hb_native_privacy","privacyIcon":"hb_native_privicon","sponsoredBy":"hb_native_brand","image":"hb_native_image","icon":"hb_native_icon","clickUrl":"hb_native_linkurl","displayUrl":"hb_native_displayurl","cta":"hb_native_cta","rating":"hb_native_rating","address":"hb_native_address","downloads":"hb_native_downloads","likes":"hb_native_likes","phone":"hb_native_phone","price":"hb_native_price","salePrice":"hb_native_saleprice","rendererUrl":"hb_renderer_url","adTemplate":"hb_adTemplate"},"os":{"YZ":"s2s"},"UE":{"CK":"targetingSet","fe":"rendered","G9":"bidRejected"},"Gw":{"UI":"Bid has missing or invalid properties","Gp":"Invalid request ID","Dg":"Bidder code is not allowed by allowedAlternateBidderCodes / allowUnknownBidderCodes","pe":"Bid does not meet price floor","Xx":"Unable to convert currency"},"V1":{"body":"desc","body2":"desc2","sponsoredBy":"sponsored","cta":"ctatext","rating":"rating","address":"address","downloads":"downloads","likes":"likes","phone":"phone","price":"price","salePrice":"saleprice","displayUrl":"displayurl"},"s$":{"sponsored":1,"desc":2,"rating":3,"likes":4,"downloads":5,"price":6,"saleprice":7,"phone":8,"address":9,"desc2":10,"displayurl":11,"ctatext":12},"oF":{"ICON":1,"MAIN":3},"zA":["privacyLink","clickUrl","sendTargetingKeys","adTemplate","rendererUrl","type"]}')}},t={};function r(e){var i=t[e];if(void 0!==i)return i.exports;var o=t[e]={exports:{}};return n[e](o,o.exports,r),o.exports}r.m=n,e=[],r.O=function(n,t,i,o){if(!t){var a=1/0;for(d=0;d<e.length;d++){t=e[d][0],i=e[d][1],o=e[d][2];for(var u=!0,c=0;c<t.length;c++)(!1&o||a>=o)&&Object.keys(r.O).every((function(e){return r.O[e](t[c])}))?t.splice(c--,1):(u=!1,o<a&&(a=o));if(u){e.splice(d--,1);var s=i();void 0!==s&&(n=s)}}return n}o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[t,i,o]},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,{a:n}),n},r.d=function(e,n){for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},function(){var e={5602:0};r.O.j=function(n){return 0===e[n]};var n=function(n,t){var i,o,a=t[0],u=t[1],c=t[2],s=0;if(a.some((function(n){return 0!==e[n]}))){for(i in u)r.o(u,i)&&(r.m[i]=u[i]);if(c)var d=c(r)}for(n&&n(t);s<a.length;s++)o=a[s],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(d)},t=self.pbjsChunk=self.pbjsChunk||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))}();var i=r.O(void 0,[6866],(function(){return r(1451)}));i=r.O(i)}();
(self.pbjsChunk=self.pbjsChunk||[]).push([[6866],{7809:function(n,r,t){t.d(r,{KI:function(){return s},hi:function(){return l}});var e=t(4358),o=t(8792),i=1,u=2,a=["architecture","bitness","model","platformVersion","fullVersionList"],l=function(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(n=window.navigator)||void 0===n?void 0:n.userAgentData,t=(0,e.xb)(r)?null:Object.freeze(f(i,r));return function(){return t}}(),s=function(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(n=window.navigator)||void 0===n?void 0:n.userAgentData,t={},i=new WeakMap;return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;if(!i.has(n)){var l=Array.from(n);l.sort(),i.set(n,l.join("|"))}var s=i.get(n);if(!t.hasOwnProperty(s))try{t[s]=r.getHighEntropyValues(n).then((function(n){return(0,e.xb)(n)?null:Object.freeze(f(u,n))})).catch((function(){return null}))}catch(n){t[s]=o.Z.resolve(null)}return t[s]}}();function f(n,r){function t(n,r){var t={brand:n};return(0,e.d8)(r)&&!(0,e.jH)(r)&&(t.version=r.split(".")),t}var o={source:n};return r.platform&&(o.platform=t(r.platform,r.platformVersion)),(r.fullVersionList||r.brands)&&(o.browsers=(r.fullVersionList||r.brands).map((function(n){return t(n.brand,n.version)}))),r.hasOwnProperty("mobile")&&(o.mobile=r.mobile?1:0),["model","bitness","architecture"].forEach((function(n){var t=r[n];(0,e.d8)(t)&&(o[n]=t)})),o}}}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2355],{5590:function(o,n,i){function t(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")}i.d(n,{P:function(){return t}})}}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[373],{7157:function(t,e,r){var n=r(4942),i=r(5339),o=r(3193),a=r(265),s=r(4358),u=r(4679);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var p="33across",l=["33across_mgni"],f="https://ssc.33across.com/api/v1/hb",m="https://ssc-cms.33across.com/ps/?m=xch&rt=html&ru=deb",h="USD",g=/^[a-zA-Z0-9_-]{22}$/,v={SIAB:"siab",INVIEW:"inview",INSTREAM:"instream"},b=["mimes","minduration","maxduration","placement","protocols","startdelay","skip","skipafter","minbitrate","maxbitrate","delivery","playbackmethod","api","linearity"],y={uniqueSiteIds:[]},I="nm";function w(t){return"".concat(t.params.siteId,":").concat(t.params.productId)}function x(t){return"".concat(t.bidId)}function S(t){var e,r=t.bidRequests,n=t.gdprConsent,i=void 0===n?{}:n,o=t.uspConsent,c=t.pageUrl,p=t.referer,l=t.ttxSettings,m={},h=r[0],g=h.params,y=g.siteId,w=g.test;m.imp=[],r.forEach((function(t){m.imp.push(function(t){var e=(0,a.Z)(t,"ortb2Imp.ext.gpid"),r={id:t.bidId,ext:d({ttx:{prod:(0,a.Z)(t,"params.productId")}},e?{gpid:e}:{})};(0,a.Z)(t,"mediaTypes.banner")&&(r.banner=d({},function(t){var e,r=(0,a.Z)(t,"mediaTypes.banner",{}),n=(o=t.adUnitCode,document.getElementById(o)||document.getElementById(function(t){if((0,s.T9)())for(var e=googletag.pubads().getSlots(),r=(0,s.CS)(t),n=0;n<e.length;n++)if(r(e[n])){var i=e[n].getSlotElementId();return(0,s.PN)("[33Across Adapter] Map ad unit path to HTML element id: '".concat(t,"' -> ").concat(i)),i}return(0,s.yN)("[33Across Adapter] Unable to locate element for ad unit code: '".concat(t,"'")),null}(o))),i=function(t){if((0,s.kJ)(t)&&2===t.length&&!(0,s.kJ)(t[0]))return[O(t)];return t.map(O)}(r.sizes);var o;e="function"==typeof t.getFloor?i.map((function(e){var r,n=T(t,e,u.Mk);return n&&(r={ext:{ttx:{bidfloors:[n]}}}),Object.assign({},e,r)})):i;var c=function(t){return t.reduce((function(t,e){return e.h*e.w<t.h*t.w?e:t}))}(i),d=function(t){var e=isNaN(t)?t:Math.round(t);return{ttx:{viewability:{amount:e}}}}(function(t){return!function(){try{return(0,s.e7)()!==(0,s.Zy)()}catch(t){return!0}}()&&null!==t}(n)?function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.w,i=r.h;return"visible"===e.document.visibilityState?function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.w,i=r.h,o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.w,n=e.h,i=t.getBoundingClientRect(),o=i.width,a=i.height,s=i.left,u=i.top,c=i.right,d=i.bottom;(0===o||0===a)&&r&&n&&(o=r,a=n,c=s+r,d=u+n);return{width:o,height:a,left:s,top:u,right:c,bottom:d}}(t,{w:n,h:i}),a=function(t){for(var e={left:t[0].left,right:t[0].right,top:t[0].top,bottom:t[0].bottom},r=1;r<t.length;++r){if(e.left=Math.max(e.left,t[r].left),e.right=Math.min(e.right,t[r].right),e.left>=e.right)return null;if(e.top=Math.max(e.top,t[r].top),e.bottom=Math.min(e.bottom,t[r].bottom),e.top>=e.bottom)return null}return e.width=e.right-e.left,e.height=e.bottom-e.top,e}([{left:0,top:0,right:e.innerWidth,bottom:e.innerHeight},o]);if(null!==a)return a.width*a.height/(o.width*o.height)*100;return 0}(t,e,{w:n,h:i}):0}(n,(0,s.Zy)(),c):I);return{format:e,ext:d}}(t)));(0,a.Z)(t,"mediaTypes.video")&&(r.video=function(t){var e=(0,a.Z)(t,"mediaTypes.video",{}),r=(0,a.Z)(t,"params.video",{}),n=d(d({},e),r),i={},o=O(n.playerSize[0]),s=o.w,c=o.h;i.w=s,i.h=c,b.forEach((function(t){n.hasOwnProperty(t)&&(i[t]=n[t])}));var p=E(t);i.placement=i.placement||2,p===v.INSTREAM&&(i.startdelay=i.startdelay||0,i.placement=1);if("function"==typeof t.getFloor){var l=T(t,{w:i.w,h:i.h},u.pX);l&&Object.assign(i,{ext:{ttx:{bidfloors:[l]}}})}return i}(t));return r}(t))})),m.site={id:y},m.device=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=(0,s.e7)(),r={ext:{ttx:d(d({},M()),{},{pxr:e.devicePixelRatio,vp:j(),ah:e.screen.availHeight,mtp:e.navigator.maxTouchPoints})}};t.sua&&(r.sua=(0,s.ei)(t.sua,["browsers","platform","model"]));return r}(null===(e=h.ortb2)||void 0===e?void 0:e.device),c&&(m.site.page=c),p&&(m.site.ref=p),m.id=h.auctionId,i.consentString&&(m.user=A(m.user,{consent:i.consentString})),Array.isArray(h.userIdAsEids)&&h.userIdAsEids.length>0&&(m.user=A(m.user,{eids:h.userIdAsEids})),m.regs=A(m.regs,{gdpr:Number(i.gdprApplies)}),o&&(m.regs=A(m.regs,{us_privacy:o})),m.ext={ttx:{prebidStartedAt:Date.now(),caller:[{name:"prebidjs",version:"7.36.0"}]}},h.schain&&(m.source=A(m.source,{schain:h.schain})),1===w&&(m.test=1);return{method:"POST",url:l&&l.url||"".concat(f,"?guid=").concat(y),data:JSON.stringify(m),options:{contentType:"text/plain",withCredentials:!0}}}function A(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return(0,s.Ee)({},t,{ext:e})}function O(t){return{w:parseInt(t[0],10),h:parseInt(t[1],10)}}function C(t){return(0,s.Ee)({},t,{params:{productId:E(t)}})}function E(t){var e=t.params,r=t.mediaTypes,n=r.banner,i=r.video;return i&&!n&&"instream"===i.context?v.INSTREAM:e.productId===v.INVIEW?e.productId:v.SIAB}function T(t,e,r){var n=t.getFloor({currency:h,mediaType:r,size:[e.w,e.h]});if(!isNaN(n.floor)&&n.currency===h)return n.floor}function j(){var t=function(){var t=(0,s.e7)();try{for(;t.parent!==t&&t.parent.document;)t=t.parent}catch(t){}return t}().document.documentElement;return{w:t.clientWidth,h:t.clientHeight}}function M(){var t=(0,s.e7)(),e=t.innerWidth,r=t.innerHeight,n=t.screen,i=[Math.max(n.width,n.height),Math.min(n.width,n.height)],o=i[0],a=i[1];return r>e?{w:a,h:o}:{w:o,h:a}}var Z={NON_MEASURABLE:I,code:p,aliases:l,supportedMediaTypes:[u.Mk,u.pX],gvlid:58,isBidRequestValid:function(t){return function(t){var e=t.bidder!==p&&!l.includes(t.bidder);if(e||!t.params)return!1;if(!function(t){var e=(0,a.Z)(t,"params.siteId","")||"";if(null===e.trim().match(g))return!1;return!0}(t))return!1;return!0}(t)&&function(t){var e=(0,a.Z)(t,"mediaTypes.banner");if(void 0===e)return!0;if(!Array.isArray(e.sizes))return!1;return!0}(t)&&function(t){var e=(0,a.Z)(t,"mediaTypes.video"),r=(0,a.Z)(t,"params.video",{});if(void 0===e)return!0;if(!Array.isArray(e.playerSize))return!1;if(!e.context)return!1;var n=d(d({},e),r);if(!Array.isArray(n.mimes)||0===n.mimes.length)return!1;if(!Array.isArray(n.protocols)||0===n.protocols.length)return!1;if(void 0!==n.placement&&"number"!=typeof n.placement)return!1;if("instream"===e.context&&void 0!==n.startdelay&&"number"!=typeof n.startdelay)return!1;return!0}(t)},buildRequests:function(t,e){var r=function(t,e){var r,n,i=Object.assign({},o.vc.getConfig("ttxSettings")),a=Object.assign({consentString:void 0,gdprApplies:!1},e&&e.gdprConsent),u=e&&e.uspConsent,c=null==e||null===(r=e.refererInfo)||void 0===r?void 0:r.page,d=null==e||null===(n=e.refererInfo)||void 0===n?void 0:n.ref;return y.uniqueSiteIds=t.map((function(t){return t.params.siteId})).filter(s.tT),{ttxSettings:i,gdprConsent:a,uspConsent:u,pageUrl:c,referer:d}}(t,e),n=r.ttxSettings,i=r.gdprConsent,a=r.uspConsent,u=r.pageUrl,c=r.referer,d=function(t,e){var r=e.map(C),n=t&&t.enableSRAMode;return function(t,e){var r={};return t.forEach((function(t){var n=e(t);r[n]=r[n]||[],r[n].push(t)})),r}(r,!0===n?w:x)}(n,t),p=[];for(var l in d)p.push(S({bidRequests:d[l],gdprConsent:i,uspConsent:a,pageUrl:u,referer:c,ttxSettings:n}));return p},interpretResponse:function(t,e){var r=t.body,n=r.seatbid,i=r.cur,o=void 0===i?"USD":i;return(0,s.kJ)(n)?n.filter((function(t){return(0,s.kJ)(t.bid)&&t.bid.length>0})).reduce((function(t,e){return t.concat(e.bid.map((function(t){return function(t,e){var r=t.adomain&&t.adomain.length,n={requestId:t.impid,bidderCode:p,cpm:t.price,width:t.w,height:t.h,ad:t.adm,ttl:t.ttl||60,creativeId:t.crid,mediaType:(0,a.Z)(t,"ext.ttx.mediaType",u.Mk),currency:e,netRevenue:!0};r&&(n.meta={advertiserDomains:t.adomain});if(n.mediaType===u.pX){"xml"===(0,a.Z)(t,"ext.ttx.vastType","xml")?n.vastXml=n.ad:n.vastUrl=n.ad}return n}(t,o)})))}),[]):[]},getUserSyncs:function(t,e,r,n){var i=t.iframeEnabled?y.uniqueSiteIds.map((function(t){return function(t){var e=t.siteId,r=void 0===e?"zzz000000000003zzz":e,n=t.gdprConsent,i=void 0===n?{}:n,a=t.uspConsent,s=o.vc.getConfig("ttxSettings"),u=s&&s.syncUrl||m,c=i.consentString,d=i.gdprApplies,p={type:"iframe",url:"".concat(u,"&id=").concat(r,"&gdpr_consent=").concat(encodeURIComponent(c),"&us_privacy=").concat(encodeURIComponent(a))};"boolean"==typeof d&&(p.url+="&gdpr=".concat(Number(d)));return p}({gdprConsent:r,uspConsent:n,siteId:t})})):[];return y.uniqueSiteIds=[],i}};(0,i.dX)(Z),window.pbjs.installedModules.push("33acrossBidAdapter")}},function(t){t.O(0,[6866],(function(){return e=7157,t(t.s=e);var e}));t.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[8514],{3934:function(t,e,r){var n=r(4942),i=r(4614),a=r(4358),o=r(265),s=r(3193),u=r(5339),c=r(5730),d=r(1582),p=r(5164),f=r(5102),m=r(4192),l=r(4679),h=r(5706),y=r(154),v=r(8640),g=r(59);function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function A(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var I,T,O,D="adagio",x="Adagio:",w=[l.Mk,l.B5,l.pX],S="https://script.4dex.io/localstore.js",E="adagioScript",k=(0,p.df)({gvlid:617,bidderCode:D}),U=18e5,C="AL16XT44Sfp+8SHVF1UdC7hydPSMVLMhsYknKDdwqq+0ToDSJrP0+Qh0ki9JJI2uYm/6VEYo8TJED9WfMkiJ4vf02CW3RvSWwc35bif2SK1L8Nn/GfFYr/2/GG/Rm0vUsv+vBHky6nuuYls20Og0HDhMgaOlXoQ/cxMuiy5QSktp",j=65537,R="USD",N={mimes:function(t){return Array.isArray(t)&&t.length>0&&t.every((function(t){return"string"==typeof t}))},minduration:function(t){return(0,a.U)(t)},maxduration:function(t){return(0,a.U)(t)},protocols:function(t){return Array.isArray(t)&&t.every((function(t){return-1!==[1,2,3,4,5,6,7,8,9,10].indexOf(t)}))},w:function(t){return(0,a.U)(t)},h:function(t){return(0,a.U)(t)},startdelay:function(t){return(0,a.U)(t)},placement:function(t){return-1!==[1,2,3,4,5].indexOf(t)},linearity:function(t){return-1!==[1,2].indexOf(t)},skip:function(t){return-1!==[0,1].indexOf(t)},skipmin:function(t){return(0,a.U)(t)},skipafter:function(t){return(0,a.U)(t)},sequence:function(t){return(0,a.U)(t)},battr:function(t){return Array.isArray(t)&&t.every((function(t){return-1!==Array.from({length:17},(function(t,e){return e+1})).indexOf(t)}))},maxextended:function(t){return(0,a.U)(t)},minbitrate:function(t){return(0,a.U)(t)},maxbitrate:function(t){return(0,a.U)(t)},boxingallowed:function(t){return-1!==[0,1].indexOf(t)},playbackmethod:function(t){return Array.isArray(t)&&t.every((function(t){return-1!==[1,2,3,4,5,6].indexOf(t)}))},playbackend:function(t){return-1!==[1,2,3].indexOf(t)},delivery:function(t){return-1!==[1,2,3].indexOf(t)},pos:function(t){return-1!==[0,1,2,3,4,5,6,7].indexOf(t)},api:function(t){return Array.isArray(t)&&t.every((function(t){return-1!==[1,2,3,4,5,6].indexOf(t)}))}},P=(O={},{clearFeatures:function(){T=void 0},clearExchangeData:function(){O={}},getOrSetGlobalFeatures:function(){return T||(T={page_dimensions:L().toString(),viewport_dimensions:_().toString(),user_timestamp:(Math.floor((new Date).getTime()/1e3)-60*(new Date).getTimezoneOffset()).toString(),dom_loading:Q().toString()}),T},prepareExchangeData:function(t){var e=JSON.parse(t,(function(t,e){if("_"!==t.charAt(0)||""===t)return e})),r=(0,o.Z)(e,"session.rnd"),n=!1;q.isNewSession(e)&&(n=!0,r=Math.random());var i={session:{new:n,rnd:r}};(0,a.Ee)(O,e,i),q.enqueue({action:"session",ts:Date.now(),data:O})},getExchangeData:function(){return O}});function M(){try{if((0,a.Zy)().location.href)return!0}catch(t){return!1}}function Z(){return I||(0,a.e7)()}function B(){var t=(0,a.e7)();return!(!t.$sf||!t.$sf.ext)}function z(t){var e=q.isRendererPreferredFromPublisher(t)?"other":"adagio";return"other"===e&&(0,a.yN)("".concat(x," renderer.backupOnly has not been set. Adagio recommends to use its own player to get expected behavior.")),e}var q={enqueue:function(t){var e=q.getCurrentWindow();e.ADAGIO=e.ADAGIO||{},e.ADAGIO.queue=e.ADAGIO.queue||[],e.ADAGIO.queue.push(t)},getPageviewId:function(){var t=q.getCurrentWindow();return t.ADAGIO=t.ADAGIO||{},t.ADAGIO.pageviewId=t.ADAGIO.pageviewId||(0,a.DO)(),t.ADAGIO.pageviewId},getDevice:function(){var t=navigator.language?"language":"userLanguage";return{userAgent:navigator.userAgent,language:navigator[t],dnt:(0,a.oV)()?1:0,geo:{},js:1}},getSite:function(t){var e=t.refererInfo;return{domain:(0,f.hh)(e.topmostLocation)||"",page:e.topmostLocation||"",referrer:e.ref||(0,a.e7)().document.referrer||"",top:e.reachedTop}},getElementFromTopWindow:function t(e,r){try{if((0,a.Zy)()===r)return e.getAttribute("id")||e.setAttribute("id","adg-".concat((0,a._d)())),e;var n=r.frameElement,i=n.getBoundingClientRect(),o=e.getBoundingClientRect();return i.width===o.width&&i.height===o.height&&t(n,r.parent)}catch(t){return(0,a.yN)("".concat(x),t),!1}},getRefererInfo:f.nH,adagioScriptFromLocalStorageCb:function(t){try{if(!t)return void(0,a.yN)("".concat(x," script not found."));var e=/^(\/\/ hash: (.+)\n)(.+\n)$/;if(e.test(t)){var r=t.match(e),n=r[2],i=r[3];(0,d.T)(i,n,C,j)?((0,a.PN)("".concat(x," start script.")),Function(t)()):((0,a.yN)("".concat(x," invalid script found.")),k.removeDataFromLocalStorage(E))}else(0,a.yN)("".concat(x," no hash found.")),k.removeDataFromLocalStorage(E)}catch(t){(0,a.H)(x,t)}},getCurrentWindow:Z,canAccessTopWindow:M,isRendererPreferredFromPublisher:function(t){var e=(0,o.Z)(t,"renderer"),r=!!(e&&e.url&&e.render),n=(0,o.Z)(t,"mediaTypes.video.renderer"),i=!!(n&&n.url&&n.render);return!!(r&&!0!==e.backupOnly||i&&!0!==n.backupOnly)},isNewSession:function(t){var e=Date.now(),r=(0,o.Z)(t,"session",{}),n=r.lastActivityTime,i=r.vwSmplg;return!(0,a.hj)(n)||!(0,a.hj)(i)||e-n>U}};function G(t){t.renderer.push((function(){"function"==typeof window.ADAGIO.outstreamPlayer?window.ADAGIO.outstreamPlayer(t):(0,a.H)("".concat(x," Adagio outstream player is not defined"))}))}function V(t){if(t.admNative&&Array.isArray(t.admNative.assets)){var e={};t.admNative.assets.forEach((function(t){if(t.title)e.title=t.title.text;else if(t.data)r=t.data,(n={1:"sponsoredBy",2:"body",3:"rating",4:"likes",5:"downloads",6:"price",7:"salePrice",8:"phone",9:"address",10:"body2",11:"displayUrl",12:"cta"}).hasOwnProperty(r.type)&&"string"==typeof r.value&&(e[n[r.type]]=r.value);else if(t.img)if(1===t.img.type)e.icon={url:t.img.url,width:t.img.w,height:t.img.h};else e.image={url:t.img.url,width:t.img.w,height:t.img.h};var r,n})),t.admNative.link&&(t.admNative.link.url&&(e.clickUrl=t.admNative.link.url),Array.isArray(t.admNative.link.clicktrackers)&&(e.clickTrackers=t.admNative.link.clicktrackers)),Array.isArray(t.admNative.eventtrackers)?(e.impressionTrackers=[],t.admNative.eventtrackers.forEach((function(t){if(1===t.event)switch(t.method){case 1:e.impressionTrackers.push(t.url);break;case 2:var r='<script async src="'.concat(t.url,'"><\/script>');e.javascriptTrackers?e.javascriptTrackers+="\n".concat(r):e.javascriptTrackers=r}}))):(e.impressionTrackers=Array.isArray(t.admNative.imptrackers)?t.admNative.imptrackers:[],t.admNative.jstracker&&(e.javascriptTrackers=t.admNative.jstracker)),t.admNative.privacy&&(e.privacyLink=t.admNative.privacy),t.admNative.ext&&(e.ext={},t.admNative.ext.bvw&&(e.ext.adagio_bvw=t.admNative.ext.bvw)),t.native=e}else(0,a.H)("".concat(x," Invalid native response"))}function H(t,e){if(t.params=t.params||{},!t.params[e]){var r=s.vc.getConfig("adagio")||{},n=t.ortb2,i=r[e]||(0,o.Z)(n,"site.ext.data.".concat(e),null);if(i){if(Array.isArray(i))return void(i.length&&(t.params[e]=i[0].toString()));t.params[e]=i.toString()}}}function F(t){var e=s.vc.getConfig("adagio")||{};t.params=t.params||{},e.siteId&&(t.params.organizationId=e.siteId.split(":")[0],t.params.site=e.siteId.split(":")[1]),!0!==e.useAdUnitCodeAsPlacement&&!0!==t.params.useAdUnitCodeAsPlacement||(t.params.placement=t.adUnitCode),t.params.adUnitElementId=(0,o.Z)(t,"ortb2Imp.ext.data.elementId",null)||t.params.adUnitElementId,t.params.adUnitElementId||(!0===e.useAdUnitCodeAsAdUnitElementId||!0===t.params.useAdUnitCodeAsAdUnitElementId?t.params.adUnitElementId=t.adUnitCode:t.params.adUnitElementId=function(t){var e=(0,a.ky)(t);if(e.divId)return e.divId}(t.adUnitCode)),H(t,"pagetype"),H(t,"category")}function L(){if(B()||!M())return"";var t=(0,a.Zy)(),e=t.document.querySelector("body");if(!e)return"";var r=t.document.documentElement,n=Math.max(e.scrollWidth,e.offsetWidth,r.clientWidth,r.scrollWidth,r.offsetWidth),i=Math.max(e.scrollHeight,e.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight);return"".concat(n,"x").concat(i)}function _(){if(!B()&&!M())return"";var t={w:0,h:0};if(B()){var e=(0,a.e7)();if("function"!=typeof e.$sf.ext.geom)return(0,a.yN)(x,"Unable to compute from safeframe api."),"";var r=e.$sf.ext.geom();if(!r||!r.win)return(0,a.yN)(x,"Unable to compute from safeframe api. Missing `geom().win` property"),"";t.w=Math.round(r.w),t.h=Math.round(r.h)}else{var n=(0,a.Zy)();t.w=n.innerWidth,t.h=n.innerHeight}return"".concat(t.w,"x").concat(t.h)}function W(t){if(!t)return"";if(!B()&&!M())return"";var e={x:0,y:0};if(B()){var r=(0,a.e7)();if("function"!=typeof r.$sf.ext.geom)return(0,a.yN)(x,"Unable to compute from safeframe api."),"";var n=r.$sf.ext.geom();if(!n||!n.self)return(0,a.yN)(x,"Unable to compute from safeframe api. Missing `geom().self` property"),"";e.x=Math.round(n.t),e.y=Math.round(n.l)}else{if(!M())return"";try{var i,o=(0,a.Zy)(),s=o.document;if(!0===(0,a.yL)()){var u=(0,a.e7)(),c=u.document.getElementById(t);i=q.getElementFromTopWindow(c,u)}else i=o.document.getElementById(t);if(!i)return"";var d=i.getBoundingClientRect(),p=s.documentElement,f=s.body,m=s.clientTop||f.clientTop||0,l=s.clientLeft||f.clientLeft||0,h=o.pageYOffset||p.scrollTop||f.scrollTop,y=o.pageXOffset||p.scrollLeft||f.scrollLeft;if("none"===(o.getComputedStyle(i,null).display||"block")){i.style=i.style||{};var v=i.style.display;i.style.display="block",d=i.getBoundingClientRect(),i.style.display=v||null}e.x=Math.round(d.left+y-l),e.y=Math.round(d.top+h-m)}catch(t){return(0,a.H)(x,t),""}}return"".concat(e.x,"x").concat(e.y)}function J(t,e){return e.bids&&e.bids.length&&(0,i.sE)(e.bids,(function(e){return e.adUnitCode===t})).bidderRequestsCount||1}function Q(){var t,e=-1;if((t=M()?(0,a.Zy)().performance:(0,a.e7)().performance)&&t.timing&&t.timing.navigationStart>0){var r=t.timing.domLoading-t.timing.navigationStart;r>0&&(e=r)}return e}function X(t){var e,r=Z();r.ADAGIO=r.ADAGIO||{},r.ADAGIO.pbjsAdUnits=r.ADAGIO.pbjsAdUnits.filter((function(e){return e.code!==t.adUnitCode})),t.features&&t.features.print_number?e=t.features.print_number:t.params.features&&t.params.features.print_number&&(e=t.params.features.print_number),r.ADAGIO.pbjsAdUnits.push({code:t.adUnitCode,mediaTypes:t.mediaTypes||{},sizes:t.mediaTypes&&t.mediaTypes.banner&&Array.isArray(t.mediaTypes.banner.sizes)?t.mediaTypes.banner.sizes:t.sizes,bids:[{bidder:t.bidder,params:t.params}],auctionId:t.auctionId,pageviewId:q.getPageviewId(),printNumber:e,localPbjs:"pbjs",localPbjsRef:(0,v.R)()}),r.ADAGIO.adUnits[t.adUnitCode]={auctionId:t.auctionId,pageviewId:q.getPageviewId(),printNumber:e}}var Y={code:D,gvlid:617,supportedMediaTypes:w,isBidRequestValid:function(t){return t.params=t.params||{},F(t),!!(t.params.organizationId&&t.params.site&&t.params.placement)||((0,a.yN)("".concat(x," at least one required param is missing.")),!1)},buildRequests:function(t,e){t=(0,g.lY)(t);var r,n="https:"===location.protocol?1:0,i=q.getDevice(),u=q.getSite(e),c=q.getPageviewId(),d=function(t){if(!(0,o.Z)(t,"gdprConsent"))return!1;var e=t.gdprConsent,r=e.apiVersion,n=e.gdprApplies,i=e.consentString,s=e.allowAuctionWithoutConsent;return(0,a.fz)({apiVersion:r,consentString:i,consentRequired:n?1:0,allowAuctionWithoutConsent:s?1:0})}(e)||{},p=function(t){return!!(0,o.Z)(t,"uspConsent")&&{uspConsent:t.uspConsent}}(e)||{},f={required:!0===s.vc.getConfig("coppa")?1:0},h=(r=t[0],(0,o.Z)(r,"schain")),v=function(t){if((0,o.Z)(t,"userId"))return(0,m.HQ)(t.userId)}(t[0])||[],b=(0,a.HA)(t,(function(t){var r=A(A({},P.getOrSetGlobalFeatures()),{},{print_number:J(t.adUnitCode,e).toString(),adunit_position:W(t.params.adUnitElementId)});Object.keys(r).forEach((function(t){""===r[t]&&delete r[t]})),t.features=r,q.enqueue({action:"features",ts:Date.now(),data:{features:t.features,params:t.params,adUnitCode:t.adUnitCode}});var n=function(t){if(!(0,a.LQ)(t.getFloor))return!1;var e=[],r=function(r,n){var i=t.getFloor({currency:R,mediaType:r,size:n});e.push((0,a.fz)({mt:r,s:(0,a.kJ)(n)?"".concat(n[0],"x").concat(n[1]):void 0,f:isNaN(i.floor)||i.currency!==R?void 0:i.floor}))};return Object.keys(t.mediaTypes).forEach((function(e){if(-1!==w.indexOf(e)){var n=e===l.pX?"playerSize":"sizes";t.mediaTypes[e][n]&&t.mediaTypes[e][n].length?(0,a.kJ)(t.mediaTypes[e][n][0])?t.mediaTypes[e][n].forEach((function(t){r(e,[t[0],t[1]])})):r(e,[t.mediaTypes[e][n][0],t.mediaTypes[e][n][1]]):r(e,"*")}})),e}(t);if((0,a.kJ)(n)&&n.length){if(t.floors=n,(0,o.Z)(t,"mediaTypes.banner")){var i=t.mediaTypes.banner,s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r={size:e,floor:null},n=t.floors.filter((function(t){return t.mt===l.Mk})),i=n.find((function(t){return t.s===e.join("x")}));return r.floor=n?i?i.f:n[0].f:null,r};t.mediaTypes.banner.bannerSizes=(0,a.kJ)(i.sizes[0])?i.sizes.map((function(t){return s(t)})):s(i.sizes)}if((0,o.Z)(t,"mediaTypes.video")){var u=t.mediaTypes.video,c=t.floors.filter((function(t){return t.mt===l.pX})),d=u.playerSize&&(0,a.kJ)(u.playerSize[0])?u.playerSize[0]:u.playerSize,p=d?c.find((function(t){return t.s===d.join("x")})):void 0;t.mediaTypes.video.floor=c?p?p.f:c[0].f:null}if((0,o.Z)(t,"mediaTypes.native")){var f=t.floors.filter((function(t){return t.mt===l.B5}));f.length&&(t.mediaTypes.native.floor=f[0].f)}}return(0,o.Z)(t,"mediaTypes.video")&&function(t){var e=(0,o.Z)(t,"mediaTypes.video",{}),r=(0,o.Z)(t,"params.video",{}),n={};if(Array.isArray(e.playerSize)){var i=Array.isArray(e.playerSize[0])?e.playerSize[0]:e.playerSize;n.w=i[0],n.h=i[1]}var s=A(A(A({},n),e),r);s.context&&s.context===y.gZ&&(t.mediaTypes.video.playerName=z(t)),Object.keys(N).forEach((function(e){s.hasOwnProperty(e)&&(N[e](s[e])?t.mediaTypes.video[e]=s[e]:(delete t.mediaTypes.video[e],(0,a.yN)("".concat(x," The OpenRTB video param ").concat(e," has been skipped due to misformating. Please refer to OpenRTB 2.5 spec."))))}))}(t),X(t),t})),I=b.reduce((function(t,e){var r=(0,a.I8)(e);return r.params.organizationId=r.params.organizationId.toString(),delete r.floorData,delete r.params.siteId,delete r.userId,delete r.userIdAsEids,t[r.params.organizationId]=t[r.params.organizationId]||[],t[r.params.organizationId].push(r),t}),{});return(0,a.HA)(Object.keys(I),(function(t){return{method:"POST",url:"https://mp.4dex.io/prebid",data:{id:(0,a.DO)(),organizationId:t,secure:n,device:i,site:u,pageviewId:c,adUnits:I[t],data:P.getExchangeData(),regs:{gdpr:d,coppa:f,ccpa:p},schain:h,user:{eids:v},prebidVersion:"7.36.0",featuresVersion:"1"},options:{contentType:"text/plain"}}}))},interpretResponse:function(t,e){var r=[];try{var n=t.body;n&&(n.data&&q.enqueue({action:"ssp-data",ts:Date.now(),data:n.data}),n.bids&&n.bids.forEach((function(t){var n=(0,i.sE)(e.data.adUnits,(function(e){return e.bidId===t.requestId}));if(n){if(t.meta=(0,o.Z)(t,"meta",{}),t.meta.mediaType=t.mediaType,t.meta.advertiserDomains=Array.isArray(t.aDomain)&&t.aDomain.length?t.aDomain:[],t.mediaType===l.pX){var a=(0,o.Z)(n,"mediaTypes.video.context");!t.vastUrl&&t.vastXml&&(t.vastUrl="data:text/xml;charset=utf-8;base64,"+btoa(t.vastXml.replace(/\\"/g,'"'))),a===y.gZ&&(t.renderer=h.Th.install({id:t.requestId,adUnitCode:t.adUnitCode,url:t.urlRenderer||"https://script.4dex.io/outstream-player.js",config:A(A({},(0,o.Z)(n,"mediaTypes.video")),(0,o.Z)(t,"outstream",{}))}),t.renderer.setRender(G))}t.mediaType===l.B5&&V(t),t.site=n.params.site,t.placement=n.params.placement,t.pagetype=n.params.pagetype,t.category=n.params.category}r.push(t)})))}catch(t){(0,a.H)(t)}return r},getUserSyncs:function(t,e){return!(!e.length||""===e[0].body||!e[0].body.userSyncs)&&e[0].body.userSyncs.map((function(t){return{type:"p"===t.t?"image":"iframe",url:t.u}}))},transformBidParams:function(t,e,r,n){var a=(0,i.sE)(n,(function(t){return"adagio"===t.bidderCode})),s=(0,i.sE)(a.bids,(function(t){return t.adUnitCode===r.code}));if(e){F(s),s.params.auctionId=(0,o.Z)(a,"auctionId");var u=P.getOrSetGlobalFeatures();s.params.features=A(A({},u),{},{print_number:J(s.adUnitCode,a).toString(),adunit_position:W(s.params.adUnitElementId)}),s.params.pageviewId=q.getPageviewId(),s.params.prebidVersion="7.36.0",s.params.data=P.getExchangeData(),(0,o.Z)(s,"mediaTypes.video.context")===y.gZ&&(s.params.playerName=z(s)),X(s)}return s.params}};!function(){M()&&(I=M()?(0,a.Zy)():(0,a.e7)());var t=q.getCurrentWindow();t.ADAGIO=t.ADAGIO||{},t.ADAGIO.adUnits=t.ADAGIO.adUnits||{},t.ADAGIO.pbjsAdUnits=t.ADAGIO.pbjsAdUnits||[],t.ADAGIO.queue=t.ADAGIO.queue||[],t.ADAGIO.versions=t.ADAGIO.versions||{},t.ADAGIO.versions.pbjs="7.36.0",t.ADAGIO.isSafeFrameWindow=B(),k.getDataFromLocalStorage("adagio",(function(t){try{P.prepareExchangeData(t)}catch(t){(0,a.H)(x,t)}})),k.getDataFromLocalStorage(E,(function(t){q.adagioScriptFromLocalStorageCb(t)})),k.localStorageIsEnabled((function(t){if(t)(0,c.B)(S,D);else try{window.localStorage.removeItem(E),window.localStorage.removeItem("adagio")}catch(t){(0,a.PN)("".concat(x," unable to clear Adagio scripts from localstorage."))}}))}(),(0,u.dX)(Y),window.pbjs.installedModules.push("adagioBidAdapter")},4192:function(t,e,r){r.d(e,{HQ:function(){return s},Pv:function(){return u},UR:function(){return a}});var n=r(4358),i=r(265),a={growthCodeId:{getValue:function(t){return t.gc_id},source:"growthcode.io",atype:1,getUidExt:function(t){var e=(0,n.ei)(t,["h1","h2","h3"]);if(Object.keys(e).length)return e}},trustpid:{source:"trustpid.com",atype:1,getValue:function(t){return t}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(t){return t.uid},source:"id5-sync.com",atype:1,getUidExt:function(t){if(t.ext)return t.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(t){var e="";return t&&t.ext&&t.ext.DeviceID&&(e=t.ext.DeviceID),e},getUidExt:function(t){return t&&t.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(t){return t.eid?t.eid:t.ccpaOptout?"":null},getUidExt:function(t){var e=(0,n.ei)(t,["ibaOptout","ccpaOptout"]);if(Object.keys(e).length)return e}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(t){return t.lipbid},source:"liveintent.com",atype:3,getEidExt:function(t){if(Array.isArray(t.segments)&&t.segments.length)return{segments:t.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(t){var e;return null!=t&&null!==(e=t.ext)&&void 0!==e&&e.ssp?"".concat(t.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(t){return t.id},getUidExt:function(t){return t.keyID?{keyID:t.keyID}:t.ext?t.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(t){return t.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(t){return t.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(t){return t.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},cpexId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(t){if(t&&Array.isArray(t.identifiers)&&t.identifiers[0])return t.identifiers[0].value},source:"paf",atype:1,getEidExt:function(t){if(t&&t.preferences)return{preferences:t.preferences}},getUidExt:function(t){if(t&&Array.isArray(t.identifiers)&&t.identifiers[0]){var e=t.identifiers[0];return{version:e.version,type:e.type,source:e.source}}}}};function o(t,e){var r=a[e];if(r&&t){var i={};i.source=(0,n.LQ)(r.getSource)?r.getSource(t):r.source;var o=(0,n.LQ)(r.getValue)?r.getValue(t):t;if((0,n.d8)(o)){var s={id:o,atype:r.atype};if((0,n.LQ)(r.getUidExt)){var u=r.getUidExt(t);u&&(s.ext=u)}if(i.uids=[s],(0,n.LQ)(r.getEidExt)){var c=r.getEidExt(t);c&&(i.ext=c)}return i}}return null}function s(t){var e=[],r=function(r){if(t.hasOwnProperty(r))if("pubProvidedId"===r)e=e.concat(t.pubProvidedId);else if(Array.isArray(t[r]))t[r].forEach((function(t,n,i){var a=o(t,r);a&&e.push(a)}));else{var n=o(t[r],r);n&&e.push(n)}};for(var n in t)r(n);return e}function u(t){var e=[];return t.filter((function(t){return(0,n.PO)(t.idObj)&&Object.keys(t.idObj).length})).forEach((function(t){Object.keys(t.idObj).forEach((function(r){(0,i.Z)(t,"config.bidders")&&Array.isArray(t.config.bidders)&&(0,i.Z)(a,r+".source")&&e.push({source:a[r].source,bidders:t.config.bidders})}))})),e}},4611:function(t,e){var r;Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){null!==t&&this.fromHexString(t)}return t.prototype.toHexString=function(){if(this.s<0)return"-"+this.negate().toHexString();var t,e=!1,r="",n=this.t,i=this.DB-n*this.DB%4;if(n-- >0)for(i<this.DB&&(t=this[n]>>i)>0&&(e=!0,r=p(t));n>=0;)i<4?(t=(this[n]&(1<<i)-1)<<4-i,t|=this[--n]>>(i+=this.DB-4)):(t=this[n]>>(i-=4)&15,i<=0&&(i+=this.DB,--n)),t>0&&(e=!0),e&&(r+=p(t));return e?r:"0"},t.prototype.fromHexString=function(e){if(null!==e){this.t=0,this.s=0;for(var r=e.length,n=!1,i=0;--r>=0;){var a=c(e,r);a<0?"-"==e.charAt(r)&&(n=!0):(n=!1,0==i?this[this.t++]=a:i+4>this.DB?(this[this.t-1]|=(a&(1<<this.DB-i)-1)<<i,this[this.t++]=a>>this.DB-i):this[this.t-1]|=a<<i,(i+=4)>=this.DB&&(i-=this.DB))}0,this.clamp(),n&&t.ZERO.subTo(this,this)}},t.prototype.negate=function(){var e=i();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.mod=function(e){var r=i();return this.abs().divRemTo(e,null,r),this.s<0&&r.compareTo(t.ZERO)>0&&e.subTo(r,r),r},t.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},t.prototype.lShiftTo=function(t,e){for(var r=t%this.DB,n=this.DB-r,i=(1<<n)-1,a=Math.floor(t/this.DB),o=this.s<<r&this.DM,s=this.t-1;s>=0;--s)e[s+a+1]=this[s]>>n|o,o=(this[s]&i)<<r;for(s=a-1;s>=0;--s)e[s]=0;e[a]=o,e.t=this.t+a+1,e.s=this.s,e.clamp()},t.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},t.prototype.dlShiftTo=function(t,e){var r;for(r=this.t-1;r>=0;--r)e[r+t]=this[r];for(r=t-1;r>=0;--r)e[r]=0;e.t=this.t+t,e.s=this.s},t.prototype.squareTo=function(t){for(var e=this.abs(),r=t.t=2*e.t;--r>=0;)t[r]=0;for(r=0;r<e.t-1;++r){var n=e.am(r,e[r],t,2*r,0,1);(t[r+e.t]+=e.am(r+1,2*e[r],t,2*r+1,n,e.t-r-1))>=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},t.prototype.multiplyTo=function(e,r){var n=this.abs(),i=e.abs(),a=n.t;for(r.t=a+i.t;--a>=0;)r[a]=0;for(a=0;a<i.t;++a)r[a+n.t]=n.am(0,i[a],r,a,0,n.t);r.s=0,r.clamp(),this.s!=e.s&&t.ZERO.subTo(r,r)},t.prototype.divRemTo=function(e,r,n){var o=e.abs();if(!(o.t<=0)){var s=this.abs();if(s.t<o.t)return null!=r&&r.fromHexString("0"),void(null!=n&&this.copyTo(n));null==n&&(n=i());var u=i(),c=this.s,d=e.s,p=this.DB-a(o[o.t-1]);p>0?(o.lShiftTo(p,u),s.lShiftTo(p,n)):(o.copyTo(u),s.copyTo(n));var f=u.t,m=u[f-1];if(0!=m){var l=m*(1<<this.F1)+(f>1?u[f-2]>>this.F2:0),h=this.FV/l,y=(1<<this.F1)/l,v=1<<this.F2,g=n.t,b=g-f,A=null==r?i():r;for(u.dlShiftTo(b,A),n.compareTo(A)>=0&&(n[n.t++]=1,n.subTo(A,n)),t.ONE.dlShiftTo(f,A),A.subTo(u,u);u.t<f;)u[u.t++]=0;for(;--b>=0;){var I=n[--g]==m?this.DM:Math.floor(n[g]*h+(n[g-1]+v)*y);if((n[g]+=u.am(0,I,n,b,0,f))<I)for(u.dlShiftTo(b,A),n.subTo(A,n);n[g]<--I;)n.subTo(A,n)}null!=r&&(n.drShiftTo(f,r),c!=d&&t.ZERO.subTo(r,r)),n.t=f,n.clamp(),p>0&&n.rShiftTo(p,n),c<0&&t.ZERO.subTo(n,n)}}},t.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var n=t%this.DB,i=this.DB-n,a=(1<<n)-1;e[0]=this[r]>>n;for(var o=r+1;o<this.t;++o)e[o-r-1]|=(this[o]&a)<<i,e[o-r]=this[o]>>n;n>0&&(e[this.t-r-1]|=(this.s&a)<<i),e.t=this.t-r,e.clamp()}},t.prototype.drShiftTo=function(t,e){for(var r=t;r<this.t;++r)e[r-t]=this[r];e.t=Math.max(this.t-t,0),e.s=this.s},t.prototype.subTo=function(t,e){for(var r=0,n=0,i=Math.min(t.t,this.t);r<i;)n+=this[r]-t[r],e[r++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n-=t.s;r<this.t;)n+=this[r],e[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<t.t;)n-=t[r],e[r++]=n&this.DM,n>>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[r++]=this.DV+n:n>0&&(e[r++]=n),e.t=r,e.clamp()},t.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},t.prototype.modPowInt=function(t,e){var r;return r=t<256||e.isEven()?new l(e):new h(e),this.exp(t,r)},t.prototype.exp=function(e,r){if(e>4294967295||e<1)return t.ONE;var n=i(),o=i(),s=r.convert(this),u=a(e)-1;for(s.copyTo(n);--u>=0;)if(r.sqrTo(n,o),(e&1<<u)>0)r.mulTo(o,s,n);else{var c=n;n=o,o=c}return r.revert(n)},t.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},t.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var r=this.t;if(0!=(e=r-t.t))return this.s<0?-e:e;for(;--r>=0;)if(0!=(e=this[r]-t[r]))return e;return 0},t.prototype.am1=function(t,e,r,n,i,a){for(;--a>=0;){var o=e*this[t++]+r[n]+i;i=Math.floor(o/67108864),r[n++]=67108863&o}return i},t.prototype.am2=function(t,e,r,n,i,a){for(var o=32767&e,s=e>>15;--a>=0;){var u=32767&this[t],c=this[t++]>>15,d=s*u+c*o;i=((u=o*u+((32767&d)<<15)+r[n]+(1073741823&i))>>>30)+(d>>>15)+s*c+(i>>>30),r[n++]=1073741823&u}return i},t.prototype.am3=function(t,e,r,n,i,a){for(var o=16383&e,s=e>>14;--a>=0;){var u=16383&this[t],c=this[t++]>>14,d=s*u+c*o;i=((u=o*u+((16383&d)<<14)+r[n]+i)>>28)+(d>>14)+s*c,r[n++]=268435455&u}return i},t}();function i(){return new n(null)}function a(t){var e,r=1;return 0!=(e=t>>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}e.BigInteger=n,e.nbi=i,e.nbits=a;var o,s,u=[];for(o="0".charCodeAt(0),s=0;s<=9;++s)u[o++]=s;for(o="a".charCodeAt(0),s=10;s<36;++s)u[o++]=s;for(o="A".charCodeAt(0),s=10;s<36;++s)u[o++]=s;function c(t,e){var r=u[t.charCodeAt(e)];return null==r?-1:r}e.intAt=c;var d="0123456789abcdefghijklmnopqrstuvwxyz";function p(t){return d.charAt(t)}e.int2char=p;var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m="=";e.b64toHex=function(t){var e,r="",n=0,i=0;for(e=0;e<t.length&&t.charAt(e)!=m;++e){var a=f.indexOf(t.charAt(e));a<0||(0==n?(r+=p(a>>2),i=3&a,n=1):1==n?(r+=p(i<<2|a>>4),i=15&a,n=2):2==n?(r+=p(i),r+=p(a>>2),i=3&a,n=3):(r+=p(i<<2|a>>4),r+=p(15&a),n=0))}return 1==n&&(r+=p(i<<2)),r},e.removeExtraSymbols=function(t){return t.replace(/^1f+00/,"").replace("3031300d060960864801650304020105000420","")};var l=function(){function t(t){this.m=t}return t.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),h=function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return t.prototype.convert=function(t){var e=i();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(n.ZERO)>0&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=i();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var r=32767&t[e],n=r*this.mpl+((r*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,n,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();function y(t){var e=i();return e.fromHexString(t.toString()),e}e.nbv=y,n.ZERO=y(0),n.ONE=y(1),"Microsoft Internet Explorer"==navigator.appName?(n.prototype.am=n.prototype.am2,r=30):"Netscape"!=navigator.appName?(n.prototype.am=n.prototype.am1,r=26):(n.prototype.am=n.prototype.am3,r=28),n.prototype.DB=r,n.prototype.DM=(1<<r)-1,n.prototype.DV=1<<r;n.prototype.FV=Math.pow(2,52),n.prototype.F1=52-r,n.prototype.F2=2*r-52},4950:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){}return t.hash=function(e){e=t.utf8Encode(e||"");for(var r=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],n=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],i=(e+=String.fromCharCode(128)).length/4+2,a=Math.ceil(i/16),o=new Array(a),s=0;s<a;s++){o[s]=new Array(16);for(var u=0;u<16;u++)o[s][u]=e.charCodeAt(64*s+4*u)<<24|e.charCodeAt(64*s+4*u+1)<<16|e.charCodeAt(64*s+4*u+2)<<8|e.charCodeAt(64*s+4*u+3)<<0}var c=8*(e.length-1)/Math.pow(2,32),d=8*(e.length-1)>>>0;o[a-1][14]=Math.floor(c),o[a-1][15]=d;for(s=0;s<a;s++){for(var p=new Array(64),f=0;f<16;f++)p[f]=o[s][f];for(f=16;f<64;f++)p[f]=t.q1(p[f-2])+p[f-7]+t.q0(p[f-15])+p[f-16]>>>0;var m=n[0],l=n[1],h=n[2],y=n[3],v=n[4],g=n[5],b=n[6],A=n[7];for(f=0;f<64;f++){var I=A+t.z1(v)+t.Ch(v,g,b)+r[f]+p[f],T=t.z0(m)+t.Maj(m,l,h);A=b,b=g,g=v,v=y+I>>>0,y=h,h=l,l=m,m=I+T>>>0}n[0]=n[0]+m>>>0,n[1]=n[1]+l>>>0,n[2]=n[2]+h>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+v>>>0,n[5]=n[5]+g>>>0,n[6]=n[6]+b>>>0,n[7]=n[7]+A>>>0}var O=new Array(n.length);for(A=0;A<n.length;A++)O[A]=("00000000"+n[A].toString(16)).slice(-8);return O.join("")},t.utf8Encode=function(t){try{return(new TextEncoder).encode(t).reduce((function(t,e){return t+String.fromCharCode(e)}),"")}catch(e){return unescape(encodeURIComponent(t))}},t.ROTR=function(t,e){return e>>>t|e<<32-t},t.z0=function(e){return t.ROTR(2,e)^t.ROTR(13,e)^t.ROTR(22,e)},t.z1=function(e){return t.ROTR(6,e)^t.ROTR(11,e)^t.ROTR(25,e)},t.q0=function(e){return t.ROTR(7,e)^t.ROTR(18,e)^e>>>3},t.q1=function(e){return t.ROTR(17,e)^t.ROTR(19,e)^e>>>10},t.Ch=function(t,e,r){return t&e^~t&r},t.Maj=function(t,e,r){return t&e^t&r^e&r},t}();e.Sha256=r},1582:function(t,e,r){var n=r(4611),i=r(4950);e.T=function(t,e,r,a){var o=new n.BigInteger(n.b64toHex(e)),s=new n.BigInteger(n.b64toHex(r)),u=o.modPowInt(a,s);return n.removeExtraSymbols(u.toHexString())===i.Sha256.hash(t)}}},function(t){t.O(0,[6866],(function(){return e=3934,t(t.s=e);var e}));t.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[3601],{5559:function(e,t,a){var r=a(3324),n=a(1002),i=a(4942),s=a(4358),d=a(6475),o=a(265),c=a(4679),p=a(5339),u=a(4614),m=a(3193),l=a(59);function f(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}var y=["pos","context","placement","api","mimes","protocols","playbackmethod","minduration","maxduration","startdelay","linearity","skip","skipmin","skipafter","minbitrate","maxbitrate","delivery","playbackend","boxingallowed"],v=["battr","pos"],b=["battr","api"],g=["btype","battr","pos","api"],h=1,T=2,k=Object.freeze({1:"iframe",2:"image"}),x=[{name:"title",assetType:"title"},{name:"icon",assetType:"img",type:1},{name:"image",assetType:"img",type:3},{name:"body",assetType:"data",type:2},{name:"body2",assetType:"data",type:10},{name:"sponsoredBy",assetType:"data",type:1},{name:"phone",assetType:"data",type:8},{name:"address",assetType:"data",type:9},{name:"price",assetType:"data",type:6},{name:"salePrice",assetType:"data",type:7},{name:"cta",assetType:"data",type:12},{name:"rating",assetType:"data",type:3},{name:"downloads",assetType:"data",type:5},{name:"likes",assetType:"data",type:4},{name:"displayUrl",assetType:"data",type:11}],O=x.reduce((function(e,t,a){return e[t.name]=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?f(Object(a),!0).forEach((function(t){(0,i.Z)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):f(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({id:a},t),e}),{}),w={code:"adkernel",gvlid:14,aliases:[{code:"headbidding"},{code:"adsolut"},{code:"oftmediahb"},{code:"audiencemedia"},{code:"waardex_ak"},{code:"roqoon"},{code:"adbite"},{code:"houseofpubs"},{code:"torchad"},{code:"stringads"},{code:"bcm"},{code:"engageadx"},{code:"converge",gvlid:248},{code:"adomega"},{code:"denakop"},{code:"rtbanalytica"},{code:"unibots"},{code:"catapultx"},{code:"ergadx"},{code:"turktelekom"},{code:"felixads"},{code:"motionspots"},{code:"sonic_twist"},{code:"displayioads"},{code:"rtbdemand_com"},{code:"bidbuddy"}],supportedMediaTypes:[c.Mk,c.pX,c.B5],isBidRequestValid:function(e){return"params"in e&&void 0!==e.params.host&&"zoneId"in e.params&&!isNaN(Number(e.params.zoneId))&&e.params.zoneId>0&&e.mediaTypes&&(e.mediaTypes.banner||e.mediaTypes.video||e.mediaTypes.native&&(S((t=e.mediaTypes.native).image)&&S(t.icon)&&!(0,o.Z)(t,"privacyLink.required")&&!(0,o.Z)(t,"privacyIcon.required")));var t},buildRequests:function(e,t){var a=function(e,t){var a,r=t&&0===(null===(a=t.page)||void 0===a?void 0:a.indexOf("https:"));return Object.values(e.map((function(e){return function(e,t){var a,r={id:e.bidId,tagid:e.adUnitCode},i=[];if((0,o.Z)(e,"mediaTypes.banner"))i=(0,s.pw)(e),r.banner={format:i.map((function(e){return(0,s.NI)(e)})),topframe:0},N(r.banner,e,g),a=c.Mk;else if((0,o.Z)(e,"mediaTypes.video")){var d=(0,o.Z)(e,"mediaTypes.video");r.video=(0,s.iG)(d,y),N(r.video,e,v),d.playerSize?(i=d.playerSize[0],r.video=Object.assign(r.video,(0,s.NI)(i)||{})):d.w&&d.h&&(r.video.w=d.w,r.video.h=d.h),a=c.pX}else{if(!(0,o.Z)(e,"mediaTypes.native"))throw new Error("Unsupported bid received");var p=function(e){for(var t={ver:"1.1",assets:[]},a=0,r=Object.keys(e);a<r.length;a++){var n=r[a],i=e[n],d=O[n];if(void 0!==d){var o={id:d.id,required:~~i.required};if("img"===d.assetType)o[d.assetType]=_(d,i);else if("data"===d.assetType)o.data=(0,s.fz)({type:d.type,len:i.len});else{if("title"!==d.assetType)return;o.title={len:i.len||90}}t.assets.push(o)}}return t}(e.mediaTypes.native);r.native={ver:"1.1",request:JSON.stringify(p)},N(r.native,e,b),a=c.B5}var u=function(e,t,a){var r,i=1===a.length?a[0]:"*";if("function"==typeof e.getFloor){var s=e.getFloor({currency:"USD",mediaType:t,size:i});"object"!==(0,n.Z)(s)||"USD"!==s.currency||isNaN(parseFloat(s.floor))||(r=parseFloat(s.floor))}return r}(e,a,i);u&&(r.bidfloor=u);t&&(r.secure=1);return r}(e,r)})).reduce((function(t,a,r){var n=e[r].params,i=n.zoneId,s=n.host,d="".concat(s,"_").concat(i);return t[d]=t[d]||{host:s,zoneId:i,imps:[]},t[d].imps.push(a),t}),{}))}(e=(0,l.lY)(e),t.refererInfo),r=[],i=e[0].schain;return(0,s.yi)(a,(function(e){var a=e.host,n=e.zoneId,c=function(e,t,a){var r=t.ortb2||{},n=(0,s.Ee)(function(e,t,a){var r=e.auctionId,n=e.timeout,i={id:r,imp:t,at:1,tmax:parseInt(n)};(0,s.xb)(a.bcat)||(i.bcat=a.bcat);(0,s.xb)(a.badv)||(i.badv=a.badv);return i}(t,e,r),function(e){var t=(0,s.Ee)({ip:"caller",ipv6:"caller",ua:"caller",js:1,language:I()},e.device||{});(0,s.oV)()&&(t.dnt=1);return{device:t}}(r),function(e,t){var a=e.refererInfo,r=m.vc.getConfig("app");return(0,s.xb)(r)?{site:z(a,t)}:{app:r}}(t,r),function(e,t){var a=e.gdprConsent,r=t.user||{};a&&void 0!==a.consentString&&(0,d.N)(r,"ext.consent",a.consentString);var n=function(e){var t=(0,o.Z)(e,"bids.0.userIdAsEids");if((0,s.kJ)(t))return t}(e);n&&(0,d.N)(r,"ext.eids",n);if(!(0,s.xb)(r))return{user:r}}(t,r),function(e){var t=e.gdprConsent,a=e.uspConsent,r={};t&&void 0!==t.gdprApplies&&(0,d.N)(r,"regs.ext.gdpr",~~t.gdprApplies);a&&(0,d.N)(r,"regs.ext.us_privacy",a);m.vc.getConfig("coppa")&&(0,d.N)(r,"regs.coppa",1);if(!(0,s.xb)(r))return r}(t),function(e){var t=e.bidderCode,a=function(e){if(!m.vc.getConfig("userSync.syncEnabled"))return;var t=m.vc.getConfig("userSync.filterSettings");if(j(t.all,e)||j(t.iframe,e))return h;if(j(t.image,e))return T}(t);if(a){var r={};return(0,d.N)(r,"ext.adk_usersync",a),r}}(t));a&&(0,d.N)(n,"source.ext.schain",a);return n}(e.imps,t,i);r.push({method:"POST",url:"https://".concat(a,"/hb?zone=").concat(n,"&v=").concat("1.6"),data:JSON.stringify(c)})})),r},interpretResponse:function(e,t){var a=e.body;if(!a.seatbid)return[];var r=JSON.parse(t.data);return a.seatbid.map((function(e){return e.bid})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){var t,n,i,o,p,m,l,f,y=(0,u.sE)(r.imp,(function(t){return t.id===e.impid})),v={requestId:e.impid,cpm:e.price,creativeId:e.crid,currency:a.cur||"USD",ttl:360,netRevenue:!0};return"banner"in y?(v.mediaType=c.Mk,v.width=e.w,v.height=e.h,v.ad=function(e){var t=e.adm;"nurl"in e&&(t+=(0,s.SG)("".concat(e.nurl,"&px=1")));return t}(e)):"video"in y?(v.mediaType=c.pX,v.vastUrl=e.nurl,v.width=y.video.w,v.height=y.video.h):"native"in y&&(v.mediaType=c.B5,v.native=(t=JSON.parse(e.adm),n=t.native,i=n.assets,o=n.link,p=n.imptrackers,m=n.jstracker,l=n.privacy,f={clickUrl:o.url,impressionTrackers:p,javascriptTrackers:m?[m]:void 0,privacyLink:l},(0,s.yi)(i,(function(e){var t=x[e.id].name,a=x[e.id].assetType;f[t]=e[a].text||e[a].value||(0,s.fz)({url:e[a].url,width:e[a].w,height:e[a].h})})),(0,s.fz)(f))),(0,s.d8)(e.dealid)&&(v.dealId=e.dealid),(0,s.kJ)(e.adomain)&&(0,d.N)(v,"meta.advertiserDomains",e.adomain),(0,s.kJ)(e.cat)&&(0,d.N)(v,"meta.secondaryCatIds",e.cat),(0,s.PO)(e.ext)&&((0,s.hj)(e.ext.advertiser_id)&&(0,d.N)(v,"meta.advertiserId",e.ext.advertiser_id),(0,s.d8)(e.ext.advertiser_name)&&(0,d.N)(v,"meta.advertiserName",e.ext.advertiser_name),(0,s.d8)(e.ext.agency_name)&&(0,d.N)(v,"meta.agencyName",e.ext.agency_name)),v}))},getUserSyncs:function(e,t){return t&&0!==t.length&&(e.iframeEnabled||e.pixelEnabled)?t.filter((function(e){return e.body&&e.body.ext&&e.body.ext.adk_usersync})).map((function(e){return e.body.ext.adk_usersync})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){var t=e.url,a=e.type;return{type:k[a],url:t}})):[]}};function N(e,t,a){void 0!==t.ortb2Imp&&Object.assign(e,(0,s.iG)(t.ortb2Imp,a))}function _(e,t){var a={type:e.type};if(t.sizes){var n=(0,r.Z)(t.sizes,2);a.w=n[0],a.h=n[1]}else t.aspect_ratios&&(a.wmin=t.aspect_ratios[0].min_width,a.hmin=t.aspect_ratios[0].min_height);return(0,s.fz)(a)}function j(e,t){if(!e)return!1;var a=(0,s.kJ)(e.bidders)?e.bidders:[t],r="include"===e.filter;return(0,s.r3)(a,t)===r}function I(){var e=navigator.language?"language":"userLanguage";return navigator[e].split("-")[0]}function z(e,t){var a={domain:e.domain,page:e.page};return(0,s.Ee)(a,t.site),null!=e.ref?a.ref=e.ref:delete a.ref,a}function S(e){return!e||(e.sizes?(0,s.HC)(e.sizes,2):!(0,s.kJ)(e.aspect_ratios)||e.aspect_ratios.length>0&&e.aspect_ratios[0].min_height&&e.aspect_ratios[0].min_width)}(0,p.dX)(w),window.pbjs.installedModules.push("adkernelBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=5559,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7380],{4814:function(n,e,t){var i=t(9062),d=t(4679),r=t(5339),a=t(4358),o={code:"adpone",supportedMediaTypes:[d.Mk],isBidRequestValid:function(n){return!!n.params.placementId&&!!n.bidId&&"adpone"===n.bidder},buildRequests:function(n,e){return n.map((function(n){var t="https://rtb.adpone.com/bid-request?pid="+n.params.placementId,i={at:1,id:n.bidId,imp:n.sizes.map((function(e,t){return{id:n.bidId+"_"+t,banner:{w:e[0],h:e[1]}}}))};return e&&e.gdprConsent&&(t+="&gdpr_applies="+e.gdprConsent.gdprApplies,t+="&consentString="+e.gdprConsent.consentString),{method:"POST",url:t,data:i,options:{withCredentials:!0}}}))},interpretResponse:function(n,e){if(!n||!n.body)return[];var t=[];return n.body.seatbid.forEach((function(d){d.bid.length&&(t=[].concat((0,i.Z)(t),(0,i.Z)(d.bid.filter((function(n){return n.price>0})).map((function(t){var i={id:t.id,requestId:e.data.id,cpm:t.price,ad:t.adm,width:t.w||0,height:t.h||0,currency:n.body.cur||"EUR",netRevenue:!0,ttl:300,creativeId:t.crid||0};return t.meta&&t.meta.adomain&&t.meta.adomain.length>0&&(i.meta={},i.meta.advertiserDomains=t.meta.adomain),i})))))})),t},onBidWon:function(n){var e=JSON.stringify(n),t=window.btoa(e);(0,a.hq)("https://rtb.adpone.com/prebid/analytics?q=".concat(t))}};(0,r.dX)(o),window.pbjs.installedModules.push("adponeBidAdapter")}},function(n){n.O(0,[6866],(function(){return e=4814,n(n.s=e);var e}));n.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[4996],{8522:function(e,n,t){var a,i=t(265),r=t(4358),d=t(5339),s=t(4679),o=t(3193),u=t(5706),c=t(4614),p=["",1,2],m={default:(a=0,function(){return"ghb"+p[a++%p.length]+".adtelligent.com"}),navelix:function(){return"ghb.hb.navelix.com"},appaloosa:function(){return"ghb.hb.appaloosa.media"},onefiftytwomedia:function(){return"ghb.ads.152media.com"},bidsxchange:function(){return"ghb.hbd.bidsxchange.com"},streamkey:function(){return"ghb.hb.streamkey.net"},janet:function(){return"ghb.bidder.jmgads.com"},pgam:function(){return"ghb.pgamssp.com"},ocm:function(){return"ghb.cenarius.orangeclickmedia.com"},vidcrunchllc:function(){return"ghb.platform.vidcrunch.com"}},l="https://player.adtelligent.com/outstream-unit/2.01/outstream.min.js",f="outstream",h="display",g={},b={code:"adtelligent",gvlid:410,aliases:["onefiftytwomedia","appaloosa","bidsxchange","streamkey","janet",{code:"selectmedia",gvlid:775},{code:"navelix",gvlid:380},"pgam",{code:"ocm",gvlid:1148},{code:"vidcrunchllc",gvlid:1145}],supportedMediaTypes:[s.pX,s.Mk],isBidRequestValid:function(e){return!!(0,i.Z)(e,"params.aid")},getUserSyncs:function(e,n){var t=[];function a(n){var a=n.cookieURLs,i=n.cookieURLSTypes||[];Array.isArray(a)&&a.forEach((function(n,a){var r=i[a]||"image";!e.pixelEnabled&&"image"===r||!e.iframeEnabled&&"iframe"===r||g[n]||(g[n]=!0,t.push({type:r,url:n}))}))}return(e.pixelEnabled||e.iframeEnabled)&&(0,r.kJ)(n)&&n.forEach((function(e){e.body&&((0,r.kJ)(e.body)?e.body.forEach((function(e){a(e)})):a(e.body))})),t},buildRequests:function(e,n){var t=o.vc.getConfig(n.bidderCode),a=(0,i.Z)(t,"chunkSize",10),d=function(e,n){var t={Domain:(0,i.Z)(n,"refererInfo.page")};!0===o.vc.getConfig("coppa")&&(t.Coppa=1);(0,i.Z)(n,"gdprConsent.gdprApplies")&&(t.GDPR=1,t.GDPRConsent=(0,i.Z)(n,"gdprConsent.consentString"));(0,i.Z)(n,"uspConsent")&&(t.USP=(0,i.Z)(n,"uspConsent"));(0,i.Z)(e[0],"schain")&&(t.Schain=(0,i.Z)(e[0],"schain"));(0,i.Z)(e[0],"userId")&&(t.UserIds=(0,i.Z)(e[0],"userId"));(0,i.Z)(e[0],"userIdAsEids")&&(t.UserEids=(0,i.Z)(e[0],"userIdAsEids"));window.adtDmp&&window.adtDmp.ready&&(t.DMPId=window.adtDmp.getUID());for(var a=[],r=0,d=e.length;r<d;r++){var s=y(e[r]);a.push(s)}return{tag:t,bids:a}}(e,n),s=d.tag,u=d.bids,c=(0,r.yo)(u,a);return(0,r.HA)(c,(function(e){return{data:Object.assign({},s,{BidRequests:e}),adapterRequest:n,method:"POST",url:(t=n.bidderCode,a=t.split("_")[0],"https://"+(m[a]||m.default)()+"/v2/auction/")};var t,a}))},interpretResponse:function(e,n){var t=n.adapterRequest;e=e.body;var a=[];return(0,r.kJ)(e)?(e.forEach((function(e){a=(0,r.xH)(a,v(e,t))})),a):v(e,t)},transformBidParams:function(e){return(0,r.uh)({aid:"number"},e)}};function v(e,n){var t=!e||!(0,r.kJ)(e.bids),a=[];return t||e.bids.forEach((function(e){var t=(0,c.sE)(n.bids,(function(n){return n.bidId===e.requestId}));if(0!==e.cpm&&void 0!==t){var r=function(e,n){var t=(d=n,(0,i.Z)(d,"mediaTypes.video")?s.pX:s.Mk),a=(0,i.Z)(n,"mediaTypes.video.context"),r={requestId:e.requestId,creativeId:e.cmpId,height:e.height,currency:e.cur,width:e.width,cpm:e.cpm,netRevenue:!0,mediaType:t,ttl:300,meta:{advertiserDomains:e.adomain||[]}};var d;if(t===s.Mk)return Object.assign(r,{ad:e.ad,adUrl:e.adUrl});a===s.Oh&&Object.assign(r,{meta:{primaryCatId:e.primaryCatId},video:{context:s.Oh,durationSeconds:e.durationSeconds}});Object.assign(r,{vastUrl:e.vastUrl}),a===f&&Object.assign(r,{adResponse:e,renderer:I(e.requestId,n.params)});return r}(e,t);a.push(r)}})),a}function y(e){var n=(0,i.Z)(e,"mediaTypes.video")?s.pX:h,t=n===s.pX?(0,i.Z)(e,"mediaTypes.video.playerSize"):(0,i.Z)(e,"mediaTypes.banner.sizes"),a={CallbackId:e.bidId,Aid:e.params.aid,AdType:n,Sizes:(0,r.sF)(t).join(",")};(a.PlacementId=e.adUnitCode,e.params.iframe&&(a.AdmType="iframe"),e.params.vpb_placement_id&&(a.PlacementId=e.params.vpb_placement_id),n===s.pX)&&((0,i.Z)(e,"mediaTypes.video.context")===s.Oh&&(a.Adpod=(0,i.Z)(e,"mediaTypes.video")));return a}function I(e,n){var t=u.Th.install({id:e,url:l,config:n.outstream||{},loaded:!1});return t.setRender(Z),t}function Z(e){e.renderer.push((function(){var n=Object.assign({},e.renderer.getConfig(),{width:e.width,height:e.height,vastUrl:e.vastUrl,elId:e.adUnitCode});window.VOutstreamAPI.initOutstreams([n])}))}(0,d.dX)(b),window.pbjs.installedModules.push("adtelligentBidAdapter")}},function(e){e.O(0,[6866],(function(){return n=8522,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7343],{7579:function(e,t,r){var i=r(1002),n=r(265),a=r(4358),o=r(5339),c=r(4192),s=r(4614),d=r(4679),u=r(59),p="hb-api",l="USD",f={image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1},cta:{required:!1}},m={code:"adyoulike",gvlid:259,supportedMediaTypes:[d.Mk,d.B5,d.pX],aliases:["ayl"],isBidRequestValid:function(e){var t=I(h(e)),r=t.width>0&&t.height>0;return e.params&&e.params.placement&&(r||e.mediaTypes&&e.mediaTypes.native)},buildRequests:function(e,t){e=(0,u.lY)(e);var r=!1,i={Version:"1.0",Bids:e.reduce((function(e,t){var i=function(e){if((0,n.Z)(e,"mediaTypes.banner"))return d.Mk;if((0,n.Z)(e,"mediaTypes.video"))return d.pX;if((0,n.Z)(e,"mediaTypes.native"))return d.B5}(t),a=h(t),o=I(a);if(e[t.bidId]={},e[t.bidId].PlacementID=t.params.placement,e[t.bidId].TransactionID=t.transactionId,e[t.bidId].Width=o.width,e[t.bidId].Height=o.height,e[t.bidId].AvailableSizes=a.join(","),"function"==typeof t.getFloor&&(e[t.bidId].Pricing=function(e,t,r){var i=e.getFloor({currency:l,mediaType:r,size:[t.width,t.height]});if(!isNaN(i.floor)&&i.currency===l)return i.floor}(t,o,i)),t.schain&&(e[t.bidId].SChain=t.schain),i===d.B5){var c=t.mediaTypes.native;"image"===c.type&&(c=Object.assign({},f,c)),c.clickUrl={required:!0},e[t.bidId].Native=c}if(i===d.pX){r=!0,e[t.bidId].Video=t.mediaTypes.video;var s=t.mediaTypes.video.playerSize;Array.isArray(s)&&!Array.isArray(s[0])&&(e[t.bidId].Video.playerSize=[s])}return e}),{}),PageRefreshed:g()};t.gdprConsent&&(i.gdprConsent={consentString:t.gdprConsent.consentString,consentRequired:"boolean"==typeof t.gdprConsent.gdprApplies?t.gdprConsent.gdprApplies:null}),t.uspConsent&&(i.uspConsent=t.uspConsent),t.ortb2&&(i.ortb2=t.ortb2),(0,n.Z)(t,"userId")&&(i.userId=(0,c.HQ)(t.userId)),i.pbjs_version="7.36.0";var a=JSON.stringify(i);return{method:"POST",url:v(e,t,r),data:a,options:{withCredentials:!0}}},interpretResponse:function(e,t){var r=[],a={};try{a=JSON.parse(t.data).Bids}catch(e){}return e.body.forEach((function(e){var t=function(e,t){if(!e||!e.Ad&&!e.Native&&!e.Vast)return;var r=t&&t[e.BidID];r&&(e.Width&&"0"!==e.Width||(e.Width=r.Width),e.Height&&"0"!==e.Height||(e.Height=r.Height));var a={requestId:e.BidID,ttl:3600,creativeId:e.CreativeID,cpm:e.Price,netRevenue:!0,currency:l,meta:e.Meta||{advertiserDomains:[]}},o=e.Vast;o?(a.width=e.Width,a.height=e.Height,a.vastXml=window.atob(o),a.mediaType="video"):r.Native?(a.native=function(e,t){if("object"===(0,i.Z)(e.Native))return e.Native;var r={},a={},o={};if("string"==typeof e.Ad){a=JSON.parse(e.Ad.match(/\/\*PREBID\*\/(.*)\/\*PREBID\*\//)[1]),o=a.Content.Preview.Text;var c=a.TrackingPrefix+"/pixel?event_kind=IMPRESSION&attempt="+a.Attempt,s=a.TrackingPrefix+"/pixel?event_kind=INSERTION&attempt="+a.Attempt;a.Campaign&&(c+="&campaign="+a.Campaign,s+="&campaign="+a.Campaign),r.clickUrl=a.TrackingPrefix+"/ar?event_kind=CLICK&attempt="+a.Attempt+"&campaign="+a.Campaign+"&url="+encodeURIComponent(a.Content.Landing.Url),a.OnEvents?(r.clickTrackers=C(a.OnEvents.CLICK),r.impressionTrackers=C(a.OnEvents.IMPRESSION),r.javascriptTrackers=C(a.OnEvents.IMPRESSION,!0)):r.impressionTrackers=[],r.impressionTrackers.push(c,s)}return Object.keys(t).map((function(i,c){switch(i){case"title":r[i]=o.TITLE;break;case"body":r[i]=o.DESCRIPTION;break;case"cta":r[i]=o.CALLTOACTION;break;case"sponsoredBy":r[i]=a.Content.Preview.Sponsor.Name;break;case"image":var s=t.image.sizes||[];s.length||(s[0]=e.Width||300,s[1]=e.Height||250);var d=k(a,(0,n.Z)(a,"Content.Preview.Thumbnail.Image"),s[0],s[1]);d&&(r[i]={url:d,width:s[0],height:s[1]});break;case"icon":var u=t.icon.sizes||[];u.length||(u[0]=50,u[1]=50);var p=k(a,(0,n.Z)(a,"Content.Preview.Sponsor.Logo.Resource"),u[0],u[1]);p&&(r[i]={url:p,width:u[0],height:u[1]});break;case"privacyIcon":r[i]=k(a,(0,n.Z)(a,"Content.Preview.Credit.Logo.Resource"),25,25);break;case"privacyLink":r[i]=(0,n.Z)(a,"Content.Preview.Credit.Url")}})),r}(e,r.Native),a.mediaType="native"):(a.width=e.Width,a.height=e.Height,a.ad=e.Ad);return a}(e,a);t&&r.push(t)})),r}};function g(){try{if(performance&&performance.navigation)return performance.navigation.type===performance.navigation.TYPE_RELOAD}catch(e){}return!1}function v(e,t,r){var i=function(e){var t=(0,s.sE)(e,(function(e){return e.params.DC}));return t?"-"+t.params.DC:""}(e),n=r?"/hb-api/prebid-video/v1":"/hb-api/prebid/v1";return(0,a.Q2)({protocol:"https",host:"".concat(p).concat(i,".omnitagjs.com"),pathname:n,search:y(t)})}function y(e){var t,r={};if(e){var i,n=e.refererInfo;n&&(n.location&&(r.RefererUrl=encodeURIComponent(n.location),n.reachedTop||(r.SafeFrame=!0)),r.PageUrl=encodeURIComponent(n.topmostLocation),r.PageReferrer=encodeURIComponent(n.location));var a=null===(i=e.ortb2)||void 0===i?void 0:i.site;a&&(r.PageUrl=encodeURIComponent(a.page||(null==n?void 0:n.topmostLocation)),r.PageReferrer=encodeURIComponent(a.ref||(null==n?void 0:n.location)))}var o=null==e||null===(t=e.refererInfo)||void 0===t?void 0:t.canonicalUrl;return o&&(r.CanonicalUrl=encodeURIComponent(o)),r}function h(e){var t=e.sizes||[];return e.mediaTypes&&e.mediaTypes.banner&&(t=e.mediaTypes.banner.sizes||[]),e.params&&Array.isArray(e.params.size)&&(t=e.params.size,Array.isArray(t[0])||(t=[t])),(0,a.sF)(t)}function I(e){var t={},r=e[0];if("string"!=typeof r)return t;var i=r.toUpperCase().split("X"),n=parseInt(i[0],10);n&&(t.width=n);var a=parseInt(i[1],10);return a&&(t.height=a),t}function b(e){return e?"https://blobs.omnitagjs.com/blobs/"+e.substr(16,2)+"/"+e.substr(16)+"/"+e:""}function k(e,t,r,i){var n="";if(t&&t.Kind)switch(t.Kind){case"INTERNAL":n=b(t.Data.Internal.BlobReference.Uid);break;case"EXTERNAL":var a=e.DynamicPrefix,o=t.Data.External.Url;if((o=(o=o.replace(/\[height\]/i,""+i)).replace(/\[width\]/i,""+r)).indexOf(a)>=0){var c=/.*url=([^&]*)/gm.exec(o);(n=c?c[1]:"")||(n=b(/.*key=([^&]*)/gm.exec(o)[1]))}else n=o}return n}function C(e,t){var r=[];return e?(e.map((function(e,i){(t&&"JAVASCRIPT_URL"===e.Kind||!t&&"PIXEL_URL"===e.Kind)&&r.push(e.Url)})),r):r}(0,o.dX)(m),window.pbjs.installedModules.push("adyoulikeBidAdapter")},4192:function(e,t,r){r.d(t,{HQ:function(){return c},Pv:function(){return s},UR:function(){return a}});var i=r(4358),n=r(265),a={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var t=(0,i.ei)(e,["h1","h2","h3"]);if(Object.keys(t).length)return t}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var t="";return e&&e.ext&&e.ext.DeviceID&&(t=e.ext.DeviceID),t},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=(0,i.ei)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(e){var t;return null!=e&&null!==(t=e.ext)&&void 0!==t&&t.ssp?"".concat(e.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},cpexId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:"paf",atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var t=e.identifiers[0];return{version:t.version,type:t.type,source:t.source}}}}};function o(e,t){var r=a[t];if(r&&e){var n={};n.source=(0,i.LQ)(r.getSource)?r.getSource(e):r.source;var o=(0,i.LQ)(r.getValue)?r.getValue(e):e;if((0,i.d8)(o)){var c={id:o,atype:r.atype};if((0,i.LQ)(r.getUidExt)){var s=r.getUidExt(e);s&&(c.ext=s)}if(n.uids=[c],(0,i.LQ)(r.getEidExt)){var d=r.getEidExt(e);d&&(n.ext=d)}return n}}return null}function c(e){var t=[],r=function(r){if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[r]))e[r].forEach((function(e,i,n){var a=o(e,r);a&&t.push(a)}));else{var i=o(e[r],r);i&&t.push(i)}};for(var i in e)r(i);return t}function s(e){var t=[];return e.filter((function(e){return(0,i.PO)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){(0,n.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,n.Z)(a,r+".source")&&t.push({source:a[r].source,bidders:e.config.bidders})}))})),t}}},function(e){e.O(0,[6866],(function(){return t=7579,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[5301],{4041:function(e,t,n){var r=n(4942),i=n(1002),a=n(5339),o=n(4679),u=n(4358),c=n(265),s=n(3193);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=(0,n(5164).df)({gvlid:737,bidderCode:"amx"}),f=/\.com?\.\w{2,4}$/,m=/^\s*<\??(?:vast|xml)/i,b="__amuidpb";var g=function(e,t){return e.concat((0,c.Z)(t,"".concat(o.Mk,".sizes"),[])||[]).concat((0,c.Z)(t,"".concat(o.pX,".sizes"),[])||[]).sort((function(e,t){return t[0]*t[1]-e[0]*e[1]}))[0]};function h(e,t){return null==e?[]:e.map(t).reduce((function(e,t){return null!=t&&e.concat(t)}),[])}var y=function(e){return null!=e&&m.test(e)};var v=function(e,t){return null==e||(0,i.Z)(e)===t};function w(e){var t=e.hostname.split("."),n=t.slice(t.length-(f.test(e.hostname)?3:2)).join(".");return btoa(n).replace(/=+$/,"")}var O=encodeURIComponent;function j(){try{return l.getDataFromLocalStorage(b)}catch(e){return null}}function I(e){var t={};return(0,u.yi)(e,(function(e){t[e.bidId]=function(e){var t=g(e.sizes,e.mediaTypes)||[0,0],n=e.mediaType===o.pX||o.pX in e.mediaTypes,r=n||t[1]>100,i=(0,c.Z)(e,"params.tagId"),a=null!=e.params&&"string"==typeof e.params.adUnitId&&""!==e.params.adUnitId?e.params.adUnitId:e.adUnitCode,u=[e.sizes,(0,c.Z)(e,"mediaTypes.".concat(o.Mk,".sizes"),[])||[],(0,c.Z)(e,"mediaTypes.".concat(o.pX,".sizes"),[])||[]],s=(0,c.Z)(e,"mediaTypes.".concat(o.pX),{})||{},d={au:a,av:r,vd:s,vr:n,ms:u,aw:t[0],ah:t[1],tf:0,sc:e.schain||{},f:T(k(e)),rtb:e.ortb2Imp};"string"==typeof i&&i.length>0&&(d.i=i);return d}(e)})),t}var C=function(e,t){return(0,u.hq)("".concat("https://1x1.a-mo.net/hbx/","g_").concat(e,"?").concat((0,u.Yp)(p(p({},t),{},{ts:Date.now(),eid:(0,u._d)()}))))},Z=0;function T(e){return"number"==typeof e&&isFinite(e)&&e>0?e:Z}function k(e){if(!(0,u.LQ)(e.getFloor))return(0,c.Z)(e,"params.floor",Z);try{return e.getFloor({currency:"USD",mediaType:"*",size:"*",bidRequest:e}).floor}catch(e){return(0,u.H)("call to getFloor failed: ",e),Z}}function q(e,t,n){return(0,c.Z)(e,"refererInfo."+t,n)}var S={code:"amx",gvlid:737,supportedMediaTypes:[o.Mk,o.pX],isBidRequestValid:function(e){return v((0,c.Z)(e,"params.endpoint",null),"string")&&v((0,c.Z)(e,"params.tagId",null),"string")},buildRequests:function(e,t){var n,r,i,a,o=(n=t,(0,u.en)((null===(r=n.refererInfo)||void 0===r?void 0:r.topmostLocation)||window.location.href)),d=(0,c.Z)(e[0],"params.tagId",null),p=(0,c.Z)(e[0],"params.testMode",0),l=null!=e[0]?e[0]:{bidderRequestsCount:0,bidderWinsCount:0,bidRequestsCount:0};return{data:{a:t.auctionId,B:0,b:o.host,brc:l.bidderRequestsCount||0,bwc:l.bidderWinsCount||0,trc:l.bidRequestsCount||0,tm:(a=p,!0===a||1===a||"true"===a),V:"7.36.0",vg:"pbjs",i:p&&null!=d?d:w(o),l:{},f:.01,cv:"pba1.3.2",st:"prebid",h:screen.height,w:screen.width,gs:(0,c.Z)(t,"gdprConsent.gdprApplies",""),gc:(0,c.Z)(t,"gdprConsent.consentString",""),u:q(t,"page",o.href),do:q(t,"site",o.hostname),re:q(t,"ref"),am:j(),usp:t.uspConsent||"1---",smt:1,d:"",m:I(e),cpp:s.vc.getConfig("coppa")?1:0,fpd2:t.ortb2,tmax:s.vc.getConfig("bidderTimeout"),amp:q(t,"isAmp",null),eids:(i=e.reduce((function(e,t){return null==t||null==t.userIdAsEids||(0,u.yi)(t.userIdAsEids,(function(t){null!=t&&(e[t.source]=t)})),e}),{}),null!=Object.values?Object.values(i):Object.keys(i).map((function(e){return i[e]})))},method:"POST",url:(0,c.Z)(e[0],"params.endpoint","https://prebid.a-mo.net/a/c"),withCredentials:!0}},getUserSyncs:function(e,t){if(null==t||0===t.length)return[];var n=[];return(0,u.yi)(t,(function(t){var r=t.body;null!=r&&null!=r.p&&r.p.hreq&&(0,u.yi)(r.p.hreq,(function(t){var r=-1!==t.indexOf("__st=iframe")?"iframe":"image";(e.iframeEnabled||"image"===r)&&n.push({url:t,type:r})}))})),n},interpretResponse:function(e,t){var n=e.body;return null==n||"string"==typeof n?[]:(n.am&&"string"==typeof n.am&&function(e){try{l.setDataInLocalStorage(b,e)}catch(e){}}(n.am),h(Object.keys(n.r),(function(e){return h(n.r[e],(function(n){return n.b.map((function(n){var i,a=function(e){return y(e.adm)?o.pX:o.Mk}(n),u=n.adm;if(null==u)return null;var c=function(e,t,n){if(null!=e.w&&e.w>1&&null!=e.h&&e.h>1)return[e.w,e.h];var r=t.m[n];return null==r?[0,0]:[r.aw,r.ah]}(n,t.data,e),s=a===o.Mk?240:300;return i={requestId:e,cpm:n.price,width:c[0],height:c[1],creativeId:n.crid,currency:"USD",netRevenue:!0},(0,r.Z)(i,a===o.pX?"vastXml":"ad",u),(0,r.Z)(i,"meta",{advertiserDomains:n.adomain,mediaType:a}),(0,r.Z)(i,"mediaType",a),(0,r.Z)(i,"ttl","number"==typeof n.exp?n.exp:s),i}))})).filter((function(e){return null!=e}))})))},onSetTargeting:function(e){var t,n;null!=e&&C("pbst",{A:e.bidder,w:e.width,h:e.height,bid:e.adId,c1:e.mediaType,np:e.cpm,aud:e.requestId,a:e.adUnitCode,c2:(t=e.adserverTargeting,n=[],Object.keys(t||{}).forEach((function(e){n.push(O(e)+"="+O(String(t[e])))})),O(n.join("&")))})},onTimeout:function(e){null!=e&&C("pbto",{A:e.bidder,bid:e.bidId,a:e.adUnitCode,cn:e.timeout,aud:e.auctionId})},onBidWon:function(e){null!=e&&C("pbwin",{A:e.bidder,w:e.width,h:e.height,bid:e.adId,C:e.mediaType===o.Mk?0:1,np:e.cpm,a:e.adUnitCode})}};(0,a.dX)(S),window.pbjs.installedModules.push("amxBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=4041,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7254],{1570:function(e,n,t){var r=t(1002);function i(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}var a,o,s,c=t(4358),d=t(6475),p=t(5339),u=t(4679),l={AOL:"aol",VERIZON:"verizon",ONEMOBILE:"onemobile",ONEDISPLAY:"onedisplay"},m={DISPLAY:{GET:"display-get"},MOBILE:{GET:"mobile-get",POST:"mobile-post"}},f={TAG:"iframe",TYPE:"iframe"},g={TAG:"img",TYPE:"image"},b=["admixer.net","adserver.org","adtelligent.com","akamai.com","amxdt.net","audigent.com","britepool.com","criteo.com","crwdcntrl.net","deepintent.com","epsilon.com","hcn.health","id5-sync.com","idx.lat","intentiq.com","intimatemerger.com","liveintent.com","liveramp.com","mediawallahscript.com","merkleinc.com","netid.de","neustar.biz","nextroll.com","novatiq.com","parrable.com","pubcid.org","quantcast.com","tapad.com","uidapi.com","verizonmedia.com","yahoo.com","zeotap.com"],h=P(a||(a=i(["","/pubapi/3.0/","/","/","/","/ADTECH;v=2;cmd=bid;cors=yes;alias=",";misc=",";",""])),"host","network","placement","pageid","sizeid","alias","misc","dynamicParams"),v=P(o||(o=i(["","/bidRequest?"])),"host"),O=P(s||(s=i(["dcn=","&pos=","&cmd=bid",""])),"dcn","pos","dynamicParams"),E={us:"adserver-us.adtech.advertising.com",eu:"adserver-eu.adtech.advertising.com",as:"adserver-as.adtech.advertising.com"},y="https",I={TRUE:1,FALSE:0};function P(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=r[r.length-1]||{},o=[e[0]];return t.forEach((function(n,t){var i=(0,c.U)(n)?r[n]:a[n];o.push(i,e[t+1])})),o.join("")}}function C(e){return e===l.AOL||e===l.VERIZON||e===l.ONEMOBILE}function S(e){if(C(e.bidder)&&e.params.id&&e.params.imp&&e.params.imp[0]){var n=e.params.imp[0];return n.id&&n.tagid&&n.banner&&n.banner.w&&n.banner.h}}function T(e){return C(e.bidder)&&e.params.dcn&&e.params.pos}function R(e){return((n=e.bidder)===l.AOL||n===l.VERIZON||n===l.ONEDISPLAY)&&e.params.placement&&e.params.network;var n}function x(e){return e.userIdAsEids.filter((function(e){return-1!==b.indexOf(e.source)}))}var M={code:l.AOL,gvlid:25,aliases:[l.ONEMOBILE,l.ONEDISPLAY,l.VERIZON],supportedMediaTypes:[u.Mk],isBidRequestValid:function(e){return R(e)||function(e){return T(e)||S(e)}(e)},buildRequests:function(e,n){var t,r,i=this,a={};n&&(a.gdpr=n.gdprConsent,a.uspConsent=n.uspConsent,a.gppConsent=n.gppConsent,!a.gppConsent&&null!==(t=n.ortb2)&&void 0!==t&&null!==(r=t.regs)&&void 0!==r&&r.gpp&&(a.gppConsent={gppString:n.ortb2.regs.gpp,applicableSections:n.ortb2.regs.gpp_sid}));return e.map((function(e){var n=function(e){return T(e)?m.MOBILE.GET:S(e)?m.MOBILE.POST:R(e)?m.DISPLAY.GET:void 0}(e);if(n)return i.formatBidRequest(n,e,a)}))},interpretResponse:function(e,n){var t=e.body;if(t){var r=this._parseBidResponse(t,n);if(r)return r}else(0,c.H)("Empty bid response",n.bidderCode,t)},getUserSyncs:function(e,n){var t=!(0,c.xb)(n)&&n[0].body;return t&&t.ext&&t.ext.pixels?this.parsePixelItems(t.ext.pixels):[]},formatBidRequest:function(e,n,t){var r;switch(e){case m.DISPLAY.GET:r={url:this.buildMarketplaceUrl(n,t),method:"GET",ttl:60};break;case m.MOBILE.GET:r={url:this.buildOneMobileGetUrl(n,t),method:"GET",ttl:3600};break;case m.MOBILE.POST:r={url:this.buildOneMobileBaseUrl(n),method:"POST",ttl:3600,data:this.buildOpenRtbRequestData(n,t),options:{contentType:"application/json",customHeaders:{"x-openrtb-version":"2.2"}}}}return r.bidderCode=n.bidder,r.bidId=n.bidId,r.userSyncOn=n.params.userSyncOn,r},buildMarketplaceUrl:function(e,n){var t,r=e.params,i=r.server,a=r.region||"us";return E.hasOwnProperty(a)||((0,c.yN)("Unknown region '".concat(a,"' for AOL bidder.")),a="us"),t=i||E[a],r.region=a,this.applyProtocol(h({host:t,network:r.network,placement:parseInt(r.placement),pageid:r.pageId||0,sizeid:r.sizeId||0,alias:r.alias||(0,c._d)(),misc:(new Date).getTime(),dynamicParams:this.formatMarketplaceDynamicParams(r,n)}))},buildOneMobileGetUrl:function(e,n){var t=e.params,i=t.dcn,a=t.pos,o=t.ext;"object"===(0,r.Z)(e.userId)&&(o=o||{},x(e).forEach((function(e){o["eid"+e.source]=e.uids[0].id})));var s=this.buildOneMobileBaseUrl(e);if(i&&a){var c=this.formatOneMobileDynamicParams(o,n);s+=O({dcn:i,pos:a,dynamicParams:c})}return s},buildOneMobileBaseUrl:function(e){return this.applyProtocol(v({host:e.params.host||"c2shb.ssp.yahoo.com"}))},applyProtocol:function(e){return/^https?:\/\//i.test(e)?e:0===e.indexOf("//")?"".concat(y,":").concat(e):"".concat(y,"://").concat(e)},formatMarketplaceDynamicParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t={};Object.assign(t,this.formatKeyValues(e.keyValues)),Object.assign(t,this.formatConsentData(n));var r="";return(0,c.yi)(t,(function(e,n){r+="".concat(n,"=").concat(encodeURIComponent(e),";")})),r},formatOneMobileDynamicParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.isSecureProtocol()&&(e.secure=I.TRUE),Object.assign(e,this.formatConsentData(n));var t="";return(0,c.yi)(e,(function(e,n){t+="&".concat(n,"=").concat(encodeURIComponent(e))})),t},buildOpenRtbRequestData:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t={id:e.params.id,imp:e.params.imp};if(this.isEUConsentRequired(n)&&((0,d.N)(t,"regs.ext.gdpr",I.TRUE),n.gdpr.consentString&&(0,d.N)(t,"user.ext.consent",n.gdpr.consentString)),n.uspConsent&&(0,d.N)(t,"regs.ext.us_privacy",n.uspConsent),"object"===(0,r.Z)(e.userId)){t.user=t.user||{},t.user.ext=t.user.ext||{};var i=x(e);i.length>0&&(t.user.ext.eids=i)}return t},isEUConsentRequired:function(e){return!!(e&&e.gdpr&&e.gdpr.gdprApplies)},formatKeyValues:function(e){var n={};return(0,c.yi)(e,(function(e,t){n["kv".concat(t)]=e})),n},formatConsentData:function(e){var n={};return this.isEUConsentRequired(e)&&(n.gdpr=I.TRUE,e.gdpr.consentString&&(n.euconsent=e.gdpr.consentString)),e.uspConsent&&(n.us_privacy=e.uspConsent),e.gppConsent&&e.gppConsent.gppString&&(n.gpp=e.gppConsent.gppString,n.gpp_sid=e.gppConsent.applicableSections),n},parsePixelItems:function(e){var n=/\w*(?=\s)/,t=/src=("|')(.*?)\1/,r=[];if(e){var i=e.match(/(img|iframe)[\s\S]*?src\s*=\s*("|')(.*?)\2/gi);i&&i.forEach((function(e){var i=e.match(n)[0],a=e.match(t)[2];i&&a&&r.push({type:i===g.TAG?g.TYPE:f.TYPE,url:a})}))}return r},_parseBidResponse:function(e,n){var t,r;try{t=e.seatbid[0].bid[0]}catch(e){return}if(t.ext&&t.ext.encp)r=t.ext.encp;else if(null===(r=t.price)||isNaN(r))return void(0,c.H)("Invalid price in bid response",l.AOL,t);return{bidderCode:n.bidderCode,requestId:n.bidId,ad:t.adm,cpm:r,width:t.w,height:t.h,creativeId:t.crid||0,pubapiId:e.id,currency:e.cur||"USD",dealId:t.dealid,netRevenue:!0,meta:{advertiserDomains:t&&t.adomain?t.adomain:[]},ttl:n.ttl}},isOneMobileBidder:C,isSecureProtocol:function(){return"https:"===document.location.protocol}};(0,p.dX)(M),window.pbjs.installedModules.push("aolBidAdapter")}},function(e){e.O(0,[6866],(function(){return n=1570,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[273],{530:function(e,r,n){var t=n(265),i=n(4358),a=n(3193),o=n(5339),s=n(7673),d=n(5102),u={},c={},p={code:"apacdex",supportedMediaTypes:["banner","video"],aliases:["quantumdex","valueimpression"],isBidRequestValid:function(e){if(!e.params)return!1;if(!e.params.siteId&&!e.params.placementId)return!1;if(!(0,t.Z)(e,"mediaTypes.banner")&&!(0,t.Z)(e,"mediaTypes.video"))return!1;if((0,t.Z)(e,"mediaTypes.banner")){if(!(0,t.Z)(e,"mediaTypes.banner.sizes"))return!1}else if((0,t.Z)(e,"mediaTypes.video")&&!(0,t.Z)(e,"mediaTypes.video.playerSize"))return!1;return!0},buildRequests:function(e,r){var n,t,o,s,p,l=[];p=a.vc.getConfig("debug"),e.forEach((function(e){e.schain&&(t=t||e.schain),e.userIdAsEids&&(o=o||e.userIdAsEids),e.params&&e.params.geo&&function(e){if(!(0,i.PO)(e))return!1;if(!e.lat)return!1;if(!e.lon)return!1;if(!e.accuracy)return!1;return!0}(e.params.geo)&&(s=e.params.geo);var r=0;if(null!=u[e.adUnitCode])r=u[e.adUnitCode];else{var n=function(e){if(e.length<=0)return!1;for(var r=0,n=0,t=0;t<e.length;t++){var i=e[t][0]*e[t][1];i>=r&&(r=i,n=t)}return e[n][0]+"x"+e[n][1]}(e.sizes);n&&(null!=c[n]?(c[n]++,r=c[n]):(c[n]=0,r=0))}u[e.adUnitCode]=r,e.targetKey=r;var a=function(e){if(!(0,i.LQ)(e.getFloor))return e.params.floorPrice?e.params.floorPrice:null;var r=e.getFloor({currency:"USD",mediaType:"*",size:"*"});if((0,i.PO)(r)&&!isNaN(r.floor)&&"USD"===r.currency)return r.floor;return null}(e);a&&(e.bidFloor=a),l.push(JSON.parse(JSON.stringify(e)))}));var f={};f.tmax=r.timeout,p&&(f.test=1),f.device={},f.device.ua=navigator.userAgent,f.device.height=window.screen.width,f.device.width=window.screen.height,f.device.dnt=function(){try{if(window.top.doNotTrack&&"1"==window.top.doNotTrack)return 1}catch(e){}try{if(navigator.doNotTrack&&("yes"==navigator.doNotTrack||"1"==navigator.doNotTrack))return 1}catch(e){}try{if(navigator.msDoNotTrack&&"1"==navigator.msDoNotTrack)return 1}catch(e){}return 0}(),f.device.language=navigator.language;var m=function(e){var r;return(null==e||null===(r=e.refererInfo)||void 0===r?void 0:r.page)||window.location.href}(r);return f.site={},f.site.page=m,f.site.referrer=function(e){var r;return(null==e||null===(r=e.refererInfo)||void 0===r?void 0:r.ref)||window.document.referrer}(r),f.site.hostname=(null===(n=r.refererInfo)||void 0===n?void 0:n.domain)||(0,d.hh)(m),r&&r.gdprConsent&&(f.gdpr={},f.gdpr.gdprApplies=!!r.gdprConsent.gdprApplies,r.gdprConsent.consentString&&(f.gdpr.consentString=r.gdprConsent.consentString)),r&&r.uspConsent&&(f.us_privacy=r.uspConsent),t&&(f.schain=t),o&&(f.eids=o),s&&(f.geo=s),f.bids=l.map((function(e){return{params:e.params,mediaTypes:e.mediaTypes,transactionId:e.transactionId,sizes:e.sizes,bidId:e.bidId,adUnitCode:e.adUnitCode,bidFloor:e.bidFloor}})),{method:"POST",url:"https://useast.quantumdex.io/auction/pbjs",data:f,withCredentials:!0,bidderRequests:l}},interpretResponse:function(e,r){var n=e.body;if(!n||!(0,i.PO)(n))return[];var t=n.bids;if(!t||!(0,i.kJ)(t))return[];var a=[];return t.forEach((function(e){var r=e.dealId||"",n={requestId:e.requestId,cpm:e.cpm,width:e.width,height:e.height,creativeId:e.creativeId,currency:e.currency,netRevenue:e.netRevenue,ttl:e.ttl,mediaType:e.mediaType};r.length>0&&(n.dealId=r),e.vastXml?n.vastXml=(0,i.ew)(e.vastXml,e.cpm):n.ad=(0,i.ew)(e.ad,e.cpm),n.meta={},e.meta&&e.meta.advertiserDomains&&(0,i.kJ)(e.meta.advertiserDomains)&&(n.meta.advertiserDomains=e.meta.advertiserDomains),a.push(n)})),a},getUserSyncs:function(e,r,n,t){var i=[];if((0,s.h)(n)){var a="";n&&"string"==typeof n.consentString&&(a="boolean"==typeof n.gdprApplies?"?gdpr=".concat(Number(n.gdprApplies),"&gdpr_consent=").concat(n.consentString):"?gdpr_consent=".concat(n.consentString)),t&&(a+="".concat(a?"&":"?","us_privacy=").concat(encodeURIComponent(t)));try{e.iframeEnabled&&i.push({type:"iframe",url:"https://sync.quantumdex.io/usersync/pbjs"+a}),r.length>0&&r[0].body&&r[0].body.pixel&&r[0].body.pixel.forEach((function(r){"image"===r.type&&e.pixelEnabled&&i.push({type:"image",url:r.url+a}),"iframe"===r.type&&e.iframeEnabled&&i.push({type:"iframe",url:r.url+a})}))}catch(e){}}return i}};(0,o.dX)(p),window.pbjs.installedModules.push("apacdexBidAdapter")},7673:function(e,r,n){n.d(r,{h:function(){return i}});var t=n(265);function i(e){return null==e||!e.gdprApplies||!0===(0,t.Z)(e,"vendorData.purpose.consents.1")}}},function(e){e.O(0,[6866],(function(){return r=530,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[3864],{6319:function(e,r,a){var n=a(1002),t=a(9062),i=a(4358),s=a(265),o=a(5706),d=a(3193),p=a(5339),u=a(4679),c=a(5383),l=a(4614),m=a(154),f=a(5164),v=a(5975),b=a(7673),_=a(59),g="appnexus",y="https://ib.adnxs.com/ut/v3/prebid",h="https://ib.adnxs-simple.com/ut/v3/prebid",k=["id","minduration","maxduration","skippable","playback_method","frameworks","context","skipoffset"],w=["minduration","maxduration","skip","skipafter","playbackmethod","api","startdelay"],x=["age","externalUid","external_uid","segments","gender","dnt","language"],I=["geo","device_id"],C=["enabled","dongle","member_id","debug_timeout"],E={apn_debug_dongle:"dongle",apn_debug_member_id:"member_id",apn_debug_timeout:"debug_timeout"},O={playback_method:{unknown:0,auto_play_sound_on:1,auto_play_sound_off:2,click_to_play:3,mouse_over:4,auto_play_sound_unknown:5},context:{unknown:0,pre_roll:1,mid_roll:2,post_roll:3,outstream:4,"in-banner":5}},j={body:"description",body2:"desc2",cta:"ctatext",image:{serverName:"main_image",requiredParams:{required:!0}},icon:{serverName:"icon",requiredParams:{required:!0}},sponsoredBy:"sponsored_by",privacyLink:"privacy_link",salePrice:"saleprice",displayUrl:"displayurl"},T=15,q="<script",S=/\/\/cdn\.adnxs\.com\/v|\/\/cdn\.adnxs\-simple\.com\/v/,U="trk.js",R=(0,f.df)({gvlid:32,bidderCode:g}),A={code:g,gvlid:32,aliases:[{code:"appnexusAst",gvlid:32},{code:"emxdigital",gvlid:183},{code:"pagescience"},{code:"defymedia"},{code:"gourmetads"},{code:"matomy"},{code:"featureforward"},{code:"oftmedia"},{code:"adasta"},{code:"beintoo",gvlid:618}],supportedMediaTypes:[u.Mk,u.pX,u.B5],isBidRequestValid:function(e){return!!(e.params.placementId||e.params.placement_id||e.params.member&&(e.params.invCode||e.params.inv_code))},buildRequests:function(e,r){var a,n,o=(e=(0,_.lY)(e)).map(Z),p=(0,l.sE)(e,z),u={};!0===d.vc.getConfig("coppa")&&(u={coppa:!0}),p&&Object.keys(p.params.user).filter((function(e){return(0,l.q9)(x,e)})).forEach((function(e){var r=(0,i.G2)(e);if("segments"===e&&(0,i.kJ)(p.params.user[e])){var a=[];p.params.user[e].forEach((function(e){(0,i.hj)(e)?a.push({id:e}):(0,i.PO)(e)&&a.push(e)})),u[r]=a}else"segments"!==e&&(u[r]=p.params.user[e])}));var c,m=(0,l.sE)(e,J);m&&m.params&&m.params.app&&(c={},Object.keys(m.params.app).filter((function(e){return(0,l.q9)(I,e)})).forEach((function(e){return c[e]=m.params.app[e]})));var f,v=(0,l.sE)(e,M);v&&v.params&&m.params.app&&m.params.app.id&&(f={appid:v.params.app.id});var g={},k={},w=R.getCookie("apn_prebid_debug")||null;if(w)try{g=JSON.parse(w)}catch(e){(0,i.H)("AppNexus Debug Auction Cookie Error:\n\n"+e)}else{Object.keys(E).forEach((function(e){var r=(0,i.rD)(e);(0,i.d8)(r)&&""!==r&&(g[E[e]]=r,g.enabled=!0)})),g=(0,i.uh)({member_id:"number",debug_timeout:"number"},g);var O=(0,l.sE)(e,X);O&&O.debug&&(g=O.debug)}g&&g.enabled&&Object.keys(g).filter((function(e){return(0,l.q9)(C,e)})).forEach((function(e){k[e]=g[e]}));var j=(0,l.sE)(e,D),q=j?parseInt(j.params.member,10):0,S=e[0].schain,U=(0,l.sE)(e,L),A={tags:(0,t.Z)(o),user:u,sdk:{source:"pbjs",version:"7.36.0"},schain:S};U&&(A.iab_support={omidpn:"Appnexus",omidpv:"7.36.0"}),q>0&&(A.member_id=q),m&&(A.device=c),v&&(A.app=f);var P,B,V=(0,i.I8)(r&&r.ortb2),F=(P=V,B=[],["site.keywords","site.content.keywords","user.keywords","app.keywords","app.content.keywords"].forEach((function(e){var r=(0,s.Z)(P,e);(0,i.d8)(r)&&B.push(r)})),B).map((function(e){return K(e)})),$=(0,i.I8)(d.vc.getConfig("appnexusAuctionKeywords"))||{};Object.keys($).forEach((function(e){((0,i.d8)($[e])||(0,i.hj)($[e]))&&($[e]=[$[e]])}));var Q=i.Ee.apply(void 0,[{},$].concat((0,t.Z)(F))),W=(0,i.Bq)(Q);if(W.length>0&&(W.forEach(N),A.keywords=W),d.vc.getConfig("adpod.brandCategoryExclusion")&&(A.brand_category_uniqueness=!0),k.enabled&&(A.debug=k,(0,i.PN)("AppNexus Debug Auction Settings:\n\n"+JSON.stringify(k,null,4))),r&&r.gdprConsent&&(A.gdpr_consent={consent_string:r.gdprConsent.consentString,consent_required:r.gdprConsent.gdprApplies},r.gdprConsent.addtlConsent&&-1!==r.gdprConsent.addtlConsent.indexOf("~"))){var Y=r.gdprConsent.addtlConsent,ee=Y.substring(Y.indexOf("~")+1);A.gdpr_consent.addtl_consent=ee.split(".").map((function(e){return parseInt(e,10)}))}if(r&&r.uspConsent&&(A.us_privacy=r.uspConsent),null!=r&&r.gppConsent?A.privacy={gpp:r.gppConsent.gppString,gpp_sid:r.gppConsent.applicableSections}:null!=r&&null!==(a=r.ortb2)&&void 0!==a&&null!==(n=a.regs)&&void 0!==n&&n.gpp&&(A.privacy={gpp:r.ortb2.regs.gpp,gpp_sid:r.ortb2.regs.gpp_sid}),r&&r.refererInfo){var re={rd_ref:encodeURIComponent(r.refererInfo.topmostLocation),rd_top:r.refererInfo.reachedTop,rd_ifs:r.refererInfo.numIframes,rd_stk:r.refererInfo.stack.map((function(e){return encodeURIComponent(e)})).join(",")},ae=r.refererInfo.canonicalUrl;(0,i.d8)(ae)&&""!==ae&&(re.rd_can=ae),A.referrer_detection=re}if((0,l.sE)(e,H)&&e.filter(H).forEach((function(e){var r=function(e,r){var a=r.mediaTypes.video,n=a.durationRangeSec,s=a.requireExactDuration,o=function(e){var r=e.adPodDurationSec,a=e.durationRangeSec,n=e.requireExactDuration,t=(0,i.XV)(a),s=Math.floor(r/t);return n?Math.max(s,a.length):s}(r.mediaTypes.video),d=(0,i.d5)(n),p=e.filter((function(e){return e.uuid===r.bidId})),u=i.hl.apply(void 0,(0,t.Z)(p).concat([o]));if(s){var c=Math.ceil(o/n.length),l=(0,i.yo)(u,c);n.forEach((function(e,r){l[r].map((function(r){G(r,"minduration",e),G(r,"maxduration",e)}))}))}else u.map((function(e){return G(e,"maxduration",d)}));return u}(o,e),a=A.tags.filter((function(r){return r.uuid!==e.bidId}));A.tags=[].concat((0,t.Z)(a),(0,t.Z)(r))})),e[0].userId){var ne=[];e[0].userIdAsEids.forEach((function(e){!e||!e.uids||e.uids.length<1||e.uids.forEach((function(r){var a={source:e.source,id:r.id};"adserver.org"==e.source?a.rti_partner="TDID":"uidapi.com"==e.source&&(a.rti_partner="UID2"),ne.push(a)}))})),ne.length&&(A.eids=ne)}o[0].publisher_id&&(A.publisher_id=o[0].publisher_id);var te=function(e,r){var a=[],n={withCredentials:!0},t=y;(0,b.h)(null==r?void 0:r.gdprConsent)||(t=h);"TRUE"!==(0,i.rD)("apn_test").toUpperCase()&&!0!==d.vc.getConfig("apn_test")||(n.customHeaders={"X-Is-Test":1});if(e.tags.length>T){var s=(0,i.I8)(e);(0,i.yo)(e.tags,T).forEach((function(e){s.tags=e;var i=JSON.stringify(s);a.push({method:"POST",url:t,data:i,bidderRequest:r,options:n})}))}else{var o=JSON.stringify(e);a={method:"POST",url:t,data:o,bidderRequest:r,options:n}}return a}(A,r);return te},interpretResponse:function(e,r){var a=this,n=r.bidderRequest;e=e.body;var t=[];if(!e||e.error){var d="in response for ".concat(n.bidderCode," adapter");return e&&e.error&&(d+=": ".concat(e.error)),(0,i.H)(d),t}if(e.tags&&e.tags.forEach((function(e){var r,d=(r=e)&&r.ads&&r.ads.length&&(0,l.sE)(r.ads,(function(e){return e.rtb}));if(d&&((!0===v.S.get(n.bidderCode,"allowZeroCpmBids")?d.cpm>=0:d.cpm>0)&&(0,l.q9)(a.supportedMediaTypes,d.ad_type))){var c=function(e,r,a){var n=(0,i.zE)(e.uuid,[a]),t=(0,i._d)(),d={adId:t,requestId:e.uuid,cpm:r.cpm,creativeId:r.creative_id,dealId:r.deal_id,currency:"USD",netRevenue:!0,ttl:300,adUnitCode:n.adUnitCode,appnexus:{buyerMemberId:r.buyer_member_id,dealPriority:r.deal_priority,dealCode:r.deal_code}};r.adomain&&(d.meta=Object.assign({},d.meta,{advertiserDomains:[r.adomain]}));r.advertiser_id&&(d.meta=Object.assign({},d.meta,{advertiserId:r.advertiser_id}));function c(e){return{ver:"1.0",complete:0,nodes:[{bsid:e.buyer_member_id.toString()}]}}r.buyer_member_id&&(d.meta=Object.assign({},d.meta,{dchain:c(r)}));r.brand_id&&(d.meta=Object.assign({},d.meta,{brandId:r.brand_id}));if(r.rtb.video){switch(Object.assign(d,{width:r.rtb.video.player_width,height:r.rtb.video.player_height,vastImpUrl:r.notify_url,ttl:3600}),(0,s.Z)(n,"mediaTypes.video.context")){case u.Oh:var f=(0,p.Q1)(n.bidder,r.brand_category_id);d.meta=Object.assign({},d.meta,{primaryCatId:f});var v=r.deal_priority;d.video={context:u.Oh,durationSeconds:Math.floor(r.rtb.video.duration_ms/1e3),dealTier:v},d.vastUrl=r.rtb.video.asset_url;break;case m.gZ:if(d.adResponse=e,d.adResponse.ad=d.adResponse.ads[0],d.adResponse.ad.video=d.adResponse.ad.rtb.video,d.vastXml=r.rtb.video.content,r.renderer_url){var b=(0,l.sE)(a.bids,(function(r){return r.bidId===e.uuid})),_=(0,s.Z)(b,"mediaTypes.video.renderer.options");_||(_=(0,s.Z)(b,"renderer.options")),d.renderer=function(e,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=o.Th.install({id:r.renderer_id,url:r.renderer_url,config:a,loaded:!1,adUnitCode:e});try{n.setRender(V)}catch(e){(0,i.yN)("Prebid Error calling setRender on renderer",e)}return n.setEventHandlers({impression:function(){return(0,i.ji)("AppNexus outstream video impression event")},loaded:function(){return(0,i.ji)("AppNexus outstream video loaded event")},ended:function(){(0,i.ji)("AppNexus outstream renderer video event"),document.querySelector("#".concat(e)).style.display="none"}}),n}(d.adUnitCode,r,_)}break;case m.LD:d.vastUrl=r.notify_url+"&redir="+encodeURIComponent(r.rtb.video.asset_url)}}else if(r.rtb[u.B5]){var g,y=r.rtb[u.B5];if(function(e){if(!e||""===e)return!1;var r=e.match(S),a=null!=r&&r.length>=1,n=e.match(U),t=null!=n&&n.length>=1;return e.startsWith(q)&&t&&a}(r.viewability.config)){var h="pbjs_adid="+t+";pbjs_auc="+n.adUnitCode;g=r.viewability.config.replace("dom_id=%native_dom_id%",h)}var k=y.javascript_trackers;null==k?k=g:(0,i.d8)(k)?k=[k,g]:k.push(g),d[u.B5]={title:y.title,body:y.desc,body2:y.desc2,cta:y.ctatext,rating:y.rating,sponsoredBy:y.sponsored,privacyLink:y.privacy_link,address:y.address,downloads:y.downloads,likes:y.likes,phone:y.phone,price:y.price,salePrice:y.saleprice,clickUrl:y.link.url,displayUrl:y.displayurl,clickTrackers:y.link.click_trackers,impressionTrackers:y.impression_trackers,video:y.video,javascriptTrackers:k},y.main_img&&(d.native.image={url:y.main_img.url,height:y.main_img.height,width:y.main_img.width}),y.icon&&(d.native.icon={url:y.icon.url,height:y.icon.height,width:y.icon.width})}else{Object.assign(d,{width:r.rtb.banner.width,height:r.rtb.banner.height,ad:r.rtb.banner.content});try{if(r.rtb.trackers)for(var w=0;w<r.rtb.trackers[0].impression_urls.length;w++){var x=r.rtb.trackers[0].impression_urls[w],I=(0,i.SG)(x);d.ad+=I}}catch(e){(0,i.H)("Error appending tracking pixel",e)}}return d}(e,d,n);c.mediaType=function(e){var r=e.ad_type;return r===u.pX?u.pX:r===u.B5?u.B5:u.Mk}(d),t.push(c)}})),e.debug&&e.debug.debug_info){var c="AppNexus Debug Auction for Prebid\n\n"+e.debug.debug_info;c=c.replace(/(<td>|<th>)/gm,"\t").replace(/(<\/td>|<\/th>)/gm,"\n").replace(/^<br>/gm,"").replace(/(<br>\n|<br>)/gm,"\n").replace(/<h1>(.*)<\/h1>/gm,"\n\n===== $1 =====\n\n").replace(/<h[2-6]>(.*)<\/h[2-6]>/gm,"\n\n*** $1 ***\n\n").replace(/(<([^>]+)>)/gim,""),(0,i.ji)("https://console.appnexus.com/docs/understanding-the-debug-auction"),(0,i.ji)(c)}return t},getMappingFileInfo:function(){return{url:"https://acdn.adnxs-simple.com/prebid/appnexus-mapping/mappings.json",refreshInDays:2}},getUserSyncs:function(e,r,a,n,t){if(e.iframeEnabled&&(0,b.h)(a)&&function(e){return!e||!Array.isArray(e.applicableSections)||e.applicableSections.every((function(e){return"number"==typeof e&&e<=5}))}(t))return[{type:"iframe",url:"https://acdn.adnxs.com/dmp/async_usersync.html"}]},transformBidParams:function(e,r,a,n){var t=i.Bq;if(!0===r){var o=null,p=d.vc.getConfig("s2sConfig");(0,i.PO)(p)?o=(0,s.Z)(p,"endpoint.p1Consent"):(0,i.kJ)(p)&&p.forEach((function(e){(0,l.q9)(e.bidders,a.bids[0].bidder)&&(o=(0,s.Z)(e,"endpoint.p1Consent"))})),o&&o.match("/openrtb2/prebid")&&(t=$)}return e=(0,i.uh)({member:"string",invCode:"string",placementId:"number",keywords:t,publisherId:"number"},e),r&&(P(e.keywords)&&e.keywords.forEach(N),Object.keys(e).forEach((function(r){var a=(0,i.G2)(r);a!==r&&(e[a]=e[r],delete e[r])})),e.use_pmt_rule="boolean"==typeof e.use_payment_rule&&e.use_payment_rule,e.use_payment_rule&&delete e.use_payment_rule),e}};function P(e){return!!((0,i.kJ)(e)&&e.length>0)}function N(e){P(e.value)&&""===e.value[0]&&delete e.value}function Z(e){var r={};Object.keys(e.params).forEach((function(r){var a=(0,i.G2)(r);a!==r&&(e.params[a]=e.params[r],delete e.params[r])})),r.sizes=B(e.sizes),r.primary_size=r.sizes[0],r.ad_types=[],r.uuid=e.bidId,e.params.placement_id?r.id=parseInt(e.params.placement_id,10):r.code=e.params.inv_code,r.allow_smaller_sizes=e.params.allow_smaller_sizes||!1,r.use_pmt_rule="boolean"==typeof e.params.use_payment_rule?e.params.use_payment_rule:"boolean"==typeof e.params.use_pmt_rule&&e.params.use_pmt_rule,r.prebid=!0,r.disable_psa=!0;var a=function(e){if(!(0,i.LQ)(e.getFloor))return e.params.reserve?e.params.reserve:null;var r=e.getFloor({currency:"USD",mediaType:"*",size:"*"});if((0,i.PO)(r)&&!isNaN(r.floor)&&"USD"===r.currency)return r.floor;return null}(e);if(a&&(r.reserve=a),e.params.position)r.position={above:1,below:2}[e.params.position]||0;else{var n=(0,s.Z)(e,"mediaTypes.banner.pos")||(0,s.Z)(e,"mediaTypes.video.pos");0!==n&&1!==n&&3!==n||(r.position=3===n?2:n)}e.params.traffic_source_code&&(r.traffic_source_code=e.params.traffic_source_code),e.params.private_sizes&&(r.private_sizes=B(e.params.private_sizes)),e.params.supply_type&&(r.supply_type=e.params.supply_type),e.params.pub_click&&(r.pubclick=e.params.pub_click),e.params.ext_inv_code&&(r.ext_inv_code=e.params.ext_inv_code),e.params.publisher_id&&(r.publisher_id=parseInt(e.params.publisher_id,10)),e.params.external_imp_id&&(r.external_imp_id=e.params.external_imp_id);var t=(0,s.Z)(e,"ortb2Imp.ext.data.keywords");if((0,i.d8)(t)&&""!==t||!(0,i.xb)(e.params.keywords)){var o=K(t),d=(0,i.PO)(e.params.keywords)?(0,i.I8)(e.params.keywords):{};Object.keys(d).forEach((function(e){((0,i.d8)(d[e])||(0,i.hj)(d[e]))&&(d[e]=[d[e]])}));var p=(0,i.Ee)({},d,o),m=(0,i.Bq)(p);m.length>0&&(m.forEach(N),r.keywords=m)}var f,v,b=(0,s.Z)(e,"ortb2Imp.ext.data.pbadslot");if(b&&(r.gpid=b),(e.mediaType===u.B5||(0,s.Z)(e,"mediaTypes.".concat(u.B5)))&&(r.ad_types.push(u.B5),0===r.sizes.length&&(r.sizes=B([1,1])),e.nativeParams)){var _=(f=e.nativeParams,v={},Object.keys(f).forEach((function(e){var r=j[e]&&j[e].serverName||j[e]||e,a=j[e]&&j[e].requiredParams;if(v[r]=Object.assign({},a,f[e]),(r===j.image.serverName||r===j.icon.serverName)&&v[r].sizes){var n=v[r].sizes;((0,i.HC)(n)||(0,i.kJ)(n)&&n.length>0&&n.every((function(e){return(0,i.HC)(e)})))&&(v[r].sizes=B(v[r].sizes))}r===j.privacyLink&&(v.privacy_supported=!0)})),v);r[u.B5]={layouts:[_]}}var g=(0,s.Z)(e,"mediaTypes.".concat(u.pX)),y=(0,s.Z)(e,"mediaTypes.video.context");r.hb_source=g&&"adpod"===y?7:1,(e.mediaType===u.pX||g)&&r.ad_types.push(u.pX),(e.mediaType===u.pX||g&&"outstream"!==y)&&(r.require_asset_url=!0),e.params.video&&(r.video={},Object.keys(e.params.video).filter((function(e){return(0,l.q9)(k,e)})).forEach((function(a){switch(a){case"context":case"playback_method":var n=e.params.video[a];n=(0,i.kJ)(n)?n[0]:n,r.video[a]=O[a][n];break;case"frameworks":break;default:r.video[a]=e.params.video[a]}})),e.params.video.frameworks&&(0,i.kJ)(e.params.video.frameworks)&&(r.video_frameworks=e.params.video.frameworks)),g&&(r.video=r.video||{},Object.keys(g).filter((function(e){return(0,l.q9)(w,e)})).forEach((function(e){switch(e){case"minduration":case"maxduration":"number"!=typeof r.video[e]&&(r.video[e]=g[e]);break;case"skip":"boolean"!=typeof r.video.skippable&&(r.video.skippable=1===g[e]);break;case"skipafter":"number"!=typeof r.video.skipoffset&&(r.video.skippoffset=g[e]);break;case"playbackmethod":if("number"!=typeof r.video.playback_method){var a=g[e];(a=(0,i.kJ)(a)?a[0]:a)>=1&&a<=4&&(r.video.playback_method=a)}break;case"api":if(!r.video_frameworks&&(0,i.kJ)(g[e])){var n=g[e].map((function(e){var r=4===e?5:5===e?4:e;if(r>=1&&r<=5)return r})).filter((function(e){return e}));r.video_frameworks=n}break;case"startdelay":case"placement":var t="context";if("number"!=typeof r.video[t]){var s=g.placement,o=g.startdelay,d=function(e){if(!e)return;if(2===e)return"in-banner";if(e>2)return"outstream"}(s)||function(e){if(!e)return;if(0===e)return"pre_roll";if(-1===e)return"mid_roll";if(-2===e)return"post_roll"}(o);r.video[t]=O[t][d]}}}))),e.renderer&&(r.video=Object.assign({},r.video,{custom_renderer_present:!0})),e.params.frameworks&&(0,i.kJ)(e.params.frameworks)&&(r.banner_frameworks=e.params.frameworks);var h=(0,l.sE)(c.K.getAdUnits(),(function(r){return e.transactionId===r.transactionId}));return h&&h.mediaTypes&&h.mediaTypes.banner&&r.ad_types.push(u.Mk),0===r.ad_types.length&&delete r.ad_types,r}function B(e){var r=[],a={};if((0,i.kJ)(e)&&2===e.length&&!(0,i.kJ)(e[0]))a.width=parseInt(e[0],10),a.height=parseInt(e[1],10),r.push(a);else if("object"===(0,n.Z)(e))for(var t=0;t<e.length;t++){var s=e[t];(a={}).width=parseInt(s[0],10),a.height=parseInt(s[1],10),r.push(a)}return r}function z(e){return!!e.params.user}function D(e){return!!parseInt(e.params.member,10)}function J(e){if(e.params)return!!e.params.app}function M(e){return e.params&&e.params.app?!!e.params.app.id:!!e.params.app}function X(e){return!!e.debug}function H(e){return e.mediaTypes&&e.mediaTypes.video&&e.mediaTypes.video.context===u.Oh}function L(e){var r=!1,a=e.params,n=e.params.video;return a.frameworks&&(0,i.kJ)(a.frameworks)&&(r=(0,l.q9)(e.params.frameworks,6)),!r&&n&&n.frameworks&&(0,i.kJ)(n.frameworks)&&(r=(0,l.q9)(e.params.video.frameworks,6)),r}function G(e,r,a){(0,i.xb)(e.video)&&(e.video={}),e.video[r]=a}function V(e,r){!function(e){try{var r=document.getElementById(e).querySelectorAll("div[id^='google_ads']");r[0]&&r[0].style.setProperty("display","none")}catch(e){}}(e.adUnitCode),function(e){try{var r=document.getElementById(e).querySelectorAll("script[id^='sas_script']");r[0].nextSibling&&"iframe"===r[0].nextSibling.localName&&r[0].nextSibling.style.setProperty("display","none")}catch(e){}}(e.adUnitCode),e.renderer.push((function(){((0,i.W$)(r)||window).ANOutstreamVideo.renderAd({tagId:e.adResponse.tag_id,sizes:[e.getSize().split("x")],targetId:e.adUnitCode,uuid:e.adResponse.uuid,adResponse:e.adResponse,rendererOptions:e.renderer.getConfig()},F.bind(null,e))}))}function F(e,r,a){e.renderer.handleVideoEvent({id:r,eventName:a})}function $(e){var r="";return Object.keys(e).forEach((function(a){(0,i.d8)(e[a])?""!==e[a]?r+="".concat(a,"=").concat(e[a],","):r+="".concat(a,","):(0,i.kJ)(e[a])&&(""===e[a][0]?r+="".concat(a,","):e[a].forEach((function(e){r+="".concat(a,"=").concat(e,",")})))})),r=r.substring(0,r.length-1)}function K(e){var r={};(0,i.d8)(e)&&""!==e&&e.split(/\s*(?:,)\s*/).forEach((function(e){if(-1!==e.indexOf("=")){var a=e.split("="),n=a[0],t=a[1];r.hasOwnProperty(n)?r[n].push(t):r[n]=[t]}else r.hasOwnProperty(e)||(r[e]=[""])}));return r}(0,p.dX)(A),window.pbjs.installedModules.push("appnexusBidAdapter")},7673:function(e,r,a){a.d(r,{h:function(){return t}});var n=a(265);function t(e){return null==e||!e.gdprApplies||!0===(0,n.Z)(e,"vendorData.purpose.consents.1")}}},function(e){e.O(0,[6866],(function(){return r=6319,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7948],{7218:function(t,e,r){var i=r(1002),n=r(4358),o=r(6475),d=r(5339),s=r(4679),a=r(3193),u="brightcom",h="https://brightcombid.marphezis.com/hb",p={code:u,supportedMediaTypes:[s.Mk],gvlid:883,isBidRequestValid:function(t){if(t.bidder!==u||void 0===t.params)return!1;if(void 0===t.params.publisherId)return!1;return!0},buildRequests:function(t,e){try{var r,i="";e&&e.refererInfo&&(i=e.refererInfo.page);var d=[],s=(0,n.An)("publisherId",t[0].params);(0,n.yi)(t,(function(t){var e=t.mediaTypes&&t.mediaTypes.banner&&t.mediaTypes.banner.sizes||t.sizes,r=(e=(e=(0,n.kJ)(e)&&(0,n.kJ)(e[0])?e:[e]).filter((function(t){return(0,n.kJ)(t)}))).map((function(t){return{w:parseInt(t[0],10),h:parseInt(t[1],10)}})),i=document.getElementById(t.adUnitCode),o=r.reduce((function(t,e){return e.h*e.w<t.h*t.w?e:t})),s=function(t){return!function(){try{return(0,n.e7)()!==(0,n.Zy)()}catch(t){return!0}}()&&null!==t}(i)?function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.w,o=r.h;return"visible"===(0,n.Zy)().document.visibilityState?function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.w,n=r.h,o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.w,i=e.h,n=t.getBoundingClientRect(),o=n.width,d=n.height,s=n.left,a=n.top,u=n.right,h=n.bottom;(0===o||0===d)&&r&&i&&(o=r,d=i,u=s+r,h=a+i);return{width:o,height:d,left:s,top:a,right:u,bottom:h}}(t,{w:i,h:n}),d=function(t){for(var e={left:t[0].left,right:t[0].right,top:t[0].top,bottom:t[0].bottom},r=1;r<t.length;++r){if(e.left=Math.max(e.left,t[r].left),e.right=Math.min(e.right,t[r].right),e.left>=e.right)return null;if(e.top=Math.max(e.top,t[r].top),e.bottom=Math.min(e.bottom,t[r].bottom),e.top>=e.bottom)return null}return e.width=e.right-e.left,e.height=e.bottom-e.top,e}([{left:0,top:0,right:e.innerWidth,bottom:e.innerHeight},o]);if(null!==d)return d.width*d.height/(o.width*o.height)*100;return 0}(t,e,{w:i,h:o}):0}(i,(0,n.Zy)(),o):"na",a=isNaN(s)?s:Math.round(s),u={id:t.bidId,banner:{format:r,ext:{viewability:a}},tagid:String(t.adUnitCode)},h=function(t){if(!(0,n.LQ)(t.getFloor))return t.params.bidFloor?t.params.bidFloor:null;var e=t.getFloor({currency:"USD",mediaType:"*",size:"*"});if((0,n.PO)(e)&&!isNaN(e.floor)&&"USD"===e.currency)return e.floor;return null}(t);h&&(u.bidfloor=h),d.push(u)}));var u={id:(0,n._d)(),imp:d,site:{domain:(null==e||null===(r=e.refererInfo)||void 0===r?void 0:r.domain)||"",page:i,publisher:{id:s}},device:{devicetype:/(ios|ipod|ipad|iphone|android)/i.test(navigator.userAgent)?1:/(smart[-]?tv|hbbtv|appletv|googletv|hdmi|netcast\.tv|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b)/i.test(navigator.userAgent)?3:2,w:screen.width,h:screen.height},tmax:a.vc.getConfig("bidderTimeout")};return e&&e.gdprConsent&&((0,o.N)(u,"regs.ext.gdpr",+e.gdprConsent.gdprApplies),(0,o.N)(u,"user.ext.consent",e.gdprConsent.consentString)),e&&e.uspConsent&&(0,o.N)(u,"regs.ext.us_privacy",e.uspConsent),!0===a.vc.getConfig("coppa")&&(0,o.N)(u,"regs.coppa",1),t[0]&&t[0].schain&&(0,o.N)(u,"source.ext.schain",t[0].schain),t[0]&&t[0].userIdAsEids&&(0,o.N)(u,"user.ext.eids",t[0].userIdAsEids||[]),t[0]&&t[0].userId&&(0,o.N)(u,"user.ext.ids",t[0].userId||[]),{method:"POST",url:h,data:JSON.stringify(u),options:{contentType:"text/plain",withCredentials:!1}}}catch(r){(0,n.H)(r,{bidReqs:t,bidderRequest:e})}},interpretResponse:function(t){if(!t.body||"object"!=(0,i.Z)(t.body))return(0,n.yN)("Brightcom server returned empty/non-json response: "+JSON.stringify(t.body)),[];var e=t.body,r=e.id,o=e.seatbid;try{var d=[];return r&&o&&o.length>0&&o[0].bid&&o[0].bid.length>0&&o[0].bid.map((function(t){d.push({requestId:t.impid,cpm:parseFloat(t.price),width:parseInt(t.w),height:parseInt(t.h),creativeId:t.crid||t.id,currency:"USD",netRevenue:!0,mediaType:s.Mk,ad:l(t),ttl:60,meta:{advertiserDomains:t&&t.adomain?t.adomain:[]}})})),d}catch(t){(0,n.H)(t,{id:r,seatbid:o})}},getUserSyncs:function(t,e,r){return[]}};function l(t){var e=t.adm;return"nurl"in t&&(e+=(0,n.SG)(t.nurl)),e}(0,d.dX)(p),window.pbjs.installedModules.push("brightcomBidAdapter")}},function(t){t.O(0,[6866],(function(){return e=7218,t(t.s=e);var e}));t.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[4548],{2997:function(e,r,t){var n=t(1002),o=t(4358),i=t(8928),a=t(2797),p={name:"britepoolId",decode:function(e){return e&&"string"==typeof e.primaryBPID?{britepoolid:e.primaryBPID}:null},getId:function(e,r){var t=e&&e.params||{},n=p.createParams(t,r),a=n.params,u=n.headers,l=n.url,s=n.getter,c=n.errors,f=null;return"function"==typeof s&&"function"!=typeof(f=s(a))?{id:p.normalizeValue(f)}:((0,o.xb)(a)&&(0,o.hq)("https://px.britepool.com/new?partner_id=t"),{callback:function(e){if(c.length>0)return c.forEach((function(e){return(0,o.H)(e)})),void e();if(f)try{f((function(r){e(p.normalizeValue(r))}))}catch(r){""!==r&&(0,o.H)(r),e()}else(0,i.h)(l,{success:function(r){var t=p.normalizeValue(r);e(t?{primaryBPID:t.primaryBPID}:null)},error:function(r){""!==r&&(0,o.H)(r),e()}},JSON.stringify(a),{customHeaders:u,contentType:"application/json",method:"POST",withCredentials:!0})}})},createParams:function(e,r){var t=r&&"boolean"==typeof r.gdprApplies&&r.gdprApplies?r.consentString:void 0,n=[],o={},i="undefined"!=typeof britepool_pubparams?britepool_pubparams:{},a=Object.assign({},e,i);if(a.getter){if("function"!=typeof a.getter)return n.push("userIdTargeting - britepoolId submodule requires getter to be a function"),{errors:n}}else a.api_key&&(o["x-api-key"]=a.api_key);var p=a.url||"https://api.britepool.com/v1/britepool/id".concat(t?"?gdprString="+encodeURIComponent(t):""),u=a.getter;return delete a.api_key,delete a.url,delete a.getter,{params:a,headers:o,url:p,getter:u,errors:n}},normalizeValue:function(e){var r=null;if("object"===(0,n.Z)(e))r=e;else if("string"==typeof e)try{r=JSON.parse(e)}catch(e){(0,o.H)(e)}return r}};(0,a.Bx)("userId",p),window.pbjs.installedModules.push("britepoolIdSystem")}},function(e){e.O(0,[6866],(function(){return r=2997,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[1391],{9950:function(e,t,r){var n=r(6475),i=r(4358),o=r(5339),a=r(4679),c=r(3193),u=r(4192),s={code:"connectad",gvlid:138,aliases:["connectadrealtime"],supportedMediaTypes:[a.Mk],isBidRequestValid:function(e){return!(!e.params.networkId||!e.params.siteId)},buildRequests:function(e,t){var r,i,o,a={method:"POST",url:"",data:"",bidRequest:[]};if(e.length<1)return a;var s,d=Object.assign({placements:[],time:Date.now(),user:{},url:(null===(r=t.refererInfo)||void 0===r?void 0:r.page)||window.location.href,referrer:null===(i=t.refererInfo)||void 0===i?void 0:i.ref,referrer_info:null===(o=t.refererInfo)||void 0===o?void 0:o.legacy,screensize:[window.screen.width,window.screen.height].join("x"),dnt:"yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack?1:0,language:navigator.language,ua:navigator.userAgent,pversion:"7.36.0"});(!0===c.vc.getConfig("coppa")&&(0,n.N)(d,"user.coppa",1),e[0].schain&&(0,n.N)(d,"source.ext.schain",e[0].schain),t.gdprConsent)&&("boolean"==typeof t.gdprConsent.gdprApplies&&(s=t.gdprConsent.gdprApplies?1:0),(0,n.N)(d,"user.ext.gdpr",s),(0,n.N)(d,"user.ext.consent",t.gdprConsent.consentString));return t.uspConsent&&(0,n.N)(d,"user.ext.us_privacy",t.uspConsent),e[0].userId&&(0,n.N)(d,"user.ext.eids",(0,u.HQ)(e[0].userId)),e.map((function(e){var t=Object.assign({id:e.transactionId,divName:e.bidId,pisze:e.mediaTypes.banner.sizes[0]||e.sizes[0],sizes:e.mediaTypes.banner.sizes,adTypes:f(e.mediaTypes.banner.sizes||e.sizes),bidfloor:p(e),siteId:e.params.siteId,networkId:e.params.networkId});t.networkId&&t.siteId&&d.placements.push(t)})),a.data=JSON.stringify(d),a.bidRequest=e,a.url="https://i.connectad.io/api/v2",a},interpretResponse:function(e,t,r){var n,i,o,a=[];i=t.bidRequest,e=(e||{}).body;for(var c=0;c<i.length;c++)if(n={},o=i[c].bidId,e){var u=e.decisions&&e.decisions[o],s=u&&u.pricing&&u.pricing.clearPrice;u&&s&&(n.requestId=o,n.cpm=s,n.width=u.width,n.height=u.height,n.dealid=u.dealid||null,n.meta={advertiserDomains:u&&u.adomain?u.adomain:[]},n.ad=l(u),n.currency="USD",n.creativeId=u.adId,n.ttl=360,n.netRevenue=!0,a.push(n))}return a},transformBidParams:function(e,t){return(0,i.uh)({siteId:"number",networkId:"number"},e)},getUserSyncs:function(e,t,r,n){var o="https://cdn.connectad.io/connectmyusers.php?";if(r&&(o=(0,i.t0)(o,"gdpr",r.gdprApplies?1:0)),r&&"string"==typeof r.consentString&&(o=(0,i.t0)(o,"gdpr_consent",r.consentString)),n&&(o=(0,i.t0)(o,"us_privacy",n)),!0===c.vc.getConfig("coppa")&&(o=(0,i.t0)(o,"coppa",1)),e.iframeEnabled)return[{type:"iframe",url:o}];(0,i.yN)("Bidder ConnectAd: Please activate iFrame Sync")}},d=[null,"120x90","200x200","468x60","728x90","300x250","160x600","120x600","300x100","180x150","336x280","240x400","234x60","88x31","120x60","120x240","125x125","220x250","250x250","250x90","0x0","200x90","300x50","320x50","320x480","185x185","620x45","300x125","800x250","980x120","980x150","320x150","300x300","200x600","320x500","320x320"];function p(e){var t={};return"function"==typeof e.getFloor&&(t=e.getFloor({currency:"USD",mediaType:"banner",size:"*"})),t.floor||e.params.bidfloor||e.params.floorprice||0}function f(e){var t=[];return e.forEach((function(e){var r=d.indexOf(e[0]+"x"+e[1]);r>=0&&t.push(r)})),t}function l(e){return e.contents&&e.contents[0]&&e.contents[0].body}d[77]="970x90",d[123]="970x250",d[43]="300x600",d[286]="970x66",d[3230]="970x280",d[429]="486x60",d[374]="700x500",d[934]="300x1050",d[1578]="320x100",d[331]="320x250",d[3301]="320x267",d[2730]="728x250",(0,o.dX)(s),window.pbjs.installedModules.push("connectadBidAdapter")},4192:function(e,t,r){r.d(t,{HQ:function(){return c},Pv:function(){return u},UR:function(){return o}});var n=r(4358),i=r(265),o={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var t=(0,n.ei)(e,["h1","h2","h3"]);if(Object.keys(t).length)return t}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var t="";return e&&e.ext&&e.ext.DeviceID&&(t=e.ext.DeviceID),t},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=(0,n.ei)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(e){var t;return null!=e&&null!==(t=e.ext)&&void 0!==t&&t.ssp?"".concat(e.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},cpexId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:"paf",atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var t=e.identifiers[0];return{version:t.version,type:t.type,source:t.source}}}}};function a(e,t){var r=o[t];if(r&&e){var i={};i.source=(0,n.LQ)(r.getSource)?r.getSource(e):r.source;var a=(0,n.LQ)(r.getValue)?r.getValue(e):e;if((0,n.d8)(a)){var c={id:a,atype:r.atype};if((0,n.LQ)(r.getUidExt)){var u=r.getUidExt(e);u&&(c.ext=u)}if(i.uids=[c],(0,n.LQ)(r.getEidExt)){var s=r.getEidExt(e);s&&(i.ext=s)}return i}}return null}function c(e){var t=[],r=function(r){if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[r]))e[r].forEach((function(e,n,i){var o=a(e,r);o&&t.push(o)}));else{var n=a(e[r],r);n&&t.push(n)}};for(var n in e)r(n);return t}function u(e){var t=[];return e.filter((function(e){return(0,n.PO)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){(0,i.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,i.Z)(o,r+".source")&&t.push({source:o[r].source,bidders:e.config.bidders})}))})),t}}},function(e){e.O(0,[6866],(function(){return t=9950,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[3434],{6564:function(e,r,a){var i=a(9062),n=a(4358),t=a(265),s=a(6475),o=a(5339),d=a(4679),u=a(5164),p="conversant",c=(0,u.df)({gvlid:24,bidderCode:p}),m={code:p,gvlid:24,aliases:["cnvr"],supportedMediaTypes:[d.Mk,d.pX],isBidRequestValid:function(e){if(!e||!e.params)return(0,n.yN)(p+": Missing bid parameters"),!1;if(!(0,n.d8)(e.params.site_id))return(0,n.yN)(p+": site_id must be specified as a string"),!1;if(f(e)){var r=e.params.mimes||(0,t.Z)(e,"mediaTypes.video.mimes");if(r){if(!(0,n.kJ)(r)||!r.every((function(e){return(0,n.d8)(e)})))return(0,n.yN)(p+": mimes must be an array of strings"),!1}else(0,n.yN)(p+": mimes should be specified for videos")}return!0},buildRequests:function(e,r){var a,i=r&&r.refererInfo?r.refererInfo.page:"",o="",d="",u=null,p="_pubcid",m="https://web.hb.ad.cpe.dotomi.com/cvx/client/hb/ortb/25",v=e.map((function(e){var r=function(e){var r=(0,n.An)("bidfloor",e.params);if(!r&&(0,n.LQ)(e.getFloor)){var a=e.getFloor({currency:"USD",mediaType:"*",size:"*"});(0,n.PO)(a)&&!isNaN(a.floor)&&"USD"===a.currency&&(r=a.floor)}return r}(e);o=(0,n.An)("site_id",e.params)||o,p=(0,n.An)("pubcid_name",e.params)||p,d=e.auctionId;var a={id:e.bidId,secure:1,bidfloor:r||0,displaymanager:"Prebid.js",displaymanagerver:"7.36.0"};if(e.ortb2Imp&&(0,n.Ee)(a,e.ortb2Imp),g(e.params.tag_id,a,"tagid"),f(e)){var i=(0,t.Z)(e,"mediaTypes.video")||{},s=l(i.playerSize||e.sizes),c={};s&&s[0]&&(g(s[0].w,c,"w"),g(s[0].h,c,"h")),g(e.params.position||i.pos,c,"pos"),g(e.params.mimes||i.mimes,c,"mimes"),g(e.params.maxduration||i.maxduration,c,"maxduration"),g(e.params.protocols||i.protocols,c,"protocols"),g(e.params.api||i.api,c,"api"),a.video=c}else{var v=(0,t.Z)(e,"mediaTypes.banner")||{},b={format:l(v.sizes||e.sizes)};g(e.params.position||v.pos,b,"pos"),a.banner=b}return e.userId&&e.userId.pubcid?u=e.userId.pubcid:e.crumbs&&e.crumbs.pubcid&&(u=e.crumbs.pubcid),e.params.white_label_url&&(m=e.params.white_label_url),a})),b={id:d,imp:v,site:{id:o,mobile:null!==document.querySelector('meta[name="viewport"][content*="width=device-width"]')?1:0,page:i},device:(a=navigator.language?"language":"userLanguage",{h:screen.height,w:screen.width,dnt:"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNoTrack||"yes"===navigator.doNotTrack?1:0,language:navigator[a].split("-")[0],make:navigator.vendor?navigator.vendor:"",ua:navigator.userAgent}),at:1},h={},y=(0,t.Z)(e,"0.schain");y&&(0,s.N)(b,"source.ext.schain",y),r&&(r.gdprConsent&&(h.consent=r.gdprConsent.consentString,"boolean"==typeof r.gdprConsent.gdprApplies&&(0,s.N)(b,"regs.ext.gdpr",r.gdprConsent.gdprApplies?1:0)),r.uspConsent&&(0,s.N)(b,"regs.ext.us_privacy",r.uspConsent)),u||(u=function(e){var r;try{if(!(r=c.getCookie(e))){var a=c.getDataFromLocalStorage("".concat(e,"_exp"));(""===a||a&&new Date(a).getTime()-Date.now()>0)&&(r=(r=c.getDataFromLocalStorage(e))?decodeURIComponent(r):r)}(0,n.d8)(r)&&"{"===r.charAt(0)&&(r=JSON.parse(r))}catch(e){(0,n.H)(e)}return r}(p)),u&&(h.fpc=u);var w=function(e){var r=e[0],a=[];if((0,n.kJ)(r.userIdAsEids)&&r.userIdAsEids.length>0){var i={"epsilon.com":1,"adserver.org":1,"liveramp.com":1,"criteo.com":1,"id5-sync.com":1,"parrable.com":1,"liveintent.com":1};r.userIdAsEids.forEach((function(e){i.hasOwnProperty(e.source)&&a.push(e)}))}return a}(e);w.length>0&&(h.eids=w),(0,n.xb)(h)||(b.user={ext:h});var I=r.ortb2||{};return(0,n.Ee)(b,I),{method:"POST",url:m,data:b}},interpretResponse:function(e,r){var a=[],i={};return e=e.body,r&&r.data&&r.data.imp&&(0,n.yi)(r.data.imp,(function(e){return i[e.id]=e})),e&&(0,n.kJ)(e.seatbid)&&(0,n.yi)(e.seatbid,(function(r){(0,n.yi)(r.bid,(function(r){var n=parseFloat(r.price);if(n>0&&r.impid){var t=r.adm||"",s=r.nurl||"",o=i[r.impid],d={requestId:r.impid,currency:e.cur||"USD",cpm:n,creativeId:r.crid||"",ttl:300,netRevenue:!0,meta:{}};r.adomain&&r.adomain.length>0&&(d.meta.advertiserDomains=r.adomain),o.video?("<"===t.charAt(0)?d.vastXml=t:d.vastUrl=t,d.mediaType="video",d.width=o.video.w,d.height=o.video.h):(d.ad=t+'<img src="'+s+'" />',d.width=r.w,d.height=r.h),a.push(d)}}))})),a},transformBidParams:function(e,r){return(0,n.uh)({site_id:"string",secure:"number",mobile:"number"},e)},getUserSyncs:function(e,r,a,t){var s={},o=[];if(a&&(s.gdpr=a.gdprApplies?1:0,s.gdpr_consent=encodeURIComponent(a.consentString||"")),t&&(s.us_privacy=encodeURIComponent(t)),r&&r.ext){var d=[{urls:r.ext.fsyncs,type:"iframe"},{urls:r.ext.psyncs,type:"image"}].filter((function(r){return r.urls&&("iframe"===r.type&&e.iframeEnabled||"image"===r.type&&e.pixelEnabled)})).map((function(e){return e.urls.map((function(r){var a=(0,n.en)(r);return(0,n.Ee)(a.search,s),0===Object.keys(a.search).length&&delete a.search,{type:e.type,url:(0,n.Q2)(a)}})).reduce((function(e,r){return e.concat(r)}),[])})).reduce((function(e,r){return e.concat(r)}),[]);o.push.apply(o,(0,i.Z)(d))}return o}};function l(e){var r;return Array.isArray(e)&&(r=2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]?[{w:e[0],h:e[1]}]:(0,n.HA)(e,(function(e){return{w:e[0],h:e[1]}}))),r}function f(e){return"video"===e.mediaType||!!(0,t.Z)(e,"mediaTypes.video")}function g(e,r,a){e&&(r[a]=e)}(0,o.dX)(m),window.pbjs.installedModules.push("conversantBidAdapter")}},function(e){e.O(0,[6866],(function(){return r=6564,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[9073],{7713:function(e,n,o){var t=o(4358),r=o(8928),c=o(5102),i=o(2797),a="criteo",d=(0,o(5164).df)({gvlid:91,moduleName:a}),l="cto_bidid",u="cto_bundle",s="cto_dna_bundle",p=new Date(0).toString(),f=new Date((0,t.AB)()+33696e6).toString();function b(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=(0,t.en)(e,{noDecodeWholeURL:!0});return n?"".concat(o.hostname):"".concat(o.protocol,"://").concat(o.hostname).concat(o.port?":"+o.port:"","/")}function g(e){return d.getCookie(e)||d.getDataFromLocalStorage(e)}function m(e,n,o){e&&n&&(d.setDataInLocalStorage(e,n),h(e,n,f,o,!0))}function h(e,n,o,t,r){for(var c=t.split("."),i=0;i<c.length;++i){var a=c.slice(c.length-i-1,c.length).join(".");try{if(d.setCookie(e,n,o,null,"."+a),r){var l=d.getCookie(e);if(l&&l===n)break}}catch(e){}}}function v(e,n,o){var i=d.cookiesAreEnabled(),a=d.localStorageIsEnabled(),s=b((0,c.nH)().page),f=b(document.location.href,!0),g="undefined"!=typeof criteo_pubtag,v=function(e,n,o,t,r,c,i,a){return"https://gum.criteo.com/sid/json?origin=prebid"+"".concat(e?"&topUrl="+encodeURIComponent(e):"")+"".concat(n?"&domain="+encodeURIComponent(n):"")+"".concat(o?"&bundle="+encodeURIComponent(o):"")+"".concat(t?"&info="+encodeURIComponent(t):"")+"".concat(a?"&gdprString="+encodeURIComponent(a):"")+"".concat(r?"&cw=1":"")+"".concat(i?"&pbt=1":"")+"".concat(c?"&lsw=1":"")}(s,f,e.bundle,e.dnaBundle,i,a,g,n),I={success:function(e){var n,c=JSON.parse(e);(c.pixels&&c.pixels.forEach((function(e){return function(e,n){n.writeBundleInStorage&&n.bundlePropertyName&&n.storageKeyName?(0,r.h)(n.pixelUrl,{success:function(o){if(o){var t=JSON.parse(o);t&&t[n.bundlePropertyName]&&m(n.storageKeyName,t[n.bundlePropertyName],e)}}},void 0,{method:"GET",withCredentials:!0}):(0,t.hq)(n.pixelUrl)}(f,e)})),c.acwsUrl)?("string"==typeof c.acwsUrl?[c.acwsUrl]:c.acwsUrl).forEach((function(e){return(0,t.hq)(e)})):c.bundle&&m(u,c.bundle,f);if(c.bidId){m(l,c.bidId,f);var i={criteoId:c.bidId};o(i)}else h(n=l,"",p,f,!0),d.removeDataFromLocalStorage(n),o()},error:function(e){(0,t.H)("criteoIdSystem: unable to sync user id",e),o()}};(0,r.h)(v,I,void 0,{method:"GET",contentType:"application/json",withCredentials:!0})}var I={name:a,gvlid:91,decode:function(e){return e},getId:function(e,n){var o=n&&"boolean"==typeof n.gdprApplies&&n.gdprApplies?n.consentString:void 0,t={bundle:g(u),dnaBundle:g(s),bidId:g(l)};return{id:t.bidId?{criteoId:t.bidId}:void 0,callback:function(e){return v(t,o,e)}}}};(0,i.Bx)("userId",I),window.pbjs.installedModules.push("criteoIdSystem")}},function(e){e.O(0,[6866],(function(){return n=7713,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[9226],{2663:function(r,e,n){var o,c=n(1002),t=n(4358),i=n(8640),s=n(5644),u=n(8928),a=n(3193),f=n(2797),d=n(8792),l=n(6372),y=n(9128),v="https://cdn.jsdelivr.net/gh/prebid/currency-file@1/latest.json?date=$$TODAY$$",p=4,h=[],g={},C=!1,b=!0,m="USD",w=!1,R={},N={},S=function(){var r;function e(){r=(0,d.P)()}return e(),{done:function(){return r.resolve()},reset:e,promise:function(){return r.promise}}}();function P(r){var e=v;if("object"===(0,c.Z)(r.rates)&&(R.conversions=r.rates,C=!0,b=!1),"object"===(0,c.Z)(r.defaultRates)&&(o=r.defaultRates,R.conversions=o,C=!0),"string"==typeof r.adServerCurrency){(0,t.PN)("enabling currency support",arguments),m=r.adServerCurrency,r.conversionRateFile&&((0,t.PN)("currency using override conversionRateFile:",r.conversionRateFile),e=r.conversionRateFile);var n=e.indexOf("$$TODAY$$");if(-1!==n){var s=new Date,a="".concat(s.getMonth()+1),d="".concat(s.getDate());a.length<2&&(a="0".concat(a)),d.length<2&&(d="0".concat(d));var l="".concat(s.getFullYear()).concat(a).concat(d);e="".concat(e.substring(0,n)).concat(l).concat(e.substring(n+9,e.length))}!function(r){g={},w=!0,(0,t.PN)("Installing addBidResponse decorator for currency module",arguments),(0,i.R)().convertCurrency=function(r,e,n){return parseFloat(r)*F(e,n)},(0,f.v5)("addBidResponse").before(O,100),b?(b=!1,(0,u.h)(r,{success:function(r){try{R=JSON.parse(r),(0,t.PN)("currencyRates set to "+JSON.stringify(R)),g={},C=!0,j(),S.done()}catch(e){D("Failed to parse currencyRates response: "+r)}},error:function(){D.apply(void 0,arguments),S.done()}})):S.done()}(e)}else(0,t.PN)("disabling currency support"),function(){(0,t.PN)("Uninstalling addBidResponse decorator for currency module",arguments),(0,f.v5)("addBidResponse").getHooks({hook:O}).remove(),delete(0,i.R)().convertCurrency,m="USD",g={},w=!1,C=!1,b=!0,R={},N={}}();"object"===(0,c.Z)(r.bidderCurrencyDefault)&&(N=r.bidderCurrencyDefault)}function D(r){o?((0,t.yN)(r),(0,t.yN)("Currency failed loading rates, falling back to currency.defaultRates")):(0,t.H)(r)}a.vc.getConfig("currency",(function(r){return P(r.currency)}));var O=(0,y.A)("currency",(function(r,e,n,o){if(!n)return r.call(this,e,n,o);var c=n.bidderCode||n.bidder;if(N[c]){var i=N[c];n.currency&&i!==n.currency?(0,t.yN)("Currency default '".concat(c,": ").concat(i,"' ignored. adapter specified '").concat(n.currency,"'")):n.currency=i}if(n.currency||((0,t.yN)('Currency not specified on bid.  Defaulted to "USD"'),n.currency="USD"),n.getCpmInNewCurrency=function(r){return(parseFloat(this.cpm)*F(this.currency,r)).toFixed(3)},n.currency===m)return r.call(this,e,n,o);h.push(function(r,e,n){return function(){var o=n[1];if(void 0!==o&&"currency"in o&&"cpm"in o){var c=o.currency;try{var i=F(c);1!==i&&(o.cpm=(parseFloat(o.cpm)*i).toFixed(4),o.currency=m)}catch(r){(0,t.yN)("Returning NO_BID, getCurrencyConversion threw error: ",r),n[1]=n[2](s.Gw.Xx)}}return r.apply(e,n)}}(r,this,[e,n,o])),!w||C?j():r.untimed.bail(S.promise())}));function j(){for(;h.length>0;)h.shift()()}function F(r){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m,o=null,c="".concat(r,"->").concat(n);if(c in g)o=g[c],(0,t.ji)("Using conversionCache value "+o+" for "+c);else if(!1===w){if("USD"!==r)throw new Error("Prebid currency support has not been enabled and fromCurrency is not USD");o=1}else if(r===n)o=1;else if(r in R.conversions){if(!(n in(e=R.conversions[r])))throw new Error("Specified adServerCurrency in config '"+n+"' not found in the currency rates file");o=e[n],(0,t.PN)("getCurrencyConversion using direct "+r+" to "+n+" conversionRate "+o)}else if(n in R.conversions){if(!(r in(e=R.conversions[n])))throw new Error("Specified fromCurrency '"+r+"' not found in the currency rates file");o=U(1/e[r],p),(0,t.PN)("getCurrencyConversion using reciprocal "+r+" to "+n+" conversionRate "+o)}else{var i=Object.keys(R.conversions)[0];if(!(r in R.conversions[i]))throw new Error("Specified fromCurrency '"+r+"' not found in the currency rates file");var s=1/R.conversions[i][r];if(!(n in R.conversions[i]))throw new Error("Specified adServerCurrency in config '"+n+"' not found in the currency rates file");o=U(s*R.conversions[i][n],p),(0,t.PN)("getCurrencyConversion using intermediate "+r+" thru "+i+" to "+n+" conversionRate "+o)}return c in g||((0,t.ji)("Adding conversionCache value "+o+" for "+c),g[c]=o),o}function U(r,e){for(var n=1,o=0;o<e;o++)n+="0";return Math.round(r*n)/n}(0,l.f8)({type:l.Z,name:"currency",fn:function(r,e,n){w&&(r.cur=r.cur||[n.currency||m])}}),window.pbjs.installedModules.push("currency")},6372:function(r,e,n){n.d(e,{DZ:function(){return i},Z:function(){return t},f8:function(){return l},md:function(){return u}});var o=["request","imp","bidResponse","response"],c=["default","pbs"],t=o[0],i=o[1],s=(o[2],o[3],c[0]),u=c[1],a=new Set(o);var f,d=(f={},{registerOrtbProcessor:function(r){var e=r.type,n=r.name,c=r.fn,t=r.priority,i=void 0===t?0:t,u=r.dialects,d=void 0===u?[s]:u;if(!a.has(e))throw new Error("ORTB processor type must be one of: ".concat(o.join(", ")));d.forEach((function(r){f.hasOwnProperty(r)||(f[r]={}),f[r].hasOwnProperty(e)||(f[r][e]={}),f[r][e][n]={priority:i,fn:c}}))},getProcessors:function(r){return f[r]||{}}}),l=d.registerOrtbProcessor}},function(r){r.O(0,[6866],(function(){return e=2663,r(r.s=e);var e}));r.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[8806],{9749:function(){window.pbjs.installedModules.push("enrichmentFpdModule")}},function(n){n.O(0,[6866],(function(){return s=9749,n(n.s=s);var s}));n.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2401],{316:function(n,e,t){var r=t(1002),i=t(4358),o=t(8640),a=t(5339),d=t(5164),s=t(4679),c="eplanning",u=(0,d.df)({bidderCode:c}),p=Math.random(),f="i.e-planning.net",m=["ci","sv","t","ml","sn"],l="1x1",v="pbsr_",g="pbvi_",h=window.navigator.userAgent.match(/(mobile)|(ip(hone|ad))|(android)|(blackberry)|(nokia)|(phone)|(opera\smini)/i),b=["1x1","300x50","320x50","300x250"],y=["1x1","970x90","970x250","160x600","300x600","728x90","300x250"],x=1,w="640x480",C={code:c,supportedMediaTypes:[s.Mk,s.pX],isBidRequestValid:function(n){return Boolean(n.params.ci)||Boolean(n.params.t)},buildRequests:function(n,e){var t,i,a,d,c,l=function(n){if(function(n){for(var e=0;e<n.length;e++)if(n[e].params.t)return!0;return!1}(n))return function(n){var e;return n.forEach((function(n){return e=e||n.params.isv})),{t:!0,isv:e||f}}(n.filter((function(n){return n.params.t})));var e={};return n.forEach((function(n){m.forEach((function(t){n.params[t]&&!e[t]&&(e[t]=n.params[t])}))})),e}(n),h=function(){try{return window.top.document.charset||window.top.document.characterSet}catch(n){return document.charset||document.characterSet}}(),b=function(n,e){var t=n.reduce((function(n,e){return e.mediaTypes&&e.mediaTypes[s.pX]?"outstream"==e.mediaTypes[s.pX].context?2|n:1|n:n}),0);t&&(n=n.filter((function(n){return n.mediaTypes&&n.mediaTypes[s.pX]&&(t&x?!n.mediaTypes[s.pX].context||"instream"==n.mediaTypes[s.pX].context:"outstream"==n.mediaTypes[s.pX].context)})));var r=(o=n,a={},o.forEach((function(n){var e=E(n,!0);a[e]=a[e]?a[e]:[],a[e].push(n)})),a),i={str:"",vs:"",map:{},impType:t};var o,a;return i.str=Object.keys(r).map((function(n){return r[n].map((function(n,r){var o;if(i.vs+=function(n){var e,t="";u.hasLocalStorage()?(e=function(n){var e=u.getDataFromLocalStorage(v+n.adUnitCode)||0,t=u.getDataFromLocalStorage(g+n.adUnitCode)||0,r=e>0?t/e:0;return{render:e,ratio:window.parseInt(10*r,10)}}(n),t+=e.render>=4?e.ratio.toString(16):"F"):t+="F";return t}(n),t){var a=function(n){if(null==n||!Array.isArray(n))return;var e=Array.isArray(n[0])?n[0]:n;return Array.isArray(e)&&2==e.length?e:void 0}(n.mediaTypes[s.pX].playerSize),d=a?a.join("x"):w;return o="video_"+d+"_"+r,i.map[o]=n.bidId,o+":"+d+";1"}return o=e?function(n){return n.replace(/_|\.|-|\//g,"").replace(/\)\(|\(|\)|:/g,"_").replace(/^_+|_+$/g,"")}(n.adUnitCode):n.params&&n.params.sn||E(n,!0)+"_"+r,i.map[o]=n.bidId,o+":"+E(n)})).join("+")})).join("+"),i}(n,l.ml),y=e.refererInfo.page||e.refererInfo.topmostLocation,C=e.refererInfo.domain||window.location.host;if(l.t)t="https://"+l.isv+"/layers/t_pbjs_2.json",i={};else{t="https://"+(l.sv||"pbjs.e-planning.net")+"/pbjs/1/"+l.ci+"/1/"+C+"/ROS";var I=e.refererInfo.ref||e.refererInfo.topmostLocation;if(u.hasLocalStorage()&&(a=[],n.forEach((function(n){var e=R(n.adUnitCode);e?T(e,n.adUnitCode):a.push(n.adUnitCode)})),a.length&&(d=a,c=new MutationObserver((function(n,e){var t,r;n&&Array.isArray(n)&&n.forEach((function(n){n&&n.addedNodes&&Array.isArray(n.addedNodes)&&n.addedNodes.forEach((function(n){t=d.indexOf(n.id),r=n,t<0&&d.forEach((function(e){var i=R(e);i&&i.contains(n)&&i.getBoundingClientRect().width>0&&(t=d.indexOf(i.id),r=i)})),t>=0&&(T(r,d[t]),d.splice(t,1),d.length||e.disconnect())}))}))})),document.addEventListener("DOMContentLoaded",(function(n){var e={childList:!0,subtree:!0,characterData:!0};c.observe(document.body,e)})))),i={rnd:p,e:b.str,ur:y||"file",pbv:"7.36.0",ncb:"1",vs:b.vs},h&&(i.crs=h),I&&(i.fr=I),e&&e.gdprConsent&&void 0!==e.gdprConsent.gdprApplies&&(i.gdpr=e.gdprConsent.gdprApplies?"1":"0",void 0!==e.gdprConsent.consentString&&(i.gdprcs=e.gdprConsent.consentString)),e&&e.uspConsent&&(i.ccpa=e.uspConsent),(0,o.R)().getUserIds&&"function"==typeof(0,o.R)().getUserIds){var S=(0,o.R)().getUserIds();for(var U in S)i["e_"+U]="object"===(0,r.Z)(S[U])?encodeURIComponent(JSON.stringify(S[U])):encodeURIComponent(S[U])}b.impType&&(i.vctx=b.impType&x?x:2,i.vv=3)}return{method:"GET",url:t,data:i,adUnitToBidId:b.map}},interpretResponse:function(n,e){var t=n.body,r=[];return t&&!(0,i.xb)(t.sp)&&t.sp.forEach((function(n){(0,i.xb)(n.a)||n.a.forEach((function(t){var i={requestId:e.adUnitToBidId[n.k],cpm:t.pr,width:t.w,height:t.h,ttl:120,creativeId:t.crid,netRevenue:true,currency:"USD"};t.adom&&(i.meta={advertiserDomains:t.adom}),e&&e.data&&e.data.vv?(i.vastXml=t.adm,i.mediaType=s.pX):i.ad=t.adm,r.push(i)}))})),r},getUserSyncs:function(n,e){var t=[],o=!(0,i.xb)(e)&&e[0].body;o&&!(0,i.xb)(o.cs)&&o.cs.forEach((function(e){"string"==typeof e&&n.pixelEnabled?t.push({type:"image",url:e}):"object"===(0,r.Z)(e)&&e.ifr&&n.iframeEnabled&&t.push({type:"iframe",url:e.u})}));return t}};function I(){return(0,i.e7)().innerWidth<=1024||window.orientation||h}function S(n,e){var t=I()?b:y,r=t.indexOf(n),i=t.indexOf(e);return r>-1?i>-1&&r<i?1:-1:i>-1?1:0}function E(n,e){var t,r=n.sizes&&n.sizes.length?(t=n.sizes,(0,i.sF)(t).sort(S)):[];return r.length?e?r[0]:r.join(","):l}function T(n,e){var t;(t={name:e,div:n}).div&&(U(v+t.name),function(){var n,e=5,t=1e3,r=.5,i={};function o(n){n.forEach((function(n){var e=n.target;n.isIntersecting?n.intersectionRatio>=r&&n.boundingClientRect&&n.boundingClientRect.height>0&&n.boundingClientRect.width>0&&(i[e.id]=!0):i[e.id]=!1}))}function a(n){return i[n.id]&&document.visibilityState&&"visible"===document.visibilityState}function d(){if(!n){var e={root:null,rootMargin:"0px",threshold:[r]};n=new IntersectionObserver(o.bind(this),e)}}function s(n,r,i){var o=a(r)?n+1:0;o===e?(c(r),i()):setTimeout(s.bind(this,o,r,i),t/e)}function c(e){delete i[e.id],n.unobserve(e)}function u(e){n.observe(e)}function p(n,e){n&&(d(),u(n),s(0,n,e))}return{onView:p.bind(this)}}().onView(t.div,U.bind(void 0,g+t.name)))}function R(n){return document.getElementById(n)||document.getElementById(function(n){if((0,i.T9)())for(var e=googletag.pubads().getSlots(),t=(0,i.CS)(n),r=0;r<e.length;r++)if(t(e[r]))return e[r].getSlotElementId();return null}(n))}function U(n){var e;try{e=(e=u.getDataFromLocalStorage(n))?window.parseInt(e,10)+1:1,u.setDataInLocalStorage(n,e)}catch(n){return!1}return!0}(0,a.dX)(C),window.pbjs.installedModules.push("eplanningBidAdapter")}},function(n){n.O(0,[6866],(function(){return e=316,n(n.s=e);var e}));n.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[5296],{6787:function(t,e,o){var r=o(4358),n=o(265),a=o(3193),d=o(2797),u=o(4614),c=void 0,i={},s=!1,f=function(t){var e=i.customGptSlotMatching;if((0,r.T9)()){var o=t.reduce((function(t,e){return t[e.code]=e,t}),{});window.googletag.pubads().getSlots().forEach((function(t){var n=(0,u.sE)(Object.keys(o),e?e(t):(0,r.zV)(t));if(n){var a=o[n];a.ortb2Imp=a.ortb2Imp||{},a.ortb2Imp.ext=a.ortb2Imp.ext||{},a.ortb2Imp.ext.data=a.ortb2Imp.ext.data||{};var d=a.ortb2Imp.ext.data;d.adserver=d.adserver||{},d.adserver.name="gam",d.adserver.adslot=p(t.getAdUnitPath())}}))}},p=function(t){return(a.vc.getConfig("gptPreAuction")||{}).mcmEnabled?t.replace(/(^\/\d*),\d*\//,"$1/"):t},l=function(t,e){var o=t.ortb2Imp.ext.data;if(o.pbadslot)return o.pbadslot;if((0,r.T9)()){var n=window.googletag.pubads().getSlots().filter((function(t){return t.getAdUnitPath()===e}));if(0!==n.length)return 1===n.length?e:"".concat(e,"#").concat(t.code)}},b=function(t){var e=t.ortb2Imp.ext.data,o=i.customPbAdSlot;if(!e.pbadslot)if(o)e.pbadslot=o(t.code,(0,n.Z)(e,"adserver.adslot"));else{try{var r=document.getElementById(t.code);if(r.dataset.adslotid)return void(e.pbadslot=r.dataset.adslotid)}catch(t){}if(!(0,n.Z)(e,"adserver.adslot"))return e.pbadslot=t.code,!0;e.pbadslot=e.adserver.adslot}},m=function(t,e){f(e);var o=i,r=o.useDefaultPreAuction,a=o.customPreAuction;e.forEach((function(t){t.ortb2Imp=t.ortb2Imp||{},t.ortb2Imp.ext=t.ortb2Imp.ext||{},t.ortb2Imp.ext.data=t.ortb2Imp.ext.data||{};var e=t.ortb2Imp.ext;if(a||r){var o,d=(0,n.Z)(e,"data.adserver.adslot");a?o=a(t,d):r&&(o=l(t,d)),o&&(e.gpid=e.data.pbadslot=o)}else{var u=b(t);e.gpid||u||(e.gpid=e.data.pbadslot)}}));for(var d=arguments.length,u=new Array(d>2?d-2:0),s=2;s<d;s++)u[s-2]=arguments[s];return t.call.apply(t,[c,e].concat(u))},v=function(t){(i=(0,r.ei)(t,["enabled",function(t){return!1!==t},"customGptSlotMatching",function(t){return"function"==typeof t&&t},"customPbAdSlot",function(t){return"function"==typeof t&&t},"customPreAuction",function(t){return"function"==typeof t&&t},"useDefaultPreAuction",function(t){return!0===t}])).enabled?s||((0,d.v5)("makeBidRequests").before(m),s=!0):((0,r.PN)("".concat("GPT Pre-Auction",": Turning off module")),i={},(0,d.v5)("makeBidRequests").getHooks({hook:m}).remove(),s=!1)};a.vc.getConfig("gptPreAuction",(function(t){return v(t.gptPreAuction)})),v({}),window.pbjs.installedModules.push("gptPreAuction")}},function(t){t.O(0,[6866],(function(){return e=6787,t(t.s=e);var e}));t.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[625],{5374:function(e,t,n){var i=n(4942),r=n(1002),o=n(3324),a=n(4679),c=n(4358),d=n(265),s=n(3193),u=n(5164),p=n(4614),l=n(5339);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v="gumgum",g=(0,u.df)({bidderCode:v}),b="https://g2.gumgum.com/hbid/imp",h={t:0,rq:8,pbv:"7.36.0"},y=[a.Mk,a.pX],w=60,I=18e5,O={},j=null;function x(e){var t,i,r,o,a,d,s,u,p,l,f=function(e){return new RegExp("[?#&](".concat(e,"=(.*?))($|&)"),"i")},m={};try{i=(t=n.g.top).screen,r=e||""}catch(e){return(0,c.H)(e),m}return m={vw:t.innerWidth,vh:t.innerHeight,sw:i.width,sh:i.height,pu:(u=r,["ggad","ggdeal"].reduce((function(e,t){var n=u.match(f(t));return n?(n[1]&&(e=e.replace(n[1],"")),n[3]&&(e=e.replace(n[3],"")),e):e}),u)),ce:g.cookiesAreEnabled(),dpr:t.devicePixelRatio||1,jcsi:JSON.stringify(h),ogu:(s=(document&&document.getElementsByTagName("head")[0]).querySelector("meta[property='og:url']"),s?s.content:null)},p=window.navigator&&(window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection),(d=(l=p&&(p.downlink||p.bandwidth))?Math.round(1024*l):null)&&(m.ns=d),(o=(r.match(f("ggad"))||[0,0,0])[2])&&(m[isNaN(o)?"eAdBuyId":"adBuyId"]=o),(a=(r.match(f("ggdeal"))||[0,0,0])[2])&&(m.ggdeal=a),m}function S(e,t){return e.replace("AD_JSON",window.btoa(JSON.stringify(t)))}function C(e){var t=e.digitrustid&&e.digitrustid.data;return!t||t.privacy&&t.privacy.optout?{}:{dt:t.id}}function D(e){var t=0,n=0,i=0;return e.forEach((function(e){var r=(0,o.Z)(e,2),a=r[0],c=r[1],d=a>c?a:c;(d>i||d===i&&a>=t&&c>=n)&&(i=d,t=a,n=c)})),[t,n]}var P={code:v,aliases:["gg"],isBidRequestValid:function(e){var t=e.params,n=e.adUnitCode,i=t.inScreen||t.inScreenPubID||t.inSlot||t.ICV||t.video||t.inVideo||t.slot||t.native||t.zone||t.pubID;if(O[i])return(0,c.yN)("[GumGum] Please check the implementation for ".concat(i," for the placement ").concat(n)),!1;switch(!0){case!!t.zone:case!!t.pubId:case!!t.inScreen:case!!t.inScreenPubID:case!!t.inSlot:case!!t.ICV:case!!t.video:case!!t.inVideo:case!!t.videoPubID:break;default:return(0,c.yN)("[GumGum] No product selected for the placement ".concat(n,", please check your implementation.")),!1}return!(t.bidfloor&&("number"!=typeof t.bidfloor||!isFinite(t.bidfloor)))||((0,c.yN)("[GumGum] bidfloor must be a Number"),!1)},buildRequests:function(e,t){var n=[],i=t&&t.gdprConsent,a=t&&t.uspConsent,u=s.vc.getConfig("bidderTimeout"),p=!0===s.vc.getConfig("coppa")?1:0,l=t&&t.refererInfo&&t.refererInfo.page;return(0,c.yi)(e,(function(e){var t,s,f=e.bidId,v=e.mediaTypes,g=void 0===v?{}:v,h=e.params,y=void 0===h?{}:h,w=e.schain,I=e.transactionId,O=e.userId,S=void 0===O?{}:O,P=e.ortb2Imp,k=e.adUnitCode,z=void 0===k?"":k,T=function(e,t,n){var i=Object.keys(e)[0]||"banner",r={floor:0,currency:"USD"};if("function"==typeof n.getFloor){var o=n.getFloor({mediaType:i,size:"*"}),a=o.currency,c=o.floor;c&&(r.floor=c),a&&(r.currency=a),t&&c&&"USD"===a&&(r.floor=Math.max(t,parseFloat(c)))}else t&&(r.floor=t);return r}(g,y.bidfloor,e),R=T.currency,N=T.floor,U=function(e){var t=["uid","eid","lipbid"];return Object.keys(e).reduce((function(n,i){var o=e[i];switch((0,r.Z)(o)){case"string":n[i]=o;break;case"object":var a=t.filter((function(e){return o.hasOwnProperty(e)}));a.length&&(n[i]=o[a[0]])}return n}),{})}(S),Z=(0,d.Z)(P,"ext.data.pbadslot")||(0,d.Z)(P,"ext.data.adserver.adslot"),G=[1,1],V={},q=new Date,A=q.getTime(),E=q.getTimezoneOffset();for(var F in V.lt=A,V.to=E,z&&(V.aun=z),U)V[F]=U[F];if(Z&&(V.gpid=Z),g.banner?G=g.banner.sizes:g.video&&(G=g.video.playerSize,V=function(e){var t=e.minduration,n=e.maxduration,i=e.linearity,r=e.startdelay,a=e.placement,d=e.protocols,s=void 0===d?[]:d,u=e.playerSize,p=void 0===u?[]:u,l=(0,c.sF)(p),f=l[0]&&l[0].split("x"),m=(0,o.Z)(f,2),v=m[0],g=m[1],b="";return s.length&&(b=s.join(",")),{mind:t,maxd:n,li:i,sd:r,pt:a,pr:b,viw:v,vih:g}}(g.video)),j&&(V.pv=j),N&&(V.fp=N,V.fpc=R),y.iriscat&&"string"==typeof y.iriscat&&(V.iriscat=y.iriscat),y.irisid&&"string"==typeof y.irisid&&(V.irisid=y.irisid),y.zone||y.pubId)if(y.zone?V.t=y.zone:V.pubId=y.pubId,V.pi=2,y.slot){var M=D(G),B=(0,o.Z)(M,2),X=B[0],J=B[1];V.maxw=X,V.maxh=J,V.si=y.slot,V.pi=3,V.bf=G.reduce((function(e,t){return"".concat(e).concat(e&&",").concat(t[0],"x").concat(t[1])}),"")}else y.native?(V.ni=y.native,V.pi=5):g.video?V.pi=2===g.video.linearity?6:7:y.product&&"skins"===y.product.toLowerCase()&&(V.pi=8);else V=m(m({},V),function(e,t){var n={};e.inScreenPubID&&(n.pubId=e.inScreenPubID,n.pi=2);e.inScreen&&(n.t=e.inScreen,n.pi=2);if(e.inSlot){var i=D(t),r=(0,o.Z)(i,2),a=r[0],c=r[1];n.maxw=a,n.maxh=c,n.si=e.inSlot,n.pi=3,n.bf=t.reduce((function(e,t){return"".concat(e).concat(e&&",").concat(t[0],"x").concat(t[1])}),"")}e.ICV&&(n.ni=e.ICV,n.pi=5);e.videoPubID&&(n.pubId=e.videoPubID,n.pi=7);e.video&&(n.t=e.video,n.pi=7);e.inVideo&&(n.t=e.inVideo,n.pi=6);return n}(y,G));i&&(V.gdprApplies=i.gdprApplies?1:0),V.gdprApplies&&(V.gdprConsent=i.consentString),a&&(V.uspConsent=a),p&&(V.coppa=p),w&&w.nodes&&(V.schain=(s="".concat((t=w).ver,",").concat(t.complete),t.nodes.map((function(e){s+="!".concat(encodeURIComponent(e.asi||""),","),s+="".concat(encodeURIComponent(e.sid||""),","),s+="".concat(encodeURIComponent(e.hp||""),","),s+="".concat(encodeURIComponent(e.rid||""),","),s+="".concat(encodeURIComponent(e.name||""),","),s+="".concat(encodeURIComponent(e.domain||""))})),s)),n.push({id:f,tmax:u,tId:I,pi:V.pi,selector:y.selector,sizes:G,url:b,method:"GET",data:Object.assign(V,x(l),C(S))})})),n},interpretResponse:function(e,t){var n=[],i=e.body;if(!i||i.err){var r=t.data||{},d=r.si||r.ni||r.t||r.pubId,s=i?i.err.drt:I;O[d]={productId:r.pi,timestamp:(new Date).getTime()},setTimeout((function(){O[d]&&delete O[d]}),s),(0,c.yN)("[GumGum] Please check the implementation for ".concat(d))}var u=Object.assign({ad:{price:0,id:0,markup:"",width:0,height:0},pag:{pvid:0},meta:{adomain:[],mediaType:""}},i),l=u.ad,f=l.price,v=l.id,g=l.markup,b=l.cur,y=l.width,x=l.height,C=l.maxw,D=l.maxh,P=u.cw,k=u.pag.pvid,z=u.jcsi,T=u.meta,R=T.adomain,N=T.mediaType,U=t.data||{},Z=U.pi,G=6===Z||7===Z?a.pX:a.Mk,V=3===Z&&9===U.si,q={advertiserDomains:R||[],mediaType:N||G},A=(0,c.sF)(t.sizes);if(C&&D)A=["".concat(C,"x").concat(D)];else if(5===Z&&(0,p.q9)(A,"1x1"))A=["1x1"];else if(2===Z&&(0,p.q9)(A,"1x1")){var E=t.sizes&&t.sizes.reduce((function(e,t){var n=(0,o.Z)(t,2),i=n[0],r=n[1];return y!==i&&x!==r||e.push(t.join("x")),e}),[])||[];A=E.length?E:(0,c.sF)(t.sizes)}var F=A[0].split("x"),M=(0,o.Z)(F,2),B=M[0],X=M[1];return z&&(i.jcsi=h),j=k,v&&n.push(m(m({ad:P?S(P,Object.assign({},i,{bidRequest:t})):g},G===a.pX&&{ad:g,vastXml:g}),{},{mediaType:G,cpm:V?.1:f,creativeId:v,currency:b||"USD",height:X,netRevenue:!0,requestId:t.id,ttl:w,width:B,meta:q})),n},getUserSyncs:function(e,t){return t.map((function(e){return e.body&&e.body.pxs&&e.body.pxs.scr||[]})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){return{type:"f"===e.t?"iframe":"image",url:e.u}}))},supportedMediaTypes:y};(0,l.dX)(P),window.pbjs.installedModules.push("gumgumBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=5374,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[1618],{1808:function(e,t,n){var r=n(4942),o=n(5671),i=n(3144),a=n(265),s=n(4358),c=n(6475),u=n(8928),d=n(2797),p=n(5102),f=n(5164),h=n(1039);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.add(e)}function v(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}var b=30,y="id5id",D="".concat(y,"_privacy"),O="html5",w="User ID - ID5 submodule: ",S="https://id5-sync.com/api/config/prebid",j=["pbjs-id5id","id5id.1st","id5id"],C=(0,f.df)({gvlid:131,moduleName:"id5Id"}),P={name:"id5Id",gvlid:131,decode:function(e,t){var n=0;if(e&&"string"==typeof e.universal_uid){var r={id5id:{uid:e.universal_uid,ext:{linkType:n=e.link_type||n}}};switch((0,a.Z)(e,"ab_testing.result")){case"control":(0,s.PN)(w+"A/B Testing - user is in the Control Group: ID5 ID is NOT exposed"),(0,c.N)(r,"id5id.ext.abTestingControlGroup",!0);break;case"error":(0,s.H)(w+"A/B Testing ERROR! controlGroupPct must be a number >= 0 and <= 1");break;case"normal":(0,s.PN)(w+"A/B Testing - user is NOT in the Control Group"),(0,c.N)(r,"id5id.ext.abTestingControlGroup",!1)}return(0,s.PN)(w+"Decoded ID",r),r}},getId:function(e,t,n){if(A(e)){return{callback:function(r){new _(e,t,n,h.nX.getConsentData()).execute().then((function(e){r(e)})).catch((function(e){(0,s.H)(w+"getId fetch encountered an error",e),r()}))}}}},extendId:function(e,t,n){return A(e),F(e&&e.params&&e.params.partner||0),(0,s.PN)(w+"using cached ID",n),n}},I=new WeakSet,N=new WeakSet,T=new WeakSet,k=new WeakSet,x=new WeakSet,_=function(){function e(t,n,r,i){(0,o.Z)(this,e),m(this,x),m(this,k),m(this,T),m(this,N),m(this,I),this.submoduleConfig=t,this.gdprConsentData=n,this.cacheIdObj=r,this.usPrivacyData=i}return(0,i.Z)(e,[{key:"execute",value:function(){var e=this;return v(this,N,E).call(this,this.submoduleConfig).then((function(t){return v(e,T,G).call(e,t.extensionsCall).then((function(n){return v(e,k,J).call(e,t.fetchCall,n)}))})).then((function(t){try{q(e.submoduleConfig.params.partner,0),t.privacy&&U(D,JSON.stringify(t.privacy),b)}catch(e){(0,s.H)(w+e)}return t}))}}]),e}();function H(e,t,n){return new Promise((function(r,o){(0,u.h)(e,{success:function(e){r(e)},error:function(e){o(e)}},t,n)}))}function E(e){var t=e.params.configUrl||S;return v(this,I,H).call(this,t,JSON.stringify(e),{method:"POST"}).then((function(e){var t=JSON.parse(e);return(0,s.PN)(w+"config response received from the server",t),t}))}function G(e){if(void 0===e)return Promise.resolve(void 0);var t=e.url,n=e.method||"GET",r="GET"===n?void 0:JSON.stringify(e.body||{});return v(this,I,H).call(this,t,r,{method:n}).then((function(e){var t=JSON.parse(e);return(0,s.PN)(w+"extensions response received from the server",t),t}))}function J(e,t){var n=e.url,r=e.overrides||{},o=g(g(g({},v(this,x,L).call(this)),r),{},{extensions:t});return v(this,I,H).call(this,n,JSON.stringify(o),{method:"POST",withCredentials:!0}).then((function(e){var t=JSON.parse(e);return(0,s.PN)(w+"fetch response received from the server",t),t}))}function L(){var e,t=this.submoduleConfig.params,n=this.gdprConsentData&&"boolean"==typeof this.gdprConsentData.gdprApplies&&this.gdprConsentData.gdprApplies?1:0,r=(0,p.nH)(),o=this.cacheIdObj&&this.cacheIdObj.signature?this.cacheIdObj.signature:(j.forEach((function(t){C.getCookie(t)&&(e=(0,s.dj)(C.getCookie(t))||e)})),e&&e.signature||""),i=F(t.partner),a={partner:t.partner,gdpr:n,nbPage:i,o:"pbjs",tml:r.topmostLocation,ref:r.ref,cu:r.canonicalUrl,top:r.reachedTop?1:0,u:r.stack[0]||window.location.href,v:"7.36.0",storage:this.submoduleConfig.storage};!n||void 0===this.gdprConsentData.consentString||(0,s.xb)(this.gdprConsentData.consentString)||(0,s.jH)(this.gdprConsentData.consentString)||(a.gdpr_consent=this.gdprConsentData.consentString),void 0===this.usPrivacyData||(0,s.xb)(this.usPrivacyData)||(0,s.jH)(this.usPrivacyData)||(a.us_privacy=this.usPrivacyData),void 0===o||(0,s.jH)(o)||(a.s=o),void 0===t.pd||(0,s.jH)(t.pd)||(a.pd=t.pd),void 0===t.provider||(0,s.jH)(t.provider)||(a.provider=t.provider);var c=t.abTesting||{enabled:!1};return c.enabled&&(a.ab_testing={enabled:!0,control_group_pct:c.controlGroupPct}),a}function A(e){return e&&e.params&&e.params.partner&&"number"==typeof e.params.partner?e.storage&&e.storage.type&&e.storage.name?(e.storage.type!==O&&(0,s.yN)(w+"storage type recommended to be '".concat(O,"'. In a future release this may become a strict requirement")),e.storage.name!==y&&(0,s.yN)(w+"storage name recommended to be '".concat(y,"'. In a future release this may become a strict requirement")),!0):((0,s.H)(w+"storage required to be set"),!1):((0,s.H)(w+"partner required to be defined as a number"),!1)}function W(e){return"".concat(y,"_").concat(e,"_nb")}function q(e,t){U(W(e),t,b)}function B(e){var t=function(e){var t=C.getDataFromLocalStorage("".concat(e,"_exp"));if(""===t)return C.getDataFromLocalStorage(e);if(t&&new Date(t).getTime()-Date.now()>0)return C.getDataFromLocalStorage(e);return C.removeDataFromLocalStorage(e),null}(W(e));return t?parseInt(t):0}function F(e){var t=B(e)+1;return q(e,t),t}function U(e,t,n){C.setDataInLocalStorage("".concat(e,"_exp"),function(e){return new Date(Date.now()+864e5*e).toUTCString()}(n)),C.setDataInLocalStorage("".concat(e),t)}(0,d.Bx)("userId",P),window.pbjs.installedModules.push("id5IdSystem")}},function(e){e.O(0,[6866],(function(){return t=1808,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[845],{6077:function(t,e,n){var a=n(4358),i=n(8928),r=n(2797),o=n(5164),d=365,c="intentIqId",p="_iiq_fdata",l="_iiq_fdata",s=(0,o.df)({gvlid:void 0,moduleName:c}),u="INVALID_ID";function x(t){try{if(s.hasLocalStorage())return s.getDataFromLocalStorage(t);if(s.cookiesAreEnabled())return s.getCookie(t)}catch(t){(0,a.H)(t)}}function f(t,e){try{if((0,a.PN)(c+": storing data: key="+t+" value="+e),e){s.hasLocalStorage()&&s.setDataInLocalStorage(t,e);var n=new Date(Date.now()+864e5*d).toUTCString();s.cookiesAreEnabled()&&s.setCookie(t,e,n,"LAX")}}catch(t){(0,a.H)(t)}}function I(t){try{return JSON.parse(t)}catch(t){return(0,a.H)(t),null}}var v={name:c,decode:function(t){return t&&""!=t&&u!=t?{intentIqId:t}:void 0},getId:function(t){var e=t&&t.params||{};if(e&&"number"==typeof e.partner){l.includes(e.partner)||(l+="_"+e.partner);var n,r=0,o=I(x(p));if(!o||!o.pcid){var d=(n=(new Date).getTime(),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=(n+16*Math.random())%16|0;return n=Math.floor(n/16),("x"==t?e:3&e|8).toString(16)})));o={pcid:d},f(p,JSON.stringify(o))}var s=I(x(l));s||(s={});var v="https://api.intentiq.com/profiles_engine/ProfilesEngineServlet?at=39&mi=10&dpi=".concat(e.partner,"&pt=17&dpn=1");v+=e.pcid?"&pcid="+encodeURIComponent(e.pcid):"",v+=e.pai?"&pai="+encodeURIComponent(e.pai):"",v+=o.pcid?"&iiqidtype=2&iiqpcid="+encodeURIComponent(o.pcid):"",v+=o.pid?"&pid="+encodeURIComponent(o.pid):"",v+=s.cttl?"&cttl="+encodeURIComponent(s.cttl):"",v+=s.rrtt?"&rrtt="+encodeURIComponent(s.rrtt):"";return{callback:function(t){var e={success:function(e){var n=I(e);if(n&&n.ls){var a=!1;"pid"in n&&(o.pid=n.pid,a=!0),"cttl"in n&&(s.cttl=n.cttl,a=!0),""==n.data?n.data=u:(s.data=n.data,a=!0),r&&r>0&&(s.rrtt=Date.now()-r,a=!0),!0===a&&(s.date=Date.now(),f(p,JSON.stringify(o)),f(l,JSON.stringify(s))),t(n.data)}else t()},error:function(e){(0,a.H)(c+": ID fetch encountered an error",e),t()}};s.date&&s.cttl&&s.data&&Date.now()-s.date<s.cttl?t(s.data):(r=Date.now(),(0,i.h)(v,e,void 0,{method:"GET",withCredentials:!0}))}}}(0,a.H)("User ID - intentIqId submodule requires a valid partner to be defined")}};(0,r.Bx)("userId",v),window.pbjs.installedModules.push("intentIqIdSystem")}},function(t){t.O(0,[6866],(function(){return e=6077,t(t.s=e);var e}));t.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[155],{3390:function(e,t,r){var n=r(9062),a=r(1002),i=r(4942),o=r(265),s=r(4358),d=r(6475),p=r(4679),c=r(3193),u=r(5644),l=r(5164),f=r(2021),m=r(4614),g=r(5339),v=r(154),y=r(5706);function I(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var O="ix",S="roundel",_="https://htlb.casalemedia.com/openrtb/pbjs",E=[p.Mk,p.pX,p.B5],w=100,Z=300,D=3600,P=3600,T=!0,A=4,N=[144,144],C={JPY:1},k={PBJS:"p",IX:"x"},B="https://dsum.casalemedia.com/pbusermatch?origin=prebid",R={BID_SIZE_INVALID_FORMAT:1,BID_SIZE_NOT_INCLUDED:2,PROPERTY_NOT_INCLUDED:3,SITE_ID_INVALID_VALUE:4,BID_FLOOR_INVALID_FORMAT:5,IX_FPD_EXCEEDS_MAX_SIZE:6,EXCEEDS_MAX_SIZE:7,PB_FPD_EXCEEDS_MAX_SIZE:8,VIDEO_DURATION_INVALID:9},j={SITE:["id","name","domain","cat","sectioncat","pagecat","page","ref","search","mobile","privacypolicy","publisher","content","keywords","ext"],USER:["id","buyeruid","yob","gender","keywords","customdata","geo","data","ext"]},F={"liveramp.com":"idl","netid.de":"NETID","neustar.biz":"fabrickId","zeotap.com":"zeotapIdPlus","uidapi.com":"UID2","adserver.org":"TDID","id5-sync.com":"","crwdcntrl.net":"","epsilon.com":"","audigent.com":"","pubcid.org":"","trustpid.com":"","intimatemerger.com":""},X=["britepoolid","lipbid","criteoId","merkleId","parrableId","connectid","tapadId","quantcastId","pubProvidedId"],U=["mimes","minduration","maxduration"],z=["mimes","minduration","maxduration","protocols","protocol","startdelay","placement","linearity","skip","skipmin","skipafter","sequence","battr","maxextended","minbitrate","maxbitrate","boxingallowed","playbackmethod","playbackend","delivery","pos","companionad","api","companiontype","ext","playerSize","w","h"],L="ixdiag",V="".concat(O,"_features"),q=!1,M=(0,l.df)({gvlid:10,bidderCode:O}),J={featureToggles:{},isFeatureEnabled:function(e){return(0,o.Z)(this.featureToggles,"features.".concat(e,".activated"))},getFeatureToggles:function(){if(M.localStorageIsEnabled()){var e=(0,s.dj)(M.getDataFromLocalStorage(V));(0,o.Z)(e,"expiry")&&e.expiry>=(new Date).getTime()?this.featureToggles=e:this.clearFeatureToggles()}},setFeatureToggles:function(e){var t=e.body,r=new Date,n=(0,o.Z)(t,"ext.features");n&&(this.featureToggles={expiry:r.setHours(r.getHours()+1),features:n},M.localStorageIsEnabled()&&M.setDataInLocalStorage(V,JSON.stringify(this.featureToggles)))},clearFeatureToggles:function(){this.featureToggles={},M.localStorageIsEnabled()&&M.removeDataFromLocalStorage(V)}},H=0,Y="",$="",G={Banner:1,Video:2,Audio:3,Native:4},Q=0,K=0,W=!1,ee=0;function te(e){var t=re(e,p.pX),r=(0,o.Z)(e,"mediaTypes.video"),n=(0,o.Z)(e,"params.video");if(se(r,n).length)return{};for(var a in t.video=n?(0,s.I8)(e.params.video):{},t.ext.tid=(0,o.Z)(e,"ortb2Imp.ext.tid"),r)-1===z.indexOf(a)||t.video.hasOwnProperty(a)||(t.video[a]=r[a]);if(t.video.minduration>t.video.maxduration)return(0,s.H)("IX Bid Adapter: video minduration [".concat(t.video.minduration,"] cannot be greater than video maxduration [").concat(t.video.maxduration,"]"),{bidder:O,code:R.VIDEO_DURATION_INVALID}),{};var i=n&&n.context||r&&r.context;if(i&&!t.video.hasOwnProperty("placement")&&(i===v.LD?t.video.placement=1:i===v.gZ?(0,o.Z)(n,"playerConfig.floatOnScroll")?t.video.placement=5:t.video.placement=4:(0,s.yN)("IX Bid Adapter: Video context '".concat(i,"' is not supported"))),!t.video.w||!t.video.h){var d=de((0,o.Z)(t,"video.playerSize"))||de((0,o.Z)(e,"params.size"));if(!d)return(0,s.yN)("IX Bid Adapter: Video size is missing in [mediaTypes.video]"),{};t.video.w=d[0],t.video.h=d[1]}return ne(e,t,p.pX),t}function re(e,t){var r={};if(r.id=e.bidId,r.ext={},(0,o.Z)(e,"params.".concat(t,".siteId"))&&!isNaN(Number(e.params[t].siteId)))switch(t){case p.Mk:r.ext.siteID=e.params.banner.siteId.toString();break;case p.pX:r.ext.siteID=e.params.video.siteId.toString();break;case p.B5:r.ext.siteID=e.params.native.siteId.toString()}else r.ext.siteID=e.params.siteId.toString();return!e.params.hasOwnProperty("id")||"string"!=typeof e.params.id&&"number"!=typeof e.params.id||(r.ext.sid=String(e.params.id)),r}function ne(e,t,r){var n=null,a=null;if(e.params.bidFloor&&e.params.bidFloorCur&&(n={floor:e.params.bidFloor,currency:e.params.bidFloorCur}),(0,s.LQ)(e.getFloor)){var i="*",o="*";if(r&&(0,s.r3)(E,r)){var d=t[r];i=r,o=[d.w,d.h]}try{a=e.getFloor({mediaType:i,size:o})}catch(e){(0,s.yN)("priceFloors module call getFloor failed, error : ",e)}}a?(t.bidfloor=a.floor,t.bidfloorcur=a.currency,t.ext.fl=k.PBJS):n&&(t.bidfloor=n.floor,t.bidfloorcur=n.currency,t.ext.fl=k.IX)}function ae(e,t,r){var n={},a=!(!(0,o.Z)(e,"exp")||!(0,s.U)(e.exp)),i=(0,o.Z)(e,"dealid")||(0,o.Z)(e,"ext.dealid");C.hasOwnProperty(t)?n.cpm=e.price/C[t]:n.cpm=e.price/w,n.requestId=e.impid,i&&(n.dealId=i),n.netRevenue=T,n.currency=t,n.creativeId=e.hasOwnProperty("crid")?e.crid:"-",e.mtype!=G.Video||(!e.ext||e.ext.vasturl)&&e.ext?e.ext&&e.ext.vasturl&&(n.vastUrl=e.ext.vasturl):n.vastXml=e.adm;var d=null;if("string"==typeof e.adm&&"{"===e.adm[0]&&"}"===e.adm[e.adm.length-1])try{d=JSON.parse(e.adm)}catch(e){(0,s.yN)("adm looks like JSON but failed to parse: ",e)}return e.ext&&e.ext.vasturl||e.mtype==G.Video?(n.width=r.video.w,n.height=r.video.h,n.mediaType=p.pX,n.mediaTypes=r.mediaTypes,n.ttl=a?e.exp:D):d&&d.native?(n.native={ortb:d.native},n.width=e.w?e.w:1,n.height=e.h?e.h:1,n.mediaType=p.B5,n.ttl=a?e.exp:P):(n.ad=e.adm,n.width=e.w,n.height=e.h,n.mediaType=p.Mk,n.ttl=a?e.exp:Z),n.meta={},n.meta.networkId=(0,o.Z)(e,"ext.dspid"),n.meta.brandId=(0,o.Z)(e,"ext.advbrandid"),n.meta.brandName=(0,o.Z)(e,"ext.advbrand"),e.adomain&&e.adomain.length>0&&(n.meta.advertiserDomains=e.adomain),n}function ie(e){return Array.isArray(e)&&2===e.length&&(0,s.U)(e[0])&&(0,s.U)(e[1])}function oe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(ie(e))return e[0]===t[0]&&e[1]===t[1];for(var r=0;r<e.length;r++)if(e[r][0]===t[0]&&e[r][1]===t[1])return!0;return!1}function se(e,t){var r=[];e||(0,s.yN)("IX Bid Adapter: mediaTypes.video is the preferred location for video params in ad unit");for(var n=0,a=U;n<a.length;n++){var i=a[n],o=e&&e.hasOwnProperty(i),d=t&&t.hasOwnProperty(i);o||d||r.push("IX Bid Adapter: ".concat(i," is not included in either the adunit or params level"))}var p=e&&e.hasOwnProperty("protocol"),c=e&&e.hasOwnProperty("protocols"),u=t&&t.hasOwnProperty("protocol"),l=t&&t.hasOwnProperty("protocols");return p||c||u||l||r.push("IX Bid Adapter: protocol/protcols is not included in either the adunit or params level"),r}function de(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return ie(e)?e:!!ie(e[0])&&e[0]}function pe(e,t,r){if(e)return x(x({},(0,m.sE)(r,(function(t){return t.bidId===e}))),(0,m.sE)(t,(function(t){return t.id===e})))}function ce(e,t,r,n){Q=0,K=0,W=!1,ee=0;var i=_,p=function(e){var t=[],r={};if((0,s.kJ)(e)){var n,a=I(e);try{for(a.s();!(n=a.n()).done;){var i=n.value;F.hasOwnProperty(i.source)&&(0,o.Z)(i,"uids.0")&&(r[i.source]=!0,""!=F[i.source]&&(i.uids[0].ext={rtiPartner:F[i.source]}),delete i.uids[0].atype,t.push(i))}}catch(e){a.e(e)}finally{a.f()}}return{toSend:t,seenSources:r}}((0,o.Z)(e,"0.userIdAsEids")),u=p.toSend,l=8e3;if(window.headertag&&"function"==typeof window.headertag.getIdentityInfo&&function(e,t){var r=window.headertag.getIdentityInfo();if(r&&"object"===(0,a.Z)(r))for(var n in r)if(r.hasOwnProperty(n)){var i=r[n];!i.responsePending&&i.data&&"object"===(0,a.Z)(i.data)&&Object.keys(i.data).length&&!t.seenSources[i.data.source]&&e.push(i.data)}}(u,p),t&&t.bidderCode===S&&!p.seenSources["liveramp.com"])return[];var f=[],m=function(e){var t={};return t.id=e[0].bidderRequestId.toString(),t.site={},t.ext={},t.ext.source="prebid",t.ext.ixdiag={},t.ext.ixdiag.ls=M.localStorageIsEnabled(),t.imp=[],t.at=1,t}(e),g=function(e){for(var t=e.map((function(e){return e.transactionId})).filter((function(e,t,r){return r.indexOf(e)===t})),r={mfu:0,bu:0,iu:0,nu:0,ou:0,allu:0,ren:!1,version:"7.36.0",userIds:me(e[0]),url:window.location.href.split("?")[0]},n=function(n){i=e.filter((function(e){return e.transactionId===t[n]}))[0],(0,o.Z)(i,"mediaTypes")&&(Object.keys(i.mediaTypes).length>1&&r.mfu++,(0,o.Z)(i,"mediaTypes.native")&&r.nu++,(0,o.Z)(i,"mediaTypes.banner")&&r.bu++,"outstream"===(0,o.Z)(i,"mediaTypes.video.context")&&(r.ou++,Se(i)&&(r.ren=!0)),"instream"===(0,o.Z)(i,"mediaTypes.video.context")&&r.iu++,r.allu++)},a=0;a<t.length;a++){var i;n(a)}return r}(e);for(var v in g)m.ext.ixdiag[v]=g[v];m=function(e,t,r,n,a){var i=(0,o.Z)(t,"timeout");i&&(e.ext.ixdiag.tmax=i);c.vc.getConfig("userSync")&&(e.ext.ixdiag.syncsPerBidder=c.vc.getConfig("userSync").syncsPerBidder);var d=function(){if(!M.localStorageIsEnabled())return;var e,t={};try{e=JSON.parse(M.getDataFromLocalStorage(L)||"{}")}catch(e){return(0,s.H)("ix can not read ixdiag from localStorage."),null}return Object.keys(e).forEach((function(r){Object.keys(e[r]).forEach((function(n){"number"==typeof e[r][n]&&(t[n]=t[n]?t[n]+e[r][n]:e[r][n])}))})),t}();(0,s.xb)(d)||(e.ext.ixdiag.err=d);e.ext.ixdiag.imps=Object.keys(r).length,e.source={tid:n[0].auctionId},n[0].schain&&(e.source.ext={},e.source.ext.schain=n[0].schain);a.length>0&&(e.user={},e.user.eids=a);document.referrer&&""!==document.referrer&&(e.site.ref=document.referrer);return e}(m,t,r,e,u),m=function(e,t){if(t){t.gdprConsent&&((Y=t.gdprConsent).hasOwnProperty("gdprApplies")&&(e.regs={ext:{gdpr:Y.gdprApplies?1:0}}),Y.hasOwnProperty("consentString")&&(e.user=e.user||{},e.user.ext={consent:Y.consentString||""},Y.hasOwnProperty("addtlConsent")&&Y.addtlConsent&&(e.user.ext.consented_providers_settings={consented_providers:Y.addtlConsent}))),t.uspConsent&&((0,d.N)(e,"regs.ext.us_privacy",t.uspConsent),$=t.uspConsent);var r=(0,o.Z)(t,"refererInfo.page");r&&(e.site.page=r),t.gppConsent&&((0,d.N)(e,"regs.gpp",t.gppConsent.gppString),(0,d.N)(e,"regs.gpp_sid",t.gppConsent.applicableSections))}c.vc.getConfig("coppa")&&(0,d.N)(e,"regs.coppa",1);return e}(m,t);var y={};!function(e,t,r,n,i,o,d){H=e[0].params.siteId,o.s=H;var p=t&&t.bidderCode||"ix",u=c.vc.getConfig(p);if(Q="".concat(n).concat((0,s.Re)(x(x({},o),{},{r:JSON.stringify(r)}))).length,Q>d)return(0,s.H)("IX Bid Adapter: Base request size has exceeded maximum request size.",{bidder:O,code:R.EXCEEDS_MAX_SIZE}),i;K=Q;var l=0;if(u&&"object"===(0,a.Z)(u.firstPartyData)){var f=u.firstPartyData,m="?";for(var g in f)f.hasOwnProperty(g)&&(m+="".concat(encodeURIComponent(g),"=").concat(encodeURIComponent(f[g]),"&"));m=m.slice(0,-1),l=encodeURIComponent(m).length,J.isFeatureEnabled("pbjs_use_buildRequestV2")?"page"in r.site?r.site.page+=m:r.site.page=m:l<d?("page"in r.site?r.site.page+=m:r.site.page=m,K+=l):(0,s.H)("IX Bid Adapter: IX config FPD request size has exceeded maximum request size.",{bidder:O,code:R.IX_FPD_EXCEEDS_MAX_SIZE})}}(e,t,m,i,f,y,l);for(var b=0,h=Object.keys(r),E=!1,w=0;w<h.length&&(J.isFeatureEnabled("pbjs_use_buildRequestV2")||!(K>=l))&&!(f.length>=A);w++){m=ue(r,h,m,w,l),K+=ee;var Z=(0,o.Z)(t,"ortb2")||{},D=x({},Z.site||Z.context),P=x({},Z.user);if(!(0,s.xb)(Z)&&!E){m=le(t,m,Z,D,P);var T=(0,s.I8)(m);if(T.site=(0,s.Ee)({},T.site,D),T.user=(0,s.Ee)({},T.user,P),"".concat(i).concat((0,s.Re)(x(x({},y),{},{r:JSON.stringify(T)}))).length<l){m.site=(0,s.Ee)({},m.site,D),m.user=(0,s.Ee)({},m.user,P),E=!0;var N=encodeURIComponent(JSON.stringify(x(x({},D),P))).length;K+=N}else(0,s.H)("IX Bid Adapter: FPD request size has exceeded maximum request size.",{bidder:O,code:R.PB_FPD_EXCEEDS_MAX_SIZE})}m=fe(r,m,h,w,y,i,l);var C=w===h.length-1;(W||C)&&(C&&!b||(m.ext.ixdiag.sn=b),b++,f.push({method:"POST",url:i+"?s="+H,data:(0,s.I8)(m),option:{contentType:"text/plain"},validBidRequests:e}),K=Q,m.imp=[],E=!1)}return f}function ue(e,t,r,a,i){var o=e[t[a]],c=o.missingImps,u=void 0===c?[]:c,l=o.ixImps,f=i-K,m={ixImps:void 0===l?[]:l,missingBannerImpressions:u},g=Object.keys(m).map((function(e){return m[e]})).filter((function(e){return Array.isArray(e)})).reduce((function(e,t){return e.concat.apply(e,(0,n.Z)(t))}),[]);if(ee=encodeURIComponent(JSON.stringify({impressionObjects:g})).length,!J.isFeatureEnabled("pbjs_use_buildRequestV2"))for(;g.length&&ee>f;)W=!0,g.pop(),ee=encodeURIComponent(JSON.stringify({impressionObjects:g})).length;var v=e[t[a]].gpid,y=e[t[a]].dfp_ad_unit_code,I=e[t[a]].tid,b=e[t[a]].sid;if(g.length&&p.Mk in g[0]){for(var h=g[0],x={id:h.id,banner:{topframe:h.banner.topframe,format:g.map((function(e){var t=e.banner;return{w:t.w,h:t.h,ext:e.ext}}))}},O=0;O<x.banner.format.length;O++)null!=x.banner.format[O].ext&&null!=x.banner.format[O].ext.sid&&delete x.banner.format[O].ext.sid,"bidfloor"in g[O]&&(x.banner.format[O].ext.bidfloor=g[O].bidfloor);var S=e[t[a]].pos;(0,s.U)(S)&&(x.banner.pos=S),(y||v||I||b)&&(x.ext={},x.ext.dfp_ad_unit_code=y,x.ext.gpid=v,x.ext.tid=I,x.ext.sid=b),"bidfloor"in g[0]&&(x.bidfloor=g[0].bidfloor),"bidfloorcur"in g[0]&&(x.bidfloorcur=g[0].bidfloorcur),r.imp.push(x)}else{var _;g.forEach((function(e){return(0,d.N)(e,"ext.gpid",v)})),(_=r.imp).push.apply(_,(0,n.Z)(g))}return r}function le(e,t,r,n,a){if(t.ext.ixdiag.fpd=!0,Object.keys(n).forEach((function(e){-1===j.SITE.indexOf(e)&&delete n[e]})),Object.keys(a).forEach((function(e){-1===j.USER.indexOf(e)&&delete a[e]})),r.device){var i=x({},r.device.sua);(0,s.xb)(i)||(0,d.N)(t,"device.sua",i)}return r.hasOwnProperty("regs")&&!e.gppConsent&&(r.regs.hasOwnProperty("gpp")&&"string"==typeof r.regs.gpp&&(0,d.N)(t,"regs.gpp",r.regs.gpp),r.regs.hasOwnProperty("gpp_sid")&&Array.isArray(r.regs.gpp_sid)&&(0,d.N)(t,"regs.gpp_sid",r.regs.gpp_sid)),t}function fe(e,t,r,n,a,i,o){var d=e[r[n]].pbadslot,p=e[r[n]].tagId,c=e[r[n]].adUnitCode,u=e[r[n]].divId;if(d||p||c||u){var l=(0,s.I8)(t),f="".concat(i).concat((0,s.Re)(x(x({},a),{},{r:JSON.stringify(l)}))).length;(J.isFeatureEnabled("pbjs_use_buildRequestV2")||f<o)&&(t.ext.ixdiag.pbadslot=d,t.ext.ixdiag.tagid=p,t.ext.ixdiag.adunitcode=c,t.ext.ixdiag.divId=u)}return t}function me(e){var t=e.userId||{};return X.filter((function(e){return t[e]}))}function ge(e,t){if(t)for(var r=0;r<e.length;r++){var n=e[r];if(t[0]===n[0]&&t[1]===n[1]){e.splice(r,1);break}}}function ve(e,t){var r=function(e){var t=re(e,p.B5),r=e.nativeOrtbRequest;return r.eventtrackers=[{event:1,methods:[1,2]}],r.privacy=1,t.native={request:JSON.stringify(r),ver:"1.2"},t.ext.tid=(0,o.Z)(e,"ortb2Imp.ext.tid"),ne(e,t,p.B5),t}(e);if(0!=Object.keys(r).length){t[e.transactionId]={},t[e.transactionId].ixImps=[],t[e.transactionId].ixImps.push(r),t[e.transactionId].gpid=(0,o.Z)(e,"ortb2Imp.ext.gpid"),t[e.transactionId].dfp_ad_unit_code=(0,o.Z)(e,"ortb2Imp.ext.data.adserver.adslot"),t[e.transactionId].pbadslot=(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot"),t[e.transactionId].tagId=(0,o.Z)(e,"params.tagId");var n=e.adUnitCode,a=document.getElementById(n)?n:(0,s.ky)(n).divId;t[e.transactionId].adUnitCode=n,t[e.transactionId].divId=a}}function ye(e,t){var r=te(e);if(0!=Object.keys(r).length){t[e.transactionId]={},t[e.transactionId].ixImps=[],t[e.transactionId].ixImps.push(r),t[e.transactionId].gpid=(0,o.Z)(e,"ortb2Imp.ext.gpid"),t[e.transactionId].dfp_ad_unit_code=(0,o.Z)(e,"ortb2Imp.ext.data.adserver.adslot"),t[e.transactionId].pbadslot=(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot"),t[e.transactionId].tagId=(0,o.Z)(e,"params.tagId");var n=e.adUnitCode,a=document.getElementById(n)?n:(0,s.ky)(n).divId;t[e.transactionId].adUnitCode=n,t[e.transactionId].divId=a}}function Ie(e,t,r){var n=function(e){var t=re(e,p.Mk);t.banner={};var r=(0,o.Z)(e,"params.size");return r&&(t.banner.w=r[0],t.banner.h=r[1]),t.banner.topframe=(0,s.yL)()?0:1,ne(e,t,p.Mk),t}(e),a=oe((0,o.Z)(e,"mediaTypes.banner.sizes"),(0,o.Z)(e,"params.size"));r.hasOwnProperty(e.transactionId)||(r[e.transactionId]={}),r[e.transactionId].gpid=(0,o.Z)(e,"ortb2Imp.ext.gpid"),r[e.transactionId].dfp_ad_unit_code=(0,o.Z)(e,"ortb2Imp.ext.data.adserver.adslot"),r[e.transactionId].tid=(0,o.Z)(e,"ortb2Imp.ext.tid"),r[e.transactionId].pbadslot=(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot"),r[e.transactionId].tagId=(0,o.Z)(e,"params.tagId"),r[e.transactionId].pos=(0,o.Z)(e,"mediaTypes.banner.pos");var i=(0,o.Z)(e,"params.id");!i||"string"!=typeof i&&"number"!=typeof i||(r[e.transactionId].sid=String(i));var d=e.adUnitCode,c=document.getElementById(d)?d:(0,s.ky)(d).divId;r[e.transactionId].adUnitCode=d,r[e.transactionId].divId=c,a&&(r[e.transactionId].hasOwnProperty("ixImps")||(r[e.transactionId].ixImps=[]),r[e.transactionId].ixImps.push(n)),function(e,t,r){var n=e.transactionId;if(t.hasOwnProperty(n)){var a=[];t[n].hasOwnProperty("missingSizes")&&(a=t[n].missingSizes),ge(a,e.params.size),t[n].missingSizes=a}else if((0,o.Z)(e,"mediaTypes.banner.sizes")){var i=(0,s.I8)(e.mediaTypes.banner.sizes);ge(i,e.params.size);var d={missingSizes:i,impression:r};t[n]=d}}(e,t,n)}function be(e,t,r){var n=(0,s.I8)(t);return n.banner.w=r[0],n.banner.h=r[1],ne(e,n,p.Mk),n}function he(e){"ERROR"===e.type&&e.arguments&&e.arguments[1]&&e.arguments[1].bidder===O&&function(e){if(M.localStorageIsEnabled()){var t;try{t=JSON.parse(M.getDataFromLocalStorage(L)||"{}")}catch(e){(0,s.yN)("ix can not read ixdiag from localStorage.")}var r=new Date;if(Object.keys(t).map((function(e){var n=new Date(e);n.setDate(n.getDate()+7)-r<0&&delete t[e]})),"ERROR"===e.type&&e.arguments&&e.arguments[1]&&e.arguments[1].bidder===O){var n=r.toISOString().slice(0,10),a=e.arguments[1].code;a&&(t[n]=t[n]||{},Number(t[n][a])||(t[n][a]=0),t[n][a]++)}M.setDataInLocalStorage(L,JSON.stringify(t))}}(e)}function xe(e){e.renderer.push((function(){var t=e.adUnitCode,r=document.getElementById(t)?t:(0,s.ky)(t).divId;r?window.createIXPlayer(r,e):(0,s.yN)("IX Bid Adapter: adUnitCode: ".concat(r," not found on page."))}))}function Oe(e,t){var r=y.Th.install({id:e,url:t,loaded:!1});try{r.setRender(xe)}catch(e){return(0,s.yN)("Prebid Error calling setRender on renderer",e),null}return t?r:((0,s.yN)("Outstream renderer URL not found"),null)}function Se(e){if("outstream"!==(0,o.Z)(e,"mediaTypes.video.context"))return!1;var t=(0,o.Z)(e,"mediaTypes.video.renderer");return t||(t=(0,o.Z)(e,"renderer")),!!("object"!==(0,a.Z)(t)||!t.url||!t.render)||t.backupOnly}var _e={code:O,gvlid:10,aliases:[{code:S,gvlid:10,skipPbsAliasing:!1}],supportedMediaTypes:E,isBidRequestValid:function(e){q||(f.on(u.FP.AUCTION_DEBUG,he),f.on(u.FP.AD_RENDER_FAILED,he),q=!0);var t,r,n=(0,o.Z)(e,"params.video"),a=(0,o.Z)(e,"params.size"),i=(0,o.Z)(e,"mediaTypes.banner.sizes"),d=(0,o.Z)(e,"mediaTypes.video"),p=(0,o.Z)(e,"mediaTypes.video.playerSize"),c=e.params.hasOwnProperty("bidFloor"),l=e.params.hasOwnProperty("bidFloorCur");if(e.hasOwnProperty("mediaType")&&!(0,s.r3)(E,e.mediaType))return(0,s.yN)("IX Bid Adapter: media type is not supported."),!1;if((0,o.Z)(e,"mediaTypes.banner")&&!i)return!1;if(a){var m=de(a);if(!m)return(0,s.H)("IX Bid Adapter: size has invalid format.",{bidder:O,code:R.BID_SIZE_INVALID_FORMAT}),!1;if(!oe(e.sizes,m)&&!oe(p,m)&&!oe(i,m))return(0,s.H)("IX Bid Adapter: bid size is not included in ad unit sizes or player size.",{bidder:O,code:R.BID_SIZE_NOT_INCLUDED}),!1}if("string"!=typeof e.params.siteId&&"number"!=typeof e.params.siteId)return(0,s.H)("IX Bid Adapter: siteId must be string or number type.",{bidder:O,code:R.SITE_ID_INVALID_VALUE}),!1;if("string"!=typeof e.params.siteId&&isNaN(Number(e.params.siteId)))return(0,s.H)("IX Bid Adapter: siteId must valid value",{bidder:O,code:R.SITE_ID_INVALID_VALUE}),!1;if((c||l)&&!(c&&l&&(t=e.params.bidFloor,r=e.params.bidFloorCur,Boolean("number"==typeof t&&"string"==typeof r&&r.match(/^[A-Z]{3}$/)))))return(0,s.H)("IX Bid Adapter: bidFloor / bidFloorCur parameter has invalid format.",{bidder:O,code:R.BID_FLOOR_INVALID_FORMAT}),!1;if(d&&n){var g=te(e).video,y=se(d,n);if((0,o.Z)(e,"mediaTypes.video.context")===v.gZ&&Se(e)&&g){var I=[(0,o.Z)(g,"w"),(0,o.Z)(g,"h")];if(!(I[0]>=N[0]&&I[1]>=N[1]))return(0,s.H)("IX Bid Adapter: ".concat(I," is an invalid size for IX outstream renderer")),!1}if(y.length)return y.forEach((function(e){(0,s.H)(e,{bidder:O,code:R.PROPERTY_NOT_INCLUDED})})),!1}return function(e){return void 0===(0,o.Z)(e,"mediaTypes.native")||e.nativeOrtbRequest&&Array.isArray(e.nativeOrtbRequest.assets)&&e.nativeOrtbRequest.assets.length>0}(e)},buildRequests:function(e,t){var r=[],a={},i={},d={},c={};for(var u in J.getFeatureToggles(),e.forEach((function(e){var t=Object.keys((0,o.Z)(e,"mediaTypes",{}));for(var r in t)switch(t[r]){case p.Mk:Ie(e,c,a);break;case p.pX:ye(e,i);break;case p.B5:ve(e,d);break;default:(0,s.yN)("IX Bid Adapter: ad unit mediaTypes ".concat(r," is not supported"))}})),c)if(c.hasOwnProperty(u)){var l=c[u].missingSizes;a.hasOwnProperty(u)||(a[u]={}),a[u].hasOwnProperty("missingImps")||(a[u].missingImps=[],a[u].missingCount=0);for(var f=c[u].impression,m=0;m<l.length;m++){var g=be(e[0],f,l[m]);a[u].missingImps.push(g),a[u].missingCount++}}return Object.keys(a).length>0&&r.push.apply(r,(0,n.Z)(ce(e,t,a))),Object.keys(i).length>0&&r.push.apply(r,(0,n.Z)(ce(e,t,i))),Object.keys(d).length>0&&r.push.apply(r,(0,n.Z)(ce(e,t,d))),r},interpretResponse:function(e,t){var r=[],n=null;if(!e.hasOwnProperty("body")||!e.body.hasOwnProperty("seatbid"))return J.setFeatureToggles(e),r;for(var a=e.body,i=a.seatbid,d=0;d<i.length;d++)if(i[d].hasOwnProperty("bid")){for(var c=i[d].bid,u=t.data,l=0;l<c.length;l++){var f=pe(c[l].impid,u.imp,t.validBidRequests);if((n=ae(c[l],a.cur,f)).mediaType===p.pX&&Se(f)){var m=(0,o.Z)(a,"ext.videoplayerurl");if(n.renderer=Oe(c[l].bidId,m),!n.renderer)continue}r.push(n)}if((0,o.Z)(u,"ext.ixdiag.err")&&M.localStorageIsEnabled())try{M.removeDataFromLocalStorage(L)}catch(e){(0,s.H)("ix can not clear ixdiag from localStorage.")}}return J.setFeatureToggles(e),r},transformBidParams:function(e,t){return(0,s.uh)({siteID:"number"},e)},getUserSyncs:function(e,t){var r=[],n=null;if(t.length>0&&(n=(0,o.Z)(t[0],"body.ext.publishersyncsperbidderoverride")),void 0!==n&&0==n)return[];if(e.iframeEnabled)r.push({type:"iframe",url:"https://js-sec.indexww.com/um/ixmatch.html"});else{var a=null;c.vc.getConfig("userSync")&&(a=c.vc.getConfig("userSync").syncsPerBidder),0===a&&(a=n),a=n&&(0===a||a)?n>a?a:n:1;for(var i=0;i<a;i++)r.push({type:"image",url:Ee(a,i)})}return r}};function Ee(e,t){var r="",n="0";return Y&&Y.hasOwnProperty("gdprApplies")&&(n=Y.gdprApplies?"1":"0"),Y&&Y.hasOwnProperty("consentString")&&(r=Y.consentString||""),B+"&site_id="+H.toString()+"&p="+e.toString()+"&i="+t.toString()+"&gdpr="+n+"&gdpr_consent="+r+"&us_privacy="+($||"")}(0,g.dX)(_e),window.pbjs.installedModules.push("ixBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=3390,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2921],{9882:function(e,n,d){var r=d(4358),t=d(4679),i=d(5339),s={code:"lockerdome",supportedMediaTypes:[t.Mk],isBidRequestValid:function(e){return!!e.params.adUnitId},buildRequests:function(e,n){var d,t,i,s={bidRequests:e.map((function(e){return e.schain&&(i=i||e.schain),{requestId:e.bidId,adUnitCode:e.adUnitCode,adUnitId:(0,r.An)("adUnitId",e.params),sizes:e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes}})),url:encodeURIComponent((null==n||null===(d=n.refererInfo)||void 0===d?void 0:d.canonicalUrl)||""),referrer:encodeURIComponent((null==n||null===(t=n.refererInfo)||void 0===t?void 0:t.topmostLocation)||"")};return i&&(s.schain=i),n&&(n.gdprConsent&&(s.gdpr={applies:n.gdprConsent.gdprApplies,consent:n.gdprConsent.consentString}),n.uspConsent&&(s.us_privacy={consent:n.uspConsent})),{method:"POST",url:"https://lockerdome.com/ladbid/prebid",data:JSON.stringify(s)}},interpretResponse:function(e,n){return e&&e.body&&e.body.bids?e.body.bids.map((function(e){return{requestId:e.requestId,cpm:e.cpm,width:e.width,height:e.height,creativeId:e.creativeId,currency:e.currency,netRevenue:e.netRevenue,ad:e.ad,ttl:e.ttl,meta:{advertiserDomains:e.adomain&&Array.isArray(e.adomain)?e.adomain:[]}}})):[]}};(0,i.dX)(s),window.pbjs.installedModules.push("lockerdomeBidAdapter")}},function(e){e.O(0,[6866],(function(){return n=9882,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[3769],{896:function(e,t,n){var i=n(4358),r=n(265),a=n(5339),o=n(3193),d=n(4679),s=n(5102),c=n(5706),u=n(59),p="medianet",l="https://prebid.media.net/rtb/prebid",m="https://prebid.media.net/video/bundle.js",f={NOT_DETERMINED:0,ABOVE_THE_FOLD:1,BELOW_THE_FOLD:2},b="client_timeout",g="client_bid_won",h="qsearch-a.akamaihd.net/log",v="outstream",y=(0,s.nH)(),w={};window.mnet=window.mnet||{},window.mnet.queue=window.mnet.queue||[],w.urlData={domain:y.domain,page:y.page,isTop:y.reachedTop};function _(){try{return window.top.document.referrer}catch(e){return document.referrer}}function x(e,t){var n=t.refererInfo,i={domain:(e=e||{}).domain||n.domain,page:e.page||n.page,ref:e.ref||_(),topMostLocation:n.topmostLocation,isTop:e.isTop||n.reachedTop};return Object.assign(i,function(){if(w.pageMeta)return w.pageMeta;var e=T('link[rel="canonical"]',"href"),t=T('meta[property="og:url"]',"content"),n=T('meta[name="twitter:url"]',"content");return w.pageMeta=Object.assign({},e&&{canonical_url:e},t&&{og_url:t},n&&{twitter_url:n}),w.pageMeta}())}function T(e,t){var n,r,a=function(e,t){try{var n=(0,i.Zy)().document.querySelector(e);if(null!==n&&n[t])return n[t]}catch(e){}}(e,t);return a&&(n=a,(r=(0,i.Zy)().document.createElement("a")).href=n,r.href)}function O(e,t){return e.filter((function(e){return e.type===t}))}function E(e){return{w:parseInt(e[0],10),h:parseInt(e[1],10)}}function j(e,t){var n=(0,r.Z)(e,"params"),a=(0,r.Z)(t,"gdprConsent"),d=(0,r.Z)(t,"uspConsent"),s=(0,r.Z)(e,"userId"),c=(0,r.Z)(e,"schain")||{},u=R.getWindowSize(),p=!(!a||!a.gdprApplies),l=!!d,m=!!o.vc.getConfig("coppa");return Object.assign({},{customer_id:n.cid},{prebid_version:pbjs.version},{gdpr_applies:p},p&&{gdpr_consent_string:a.consentString||""},{usp_applies:l},l&&{usp_consent_string:d||""},{coppa_applies:m},-1!==u.w&&-1!==u.h&&{screen:u},s&&{user_id:s},pbjs.medianetGlobals.analyticsEnabled&&{analytics:!0},!(0,i.xb)(c)&&{schain:c})}function I(e){var t={id:e.bidId,transactionId:e.transactionId,ext:{dfp_id:e.adUnitCode,display_count:e.bidRequestsCount},all:e.params};e.ortb2Imp&&(t.ortb2Imp=e.ortb2Imp);var n,a=(0,r.Z)(e,"mediaTypes.banner.sizes")||[],o=(0,r.Z)(e,"mediaTypes.video")||{},s=(0,r.Z)(e,"params.video")||{},c=Object.assign({},s,o);if((0,i.xb)(c)||(t.video=c),a.length>0&&(t.banner=(n=a,(0,i.kJ)(n)&&2===n.length&&!(0,i.kJ)(n[0])?[E(n)]:n.map((function(e){return E(e)})))),e.nativeParams)try{t.native=JSON.stringify(e.nativeParams)}catch(e){(0,i.H)("".concat(p," : Incorrect JSON : bidRequest.nativeParams"))}e.params.crid&&(t.tagid=e.params.crid.toString());var u=parseFloat(e.params.bidfloor||e.params.bidFloor);u&&(t.bidfloor=u);var l=function(e){var t=document.getElementById(e);if(!t&&-1!==e.indexOf("/")){var n=(0,i.ky)(e).divId;(0,i.d8)(n)&&(t=document.getElementById(n))}if(t&&t.getBoundingClientRect){var r=t.getBoundingClientRect(),a={};return a.top_left={y:r.top,x:r.left},a.bottom_right={y:r.bottom,x:r.right},a}return null}(e.adUnitCode);if(l&&t.banner&&0!==t.banner.length){var m=function(e){return{top_left:{x:e.top_left.x+window.pageXOffset,y:e.top_left.y+window.pageYOffset},bottom_right:{x:e.bottom_right.x+window.pageXOffset,y:e.bottom_right.y+window.pageYOffset}}}(l);t.ext.coordinates=m,t.ext.viewability=C(l.top_left,k(t.banner)),C(m.top_left,k(t.banner))>.5?t.ext.visibility=f.ABOVE_THE_FOLD:t.ext.visibility=f.BELOW_THE_FOLD}else t.ext.visibility=f.NOT_DETERMINED;var b=function(e){var t=[];"function"==typeof e.getFloor&&[d.Mk,d.pX,d.B5].forEach((function(n){e.mediaTypes.hasOwnProperty(n)&&(n==d.Mk?e.mediaTypes.banner.sizes.forEach((function(i){M(e,n,i,t)})):M(e,n,"*",t))}));return t}(e);return b&&b.length>0&&(t.bidfloors=b),t}function M(e,t,n,i){var r=e.getFloor({currency:"USD",mediaType:t,size:n});n.length>1&&(r.size=n),r.mediaType=t,i.push(r)}function k(e){return e.reduce((function(e,t){return t.h*t.w<e.h*e.w?t:e}))}function C(e,t){var n=t.w*t.h,i=R.getWindowSize(),r={x:e.x+t.w,y:e.y+t.h};return 0===n||-1===i.w||-1===i.h?0:function(e,t,n,i){if(e.x>i.x||t.x<n.x||e.y>i.y||t.y<n.y)return 0;return(Math.min(t.x,i.x)-Math.max(e.x,n.x))*(Math.min(t.y,i.y)-Math.max(e.y,n.y))}(e,r,{x:0,y:0},{x:i.w,y:i.h})/n}function D(e,t){t=(0,i.kJ)(t)&&t||[];var n={logid:"kfk",evtid:"projectevents",project:"prebid"};return n.acid=(0,r.Z)(t,"0.auctionId")||"",n.cid=pbjs.medianetGlobals.cid||"",n.crid=t.map((function(e){return(0,r.Z)(e,"params.0.crid")||e.adUnitCode})).join("|"),n.adunit_count=t.length||0,n.dn=w.urlData.domain||"",n.requrl=w.urlData.page||"",n.istop=w.urlData.isTop||"",n.event=e.name||"",n.value=e.value||"",n.rd=e.related_data||"",n}function Z(e,t){var n={protocol:"https",hostname:h,search:D(e,t)};(0,i.hq)((0,i.Q2)(n))}function B(e){var t,n=(0,r.Z)(e,"context")||"",a=(0,r.Z)(e,"vto");n==v&&a&&(e.renderer=((t=c.Th.install({url:m})).setRender((function(e){window.mnet.queue.push((function(){var t={width:e.width,height:e.height,vastTimeout:e.vto,maxAllowedVastTagRedirects:e.mavtr,allowVpaid:e.avp,autoPlay:e.ap,preload:e.pl,mute:e.mt},n=e.dfp_id,r=(0,i.ky)(n).divId||n;window.mnet.mediaNetoutstreamPlayer(e,r,t)}))})),t))}pbjs.medianetGlobals=pbjs.medianetGlobals||{};var R={code:p,gvlid:142,aliases:[{code:"aax",gvlid:720}],supportedMediaTypes:[d.Mk,d.B5,d.pX],isBidRequestValid:function(e){return e.params?e.params.cid&&(0,i.d8)(e.params.cid)&&!(0,i.jH)(e.params.cid)?(Object.assign(pbjs.medianetGlobals,!pbjs.medianetGlobals.cid&&{cid:e.params.cid}),!0):((0,i.H)("".concat(p," : cid should be a string")),!1):((0,i.H)("".concat(p," : Missing bid parameters")),!1)},buildRequests:function(e,t){var n,i=function(e,t){return{site:x(e[0].params.site,t),ext:j(e[0],t),id:e[0].auctionId,imp:e.map((function(e){return I(e)})),ortb2:t.ortb2,tmax:t.timeout||o.vc.getConfig("bidderTimeout")}}(e=(0,u.lY)(e),t);return{method:"POST",url:(n=i.ext.customer_id,l+"?cid="+encodeURIComponent(n)),data:JSON.stringify(i)}},interpretResponse:function(e,t){var n=[];if(!e||!e.body)return(0,i.PN)("".concat(p," : response is empty")),n;var r=e.body.bidList;return(0,i.kJ)(r)&&0!==r.length?((n=r.filter((function(e){return function(e){return!1===e.no_bid&&parseFloat(e.cpm)>0}(e)}))).forEach(B),n):((0,i.PN)("".concat(p," : no bids")),n)},getUserSyncs:function(e,t){var n,r=(n=t,!(0,i.xb)(n)&&n[0].body&&n[0].body.ext&&(0,i.kJ)(n[0].body.ext.csUrl)?n[0].body.ext.csUrl:[]);return e.iframeEnabled?O(r,"iframe"):e.pixelEnabled?O(r,"image"):void 0},onTimeout:function(e){try{Z({name:b,value:e.length,related_data:e[0].timeout||o.vc.getConfig("bidderTimeout")},e)}catch(e){}},onBidWon:function(e){try{Z({name:g,value:e.cpm},[e])}catch(e){}},clearMnData:function(){w={}},getWindowSize:function(){return{w:window.screen.width||-1,h:window.screen.height||-1}}};(0,a.dX)(R),window.pbjs.installedModules.push("medianetBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=896,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[9574],{1594:function(e,r,i){var d=i(265),t=i(4358),a=i(4614),n=i(5339),o=i(4679),s=i(59),p={production:"https://s-rtb-pb.send.microad.jp/prebid",test:"https://rtbtest.send.microad.jp/prebid"},u=1,c=2,f=4,y=[{type:6,bidKey:"userId.imuid",source:"intimatemerger.com"},{type:8,bidKey:"userId.id5id.uid",source:"id5-sync.com"},{type:9,bidKey:"userId.tdid",source:"adserver.org"},{type:10,bidKey:"userId.novatiq.snowflake",source:"novatiq.com"},{type:11,bidKey:"userId.parrableId.eid",source:"parrable.com"},{type:12,bidKey:"userId.dacId.id",source:"dac.co.jp"},{type:13,bidKey:"userId.idl_env",source:"liveramp.com"},{type:14,bidKey:"userId.criteoId",source:"criteo.com"},{type:15,bidKey:"userId.pubcid",source:"pubcid.org"},{type:17,bidKey:"userId.uid2.id",source:"uidapi.com"}];function m(e,r){return(e?-1:0)&r}function l(e){return m(e.mediaTypes.banner,u)|m(e.mediaTypes.native,c)|m(e.mediaTypes.video,f)}var b={code:"microad",supportedMediaTypes:[o.Mk],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.spot&&e.mediaTypes&&(e.mediaTypes.banner||e.mediaTypes.native||e.mediaTypes.video))},buildRequests:function(e,r){e=(0,s.lY)(e);var i=[];return e.forEach((function(e){var n=e.params,o={spot:n.spot,url:r.refererInfo.page||window.location.href,referrer:r.refererInfo.ref,bid_id:e.bidId,transaction_id:e.transactionId,media_types:l(e),cbt:Math.floor(Math.random()*Math.pow(10,18)).toString(16)+(new Date).getTime().toString(16)};if(n.url&&(o.url_macro=n.url.replace("${COMPASS_EXT_URL}","")),n.referrer&&(o.referrer_macro=n.referrer.replace("${COMPASS_EXT_REF}","")),n.ifa&&(o.ifa=n.ifa.replace("${COMPASS_EXT_IFA}","")),n.appid&&(o.appid=n.appid.replace("${COMPASS_EXT_APPID}","")),n.geo){var s=n.geo.replace("${COMPASS_EXT_GEO}","");/^[0-9.\-]+,[0-9.\-]+$/.test(s)&&(o.geo=s)}var u=[],c=e.userIdAsEids;y.forEach((function(r){var i=(0,d.Z)(e,r.bidKey);if(!(0,t.xb)(i)&&(0,t.d8)(i)){var n={type:r.type,id:i};if((0,t.kJ)(c)){var s=(0,a.sE)(c,(function(e){return e.source===r.source}))||{};(0,t.xb)((0,d.Z)(s,"uids.0.ext"))||(n.ext=s.uids[0].ext)}u.push(n),13===r.type&&(o.idl_env=i)}})),u.length>0&&(o.aids=JSON.stringify(u)),i.push({method:"GET",url:p.production,data:o,options:{Accept:"application/json"}})})),i},interpretResponse:function(e){var r=e.body,i=[];if(r.cpm&&r.cpm>0){var d={requestId:r.requestId,cpm:r.cpm,width:r.width,height:r.height,ad:r.ad,ttl:r.ttl,creativeId:r.creativeId,netRevenue:r.netRevenue,currency:r.currency,meta:r.meta||{advertiserDomains:[]}};r.dealId&&(d.dealId=r.dealId),i.push(d)}return i},getUserSyncs:function(e,r){var i=[];return e.iframeEnabled||e.pixelEnabled?(r.forEach((function(r){var d=r.body.syncUrls.iframe,t=r.body.syncUrls.image;e.iframeEnabled&&d&&d.forEach((function(e){i.push({type:"iframe",url:e})})),e.pixelEnabled&&t&&t.forEach((function(e){i.push({type:"image",url:e})}))})),i):i}};(0,n.dX)(b),window.pbjs.installedModules.push("microadBidAdapter")}},function(e){e.O(0,[6866],(function(){return r=1594,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2037],{2506:function(e,r,n){var t=n(9062),a=n(4358),i=n(265),o=n(5339),s=n(4679),d=n(3193);function u(e,r){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,r){if(!e)return;if("string"==typeof e)return p(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,r)}(e))||r&&e&&"number"==typeof e.length){n&&(e=n);var t=0,a=function(){};return{s:a,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}function p(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=new Array(r);n<r;n++)t[n]=e[n];return t}var c=[s.Mk,s.pX],m="6.0.0",l="USD",f="https://hb.minutemedia-prebid.com/",y={PRODUCTION:"hb-mm-multi",TEST:"hb-multi-mm-test"},v={IFRAME:"iframe",PIXEL:"pixel"},b={code:"minutemedia",gvlid:918,version:m,supportedMediaTypes:c,isBidRequestValid:function(e){return e.params?!!e.params.org||((0,a.yN)("org is a mandatory param for MinuteMedia adapter"),!1):((0,a.yN)("no params have been set to MinuteMedia adapter"),!1)},buildRequests:function(e,r){var n={},t=e[0],o=t.params.testMode;return n.params=function(e,r){var n=window.location.hostname,t=d.vc.getConfig("userSync")||{},o=t.syncEnabled,s=t.filterSettings,u=r.bidderCode,p=e.params,c=d.vc.getConfig("bidderTimeout"),l={wrapper_type:"prebidjs",wrapper_vendor:"pbjs",wrapper_version:"7.36.0",adapter_version:m,auction_start:(0,a.AB)(),publisher_id:p.org,publisher_name:n,site_domain:n,dnt:"yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack?1:0,device_type:A(navigator.userAgent),ua:navigator.userAgent,session_id:(0,a.An)("auctionId",e),tmax:c},f=(0,a.An)("userId",e);f&&(l.userIds=JSON.stringify(f));var y=r.ortb2||{};y.site&&(l.site_metadata=JSON.stringify(y.site));y.user&&(l.user_metadata=JSON.stringify(y.user));if(o){var b=function(e,r){var n=["all","iframe"],t="image";if(e&&n.some((function(n){return T(e[n],r)})))return v.IFRAME;if(!e||!e[t]||T(e[t],r))return v.PIXEL}(s,u);b&&(l.cs_method=b)}r.uspConsent&&(l.us_privacy=r.uspConsent);r&&r.gdprConsent&&r.gdprConsent.gdprApplies&&(l.gdpr=r.gdprConsent.gdprApplies,l.gdpr_consent=r.gdprConsent.consentString);p.ifa&&(l.ifa=p.ifa);e.schain&&(l.schain=function(e){if((0,a.xb)(e))return"";var r="".concat(e.ver,",").concat(e.complete);return e.nodes.forEach((function(e){r+="!",r+="".concat(g(e.asi),","),r+="".concat(g(e.sid),","),r+="".concat(e.hp?encodeURIComponent(e.hp):"",","),r+="".concat(g(e.rid),","),r+="".concat(g(e.name),","),r+="".concat(g(e.domain))})),r}(e.schain));r&&r.refererInfo&&(l.referrer=(0,i.Z)(r,"refererInfo.ref"),l.page_url=(0,i.Z)(r,"refererInfo.page")||window.location.href);return l}(t,r),n.bids=function(e,r){var n=[];e.length&&e.forEach((function(e){n.push(function(e,r){var n=e.params,t=function(e){return e.mediaTypes&&e.mediaTypes.banner}(e)?s.Mk:s.pX,o=function(e,r){var n=[];(0,i.Z)(e,"mediaTypes.".concat(r,".sizes"))?n=e.mediaTypes[r].sizes:Array.isArray(e.sizes)&&e.sizes.length>0&&(n=e.sizes);return n}(e,t);isNaN(n.floorPrice)&&(n.floorPrice=0);var d={mediaType:t,adUnitCode:(0,a.An)("adUnitCode",e),sizes:o,floorPrice:Math.max(h(e,t),n.floorPrice),bidId:(0,a.An)("bidId",e),loop:(0,a.An)("bidderRequestsCount",e),bidderRequestId:(0,a.An)("bidderRequestId",e),transactionId:(0,a.An)("transactionId",e)},u=(0,i.Z)(e,"mediaTypes.".concat(t,".pos"));u&&(d.pos=u);var p=(0,i.Z)(e,"ortb2Imp.ext.gpid");p&&(d.gpid=p);var c=n.placementId||(0,i.Z)(e,"mediaTypes.".concat(t,".name"));c&&(d.placementId=c);if(t===s.pX){var m,l=(0,i.Z)(e,"mediaTypes.video.playbackmethod");Array.isArray(l)&&(0,a.U)(l[0])?m=l[0]:(0,a.U)(l)&&(m=l),m&&(d.playbackMethod=m);var f=(0,i.Z)(e,"mediaTypes.video.placement");f&&(d.placement=f);var y=(0,i.Z)(e,"mediaTypes.video.minduration");y&&(d.minDuration=y);var v=(0,i.Z)(e,"mediaTypes.video.maxduration");v&&(d.maxDuration=v);var b=(0,i.Z)(e,"mediaTypes.video.skip");b&&(d.skip=b);var g=(0,i.Z)(e,"mediaTypes.video.linearity");g&&(d.linearity=g)}return d}(e))}));return n}(e),{method:"POST",url:I(o),data:n}},interpretResponse:function(e){var r=e.body,n=[];return r.bids&&r.bids.forEach((function(e){var r={requestId:e.requestId,cpm:e.cpm,currency:e.currency||l,width:e.width,height:e.height,ttl:e.ttl||360,creativeId:e.requestId,netRevenue:e.netRevenue||!0,nurl:e.nurl,mediaType:e.mediaType,meta:{mediaType:e.mediaType}};e.mediaType===s.pX?r.vastXml=e.vastXml:e.mediaType===s.Mk&&(r.ad=e.ad),e.adomain&&e.adomain.length&&(r.meta.advertiserDomains=e.adomain),n.push(r)})),n},getUserSyncs:function(e,r){var n,i=[],o=u(r);try{for(o.s();!(n=o.n()).done;){var s=n.value;if(e.iframeEnabled&&s.body.params.userSyncURL&&i.push({type:"iframe",url:s.body.params.userSyncURL}),e.pixelEnabled&&(0,a.kJ)(s.body.params.userSyncPixels)){var d=s.body.params.userSyncPixels.map((function(e){return{type:"image",url:e}}));i.push.apply(i,(0,t.Z)(d))}}}catch(e){o.e(e)}finally{o.f()}return i},onBidWon:function(e){null!=e&&((0,a.PN)("onBidWon:",e),e.hasOwnProperty("nurl")&&e.nurl.length>0&&(0,a.hq)(e.nurl))}};function h(e,r){if(!(0,a.LQ)(e.getFloor))return 0;var n=e.getFloor({currency:l,mediaType:r,size:"*"});return n.currency===l&&n.floor?n.floor:0}function g(e){return(0,a.xb)(e)?"":encodeURIComponent(e)}function T(e,r){if(!e)return!1;var n="include"===e.filter,t=(0,a.kJ)(e.bidders)?e.bidders:[r];return n&&(0,a.r3)(t,r)}function I(e){return e?f+y.TEST:f+y.PRODUCTION}function A(e){return/ipad|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i.test(e.toLowerCase())?"5":/iphone|ipod|android|blackberry|opera|mini|windows\sce|palm|smartphone|iemobile/i.test(e.toLowerCase())?"4":/smart[-_\s]?tv|hbbtv|appletv|googletv|hdmi|netcast|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b/i.test(e.toLowerCase())?"3":"1"}(0,o.dX)(b),window.pbjs.installedModules.push("minutemediaBidAdapter")}},function(e){e.O(0,[6866],(function(){return r=2506,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[6622],{3574:function(e,n,t){var r=t(5671),i=t(3144),a=t(4942),o=t(4358),d=t(265),s=t(5644),u=t(4679),c=t(3193),l=t(2021),p=t(5339),m=t(5102);function f(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return v(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return v(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,d=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return o=e.done,e},e:function(e){d=!0,a=e},f:function(){try{o||null==t.return||t.return()}finally{if(d)throw a}}}}function v(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var h="nextMillennium",g=["api","linearity","maxduration","mimes","minduration","placement","playbackmethod","protocols","startdelay"],y=new(function(){function e(){(0,r.Z)(this,e),(0,a.Z)(this,"eventNames",[s.FP.BID_TIMEOUT,s.FP.BID_RESPONSE,s.FP.BID_REQUESTED,s.FP.NO_BID]),(0,a.Z)(this,"disabledSending",!1),(0,a.Z)(this,"enabledSending",!1),(0,a.Z)(this,"eventHendlers",{})}return(0,i.Z)(e,[{key:"initEvents",value:function(){var e,n;this.disabledSending=!(null===(e=c.vc.getBidderConfig())||void 0===e||null===(n=e.nextMillennium)||void 0===n||!n.disabledSendingStatisticData),this.disabledSending?this.removeEvents():this.createEvents()}},{key:"createEvents",value:function(){if(!this.enabledSending){this.enabledSending=!0;var e,n=f(this.eventNames);try{for(n.s();!(e=n.n()).done;){var t=e.value;this.eventHendlers[t]||(this.eventHendlers[t]=this.eventHandler(t)),l.on(t,this.eventHendlers[t])}}catch(e){n.e(e)}finally{n.f()}}}},{key:"removeEvents",value:function(){if(this.enabledSending){this.enabledSending=!1;var e,n=f(this.eventNames);try{for(n.s();!(e=n.n()).done;){var t=e.value;this.eventHendlers[t]&&l.S1(t,this.eventHendlers[t])}}catch(e){n.e(e)}finally{n.f()}}}},{key:"eventHandler",value:function(e){var n=this,t=this.getEventHandler(e);return e==s.FP.BID_TIMEOUT?function(e){if(!n.disabledSending&&Array.isArray(e)){var r,i=f(e);try{for(i.s();!(r=i.n()).done;){var a=r.value;t(a)}}catch(e){i.e(e)}finally{i.f()}}}:t}},{key:"getEventHandler",value:function(e){var n=this;return function(t){if(!n.disabledSending){var r=I.getUrlPixelMetric(e,t);r&&(0,o.hq)(r)}}}}]),e}());l.on(s.FP.AUCTION_INIT,(function(){y.initEvents()}));var b=12e5,w={};!function e(){var n=Date.now();Object.keys(w).forEach((function(e){n>=w[e].expirence&&delete w[e]})),setTimeout(e,6e4)}(),l.on(s.FP.BID_WON,(function(e){var n=e.auctionId,t=e.requestId,r=function(e){var n=e.auctionId,t=e.requestId,r=A({auctionId:n,requestId:t});return w[r]&&w[r].wurl}({auctionId:n,requestId:t});r&&((0,o.ji)('(nextmillennium) Invoking image pixel for wurl on BID_WIN: "'.concat(r,'"')),(0,o.hq)(r),function(e){var n=e.auctionId,t=e.requestId,r=A({auctionId:n,requestId:t});delete w[r]}({auctionId:n,requestId:t}))}));var I={code:h,supportedMediaTypes:[u.Mk,u.pX],isBidRequestValid:function(e){return!!(e.params.placement_id&&(0,o.d8)(e.params.placement_id)||e.params.group_id&&(0,o.d8)(e.params.group_id))},buildRequests:function(e,n){var t=[];return window.nmmRefreshCounts=window.nmmRefreshCounts||{},(0,o.yi)(e,(function(e){window.nmmRefreshCounts[e.adUnitCode]=window.nmmRefreshCounts[e.adUnitCode]||0;var r=function(e){var n=(0,o.An)("group_id",e.params),t=(0,o.An)("placement_id",e.params);if(!n)return t;var r=E(window),i=[];e.mediaTypes&&(e.mediaTypes.banner&&(i=e.mediaTypes.banner.sizes),e.mediaTypes.video&&(i=[e.mediaTypes.video.playerSize]));var a=r&&r.location&&r.location.host||"";return"g".concat(n,";").concat(i.map((function(e){return e.join("x")})).join("|"),";").concat(a)}(e),i=e.auctionId,a=e.bidId,s=e.sizes;s&&!Array.isArray(s[0])&&(s=[s]);var u,c={page:(u=m.nH&&(0,m.nH)()||{}).page,ref:u.ref,domain:u.domain},l={w:window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth||0,h:window.innerHeight||window.document.documentElement.clientHeight||window.document.body.clientHeight||0},p={id:e.auctionId,ext:{prebid:{storedrequest:{id:r}},nextMillennium:{refresh_count:window.nmmRefreshCounts[e.adUnitCode]++,elOffsets:x(e),scrollTop:window.pageYOffset||document.documentElement.scrollTop}},device:l,site:c,imp:[]},f={ext:{prebid:{storedrequest:{id:r}}}};(0,d.Z)(e,"mediaTypes.banner")&&(f.banner={format:(s||[]).map((function(e){return{w:e[0],h:e[1]}}))});var v=(0,d.Z)(e,"mediaTypes.video");v&&(f.video=(0,o.iG)(v,g),v.playerSize?f.video=Object.assign(f.video,(0,o.NI)(v.playerSize[0])||{}):v.w&&v.h&&(f.video.w=v.w,f.video.h=v.h)),p.imp.push(f);var h=n&&n.gdprConsent,y=n&&n.uspConsent;(h||y)&&(p.regs={ext:{}},y&&(p.regs.ext.us_privacy=y),h&&(void 0!==h.gdprApplies&&(p.regs.ext.gdpr=h.gdprApplies?1:0),void 0!==h.consentString&&(p.user={ext:{consent:h.consentString}})));var b=(0,o.en)((0,o.Zy)().location.href).search,w=b.pbs&&"test"===b.pbs,I=e.params;t.push({method:"POST",url:w?"https://test.pbs.nextmillmedia.com/openrtb2/auction":"https://pbs.nextmillmedia.com/openrtb2/auction",data:JSON.stringify(p),options:{contentType:"text/plain",withCredentials:!0},bidId:a,params:I,auctionId:i})})),t},interpretResponse:function(e,n){var t=e.body,r=[];return(0,o.yi)(t.seatbid,(function(e){(0,o.yi)(e.bid,(function(e){var i=n.bidId,a=n.params;!function(e){var n=e.wurl,t=e.requestId,r=e.auctionId;if(!n)return;var i=Date.now()+b,a=A({auctionId:r,requestId:t});w[a]={wurl:n,expirence:i}}({auctionId:n.auctionId,requestId:i,wurl:(0,d.Z)(e,"ext.prebid.events.win")});var s=function(e){var n,t,r,i;if((0,d.Z)(e,"ext.prebid.type")===u.pX)"http"===e.adm.substr(0,4)?i=e.adm:r=e.adm;else e.adm&&e.nurl?(n=e.adm,n+=(0,o.SG)(decodeURIComponent(e.nurl))):e.adm?n=e.adm:e.nurl&&(t=e.nurl);return{ad:n,adUrl:t,vastXml:r,vastUrl:i}}(e),c=s.ad,l=s.adUrl,p=s.vastUrl,m=s.vastXml,f={requestId:i,params:a,cpm:e.price,width:e.w,height:e.h,creativeId:e.adid,currency:t.cur,netRevenue:!1,ttl:360,meta:{advertiserDomains:e.adomain||[]}};p||m?(f.mediaType=u.pX,p&&(f.vastUrl=p),m&&(f.vastXml=m)):(f.ad=c,f.adUrl=l),r.push(f)}))})),r},getUserSyncs:function(e,n,t,r){var i=[];return(0,o.kJ)(n)&&n.forEach((function(n){e.pixelEnabled&&(0,d.Z)(n,"body.ext.sync.image",[]).forEach((function(e){i.push({type:"image",url:S(e,t,r)})})),e.iframeEnabled&&(0,d.Z)(n,"body.ext.sync.iframe",[]).forEach((function(e){i.push({type:"iframe",url:S(e,t,r)})}))})),i},getUrlPixelMetric:function(e,n){var t,r=n.bidder||n.bidderCode;if(r==h&&(n.params?t=Array.isArray(n.params)?n.params:[n.params]:Array.isArray(n.bids)&&(t=n.bids.map((function(e){return e.params}))),t.length)){var i=[],a=[];t.forEach((function(e){e.group_id?a.push(e.group_id):e.placement_id&&i.push(e.placement_id)}));var o=i.length&&"&placements=".concat(i.join(";"))||"",d=a.length&&"&groups=".concat(a.join(";"))||"";if(d||o)return"".concat("https://report2.hb.brainlyads.com/statistics/metric","?event=").concat(e,"&bidder=").concat(r,"&source=pbjs").concat(d).concat(o)}}};function S(e,n,t){var r=n||{},i=r.consentString,a=r.gdprApplies;if(a){var o=Number(a);e=e.replace("{{.GDPR}}",o),1==o&&i&&i.length>0&&(e=e.replace("{{.GDPRConsent}}",i))}else e=(e=e.replace("{{.GDPR}}",0)).replace("{{.GDPRConsent}}","");return t&&(e=e.replace("{{.USPrivacy}}",t)),e}function x(e){var n=function(e){var n=window.googletag&&window.googletag.pubads&&window.googletag.pubads().getSlots().find((function(n){return n.getAdUnitPath()===e.adUnitCode})),t=n&&n.getSlotElementId();return t?document.querySelector("#"+t):null}(e);return n?n.getBoundingClientRect():{}}function E(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(n>10)return e;try{if(e.parent.document)return E(e.parent.window,++n)}catch(n){return e}}function A(e){var n=e.auctionId,t=e.requestId;return"".concat(n,"-").concat(t)}(0,p.dX)(I),window.pbjs.installedModules.push("nextMillenniumBidAdapter")}},function(e){e.O(0,[6866],(function(){return n=3574,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[8620],{368:function(e,n,t){var i=t(4358),o=t(265),r=t(3193),d=t(5339),a=t(4679),s=t(5164),u=t(7673),c="nobid",p=(0,s.df)({gvlid:816,bidderCode:c});function l(e,n){(0,i.PN)("-NoBid- "+e,n)}function b(e,n){function t(e,n){var t=function(e,n){for(var t=0;t<n.length;t++)if(n[t].d===e)return n[t];return!1}(e.div,n)||{};return e.account&&(t.s=e.account),e.sizes&&(t.z=e.sizes),e.div&&(t.d=e.div),e.targeting?t.g=e.targeting:t.g={},e.div&&function(e,n,t){for(var i=e.length-1;i>=0;i--){var o=e[i];o[n]&&o[n]===t&&e.splice(i,1)}}(n,"d",e.div),e.sizeMapping&&(t.sm=e.sizeMapping),e.siteId&&(t.sid=e.siteId),e.placementId&&(t.pid=e.placementId),e.ad_type&&(t.at=e.ad_type),e.params&&(t.params=e.params),n.push(t),n}if(void 0!==window.nobid.refreshLimit&&window.nobid.refreshLimit<window.nobid.refreshCount)return!1;var d,s=(d="_ublock",p.getCookie(d));if(s)return l("Request blocked for user. hours: ",s),!1;for(var u=[],c=0,b=[],f=0;f<e.length;f++){var g=e[f],v=g.adUnitCode;u.push(v);var m=g.sizes;c=void 0!==g.params.siteId&&g.params.siteId?g.params.siteId:c;var h=g.params.placementId,w="banner",y=(0,o.Z)(g,"mediaTypes.video"),R=(0,o.Z)(g,"mediaTypes.video.context");(g.mediaType===a.pX||y&&("instream"===R||"outstream"===R))&&(w="video"),c&&t({div:v,sizes:m,siteId:c,placementId:h,ad_type:w,params:g.params},b)}return!!c&&function(t,d,a){var s,u,c,p,l,b,f,g,v={};v.sid=d,v.l=function(e){var n,t="";return t=null!=e&&null!==(n=e.refererInfo)&&void 0!==n&&n.page?e.refererInfo.page:window.context&&window.context.location&&window.context.location.href?window.context.location.href:document.location.href,encodeURIComponent(t.replace(/\%/g,""))}(n),v.tt=encodeURIComponent(document.title),v.tt=v.tt.replace(/'|;|quot;|39;|&amp;|&|#|\r\n|\r|\n|\t|\f|\%0A|\"|\%22|\%5C|\%23|\%26|\%26|\%09/gm,""),v.a=function(e,n){var t=[];if(e.length){if(n){var i=[];e instanceof Array?i=e:i.push(e);for(var o=0,r=n.length;o<r;o++){var d=n[o];d&&d.d&&i.indexOf(d.d)>-1&&t.push(d)}}}else t=n;return t}(t,a||[]),v.t=(s=new Date,u=function(e){return e<=9?"0"+e:""+e},c=s.getDate(),p=s.getFullYear(),l=s.getMonth()+1,b=s.getHours(),f=s.getMinutes(),g=s.getSeconds(),p+"-"+u(l)+"-"+u(c)+" "+u(b)+":"+u(f)+":"+u(g)),v.tz=Math.round((new Date).getTimezoneOffset()),v.r=function(){try{var e=Math.max(document.documentElement.clientWidth,window.innerWidth||0),n=Math.max(document.documentElement.clientHeight,window.innerHeight||0);return"".concat(e,"x").concat(n)}catch(e){(0,i.yN)("Could not parse screen dimensions, error details:",e)}}(),v.lang=navigator.languages&&navigator.languages[0]||navigator.language||navigator.userLanguage,v.ref=document.referrer,v.gdpr=function(e){var n={};return e&&e.gdprConsent&&(n={consentString:e.gdprConsent.consentString,consentRequired:"boolean"==typeof e.gdprConsent.gdprApplies&&e.gdprConsent.gdprApplies}),n}(n),v.usp=function(e){var n="";return e&&e.uspConsent&&(n=e.uspConsent),n}(n),v.pjbdr=n&&n.bidderCode?n.bidderCode:"nobid";var m=function(e){return e&&e.length>0?e[0].schain:null}(e);m&&(v.schain=m);var h=!0===r.vc.getConfig("coppa")?{coppa:!0}:e&&e.length>0?e[0].coppa:null;h&&(v.coppa=h);var w=function(e){if((0,i.kJ)(e)&&e.length>0){var n=[];return e.forEach((function(e){var t=[];e.uids&&e.uids.forEach((function(e){t.push({id:e.id+""})})),e.source&&t.length>0&&n.push({source:e.source,uids:t})})),n}}((0,o.Z)(e,"0.userIdAsEids"));return w&&w.length>0&&(v.eids=w),n&&n.ortb2&&(v.ortb2=n.ortb2),v}(u,c,b)}function f(e,n){var t=function(e,n){for(var t=0;t<n.length;t++)if(n[t].adUnitCode==e)return n[t];return!1};!function(e){e&&void 0!==e.rlimit&&(window.nobid.refreshLimit=e.rlimit)}(e),function(e){e&&void 0!==e.ublock&&function(e,n,t){var i=new Date;i.setTime(i.getTime()+60*t*60*1e3);var o="expires="+i.toUTCString();p.setCookie(e,n,o)}("_ublock","1",e.ublock)}(e);for(var i=[],o=0;e.bids&&o<e.bids.length;o++){var r=e.bids[o];if(!(r.bdrid<100)&&n&&n.bidderRequest&&n.bidderRequest.bids){window.nobid.bidResponses[""+r.id]=r;var d=t(r.divid,n.bidderRequest.bids);if(d){var s={requestId:d.bidId,cpm:1*(r.price?r.price:r.bucket?r.bucket:0),width:r.size.w,height:r.size.h,creativeId:r.creativeid||"",dealId:r.dealid||"",currency:"USD",netRevenue:!0,ttl:300,ad:r.adm,mediaType:r.atype||a.Mk};r.vastUrl&&(s.vastUrl=r.vastUrl),r.vastXml&&(s.vastXml=r.vastXml),r.videoCacheKey&&(s.videoCacheKey=r.videoCacheKey),r.meta&&(s.meta=r.meta),i.push(s)}}}return i}window.nobidVersion="1.3.2",window.nobid=window.nobid||{},window.nobid.bidResponses=window.nobid.bidResponses||{},window.nobid.timeoutTotal=0,window.nobid.bidWonTotal=0,window.nobid.refreshCount=0,window.nobid.renderTag=function(e,n,t){l("nobid.renderTag()",n);var i=window.nobid.bidResponses[""+n];if(i&&i.adm2){l("nobid.renderTag() found tag",n);var o=i.adm2;return e.write(o),void e.close()}l("nobid.renderTag() tag NOT FOUND *ERROR*",n)},window.addEventListener("message",(function(e){var n=""+e[e.message?"message":"data"];if("nbTagRenderer.requestAdMarkup|"===n.substring(0,"nbTagRenderer.requestAdMarkup|".length)){l("Prebid received nbTagRenderer.requestAdMarkup event");var t=n.substring(n.indexOf("|")+1);if(window.nobid&&window.nobid.bidResponses){var i=window.nobid.bidResponses[""+t];if(i&&i.adm2){var o=i.adm2;o&&e.source.postMessage("nbTagRenderer.renderAdInSafeFrame|"+o,"*")}}}}),!1);var g={code:c,gvlid:816,aliases:[{code:"duration",gvlid:674}],supportedMediaTypes:[a.Mk,a.pX],isBidRequestValid:function(e){return l("isBidRequestValid",e),!!e.params.siteId},buildRequests:function(e,n){if(l("validBidRequests",e),!e||e.length<=0)l("Empty validBidRequests");else{var t=b(e,n);if(t){window.nobid.refreshCount++;var o,r,d=JSON.stringify(t).replace(/'|&|#/g,""),a=(o="https://ads.servenobid.com/",(r="function"==typeof i.rD&&(0,i.rD)("nobid-env"))?"beta"==r?o="https://beta.servenobid.com/":"dev"==r?o="//localhost:8282/":"qa"==r&&(o="https://qa-ads.nobid.com/"):o="https://ads.servenobid.com/",o+"adreq?cb="+Math.floor(11e3*Math.random())),s={};return(0,u.h)(null==n?void 0:n.gdprConsent)||(s={withCredentials:!1}),{method:"POST",url:a,data:d,bidderRequest:n,options:s}}}},interpretResponse:function(e,n){return l("interpretResponse -> serverResponse",e),l("interpretResponse -> bidRequest",n),f(e.body,n)},getUserSyncs:function(e,n,t,o){if(e.iframeEnabled){var r="";return t&&"string"==typeof t.consentString&&("boolean"==typeof t.gdprApplies?r+="?gdpr=".concat(Number(t.gdprApplies),"&gdpr_consent=").concat(t.consentString):r+="?gdpr_consent=".concat(t.consentString)),o&&(r.length>0?r+="&":r+="?",r+="usp_consent="+o),[{type:"iframe",url:"https://public.servenobid.com/sync.html"+r}]}if(e.pixelEnabled&&n.length>0){var d=[];return n[0].body.syncs&&n[0].body.syncs.length>0&&n[0].body.syncs.forEach((function(e){d.push({type:"image",url:e})})),d}return(0,i.yN)("-NoBid- Please enable iframe based user sync.",e),[]},onTimeout:function(e){return window.nobid.timeoutTotal++,l("Timeout total: "+window.nobid.timeoutTotal,e),window.nobid.timeoutTotal},onBidWon:function(e){return window.nobid.bidWonTotal++,l("BidWon total: "+window.nobid.bidWonTotal,e),window.nobid.bidWonTotal}};(0,d.dX)(g),window.pbjs.installedModules.push("nobidBidAdapter")},7673:function(e,n,t){t.d(n,{h:function(){return o}});var i=t(265);function o(e){return null==e||!e.gdprApplies||!0===(0,i.Z)(e,"vendorData.purpose.consents.1")}}},function(e){e.O(0,[6866],(function(){return n=368,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[8534],{7851:function(e,t,n){var a=n(1002),i=n(3324),r=n(265),d=n(4358),o=n(6475),s=n(3193),c=n(5339),p=n(4679),u=n(4614),m=[p.Mk,p.pX],l=["startdelay","mimes","minduration","maxduration","startdelay","skippable","playbackmethod","api","protocols","boxingallowed","linearity","delivery","protocol","placement","minbitrate","maxbitrate"],h="hb_pb",v="3.0.3",f="USD",b={britepoolid:"britepoolid",criteoId:"criteoid",fabrickId:"nuestarid",hadronId:"audigentid",id5id:"id5id",idl_env:"lre",IDP:"zeotapid",idxId:"idxid",intentIqId:"intentiqid",lipb:"lipbid",lotamePanoramaId:"lotameid",merkleId:"merkleid",netId:"netid",parrableId:"parrableid",pubcid:"pubcid",quantcastId:"quantcastid",tapadId:"tapadid",tdid:"ttduuid",uid2:"uid2",admixerId:"admixerid",deepintentId:"deepintentid",dmdId:"dmdid",nextrollId:"nextrollid",novatiq:"novatiqid",mwOpenLinkId:"mwopenlinkid",dapId:"dapid",amxId:"amxid",kpuid:"kpuid",publinkId:"publinkid",naveggId:"naveggid",imuid:"imuid",adtelligentId:"adtelligentid"},g={code:"openx",gvlid:69,supportedMediaTypes:m,isBidRequestValid:function(e){var t=e.params.delDomain||e.params.platform;return(0,r.Z)(e,"mediaTypes.banner")&&t?!!e.params.unit||(0,r.Z)(e,"mediaTypes.banner.sizes.length")>0:!(!e.params.unit||!t)},buildRequests:function(e,t){if(0===e.length)return[];var n=[],a=function(e){return e.reduce((function(e,t){var n;return n=t,(0,r.Z)(n,"mediaTypes.video")&&!(0,r.Z)(n,"mediaTypes.banner")||n.mediaType===p.pX?e[0].push(t):e[1].push(t),e}),[[],[]])}(e),o=(0,i.Z)(a,2),c=o[0],m=o[1];return m.length>0&&n.push(function(e,t){var n=[],a=!1,i=y(e,t),o=(0,d.HA)(e,(function(e){return e.params.unit}));i.aus=(0,d.HA)(e,(function(e){return(0,d.sF)(e.mediaTypes.banner.sizes).join(",")})).join("|"),i.divids=(0,d.HA)(e,(function(e){return encodeURIComponent(e.adUnitCode)})).join(","),i.aucs=(0,d.HA)(e,(function(e){var t=(0,r.Z)(e,"ortb2Imp.ext.data.pbadslot");return encodeURIComponent(t||"")})).join(","),o.some((function(e){return e}))&&(i.auid=o.join(","));e.some((function(e){return e.params.doNotTrack}))&&(i.ns=1);(!0===s.vc.getConfig("coppa")||e.some((function(e){return e.params.coppa})))&&(i.tfcd=1);e.forEach((function(e){if(e.params.customParams){var t=(0,d.HA)(Object.keys(e.params.customParams),(function(t){return function(e,t){var n=t[e];(0,d.kJ)(n)&&(n=n.join(","));return(e.toLowerCase()+"="+n.toLowerCase()).replace("+",".").replace("/","_")}(t,e.params.customParams)})),i=window.btoa(t.join("&"));a=!0,n.push(i)}else n.push("")})),a&&(i.tps=n.join(","));return w(i,p.Mk,e),{method:"GET",url:i.ph?"https://u.openx.net/w/1.0/arj":"https://".concat(e[0].params.delDomain,"/w/1.0/arj"),data:i,payload:{bids:e,startTime:new Date}}}(m,t)),c.length>0&&c.forEach((function(e){n.push(function(e,t){var n=function(e,t){var n,a,i=(0,r.Z)(e,"mediaTypes.video"),o=y([e],t),s=(0,r.Z)(e,"params.video")||{},c=(0,r.Z)(e,"mediaTypes.video.context"),m=(0,r.Z)(e,"mediaTypes.video.playerSize");(0,d.kJ)(e.sizes)&&2===e.sizes.length&&!(0,d.kJ)(e.sizes[0])?(n=parseInt(e.sizes[0],10),a=parseInt(e.sizes[1],10)):(0,d.kJ)(e.sizes)&&(0,d.kJ)(e.sizes[0])&&2===e.sizes[0].length?(n=parseInt(e.sizes[0][0],10),a=parseInt(e.sizes[0][1],10)):(0,d.kJ)(m)&&2===m.length&&(n=parseInt(m[0],10),a=parseInt(m[1],10));var h={w:n,h:a},v=e.params.video||e.params.openrtb||{};v.openrtb&&(v=v.openrtb);(0,d.kJ)(v.imp)&&(v=v.imp[0].video);Object.keys(v).filter((function(e){return(0,u.q9)(l,e)})).forEach((function(e){return h[e]=v[e]})),Object.keys(i).filter((function(e){return(0,u.q9)(l,e)})).forEach((function(e){return h[e]=i[e]}));var f={imp:[{video:h}]};o.openrtb=JSON.stringify(f),o.auid=e.params.unit,o.vwd=n||s.vwd,o.vht=a||s.vht,"outstream"===c&&(o.vos="101");s.mimes&&(o.vmimes=s.mimes);e.params.test&&(o.vtest=1);var b=(0,r.Z)(e,"ortb2Imp.ext.data.pbadslot");b&&(o.aucs=encodeURIComponent(b));return w(o,p.pX,[e]),o}(e,t);return{method:"GET",url:n.ph?"https://u.openx.net/v/1.0/avjp":"https://".concat(e.params.delDomain,"/v/1.0/avjp"),data:n,payload:{bid:e,startTime:new Date}}}(e,t))})),n},interpretResponse:function(e,t){var n=e.body,a=function(e){return/avjp$/.test(e.url)?p.pX:p.Mk}(t);return a===p.pX?function(e,t){var n=t.bid,a=(t.startTime,[]);if(void 0!==e&&""!==e.vastUrl&&e.pub_rev>0){var i=(0,d.en)(e.vastUrl).search||{},r={};r.requestId=n.bidId,e.deal_id&&(r.dealId=e.deal_id),r.ttl=300,r.netRevenue=!0,r.currency=e.currency,r.cpm=parseInt(e.pub_rev,10)/1e3,r.width=parseInt(e.width,10),r.height=parseInt(e.height,10),r.creativeId=e.adid,r.vastUrl=e.vastUrl,r.mediaType=p.pX,e.ph=i.ph,e.colo=i.colo,e.ts=i.ts,a.push(r)}return a}(n,t.payload):function(e,t){for(var n=t.bids,a=(t.startTime,e.ads.ad),i=[],r=0;r<a.length;r++){var d=a[r],o=parseInt(d.idx,10),s={};if(s.requestId=n[o].bidId,d.pub_rev){s.cpm=Number(d.pub_rev)/1e3;var c=d.creative[0];c&&(s.width=c.width,s.height=c.height),s.creativeId=c.id,s.ad=d.html,d.deal_id&&(s.dealId=d.deal_id),s.ttl=300,s.netRevenue=!0,s.currency=d.currency,d.tbd&&(s.tbd=d.tbd),s.ts=d.ts,s.meta={},d.brand_id&&(s.meta.brandId=d.brand_id),d.adomain&&length(d.adomain)>0?s.meta.advertiserDomains=d.adomain:s.meta.advertiserDomains=[],d.adv_id&&(s.meta.dspid=d.adv_id),i.push(s)}}return i}(n,t.payload)},getUserSyncs:function(e,t,n,a){if(e.iframeEnabled||e.pixelEnabled){var i=e.iframeEnabled?"iframe":"image",d=(0,r.Z)(t,"0.body.ads.pixels")||(0,r.Z)(t,"0.body.pixels")||function(e,t){var n="https://u.openx.net/w/1.0/pd",a=[];e&&(a.push("gdpr="+(e.gdprApplies?1:0)),a.push("gdpr_consent="+encodeURIComponent(e.consentString||"")));t&&a.push("us_privacy="+encodeURIComponent(t));return"".concat(n).concat(a.length>0?"?"+a.join("&"):"")}(n,a);return[{type:i,url:d}]}},transformBidParams:function(e,t){return(0,d.uh)({unit:"string",customFloor:"number"},e)}};function I(e){var t,n,a,i=window,r=document,d=r.documentElement;if(e){try{i=window.top,r=window.top.document}catch(e){return}a=r.body,t=i.innerWidth||d.clientWidth||a.clientWidth,n=i.innerHeight||d.clientHeight||a.clientHeight}else t=i.innerWidth||d.clientWidth,n=i.innerHeight||d.clientHeight;return"".concat(t,"x").concat(n)}function y(e,t){var n,a=(0,d.yL)();n={ju:t.refererInfo.page,ch:document.charSet||document.characterSet,res:"".concat(screen.width,"x").concat(screen.height,"x").concat(screen.colorDepth),ifr:a,tz:(new Date).getTimezoneOffset(),tws:I(a),be:1,bc:e[0].params.bc||"".concat(h,"_").concat(v),dddid:(0,d.HA)(e,(function(e){return e.transactionId})).join(","),nocache:(new Date).getTime()};var i=(0,r.Z)(t,"ortb2.device.sua");i&&(n.sua=JSON.stringify(i));var c=k("user.data",t.ortb2);c.length>0&&(n.sm=c);var p,u,m,l,f,g=k("site.content.data",t.ortb2);if(g.length>0&&(n.scsm=g),e[0].params.platform&&(n.ph=e[0].params.platform),t.gdprConsent){var y=t.gdprConsent;void 0!==y.consentString&&(n.gdpr_consent=y.consentString),void 0!==y.gdprApplies&&(n.gdpr=y.gdprApplies?1:0),"iab"===s.vc.getConfig("consentManagement.cmpApi")&&(n.x_gdpr_f=1)}return t&&t.uspConsent&&(n.us_privacy=t.uspConsent),(0,r.Z)(e[0],"crumbs.pubcid")&&(0,o.N)(e[0],"userId.pubcid",(0,r.Z)(e[0],"crumbs.pubcid")),p=n,u=e[0].userId,(0,d.yi)(u,(function(e,t){var n=b[t];if(b.hasOwnProperty(t))switch(t){case"merkleId":case"uid2":p[n]=e.id;break;case"lipb":if(p[n]=e.lipbid,Array.isArray(e.segments)&&e.segments.length>0){var a="liveintent:"+e.segments.join("|");p.sm="".concat(p.sm?p.sm+",":"").concat(a)}break;case"parrableId":p[n]=e.eid;break;case"id5id":p[n]=e.uid;break;case"novatiq":p[n]=e.snowflake;break;default:p[n]=e}})),n=p,e[0].schain&&(n.schain=(m=e[0].schain,"".concat(m.ver,",").concat(m.complete,"!").concat((l=m.nodes,f=["asi","sid","hp","rid","name","domain"],l.map((function(e){return f.map((function(t){return e[t]||""})).join(",")})).join("!"))))),n}function k(e,t){var n=(0,r.Z)(t,e);if(!Array.isArray(n)||!n.length)return"";var i=n.filter((function(e){return Array.isArray(e.segment)&&e.segment.length>0&&void 0!==e.name&&e.name.length>0})).reduce((function(e,t){var n="object"===(0,a.Z)(t.ext)&&t.ext.segtax?"".concat(t.name,"/").concat(t.ext.segtax):t.name;return e[n]=(e[n]||[]).concat(t.segment.map((function(e){return e.id}))),e}),{});return Object.keys(i).map((function(e,t){return e+":"+i[e].join("|")})).join(",")}function w(e,t,n){var a=[],i=!1;n.forEach((function(e){var n=function(e,t){var n={},a=s.vc.getConfig("currency.adServerCurrency")||f;"function"==typeof e.getFloor&&(n=e.getFloor({currency:a,mediaType:t,size:"*"}));var i=n.floor||e.params.customFloor||0;return Math.round(1e3*i)}(e,t);n?(a.push(n),i=!0):a.push(0)})),i&&(e.aumfs=a.join(","))}(0,c.dX)(g),window.pbjs.installedModules.push("openxBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=7851,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[9060],{5550:function(e,o,r){var t=r(1002),n=r(4925),i=r(4942),a=r(4358),c=r(265),u=r(6475),l=r(8640),d=r(3193),s=r(8928),f=r(2021),p=r(5644),m=r(2797),h=r(4614),v=r(5102),y=r(5975),g=r(5383),b=r(6372),O=r(9128);function j(e,o,r){if(o===r)return e;var t=e;if("function"==typeof(0,l.R)().convertCurrency)try{t=(0,l.R)().convertCurrency(e,o,r)}catch(e){}return t}var F=r(6066),C=["modelGroups"];function k(e,o){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);o&&(t=t.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),r.push.apply(r,t)}return r}function x(e){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?k(Object(r),!0).forEach((function(o){(0,i.Z)(e,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))}))}return e}var R,S="Price Floors",M=(0,s.O)(1e4),Z=["gptSlot","adUnitCode","size","domain","mediaType"],T=!1,P=!1,w={},D=[],U={};function I(e,o){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,t=void 0===r?g.K.index:r;return(null==e?void 0:e.adUnitCode)||t.getAdUnit(o).code}var N={size:function(e,o){return(0,a.s)(o.size)||"*"},mediaType:function(e,o){return o.mediaType||"banner"},gptSlot:function(e,o){return function(e){var o=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,r=(void 0===o?g.K.index:o).getAdUnit({transactionId:e});return"gam"===(0,c.Z)(r,"ortb2Imp.ext.data.adserver.name")&&r.ortb2Imp.ext.data.adserver.adslot}((e||o).transactionId)||(0,a.ky)(I(e,o)).gptSlot},domain:function(){return null==R&&(R=(0,a.en)((0,v.nH)().topmostLocation,{noDecodeWholeURL:!0}).hostname),R},adUnitCode:function(e,o){return I(e,o)}};function E(e,o){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=function(e,o,r){return e.reduce((function(e,t){var n=N[t](o,r)||"*";return e.push("*"===n?["*"]:[n.toLowerCase(),"*"]),e}),[])}((0,c.Z)(e,"schema.fields")||[],o,r);if(!t.length)return{matchingFloor:e.default};var n=t.map((function(e){return e[0]})).join("-"),i=(0,c.Z)(e,"matchingInputs.".concat(n));if(i)return x({},i);var a,l,d=(a=t,l=(0,c.Z)(e,"schema.delimiter")||"|",a.reduce((function(e,o){var r=[];return e.map((function(e){o.map((function(o){r.push(e+l+o)}))})),r})).sort((function(e,o){return e.split("*").length-o.split("*").length}))),s=(0,h.sE)(d,(function(o){return e.values.hasOwnProperty(o)})),f={floorMin:e.floorMin||0,floorRuleValue:isNaN(e.values[s])?e.default:e.values[s],matchingData:d[0],matchingRule:s};return"number"==typeof(0,c.Z)(o,"ortb2Imp.ext.prebid.floorMin")&&(f.floorMin=o.ortb2Imp.ext.prebid.floorMin),f.matchingFloor=Math.max(f.floorMin,f.floorRuleValue),(0,u.N)(e,"matchingInputs.".concat(n),x({},f)),f}function A(e,o,r){return parseFloat((0,F.O)(e,x(x({},o),{},{cpm:e}),r))}var B={banner:function(e){return(0,c.Z)(e,"mediaTypes.banner.sizes")||[]},video:function(e){return(0,c.Z)(e,"mediaTypes.video.playerSize")||[]},native:function(e){return(0,c.Z)(e,"mediaTypes.native.image.sizes")?[(0,c.Z)(e,"mediaTypes.native.image.sizes")]:[]}};function q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{currency:"USD",mediaType:"*",size:"*"},o=this,r=U[o.auctionId];if(!r||r.skipped)return{};e=function(e,o){var r=Object.keys(e.mediaTypes||{});return"*"===o.mediaType&&1===r.length&&(o.mediaType=r[0]),"*"===o.size&&-1!==r.indexOf(o.mediaType)&&B[o.mediaType]&&1===B[o.mediaType](e).length&&(o.size=B[o.mediaType](e)[0]),o}(o,e);var t,n,i,c,u,d=E(r.data,x({},o),{mediaType:e.mediaType,size:e.size}),s=e.currency||r.data.currency;if(d.matchingFloor&&s!==r.data.currency)try{d.matchingFloor=(0,l.R)().convertCurrency(d.matchingFloor,r.data.currency,s)}catch(e){(0,a.yN)("".concat(S,": Unable to get currency conversion for getFloor for bidder ").concat(o.bidder,". You must have currency module enabled with defaultRates in your currency config")),s=r.data.currency}if(r.enforcement.bidAdjustment&&d.matchingFloor){var f=y.S.get(o.bidder,"inverseBidAdjustment");if(f)d.matchingFloor=f(d.matchingFloor,o);else{var p=A(d.matchingFloor,null,o);d.matchingFloor=p?(t=d.matchingFloor,n=p,i=Math.pow(10,10),t*i/(n*i)*(t*i)/i):d.matchingFloor}}return d.matchingFloor?{floor:(c=d.matchingFloor,u=4,Math.ceil((parseFloat(c)*Math.pow(10,u)).toFixed(1))/Math.pow(10,u)),currency:s}:{}}function z(e,o){var r=(0,a.I8)(e);return r.schema.delimiter=e.schema.delimiter||"|",r.values=function(e,o){var r=e.schema.fields,t=e.schema.delimiter,n=o&&-1===r.indexOf("adUnitCode")&&r.unshift("adUnitCode");return Object.keys(e.values).reduce((function(r,i){return r[(n?"".concat(o).concat(t).concat(i):i).toLowerCase()]=e.values[i],r}),{})}(r,o),r.currency=r.currency||"USD",r}function V(e,o){var r=(0,a.I8)(w);if(2===(0,c.Z)(r,"data.floorsSchemaVersion")){var t=r.data,i=t.modelGroups,u=(0,n.Z)(t,C);r.data=Object.assign(u,function(e,o){for(var r=Math.floor(Math.random()*o+1),t=0;t<e.length;t++)if((r-=e[t].modelWeight)<=0)return e[t]}(i,u.modelWeightSum))}var l=0===Object.keys((0,c.Z)(r,"data.values")||{}).length;if(r.data=l?function(e){return e.reduce((function(e,o){if(L(o.floors))if(e.values){var r=z(o.floors,o.code).values;Object.assign(e.values,r)}else(e=z(o.floors,o.code)).location="adUnit";else null!=o.floors&&(0,a.yN)("adUnit '".concat(o.code,"' provides an invalid `floor` definition, it will be ignored for floor calculations"),o);return e}),{})}(e):z(r.data),0===Object.keys((0,c.Z)(r,"data.values")||{}).length)r.skipped=!0;else{var d=(0,a.rD)("pbjs_skipRate")||r.skipRate,s=100*Math.random()<parseFloat(d);r.skipped=s}return r.hasOwnProperty("floorMin")&&(r.data.floorMin=r.floorMin),function(e,o,r){e.forEach((function(e){e.bids.forEach((function(e){o.skipped?delete e.getFloor:e.getFloor=q,e.auctionId=r,e.floorData={skipped:o.skipped,skipRate:o.skipRate,floorMin:o.floorMin,modelVersion:(0,c.Z)(o,"data.modelVersion"),modelWeight:(0,c.Z)(o,"data.modelWeight"),modelTimestamp:(0,c.Z)(o,"data.modelTimestamp"),location:(0,c.Z)(o,"data.location","noData"),floorProvider:o.floorProvider,fetchStatus:w.fetchStatus}}))}))}(e,r,o),r}function G(e){e.hasExited||(D=D.filter((function(o){return o.timer!==e.timer})),e.reqBidsConfigObj.auctionId=e.reqBidsConfigObj.auctionId||(0,a.DO)(),U[e.reqBidsConfigObj.auctionId]=V(e.reqBidsConfigObj.adUnits||(0,l.R)().adUnits,e.reqBidsConfigObj.auctionId),e.nextFn.apply(e.context,[e.reqBidsConfigObj]),e.hasExited=!0)}function H(e){return o=(0,c.Z)(e,"schema.fields"),!!(Array.isArray(o)&&o.length>0&&o.every((function(e){return-1!==Z.indexOf(e)}))||((0,a.H)("".concat(S,": Fields recieved do not match allowed fields")),0))&&(r=e,n=e.schema.fields.length,i=e.schema.delimiter||"|","object"===(0,t.Z)(r.values)&&(r.values=Object.keys(r.values).reduce((function(e,o){return function(e,o,r,t){return"string"==typeof e&&e.split(t).length===r&&"number"==typeof o}(o,r.values[o],n,i)&&(e[o]=r.values[o]),e}),{}),Object.keys(r.values).length>0));var o,r,n,i}var W={1:function(e){return H(e)},2:function(e){return!(!Array.isArray(e.modelGroups)||0===e.modelGroups.length)&&(e.modelWeightSum=0,e.modelGroups.every((function(o){return!("number"!=typeof o.modelWeight||!H(o))&&(e.modelWeightSum+=o.modelWeight,!0)})))}};function L(e){return"object"===(0,t.Z)(e)&&(e.floorsSchemaVersion=e.floorsSchemaVersion||1,"function"!=typeof W[e.floorsSchemaVersion]?((0,a.H)("".concat(S,": Unknown floorsSchemaVersion: "),e.floorsSchemaVersion),!1):W[e.floorsSchemaVersion](e))}function J(e,o){if(e&&"object"===(0,t.Z)(e)&&L(e))return(0,a.PN)("".concat(S,": A ").concat(o," set the auction floor data set to "),e),x(x({},e),{},{location:o});(0,a.H)("".concat(S,": The floors data did not contain correct values"),e)}var K=(0,O.g3)("priceFloors",(function(e,o){var r={reqBidsConfigObj:o,context:this,nextFn:e,haveExited:!1,timer:null};w.auctionDelay>0&&T?(r.timer=setTimeout((function(){(0,a.yN)("".concat(S,": Fetch attempt did not return in time for auction")),w.fetchStatus="timeout",G(r)}),w.auctionDelay),D.push(r)):G(r)}));function _(){D.forEach((function(e){clearTimeout(e.timer),G(e)})),D=[]}function Y(e){var o;T=!1,w.fetchStatus="success";try{o=JSON.parse(e)}catch(r){o=e}var r=J(o,"fetch");r&&(w.data=r,w.skipRate=(0,a.hj)(r.skipRate)?r.skipRate:w.skipRate,w.floorProvider=r.floorProvider||w.floorProvider),_()}function Q(e){T=!1,w.fetchStatus="error",(0,a.H)("".concat(S,": Fetch errored with: "),e),_()}function X(e){var o;(w=(0,a.ei)(e,["floorMin","enabled",function(e){return!1!==e},"auctionDelay",function(e){return e||0},"floorProvider",function(o){return(0,c.Z)(e,"data.floorProvider",o)},"endpoint",function(e){return e||{}},"skipRate",function(){return isNaN((0,c.Z)(e,"data.skipRate"))?e.skipRate||0:e.data.skipRate},"enforcement",function(e){return(0,a.ei)(e||{},["enforceJS",function(e){return!1!==e},"enforcePBS",function(e){return!0===e},"floorDeals",function(e){return!0===e},"bidAdjustment",function(e){return!1!==e}])},"additionalSchemaFields",function(e){return"object"===(0,t.Z)(e)&&Object.keys(e).length>0?(o=e,void Object.keys(o).forEach((function(e){-1===Z.indexOf(e)&&"function"==typeof o[e]&&(Z.push(e),N[e]=o[e])}))):void 0;var o},"data",function(e){return e&&J(e,"setConfig")||w.data}])).enabled?((o=w.endpoint).url&&!T?"GET"!==(o.method||"GET")?(0,a.H)("".concat(S,": 'GET' is the only request method supported at this time!")):(M(o.url,{success:Y,error:Q},null,{method:"GET"}),T=!0):T&&(0,a.yN)("".concat(S,": A fetch is already occuring. Skipping.")),P||(f.on(p.FP.AUCTION_END,(function(e){setTimeout((function(){return delete U[e.auctionId]}),3e3)})),(0,l.R)().requestBids.before(K,50),(0,m.v5)("addBidResponse").before($,(0,a.eB)()?4:50),P=!0)):((0,a.PN)("".concat(S,": Turning off module")),w={},U={},(0,m.v5)("addBidResponse").getHooks({hook:$}).remove(),(0,l.R)().requestBids.getHooks({hook:K}).remove(),P=!1)}var $=(0,O.A)("priceFloors",(function(e,o,r,t){var n=U[r.auctionId];if(!n||!r||n.skipped)return e.call(this,o,r,t);var i,u=g.K.index.getBidRequest(r),d=E(n.data,u,x(x({},r),{},{size:[r.width,r.height]}));if(!d.matchingFloor)return(0,a.yN)("".concat(S,": unable to determine a matching price floor for bidResponse"),r),e.call(this,o,r,t);var s=n.data.currency.toUpperCase(),f=r.currency||"USD";if(s===f.toUpperCase())i=r.cpm;else if(r.originalCurrency&&s===r.originalCurrency.toUpperCase())i=r.originalCpm;else try{i=(0,l.R)().convertCurrency(r.cpm,f.toUpperCase(),s)}catch(n){return(0,a.H)("".concat(S,": Unable do get currency conversion for bidResponse to Floor Currency. Do you have Currency module enabled? ").concat(r)),e.call(this,o,r,t)}if(function(e,o,r,t){r.floorData={floorValue:o.matchingFloor,floorRule:o.matchingRule,floorRuleValue:o.floorRuleValue,floorCurrency:e.data.currency,cpmAfterAdjustments:t,enforcements:x({},e.enforcement),matchedFields:{}},e.data.schema.fields.forEach((function(t,n){var i=o.matchingData.split(e.data.schema.delimiter)[n];r.floorData.matchedFields[t]=i}))}(n,d,r,i=A(i,r,u)),function(e,o,r){var t=!1!==(0,c.Z)(e,"enforcement.enforceJS"),n=!0===(0,c.Z)(e,"enforcement.floorDeals")||!r.dealId,i=r.floorData.cpmAfterAdjustments<o.matchingFloor;return t&&i&&n}(n,d,r)){var m,h=t(p.Gw.pe);return(0,a.yN)("".concat(S,": ").concat(h.bidderCode,"'s Bid Response for ").concat(o," was rejected due to floor not met (adjusted cpm: ").concat(null==r||null===(m=r.floorData)||void 0===m?void 0:m.cpmAfterAdjustments,", floor: ").concat(null==d?void 0:d.matchingFloor,")"),r),e.call(this,o,h,t)}return e.call(this,o,r,t)}));d.vc.getConfig("floors",(function(e){return X(e.floors)})),(0,b.f8)({type:b.DZ,name:"bidfloor",fn:function(e,o,r){if("function"==typeof o.getFloor){var t,n;try{var i=o.getFloor({currency:r.currency||d.vc.getConfig("currency.adServerCurrency")||"USD",mediaType:r.mediaType||"*",size:"*"});t=i.currency,n=i.floor}catch(e){return void(0,a.yN)("Cannot compute floor for bid",o)}n=parseFloat(n),null==t||null==n||isNaN(n)||Object.assign(e,{bidfloor:n,bidfloorcur:t})}}}),(0,b.f8)({type:b.DZ,name:"extPrebidFloors",fn:function(e,o,r){if(null!=e.bidfloor){var t,n,i,a,c,l,d,s,f,p,m=r.reqContext.floorMin||{},h=m.floorMinCur,v=m.floorMin;null==h&&(h=e.bidfloorcur);var y=(null===(t=e.ext)||void 0===t||null===(n=t.prebid)||void 0===n||null===(i=n.floors)||void 0===i?void 0:i.floorMinCur)||(null===(a=e.ext)||void 0===a||null===(c=a.prebid)||void 0===c?void 0:c.floorMinCur)||h,g=(null===(l=e.ext)||void 0===l||null===(d=l.prebid)||void 0===d||null===(s=d.floors)||void 0===s?void 0:s.floorMin)||(null===(f=e.ext)||void 0===f||null===(p=f.prebid)||void 0===p?void 0:p.floorMin),b=j(e.bidfloor,e.bidfloorcur,h),O=!(!g||!y)&&j(g,y,h),F=O&&O<b?O:b;(0,u.N)(e,"ext.prebid.floors.floorMin",F),(null==v||v>F)&&(v=F),r.reqContext.floorMin={floorMin:v,floorMinCur:h}}},dialects:[b.md],priority:-1}),(0,b.f8)({type:b.Z,name:"extPrebidFloors",fn:function(e,o,r){var t,n,i;P&&(0,u.N)(e,"ext.prebid.floors.enabled",(null===(t=e.ext)||void 0===t||null===(n=t.prebid)||void 0===n||null===(i=n.floors)||void 0===i?void 0:i.enabled)||!1),null!=r&&r.floorMin&&(0,a.Ee)(e,{ext:{prebid:{floors:r.floorMin}}})},dialects:[b.md]}),window.pbjs.installedModules.push("priceFloors")},6372:function(e,o,r){r.d(o,{DZ:function(){return a},Z:function(){return i},f8:function(){return f},md:function(){return u}});var t=["request","imp","bidResponse","response"],n=["default","pbs"],i=t[0],a=t[1],c=(t[2],t[3],n[0]),u=n[1],l=new Set(t);var d,s=(d={},{registerOrtbProcessor:function(e){var o=e.type,r=e.name,n=e.fn,i=e.priority,a=void 0===i?0:i,u=e.dialects,s=void 0===u?[c]:u;if(!l.has(o))throw new Error("ORTB processor type must be one of: ".concat(t.join(", ")));s.forEach((function(e){d.hasOwnProperty(e)||(d[e]={}),d[e].hasOwnProperty(o)||(d[e][o]={}),d[e][o][r]={priority:a,fn:n}}))},getProcessors:function(e){return d[e]||{}}}),f=s.registerOrtbProcessor},4925:function(e,o,r){function t(e,o){if(null==e)return{};var r,t,n=function(e,o){if(null==e)return{};var r,t,n={},i=Object.keys(e);for(t=0;t<i.length;t++)r=i[t],o.indexOf(r)>=0||(n[r]=e[r]);return n}(e,o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(t=0;t<i.length;t++)r=i[t],o.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}r.d(o,{Z:function(){return t}})}},function(e){e.O(0,[6866],(function(){return o=5550,e(e.s=o);var o}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2563],{9312:function(d,n,e){var i=e(2797),u=e(4358),o={name:"pubProvidedId",gvlid:e(4516).$P,decode:function(d){var n=d?{pubProvidedId:d}:void 0;return(0,u.PN)("PubProvidedId: Decoded value "+JSON.stringify(n)),n},getId:function(d){var n=d&&d.params||{},e=[];return(0,u.kJ)(n.eids)&&(e=e.concat(n.eids)),"function"==typeof n.eidsFunction&&(e=e.concat(n.eidsFunction())),{id:e}}};(0,i.Bx)("userId",o),window.pbjs.installedModules.push("pubProvidedIdSystem")}},function(d){d.O(0,[6866],(function(){return n=9312,d(d.s=n);var n}));d.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[5126],{5817:function(e,r,t){var a=t(9062),i=t(4942),n=t(1002),s=t(4358),o=t(265),d=t(6475),p=t(5339),c=t(4679),l=t(3193),u=t(5706),m=t(5975),f=t(59);function h(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,a)}return t}var g="pubmatic",v="PubMatic: ",y="USD",b=1,E=void 0,I=0,w=0,O="http://prebid.org/dev-docs/show-native-ads.html",T="https://pubmatic.bbvms.com/r/".concat("$RENDERER",".js"),N="Video.Placement param missing",P={kadpageurl:"",gender:"",yob:"",lat:"",lon:"",wiid:"",profId:"",verId:""},x={NUMBER:"number",STRING:"string",BOOLEAN:"boolean",ARRAY:"array",OBJECT:"object"},D={mimes:x.ARRAY,minduration:x.NUMBER,maxduration:x.NUMBER,startdelay:x.NUMBER,playbackmethod:x.ARRAY,api:x.ARRAY,protocols:x.ARRAY,w:x.NUMBER,h:x.NUMBER,battr:x.ARRAY,linearity:x.NUMBER,placement:x.NUMBER,minbitrate:x.NUMBER,maxbitrate:x.NUMBER,skip:x.NUMBER},R={TITLE:{ID:1,KEY:"title",TYPE:0},IMAGE:{ID:2,KEY:"image",TYPE:0},ICON:{ID:3,KEY:"icon",TYPE:0},SPONSOREDBY:{ID:4,KEY:"sponsoredBy",TYPE:1},BODY:{ID:5,KEY:"body",TYPE:2},CLICKURL:{ID:6,KEY:"clickUrl",TYPE:0},VIDEO:{ID:7,KEY:"video",TYPE:0},EXT:{ID:8,KEY:"ext",TYPE:0},DATA:{ID:9,KEY:"data",TYPE:0},LOGO:{ID:10,KEY:"logo",TYPE:0},SPONSORED:{ID:11,KEY:"sponsored",TYPE:1},DESC:{ID:12,KEY:"data",TYPE:2},RATING:{ID:13,KEY:"rating",TYPE:3},LIKES:{ID:14,KEY:"likes",TYPE:4},DOWNLOADS:{ID:15,KEY:"downloads",TYPE:5},PRICE:{ID:16,KEY:"price",TYPE:6},SALEPRICE:{ID:17,KEY:"saleprice",TYPE:7},PHONE:{ID:18,KEY:"phone",TYPE:8},ADDRESS:{ID:19,KEY:"address",TYPE:9},DESC2:{ID:20,KEY:"desc2",TYPE:10},DISPLAYURL:{ID:21,KEY:"displayurl",TYPE:11},CTA:{ID:22,KEY:"cta",TYPE:12}},k={ICON:1,LOGO:2,IMAGE:3},Y=[{id:R.SPONSOREDBY.ID,required:!0,data:{type:1}},{id:R.TITLE.ID,required:!0},{id:R.IMAGE.ID,required:!0}],S={1:"PMP",5:"PREF",6:"PMPG"},C={bootstrapPlayer:function(e){var r={code:e.adUnitCode};if(e.vastXml?r.vastXml=e.vastXml:e.vastUrl&&(r.vastUrl=e.vastUrl),e.vastXml||e.vastUrl){for(var t,a=C.getRendererId("pubmatic",e.rendererCode),i=document.getElementById(e.adUnitCode),n=0;n<window.bluebillywig.renderers.length;n++)if(window.bluebillywig.renderers[n]._id===a){t=window.bluebillywig.renderers[n];break}t?t.bootstrap(r,i):(0,s.yN)("".concat(v,": Couldn't find a renderer with ").concat(a))}else(0,s.yN)("".concat(v,": No vastXml or vastUrl on bid, bailing..."))},newRenderer:function(e,r){var t=T.replace("$RENDERER",e),a=u.Th.install({url:t,loaded:!1,adUnitCode:r});try{a.setRender(C.outstreamRender)}catch(e){(0,s.yN)("".concat(v,": Error tying to setRender on renderer"),e)}return a},outstreamRender:function(e){e.renderer.push((function(){C.bootstrapPlayer(e)}))},getRendererId:function(e,r){return"".concat(e,"-").concat(r)}},A=[c.Mk,c.pX,c.B5],U=0,K=!1,z={},j={},B=["pubmatic"],L=["all"];function M(e,r){if(!(0,s.d8)(r))return r&&(0,s.yN)(v+"Ignoring param key: "+e+", expects string-value, found "+(0,n.Z)(r)),E;switch(e){case"pmzoneid":return r.split(",").slice(0,50).map((function(e){return e.trim()})).join();case"kadfloor":case"lat":case"lon":return parseFloat(r)||E;case"yob":return parseInt(r)||E;default:return r}}function q(e){var r;e.params.adUnit="",e.params.adUnitIndex="0",e.params.width=0,e.params.height=0,e.params.adSlot=(r=e.params.adSlot,(0,s.d8)(r)?r.replace(/^\s+/g,"").replace(/\s+$/g,""):(r&&(0,s.yN)(g+": adSlot must be a string. Ignoring adSlot"),""));var t=e.params.adSlot,a=t.split(":");if(t=a[0],2==a.length&&(e.params.adUnitIndex=a[1]),a=t.split("@"),e.params.adUnit=a[0],a.length>1){if(2!=(a=a[1].split("x")).length)return void(0,s.yN)(v+"AdSlot Error: adSlot not in required format");e.params.width=parseInt(a[0],10),e.params.height=parseInt(a[1],10)}else if(e.hasOwnProperty("mediaTypes")&&e.mediaTypes.hasOwnProperty(c.Mk)&&e.mediaTypes.banner.hasOwnProperty("sizes")){for(var i=0,n=[];i<e.mediaTypes.banner.sizes.length;i++)2===e.mediaTypes.banner.sizes[i].length&&n.push(e.mediaTypes.banner.sizes[i]);e.mediaTypes.banner.sizes=n,e.mediaTypes.banner.sizes.length>=1&&(e.params.width=e.mediaTypes.banner.sizes[0][0],e.params.height=e.mediaTypes.banner.sizes[0][1],e.mediaTypes.banner.sizes=e.mediaTypes.banner.sizes.splice(1,e.mediaTypes.banner.sizes.length-1))}}function J(e,r,t){var a,i="Ignoring param key: "+e+", expects "+t+", found "+(0,n.Z)(r);switch(t){case x.BOOLEAN:a=s.jn;break;case x.NUMBER:a=s.hj;break;case x.STRING:a=s.d8;break;case x.ARRAY:a=s.kJ}return a(r)?r:((0,s.yN)(v+i),E)}function X(e,r){var t=e.KEY;return{id:e.ID,required:r[t].required?1:0,data:{type:e.TYPE,len:r[t].len,ext:r[t].ext}}}function Z(e){var r={assets:[]};for(var t in e){if(e.hasOwnProperty(t)){var a={};if(!(r.assets&&r.assets.length>0&&r.assets.hasOwnProperty(t)))switch(t){case R.TITLE.KEY:e[t].len||e[t].length?a={id:R.TITLE.ID,required:e[t].required?1:0,title:{len:e[t].len||e[t].length,ext:e[t].ext}}:(0,s.yN)(v+"Error: Title Length is required for native ad: "+JSON.stringify(e));break;case R.IMAGE.KEY:a={id:R.IMAGE.ID,required:e[t].required?1:0,img:{type:k.IMAGE,w:e[t].w||e[t].width||(e[t].sizes?e[t].sizes[0]:E),h:e[t].h||e[t].height||(e[t].sizes?e[t].sizes[1]:E),wmin:e[t].wmin||e[t].minimumWidth||(e[t].minsizes?e[t].minsizes[0]:E),hmin:e[t].hmin||e[t].minimumHeight||(e[t].minsizes?e[t].minsizes[1]:E),mimes:e[t].mimes,ext:e[t].ext}};break;case R.ICON.KEY:a={id:R.ICON.ID,required:e[t].required?1:0,img:{type:k.ICON,w:e[t].w||e[t].width||(e[t].sizes?e[t].sizes[0]:E),h:e[t].h||e[t].height||(e[t].sizes?e[t].sizes[1]:E)}};break;case R.VIDEO.KEY:a={id:R.VIDEO.ID,required:e[t].required?1:0,video:{minduration:e[t].minduration,maxduration:e[t].maxduration,protocols:e[t].protocols,mimes:e[t].mimes,ext:e[t].ext}};break;case R.EXT.KEY:a={id:R.EXT.ID,required:e[t].required?1:0};break;case R.LOGO.KEY:a={id:R.LOGO.ID,required:e[t].required?1:0,img:{type:k.LOGO,w:e[t].w||e[t].width||(e[t].sizes?e[t].sizes[0]:E),h:e[t].h||e[t].height||(e[t].sizes?e[t].sizes[1]:E)}};break;case R.SPONSOREDBY.KEY:case R.BODY.KEY:case R.RATING.KEY:case R.LIKES.KEY:case R.DOWNLOADS.KEY:case R.PRICE.KEY:case R.SALEPRICE.KEY:case R.PHONE.KEY:case R.ADDRESS.KEY:case R.DESC2.KEY:case R.DISPLAYURL.KEY:case R.CTA.KEY:a=X(j[t],e)}}a&&a.id&&(r.assets[r.assets.length]=a)}var i=Y.length,n=0;return Y.forEach((function(e){for(var t=r.assets.length,a=0;a<t;a++)if(e.id==r.assets[a].id){n++;break}})),K=i!=n,r}function _(e){var r,t=e.mediaTypes.banner.sizes,a=[];if(t!==E&&(0,s.kJ)(t)){if(r={},e.params.width||e.params.height)r.w=e.params.width,r.h=e.params.height;else{if(0===t.length)return r=E,(0,s.yN)(v+"Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),r;r.w=parseInt(t[0][0],10),r.h=parseInt(t[0][1],10),t=t.splice(1,t.length-1)}t.length>0&&(a=[],t.forEach((function(e){e.length>1&&a.push({w:e[0],h:e[1]})})),a.length>0&&(r.format=a)),r.pos=0,r.topframe=(0,s.yL)()?0:1}else(0,s.yN)(v+"Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),r=E;return r}function G(e){var r,t=(0,s.Ee)((0,o.Z)(e.mediaTypes,"video"),e.params.video);if(t!==E){for(var a in r={},function(e,r){(0,o.Z)(e,"placement")||(0,s.yN)(N+" for "+r)}(t,e.adUnitCode),D)t.hasOwnProperty(a)&&(r[a]=J(a,t[a],D[a]));(0,s.kJ)(e.mediaTypes.video.playerSize[0])?(r.w=parseInt(e.mediaTypes.video.playerSize[0][0],10),r.h=parseInt(e.mediaTypes.video.playerSize[0][1],10)):(0,s.hj)(e.mediaTypes.video.playerSize[0])&&(r.w=parseInt(e.mediaTypes.video.playerSize[0],10),r.h=parseInt(e.mediaTypes.video.playerSize[1],10))}else r=E,(0,s.yN)(v+"Error: Video config params missing for adunit: "+e.params.adUnit+" with mediaType set as video. Ignoring video impression in the adunit.");return r}function F(e,r,t){var a=r.rtd&&r.rtd.jwplayer&&r.rtd.jwplayer.targeting||void 0,i="";if(void 0!==a&&""!==a&&a.hasOwnProperty("segments")){var n,s=a.segments.length;i+="jw-id="+a.content.id;for(var o=0;o<s;o++)i+="|jw-"+a.segments[o]+"=1";t?void 0===e.dctr||0==e.dctr.length?e.dctr=i:e.dctr+="|"+i:(n=e.ext)&&void 0===n.key_val?n.key_val=i:n.key_val+="|"+i}}function V(e,r){var t,a,p={},u={},m=e.hasOwnProperty("sizes")?e.sizes:[],f="",g=[];if(function(e,r){r.params.deals&&((0,s.kJ)(r.params.deals)?r.params.deals.forEach((function(r){(0,s.d8)(r)&&r.length>3?(e.pmp||(e.pmp={private_auction:0,deals:[]}),e.pmp.deals.push({id:r})):(0,s.yN)(v+"Error: deal-id present in array bid.params.deals should be a strings with more than 3 charaters length, deal-id ignored: "+r)})):(0,s.yN)(v+"Error: bid.params.deals should be an array of strings."))}(p={id:e.bidId,tagid:e.params.adUnit||void 0,bidfloor:M("kadfloor",e.params.kadfloor),secure:1,ext:{pmZoneId:M("pmzoneid",e.params.pmzoneid)},bidfloorcur:e.params.currency?M("currency",e.params.currency):y},e),function(e,r){var t,a="";if(r.params.dctr)if(a=r.params.dctr,(0,s.d8)(a)&&a.length>0){var i=a.split("|");a="",i.forEach((function(e){a+=e.length>0?e.trim()+"|":""})),t=a.length,"|"===a.substring(t,t-1)&&(a=a.substring(0,t-1)),e.ext.key_val=a.trim()}else(0,s.yN)(v+"Ignoring param : dctr with value : "+a+", expects string-value, found empty or non-string value")}(p,e),F(p,e),e.hasOwnProperty("mediaTypes"))for(f in e.mediaTypes)switch(f){case c.Mk:(t=_(e))!==E&&(p.banner=t);break;case c.B5:u.request=JSON.stringify(Z(e.nativeParams)),K?(0,s.yN)(v+"Error: Error in Native adunit "+e.params.adUnit+". Ignoring the adunit. Refer to "+O+" for more details."):p.native=u;break;case c.pX:(a=G(e))!==E&&(p.video=a)}else t={pos:0,w:e.params.width,h:e.params.height,topframe:(0,s.yL)()?0:1},(0,s.kJ)(m)&&m.length>1&&((m=m.splice(1,m.length-1)).forEach((function(e){g.push({w:e[0],h:e[1]})})),t.format=g),p.banner=t;return function(e,r){var t=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?h(Object(t),!0).forEach((function(r){(0,i.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}({},(0,o.Z)(r,"ortb2Imp.ext.data"));Object.keys(t).forEach((function(r){"pbadslot"===r?"string"==typeof t[r]&&t[r]&&(0,d.N)(e,"ext.data.pbadslot",t[r]):"adserver"===r?["name","adslot"].forEach((function(r){var a=(0,o.Z)(t,"adserver.".concat(r));"string"==typeof a&&a&&((0,d.N)(e,"ext.data.adserver.".concat(r.toLowerCase()),a),"adslot"===r&&(0,d.N)(e,"ext.dfp_ad_unit_code",a))})):(0,d.N)(e,"ext.data.".concat(r),t[r])}))}(p,e),function(e,r){var t=-1;"function"!=typeof r.getFloor||l.vc.getConfig("pubmatic.disableFloors")||[c.Mk,c.pX,c.B5].forEach((function(a){if(e.hasOwnProperty(a)){var i=[];"banner"===a&&(e[a].w&&e[a].h&&i.push([e[a].w,e[a].h]),(0,s.kJ)(e[a].format)&&e[a].format.forEach((function(e){return i.push([e.w,e.h])}))),0===i.length&&i.push("*"),i.forEach((function(i){var o=r.getFloor({currency:e.bidfloorcur,mediaType:a,size:i});if((0,s.PN)(v,"floor from floor module returned for mediatype:",a," and size:",i," is: currency",o.currency,"floor",o.floor),"object"===(0,n.Z)(o)&&o.currency===e.bidfloorcur&&!isNaN(parseInt(o.floor))){var d=parseFloat(o.floor);(0,s.PN)(v,"floor from floor module:",d,"previous floor value",t,"Min:",Math.min(d,t)),t=-1===t?d:Math.min(d,t),(0,s.PN)(v,"new floor value:",t)}}))}}));e.bidfloor&&((0,s.PN)(v,"floor from floor module:",t,"impObj.bidfloor",e.bidfloor,"Max:",Math.max(t,e.bidfloor)),t=Math.max(t,e.bidfloor));e.bidfloor=!isNaN(t)&&t>0?t:E,(0,s.PN)(v,"new impObj.bidfloor value:",e.bidfloor)}(p,e),p.hasOwnProperty(c.Mk)||p.hasOwnProperty(c.B5)||p.hasOwnProperty(c.pX)?p:E}function H(e,r){(r=r.filter((function(e){return"string"==typeof e||((0,s.yN)(v+"acat: Each category should be a string, ignoring category: "+e),!1)})).map((function(e){return e.trim()})).filter((function(e,r,t){return t.indexOf(e)===r}))).length>0&&((0,s.yN)(v+"acat: Selected: ",r),e.ext.acat=r)}function W(e){return!0===(0,s.kJ)(e)&&e.length>0}(0,s.yi)(R,(function(e){z[e.ID]=e.KEY})),(0,s.yi)(R,(function(e){j[e.KEY]=e}));var $={code:g,gvlid:76,supportedMediaTypes:[c.Mk,c.pX,c.B5],isBidRequestValid:function(e){if(e&&e.params){if(!(0,s.d8)(e.params.publisherId))return(0,s.yN)(v+"Error: publisherId is mandatory and cannot be numeric (wrap it in quotes in your config). Call to OpenBid will not be sent for ad unit: "+JSON.stringify(e)),!1;if(e.hasOwnProperty("mediaTypes")&&e.mediaTypes.hasOwnProperty(c.pX)){var r=(0,o.Z)(e.mediaTypes,"video.mimes"),t=(0,o.Z)(e,"params.video.mimes");if(!1===W(r)&&!1===W(t))return(0,s.yN)(v+"Error: For video ads, bid.mediaTypes.video.mimes OR bid.params.video.mimes should be present and must be a non-empty array. Call to OpenBid will not be sent for ad unit:"+JSON.stringify(e)),!1;if(!e.mediaTypes[c.pX].hasOwnProperty("context"))return(0,s.H)("".concat(v,": no context specified in bid. Rejecting bid: "),e),!1;if("outstream"===e.mediaTypes[c.pX].context&&!(0,s.d8)(e.params.outstreamAU)&&!e.hasOwnProperty("renderer")&&!e.mediaTypes[c.pX].hasOwnProperty("renderer"))return e.mediaTypes.hasOwnProperty(c.Mk)||e.mediaTypes.hasOwnProperty(c.B5)?(delete e.mediaTypes[c.pX],(0,s.yN)("".concat(v,': for "outstream" bids either outstreamAU parameter must be provided or ad unit supplied renderer is required. Rejecting mediatype Video of bid: '),e),!0):((0,s.H)("".concat(v,': for "outstream" bids either outstreamAU parameter must be provided or ad unit supplied renderer is required. Rejecting bid: '),e),!1)}return!0}return!1},buildRequests:function(e,r){var t,i,p,u,h,g;e=(0,f.lY)(e),r&&r.refererInfo&&(g=r.refererInfo);var I,w=function(e){return{pageURL:(null==e?void 0:e.page)||window.location.href,refURL:(null==e?void 0:e.ref)||window.document.referrer}}(g),O=function(e){return{id:""+(new Date).getTime(),at:b,cur:[y],imp:[],site:{page:e.pageURL,ref:e.refURL,publisher:{}},device:{ua:navigator.userAgent,js:1,dnt:"yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack?1:0,h:screen.height,w:screen.width,language:navigator.language},user:{},ext:{}}}(w),T="",N=[],x=[],D=[];if(e.forEach((function(e){if((I=(0,s.I8)(e)).params.adSlot=I.params.adSlot||"",q(I),I.mediaTypes&&I.mediaTypes.hasOwnProperty("video")||I.params.hasOwnProperty("video"));else if(!(I.hasOwnProperty("mediaTypes")&&I.mediaTypes.hasOwnProperty(c.B5)||0!==I.params.width||0!==I.params.height))return void(0,s.yN)(v+"Skipping the non-standard adslot: ",I.params.adSlot,JSON.stringify(I));w.pubId=w.pubId||I.params.publisherId,(w=function(e,r){var t,a,i;for(t in r.kadpageurl||(r.kadpageurl=r.pageURL),P)P.hasOwnProperty(t)&&(a=e[t])&&(i=P[t],"object"===(0,n.Z)(i)&&(a=i.f(a,r)),(0,s.d8)(a)?r[t]=a:(0,s.yN)(v+"Ignoring param : "+t+" with value : "+P[t]+", expects string-value, found "+(0,n.Z)(a)));return r}(I.params,w)).transactionId=I.transactionId,""===T?T=I.params.currency||E:I.params.hasOwnProperty("currency")&&T!==I.params.currency&&(0,s.yN)(v+"Currency specifier ignored. Only one currency permitted."),I.params.currency=T,I.params.hasOwnProperty("dctr")&&(0,s.d8)(I.params.dctr)&&N.push(I.params.dctr),I.params.hasOwnProperty("bcat")&&(0,s.kJ)(I.params.bcat)&&(x=x.concat(I.params.bcat)),I.params.hasOwnProperty("acat")&&(0,s.kJ)(I.params.acat)&&(D=D.concat(I.params.acat));var r=V(I);r&&O.imp.push(r)})),0!=O.imp.length){O.site.publisher.id=w.pubId.trim(),U=w.pubId.trim(),O.ext.wrapper={},O.ext.wrapper.profile=parseInt(w.profId)||E,O.ext.wrapper.version=parseInt(w.verId)||E,O.ext.wrapper.wiid=w.wiid||r.auctionId,O.ext.wrapper.wv="prebid_prebid_7.36.0",O.ext.wrapper.transactionId=w.transactionId,O.ext.wrapper.wp="pbjs";var R,k,Y=r?m.S.get(r.bidderCode,"allowAlternateBidderCodes"):void 0;if(void 0!==Y){if(O.ext.marketplace={},r&&1==Y){var S=m.S.get(r.bidderCode,"allowedAlternateBidderCodes");(0,s.kJ)(S)?(S=S.map((function(e){return e.trim().toLowerCase()})).filter((function(e){return!!e})).filter(s.tT),B=S.includes("*")?L:[].concat((0,a.Z)(B),(0,a.Z)(S))):B=L}O.ext.marketplace.allowedbidders=B.filter(s.tT)}O.user.gender=w.gender?w.gender.trim():E,O.user.geo={},O.user.geo.lat=M("lat",w.lat),O.user.geo.lon=M("lon",w.lon),O.user.yob=M("yob",w.yob),O.device.geo=O.user.geo,O.site.page=w.kadpageurl.trim()||O.site.page.trim(),O.site.domain=(R=O.site.page,(k=document.createElement("a")).href=R,k.hostname),"object"===(0,n.Z)(l.vc.getConfig("content"))&&(O.site.content=l.vc.getConfig("content")),"object"===(0,n.Z)(l.vc.getConfig("device"))&&(O.device=Object.assign(O.device,l.vc.getConfig("device"))),O.device.language=O.device.language&&O.device.language.split("-")[0],(0,d.N)(O,"source.tid",w.transactionId),-1!==window.location.href.indexOf("pubmaticTest=true")&&(O.test=1),e[0].schain&&(0,d.N)(O,"source.ext.schain",e[0].schain),r&&r.gdprConsent&&((0,d.N)(O,"user.ext.consent",r.gdprConsent.consentString),(0,d.N)(O,"regs.ext.gdpr",r.gdprConsent.gdprApplies?1:0)),r&&r.uspConsent&&(0,d.N)(O,"regs.ext.us_privacy",r.uspConsent),!0===l.vc.getConfig("coppa")&&(0,d.N)(O,"regs.coppa",1),function(e,r){var t=(0,o.Z)(r,"0.userIdAsEids");(0,s.kJ)(t)&&t.length>0&&(0,d.N)(e,"user.eids",t)}(O,e);var C,A,K,z,j=r&&r.ortb2||{};if(j.site){var J=O.site,X=J.page,Z=J.domain,_=J.ref;(0,s.Ee)(O,{site:j.site}),O.site.page=X,O.site.domain=Z,O.site.ref=_}if(j.user&&(0,s.Ee)(O,{user:j.user}),j.bcat&&(x=x.concat(j.bcat)),null!==(t=j.device)&&void 0!==t&&t.sua)O.device.sua=null===(C=j.device)||void 0===C?void 0:C.sua;if(null!==(i=j.ext)&&void 0!==i&&null!==(p=i.prebid)&&void 0!==p&&null!==(u=p.bidderparams)&&void 0!==u&&null!==(h=u[r.bidderCode])&&void 0!==h&&h.acat){var G=j.ext.prebid.bidderparams[r.bidderCode].acat;H(O,G)}else D.length&&H(O,D);if(function(e,r){(r=r.filter((function(e){return"string"==typeof e||((0,s.yN)(v+"bcat: Each category should be a string, ignoring category: "+e),!1)})).map((function(e){return e.trim()})).filter((function(e,r,t){if(e.length>3)return t.indexOf(e)===r;(0,s.yN)(v+"bcat: Each category should have a value of a length of more than 3 characters, ignoring category: "+e)}))).length>0&&((0,s.yN)(v+"bcat: Selected: ",r),e.bcat=r)}(O,x),null!=r&&r.timeout)O.tmax=r.timeout||l.vc.getConfig("bidderTimeout");else O.tmax=null===(A=window)||void 0===A||null===(K=A.PWT)||void 0===K||null===(z=K.versionDetails)||void 0===z?void 0:z.timeout;return O.ext.epoch=(new Date).getTime(),"object"===(0,n.Z)(l.vc.getConfig("app"))&&(O.app=l.vc.getConfig("app"),O.app.publisher=O.site.publisher,O.app.ext=O.site.ext||E,"object"!==(0,n.Z)(O.app.content)&&(O.app.content=O.site.content||E),delete O.site),{method:"POST",url:"https://hbopenbid.pubmatic.com/translator?source=prebid-client",data:JSON.stringify(O),bidderRequest:r}}},interpretResponse:function(e,r){var t=[],a=y,i=JSON.parse(r.data),n=i.site&&i.site.ref?i.site.ref:"";try{e.body&&e.body.seatbid&&(0,s.kJ)(e.body.seatbid)&&(a=e.body.cur||a,e.body.seatbid.forEach((function(e){e.bid&&(0,s.kJ)(e.bid)&&e.bid.forEach((function(d){var p={requestId:d.impid,cpm:parseFloat((d.price||0).toFixed(2)),width:d.w,height:d.h,creativeId:d.crid||d.id,dealId:d.dealid,currency:a,netRevenue:true,ttl:300,referrer:n,ad:d.adm,pm_seat:e.seat||null,pm_dspid:d.ext&&d.ext.dspid?d.ext.dspid:null,partnerImpId:d.id||""};i.imp&&i.imp.length>0&&i.imp.forEach((function(e){if(d.impid===e.id)switch(function(e,r){if(e.ext&&null!=e.ext.bidtype)r.mediaType=A[e.ext.bidtype];else{(0,s.PN)(v+"bid.ext.bidtype does not exist, checking alternatively for mediaType");var t=e.adm,a="",i=new RegExp(/VAST\s+version/);if(t.indexOf('span class="PubAPIAd"')>=0)r.mediaType=c.Mk;else if(i.test(t))r.mediaType=c.pX;else try{(a=JSON.parse(t.replace(/\\/g,"")))&&a.native&&(r.mediaType=c.B5)}catch(e){(0,s.yN)(v+"Error: Cannot parse native reponse for ad response: "+t)}}}(d,p),p.mediaType){case c.Mk:break;case c.pX:p.width=d.hasOwnProperty("w")?d.w:e.video.w,p.height=d.hasOwnProperty("h")?d.h:e.video.h,p.vastXml=d.adm,function(e,r){var t,a,i;if(r.bidderRequest&&r.bidderRequest.bids){for(var n=0;n<r.bidderRequest.bids.length;n++)r.bidderRequest.bids[n].bidId===e.requestId&&(t=r.bidderRequest.bids[n].params,a=r.bidderRequest.bids[n].mediaTypes[c.pX].context,i=r.bidderRequest.bids[n].adUnitCode);a&&"outstream"===a&&t&&t.outstreamAU&&i&&(e.rendererCode=t.outstreamAU,e.renderer=C.newRenderer(e.rendererCode,i))}}(p,r),function(e,r,t){var a,i,n;if(null!=r&&null!==(a=r.ext)&&void 0!==a&&a.prebiddealpriority){var d=(0,s.zE)(e.requestId,[t.bidderRequest]),p=(0,o.Z)(d,"mediaTypes.video");if((null==p?void 0:p.context)==c.Oh){var l=(null==r||null===(i=r.ext)||void 0===i||null===(n=i.video)||void 0===n?void 0:n.duration)||(null==p?void 0:p.maxduration);e.video={context:c.Oh,durationSeconds:l,dealTier:r.ext.prebiddealpriority}}}}(p,d,r);break;case c.B5:!function(e,r){if(r.native={},e.hasOwnProperty("adm")){var t="";try{t=JSON.parse(e.adm.replace(/\\/g,""))}catch(e){return void(0,s.yN)(v+"Error: Cannot parse native reponse for ad response: "+r.adm)}if(t&&t.native&&t.native.assets&&t.native.assets.length>0){r.mediaType=c.B5;for(var a=0,i=t.native.assets.length;a<i;a++)switch(t.native.assets[a].id){case R.TITLE.ID:r.native.title=t.native.assets[a].title&&t.native.assets[a].title.text;break;case R.IMAGE.ID:r.native.image={url:t.native.assets[a].img&&t.native.assets[a].img.url,height:t.native.assets[a].img&&t.native.assets[a].img.h,width:t.native.assets[a].img&&t.native.assets[a].img.w};break;case R.ICON.ID:r.native.icon={url:t.native.assets[a].img&&t.native.assets[a].img.url,height:t.native.assets[a].img&&t.native.assets[a].img.h,width:t.native.assets[a].img&&t.native.assets[a].img.w};break;case R.SPONSOREDBY.ID:case R.BODY.ID:case R.LIKES.ID:case R.DOWNLOADS.ID:case R.PRICE:case R.SALEPRICE.ID:case R.PHONE.ID:case R.ADDRESS.ID:case R.DESC2.ID:case R.CTA.ID:case R.RATING.ID:case R.DISPLAYURL.ID:r.native[z[t.native.assets[a].id]]=t.native.assets[a].data&&t.native.assets[a].data.value}r.native.clickUrl=t.native.link&&t.native.link.url,r.native.clickTrackers=t.native.link&&t.native.link.clicktrackers||[],r.native.impressionTrackers=t.native.imptrackers||[],r.native.jstracker=t.native.jstracker||[],r.width||(r.width=I),r.height||(r.height=w)}}}(d,p)}})),d.ext&&d.ext.deal_channel&&(p.dealChannel=S[d.ext.deal_channel]||null),p.meta={},d.ext&&d.ext.dspid&&(p.meta.networkId=d.ext.dspid),d.ext&&d.ext.advid&&(p.meta.buyerId=d.ext.advid),d.adomain&&d.adomain.length>0&&(p.meta.advertiserDomains=d.adomain,p.meta.clickUrl=d.adomain[0]),e.ext&&e.ext.buyid&&(p.adserverTargeting={hb_buyid_pubmatic:e.ext.buyid}),d.ext&&d.ext.marketplace&&(p.bidderCode=d.ext.marketplace),t.push(p)}))})))}catch(e){(0,s.H)(e)}return t},getUserSyncs:function(e,r,t,a){var i=""+U;return t&&(i+="&gdpr="+(t.gdprApplies?1:0),i+="&gdpr_consent="+encodeURIComponent(t.consentString||"")),a&&(i+="&us_privacy="+encodeURIComponent(a)),!0===l.vc.getConfig("coppa")&&(i+="&coppa=1"),e.iframeEnabled?[{type:"iframe",url:"https://ads.pubmatic.com/AdServer/js/user_sync.html?kdntuid=1&p="+i}]:[{type:"image",url:"https://image8.pubmatic.com/AdServer/ImgSync?p="+i}]},transformBidParams:function(e,r,t,a){return F(e,t.bids[0],!0),(0,s.uh)({publisherId:"string",adSlot:"string"},e)}};(0,p.dX)($),window.pbjs.installedModules.push("pubmaticBidAdapter")}},function(e){e.O(0,[6866],(function(){return r=5817,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7006],{2061:function(e,r,n){var t=n(4358),i=n(265),s=n(5590),d=n(3193),a={code:"resetdigital",supportedMediaTypes:["banner","video"],isBidRequestValid:function(e){return!(!e.params.pubId&&!e.params.zoneId)},buildRequests:function(e,r){var n=r.refererInfo&&r.refererInfo.stack?r.refererInfo.stack:[],a=d.vc.getConfig("userSync")&&d.vc.getConfig("userSync").syncsPerBidder?d.vc.getConfig("userSync").syncsPerBidder:5,o={start_time:(0,t.AB)(),language:window.navigator.userLanguage||window.navigator.language,site:{domain:(0,s.P)(),iframe:!r.refererInfo.reachedTop,url:n&&n.length>0?[n.length-1]:null,https:"https:"===window.location.protocol,referrer:r.refererInfo.page},imps:[],user_ids:e[0].userId,sync_limit:a};r&&r.gdprConsent&&(o.gdpr={applies:r.gdprConsent.gdprApplies,consent:r.gdprConsent.consentString});for(var p=0;p<e.length;p++){var u=e[p];o.imps.push({pub_id:u.params.pubId,zone_id:u.params.zoneId,bid_id:u.bidId,imp_id:u.transactionId,sizes:u.sizes,force_bid:u.params.forceBid,media_types:(0,i.Z)(u,"mediaTypes")})}var l=e[0].params;return{method:"POST",url:l.endpoint?l.endpoint:"//ads.resetsrv.com",data:JSON.stringify(o)}},interpretResponse:function(e,r){var n=[];if(!e||!e.body)return n;var t=e.body;if(!t.bids||!t.bids.length)return[];for(var i=0;i<e.body.bids.length;i++){var s=e.body.bids[i];n.push({requestId:s.bid_id,cpm:s.cpm,width:s.w,height:s.h,ad:s.html,vastUrl:s.vast_url,vastXml:s.vast_xml,mediaType:s.html?"banner":"video",ttl:120,creativeId:s.crid,dealId:s.deal_id,netRevenue:!0,currency:"USD",meta:{advertiserDomains:s.adomain}})}return n},getUserSyncs:function(e,r,n){var t=[];if(!r.length||!r[0].body)return t;var i=r[0].body.pixels;if(!i||!i.length)return t;var s=null;n&&(s="boolean"==typeof n.gdprApplies?"gdpr=".concat(Number(n.gdprApplies),"&gdpr_consent=").concat(n.consentString):"gdpr_consent=".concat(n.consentString));for(var d=0;d<i.length;d++){var a=i[d];("iframe"===a.type&&e.iframeEnabled||"image"===a.type&&e.pixelEnabled)&&(s&&s.length&&(a=(-1===a.indexOf("?")?"?":"&")+s),t.push(a))}return t}};(0,n(5339).dX)(a),window.pbjs.installedModules.push("resetdigitalBidAdapter")}},function(e){e.O(0,[2355,6866],(function(){return r=2061,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[6187],{60:function(e,t,r){var i=r(3324),n=r(4942),a=r(1002),o=r(4358),s=r(265),c=r(6475),d=r(5339),p=r(3193),u=r(4679),l=r(4614),m=r(5706),v=r(8640);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b="https://video-outstream.rubiconproject.com/apex-2.2.1.js",x={};p.vc.getConfig("rubicon",(function(e){(0,o.Ee)(x,e.rubicon)}));var y={1:"468x60",2:"728x90",5:"120x90",7:"125x125",8:"120x600",9:"160x600",10:"300x600",13:"200x200",14:"250x250",15:"300x250",16:"336x280",17:"240x400",19:"300x100",31:"980x120",32:"250x360",33:"180x500",35:"980x150",37:"468x400",38:"930x180",39:"750x100",40:"750x200",41:"750x300",42:"2x4",43:"320x50",44:"300x50",48:"300x300",53:"1024x768",54:"300x1050",55:"970x90",57:"970x250",58:"1000x90",59:"320x80",60:"320x150",61:"1000x1000",64:"580x500",65:"640x480",66:"930x600",67:"320x480",68:"1800x1000",72:"320x320",73:"320x160",78:"980x240",79:"980x300",80:"980x400",83:"480x300",85:"300x120",90:"548x150",94:"970x310",95:"970x100",96:"970x210",101:"480x320",102:"768x1024",103:"480x280",105:"250x800",108:"320x240",113:"1000x300",117:"320x100",125:"800x250",126:"200x600",144:"980x600",145:"980x150",152:"1000x250",156:"640x320",159:"320x250",179:"250x600",195:"600x300",198:"640x360",199:"640x200",213:"1030x590",214:"980x360",221:"1x1",229:"320x180",230:"2000x1400",232:"580x400",234:"6x6",251:"2x2",256:"480x820",257:"400x600",258:"500x200",259:"998x200",264:"970x1000",265:"1920x1080",274:"1800x200",278:"320x500",282:"320x400",288:"640x380",548:"500x1000",550:"980x480",552:"300x200",558:"640x640",562:"300x431",564:"320x431",566:"320x300",568:"300x150",570:"300x125",572:"250x350",574:"620x891",576:"610x877",578:"980x552",580:"505x656",622:"192x160"};(0,o.yi)(y,(function(e,t){return y[e]=t}));var h={code:"rubicon",gvlid:52,supportedMediaTypes:[u.Mk,u.pX],isBidRequestValid:function(e){if("object"!==(0,a.Z)(e.params))return!1;for(var t=0,r=["accountId","siteId","zoneId"];t<r.length;t++)if(e.params[r[t]]=parseInt(e.params[r[t]]),isNaN(e.params[r[t]]))return(0,o.H)("Rubicon: wrong format of accountId or siteId or zoneId."),!1;var i=Z(e,!0);return!!i&&("video"!==i||function(e){var t=!0,r=Object.prototype.toString.call([]),i=Object.prototype.toString.call(0),n={mimes:r,protocols:r,linearity:i,api:r};return Object.keys(n).forEach((function(r){Object.prototype.toString.call((0,s.Z)(e,"mediaTypes.video."+r))!==n[r]&&(t=!1,(0,o.H)("Rubicon: mediaTypes.video."+r+" is required and must be of type: "+n[r]))})),t}(e))},buildRequests:function(e,t){var r=[],i=e.filter((function(e){return"video"===Z(e)})).map((function(e){e.startTime=(new Date).getTime();var r,i={id:e.transactionId,test:p.vc.getConfig("debug")?1:0,cur:["USD"],source:{tid:e.transactionId},tmax:t.timeout,imp:[{exp:p.vc.getConfig("s2sConfig.defaultTtl"),id:e.adUnitCode,secure:1,ext:(0,n.Z)({},e.bidder,e.params),video:(0,s.Z)(e,"mediaTypes.video")||{}}],ext:{prebid:{channel:{name:"pbjs",version:pbjs.version},cache:{vastxml:{returnCreative:!0===x.returnVast}},targeting:{includewinners:!0,includebidderkeys:!1,pricegranularity:(r=p.vc,{ranges:{low:[{max:5,increment:.5}],medium:[{max:20,increment:.1}],high:[{max:20,increment:.01}],auto:[{max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}],dense:[{max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}],custom:r.getConfig("customPriceBucket")&&r.getConfig("customPriceBucket").buckets}[r.getConfig("priceGranularity")]})},bidders:{rubicon:{integration:x.int_type||"pbjs"}}}}};"rubicon"!==e.bidder&&(i.ext.prebid.aliases=(0,n.Z)({},e.bidder,"rubicon"));var d,l,m=(0,v.R)().installedModules;if(!m||m.length&&-1===m.indexOf("rubiconAnalyticsAdapter")||(0,c.N)(i,"ext.prebid.analytics",{rubicon:{"client-analytics":!0}}),"function"!=typeof e.getFloor||x.disableFloors)d=parseFloat((0,s.Z)(e,"params.floor"));else{var f;try{f=e.getFloor({currency:"USD",mediaType:"video",size:k(e,"video")})}catch(e){(0,o.H)("Rubicon: getFloor threw an error: ",e)}d="object"!==(0,a.Z)(f)||"USD"!==f.currency||isNaN(parseInt(f.floor))?void 0:parseFloat(f.floor)}(isNaN(d)||(i.imp[0].bidfloor=d),"object"===(0,a.Z)(e.floorData)&&(i.ext.prebid.floors={enabled:!1}),i.imp[0].ext[e.bidder].video.size_id=function(e){var t=parseInt((0,s.Z)(e,"params.video.size_id"));if(!isNaN(t))return t;return"outstream"===(0,s.Z)(e,"mediaTypes.".concat(u.pX,".context"))?203:201}(e),function(e,t,r){if(!e)return;"object"===(0,a.Z)(p.vc.getConfig("app"))?e.app=p.vc.getConfig("app"):e.site={page:_(t,r)};"object"===(0,a.Z)(p.vc.getConfig("device"))&&(e.device=p.vc.getConfig("device"));t.params.video.language&&["site","device"].forEach((function(r){e[r]&&("site"===r?e[r].content=Object.assign({language:t.params.video.language},e[r].content):e[r]=Object.assign({language:t.params.video.language},e[r]))}))}(i,e,t),function(e,t){"object"===(0,a.Z)(e.imp[0].video)&&void 0===e.imp[0].video.skip&&(e.imp[0].video.skip=t.params.video.skip);"object"===(0,a.Z)(e.imp[0].video)&&void 0===e.imp[0].video.skipafter&&(e.imp[0].video.skipafter=t.params.video.skipdelay);"object"===(0,a.Z)(e.imp[0].video)&&void 0===e.imp[0].video.pos&&("atf"===t.params.position?e.imp[0].video.pos=1:"btf"===t.params.position&&(e.imp[0].video.pos=3));var r=k(t,"video");e.imp[0].video.w=r[0],e.imp[0].video.h=r[1]}(i,e),t.gdprConsent)&&("boolean"==typeof t.gdprConsent.gdprApplies&&(l=t.gdprConsent.gdprApplies?1:0),(0,c.N)(i,"regs.ext.gdpr",l),(0,c.N)(i,"user.ext.consent",t.gdprConsent.consentString));t.uspConsent&&(0,c.N)(i,"regs.ext.us_privacy",t.uspConsent);var g=(0,s.Z)(t,"bids.0.userIdAsEids");g&&g.length&&(0,c.N)(i,"user.ext.eids",g);var b=p.vc.getConfig("user.id");b&&(0,c.N)(i,"user.id",b),!0===p.vc.getConfig("coppa")&&(0,c.N)(i,"regs.coppa",1),e.schain&&O(e.schain)&&(0,c.N)(i,"source.ext.schain",e.schain);var y=p.vc.getConfig("multibid");return y&&(0,c.N)(i,"ext.prebid.multibid",y.reduce((function(e,t){var r={};return Object.keys(t).forEach((function(e){r[e.toLowerCase()]=t[e]})),e.push(r),e}),[])),C(e,u.pX,i),(0,c.N)(i.imp[0],"ext.prebid.auctiontimestamp",t.auctionStart),i.ext.prebid.storedrequest=void 0,i.imp[0].ext.prebid.storedrequest=void 0,{method:"POST",url:"https://".concat(x.videoHost||"prebid-server",".rubiconproject.com/openrtb2/auction"),data:i,bidRequest:e}}));if(!0!==p.vc.getConfig("rubicon.singleRequest"))r=i.concat(e.filter((function(e){return"banner"===Z(e)})).map((function(e){var r=h.createSlotParams(e,t);return{method:"GET",url:"https://".concat(x.bannerHost||"fastlane",".rubiconproject.com/a/api/fastlane.json"),data:h.getOrderedParams(r).reduce((function(e,t){var i=r[t];return(0,o.d8)(i)&&""!==i||(0,o.hj)(i)?"".concat(e).concat(w(t,i),"&"):e}),"")+"slots=1&rand=".concat(Math.random()),bidRequest:e}})));else{var d=e.filter((function(e){return"banner"===Z(e)})).reduce((function(e,t){return(e[t.params.siteId]=e[t.params.siteId]||[]).push(t),e}),{});r=i.concat(Object.keys(d).reduce((function(e,r){var i,n;return(i=d[r],n=10,i.map((function(e,t){return t%n==0?i.slice(t,t+n):null})).filter((function(e){return e}))).forEach((function(r){var i=h.combineSlotUrlParams(r.map((function(e){return h.createSlotParams(e,t)})));e.push({method:"GET",url:"https://".concat(x.bannerHost||"fastlane",".rubiconproject.com/a/api/fastlane.json"),data:h.getOrderedParams(i).reduce((function(e,t){var r=i[t];return(0,o.d8)(r)&&""!==r||(0,o.hj)(r)?"".concat(e).concat(w(t,r),"&"):e}),"")+"slots=".concat(r.length,"&rand=").concat(Math.random()),bidRequest:r})})),e}),[]))}return r},getOrderedParams:function(e){var t=/^tg_v/,r=/^tg_i/,i=/^eid_|^tpid_/,n=["account_id","site_id","zone_id","size_id","alt_size_ids","p_pos","gdpr","gdpr_consent","us_privacy","rp_schain"].concat(Object.keys(e).filter((function(e){return i.test(e)}))).concat(["x_liverampidl","ppuid","rf","p_geo.latitude","p_geo.longitude","kw"]).concat(Object.keys(e).filter((function(e){return t.test(e)}))).concat(Object.keys(e).filter((function(e){return r.test(e)}))).concat(["tk_flint","x_source.tid","l_pb_bid_id","x_source.pchain","p_screen_res","rp_floor","rp_secure","tk_user_key"]);return n.concat(Object.keys(e).filter((function(e){return-1===n.indexOf(e)})))},combineSlotUrlParams:function(e){if(1===e.length)return e[0];var t=e.reduce((function(t,r,i){return Object.keys(r).forEach((function(n){t.hasOwnProperty(n)||(t[n]=new Array(e.length)),t[n].splice(i,1,r[n])})),t}),{}),r=new RegExp("^([^;]*)(;\\1)+$");return Object.keys(t).forEach((function(e){var i=t[e].join(";"),n=i.match(r);t[e]=n?n[1]:i})),t},createSlotParams:function(e,t){e.startTime=(new Date).getTime();var r=e.params,n=k(e,"banner"),c=r.latLong||[],d=(0,i.Z)(c,2),m=d[0],v=d[1],f={account_id:r.accountId,site_id:r.siteId,zone_id:r.zoneId,size_id:n[0],alt_size_ids:n.slice(1).join(",")||void 0,rp_floor:(r.floor=parseFloat(r.floor))>=.01?r.floor:void 0,rp_secure:"1",tk_flint:"".concat(x.int_type||"pbjs_lite","_v7.36.0"),"x_source.tid":e.transactionId,l_pb_bid_id:e.bidId,"x_source.pchain":r.pchain,p_screen_res:[window.screen.width,window.screen.height].join("x"),tk_user_key:r.userId,"p_geo.latitude":isNaN(parseFloat(m))?void 0:parseFloat(m).toFixed(4),"p_geo.longitude":isNaN(parseFloat(v))?void 0:parseFloat(v).toFixed(4),"tg_fl.eid":e.code,rf:_(e,t)};if("function"==typeof e.getFloor&&!x.disableFloors){var g;try{g=e.getFloor({currency:"USD",mediaType:"banner",size:"*"})}catch(e){(0,o.H)("Rubicon: getFloor threw an error: ",e)}f.rp_hard_floor="object"!==(0,a.Z)(g)||"USD"!==g.currency||isNaN(parseInt(g.floor))?void 0:g.floor}var b={1:"atf",3:"btf"}[(0,s.Z)(e,"mediaTypes.banner.pos")]||"";f.p_pos="atf"===r.position||"btf"===r.position?r.position:b;var y=p.vc.getConfig("user.id");return y&&(f.ppuid=y),e.userIdAsEids&&e.userIdAsEids.forEach((function(e){try{if("adserver.org"===e.source?(f.tpid_tdid=e.uids[0].id,f["eid_adserver.org"]=e.uids[0].id):"liveintent.com"===e.source?(f["tpid_liveintent.com"]=e.uids[0].id,f["eid_liveintent.com"]=e.uids[0].id,e.ext&&Array.isArray(e.ext.segments)&&e.ext.segments.length&&(f["tg_v.LIseg"]=e.ext.segments.join(","))):"liveramp.com"===e.source?f.x_liverampidl=e.uids[0].id:"id5-sync.com"===e.source?f["eid_id5-sync.com"]="".concat(e.uids[0].id,"^").concat(e.uids[0].atype,"^").concat(e.uids[0].ext&&e.uids[0].ext.linkType||""):f["eid_".concat(e.source)]="".concat(e.uids[0].id,"^").concat(e.uids[0].atype||""),!f.ppuid){var t=(0,l.sE)(e.uids,(function(e){return e.ext&&"ppuid"===e.ext.stype}));t&&t.id&&(f.ppuid=t.id)}}catch(t){(0,o.yN)("Rubicon: error reading eid:",e,t)}})),t.gdprConsent&&("boolean"==typeof t.gdprConsent.gdprApplies&&(f.gdpr=Number(t.gdprConsent.gdprApplies)),f.gdpr_consent=t.gdprConsent.consentString),t.uspConsent&&(f.us_privacy=encodeURIComponent(t.uspConsent)),f.rp_maxbids=t.bidLimit||1,C(e,u.Mk,f),!0===p.vc.getConfig("coppa")&&(f.coppa=1),e.schain&&O(e.schain)&&(f.rp_schain=h.serializeSupplyChain(e.schain)),f},serializeSupplyChain:function(e){if(!O(e))return"";var t=e.ver,r=e.complete,i=e.nodes;return"".concat(t,",").concat(r,"!").concat(h.serializeSupplyChainNodes(i))},serializeSupplyChainNodes:function(e){var t=["asi","sid","hp","rid","name","domain"];return e.map((function(e){return t.map((function(t){return encodeURIComponent(e[t]||"")})).join(",")})).join("!")},interpretResponse:function(e,t){var r=t.bidRequest;if(!(e=e.body)||"object"!==(0,a.Z)(e))return[];if(e.seatbid){var n=(0,s.Z)(e,"ext.errors.rubicon");Array.isArray(n)&&n.length>0&&(0,o.yN)("Rubicon: Error in video response");var d=[];return e.seatbid.forEach((function(t){(t.bid||[]).forEach((function(i){var n={requestId:r.bidId,currency:e.cur||"USD",creativeId:i.crid,cpm:i.price||0,bidderCode:t.seat,ttl:300,netRevenue:!1!==x.netRevenue,width:i.w||(0,s.Z)(r,"mediaTypes.video.w")||(0,s.Z)(r,"params.video.playerWidth"),height:i.h||(0,s.Z)(r,"mediaTypes.video.h")||(0,s.Z)(r,"params.video.playerHeight")};i.id&&(n.seatBidId=i.id),i.dealid&&(n.dealId=i.dealid),i.adomain&&(0,c.N)(n,"meta.advertiserDomains",Array.isArray(i.adomain)?i.adomain:[i.adomain]),(0,s.Z)(i,"ext.bidder.rp.advid")&&(0,c.N)(n,"meta.advertiserId",i.ext.bidder.rp.advid);var p=(0,s.Z)(e,"ext.responsetimemillis.rubicon");if(r&&p&&(r.serverResponseTimeMs=p),(0,s.Z)(i,"ext.prebid.type")===u.pX){n.mediaType=u.pX,(0,c.N)(n,"meta.mediaType",u.pX);var l=(0,s.Z)(i,"ext.prebid.targeting");l&&"object"===(0,a.Z)(l)&&(n.adserverTargeting=l),i.ext.prebid.cache&&"object"===(0,a.Z)(i.ext.prebid.cache.vastXml)&&i.ext.prebid.cache.vastXml.cacheId&&i.ext.prebid.cache.vastXml.url?(n.videoCacheKey=i.ext.prebid.cache.vastXml.cacheId,n.vastUrl=i.ext.prebid.cache.vastXml.url):l&&l.hb_uuid&&l.hb_cache_host&&l.hb_cache_path&&(n.videoCacheKey=l.hb_uuid,n.vastUrl="https://".concat(l.hb_cache_host).concat(l.hb_cache_path,"?uuid=").concat(l.hb_uuid)),i.adm&&(n.vastXml=i.adm),i.nurl&&(n.vastUrl=i.nurl),!n.vastUrl&&i.nurl&&(n.vastUrl=i.nurl),"outstream"===(0,s.Z)(r,"mediaTypes.video.context").toLowerCase()&&(n.renderer=function(e){var t=m.Th.install({id:e.adId,url:x.rendererUrl||b,config:x.rendererConfig||{},loaded:!1,adUnitCode:e.adUnitCode});try{t.setRender(j)}catch(e){(0,o.yN)("Prebid Error calling setRender on renderer",e)}return t}(n))}else(0,o.yN)("Rubicon: video response received non-video media type");d.push(n)}))})),d}var p,l=e.ads,v=0;return"object"!==(0,a.Z)(r)||Array.isArray(r)||"video"!==Z(r)||"object"!==(0,a.Z)(l)||(l=l[r.adUnitCode]),!Array.isArray(l)||l.length<1?[]:l.reduce((function(t,n,s){if(n.impression_id&&p===n.impression_id?v++:p=n.impression_id,"ok"!==n.status)return t;var c,d,l=Array.isArray(r)?r[s-v]:r;if(l&&"object"===(0,a.Z)(l)){var m={requestId:l.bidId,currency:"USD",creativeId:n.creative_id||"".concat(n.network||"","-").concat(n.advertiser||""),cpm:n.cpm||0,dealId:n.deal,ttl:300,netRevenue:!1!==x.netRevenue,rubicon:{advertiserId:n.advertiser,networkId:n.network},meta:{advertiserId:n.advertiser,networkId:n.network,mediaType:u.Mk}};if(n.creative_type&&(m.mediaType=n.creative_type),n.adomain&&(m.meta.advertiserDomains=Array.isArray(n.adomain)?n.adomain:[n.adomain]),n.creative_type===u.pX)m.width=l.params.video.playerWidth,m.height=l.params.video.playerHeight,m.vastUrl=n.creative_depot_url,m.impression_id=n.impression_id,m.videoCacheKey=n.impression_id;else{m.ad=(c=n.script,d=n.impression_id,"<html>\n<head><script type='text/javascript'>inDapIF=true;<\/script></head>\n<body style='margin : 0; padding: 0;'>\n\x3c!-- Rubicon Project Ad Tag --\x3e\n<div data-rp-impression-id='".concat(d,"'>\n<script type='text/javascript'>").concat(c,"<\/script>\n</div>\n</body>\n</html>"));var f=y[n.size_id].split("x").map((function(e){return Number(e)})),g=(0,i.Z)(f,2);m.width=g[0],m.height=g[1]}m.rubiconTargeting=(Array.isArray(n.targeting)?n.targeting:[]).reduce((function(e,t){return e[t.key]=t.values[0],e}),{rpfl_elemid:l.adUnitCode}),t.push(m)}else(0,o.H)("Rubicon: bidRequest undefined at index position:".concat(s),r,e);return t}),[]).sort((function(e,t){return(t.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,t,r,i){if(!A&&e.iframeEnabled){var n={};return r&&("boolean"==typeof r.gdprApplies&&(n.gdpr=Number(r.gdprApplies)),"string"==typeof r.consentString&&(n.gdpr_consent=r.consentString)),i&&(n.us_privacy=encodeURIComponent(i)),n=Object.keys(n).length?"?".concat((0,o.Yp)(n)):"",A=!0,{type:"iframe",url:"https://".concat(x.syncHost||"eus",".rubiconproject.com/usync.html")+n}}},transformBidParams:function(e,t){return(0,o.uh)({accountId:"number",siteId:"number",zoneId:"number"},e)}};function _(e,t){var r;return r=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?r.replace(/^http:/i,"https:"):r}function j(e){var t,r=document.getElementById(e.adUnitCode);(t=r.querySelector("div[id^='google_ads']"))&&t.style.setProperty("display","none"),function(e){var t=e.querySelector("script[id^='sas_script']"),r=t&&t.nextSibling;r&&"iframe"===r.localName&&r.style.setProperty("display","none")}(r);var i=e.renderer.getConfig();e.renderer.push((function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:r,align:i.align||"center",position:i.position||"append"},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function k(e,t){var r=e.params;if("video"===t){var i=[];return r.video&&r.video.playerWidth&&r.video.playerHeight?i=[r.video.playerWidth,r.video.playerHeight]:Array.isArray((0,s.Z)(e,"mediaTypes.video.playerSize"))&&1===e.mediaTypes.video.playerSize.length?i=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(i=e.sizes[0]),i}var n=[];return Array.isArray(r.sizes)?n=r.sizes:void 0!==(0,s.Z)(e,"mediaTypes.banner.sizes")?n=I(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=I(e.sizes):(0,o.yN)("Rubicon: no sizes are setup or found"),function(e){var t=[15,2,9];return e.sort((function(e,r){var i=t.indexOf(e),n=t.indexOf(r);return i>-1||n>-1?-1===i?1:-1===n?-1:i-n:e-r}))}(n)}function C(e,t,r){var i={user:{ext:{data:g({},e.params.visitor)}},site:{ext:{data:g({},e.params.inventory)}}};e.params.keywords&&(i.site.keywords=(0,o.kJ)(e.params.keywords)?e.params.keywords.join(","):e.params.keywords);var n=(0,o.Ee)({},e.ortb2||{},i),c=(0,s.Z)(e.ortb2Imp,"ext")||{},d=(0,s.Z)(e.ortb2Imp,"ext.data")||{},p=(0,s.Z)(e,"ortb2Imp.ext.gpid"),l={user:[4],site:[1,2,5,6]},m={user:"tg_v.",site:"tg_i.",adserver:"tg_i.dfp_ad_unit_code",pbadslot:"tg_i.pbadslot",keywords:"kw"},v=function(e,t,r){return"data"===t&&Array.isArray(e)?e.filter((function(e){return e.segment&&(0,s.Z)(e,"ext.segtax")&&l[r]&&-1!==l[r].indexOf((0,s.Z)(e,"ext.segtax"))})).map((function(e){var t=e.segment.filter((function(e){return e.id})).reduce((function(e,t){return e.push(t.id),e}),[]);if(t.length>0)return t.toString()})).toString():("object"!==(0,a.Z)(e)||Array.isArray(e))&&void 0!==e?Array.isArray(e)?e.filter((function(e){if("object"!==(0,a.Z)(e)&&void 0!==e)return e.toString();(0,o.yN)("Rubicon: Filtered value: ",e,"for key",t,": Expected value to be string, integer, or an array of strings/ints")})).toString():e.toString():void 0},f=function(e,t,i){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=v(e,i,t),o=m[i]&&n?"".concat(m[i]):"data"===i?"".concat(m[t],"iab"):"".concat(m[t]).concat(i);r[o]=r[o]?r[o].concat(",",a):a};t===u.Mk?(["site","user"].forEach((function(e){Object.keys(n[e]).forEach((function(t){"site"===e&&"content"===t&&n[e][t].data?f(n[e][t].data,e,"data"):"ext"!==t?f(n[e][t],e,t):n[e][t].data&&Object.keys(n[e].ext.data).forEach((function(t){f(n[e].ext.data[t],e,t,!1)}))}))})),Object.keys(d).forEach((function(e){"adserver"!==e?f(d[e],"site",e):"gam"===d[e].name&&f(d[e].adslot,name,e)})),p&&(r.p_gpid=p),r["tg_i.pbadslot"]&&delete r["tg_i.dfp_ad_unit_code"]):(Object.keys(c).length&&(0,o.Ee)(r.imp[0].ext,c),p&&(r.imp[0].ext.gpid=p),(0,o.Ee)(r,n))}function I(e){return(0,o.sF)(e).reduce((function(e,t){var r=parseInt(y[t],10);return r&&e.push(r),e}),[])}function Z(e){var t,r,i,n,d=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e,r=void 0!==(0,s.Z)(t,"mediaTypes.".concat(u.pX)),i=void 0!==(0,s.Z)(t,"mediaTypes.".concat(u.Mk)),n="object"!==(0,a.Z)((0,s.Z)(t,"params.video")),i&&n&&(r=!1),r&&n&&(0,c.N)(t,"params.video",{}),r?-1===["outstream","instream"].indexOf((0,s.Z)(e,"mediaTypes.".concat(u.pX,".context")))?void(d&&(0,o.H)("Rubicon: mediaTypes.video.context must be outstream or instream")):k(e,"video").length<2?void(d&&(0,o.H)("Rubicon: could not determine the playerSize of the video")):(d&&(0,o.ji)("Rubicon: making video request for adUnit",e.adUnitCode),"video"):0===k(e,"banner").length?void(d&&(0,o.H)("Rubicon: could not determine the sizes for banner request")):(d&&(0,o.ji)("Rubicon: making banner request for adUnit",e.adUnitCode),"banner")}function O(e){var t=!1,r=["asi","sid","hp"];return e.nodes?((t=e.nodes.reduce((function(e,t){return e?r.every((function(e){return t.hasOwnProperty(e)})):e}),!0))||(0,o.H)("Rubicon: required schain params missing"),t):t}function w(e,t){return"rp_schain"===e?"rp_schain=".concat(t):"".concat(e,"=").concat(encodeURIComponent(t))}var A=!1;(0,d.dX)(h),window.pbjs.installedModules.push("rubiconBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=60,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[9225],{8689:function(n,i,o){var e=o(3193),t=o(1039),c=o(4358),r=o(265),s=o(6475),a=o(6372),f="Invalid schain object found: ",d=" should be a string",u=" should be an Integer",h=" should be an object",g=" should be an Array",l={STRICT:"strict",RELAXED:"relaxed",OFF:"off"},p=[];function v(n,i){var o=l.STRICT;if(function(n){return!(void 0===n||!(0,c.PO)(n)&&((0,c.H)(f+"the following schain config will not be used as schain is not an object.",n),1))}(n)){if((0,c.d8)(n.validation)&&-1!=p.indexOf(n.validation)&&(o=n.validation),o===l.OFF)return n.config;if(function(n,i){var o="Detected something wrong within an schain config:",e="";function t(n){e+="\n"+n}function r(){!0===i?(0,c.H)(o,n,e):(0,c.yN)(o,n,e)}if(!(0,c.PO)(n)&&(t("schain.config"+h),r(),i))return!1;if((0,c.hj)(n.complete)&&(0,c.U)(n.complete)||t("schain.config.complete"+u),(0,c.d8)(n.ver)||t("schain.config.ver"+d),(0,c.RI)(n,"ext")&&((0,c.PO)(n.ext)||t("schain.config.ext"+h)),(0,c.kJ)(n.nodes))n.nodes.forEach((function(n,i){(0,c.d8)(n.asi)||t("schain.config.nodes[".concat(i,"].asi")+d),(0,c.d8)(n.sid)||t("schain.config.nodes[".concat(i,"].sid")+d),(0,c.hj)(n.hp)&&(0,c.U)(n.hp)||t("schain.config.nodes[".concat(i,"].hp")+u),(0,c.RI)(n,"rid")&&((0,c.d8)(n.rid)||t("schain.config.nodes[".concat(i,"].rid")+d)),(0,c.RI)(n,"name")&&((0,c.d8)(n.name)||t("schain.config.nodes[".concat(i,"].name")+d)),(0,c.RI)(n,"domain")&&((0,c.d8)(n.domain)||t("schain.config.nodes[".concat(i,"].domain")+d)),(0,c.RI)(n,"ext")&&((0,c.PO)(n.ext)||t("schain.config.nodes[".concat(i,"].ext")+h))}));else if(t("schain.config.nodes"+g),r(),i)return!1;return!(e.length>0&&(r(),i))}(n.config,!(o!==l.STRICT)))return n.config;(0,c.H)(f+"due to the 'strict' validation setting, this schain config will not be passed to bidder '".concat(i,"'.  See above error for details."))}return null}function b(n,i){var o=e.vc.getConfig("schain"),t=e.vc.getBidderConfig();i.forEach((function(n){var i=n.bidderCode,e=function(n){return t[n]&&t[n].schain||o}(i);n.bids.forEach((function(n){var o=v(e,i);o&&(n.schain=o)}))})),n(i)}(0,c.yi)(l,(function(n){return p.push(n)})),t.ZP.makeBidRequests.after(b),(0,a.f8)({type:a.Z,name:"sourceExtSchain",fn:function(n,i,o){if(!(0,r.Z)(n,"source.ext.schain")){var e=(0,r.Z)(o,"bidRequests.0.schain");e&&(0,s.N)(n,"source.ext.schain",e)}}}),window.pbjs.installedModules.push("schain")},6372:function(n,i,o){o.d(i,{DZ:function(){return r},Z:function(){return c},f8:function(){return h},md:function(){return a}});var e=["request","imp","bidResponse","response"],t=["default","pbs"],c=e[0],r=e[1],s=(e[2],e[3],t[0]),a=t[1],f=new Set(e);var d,u=(d={},{registerOrtbProcessor:function(n){var i=n.type,o=n.name,t=n.fn,c=n.priority,r=void 0===c?0:c,a=n.dialects,u=void 0===a?[s]:a;if(!f.has(i))throw new Error("ORTB processor type must be one of: ".concat(e.join(", ")));u.forEach((function(n){d.hasOwnProperty(n)||(d[n]={}),d[n].hasOwnProperty(i)||(d[n][i]={}),d[n][i][o]={priority:r,fn:t}}))},getProcessors:function(n){return d[n]||{}}}),h=u.registerOrtbProcessor}},function(n){n.O(0,[6866],(function(){return i=8689,n(n.s=i);var i}));n.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2972],{4834:function(o,e,n){var t=n(1002),i=n(4358),d=n(2797),a=n(1039),r=n(5164),u=n(4516),c=(0,r.df)({moduleName:"pubCommonId",gvlid:u.$P}),m="cookie",s="html5",l="_pubcid_optout",f="PublisherCommonId";function v(o,e){if(e===m)return c.getCookie(o);if(e===s&&c.hasLocalStorage()){var n=c.getDataFromLocalStorage("".concat(o,"_exp"));if(!n)return c.getDataFromLocalStorage(o);if(new Date(n).getTime()-Date.now()>0)return c.getDataFromLocalStorage(o)}}function p(o,e){return function(n){"function"==typeof e&&e(),n(o)}}function g(o){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(o){var n=(0,i.en)(o);n.search.id=encodeURIComponent("pubcid:"+e);var t=(0,i.Q2)(n);return function(){(0,i.hq)(t)}}}function b(){return!!(c.cookiesAreEnabled()&&v(l,m)||c.hasLocalStorage()&&v(l,s))}var h={name:"sharedId",aliasName:"pubCommonId",gvlid:u.$P,decode:function(o,e){if(!b())return(0,i.PN)(" Decoded value PubCommonId "+o),{pubcid:o};(0,i.PN)("PubCommonId decode: Has opted-out")},getId:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>2?arguments[2]:void 0;if(b())(0,i.PN)("PubCommonId: Has opted-out");else{if(!a.VP.getCoppa()){var n=o.params,d=void 0===n?{}:n,r=d.create,u=void 0===r||r,c=d.pixelUrl,m=e;if(!m){try{"object"===(0,t.Z)(window[f])&&(m=window[f].getId())}catch(o){}m||(m=u&&(0,i.wn)()?(0,i.DO)():void 0)}return{id:m,callback:p(m,g(c,m))}}(0,i.PN)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId")}},extendId:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>2?arguments[2]:void 0;if(b())return(0,i.PN)("PubCommonId: Has opted-out"),{id:void 0};if(a.VP.getCoppa())(0,i.PN)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId");else{var n=o.params,t=void 0===n?{}:n,d=t.extend,r=void 0!==d&&d,u=t.pixelUrl;if(r)return u?{callback:g(u,e)}:{id:e}}},domainOverride:function(){for(var o,e,n=document.domain.split("."),t="_gd".concat(Date.now()),i=0;i<n.length;i++){var d=n.slice(i).join(".");if(c.setCookie(t,"1",void 0,void 0,d),e=c.getCookie(t),c.setCookie(t,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,d),"1"!==e)return o;o=d}}};(0,d.Bx)("userId",h),window.pbjs.installedModules.push("sharedIdSystem")}},function(o){o.O(0,[6866],(function(){return e=4834,o(o.s=e);var e}));o.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[6312],{6349:function(e,t,r){var n=r(1002),i=r(3324),o=r(4942),a=r(4358),c=r(265),u=r(5339),d=r(3193),s=r(4679),p=r(4192);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y="sharethrough",m="https://btlr.sharethrough.com/universal/v1?supply_id=".concat("WYu2BXv1"),g={getProtocol:function(){return window.location.protocol}},v={code:y,supportedMediaTypes:[s.pX,s.Mk],gvlid:80,isBidRequestValid:function(e){return!!e.params.pkey&&e.bidder===y},buildRequests:function(e,t){var r=d.vc.getConfig("bidderTimeout"),n=t.ortb2||{},o=g.getProtocol().indexOf("http")<0||g.getProtocol().indexOf("https")>-1,u={id:(0,a.DO)(),at:1,cur:["USD"],tmax:r,site:f({domain:(0,c.Z)(t,"refererInfo.domain",window.location.hostname),page:(0,c.Z)(t,"refererInfo.page",window.location.href),ref:(0,c.Z)(t,"refererInfo.ref")},n.site),device:{ua:navigator.userAgent,language:navigator.language,js:1,dnt:"1"===navigator.doNotTrack?1:0,h:window.screen.height,w:window.screen.width},regs:{coppa:!0===d.vc.getConfig("coppa")?1:0,ext:{}},source:{tid:t.auctionId,ext:{version:"7.36.0",str:"4.3.0",schain:e[0].schain}},bcat:(0,c.Z)(t.ortb2,"bcat")||e[0].params.bcat||[],badv:(0,c.Z)(t.ortb2,"badv")||e[0].params.badv||[],test:0};if(u.user=I(n.user,{}),u.user.ext||(u.user.ext={}),u.user.ext.eids=(0,p.HQ)((0,c.Z)(e[0],"userId"))||[],t.gdprConsent){var s=!0===t.gdprConsent.gdprApplies;u.regs.ext.gdpr=s?1:0,s&&(u.user.ext.consent=t.gdprConsent.consentString)}return t.uspConsent&&(u.regs.ext.us_privacy=t.uspConsent),e.map((function(e){var t={ext:{}},r=(0,c.Z)(e,"ortb2Imp.ext.tid");r&&(t.ext.tid=r);var n=(0,c.Z)(e,"ortb2Imp.ext.gpid",(0,c.Z)(e,"ortb2Imp.ext.data.pbadslot"));n&&(t.ext.gpid=n);var u=(0,c.Z)(e,"mediaTypes.video");if(u){var d=640,s=360;if(u.playerSize&&u.playerSize[0]&&u.playerSize[1]){var p=(0,i.Z)(u.playerSize,2);d=p[0],s=p[1]}t.video={pos:I(u.pos,0),topframe:(0,a.yL)()?0:1,skip:I(u.skip,0),linearity:I(u.linearity,1),minduration:I(u.minduration,5),maxduration:I(u.maxduration,60),playbackmethod:u.playbackmethod||[2],api:b(u),mimes:u.mimes||["video/mp4"],protocols:h(u),w:d,h:s,startdelay:I(u.startdelay,0),skipmin:I(u.skipmin,0),skipafter:I(u.skipafter,0),placement:"instream"===u.context?1:+(0,c.Z)(u,"placement",4)},u.delivery&&(t.video.delivery=u.delivery),u.companiontype&&(t.video.companiontype=u.companiontype),u.companionad&&(t.video.companionad=u.companionad)}else t.banner={pos:(0,c.Z)(e,"mediaTypes.banner.pos",0),topframe:(0,a.yL)()?0:1,format:e.sizes.map((function(e){return{w:+e[0],h:+e[1]}}))};return f({id:e.bidId,tagid:String(e.params.pkey),secure:o?1:0,bidfloor:x(e)},t)})).filter((function(e){return!!e})).map((function(e){return{method:"POST",url:m,data:f(f({},u),{},{imp:[e]})}}))},interpretResponse:function(e,t){var r=e.body;return r&&r.seatbid&&0!==r.seatbid.length&&r.seatbid[0].bid&&0!==r.seatbid[0].bid.length?r.seatbid[0].bid.map((function(e){var n={requestId:e.impid,width:+e.w,height:+e.h,cpm:+e.price,creativeId:e.crid,dealId:e.dealid||null,mediaType:t.data.imp[0].video?s.pX:s.Mk,currency:r.cur||"USD",netRevenue:!0,ttl:360,ad:e.adm,nurl:e.nurl,meta:{advertiserDomains:e.adomain||[]}};return n.mediaType===s.pX&&(n.ttl=3600,n.vastXml=e.adm),n})):[]},getUserSyncs:function(e,t){return e.pixelEnabled&&void 0!==(0,c.Z)(t,"0.body.cookieSyncUrls")?t[0].body.cookieSyncUrls.map((function(e){return{type:"image",url:e}})):[]},onTimeout:function(e){},onBidWon:function(e){},onSetTargeting:function(e){}};function b(e){var t=e.api;return t&&Array.isArray(t)&&t.length>0?t:[2]}function h(e){var t=e.protocols;return t&&Array.isArray(t)&&t.length>0?t:[2,3,5,6,7,8]}function x(e){var t=null;if("function"==typeof e.getFloor){var r=e.getFloor({currency:"USD",mediaType:e.mediaTypes&&e.mediaTypes.video?"video":"banner",size:e.sizes.map((function(e){return{w:e[0],h:e[1]}}))});"object"!==(0,n.Z)(r)||"USD"!==r.currency||isNaN(parseFloat(r.floor))||(t=parseFloat(r.floor))}return null!==t?t:e.params.floor}function I(e,t){return null==e?t:e}(0,u.dX)(v),window.pbjs.installedModules.push("sharethroughBidAdapter")},4192:function(e,t,r){r.d(t,{HQ:function(){return c},Pv:function(){return u},UR:function(){return o}});var n=r(4358),i=r(265),o={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var t=(0,n.ei)(e,["h1","h2","h3"]);if(Object.keys(t).length)return t}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var t="";return e&&e.ext&&e.ext.DeviceID&&(t=e.ext.DeviceID),t},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=(0,n.ei)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(e){var t;return null!=e&&null!==(t=e.ext)&&void 0!==t&&t.ssp?"".concat(e.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},cpexId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:"paf",atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var t=e.identifiers[0];return{version:t.version,type:t.type,source:t.source}}}}};function a(e,t){var r=o[t];if(r&&e){var i={};i.source=(0,n.LQ)(r.getSource)?r.getSource(e):r.source;var a=(0,n.LQ)(r.getValue)?r.getValue(e):e;if((0,n.d8)(a)){var c={id:a,atype:r.atype};if((0,n.LQ)(r.getUidExt)){var u=r.getUidExt(e);u&&(c.ext=u)}if(i.uids=[c],(0,n.LQ)(r.getEidExt)){var d=r.getEidExt(e);d&&(i.ext=d)}return i}}return null}function c(e){var t=[],r=function(r){if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[r]))e[r].forEach((function(e,n,i){var o=a(e,r);o&&t.push(o)}));else{var n=a(e[r],r);n&&t.push(n)}};for(var n in e)r(n);return t}function u(e){var t=[];return e.filter((function(e){return(0,n.PO)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){(0,i.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,i.Z)(o,r+".source")&&t.push({source:o[r].source,bidders:e.config.bidders})}))})),t}}},function(e){e.O(0,[6866],(function(){return t=6349,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2302],{1415:function(e,i,r){var n=r(9062),t=r(3324),s=r(4942),a=r(5339),o=r(4358),d=r(265),c=r(4679),u=r(3193),p=r(5706),l=r(1974),v="sonobi",f=(0,o.DO)(),m="https://mtrx.go.sonobi.com/sbi_outstream_renderer.js",b={code:v,gvlid:104,supportedMediaTypes:[c.Mk,c.pX],isBidRequestValid:function(e){if(!e.params)return!1;if(!e.params.ad_unit&&!e.params.placement_id)return!1;if(!(0,d.Z)(e,"mediaTypes.banner")&&!(0,d.Z)(e,"mediaTypes.video"))return!1;if((0,d.Z)(e,"mediaTypes.banner")){if(!(0,d.Z)(e,"mediaTypes.banner.sizes")&&!e.params.sizes)return!1}else if((0,d.Z)(e,"mediaTypes.video")){if("outstream"===(0,d.Z)(e,"mediaTypes.video.context")&&!e.params.sizes)return!1;if("instream"===(0,d.Z)(e,"mediaTypes.video.context")&&!(0,d.Z)(e,"mediaTypes.video.playerSize"))return!1}return!0},buildRequests:function(e,i){var r=e.map((function(e){var i;(0,d.Z)(e,"mediaTypes.video")?i="video":(0,d.Z)(e,"mediaTypes.banner")&&(i="display");var r=function(e){if(e.params.ad_unit)return e.params.ad_unit;return e.params.placement_id}(e);return/^[\/]?[\d]+[[\/].+[\/]?]?$/.test(r)?(r="/"===r.charAt(0)?r:"/"+r,(0,s.Z)({},"".concat(r,"|").concat(e.bidId),"".concat(y(e),"|").concat(h(e)).concat(g(e)).concat(_(i)))):/^[0-9a-fA-F]{20}$/.test(r)&&20===r.length?(0,s.Z)({},e.bidId,"".concat(r,"|").concat(y(e),"|").concat(h(e)).concat(g(e)).concat(_(i))):void(0,o.H)("The ad unit code or Sonobi Placement id for slot ".concat(e.bidId," is invalid"))})),n={};r.forEach((function(e){Object.assign(n,e)}));var t={key_maker:JSON.stringify(n),ref:i.refererInfo.page,s:(0,o.DO)(),pv:f,vp:T(),lib_name:"prebid",lib_v:"7.36.0",us:0},a=i.ortb2;if(a&&(t.fpd=JSON.stringify(a)),u.vc.getConfig("userSync")&&u.vc.getConfig("userSync").syncsPerBidder&&(t.us=u.vc.getConfig("userSync").syncsPerBidder),l.k_.canBidderRegisterSync("iframe",v)?t.ius=1:t.ius=0,(0,d.Z)(e[0],"params.hfa")&&(t.hfa=(0,d.Z)(e[0],"params.hfa")),e[0].params.referrer&&(t.ref=e[0].params.referrer),i&&i.gdprConsent&&(t.gdpr=i.gdprConsent.gdprApplies?"true":"false",i.gdprConsent.consentString&&(t.consent_string=i.gdprConsent.consentString)),e[0].schain&&(t.schain=JSON.stringify(e[0].schain)),(0,d.Z)(e[0],"userId")&&Object.keys(e[0].userId).length>0){var c=(0,o.I8)(e[0].userId);c.id5id&&(c.id5id=(0,d.Z)(c,"id5id.uid")),t.userid=JSON.stringify(c)}var p=(0,d.Z)(e[0],"userIdAsEids");Array.isArray(p)&&p.length>0&&(t.eids=JSON.stringify(p));var m=e[0].params.keywords;if(m&&(t.kw=m),i&&i.uspConsent&&(t.us_privacy=i.uspConsent),!0===u.vc.getConfig("coppa")?t.coppa=1:t.coppa=0,(0,o.xb)(n))return null;var b="https://apex.go.sonobi.com/trinity.json";return(0,d.Z)(e[0],"params.bid_request_url")&&(b=(0,d.Z)(e[0],"params.bid_request_url")),{method:"GET",url:b,withCredentials:!0,data:t,bidderRequests:e}},interpretResponse:function(e,i){var r=e.body,n=[],s=i.data.ref;return 0===Object.keys(r.slots).length||Object.keys(r.slots).forEach((function(e){var a=r.slots[e],c=e.split("|").slice(-1)[0],u=function(e,i){for(var r=0;r<e.length;r++)if(e[r].bidId===i)return e[r]}(i.bidderRequests,c),l=null;"video"===a.sbi_ct&&(l="video","outstream"===(0,d.Z)(u,"mediaTypes.video.context")&&(l="outstream"));var v=Z(l,s);if(a.sbi_aid&&a.sbi_mouse&&a.sbi_size){var f=a.sbi_size.split("x"),b=(0,t.Z)(f,2),y=b[0],h=void 0===y?1:y,g=b[1],_=void 0===g?1:g,S=[];a.sbi_adomain&&(S=[a.sbi_adomain]);var T={requestId:c,cpm:Number(a.sbi_mouse),width:Number(h),height:Number(_),ad:v(r.sbi_dc,a.sbi_aid),ttl:500,creativeId:a.sbi_crid||a.sbi_aid,aid:a.sbi_aid,netRevenue:!0,currency:"USD",meta:{advertiserDomains:S}};if(a.sbi_dozer&&(T.dealId=a.sbi_dozer),"video"===l)T.mediaType="video",T.vastUrl=v(r.sbi_dc,a.sbi_aid),delete T.ad,delete T.width,delete T.height;else if("outstream"===l&&u){delete T.ad,T.mediaType="video",T.vastUrl=v(r.sbi_dc,a.sbi_aid),T.renderer=function(e,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=p.Th.install({id:i.aid,url:m,config:r,loaded:!1,adUnitCode:e});try{n.setRender(z)}catch(e){(0,o.yN)("Prebid Error calling setRender on renderer",e)}return n.setEventHandlers({impression:function(){return(0,o.ji)("Sonobi outstream video impression event")},loaded:function(){return(0,o.ji)("Sonobi outstream video loaded event")},ended:function(){(0,o.ji)("Sonobi outstream renderer video event")}}),n}(u.adUnitCode,T,(0,d.Z)(u,"renderer.options"));var C=(0,d.Z)(u,"params.sizes");Array.isArray(C)&&Array.isArray(C[0])&&(C=C[0]),C&&(T.width=C[0],T.height=C[1])}n.push(T)}})),n},getUserSyncs:function(e,i,r,n){var t=[];try{e.pixelEnabled&&i[0].body.sbi_px.forEach((function(e){t.push({type:e.type,url:e.url})}))}catch(e){}return t}};function y(e){var i=[];return(0,d.Z)(e,"mediaTypes.video.playerSize")&&i.push((0,d.Z)(e,"mediaTypes.video.playerSize")),(0,d.Z)(e,"mediaTypes.video.sizes")&&i.push((0,d.Z)(e,"mediaTypes.video.sizes")),(0,d.Z)(e,"params.sizes")&&i.push((0,d.Z)(e,"params.sizes")),(0,d.Z)(e,"mediaTypes.banner.sizes")&&i.push((0,d.Z)(e,"mediaTypes.banner.sizes")),(0,d.Z)(e,"sizes")&&i.push((0,d.Z)(e,"sizes")),(0,n.Z)(new Set(o.sF.apply(void 0,i))).join(",")}function h(e){var i=function(e){if(!(0,o.LQ)(e.getFloor))return e.params.floor?e.params.floor:null;var i=e.getFloor({currency:"USD",mediaType:"*",size:"*"});if((0,o.PO)(i)&&!isNaN(i.floor)&&"USD"===i.currency)return i.floor;return""}(e);return i?"f=".concat(i,","):""}function g(e){var i=(0,d.Z)(e,"ortb2Imp.ext.data.pbadslot")||(0,d.Z)((0,o.ky)(e.adUnitCode),"gptSlot")||e.params.ad_unit;return i?"gpid=".concat(i,","):""}function _(e){var i="";return"video"===e?i="c=v,":"display"===e&&(i="c=d,"),i}var Z=function(e,i){return function(r,n){return"video"===e||"outstream"===e?function(e,i,r){return"https://".concat(e,"apex.go.sonobi.com/vast.xml?vid=").concat(i,"&ref=").concat(encodeURIComponent(r))}(r,n,i):'<script type="text/javascript" src="'+"https://".concat(r,"apex.go.sonobi.com/sbi.js?aid=").concat(n,"&as=null&ref=").concat(encodeURIComponent(i))+'"><\/script>'}};var S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_SAFE_INTEGER;return e.innerWidth>=i&&e.innerWidth<r}};function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,i=S(e),r=992,n=768;return i(0,768)?"mobile":i(n,r)?"tablet":"desktop"}function z(e){e.renderer.push((function(){var i=e.getSize().split("x"),r=(0,t.Z)(i,2),n=r[0],s=r[1],a=new window.SbiOutstreamRenderer;a.init({vastUrl:e.vastUrl,height:s,width:n}),a.setRootElement(e.adUnitCode)}))}(0,a.dX)(b),window.pbjs.installedModules.push("sonobiBidAdapter")}},function(e){e.O(0,[6866],(function(){return i=1415,e(e.s=i);var i}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7771],{272:function(e,r,t){var n=t(4942),i=t(4358),o=t(265),a=t(6475),u=t(5339),c=t(4679),s=t(4192);function d(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?d(Object(t),!0).forEach((function(r){(0,n.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var f={mimes:function(e){return Array.isArray(e)&&e.length>0&&e.every((function(e){return"string"==typeof e}))},minduration:function(e){return(0,i.U)(e)},maxduration:function(e){return(0,i.U)(e)},protocols:function(e){return Array.isArray(e)&&e.every((function(e){return e>=1&&e<=10}))},w:function(e){return(0,i.U)(e)},h:function(e){return(0,i.U)(e)},startdelay:function(e){return(0,i.U)(e)},placement:function(e){return(0,i.U)(e)&&e>=1&&e<=5},linearity:function(e){return-1!==[1,2].indexOf(e)},skip:function(e){return-1!==[0,1].indexOf(e)},skipmin:function(e){return(0,i.U)(e)},skipafter:function(e){return(0,i.U)(e)},sequence:function(e){return(0,i.U)(e)},battr:function(e){return Array.isArray(e)&&e.every((function(e){return e>=1&&e<=17}))},maxextended:function(e){return(0,i.U)(e)},minbitrate:function(e){return(0,i.U)(e)},maxbitrate:function(e){return(0,i.U)(e)},boxingallowed:function(e){return-1!==[0,1].indexOf(e)},playbackmethod:function(e){return Array.isArray(e)&&e.every((function(e){return e>=1&&e<=6}))},playbackend:function(e){return-1!==[1,2,3].indexOf(e)},delivery:function(e){return Array.isArray(e)&&e.every((function(e){return e>=1&&e<=3}))},pos:function(e){return(0,i.U)(e)&&e>=1&&e<=7},api:function(e){return Array.isArray(e)&&e.every((function(e){return e>=1&&e<=6}))}},y={context:function(e){return e!==c.Oh},mimes:f.mimes,minduration:f.minduration,maxduration:f.maxduration,protocols:f.protocols},l={code:"sovrn",supportedMediaTypes:[c.Mk,c.pX],gvlid:13,isBidRequestValid:function(e){var r,t=null==e||null===(r=e.mediaTypes)||void 0===r?void 0:r.video;return!(!e.params.tagid||isNaN(parseFloat(e.params.tagid))||!isFinite(e.params.tagid)||t&&!Object.keys(y).every((function(e){return y[e](t[e])})))},buildRequests:function(e,r){try{var t,n,u,c,d=[];(0,i.yi)(e,(function(e){!u&&e.userId&&(u=(0,s.HQ)(e.userId)).forEach((function(e){e.uids&&e.uids[0]&&"criteo.com"===e.source&&(c=e.uids[0].id)})),e.schain&&(n=n||e.schain),t=t||(0,i.An)("iv",e.params);var r=e.getFloor&&"function"==typeof e.getFloor?e.getFloor({currency:"USD",mediaType:e.mediaTypes&&e.mediaTypes.banner?"banner":"video",size:"*"}):{};r.floor=r.floor||(0,i.An)("bidfloor",e.params);var a={adunitcode:e.adUnitCode,id:e.bidId,tagid:String((0,i.An)("tagid",e.params)),bidfloor:r.floor};if((0,o.Z)(e,"mediaTypes.banner")){var y=(0,o.Z)(e,"mediaTypes.banner.sizes")||e.sizes,l=(y=(y=(0,i.kJ)(y)&&(0,i.kJ)(y[0])?y:[y]).filter((function(e){return(0,i.kJ)(e)}))).map((function(e){return{w:parseInt(e[0],10),h:parseInt(e[1],10)}}));a.banner={format:l,w:1,h:1}}(0,o.Z)(e,"mediaTypes.video")&&(a.video=function(e){var r={},t=(0,o.Z)(e,"sizes"),n=(0,o.Z)(e,"mediaTypes.video",{}),a=(0,o.Z)(e,"params.video",{}),u={};if(t){var c=Array.isArray(t[0])?t[0]:t;u.w=c[0],u.h=c[1]}else if(Array.isArray(n.playerSize)){var s=Array.isArray(n.playerSize[0])?n.playerSize[0]:n.playerSize;u.w=s[0],u.h=s[1]}var d=p(p(p({},u),n),a);return Object.keys(f).forEach((function(e){d.hasOwnProperty(e)&&(f[e](d[e])?r[e]=d[e]:(0,i.yN)("The OpenRTB video param ".concat(e," has been skipped due to misformating. Please refer to OpenRTB 2.5 spec.")))})),r}(e)),a.ext=(0,i.An)("ext",e.ortb2Imp)||void 0;var m=(0,i.An)("segments",e.params);m&&(a.ext=a.ext||{},a.ext.deals=m.split(",").map((function(e){return e.trim()}))),d.push(a)}));var y=r.ortb2||{},l=y.site||{};l.page=r.refererInfo.page,l.domain=r.refererInfo.domain;var m={id:(0,i._d)(),imp:d,site:l,user:y.user||{}};n&&(m.source={ext:{schain:n}}),r.gdprConsent&&((0,a.N)(m,"regs.ext.gdpr",+r.gdprConsent.gdprApplies),(0,a.N)(m,"user.ext.consent",r.gdprConsent.consentString)),r.uspConsent&&(0,a.N)(m,"regs.ext.us_privacy",r.uspConsent),u&&((0,a.N)(m,"user.ext.eids",u),c&&(0,a.N)(m,"user.ext.prebid_criteoid",c));var g="https://ap.lijit.com/rtb/bid?src=prebid_prebid_7.36.0";return t&&(g+="&iv=".concat(t)),{method:"POST",url:g,data:JSON.stringify(m),options:{contentType:"text/plain"}}}catch(e){(0,i.H)("Could not build bidrequest, error deatils:",e)}},interpretResponse:function(e){var r=e.body,t=r.id,n=r.seatbid;if(!t||!n||!Array.isArray(n))return[];try{return n.filter((function(e){return e})).map((function(e){return e.bid.map((function(e){var r,t={requestId:e.impid,cpm:parseFloat(e.price),width:parseInt(e.w),height:parseInt(e.h),creativeId:e.crid||e.id,dealId:e.dealid||null,currency:"USD",netRevenue:!0,mediaType:e.nurl?c.Mk:c.pX,ttl:(null===(r=e.ext)||void 0===r?void 0:r.ttl)||90,meta:{advertiserDomains:e&&e.adomain?e.adomain:[]}};return e.nurl?t.ad=decodeURIComponent("".concat(e.adm,'<img src="').concat(e.nurl,'">')):t.vastXml=decodeURIComponent(e.adm),t}))})).flat()}catch(e){return(0,i.H)("Could not interpret bidresponse, error details:",e),e}},getUserSyncs:function(e,r,t,n){try{var i=[];if(r&&0!==r.length){if(e.iframeEnabled){var a=r.filter((function(e){return(0,o.Z)(e,"body.ext.iid")})).map((function(e){return e.body.ext.iid})),u=[];t&&t.gdprApplies&&"string"==typeof t.consentString&&u.push(["gdpr_consent",t.consentString]),n&&u.push(["us_privacy",n]),a[0]&&(u.push(["informer",a[0]]),i.push({type:"iframe",url:"https://ap.lijit.com/beacon?"+u.map((function(e){return e.join("=")})).join("&")}))}e.pixelEnabled&&r.filter((function(e){return(0,o.Z)(e,"body.ext.sync.pixels")})).reduce((function(e,r){return e.concat(r.body.ext.sync.pixels)}),[]).map((function(e){return e.url})).forEach((function(e){return i.push({type:"image",url:e})}))}return i}catch(e){return[]}}};(0,u.dX)(l),window.pbjs.installedModules.push("sovrnBidAdapter")},4192:function(e,r,t){t.d(r,{HQ:function(){return u},Pv:function(){return c},UR:function(){return o}});var n=t(4358),i=t(265),o={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var r=(0,n.ei)(e,["h1","h2","h3"]);if(Object.keys(r).length)return r}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var r="";return e&&e.ext&&e.ext.DeviceID&&(r=e.ext.DeviceID),r},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var r=(0,n.ei)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(r).length)return r}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(e){var r;return null!=e&&null!==(r=e.ext)&&void 0!==r&&r.ssp?"".concat(e.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},cpexId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:"paf",atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var r=e.identifiers[0];return{version:r.version,type:r.type,source:r.source}}}}};function a(e,r){var t=o[r];if(t&&e){var i={};i.source=(0,n.LQ)(t.getSource)?t.getSource(e):t.source;var a=(0,n.LQ)(t.getValue)?t.getValue(e):e;if((0,n.d8)(a)){var u={id:a,atype:t.atype};if((0,n.LQ)(t.getUidExt)){var c=t.getUidExt(e);c&&(u.ext=c)}if(i.uids=[u],(0,n.LQ)(t.getEidExt)){var s=t.getEidExt(e);s&&(i.ext=s)}return i}}return null}function u(e){var r=[],t=function(t){if(e.hasOwnProperty(t))if("pubProvidedId"===t)r=r.concat(e.pubProvidedId);else if(Array.isArray(e[t]))e[t].forEach((function(e,n,i){var o=a(e,t);o&&r.push(o)}));else{var n=a(e[t],t);n&&r.push(n)}};for(var n in e)t(n);return r}function c(e){var r=[];return e.filter((function(e){return(0,n.PO)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(t){(0,i.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,i.Z)(o,t+".source")&&r.push({source:o[t].source,bidders:e.config.bidders})}))})),r}}},function(e){e.O(0,[6866],(function(){return r=272,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7037],{2754:function(e,a,r){var i=r(3324),n=r(1002),t=r(4358),o=r(265),s=r(6475),d=r(5339),c=r(4679),p=r(4614),u=r(3193),m=["minduration","maxduration","startdelay","placement","linearity","mimes","protocols","api"],l=["1x1","1x2"],f={code:"synacormedia",supportedMediaTypes:[c.Mk,c.pX],sizeMap:{},isVideoBid:function(e){return void 0!==e.mediaTypes&&e.mediaTypes.hasOwnProperty("video")},isBidRequestValid:function(e){var a=e&&e.params&&(e.params.hasOwnProperty("placementId")||e.params.hasOwnProperty("tagId"))&&e.params.hasOwnProperty("seatId"),r=e&&(0,t.pw)(e).filter((function(e){return-1===l.indexOf(e.join("x"))})).length>0;return!(!a||!r)},buildRequests:function(e,a){var r=this;if(e&&e.length&&a){var i=a.refererInfo,n={id:a.auctionId,site:{domain:i.domain||location.hostname,page:i.page,ref:i.ref},device:{ua:navigator.userAgent},imp:[]},d=a.timeout,c=u.vc.getConfig("bidderTimeout"),p=c?Math.min(c,d):d;p&&(n.tmax=p);var m=e[0].schain;m&&(n.source={ext:{schain:m}});var f=null;if(e.forEach((function(e,a){if(f&&f!==e.params.seatId)(0,t.yN)("Synacormedia: there is an inconsistent seatId: ".concat(e.params.seatId," but only sending bid requests for ").concat(f,", you should double check your configuration"));else{f=e.params.seatId;var i=e.params.tagId||e.params.placementId,d=parseInt(e.params.pos||(0,o.Z)(e.mediaTypes,"video.pos"),10);isNaN(d)&&((0,t.yN)("Synacormedia: there is an invalid POS: ".concat(e.params.pos)),d=0);var c=r.isVideoBid(e)?"video":"banner",p=(0,t.pw)(e).filter((function(e){return-1===l.indexOf(e.join("x"))})),u=[];"banner"===c?u=r.buildBannerImpressions(p,e,i,d,c):"video"===c&&(u=r.buildVideoImpressions(p,e,i,d,c)),u.length>0&&u.forEach((function(a){var r=(0,o.Z)(e,"ortb2Imp.ext");r&&(0,s.N)(a,"ext",r),n.imp.push(a)}))}})),a.uspConsent&&(0,s.N)(n,"regs.ext.us_privacy",a.uspConsent),e[0]&&e[0].userIdAsEids&&Array.isArray(e[0].userIdAsEids)){var h=e[0].userIdAsEids;h.length&&(0,s.N)(n,"user.ext.eids",h)}return n.imp.length&&f?{method:"POST",url:"".concat("https://").concat(f,".").concat("technoratimedia.com","/openrtb/bids/").concat(f,"?src=prebid_prebid_7.36.0"),data:n,options:{contentType:"application/json",withCredentials:!0}}:void 0}},buildBannerImpressions:function(e,a,r,i,n){var o=[],s=[];if(e.forEach((function(e,a){e&&2===e.length&&o.push({w:e[0],h:e[1]})})),o.length>0){var d={id:"".concat(n.substring(0,1)).concat(a.bidId),banner:{format:o,pos:i},tagid:r},c=h(a,"banner","*");isNaN(c)&&(0,t.yN)("Synacormedia: there is an invalid bid floor: ".concat(a.params.bidfloor)),null===c||isNaN(c)||(d.bidfloor=c),s.push(d)}return s},buildVideoImpressions:function(e,a,r,i,n){var o=this,s=[];return e.forEach((function(e,d){if(e&&2==e.length){var c=e[0],p=e[1],u={id:"".concat(n.substring(0,1)).concat(a.bidId,"-").concat(c,"x").concat(p),tagid:r},m=h(a,"video",e);isNaN(m)&&(0,t.yN)("Synacormedia: there is an invalid bid floor: ".concat(a.params.bidfloor)),null===m||isNaN(m)||(u.bidfloor=m);var l={w:c,h:p,pos:i};a.mediaTypes.video&&(a.params.video||(a.params.video={}),o.setValidVideoParams(a.mediaTypes.video,a.params.video)),a.params.video&&o.setValidVideoParams(a.params.video,l),u[n]=l,s.push(u)}})),s},setValidVideoParams:function(e,a){Object.keys(e).filter((function(a){return(0,p.q9)(m,a)&&null!==e[a]&&(!isNaN(parseInt(e[a],10))||!(e[a].length<1))})).forEach((function(r){return a[r]=Array.isArray(e[r])?e[r]:parseInt(e[r],10)}))},interpretResponse:function(e,a){var r=function(e,a){return a?a.replace(/\${AUCTION_PRICE}/g,e.price):a};if(e.body&&"object"==(0,n.Z)(e.body)){var o=e.body,s=o.id,d=o.seatbid,p=[];return s&&d&&d.forEach((function(e){e.bid.forEach((function(n){var t=r(n,n.adm),o=r(n,n.nurl),s=n.impid.match(/^([vb])([\w\d]+)/),d=(0,i.Z)(s,3),m=d[1],l=d[2],f=n.h,h=n.w,v="v"===m,b="b"===m;(!f||!h)&&a.data&&a.data.imp&&a.data.imp.length>0&&a.data.imp.forEach((function(e){if(n.impid===e.id)if(v)f=e.video.h,h=e.video.w;else if(b){var a=1,r=1;e.banner.format&&e.banner.format.length>0&&(a=e.banner.format[0].h,r=e.banner.format[0].w),f=a,h=r}else f=1,h=1}));var y=420;if(n.ext&&n.ext["imds.tv"]&&n.ext["imds.tv"].ttl){var g=parseInt(n.ext["imds.tv"].ttl,10);y=!isNaN(g)&&g>0?g:420}var I=y;if(n.exp){var N=parseInt(n.exp,10);I=!isNaN(N)&&N>0?Math.min(N,y):y}var x={requestId:l,cpm:parseFloat(n.price),width:parseInt(h,10),height:parseInt(f,10),creativeId:"".concat(e.seat,"_").concat(n.crid),currency:"USD",netRevenue:!0,mediaType:v?c.pX:c.Mk,ad:t,ttl:I};if(null==n.adomain&&null==n.adomain||(x.meta={advertiserDomains:n.adomain}),v){var w=o.match(/ID=([^&]*)&?/),O=(0,i.Z)(w,2)[1];u.vc.getConfig("cache.url")||(x.videoCacheKey=encodeURIComponent(O)),x.vastUrl=o}p.push(x)}))})),p}(0,t.yN)("Synacormedia: server returned empty/non-json response: "+JSON.stringify(e.body))},getUserSyncs:function(e,a){var r=[];return e.iframeEnabled?r.push({type:"iframe",url:"".concat("https://ad-cdn.technoratimedia.com","/html/usersync.html?src=prebid_prebid_7.36.0")}):(0,t.yN)("Synacormedia: Please enable iframe based user sync."),r}};function h(e,a,r){if(!(0,t.LQ)(e.getFloor))return e.params.bidfloor?parseFloat(e.params.bidfloor):null;var i=e.getFloor({currency:"USD",mediaType:a,size:r});return(0,t.PO)(i)&&!isNaN(i.floor)&&"USD"===i.currency?i.floor:null}(0,d.dX)(f),window.pbjs.installedModules.push("synacormediaBidAdapter")}},function(e){e.O(0,[6866],(function(){return a=2754,e(e.s=a);var a}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[8029],{6401:function(e,t,r){var n=r(4942),i=r(4358),a=r(265),o=r(5339),d=r(5164);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c="teads",u={GDPR_APPLIES_PUBLISHER:12,GDPR_APPLIES_GLOBAL:11,GDPR_DOESNT_APPLY:0,CMP_NOT_FOUND_OR_ERROR:22},f="_tfpvi",I=(0,d.df)({gvlid:132,bidderCode:c}),g={code:c,gvlid:132,supportedMediaTypes:["video","banner"],isBidRequestValid:function(e){var t=!1;if(void 0!==e.params){var r=y((0,i.NA)(e.params,"placementId")),n=y((0,i.NA)(e.params,"pageId"));t=r&&n}return t||(0,i.H)("Teads placementId and pageId parameters are required. Bid aborted."),t},buildRequests:function(e,t){var r,n=e.map(m),i=p(p({referrer:v(t),pageReferrer:document.referrer,networkBandwidth:(r=window.navigator,r&&r.connection&&r.connection.downlink>=0?r.connection.downlink.toString():""),timeToFirstByte:l(window),data:n,deviceWidth:screen.width,hb_version:"7.36.0"},function(e){var t={unifiedId2:"uid2.id",liveRampId:"idl_env",lotamePanoramaId:"lotamePanoramaId",id5Id:"id5id.uid",criteoId:"criteoId",yahooConnectId:"connectId",quantcastId:"quantcastId",epsilonPublisherLinkId:"publinkId",publisherFirstPartyViewerId:"pubcid",merkleId:"merkleId.id",kinessoId:"kpuid"},r={};for(var n in t){var i=t[n],o=(0,a.Z)(e,"0.userId.".concat(i));o&&(r[n]=o)}return r}(e)),function(e){var t=(0,a.Z)(e,"0.userId.teadsId");if(t)return{firstPartyCookieTeadsId:t};if(I.cookiesAreEnabled(null)){var r=I.getCookie(f,null);if(r)return{firstPartyCookieTeadsId:r}}return{}}(e)),o=e[0];o.schain&&(i.schain=o.schain);var d=t.gdprConsent;if(t&&d){var s="boolean"==typeof d.gdprApplies,c="string"==typeof d.consentString,g=s?function(e,t){var r=u.GDPR_APPLIES_PUBLISHER;e?t&&!t.isServiceSpecific&&(r=u.GDPR_APPLIES_GLOBAL):r=u.GDPR_DOESNT_APPLY;return r}(d.gdprApplies,d.vendorData):u.CMP_NOT_FOUND_OR_ERROR;i.gdpr_iab={consent:c?d.consentString:"",status:g,apiVersion:d.apiVersion}}t&&t.uspConsent&&(i.us_privacy=t.uspConsent);var y=(0,a.Z)(o,"ortb2.device.sua");return y&&(i.userAgentClientHints=y),{method:"POST",url:"https://a.teads.tv/hb/bid-request",data:JSON.stringify(i)}},interpretResponse:function(e,t){var r=[];return(e=e.body).responses&&e.responses.forEach((function(e){var t={cpm:e.cpm,width:e.width,height:e.height,currency:e.currency,netRevenue:!0,ttl:e.ttl,meta:{advertiserDomains:e&&e.adomain?e.adomain:[]},ad:e.ad,requestId:e.bidId,creativeId:e.creativeId,placementId:e.placementId};e.dealId&&(t.dealId=e.dealId),r.push(t)})),r}};function v(e){var t="";return e&&e.refererInfo&&e.refererInfo.page&&(t=e.refererInfo.page),t}function l(e){var t=e.performance||e.webkitPerformance||e.msPerformance||e.mozPerformance,r=t&&"function"==typeof t.getEntriesByType&&"[object Function]"===Object.prototype.toString.call(t.getEntriesByType)&&t.getEntriesByType("navigation")[0]&&t.getEntriesByType("navigation")[0].responseStart&&t.getEntriesByType("navigation")[0].requestStart&&t.getEntriesByType("navigation")[0].responseStart>0&&t.getEntriesByType("navigation")[0].requestStart>0&&Math.round(t.getEntriesByType("navigation")[0].responseStart-t.getEntriesByType("navigation")[0].requestStart);if(r)return r.toString();var n=t&&t.timing.responseStart&&t.timing.requestStart&&t.timing.responseStart>0&&t.timing.requestStart>0&&t.timing.responseStart-t.timing.requestStart;return n?n.toString():""}function m(e){var t={},r=(0,i.NA)(e.params,"placementId"),n=(0,i.NA)(e.params,"pageId"),o=(0,a.Z)(e,"ortb2Imp.ext.gpid");return t.sizes=function(e){return(0,i.sF)(function(e){var t=(0,a.Z)(e,"mediaTypes.video.playerSize"),r=(0,a.Z)(e,"mediaTypes.video.sizes"),n=(0,a.Z)(e,"mediaTypes.banner.sizes");return(0,i.kJ)(n)||(0,i.kJ)(t)||(0,i.kJ)(r)?[n,r,t].reduce((function(e,t){return(0,i.kJ)(t)&&((0,i.kJ)(t[0])?t.forEach((function(t){e.push(t)})):e.push(t)),e}),[]):e.sizes}(e))}(e),t.bidId=(0,i.An)("bidId",e),t.bidderRequestId=(0,i.An)("bidderRequestId",e),t.placementId=parseInt(r,10),t.pageId=parseInt(n,10),t.adUnitCode=(0,i.An)("adUnitCode",e),t.auctionId=(0,i.An)("auctionId",e),t.transactionId=(0,i.An)("transactionId",e),o&&(t.gpid=o),t}function y(e){return parseInt(e)>0}(0,o.dX)(g),window.pbjs.installedModules.push("teadsBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=6401,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[7152],{8516:function(n,t,e){var i=e(4358),r=e(5339),a=e(5164),o="https://in-appadvertising.com/api/userSync.html",d="trion",s="_trion_",c=(0,a.df)({bidderCode:d}),p={code:d,isBidRequestValid:function(n){return!!(n&&n.params&&n.params.pubId&&n.params.sectionId)},buildRequests:function(n,t){for(var e=[],i=0;i<n.length;i++){var r=n[i],a=f(r,t);e.push({method:"GET",url:"https://in-appadvertising.com/api/bidRequest",bidRequest:r,data:a})}return e},interpretResponse:function(n,t){var e={},i=[],r=t.bidRequest,a=n?n.body:{};if(a&&a.bidId&&r){var o=a.result;if(o&&o.cpm&&o.placeBid&&o.ad){var d=parseInt(o.cpm,10)/100;e.requestId=r.bidId,e.cpm=d,e.ad=o.ad,e.width=o.width,e.height=o.height,e.ttl=o.ttl,e.creativeId=o.creativeId,e.currency=o.currency,e.netRevenue=o.netRevenue,o.adomain&&(e.meta={advertiserDomains:o.adomain}),i.push(e)}}return i},getUserSyncs:function(n,t,e,i){if(n.iframeEnabled)return function(){try{window.addEventListener&&window.addEventListener("message",v)}catch(n){}}(),[{type:"iframe",url:u(e,i)}]}};function u(n,t){var e=(m(s+"lps")||":").split(":")||[],i=e[0]||-1,r=e[1]||-1,a=l(),d="";return n&&(n.consentString&&(d+="&gc="+encodeURIComponent(n.consentString)),d+="&g="+(n.gdprApplies?1:0)),t&&(d="&up="+encodeURIComponent(t)),o+"?p=".concat(i,"&s=").concat(r).concat(d,"&u=").concat(a)}function l(){var n="";try{if(window.top==window)n=window.location.href;else try{n=window.top.location.href}catch(t){n=document.referrer}}catch(n){}return n}function f(n,t){var e=(0,i.An)("pubId",n.params),r=(0,i.An)("sectionId",n.params),a=l(),o=function(n){return n.mediaTypes&&n.mediaTypes.banner&&n.mediaTypes.banner.sizes?n.mediaTypes.banner.sizes:n.sizes}(n),d=(0,i.sF)(o).join(","),c=navigator&&navigator.webdriver?"1":"0",p=document.hidden?"1":"0",u=encodeURIComponent(document.visibilityState),f=window.TR_INT_T&&-1!=window.TR_INT_T?window.TR_INT_T:null;f||(f=m(s+"int_t")),f&&h(s+"int_t",f),h(s+"lps",e+":"+r);var v="";if(v=(0,i.t0)(v,"bidId",n.bidId),v=(0,i.t0)(v,"pubId",e),v=(0,i.t0)(v,"sectionId",r),v=(0,i.t0)(v,"vers","7.36.0"),a&&(v+="url="+a+"&"),d&&(v+="sizes="+d+"&"),f&&(v=(0,i.t0)(v,"int_t",encodeURIComponent(f))),v=(0,i.t0)(v,"tr_wd",c),v=(0,i.t0)(v,"tr_hd",p),v=(0,i.t0)(v,"tr_vs",u),t&&t.gdprConsent){var g=t.gdprConsent;g&&(g.consentString&&(v=(0,i.t0)(v,"gdprc",encodeURIComponent(g.consentString))),v=(0,i.t0)(v,"gdpr",g.gdprApplies?1:0))}return t&&t.uspConsent&&(v=(0,i.t0)(v,"usp",encodeURIComponent(t.uspConsent))),v.lastIndexOf("&")===v.length-1&&(v=v.substring(0,v.length-1)),v}function m(n){var t=null;try{c.hasLocalStorage()&&(t=c.getDataFromLocalStorage(n))}catch(n){}return t}function h(n,t){try{c.hasLocalStorage()&&c.setDataInLocalStorage(n,t)}catch(n){}}function v(n){var t=n.data||"";if(t.indexOf&&t.split&&0===t.indexOf(s+"userId")){var e=t.split(s+"userId=")[1];e&&h(s+"int_t",e)}}(0,r.dX)(p),window.pbjs.installedModules.push("trionBidAdapter")}},function(n){n.O(0,[6866],(function(){return t=8516,n(n.s=t);var t}));n.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[2599],{789:function(e,t,r){var n=r(1002),i=r(4942),o=r(9062),a=r(4358),u=r(4679),c=r(5339),d=r(3193),s=r(5164);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f="triplelift",m=300,v=3600,b=!0,g=null,y=(0,s.df)({gvlid:28,bidderCode:f}),h={gvlid:28,code:f,supportedMediaTypes:[u.Mk,u.pX],isBidRequestValid:function(e){return void 0!==e.params.inventoryCode},buildRequests:function(e,t){var r="https://tlx.3lift.com/header/auction?",n=function(e,t){var r,n,i={},u=e[0].schain,c=function(e){var t={},r={},n={},i=e.ortb2||{},o=function(){var e=y.getDataFromLocalStorage("opecloud_ctx");if(!e)return null;try{return JSON.parse(e)}catch(e){return(0,a.H)("Triplelift: error parsing JSON: ",e),null}}(),u=Object.assign({},i.site),c=Object.assign({},i.user);if(o){c.data=c.data||[];try{c.data.push({name:"www.1plusx.com",ext:o})}catch(e){(0,a.H)("Triplelift: error adding 1plusX segments: ",e)}}T(r,u),T(n,c),(0,a.xb)(r)||(t.context=r);(0,a.xb)(n)||(t.user=n);return t}(t);i.imp=e.map((function(e,t){var r={id:t,tagid:e.params.inventoryCode,floor:w(e)};return x(e)&&(r.video=function(e){var t=l(l({},e.params.video),e.mediaTypes.video);try{t.w||(t.w=t.playerSize[0][0]),t.h||(t.h=t.playerSize[0][1])}catch(e){(0,a.yN)("Video size not defined",e)}"instream"===t.context&&(t.placement=1);"outstream"===t.context&&(t.placement?-1===[3,4,5].indexOf(t.placement)&&((0,a.ji)("video.placement value of ".concat(t.placement," is invalid for outstream context. Setting placement to 3")),t.placement=3):t.placement=3);return delete t.playerSize,t}(e)),e.mediaTypes.banner&&!O(e)&&(r.banner={format:S(e.sizes)}),(0,a.xb)(e.ortb2Imp)||(r.fpd=function(e){var t={},r={};T(r,e.ext),(0,a.xb)(r)||(t.context=r);return t}(e.ortb2Imp)),r}));var d=[].concat((0,o.Z)((s=[e[0]],_(s,"tdid","adserver.org","TDID"))),(0,o.Z)(function(e){return _(e,"idl_env","liveramp.com","idl")}([e[0]])),(0,o.Z)(function(e){return _(e,"criteoId","criteo.com","criteoId")}([e[0]])),(0,o.Z)(function(e){return _(e,"pubcid","pubcid.org","pubcid")}([e[0]])),(0,o.Z)(function(e){var t=["adserver.org","liveramp.com","criteo.com","pubcid.org"],r=[];e.userIdAsEids&&e.userIdAsEids.forEach((function(e){try{if(-1===t.indexOf(e.source)){var n=e.uids.map((function(t){return{id:t.id,ext:{rtiPartner:e.source}}}));r.push({source:e.source,uids:n})}}catch(t){(0,a.yN)("Triplelift: Error attempting to add ".concat(e," to bid request"),t)}}));return r}(e[0])));var s;d.length>0&&(i.user={ext:{eids:d}});var p=function(e,t){var r={};(0,a.xb)(e)||(r.schain=l({},e));(0,a.xb)(t)||(r.fpd=l({},t));return r}(u,c);(0,a.xb)(p)||(i.ext=p);null!=t&&null!==(r=t.ortb2)&&void 0!==r&&null!==(n=r.regs)&&void 0!==n&&n.gpp&&(i.regs=Object.assign({},t.ortb2.regs));return i}(e,t);if(r=(0,a.t0)(r,"lib","prebid"),r=(0,a.t0)(r,"v","7.36.0"),t&&t.refererInfo){var i=t.refererInfo.page;r=(0,a.t0)(r,"referrer",i)}return t&&t.timeout&&(r=(0,a.t0)(r,"tmax",t.timeout)),t&&t.gdprConsent&&(void 0!==t.gdprConsent.gdprApplies&&(b=t.gdprConsent.gdprApplies,r=(0,a.t0)(r,"gdpr",b.toString())),void 0!==t.gdprConsent.consentString&&(g=t.gdprConsent.consentString,r=(0,a.t0)(r,"cmp_cs",g))),t&&t.uspConsent&&(r=(0,a.t0)(r,"us_privacy",t.uspConsent)),!0===d.vc.getConfig("coppa")&&(r=(0,a.t0)(r,"coppa",!0)),r.lastIndexOf("&")===r.length-1&&(r=r.substring(0,r.length-1)),(0,a.ji)("tlCall request built: "+r),{method:"POST",url:r,data:n,bidderRequest:t}},interpretResponse:function(e,t){var r=t.bidderRequest;return(e.body.bids||[]).map((function(e){return function(e,t){var r={},n=t.width||1,i=t.height||1,o=t.deal_id||"",a=t.crid||"",u=e.bids[t.imp_id];0!=t.cpm&&t.ad&&(r={requestId:u.bidId,cpm:t.cpm,width:n,height:i,netRevenue:!0,ad:t.ad,creativeId:a,dealId:o,currency:"USD",ttl:m,tl_source:t.tl_source,meta:{}},x(u)&&"video"===t.media_type&&(r.vastXml=t.ad,r.mediaType="video",r.ttl=v),t.advertiser_name&&(r.meta.advertiserName=t.advertiser_name),t.adomain&&t.adomain.length&&(r.meta.advertiserDomains=t.adomain),t.tl_source&&"hdx"==t.tl_source&&(x(u)&&"video"===t.media_type?r.meta.mediaType="video":r.meta.mediaType="banner"),t.tl_source&&"tlx"==t.tl_source&&(r.meta.mediaType="native"));return r}(r,e)}))},getUserSyncs:function(e,t,r,n){var i=function(e){if(!e)return;if(e.iframeEnabled)return"iframe";if(e.pixelEnabled)return"image"}(e);if(i){var o="https://eb2.3lift.com/sync?";return"image"===i&&(o=(0,a.t0)(o,"px",1),o=(0,a.t0)(o,"src","prebid")),null!==g&&(o=(0,a.t0)(o,"gdpr",b),o=(0,a.t0)(o,"cmp_cs",g)),n&&(o=(0,a.t0)(o,"us_privacy",n)),[{type:i,url:o}]}}};function x(e){return j(e)&&(O(e)||function(e){return j(e)&&"outstream"===e.mediaTypes.video.context.toLowerCase()}(e))}function O(e){return j(e)&&"instream"===e.mediaTypes.video.context.toLowerCase()}function j(e){return e.mediaTypes.video&&e.mediaTypes.video.context}function w(e){var t=null;if("function"==typeof e.getFloor)try{var r=e.getFloor({currency:"USD",mediaType:x(e)?"video":"banner",size:"*"});"object"!==(0,n.Z)(r)||"USD"!==r.currency||isNaN(parseFloat(r.floor))||(t=parseFloat(r.floor))}catch(e){(0,a.H)("Triplelift: getFloor threw an error: ",e)}return null!==t?t:e.params.floor}function T(e,t){(0,a.xb)(t)||Object.keys(t).forEach((function(r){null!=t[r]&&(e[r]=t[r])}))}function _(e,t,r,n){return e.map(function(e){return function(t){return t&&t.userId&&t.userId[e]}}(t)).filter(I(t)).map(function(e,t){return function(r){return{source:e,uids:[{id:r.id?r.id:r,ext:{rtiPartner:t}}]}}}(r,n))}var I=function(e){return function(t,r,n){var i=!!t&&((0,a.d8)(t)?!!t:(0,a.PO)(t)&&!(0,a.kJ)(t)&&!(0,a.xb)(t)&&t.id&&(0,a.d8)(t.id)&&!!t.id);return i||void 0===n[0]||(0,a.yN)("Triplelift: invalid ".concat(e," userId format")),i}};function S(e){return e.filter(C).map((function(e){return{w:e[0],h:e[1]}}))}function C(e){return 2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]}(0,c.dX)(h),window.pbjs.installedModules.push("tripleliftBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=789,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[6433],{8816:function(e,t,n){var r=n(9062),o=n(5671),i=n(3144),s=n(1002),a=n(4358),u=n(2797),l=n(5164),d="uid2",c="PrebidJS-".concat("7.36.0","-UID2Module-").concat("1.0"),f=887,p="__uid2_advertising_token",v="https://prod.uidapi.com";var k,h=(0,l.df)({gvlid:f,moduleName:d}),y=(k="UID2: ",function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];a.PN.apply(void 0,[k+" "].concat(t))});function g(e){var t=h.cookiesAreEnabled()?h.getCookie(e):null;return t?(y("Read UID2 from cookie '".concat(e,"'")),t):(y("Attempted to read UID2 from cookie '".concat(e,"' but it was empty")),null)}function m(e){h.cookiesAreEnabled()?h.setCookie(p,JSON.stringify(e),Date.now()+864e5):h.localStorageIsEnabled()&&h.setLocalStorage(p,e)}var b=function(){function e(t){(0,o.Z)(this,e),this._baseUrl=t.baseUrl?t.baseUrl:v,this._clientVersion=c}return(0,i.Z)(e,[{key:"createArrayBuffer",value:function(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}},{key:"hasStatusResponse",value:function(e){return"object"===(0,s.Z)(e)&&e&&e.status}},{key:"isValidRefreshResponse",value:function(e){return this.hasStatusResponse(e)&&("optout"===e.status||"expired_token"===e.status||"success"===e.status&&e.body&&(t=e.body,!!("object"===(0,s.Z)(t)&&null!==t&&t.advertising_token&&t.identity_expires&&t.refresh_from&&t.refresh_token&&t.refresh_expires)));var t}},{key:"ResponseToRefreshResult",value:function(e){return this.isValidRefreshResponse(e)?"success"===e.status?{status:e.status,identity:e.body}:e:"Response didn't contain a valid status"}},{key:"callRefreshApi",value:function(e){var t,n,o=this,i=this._baseUrl+"/v2/token/refresh",s=new XMLHttpRequest;s.overrideMimeType("text/plain"),s.open("POST",i,!0),s.setRequestHeader("X-UID2-Client-Version",this._clientVersion);var a=new Promise((function(e,r){t=e,n=r}));return s.onreadystatechange=function(){if(s.readyState===s.DONE)try{if(e.refresh_response_key&&200===s.status){y("Decrypting refresh API response");var i=o.createArrayBuffer(atob(s.responseText));window.crypto.subtle.importKey("raw",o.createArrayBuffer(atob(e.refresh_response_key)),{name:"AES-GCM"},!1,["decrypt"]).then((function(e){y("Imported decryption key"),window.crypto.subtle.decrypt({name:"AES-GCM",iv:i.slice(0,12),tagLength:128},e,i.slice(12)).then((function(e){var i=String.fromCharCode.apply(String,(0,r.Z)(new Uint8Array(e)));y("Decrypted to:",i);var s=JSON.parse(i),a=o.ResponseToRefreshResult(s);"string"==typeof a?n(a):t(a)}),(function(e){return console.warn("Call to UID2 API failed",e)}))}),(function(e){return console.warn("Call to UID2 API failed",e)}))}else{y("Error status OR no response decryption key available, assuming unencrypted JSON");var a=JSON.parse(s.responseText),u=o.ResponseToRefreshResult(a);"string"==typeof u?n(u):t(u)}}catch(e){n(e)}},y("Sending refresh request",s),s.send(e.refresh_token),a}}]),e}(),_={name:d,gvlid:f,decode:function(e){var t=function(e){if("string"==typeof e){return y("Found an old-style ID from an earlier version of the module. Refresh is unavailable for this token."),{uid2:{id:e}}}if(Date.now()<e.latestToken.identity_expires)return{uid2:{id:e.latestToken.advertising_token}};return null}(e);return y("UID2 decode returned",t),t},getId:function(e,t){var n=function(e,t){var n,r,o,i,s,a=null,u=null!==(n=null==e||null===(r=e.params)||void 0===r?void 0:r.uid2ApiBase)&&void 0!==n?n:v;e&&e.params&&(e.params.uid2Token?(a=e.params.uid2Token,y("Read token from params",a)):e.params.uid2ServerCookie&&(l=e.params.uid2ServerCookie,a=JSON.parse(g(l)),y("Read token from server-supplied cookie",a)));var l;var d,c=(f=g(p),(f&&f.includes("{")?JSON.parse(f):f)||(h.localStorageIsEnabled()?h.getDataFromLocalStorage(p):null));var f;if(y("Loaded module-stored tokens:",c),c&&"string"==typeof c){if(!a)return y("Returning legacy cookie value."),{id:c};y("Discarding superseded legacy cookie."),c=null}if(a&&c&&(null===(d=c.originalToken)||void 0===d?void 0:d.advertising_token)!==a.advertising_token){var k;y("Server supplied new token - ignoring stored value.",null===(k=c.originalToken)||void 0===k?void 0:k.advertising_token,a.advertising_token),c=null}var b=!(null!==(o=c)&&void 0!==o&&o.latestToken)||a&&a.identity_expires>c.latestToken.identity_expires,_=b?a:c.latestToken;if(y("UID2 module selected latest token",b,_),!_||Date.now()>_.refresh_expires)return y("Newest available token is expired and not refreshable."),{id:null};if(Date.now()>_.identity_expires){var w=R(u,_);return y("Token is expired but can be refreshed, attempting refresh."),{callback:function(e){w.then((function(t){y("Refresh reponded, passing the updated token on.",t),e(t)}))}}}Date.now()>_.refresh_from&&(y("Refreshing token in background with low priority."),R(u,_));var S={originalToken:null!==(i=a)&&void 0!==i?i:null===(s=c)||void 0===s?void 0:s.originalToken,latestToken:_};return m(S),{id:S}}(e);return y("UID2 getId returned",n),n}};function R(e,t){return y("UID2 base url provided: ",e),new b({baseUrl:e}).callRefreshApi(t).then((function(e){y("Refresh endpoint responded with:",e);var n={originalToken:t,latestToken:e.identity};return m(n),n}))}(0,u.Bx)("userId",_),window.pbjs.installedModules.push("uid2IdSystem")}},function(e){e.O(0,[6866],(function(){return t=8816,e(e.s=t);var t}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[4579],{8709:function(r,e,t){var n=t(4358),i=t(8928),d=t(2797),u="unifiedId",o={name:u,gvlid:21,decode:function(r){return r&&"string"==typeof r.TDID?{tdid:r.TDID}:void 0},getId:function(r){var e=r&&r.params||{};if(e&&("string"==typeof e.partner||"string"==typeof e.url)){var t=e.url||"https://match.adsrvr.org/track/rid?ttd_pid=".concat(e.partner,"&fmt=json");return{callback:function(r){var e={success:function(e){var t;if(e)try{t=JSON.parse(e)}catch(r){(0,n.H)(r)}r(t)},error:function(e){(0,n.H)("".concat(u,": ID fetch encountered an error"),e),r()}};(0,i.h)(t,e,void 0,{method:"GET",withCredentials:!0})}}}(0,n.H)("User ID - unifiedId submodule requires either partner or url to be defined")}};(0,d.Bx)("userId",o),window.pbjs.installedModules.push("unifiedIdSystem")}},function(r){r.O(0,[6866],(function(){return e=8709,r(r.s=e);var e}));r.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[9039],{3806:function(e,r,n){var t=n(4942),i=n(4925),o=n(265),u=n(4358),a=n(5706),d=n(5339),s=n(4679),p=["bids","bidderRequestId","auctionId","bidderCode"];function c(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.push.apply(n,t)}return n}function f(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?c(Object(n),!0).forEach((function(r){(0,t.Z)(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))}))}return e}var l=function(e,r,n){n.bids,n.bidderRequestId,n.auctionId,n.bidderCode;var t=(0,i.Z)(n,p),u=n.bids.length-r.length,a={};r.forEach((function(e){var r=e.params.siteId;!function(e){Object.keys(e.mediaTypes).forEach((function(r){var n;n="function"==typeof e.getFloor?e.getFloor({currency:"USD",mediaType:r,size:"*"}).floor||0:e.params.floor||0,e.mediaTypes[r].floor=n}))}(e),function(e){var r=(0,o.Z)(e,"mediaTypes.banner");if(r){var n={},t=[];r.sizes.forEach((function(e){n[e.toString()]||(n[e.toString()]=!0,t.push(e))})),r.sizes=t}}(e),a[r]=a[r]||[],a[r].push(e)}));var d=[];return Object.keys(a).forEach((function(r){var n={bidderRequest:Object.assign({},f({bids:a[r],invalidBidsCount:u},t))};d.push(Object.assign({},f({data:n},e)))})),d},y=function(e){var r=[];return e.forEach((function(e){var n,t=(0,o.Z)(e,"meta.mediaType");if(t&&"banner"===t.toLowerCase())e.mediaType=s.Mk,n=b(e);else if(t&&"video"===t.toLowerCase()){var i=(0,o.Z)(e,"meta.videoContext");e.mediaType=s.pX,"instream"===i?n=v(e):"outstream"===i&&(n=w(e))}n&&r.push(n)})),r},b=function(e){if(e.ad)return e;(0,u.H)(new Error("UnrulyBidAdapter: Missing ad config."))},v=function(e){if(e.vastUrl||e.vastXml)return e;(0,u.H)(new Error("UnrulyBidAdapter: Missing vastUrl or vastXml config."))},w=function(e){var r=!!(0,o.Z)(e,"ext.renderer.config"),n=!!(0,o.Z)(e,"ext.renderer.config.siteId");if(r){if(n){var t=(0,o.Z)(e,"ext.renderer");!function(e,r){if(!e.config)throw new Error("UnrulyBidAdapter: Missing renderer config.");if(!e.config.siteId)throw new Error("UnrulyBidAdapter: Missing renderer siteId.");parent.window.unruly=parent.window.unruly||{},parent.window.unruly.native=parent.window.unruly.native||{},parent.window.unruly.native.siteId=parent.window.unruly.native.siteId||e.config.siteId,parent.window.unruly.native.adSlotId=r,parent.window.unruly.native.supplyMode="prebid"}(t,e.requestId),parent.window.unruly.native.prebid=parent.window.unruly.native.prebid||{},parent.window.unruly.native.prebid.uq=parent.window.unruly.native.prebid.uq||[];var i=a.Th.install(Object.assign({},t)),d=Object.assign({},e,{renderer:i,adUnitCode:(0,o.Z)(e,"ext.adUnitCode")});return i.setRender((function(){var e;e=d,parent.window.unruly.native.prebid.uq.push(["render",e])})),e.renderer=e.renderer||i,e}(0,u.H)(new Error("UnrulyBidAdapter: Missing renderer siteId."))}else(0,u.H)(new Error("UnrulyBidAdapter: Missing renderer config."))},g=function(e){if(!e.context)return!1;return-1!==["outstream","instream"].indexOf(e.context)},O=function(e){return e.sizes},m={code:"unruly",supportedMediaTypes:[s.pX,s.Mk],gvlid:36,isBidRequestValid:function(e){var r=(0,o.Z)(e,"params.siteId")&&function(e){var r=(0,o.Z)(e,"mediaTypes.video"),n=(0,o.Z)(e,"mediaTypes.banner"),t=!(!r&&!n);return t&&r&&(t=g(r)),t&&n&&(t=O(n)),t}(e);return!!r},buildRequests:function(e,r){var n="https://targeting.unrulymedia.com/unruly_prebid";e[0]&&(n=(0,o.Z)(e[0],"params.endpoint")||n);return l({url:n,method:"POST",options:{contentType:"application/json"}},e,r)},interpretResponse:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).body;return!e||!e.bids?[]:y(e.bids)}};(0,d.dX)(m),window.pbjs.installedModules.push("unrulyBidAdapter")},4925:function(e,r,n){function t(e,r){if(null==e)return{};var n,t,i=function(e,r){if(null==e)return{};var n,t,i={},o=Object.keys(e);for(t=0;t<o.length;t++)n=o[t],r.indexOf(n)>=0||(i[n]=e[n]);return i}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(t=0;t<o.length;t++)n=o[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.d(r,{Z:function(){return t}})}},function(e){e.O(0,[6866],(function(){return r=3806,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[9215],{4192:function(e,n,t){t.d(n,{HQ:function(){return c},Pv:function(){return u},UR:function(){return i}});var r=t(4358),o=t(265),i={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var n=(0,r.ei)(e,["h1","h2","h3"]);if(Object.keys(n).length)return n}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var n="";return e&&e.ext&&e.ext.DeviceID&&(n=e.ext.DeviceID),n},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var n=(0,r.ei)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(n).length)return n}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(e){var n;return null!=e&&null!==(n=e.ext)&&void 0!==n&&n.ssp?"".concat(e.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},cpexId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:"paf",atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var n=e.identifiers[0];return{version:n.version,type:n.type,source:n.source}}}}};function a(e,n){var t=i[n];if(t&&e){var o={};o.source=(0,r.LQ)(t.getSource)?t.getSource(e):t.source;var a=(0,r.LQ)(t.getValue)?t.getValue(e):e;if((0,r.d8)(a)){var c={id:a,atype:t.atype};if((0,r.LQ)(t.getUidExt)){var u=t.getUidExt(e);u&&(c.ext=u)}if(o.uids=[c],(0,r.LQ)(t.getEidExt)){var s=t.getEidExt(e);s&&(o.ext=s)}return o}}return null}function c(e){var n=[],t=function(t){if(e.hasOwnProperty(t))if("pubProvidedId"===t)n=n.concat(e.pubProvidedId);else if(Array.isArray(e[t]))e[t].forEach((function(e,r,o){var i=a(e,t);i&&n.push(i)}));else{var r=a(e[t],t);r&&n.push(r)}};for(var r in e)t(r);return n}function u(e){var n=[];return e.filter((function(e){return(0,r.PO)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(t){(0,o.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,o.Z)(i,t+".source")&&n.push({source:i[t].source,bidders:e.config.bidders})}))})),n}},2695:function(e,n,t){var r,o,i,a,c,u,s,d=t(1002),f=t(4614),l=t(3193),g=t(2021),p=t(8640),m=t(1039),y=t(5644),v=t(2797),h=t(4192),b=t(5164),I=t(4358),w=t(265),O=t(6475),k=(0,v.z3)("sync",(function(){})),D=t(8792),E=t(7673),j=t(6372),S=t(9128),x=t(8196),P="User ID",A="cookie",U="html5",N=500,C=0,L={name:"_pbjs_userid_consent_data",expires:30},R="_pbjs_id_optout",T=(0,b.eA)("userid"),_=!1,V=[],Z=[],q=[],H=function(){return null==s&&(s=(0,S.V6)()),s};function Q(e){return H().fork().renameWith((function(n){return["userId.mod.".concat(n),"userId.mods.".concat(e,".").concat(n)]}))}function F(e){var n="function"==typeof e.submodule.domainOverride?e.submodule.domainOverride():null,t=e.config.storage.name;return function(e,r,o){T.setCookie(t+(e||""),r,o,"Lax",n)}}function z(e,n){var t=e.config.storage;try{var r=new Date(Date.now()+864e5*t.expires).toUTCString(),o=(0,I.PO)(n)?JSON.stringify(n):n;if(t.type===A){var i=F(e);i(null,o,r),"number"==typeof t.refreshInSeconds&&i("_last",(new Date).toUTCString(),r)}else t.type===U&&(T.setDataInLocalStorage("".concat(t.name,"_exp"),r),T.setDataInLocalStorage(t.name,encodeURIComponent(o)),"number"==typeof t.refreshInSeconds&&T.setDataInLocalStorage("".concat(t.name,"_last"),(new Date).toUTCString()))}catch(e){(0,I.H)(e)}}function J(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=t?"".concat(e.name,"_").concat(t):e.name;try{if(e.type===A)n=T.getCookie(r);else if(e.type===U){var o=T.getDataFromLocalStorage("".concat(e.name,"_exp"));""===o?n=T.getDataFromLocalStorage(r):o&&new Date(o).getTime()-Date.now()>0&&(n=decodeURIComponent(T.getDataFromLocalStorage(r)))}"string"==typeof n&&"{"===n.trim().charAt(0)&&(n=JSON.parse(n))}catch(e){(0,I.H)(e)}return n}function B(e){var n={consentString:"",gdprApplies:!1,apiVersion:0};return e&&(n.consentString=e.consentString,n.gdprApplies=e.gdprApplies,n.apiVersion=e.apiVersion),(0,I._R)(JSON.stringify(n))}function G(e,n){n=H().fork().startTiming("userId.callbacks.total").stopBefore(n);var t=(0,I.yx)((function(){clearTimeout(o),n()}),e.length);e.forEach((function(e){var n=Q(e.submodule.name).startTiming("callback").stopBefore(t);try{e.callback((function(t){t?(e.config.storage&&z(e,t),e.idObj=e.submodule.decode(t,e.config),se(e.idObj)):(0,I.PN)("".concat(P,": ").concat(e.submodule.name," - request id responded with an empty value")),n()}))}catch(t){(0,I.H)("Error in userID module '".concat(e.submodule.name,"':"),t),n()}e.callback=void 0}))}function M(e,n){[e].some((function(e){return!Array.isArray(e)||!e.length}))||e.forEach((function(e){e.bids&&(0,I.kJ)(e.bids)&&e.bids.forEach((function(e){var t=function(e,n){return Array.isArray(e)&&e.length&&n?e.filter((function(e){return!e.config.bidders||!(0,I.kJ)(e.config.bidders)||(0,f.q9)(e.config.bidders,n)})).filter((function(e){return(0,I.PO)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,n){return Object.keys(n.idObj).forEach((function(t){e[t]=n.idObj[t]})),e}),{}):{}}(n,e.bidder);Object.keys(t).length&&(e.userId=t,e.userIdAsEids=(0,h.HQ)(t))}))}))}var W,K={};function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ee()||[],n=c&&e.find((function(e){return e.source===c}));if(n&&"string"==typeof(0,w.Z)(n,"uids.0.id")){var t=n.uids[0].id.replace(/[\W_]/g,"");if(t.length>=32&&t.length<=150)return t;(0,I.yN)("User ID - Googletag Publisher Provided ID for ".concat(c," is not between 32 and 150 characters - ").concat(t))}}var Y=(0,S.g3)("userId",(function(e,n){var t=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.delay,c=void 0===i?D.Z.timeout:i,u=o.getIds,s=void 0===u?ae:u;D.Z.race([s().catch((function(){return null})),c(a)]).then((function(){M(n.adUnits||(0,p.R)().adUnits,r),H().join((0,S.Bf)(n.metrics),{propagate:!1,includeGroups:!0}),e.call(t,n)}))}));function $(){return function(e){return Array.isArray(e)&&e.length?e.filter((function(e){return(0,I.PO)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,n){return Object.keys(n.idObj).forEach((function(t){e[t]=n.idObj[t]})),e}),{}):{}}(r)}function ee(){return(0,h.HQ)($())}function ne(e){return(0,h.HQ)(function(e,n){if(!Array.isArray(e)||!e.length)return{};var t=e.filter((function(e){var t;return(0,I.PO)(e.idObj)&&Object.keys(e.idObj).length&&(null===(t=h.UR[Object.keys(e.idObj)[0]])||void 0===t?void 0:t.source)===n}));return(0,I.xb)(t)?[]:t[0].idObj}(r,e))[0]}function te(e,n,t){return W().then((function(){var r={};if((0,I.LQ)(t)){(0,I.PN)("".concat(P," - Getting encrypted signal from custom function : ").concat(t.name," & source : ").concat(e," "));var o=t(e);r[e]=o?re(o):null}else{var i=ne(e);(0,I.PN)("".concat(P," - Getting encrypted signal for eids :").concat(JSON.stringify(i))),(0,I.xb)(i)||(r[i.source]=!0===n?re(i):i.uids[0].id)}return(0,I.PN)("".concat(P," - Fetching encrypted eids: ").concat(r[e])),r[e]}))}function re(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t="";if(1===n)t="object"===(0,d.Z)(e)?window.btoa(JSON.stringify(e)):window.btoa(e);return"".concat(n,"||").concat(t)}function oe(){if((0,I.T9)()){window.googletag.encryptedSignalProviders=window.googletag.encryptedSignalProviders||[];var e=l.vc.getConfig("userSync.encryptedSignalSources");if(e){var n=e.registerDelay||0;setTimeout((function(){e.sources&&e.sources.forEach((function(e){var n=e.source,t=e.encrypt,r=e.customFunc;n.forEach((function(e){window.googletag.encryptedSignalProviders.push({id:e,collectorFunction:function(){return te(e,t,r)}})}))}))}),n)}else(0,I.yN)("".concat(P," - ESP : encryptedSignalSources config not defined under userSync Object"))}}function ie(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).submoduleNames,n=arguments.length>1?arguments[1]:void 0;return W({refresh:!0,submoduleNames:e}).then((function(){return n&&(0,I.LQ)(n)&&n(),$()}))}function ae(){return W().then((function(){return $()}),(function(e){return e===K?Promise.resolve().then(ae):((0,I.H)("Error initializing userId",e),D.Z.reject(e))}))}var ce=(0,v.z3)("sync",(function(e,n){return{userIdModules:e,hasValidated:n&&n.hasValidated}}),"validateGdprEnforcement");function ue(e,n,t,r){if(e.config.storage){var o,i=J(e.config.storage),a=!1;if("number"==typeof e.config.storage.refreshInSeconds){var c=new Date(J(e.config.storage,"last"));a=c&&Date.now()-c.getTime()>1e3*e.config.storage.refreshInSeconds}!i||a||r||!function(e,n){return null!=e&&e===B(n)}(t,n)?o=e.submodule.getId(e.config,n,i):"function"==typeof e.submodule.extendId&&(o=e.submodule.extendId(e.config,n,i)),(0,I.PO)(o)&&(o.id&&(z(e,o.id),i=o.id),"function"==typeof o.callback&&(e.callback=o.callback)),i&&(e.idObj=e.submodule.decode(i,e.config))}else if(e.config.value)e.idObj=e.config.value;else{var u=e.submodule.getId(e.config,n,void 0);(0,I.PO)(u)&&("function"==typeof u.callback&&(e.callback=u.callback),u.id&&(e.idObj=e.submodule.decode(u.id,e.config)))}se(e.idObj)}function se(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$();if(e&&c){var n=X((0,h.HQ)(e));n&&((0,I.T9)()?window.googletag.pubads().setPublisherProvidedId(n):(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){window.googletag.pubads().setPublisherProvidedId(n)}))))}}function de(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return H().fork().measureTime("userId.init.modules",(function(){if(!n.length)return[];var o=function(){var e=[],n=!1;T.localStorageIsEnabled()&&(e.push(U),T.getDataFromLocalStorage(R)&&((0,I.PN)("".concat(P," - opt-out localStorage found, storage disabled")),n=!0));T.cookiesAreEnabled()&&(e.push(A),T.getCookie(R)&&((0,I.PN)("".concat(P," - opt-out cookie found, storage disabled")),n=!0));return new Set(n?[]:e)}();if(!(n=n.filter((function(e){return!e.config.storage||o.has(e.config.storage.type)}))).length)return(0,I.yN)("".concat(P," - no ID module is configured for one of the available storage types:"),Array.from(o)),[];var i=ce(n,t),a=i.userIdModules;if(!i.hasValidated&&!(0,E.h)(t))return(0,I.yN)("".concat(P," - gdpr permission not valid for local storage or cookies, exit module")),[];var c=function(){try{return T.getCookie(L.name)}catch(e){(0,I.H)(e)}}();!function(e){try{var n=new Date(Date.now()+864e5*L.expires).toUTCString();T.setCookie(L.name,B(e),n,"Lax")}catch(e){(0,I.H)(e)}}(t);var u=a.reduce((function(e,n){return Q(n.submodule.name).measureTime("init",(function(){try{ue(n,t,c,r),e.push(n)}catch(e){(0,I.H)("Error in userID module '".concat(n.submodule.name,"':"),e)}return e}))}),[]);return u.length&&function(e){var n=(0,I.EE)().setEidPermissions;"function"==typeof n&&(0,I.kJ)(e)&&n((0,h.Pv)(e))}(u),u.forEach(fe.bind(null,e)),u}))}function fe(e,n){for(var t=!1,r=0;r<e.length;r++)if(n.config.name.toLowerCase()===e[r].config.name.toLowerCase()){t=!0,e[r]=n;break}t||e.push(n)}var le=new Set([U,A]);function ge(){var e=function(e,n){return Array.isArray(e)?e.reduce((function(e,n){return!n||(0,I.jH)(n.name)||(n.storage&&!(0,I.jH)(n.storage.type)&&!(0,I.jH)(n.storage.name)&&le.has(n.storage.type)||(0,I.PO)(n.value)?e.push(n):n.storage||n.value||e.push(n)),e}),[]):[]}(Z);if(e.length){var n=q.filter((function(e){return!(0,f.sE)(V,(function(n){return n.name===e.name}))}));V.splice(0,V.length),n.map((function(n){var t=(0,f.sE)(e,(function(e){return e.name&&(e.name.toLowerCase()===n.name.toLowerCase()||n.aliasName&&e.name.toLowerCase()===n.aliasName.toLowerCase())}));return t&&n.name!==t.name&&(t.name=n.name),n.findRootDomain=x.W,t?{submodule:n,config:t,callback:void 0,idObj:void 0}:null})).filter((function(e){return null!==e})).forEach((function(e){return V.push(e)})),!_&&V.length&&((0,p.R)().requestBids.before(Y,40),m.ZP.callDataDeletionRequest.before(pe),k.after((function(e){return e(X())})),(0,I.PN)("".concat(P," - usersync config updated for ").concat(V.length," submodules: "),V.map((function(e){return e.submodule.name}))),_=!0)}}function pe(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];(0,I.PN)("UserID: received data deletion request; deleting all stored IDs..."),V.forEach((function(e){if("function"==typeof e.submodule.onDataDeletionRequest)try{var n;(n=e.submodule).onDataDeletionRequest.apply(n,[e.config,e.idObj].concat(t))}catch(n){(0,I.H)("Error calling onDataDeletionRequest for ID submodule ".concat(e.submodule.name),n)}!function(e){var n,t,r,o;switch(null===(n=e.config)||void 0===n||null===(t=n.storage)||void 0===t?void 0:t.type){case A:var i=F(e),a=new Date(Date.now()-864e5).toUTCString();r=function(e){return i(e,"",a)},o=["","_last"];break;case U:r=function(n){return T.removeDataFromLocalStorage(e.config.storage.name+n)},o=["","_last","_exp"]}r&&o.forEach((function(e){try{r(e)}catch(e){(0,I.H)(e)}}))}(e)})),e.apply(this,t)}function me(e){return function(){return Promise.resolve(e.apply(this,arguments))}}!function(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).delay,t=void 0===n?D.Z.timeout:n;c=void 0,V=[],Z=[],_=!1,r=[],W=function(){var e,n,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).delay,o=void 0===t?D.Z.timeout:t,c=(0,D.P)(),u=(0,D.P)(),s=!1;function d(t){return n=H().fork(),null!=e&&e.reject(K),e=(0,D.P)(),D.Z.race([t,e.promise]).finally(n.startTiming("userId.total"))}var f=r,l=V;function p(e){return function(){if(f===r&&l===V)return e.apply(void 0,arguments)}}function h(){return m.rp.promise.finally(n.startTiming("userId.init.gdpr"))}var b=d(D.Z.all([v.Cd,c.promise]).then(h).then(p((function(e){de(f,l,e)}))).then((function(){return u.promise.finally(n.startTiming("userId.callbacks.pending"))})).then(p((function(){var e=f.filter((function(e){return(0,I.LQ)(e.callback)}));if(e.length)return new D.Z((function(n){return G(e,n)}))}))));return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refresh,t=void 0!==n&&n,r=e.submoduleNames,m=void 0===r?null:r,v=e.ready;return void 0!==v&&v&&!s&&(s=!0,c.resolve(),a>0?u.resolve():g.on(y.FP.AUCTION_END,(function e(){g.S1(y.FP.AUCTION_END,e),o(i).then(u.resolve)}))),t&&s&&(b=d(b.catch((function(){return null})).then(h).then(p((function(e){var n=de(f,l.filter((function(e){return null==m||m.includes(e.submodule.name)})),e,!0).filter((function(e){return null!=e.callback}));if(n.length)return new D.Z((function(e){return G(n,e)}))}))))),b}}({delay:t}),null!=u&&u(),q=[],u=e.getConfig("userSync",(function(e){var n=e.userSync;c=n.ppid,n&&n.userIds&&(Z=n.userIds,i=(0,I.hj)(n.syncDelay)?n.syncDelay:N,a=(0,I.hj)(n.auctionDelay)?n.auctionDelay:C,ge(),W({ready:!0}))})),(0,p.R)().getUserIds=$,(0,p.R)().getUserIdsAsEids=ee,(0,p.R)().getEncryptedEidsForSource=me(te),(0,p.R)().registerSignalSources=oe,(0,p.R)().refreshUserIds=me(ie),(0,p.R)().getUserIdsAsync=me(ae),(0,p.R)().getUserIdsAsEidBySource=ne}(l.vc),(0,v.bA)("userId",(function(e){(0,f.sE)(q,(function(n){return n.name===e.name}))||(q.push(e),ge(),W({refresh:!0,submoduleNames:[e.name]}))})),(0,j.f8)({type:j.Z,name:"userExtEids",fn:function(e,n,t){var r=(0,w.Z)(t,"bidRequests.0.userIdAsEids");r&&(0,O.N)(e,"user.ext.eids",r)}}),window.pbjs.installedModules.push("userId")},6372:function(e,n,t){t.d(n,{DZ:function(){return a},Z:function(){return i},f8:function(){return l},md:function(){return u}});var r=["request","imp","bidResponse","response"],o=["default","pbs"],i=r[0],a=r[1],c=(r[2],r[3],o[0]),u=o[1],s=new Set(r);var d,f=(d={},{registerOrtbProcessor:function(e){var n=e.type,t=e.name,o=e.fn,i=e.priority,a=void 0===i?0:i,u=e.dialects,f=void 0===u?[c]:u;if(!s.has(n))throw new Error("ORTB processor type must be one of: ".concat(r.join(", ")));f.forEach((function(e){d.hasOwnProperty(e)||(d[e]={}),d[e].hasOwnProperty(n)||(d[e][n]={}),d[e][n][t]={priority:a,fn:o}}))},getProcessors:function(e){return d[e]||{}}}),l=f.registerOrtbProcessor},7673:function(e,n,t){t.d(n,{h:function(){return o}});var r=t(265);function o(e){return null==e||!e.gdprApplies||!0===(0,r.Z)(e,"vendorData.purpose.consents.1")}}},function(e){e.O(0,[6866],(function(){return n=2695,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[6547],{1612:function(e,n,t){var i=t(1002),r=t(8928),d=t(2797),o=t(4358),c=t(4614),p="verizonMediaId",a="__PIXEL_ID__",s="https://ups.analytics.yahoo.com/ups/".concat(a,"/fed");function u(e){return!!(e&&e.gdpr&&e.gdpr.gdprApplies)}var l={name:p,gvlid:25,decode:function(e){return"object"===(0,i.Z)(e)&&(e.connectid||e.vmuid)?{connectid:e.connectid||e.vmuid}:void 0},getId:function(e,n){var t=e.params||{};if(t&&"string"==typeof t.he&&(void 0!==t.pixelId||void 0!==t.endpoint)){var i={"1p":(0,c.q9)([1,"1",!0],t["1p"])?"1":"0",he:t.he,gdpr:u(n)?"1":"0",gdpr_consent:u(n)?n.gdpr.consentString:"",us_privacy:n&&n.uspConsent?n.uspConsent:""};t.pixelId&&(i.pixelId=t.pixelId);return{callback:function(e){var n={success:function(n){var t;if(n)try{t=JSON.parse(n)}catch(e){(0,o.H)(e)}e(t)},error:function(n){(0,o.H)("".concat(p,": ID fetch encountered an error"),n),e()}},r=s.replace(a,t.pixelId),d="".concat(t.endpoint||r,"?").concat((0,o.Yp)(i));l.getAjaxFn()(d,n,null,{method:"GET",withCredentials:!0})}}}(0,o.H)("The verizonMediaId submodule requires the 'he' and 'pixelId' parameters to be defined.")},getAjaxFn:function(){return r.h}};(0,d.Bx)("userId",l),window.pbjs.installedModules.push("verizonMediaIdSystem")}},function(e){e.O(0,[6866],(function(){return n=1612,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[5337],{4192:function(e,t,r){r.d(t,{HQ:function(){return c},Pv:function(){return u},UR:function(){return o}});var n=r(4358),i=r(265),o={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var t=(0,n.ei)(e,["h1","h2","h3"]);if(Object.keys(t).length)return t}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var t="";return e&&e.ext&&e.ext.DeviceID&&(t=e.ext.DeviceID),t},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=(0,n.ei)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(e){var t;return null!=e&&null!==(t=e.ext)&&void 0!==t&&t.ssp?"".concat(e.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},cpexId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:"paf",atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var t=e.identifiers[0];return{version:t.version,type:t.type,source:t.source}}}}};function a(e,t){var r=o[t];if(r&&e){var i={};i.source=(0,n.LQ)(r.getSource)?r.getSource(e):r.source;var a=(0,n.LQ)(r.getValue)?r.getValue(e):e;if((0,n.d8)(a)){var c={id:a,atype:r.atype};if((0,n.LQ)(r.getUidExt)){var u=r.getUidExt(e);u&&(c.ext=u)}if(i.uids=[c],(0,n.LQ)(r.getEidExt)){var d=r.getEidExt(e);d&&(i.ext=d)}return i}}return null}function c(e){var t=[],r=function(r){if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[r]))e[r].forEach((function(e,n,i){var o=a(e,r);o&&t.push(o)}));else{var n=a(e[r],r);n&&t.push(n)}};for(var n in e)r(n);return t}function u(e){var t=[];return e.filter((function(e){return(0,n.PO)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){(0,i.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,i.Z)(o,r+".source")&&t.push({source:o[r].source,bidders:e.config.bidders})}))})),t}},5511:function(e,t,r){var n=r(1002),i=r(4358),o=r(265),a=r(6475),c=r(4679),u=r(5339),d=r(5706),s=r(4614),p=r(4192),f="USD",l=300,m=!0,v="https://ads.yieldmo.com/pbcas",y="https://ads-stg.yieldmo.com",g="https://ads.yieldmo.com",h="https://prebid-outstream.yieldmo.com/bundle.js",b=["mimes","startdelay","placement","startdelay","skipafter","protocols","api","playbackmethod","maxduration","minduration","pos","skip","skippable"],I=["name","domain","cat","keywords"],x=(0,i.Zy)(),k=2,w=0,E=15e3,Z=["description","title","pr","page_url"],O={code:"yieldmo",supportedMediaTypes:[c.Mk,c.pX],gvlid:173,isBidRequestValid:function(e){return!!(e&&e.adUnitCode&&e.bidId&&(j(e)||_(e))&&function(e){if(!_(e))return!0;var t=function(e,t,r){var n='"'.concat(e,'" is required');throw r&&(n+=" when "+r),new Error(n)},r=function(e,t,r){throw r=r?", expected: "+r:"",t=JSON.stringify(t),new Error('"'.concat(e,'"=').concat(t," is invalid").concat(r))},n=function(e){return void 0!==e},a=function(t,r,n,i){if(0===t.indexOf("video")){var a="params."+t,c="mediaTypes."+t,u=(0,o.Z)(e,a),d=(0,o.Z)(e,c),s=r(u),p=r(d);return s?u:p||(s?p||n(c,d,i):n(a,u,i),u||d)}var f=(0,o.Z)(e,t);return r(f)||n(t,f,i),f};try{a("video.context",(function(e){return!(0,i.xb)(e)}),t),a("params.placementId",(function(e){return!(0,i.xb)(e)}),t),a("video.playerSize",(function(e){return(0,i.HC)(e,2)||(0,i.kJ)(e)&&e.every((function(e){return(0,i.HC)(e,2)}))}),r,"array of 2 integers, ex: [640,480] or [[640,480]]"),a("video.mimes",(function(e){return n(e)}),t),a("video.mimes",(function(e){return(0,i.kJ)(e)&&e.every((function(e){return(0,i.d8)(e)}))}),r,'array of strings, ex: ["video/mp4"]');var c=a("video.placement",(function(e){return n(e)}),t);return a("video.placement",(function(e){return e>=1&&e<=5}),r),1===c&&(a("video.startdelay",(function(e){return n(e)}),(function(e,r){return t(e,r,"placement == 1")})),a("video.startdelay",(function(e){return(0,i.hj)(e)}),r,"number, ex: 5")),a("video.protocols",(function(e){return n(e)}),t),a("video.protocols",(function(e){return(0,i.HC)(e)&&e.every((function(e){return e>=1&&e<=6}))}),r,"array of numbers, ex: [2,3]"),a("video.api",(function(e){return n(e)}),t),a("video.api",(function(e){return(0,i.HC)(e)&&e.every((function(e){return e>=1&&e<=6}))}),r,"array of numbers, ex: [2,3]"),a("video.playbackmethod",(function(e){return!n(e)||(0,i.HC)(e)}),r,"array of integers, ex: [2,6]"),a("video.maxduration",(function(e){return n(e)}),t),a("video.maxduration",(function(e){return(0,i.U)(e)}),r),a("video.minduration",(function(e){return!n(e)||(0,i.hj)(e)}),r),a("video.skippable",(function(e){return!n(e)||(0,i.jn)(e)}),r),a("video.skipafter",(function(e){return!n(e)||(0,i.hj)(e)}),r),a("video.pos",(function(e){return!n(e)||(0,i.hj)(e)}),r),a("params.badv",(function(e){return!n(e)||(0,i.kJ)(e)}),r,'array of strings, ex: ["ford.com","pepsi.com"]'),a("params.bcat",(function(e){return!n(e)||(0,i.kJ)(e)}),r,'array of strings, ex: ["IAB1-5","IAB1-6"]'),!0}catch(e){return(0,i.H)(e.message),!1}}(e))},buildRequests:function(e,t){var r=function(e){var t,r;return!(null===(t=e.refererInfo)||void 0===t||null===(r=t.referer)||void 0===r||!r.includes("pb_force_a"))}(t),n=U("/exchange/prebid",r),u=U("/exchange/prebidvideo",r),d=e.filter((function(e){return j(e)})),f=e.filter((function(e){return _(e)})),l=[],m=function(e){if((0,o.Z)(e,"userId"))return(0,p.HQ)(e.userId)||[]}(e[0])||[];if(d.length>0){var v={pbav:"7.36.0",p:[],page_url:t.refererInfo.page,bust:(new Date).getTime().toString(),dnt:"1"===window.doNotTrack||"1"===window.navigator.doNotTrack||!1,description:T(),userConsent:JSON.stringify({gdprApplies:(0,o.Z)(t,"gdprConsent.gdprApplies")||"",cmp:(0,o.Z)(t,"gdprConsent.consentString")||""}),us_privacy:(0,o.Z)(t,"uspConsent")||""};(function(){try{if((0,i.Zy)().location.href)return!0}catch(e){return!1}})()&&(v.pr=x.document&&x.document.referrer||"",v.scrd=x.devicePixelRatio||0,v.title=x.document.title||"",v.w=x.innerWidth,v.h=x.innerHeight);var y=window.navigator.maxTouchPoints;y&&(v.mtp=y),d.forEach((function(e){v.p.push(function(e){var t=(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot"),r={placement_id:e.adUnitCode,callback_id:e.bidId,sizes:e.mediaTypes.banner.sizes};if(e.params){e.params.placementId&&(r.ym_placement_id=e.params.placementId);var n=A(e,c.Mk);n&&(r.bidFloor=n)}t&&(r.gpid=t);var i=(0,o.Z)(e,"ortb2Imp.ext.tid");i&&(r.tid=i);e.auctionId&&(r.auctionId=e.auctionId);return JSON.stringify(r)}(e));var t=C(e,"pubcid");t?v.pubcid=t:e.crumbs&&e.crumbs.pubcid&&(v.pubcid=e.crumbs.pubcid);var r=C(e,"tdid");r&&(v.tdid=r);var n=C(e,"criteoId");n&&(v.cri_prebid=n),e.schain&&(v.schain=JSON.stringify(e.schain)),(0,o.Z)(e,"params.lr_env")&&(v.ats_envelope=e.params.lr_env)})),v.p="["+v.p.toString()+"]",m.length&&(v.eids=JSON.stringify(m));var g="".concat(n,"?").concat((0,i.Re)(v)).length-8e3;if(g>0)for(var h=0;h<Z.length&&!((g=q(g,v,Z[h]))<=0);h++);l.push({method:"GET",url:n,data:v})}if(f.length>0){var I=function(e,t){var r=e[0].schain,n={id:e[0].bidderRequestId,at:1,imp:e.map((function(e){return function(e){var t=(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot"),r=function(e){var t=(0,o.Z)(e,"mediaTypes.video.playerSize");if((0,i.HC)(t,2))return t;if((0,i.kJ)(t)&&(0,i.HC)(t[0],2))return t[0];return null}(e),n={id:e.bidId,tagid:e.adUnitCode,bidfloor:A(e,c.pX),ext:{placement_id:e.params.placementId,tid:(0,o.Z)(e,"ortb2Imp.ext.tid")},video:{w:r[0],h:r[1],linearity:1}},a=(0,o.Z)(e,"mediaTypes.video");Object.keys(a).filter((function(e){return(0,s.q9)(b,e)})).forEach((function(e){return n.video[e]=a[e]}));var u=(0,o.Z)(e,"params.video");Object.keys(u).filter((function(e){return(0,s.q9)(b,e)})).forEach((function(e){return n.video[e]=u[e]})),n.video.skippable&&(n.video.skip=1,delete n.video.skippable);1!==n.video.placement&&(n.video.startdelay=w,n.video.playbackmethod=[k]);t&&(n.ext.gpid=t);return n}(e)})),site:S(e[0],t),device:(0,o.Z)(t,"ortb2.device"),badv:e[0].params.badv||[],bcat:(0,o.Z)(t,"bcat")||e[0].params.bcat||[],ext:{prebid:"7.36.0"},ats_envelope:e[0].params.lr_env};r&&(n.schain=r);e[0].auctionId&&(n.auctionId=e[0].auctionId);return function(e,t){var r=t.gdprConsent;r&&"gdprApplies"in r&&((0,a.N)(e,"regs.ext.gdpr",r.gdprApplies?1:0),(0,a.N)(e,"user.ext.consent",r.consentString));var n=(0,o.Z)(t,"uspConsent");n&&(0,a.N)(e,"regs.ext.us_privacy",n)}(n,t),n}(f,t);m.length&&(I.user={eids:m}),l.push({method:"POST",url:u,data:I})}return l},interpretResponse:function(e,t){var r=[],n=e.body;(n.length>0&&n.forEach((function(e){e.cpm>0&&r.push(function(e){return{dealId:e.publisherDealId,requestId:e.callback_id,cpm:e.cpm,width:e.width,height:e.height,creativeId:e.creative_id,currency:f,netRevenue:m,ttl:l,ad:e.ad,meta:{advertiserDomains:e.adomain||[],mediaType:c.Mk}}}(e))})),n.seatbid)&&n.seatbid.reduce((function(e,t){return e.concat(t.bid)}),[]).forEach((function(e){return r.push(function(e,t){var r=(0,s.sE)((0,o.Z)(t,"data.imp")||[],(function(t){return t.id===e.impid})),n={dealId:e.dealid,requestId:r.id,cpm:e.price,width:r.video.w,height:r.video.h,creativeId:e.crid||e.adid,currency:f,netRevenue:m,mediaType:c.pX,ttl:l,vastXml:e.adm,meta:{advertiserDomains:e.adomain||[],mediaType:c.pX}};if(r.video.placement&&1!==r.video.placement){var i=d.Th.install({url:h,config:{width:n.width,height:n.height,vastTimeout:E,maxAllowedVastTagRedirects:5,allowVpaid:!0,autoPlay:!0,preload:!0,mute:!0},id:r.tagid,loaded:!1});i.setRender((function(e){e.renderer.push((function(){var t=e.renderer,r=t.id,n=t.config;window.YMoutstreamPlayer(e,r,n)}))})),n.renderer=i}return n}(e,t))}));return r},getUserSyncs:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=[],o="&gdpr=".concat(r.gdprApplies?1:0),a="&gdpr_consent=".concat(encodeURIComponent(r.consentString||"")),c="us_privacy=".concat(encodeURIComponent(n)),u="".concat(v,"?").concat(c).concat(o).concat(a);return e.iframeEnabled?i.push({type:"iframe",url:u+"&type=iframe"}):e.pixelEnabled&&i.push({type:"image",url:u+"&type=image"}),i}};function j(e){return!!(0,o.Z)(e,"mediaTypes.banner")}function _(e){return!!(0,o.Z)(e,"mediaTypes.video")}function T(){return document.querySelector('meta[name="description"]')&&document.querySelector('meta[name="description"]').getAttribute("content")||""}function C(e,t){return"object"===(0,n.Z)((0,o.Z)(e,"userId"))?e.userId[t]:void 0}function A(e,t){var r={};return"function"==typeof e.getFloor&&(r=e.getFloor({currency:f,mediaType:t,size:"*"})),r.floor||e.params.bidfloor||e.params.bidFloor||0}function S(e,t){var r,n={},a=(0,i.en)((0,o.Z)(t,"refererInfo.page"));(0,i.xb)(a)||(n.page="".concat(a.protocol,"://").concat(a.hostname).concat(a.pathname)),null!==(r=t.refererInfo)&&void 0!==r&&r.ref&&(n.ref=t.refererInfo.ref);var c=document.getElementsByTagName("meta").keywords;c&&c.content&&(n.keywords=c.content);var u=(0,o.Z)(e,"params.site");return u&&Object.keys(u).filter((function(e){return(0,s.q9)(I,e)})).forEach((function(e){return n[e]=u[e]})),n}function q(e,t,r){if(t[r].length>e)return t[r]=t[r].substring(0,t[r].length-e),0;var n=e-t[r].length;return t[r]="",n}function U(e,t){return"".concat(t?y:g).concat(e)}(0,u.dX)(O),window.pbjs.installedModules.push("yieldmoBidAdapter")}},function(e){e.O(0,[6866],(function(){return t=5511,e(e.s=t);var t}));e.O()}]);
})(),pbjs.processQueue();