/* prebid.js v7.20.0
Updated: 2022-10-19
Modules: fpdModule, 33acrossBidAdapter, adagioBidAdapter, adponeBidAdapter, adyoulikeBidAdapter, amxBidAdapter, aolBidAdapter, apacdexBidAdapter, appnexusBidAdapter, brightcomBidAdapter, connectadBidAdapter, conversantBidAdapter, eplanningBidAdapter, ixBidAdapter, lockerdomeBidAdapter, medianetBidAdapter, microadBidAdapter, nobidBidAdapter, nextMillenniumBidAdapter, openxBidAdapter, pubmaticBidAdapter, rubiconBidAdapter, sharethroughBidAdapter, sonobiBidAdapter, sovrnBidAdapter, teadsBidAdapter, trionBidAdapter, tripleliftBidAdapter, resetdigitalBidAdapter, adtelligentBidAdapter, unrulyBidAdapter, gumgumBidAdapter, currency, priceFloors, schain, britepoolIdSystem, criteoIdSystem, id5IdSystem, intentIqIdSystem, sharedIdSystem, uid2IdSystem, userId, verizonMediaIdSystem, enrichmentFpdModule, gptPreAuction */
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 d},Th:function(){return c},_U:function(){return s}});var r=t(5730),i=t(4358),o=t(265),a=t(4614),u="outstream";function c(e){var n=this,t=e.url,o=e.config,a=e.id,c=e.callback,d=e.loaded,s=e.adUnitCode,l=e.renderNow;this.url=t,this.config=o,this.handlers={},this.id=a,this.loaded=d,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=c||function(){n.loaded=!0,n.process()},this.render=function(){var e=this,n=arguments,o=function(){e._render?e._render.apply(e,n):(0,i.yN)("No render function was provided, please use .setRender on the renderer")};f(s)?((0,i.yN)("External Js not loaded by Renderer since renderer url and callback is already defined on adUnit ".concat(s)),o()):l?o():(this.cmd.unshift(o),(0,r.B)(t,u,this.callback,this.documentContext))}.bind(this)}function d(e){return!(!e||!e.url)}function s(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)}function f(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)}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}}},3092:function(e,n,t){t.d(n,{VP:function(){return ae},ZP:function(){return fe},rp:function(){return ie},uV:function(){return ce},nX:function(){return oe}});var r=t(3324),i=t(4942),o=t(4358),a=t(265),u=t(1002),c=t(3193),d=t(4614),s=t(4679),f=[];function l(e,n){return e.labelAll?{labelAll:!0,labels:e.labelAll,activeLabels:n}:{labelAll:!1,labels:e.labelAny,activeLabels:n}}function g(){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,u=e.activeLabels,c=void 0===u?[]:u,l=arguments.length>1?arguments[1]:void 0,g=arguments.length>2?arguments[2]:void 0,v=arguments.length>3&&void 0!==arguments[3]?arguments[3]:f,h=p(v);(0,o.PO)(l)||(l=g?{banner:{sizes:g}}:{});var m=(0,a.Z)(l,"banner.sizes");h.shouldFilter&&m&&((l=(0,o.I8)(l)).banner.sizes=m.filter((function(e){return h.sizesSupported[e]})));var y={active:!l.hasOwnProperty(s.Mk)||(0,a.Z)(l,"banner.sizes.length")>0&&(0===t.length||!i&&(t.some((function(e){return h.labels[e]}))||t.some((function(e){return(0,d.q9)(c,e)})))||i&&t.reduce((function(e,n){return e?h.labels[n]||(0,d.q9)(c,n):e}),!0)),mediaTypes:l};return m&&m.length!==l.banner.sizes.length&&(y.filterResults={before:m,after:l.banner.sizes}),y}function p(e){return e.reduce((function(e,n){if("object"===(0,u.Z)(n)&&"string"==typeof n.mediaQuery&&n.mediaQuery.length>0){var t=!1;try{t=(0,o.Zy)().matchMedia(n.mediaQuery).matches}catch(e){(0,o.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,o.yN)('sizeConfig rule missing required property "mediaQuery"');return e}),{labels:{},sizesSupported:{},shouldFilter:!1})}c.vc.getConfig("sizeConfig",(function(e){return function(e){f=e}(e.sizeConfig)}));var v=t(59),h=t(5339),m=t(8928),y=t(2797),b=t(875),w=t(5102),C=t(136),A=t(2963),T=t(1120),E=t(5671),k=t(3144),O=t(8916),I=t(2793),B=t(8792);function j(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,T.Z)(e);if(n){var i=(0,T.Z)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,A.Z)(this,t)}}function S(e,n,t){U(e,n),n.set(e,t)}function U(e,n){if(n.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _(e,n,t){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return t}var R=new WeakMap,P=new WeakMap,N=new WeakMap,q=new WeakMap,x=new WeakSet,Z=function(){function e(){var n,t;(0,E.Z)(this,e),U(n=this,t=x),t.add(n),S(this,R,{writable:!0,value:void 0}),S(this,P,{writable:!0,value:void 0}),S(this,N,{writable:!0,value:void 0}),S(this,q,{writable:!0,value:void 0}),(0,i.Z)(this,"generatedTime",void 0),this.reset()}return(0,k.Z)(e,[{key:"reset",value:function(){(0,I.Z)(this,N,(0,B.P)()),(0,I.Z)(this,R,!1),(0,I.Z)(this,P,null),(0,I.Z)(this,q,!1),this.generatedTime=null}},{key:"enable",value:function(){(0,I.Z)(this,R,!0)}},{key:"enabled",get:function(){return(0,O.Z)(this,R)}},{key:"ready",get:function(){return(0,O.Z)(this,q)}},{key:"promise",get:function(){return(0,O.Z)(this,q)?B.Z.resolve((0,O.Z)(this,P)):((0,O.Z)(this,R)||_(this,x,D).call(this,null),(0,O.Z)(this,N).promise)}},{key:"setConsentData",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,o.AB)();this.generatedTime=n,_(this,x,D).call(this,e)}},{key:"getConsentData",value:function(){return(0,O.Z)(this,P)}}]),e}();function D(e){(0,I.Z)(this,q,!0),(0,I.Z)(this,P,e),(0,O.Z)(this,N).resolve(e)}var H=function(e){(0,C.Z)(t,e);var n=j(t);function t(){return(0,E.Z)(this,t),n.apply(this,arguments)}return(0,k.Z)(t,[{key:"getConsentMeta",value:function(){var e=this.getConsentData();if(e&&this.generatedTime)return{usp:e,generatedAt:this.generatedTime}}}]),t}(Z),F=function(e){(0,C.Z)(t,e);var n=j(t);function t(){return(0,E.Z)(this,t),n.apply(this,arguments)}return(0,k.Z)(t,[{key:"getConsentMeta",value:function(){var e=this.getConsentData();if(e&&e.vendorData&&this.generatedTime)return{gdprApplies:e.gdprApplies,consentStringSize:(0,o.d8)(e.vendorData.tcString)?e.vendorData.tcString.length:0,generatedAt:this.generatedTime,apiVersion:e.apiVersion}}}]),t}(Z),M=t(2021),z=t(5644),W=t(9128);function K(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 L(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?K(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):K(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var G="client",J="server",V={},Q=V.bidderRegistry={},Y=V.aliasRegistry={},X=[];c.vc.getConfig("s2sConfig",(function(e){e&&e.s2sConfig&&(X=(0,o.kJ)(e.s2sConfig)?e.s2sConfig:[e.s2sConfig])}));var $={};var ee=(0,y.z3)("sync",(function(e){var n=e.bidderCode,t=e.auctionId,r=e.bidderRequestId,i=e.adUnits,u=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 d=null==(n=Object.assign({},n,(0,o.iG)(i,["nativeParams","nativeOrtbRequest","ortb2Imp","mediaType","renderer"]))).mediaTypes?i.mediaTypes:n.mediaTypes;return(0,o.FS)(d)?n=Object.assign({},n,{mediaTypes:d}):(0,o.H)("mediaTypes is not correctly configured for adunit ".concat(i.code)),e.push(Object.assign({},n,{adUnitCode:i.code,transactionId:i.transactionId,sizes:(0,a.Z)(d,"banner.sizes")||(0,a.Z)(d,"video.playerSize")||[],bidId:n.bid_id||(0,o._d)(),bidderRequestId:r,auctionId:t,src:u,metrics:c,bidRequestsCount:b.f.getRequestsCounter(i.code),bidderRequestsCount:b.f.getBidderRequestsCounter(i.code,n.bidder),bidderWinsCount:b.f.getBidderWinsCounter(i.code,n.bidder)})),e}),[])),e}),[]).reduce(o.xH,[]).filter((function(e){return""!==e}))}),"getBids");var ne=(0,y.z3)("sync",(function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.getS2SBidders,i=void 0===r?ce:r;if(null==n)return e;var o=i(n);return e.filter((function(e){return o.has(e.bidder)}))}),"filterBidsForAdUnit");function te(e,n){var t=(0,o.I8)(e);return t.forEach((function(e){e.bids=ne(e.bids,n).map((function(e){return e.bid_id=(0,o._d)(),e}))})),t=t.filter((function(e){return 0!==e.bids.length}))}function re(e){var n=(0,o.I8)(e);return n.forEach((function(e){e.bids=ne(e.bids,null)})),n=n.filter((function(e){return 0!==e.bids.length}))}var ie=new F,oe=new H,ae={getCoppa:function(){return!!c.vc.getConfig("coppa")}},ue=(0,y.z3)("sync",(function(e,n){return function(e,n){return e.reduce((function(e,t){var r=g(l(t,n),t.mediaTypes,t.sizes),i=r.active,a=r.mediaTypes,u=r.filterResults;return i?(u&&(0,o.PN)('Size mapping filtered adUnit "'.concat(t.code,'" banner sizes from '),u.before,"to ",u.after),t.mediaTypes=a,t.bids=t.bids.reduce((function(e,r){var i=g(l(r,n),t.mediaTypes),a=i.active,u=i.mediaTypes,c=i.filterResults;return a?(c&&((0,o.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,o.PN)('Size mapping deactivated adUnit "'.concat(t.code,'" bidder "').concat(r.bidder,'"')),e}),[]),e.push(t)):(0,o.PN)('Size mapping disabled adUnit "'.concat(t.code,'"')),e}),[])}(e,n)}),"setupAdUnitMediaTypes");function ce(e){(0,o.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 de=(0,y.z3)("sync",(function(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=r.getS2SBidders,u=void 0===a?ce:a,c=u(n);return(0,o.pP)(e).reduce((function(e,n){return e[c.has(n)?J:G].push(n),e}),(t={},(0,i.Z)(t,G,[]),(0,i.Z)(t,J,[]),t))}),"partitionBidders");function se(e,n,t){try{var r=Q[e].getSpec();r&&r[n]&&"function"==typeof r[n]&&((0,o.PN)("Invoking ".concat(e,".").concat(n)),c.vc.runWithBidder(e,o.ak.call(r[n],r,t)))}catch(t){(0,o.yN)("Error calling ".concat(n," of ").concat(e))}}V.makeBidRequests=(0,y.z3)("sync",(function(e,n,t,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},u=arguments.length>6?arguments[6]:void 0;u=(0,W.Bf)(u),M.j8(z.FP.BEFORE_REQUEST_BIDS,e),(0,v.Fb)(e),e=ue(e,i);var s=de(e,X),f=s[G],l=s[J];c.vc.getConfig("bidderSequence")===c.FD&&(f=(0,o.TV)(f));var g=(0,w.nH)(),p=[],h=a.global||{},m=a.bidder||{};function y(e){var n=Object.freeze((0,o.Ee)({},h,m[e.bidderCode]));return e.ortb2=n,e.bids.forEach((function(e){return e.ortb2=n})),e}X.forEach((function(r){if(r&&r.enabled){var i=te(e,r),a=(0,o.DO)();l.forEach((function(e){var c=(0,o._d)(),d=u.fork(),s=y({bidderCode:e,auctionId:t,bidderRequestId:c,uniquePbsTid:a,bids:ee({bidderCode:e,auctionId:t,bidderRequestId:c,adUnits:(0,o.I8)(i),src:z.os.YZ,metrics:d}),auctionStart:n,timeout:r.timeout,src:z.os.YZ,refererInfo:g,metrics:d});0!==s.bids.length&&p.push(s)})),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=re(e);return f.forEach((function(e){var a=(0,o._d)(),c=u.fork(),d=y({bidderCode:e,auctionId:t,bidderRequestId:a,bids:ee({bidderCode:e,auctionId:t,bidderRequestId:a,adUnits:(0,o.I8)(b),labels:i,src:"client",metrics:c}),auctionStart:n,timeout:r,refererInfo:g,metrics:c}),s=Q[e];s||(0,o.H)("Trying to make a request for bidder that does not exist: ".concat(e)),s&&d.bids&&0!==d.bids.length&&p.push(d)})),ie.getConsentData()&&p.forEach((function(e){e.gdprConsent=ie.getConsentData()})),oe.getConsentData()&&p.forEach((function(e){e.uspConsent=oe.getConsentData()})),p.forEach((function(e){c.vc.runWithBidder(e.bidderCode,(function(){var n=c.vc.getConfig("fledgeEnabled");e.fledgeEnabled=navigator.runAdAuction&&n}))})),p}),"makeBidRequests"),V.callBids=function(e,n,t,i,a,u,d){var s=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===z.os.YZ)].push(n),e}),[[],[]]),l=(0,r.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;X.forEach((function(e){if(e&&v[h]&&ce(e).has(v[h].bidderCode)){var n=(0,m.O)(u,a?{request:a.request.bind(null,"s2s"),done:a.done}:void 0),r=e.bidders,c=Q[e.adapter],d=v[h].uniquePbsTid,f=v[h].adUnitsS2SCopy,l=p.filter((function(e){return e.uniquePbsTid===d}));if(c){var g={ad_units:f,s2sConfig:e,ortb2Fragments:s};if(g.ad_units.length){var y=l.map((function(e){return e.start=(0,o.AB)(),i.bind(e)})),b=(0,o.pP)(g.ad_units).filter((function(e){return r.includes(e)}));(0,o.ji)("CALLING S2S HEADER BIDDERS ==== ".concat(b.length>0?b.join(", "):'No bidder specified, using "ortb2Imp" definition(s) only')),l.forEach((function(e){M.j8(z.FP.BID_REQUESTED,L(L({},e),{},{tid:e.auctionId}))})),c.callBids(g,p,t,(function(){return y.forEach((function(e){return e()}))}),n)}}else(0,o.H)("missing "+e.adapter);h++}})),g.forEach((function(e){e.start=(0,o.AB)();var n=Q[e.bidderCode];c.vc.runWithBidder(e.bidderCode,(function(){(0,o.ji)("CALLING BIDDER"),M.j8(z.FP.BID_REQUESTED,e)}));var r=(0,m.O)(u,a?{request:a.request.bind(null,e.bidderCode),done:a.done}:void 0),s=i.bind(e);try{c.vc.runWithBidder(e.bidderCode,o.ak.call(n.callBids,n,e,t,s,r,d,c.vc.callbackWithBidder(e.bidderCode)))}catch(n){(0,o.H)("".concat(e.bidderCode," Bid Adapter emitted an uncaught error when parsing their bidRequest"),{e:n,bidRequest:e}),s()}}))}else(0,o.yN)("callBids executed with no bidRequests.  Were they filtered by labels or sizing?")},V.videoAdapters=[],V.registerBidAdapter=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.supportedMediaTypes,i=void 0===r?[]:r;e&&n?"function"==typeof e.callBids?(Q[n]=e,(0,d.q9)(i,"video")&&V.videoAdapters.push(n),(0,d.q9)(i,"native")&&v.Sg.push(n)):(0,o.H)("Bidder adaptor error for bidder code: "+n+"bidder must implement a callBids() function"):(0,o.H)("bidAdapter or bidderCode not specified")},V.aliasBidAdapter=function(e,n,t){if(void 0===Q[n]){var r=Q[e];if(void 0===r){var i=[];X.forEach((function(t){if(t.bidders&&t.bidders.length){var r=t&&t.bidders;t&&(0,d.q9)(r,n)?Y[n]=e:i.push(e)}})),i.forEach((function(e){(0,o.H)('bidderCode "'+e+'" is not an existing bidder.',"adapterManager.aliasBidAdapter")}))}else try{var a,u=function(e){var n=[];return(0,d.q9)(V.videoAdapters,e)&&n.push("video"),(0,d.q9)(v.Sg,e)&&n.push("native"),n}(e);if(r.constructor.prototype!=Object.prototype)(a=new r.constructor).setBidderCode(n);else{var c=r.getSpec(),s=t&&t.gvlid,f=t&&t.skipPbsAliasing;a=(0,h.PZ)(Object.assign({},c,{code:n,gvlid:s,skipPbsAliasing:f})),Y[n]=e}V.registerBidAdapter(a,n,{supportedMediaTypes:u})}catch(n){(0,o.H)(e+" bidder does not currently support aliasing.","adapterManager.aliasBidAdapter")}}else(0,o.ji)('alias name "'+n+'" has been already specified.')},V.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,o.H)('Prebid Error: Analytics adaptor error for analytics "'.concat(t,'"\n        analytics adapter must implement an enableAnalytics() function')):(0,o.H)("Prebid Error: analyticsAdapter or analyticsCode not specified")},V.enableAnalytics=function(e){(0,o.kJ)(e)||(e=[e]),(0,o.yi)(e,(function(e){var n=$[e.provider];n&&n.adapter?n.adapter.enableAnalytics(e):(0,o.H)("Prebid Error: no analytics adapter found in registry for '".concat(e.provider,"'."))}))},V.getBidAdapter=function(e){return Q[e]},V.getAnalyticsAdapter=function(e){return $[e]},V.callTimedOutBidders=function(e,n,t){n=n.map((function(n){return n.params=(0,o.S0)(e,n.adUnitCode,n.bidder),n.timeout=t,n})),n=(0,o.vM)(n,"bidder"),Object.keys(n).forEach((function(e){se(e,"onTimeout",n[e])}))},V.callBidWonBidder=function(e,n,t){n.params=(0,o.S0)(t,n.adUnitCode,n.bidder),b.f.incrementBidderWinsCounter(n.adUnitCode,n.bidder),se(e,"onBidWon",n)},V.callSetTargetingBidder=function(e,n){se(e,"onSetTargeting",n)},V.callBidViewableBidder=function(e,n){se(e,"onBidViewable",n)},V.callBidderError=function(e,n,t){se(e,"onBidderError",{error:n,bidderRequest:t})};var fe=V},5339:function(e,n,t){t.d(n,{Q1:function(){return U},PZ:function(){return I},dX:function(){return O}});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(3092),u=t(3193),c=t(9626),d=t(1974),s=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"),k=["cpm","ttl","creativeId","netRevenue","currency"];function O(e){var n=Array.isArray(e.supportedMediaTypes)?{supportedMediaTypes:e.supportedMediaTypes}:void 0;function t(e){var t=I(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 I(e){return Object.assign(new o(e.code),{getSpec:function(){return Object.freeze(e)},registerSyncs:n,callBids:function(r,i,o,d,v,m){if(Array.isArray(r.bids)){var y={},b=[],w=R(r).measureTime("validate",(function(){return r.bids.filter(t)}));if(0!==w.length){var E={};w.forEach((function(e){E[e.bidId]=e,e.adUnitCode||(e.adUnitCode=e.placementCode)})),B(e,w,r,d,m,{onRequest:function(e){return g.j8(l.FP.BEFORE_BIDDER_HTTP,r,e)},onResponse:function(n){v(e.code),b.push(n)},onFledgeAuctionConfigs:function(e){e.forEach((function(e){var n=E[e.bidId];n&&S(n,e)}))},onError:function(n,t){v(e.code),a.ZP.callBidderError(e.code,t,r),g.j8(l.FP.BIDDER_ERROR,{error:t,bidderRequest:r}),(0,h.H)("Server call for ".concat(e.code," failed: ").concat(n," ").concat(t.status,". Continuing without bids."))},onBid:function(n){var t=E[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 i.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);O(t.adUnitCode,r)}else(0,h.yN)("Bidder ".concat(e.code," made bid for unknown request ID: ").concat(n.requestId,". Ignoring.")),i.reject(null,n,l.Gw.Gp)},onCompletion:I})}else I()}function O(e,n){var t=(0,T.Bf)(n.metrics);t.checkpoint("addBidResponse"),y[e]=!0,t.measureTime("addBidResponse.validate",(function(){return function(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,r=void 0===t?C.K.index:t;function i(){var e=Object.keys(n);return k.every((function(t){return(0,p.q9)(e,t)&&!(0,p.q9)([void 0,null],n[t])}))}function o(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(!i())return(0,h.H)(o("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,s.r4)(n,{index:r}))return(0,h.H)(o("Native bid missing some required properties.")),!1;if("video"===n.mediaType&&!(0,f.Dn)(n,{index:r}))return(0,h.H)(o("Video bid does not have required vastUrl or renderer property")),!1;if("banner"===n.mediaType&&!_(e,n,{index:r}))return(0,h.H)(o("Banner bids require a width and height that match one of the requested sizes")),!1;return!0}(e,n)}))?i(e,n):i.reject(e,n,l.Gw.UI)}function I(){o(),u.vc.runWithBidder(e.code,(function(){g.j8(l.FP.BIDDER_DONE,r),n(b,r.gdprConsent,r.uspConsent)}))}}});function n(n,t,r){j(e,n,t,r)}function t(n){return!!e.isBidRequestValid(n)||((0,h.yN)("Invalid bid sent to bidder ".concat(e.code,": ").concat(JSON.stringify(n))),!1)}}var B=(0,b.z3)("sync",(function(e,n,t,r,o,a){var u=a.onRequest,c=a.onResponse,d=a.onFledgeAuctionConfigs,s=a.onError,f=a.onBid,l=a.onCompletion,g=R(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)?(d(r.fledgeAuctionConfigs),o=r.bids):o=r,o&&((0,h.kJ)(o)?o.forEach(a):a(o)),v()})),p=o((function(e,n){m(),s(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"),j=(0,b.z3)("async",(function(e,n,t,r){var i=u.vc.getConfig("userSync.aliasSyncEnabled");if(e.getUserSyncs&&(i||!a.ZP.aliasRegistry[e.code])){var o=u.vc.getConfig("userSync.filterSettings"),c=e.getUserSyncs({iframeEnabled:!(!o||!o.iframe&&!o.all),pixelEnabled:!(!o||!o.image&&!o.all)},n,t,r);c&&(Array.isArray(c)||(c=[c]),c.forEach((function(n){d.k_.registerSync(n.type,e.code,n.url)})))}}),"registerSyncs"),S=(0,b.z3)("sync",(function(e,n){(0,h.PN)("bidderFactory.addComponentAuction",n)}),"addComponentAuction");function U(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 _(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.index,o=void 0===i?C.K.index:i,a=o.getBidRequest(n),u=o.getMediaTypes(n),c=a&&a.sizes||u&&u.banner&&u.banner.sizes,d=(0,h.sF)(c).map((function(e){return e.split("x").map((function(e){return parseInt(e,10)}))}));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===d.length||d.some((function(e){var t=(0,r.Z)(e,2),i=t[0],o=t[1];return n.width===i&&n.height===o}));if(1===d.length){var s=(0,r.Z)(d[0],2);return n.width=s[0],n.height=s[1],!0}return!1}function R(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:1,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"];function u(e,n,t,u,c){if(n&&e){if((0,r.q9)(a,n)){u||(u=document);var d=l(u,e);if(d)return t&&"function"==typeof t&&(d.loaded?t():d.callbacks.push(t)),d.tag;var s=o.get(u)||{},f={loaded:!1,tag:null,callbacks:[]};return s[e]=f,o.set(u,s),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 u},h:function(){return a}});var r=t(1002),i=t(3193),o=t(4358),a=u();function u(){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,a=n.done;return function(n,u,c){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var s,f=d.method||(c?"POST":"GET"),l=document.createElement("a");l.href=n;var g="object"===(0,r.Z)(u)&&null!==u?u:{success:function(){(0,o.ji)("xhr success")},error:function(e){(0,o.H)("xhr error",null,e)}};if("function"==typeof u&&(g.success=u),(s=new window.XMLHttpRequest).onreadystatechange=function(){if(4===s.readyState){"function"==typeof a&&a(l.origin);var e=s.status;e>=200&&e<300||304===e?g.success(s.responseText,s):g.error(s.statusText,s)}},i.vc.getConfig("disableAjaxTimeout")||(s.ontimeout=function(){(0,o.H)("  xhr timeout after ",s.timeout,"ms")}),"GET"===f&&c){var p=(0,o.en)(n,d);Object.assign(p.search,c),n=(0,o.Q2)(p)}s.open(f,n,!0),i.vc.getConfig("disableAjaxTimeout")||(s.timeout=e),d.withCredentials&&(s.withCredentials=!0),(0,o.yi)(d.customHeaders,(function(e,n){s.setRequestHeader(n,e)})),d.preflight&&s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.setRequestHeader("Content-Type",d.contentType||"text/plain"),"function"==typeof t&&t(l.origin),"POST"===f&&c?s.send(c):s.send()}catch(e){(0,o.H)("xhr construction",e),"object"===(0,r.Z)(u)&&null!==u&&u.error(e)}}}},5383:function(e,n,t){t.d(n,{K:function(){return $}});var r=t(4358),i=t(1002),o=t(3324),a=t(265),u=t(6463),c=t(59),d=t(8928),s=t(3193);function f(e,n){var t=n?"<![CDATA[".concat(n,"]]>"):"";return'<VAST version="3.0">\n    <Ad>\n      <Wrapper>\n        <AdSystem>prebid.org wrapper</AdSystem>\n        <VASTAdTagURI><![CDATA['.concat(e,"]]></VASTAdTagURI>\n        <Impression>").concat(t,"</Impression>\n        <Creatives></Creatives>\n      </Wrapper>\n    </Ad>\n  </VAST>")}function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.index,r=void 0===t?$.index:t,i=e.vastXml?e.vastXml:f(e.vastUrl,e.vastImpUrl),o=r.getAuction(e),a=Number(e.ttl)+15,u={type:"xml",value:i,ttlseconds:a};return s.vc.getConfig("cache.vasttrack")&&(u.bidder=e.bidder,u.bidid=e.requestId,u.aid=e.auctionId),null!=o&&(u.timestamp=o.getAuctionStart()),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(u.key=e.customCacheKey),u}function g(e,n){var t={puts:e.map(l)};(0,d.h)(s.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(3092),T=t(5644),E=t(8792),k=t(9128),O=t(9626),I=v.k_.syncUsers,B="completed";C.on(T.FP.BID_ADJUSTMENT,(function(e){!function(e){var n=e.bidderCode,t=e.cpm,i=w.S.get(n||null,"bidCpmAdjustment");if(i&&"function"==typeof i)try{t=i(e.cpm,Object.assign({},e))}catch(e){(0,r.H)("Error during bid adjustment","bidmanager.js",e)}t>=0&&(e.cpm=t)}(e)}));var j={},S={},U=[];function _(e){var n=e.adUnits,t=e.adUnitCodes,i=e.callback,a=e.cbTimeout,u=e.labels,c=e.auctionId,d=e.ortb2Fragments,f=e.metrics;f=(0,k.Bf)(f);var l,g,p,v,h=n,y=u,b=t,w=c||(0,r.DO)(),_=a,q=new Set,D=[],H=i,F=[],M=[],z=[],L=[];function G(){return{auctionId:w,timestamp:l,auctionEnd:g,auctionStatus:v,adUnits:h,adUnitCodes:b,labels:y,bidderRequests:F,noBids:z,bidsReceived:M,bidsRejected:D,winningBids:L,timeout:_,metrics:f}}function J(e,t){if(t&&clearTimeout(p),void 0===g){var i=[];e&&((0,r.ji)("Auction ".concat(w," timedOut")),o=q,(i=F.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)),v=B,g=Date.now(),f.checkpoint("auctionEnd"),f.timeBetween("requestBids","auctionEnd","requestBids.total"),f.timeBetween("callBids","auctionEnd","requestBids.callBids"),C.j8(T.FP.AUCTION_END,G()),N(h,(function(){try{if(null!=H){var t=b,o=M.filter(r.ak.call(r.IK,this,t)).reduce(Y,{});H.apply(pbjs,[o,e,w]),H=null}}catch(e){(0,r.H)("Error executing bidsBackHandler",null,e)}finally{i.length&&A.ZP.callTimedOutBidders(n,i,_);var a=s.vc.getConfig("userSync")||{};a.enableOverride||I(a.syncDelay)}}))}var o}function V(){s.vc.resetBidder(),(0,r.PN)("Bids Received for Auction with id: ".concat(w),M),v=B,J(!1,!0)}function Q(e){q.add(e)}function X(e){var n=this;e.forEach((function(e){var n;n=e,F=F.concat(n)}));var t={},i={bidRequests:e,run:function(){var i,c;i=J.bind(null,!0),c=setTimeout(i,_),p=c,v="inProgress",C.j8(T.FP.AUCTION_INIT,G());var f=function(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,i=void 0===t?$.index:t,a=0,u=!1,c=new Set,d={},f={};function l(e,n){null==f[e]&&(f[e]=E.Z.resolve()),f[e]=f[e].then((function(){return E.Z.resolve(n).catch((function(){}))}))}function g(e,t){var r=e.timeout;(null==r||r>n.getTimeout())&&(r=n.getTimeout());var i=n.getAuctionStart()+r-Date.now(),o=f[e.bidderRequestId],a=f[""];(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 p(){a--,u&&0===a&&e()}function v(e,n,t){return d[n.requestId]=!0,W(n,e),a++,t(p)}function h(e,t){v(e,t,(function(e){var r=K(t);"video"===r.mediaType?Z(n,r,e):(x(n,r),e())}))}function y(e,t,i){return v(e,t,(function(e){var a=(0,O.m)(T.Q_.H,t.getIdentifiers());return Object.assign(a,Object.fromEntries(Object.entries(t).filter((function(e){var n=(0,o.Z)(e,1)[0];return!a.hasOwnProperty(n)&&!["ad","adUrl","vastXml","vastUrl","native"].includes(n)})))),a.status=T.UE.G9,a.cpm=0,t.rejectionReason=i,(0,r.yN)("Bid from ".concat(t.bidder||"unknown bidder"," was rejected: ").concat(i),t),C.j8(T.FP.BID_REJECTED,t),n.addBidRejected(t),e(),a}))}function b(){var t=this,i=n.getBidRequests(),o=s.vc.getConfig("auctionOptions");if(c.add(t),o&&!(0,r.xb)(o)){var f=o.secondaryBidders;f&&!i.every((function(e){return(0,m.q9)(f,e.bidderCode)}))&&(i=i.filter((function(e){return!(0,m.q9)(f,e.bidderCode)})))}u=i.every((function(e){return c.has(e)})),t.bids.forEach((function(e){d[e.bidId]||(n.addNoBid(e),C.j8(T.FP.NO_BID,e))})),u&&0===a&&e()}return{addBidResponse:function(){function e(e,n){var t,r=i.getBidderRequest(n);l(r&&r.bidderRequestId||"",R.call({dispatch:h},e,n,(function(r){return null==t&&(t=y(e,n,r)),t})))}return e.reject=y,e}(),adapterDone:function(){g(this,b.bind(this))}}}(V,n);A.ZP.callBids(h,e,f.addBidResponse,f.adapterDone,{request:function(e,n){u(j,n),u(t,e),S[e]||(S[e]={SRA:!0,origin:n}),t[e]>1&&(S[e].SRA=!1)},done:function(e){j[e]--,U[0]&&a(U[0])&&U.shift()}},_,Q,d)}};function a(e){var n=!0,t=s.vc.getConfig("maxRequestsPerOrigin")||4;return e.bidRequests.some((function(e){var r=1,i=void 0!==e.src&&e.src===T.os.YZ?"s2s":e.bidderCode;return S[i]&&(!1===S[i].SRA&&(r=Math.min(e.bids.length,t)),j[S[i].origin]+r>t&&(n=!1)),!n})),n&&e.run(),n}function u(e,n){void 0===e[n]?e[n]=1:e[n]++}a(i)||((0,r.yN)("queueing auction due to limited endpoint capacity"),U.push(i))}return{addBidReceived:function(e){M=M.concat(e)},addBidRejected:function(e){D=D.concat(e)},addNoBid:function(e){z=z.concat(e)},executeCallback:J,callBids:function(){v="started",l=Date.now();var e=f.measureTime("requestBids.makeRequests",(function(){return A.ZP.makeBidRequests(h,l,w,_,y,d,f)}));(0,r.PN)("Bids Requested for Auction with id: ".concat(w),e),f.checkpoint("callBids"),e.length<1?((0,r.yN)("No valid bid requests returned for auction"),V()):P.call({dispatch:X,context:this},e)},addWinningBid:function(e){L=L.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 L},getAuctionStart:function(){return l},getTimeout:function(){return _},getAuctionId:function(){return w},getAuctionStatus:function(){return v},getAdUnits:function(){return h},getAdUnitCodes:function(){return b},getBidRequests:function(){return F},getBidsReceived:function(){return M},getNoBids:function(){return z},getFPD:function(){return d},getMetrics:function(){return f}}}var R=(0,h.z3)("sync",(function(e,n,t){this.dispatch.call(null,e,n)}),"addBidResponse"),P=(0,h.z3)("sync",(function(e){this.dispatch.call(this.context,e)}),"addBidderRequests"),N=(0,h.z3)("async",(function(e,n){n&&n()}),"bidsBackCallback");function q(e,n){n.timeToRespond>e.getTimeout()+s.vc.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function x(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]:{}).index,r=void 0===t?$.index:t;if(!n)return{};var i=r.getBidRequest(n),o={},a=V(n.mediaType,e);Q(o,a,n,i),e&&w.S.getOwn(e,T.k2.xn)&&(Q(o,w.S.ownSettingsFor(e),n,i),n.sendStandardTargeting=w.S.get(e,"sendStandardTargeting"));n.native&&(o=Object.assign({},o,(0,c.Ur)(n)));return o}(e.bidderCode,e));e.adserverTargeting=Object.assign(e.adserverTargeting||{},n)}(n),(0,k.Bf)(n.metrics).timeSince("addBidResponse","addBidResponse.total"),C.j8(T.FP.BID_RESPONSE,n),e.addBidReceived(n),q(e,n)}function Z(e,n,t){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.index,u=void 0===o?$.index:o,c=!0,d=(0,a.Z)(u.getMediaTypes({requestId:n.originalRequestId||n.requestId,transactionId:n.transactionId}),"video"),f=d&&(0,a.Z)(d,"context"),l=d&&(0,a.Z)(d,"useCacheKey");s.vc.getConfig("cache.url")&&(l||f!==y.gZ)&&(!n.videoCacheKey||s.vc.getConfig("cache.ignoreBidderCacheKey")?(c=!1,z(e,n,t,d)):n.vastUrl||((0,r.H)("videoCacheKey specified but not required vastUrl for video bid"),c=!1)),c&&(x(e,n),t())}var D,H,F=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,d=a.afterBidAdded;n?((0,r.yN)("Failed to save to the video cache: ".concat(n,". Video bid must be discarded.")),q(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."),q(u,c)):(c.videoCacheKey=t.uuid,c.vastUrl||(c.vastUrl=(o=c.videoCacheKey,"".concat(s.vc.getConfig("cache.url"),"?uuid=").concat(o))),x(u,c),d())}))}))};s.vc.getConfig("cache",(function(e){D="number"==typeof e.cache.batchSize&&e.cache.batchSize>0?e.cache.batchSize:1,H="number"==typeof e.cache.batchTimeout&&e.cache.batchTimeout>0?e.cache.batchTimeout:0}));var M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:setTimeout,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:F,t=[[]],r=!1,i=function(e){return e()};return function(o,a,u){var c=H>0?e:i;t[t.length-1].length>=D&&t.push([]),t[t.length-1].push({auctionInstance:o,bidResponse:a,afterBidAdded:u}),r||(r=!0,c((function(){t.forEach(n),t=[[]],r=!1}),H))}}(),z=(0,h.z3)("async",(function(e,n,t,r){M(e,n,t)}),"callPrebidCache");function W(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.index,o=void 0===i?$.index:i,a=o.getBidderRequest(e),u=a&&a.start||e.requestTimestamp;Object.assign(e,{responseTimestamp:e.responseTimestamp||(0,r.AB)(),requestTimestamp:e.requestTimestamp||u,cpm:e.cpm||parseFloat(e.cpm)||0,bidder:e.bidder||e.bidderCode,adUnitCode:n}),e.timeToRespond=e.responseTimestamp-e.requestTimestamp}function K(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.index,r=void 0===t?$.index:t;C.j8(T.FP.BID_ADJUSTMENT,e);var o=r.getAdUnit(e).renderer,a=e.mediaType,c=r.getMediaTypes(e),d=c&&c[a],f=d&&d.renderer,l=null;f&&f.url&&f.render&&(!0!==f.backupOnly||!e.renderer)?l=f:o&&o.url&&o.render&&(!0!==o.backupOnly||!e.renderer)&&(l=o),l&&(e.renderer=p.Th.install({url:l.url,config:l.options}),e.renderer.setRender(l.render));var g=L(e.mediaType,c,s.vc.getConfig("mediaTypePriceGranularity")),v=(0,u.D)(e.cpm,"object"===(0,i.Z)(g)?g:s.vc.getConfig("customPriceBucket"),s.vc.getConfig("currency.granularityMultiplier"));return e.pbLg=v.low,e.pbMg=v.med,e.pbHg=v.high,e.pbAg=v.auto,e.pbDg=v.dense,e.pbCg=v.custom,e}function L(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 G=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?$.index:n,r=L(e.mediaType,t.getMediaTypes(e),s.vc.getConfig("mediaTypePriceGranularity"));return"string"==typeof e.mediaType&&r?"string"==typeof r?r:"custom":s.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}};function J(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 V(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[J(e.BIDDER,"bidderCode"),J(e.AD_ID,"adId"),J(e.PRICE_BUCKET,G()),J(e.SIZE,"size"),J(e.DEAL,"dealId"),J(e.SOURCE,"source"),J(e.FORMAT,"mediaType"),J(e.ADOMAIN,(function(e){return e.meta&&e.meta.advertiserDomains&&e.meta.advertiserDomains.length>0?e.meta.advertiserDomains[0]:""}))]}()),"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(J(e,"videoCacheKey"))})),s.vc.getConfig("cache.url")&&(!n||!1!==w.S.get(n,"sendStandardTargeting"))){var u=(0,r.en)(s.vc.getConfig("cache.url"));void 0===(0,m.sE)(o,(function(e){return e.key===t.CACHE_HOST}))&&o.push(J(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 Q(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 Y(e,n){return e[n.adUnitCode]||(e[n.adUnitCode]={bids:[]}),e[n.adUnitCode].bids.push(n),e}function X(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 $=function(){var e=[],n={};return n.addWinningBid=function(n){var t=(0,k.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()===B)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=_(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 V()[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 X((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 d(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 s(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),d(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=s(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=s(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,d=n.auctionId,s=i,f=e||0;function l(){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.bidderCode=a,this.width=0,this.height=0,this.statusMessage=l(),this.adId=(0,r._d)(),this.requestId=u,this.transactionId=c,this.auctionId=d,this.mediaType="banner",this.source=s,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 g},vc:function(){return y}});var r=t(4942),i=t(1002),o=t(3324),a=t(6463),u=t(4614),c=t(4358),d=t(265),s=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)(s.f).toUpperCase(),g="random",p={};p[g]=!0,p.fixed=!0;var v=g,h={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},m="*";var y=function(){var e,n,t,s=[],g=null;function y(){e={};var r={_debug:l,get debug(){return this._debug},set debug(e){this._debug=e},_bidderTimeout:3e3,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:h.MEDIUM,set priceGranularity(e){o(e)&&("string"==typeof e?this._priceGranularity=i(e)?e:h.MEDIUM:(0,c.PO)(e)&&(this._customPriceBucket=e,this._priceGranularity=h.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:true,get enableSendAllBids(){return this._sendAllBids},set enableSendAllBids(e){this._sendAllBids=e},_useBidCache:false,get useBidCache(){return this._useBidCache},set useBidCache(e){this._useBidCache=e},_deviceAccess:true,get deviceAccess(){return this._deviceAccess},set deviceAccess(e){this._deviceAccess=e},_bidderSequence:v,get bidderSequence(){return this._bidderSequence},set bidderSequence(e){p[e]?this._bidderSequence=e:(0,c.yN)("Invalid order: ".concat(e,". Bidder Sequence was not set."))},_timeoutBuffer:400,get timeoutBuffer(){return this._timeoutBuffer},set timeoutBuffer(e){this._timeoutBuffer=e},_disableAjaxTimeout:false,get disableAjaxTimeout(){return this._disableAjaxTimeout},set disableAjaxTimeout(e){this._disableAjaxTimeout=e},_maxNestedIframes:10,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(h),(function(n){return e===h[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&&S(Object.keys(n).reduce((function(e,t){return n[t]!==r[t]&&(e[t]=r[t]||{}),e}),{})),n=r,t={}}function b(){if(g&&t&&(0,c.PO)(t[g])){var e=t[g],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 w=[b,function(){var e=b();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,d.Z)(e(),n):b()}return j.apply(void 0,arguments)}})),C=(0,o.Z)(w,2),A=C[0],T=C[1],E=[T,A].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}})),k=(0,o.Z)(E,2),O=k[0],I=k[1];function B(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)}})),S(i)}else(0,c.H)("setConfig options must be an object")}function j(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n;if("string"!=typeof e&&(i=e,e=m,t=n||{}),"function"==typeof i){var o={topic:e,callback:i};return s.push(o),t.init&&i(e===m?T():(0,r.Z)({},e,T(e))),function(){s.splice(s.indexOf(o),1)}}(0,c.H)("listener must be a function")}function S(e){var n=Object.keys(e);s.filter((function(e){return(0,u.q9)(n,e.topic)})).forEach((function(n){n.callback((0,r.Z)({},n.topic,e[n.topic]))})),s.filter((function(e){return e.topic===m})).forEach((function(n){return n.callback(e)}))}function U(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{r(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 r(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"}}function _(e,n){g=e;try{return n()}finally{R()}}function R(){g=null}return y(),{getCurrentBidder:function(){return g},resetBidder:R,getConfig:T,getAnyConfig:A,readConfig:O,readAnyConfig:I,setConfig:B,mergeConfig:function(e){if((0,c.PO)(e)){var n=(0,c.Ee)(b(),e);return B(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:y,runWithBidder:_,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 _(e,c.ak.call.apply(c.ak,[n,this].concat(r)))}(0,c.yN)("config.callbackWithBidder callback is not a function")}}},setBidderConfig:U,getBidderConfig:function(){return t},mergeBidderConfig:function(e){return U(e,!0)}}}()},6463:function(e,n,t){t.d(n,{D:function(){return f},t:function(){return g}});var r=t(4614),i=t(4358),o=t(3193),a={buckets:[{max:5,increment:.5}]},u={buckets:[{max:20,increment:.1}]},c={buckets:[{max:20,increment:.01}]},d={buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5}]},s={buckets:[{max:5,increment:.05},{max:10,increment:.1},{max:20,increment:.5}]};function f(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":l(e,a,t),med:""===r?"":l(e,u,t),high:""===r?"":l(e,c,t),auto:""===r?"":l(e,s,t),dense:""===r?"":l(e,d,t),custom:""===r?"":l(e,n,t)}}function l(e,n,t){var a="";if(!g(n))return a;var u=n.buckets.reduce((function(e,n){return e.max>n.max?e:n}),{max:0}),c=0,d=(0,r.sE)(n.buckets,(function(n){if(e>u.max*t){var r=n.precision;void 0===r&&(r=2),a=(n.max*t).toFixed(r)}else{if(e<=n.max*t&&e>=c*t)return n.min=c,n;c=n.max}}));return d&&(a=function(e,n,t){var r=void 0!==n.precision?n.precision:2,a=n.increment*t,u=n.min*t,c=Math.floor,d=o.vc.getConfig("cpmRoundingFunction");"function"==typeof d&&(c=d);var s,f,l=Math.pow(10,r+2),g=(e*l-u*l)/(a*l);try{s=c(g)*a+u}catch(e){f=!0}(f||"number"!=typeof s)&&((0,i.yN)("Invalid rounding function passed in config"),s=Math.floor(g)*a+u);return(s=Number(s.toFixed(10))).toFixed(r)}(e,d,t)),a}function g(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,d=[],s=function(){var e={},n={};function t(n,t){r.ji("Emitting event for: "+n);var i=t[0]||{},o=i[c[n]],u=e[n]||{que:[]},s=r.HA(u,(function(e,n){return n})),f=[];d.push({eventType:n,args:i,id:o,elapsedTime:r.bd()}),o&&r.r3(s,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)}}))}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(e){var n=o.call(arguments,1);t(e,n)},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.getEvents=function(){var e=[];return r.yi(d,(function(n){var t=Object.assign({},n);e.push(t)})),e},n}();r.u2(s.emit.bind(s));var f=s.on,l=s.off,g=(s.get,s.getEvents),p=s.emit},2797:function(e,n,t){t.d(n,{Bx:function(){return g},Cd:function(){return d},IF:function(){return p},bA:function(){return l},v5:function(){return s},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 d=c.promise,s=u.get;var f={};function l(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t.postInstallAllowed,o=void 0!==i&&i;u("async",(function(t){t.forEach((function(e){return n.apply(void 0,(0,r.Z)(e))})),o&&(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);s(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 B},JL:function(){return x},Sg:function(){return v},Ur:function(){return R},e6:function(){return _},eK:function(){return q},lY:function(){return F},r4:function(){return S},xc:function(){return h}});var r=t(3324),i=t(4942),o=t(265),a=t(4358),u=t(4614),c=t(5383),d=t(5644),s=t(4679);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 l(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 l(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 l(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 g(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 p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?g(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):g(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var v=[],h=Object.keys(d.FY).map((function(e){return d.FY[e]})),m={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}}},y=d.s$,b=d.oF,w=d.V1,C=d.zA,A=d.FY,T=K(w),E=K(y),k={img:1,js:2,1:"img",2:"js"},O=1;function I(e){if(e&&e.type&&function(e){if(!e||!(0,u.q9)(Object.keys(m),e))return(0,a.H)("".concat(e," nativeParam is not supported")),!1;return!0}(e.type)&&(e=m[e.type]),!e||!e.ortb||j(e.ortb))return e}function B(e){e.forEach((function(e){var n=e.nativeParams||(0,o.Z)(e,"mediaTypes.native");n&&(e.nativeParams=I(n)),e.nativeParams&&(e.nativeOrtbRequest=e.nativeParams.ortb||function(e){if(!e&&!(0,a.PO)(e))return void(0,a.H)("Native assets object is empty or not an object: ",e);var n={ver:"1.2",assets:[]};for(var t in e)if(!C.includes(t))if(A.hasOwnProperty(t)){var r=e[t],i=0;r.required&&(0,a.jn)(r.required)&&(i=Number(r.required));var o={id:n.assets.length,required:i};if(t in w)o.data={type:y[w[t]]},r.len&&(o.data.len=r.len);else if("icon"===t||"image"===t){if(o.img={type:"icon"===t?b.ICON:b.MAIN},r.aspect_ratios)if((0,a.kJ)(r.aspect_ratios))if(r.aspect_ratios.length){var u=r.aspect_ratios[0],c=u.min_width,d=u.min_height;(0,a.U)(c)&&(0,a.U)(d)?(o.img.wmin=c,o.img.hmin=d):(0,a.H)("image.aspect_ratios min_width or min_height are invalid: ",c,d);var s=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)}));s.length>0&&(o.img.ext={aspectratios:s})}else(0,a.H)("image.aspect_ratios was passed, but it's empty:",r.aspect_ratios);else(0,a.H)("image.aspect_ratios was passed, but it's not a an array:",r.aspect_ratios);r.sizes&&(2===r.sizes.length&&(0,a.U)(r.sizes[0])&&(0,a.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,a.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,a.H)("Unrecognized native asset code: ".concat(t,". Asset will be ignored."));return n}(e.nativeParams))}))}function j(e){var n=e.assets;if(!Array.isArray(n)||0===n.length)return(0,a.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,a.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,a.H)("ortb.eventtrackers is not an array. Eventtrackers: ",e.eventtrackers),!1):n.every((function(e){return function(e){if(!(0,a.PO)(e))return(0,a.H)("asset must be an object. Provided asset: ",e),!1;if(e.img){if(!(0,a.hj)(e.img.w)&&!(0,a.hj)(e.img.wmin))return(0,a.H)("for img asset there must be 'w' or 'wmin' property"),!1;if(!(0,a.hj)(e.img.h)&&!(0,a.hj)(e.img.hmin))return(0,a.H)("for img asset there must be 'h' or 'hmin' property"),!1}else if(e.title){if(!(0,a.hj)(e.title.len))return(0,a.H)("for title asset there must be 'len' property defined"),!1}else if(e.data){if(!(0,a.hj)(e.data.type))return(0,a.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,a.hj)(e.video.minduration)&&(0,a.hj)(e.video.maxduration)))return(0,a.H)("video asset is not properly configured"),!1;return!0}(e)}))}function S(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.index,i=void 0===r?c.K.index:r,o=i.getAdUnit(e);if(!o)return!1;var a=o.nativeOrtbRequest,u=(null===(n=e.native)||void 0===n?void 0:n.ortb)||z(e.native,a);return U(u,a)}function U(e,n){if(!(0,o.Z)(e,"link.url"))return(0,a.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,u.q9)(r,e)}));return i||(0,a.H)("didn't receive a bid with all required assets. Required ids: ".concat(t,", but received ids in response: ").concat(r)),i}function _(e,n){var t=n.native.ortb||M(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]:{}).fetchURL,r=void 0===t?a.hq:t;if(n){var i,o=(e.assets||[]).filter((function(e){return e.link})).reduce((function(e,n){return e[n.id]=n.link,e}),{}),u=(null===(i=e.link)||void 0===i?void 0:i.clicktrackers)||[],c=o[n],d=u;c&&(d=c.clicktrackers||[]),d.forEach((function(e){return r(e)}))}else{var s;((null===(s=e.link)||void 0===s?void 0:s.clicktrackers)||[]).forEach((function(e){return r(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,a.$8)(e)}:t,i=n.fetchURL,o=void 0===i?a.hq:i,u=(e.eventtrackers||[]).filter((function(e){return e.event===O})).reduce((function(e,n){return k.hasOwnProperty(n.method)&&e[k[n.method]].push(n.url),e}),{img:[],js:[]}),c=u.img,d=u.js;e.imptrackers&&(c=c.concat(e.imptrackers));c.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 R(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.index,r=void 0===t?c.K.index:t,i={},a=r.getAdUnit(e);(0,o.Z)(a,"nativeParams.rendererUrl")?e.native.rendererUrl=Z(a.nativeParams.rendererUrl):(0,o.Z)(a,"nativeParams.adTemplate")&&(e.native.adTemplate=Z(a.nativeParams.adTemplate));var u=!1!==(0,o.Z)(a,"nativeParams.sendTargetingKeys"),d=D(a),s=p(p({},e.native),e.native.ext);return delete s.ext,Object.keys(s).forEach((function(n){var t=d[n],r=Z(e.native[n])||Z((0,o.Z)(e,"native.ext.".concat(n)));if("adTemplate"!==n&&t&&r){var c=(0,o.Z)(a,"nativeParams.".concat(n,".sendId"));if("boolean"!=typeof c&&(c=(0,o.Z)(a,"nativeParams.ext.".concat(n,".sendId"))),c)r="".concat(t,":").concat(e.adId);var s=(0,o.Z)(a,"nativeParams.".concat(n,".sendTargetingKeys"));"boolean"!=typeof s&&(s=(0,o.Z)(a,"nativeParams.ext.".concat(n,".sendTargetingKeys"))),("boolean"==typeof s?s:u)&&(i[t]=r)}})),i}var P=function(e){var n;return null===(n=c.K.index.getAdUnit(e))||void 0===n?void 0:n.nativeOrtbRequest};function N(e,n,t){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.getNativeReq,a=void 0===o?P:o,u={message:"assetResponse",adId:e.adId},c=a(n),s=n.native,f=null===(r=n.native)||void 0===r?void 0:r.ortb,l={};return c&&f&&(l=W(f,c),s=p(p({},n.native),l)),n.native.ortb&&(u.ortb=n.native.ortb),u.assets=[],(null==t?Object.keys(s):t).forEach((function(e){if("adTemplate"===e&&s[e])u.adTemplate=Z(s[e]);else if("rendererUrl"===e&&s[e])u.rendererUrl=Z(s[e]);else if("ext"===e)Object.keys(s[e]).forEach((function(n){if(s[e][n]){var t=Z(s[e][n]);u.assets.push({key:n,value:t})}}));else if(s[e]&&d.FY.hasOwnProperty(e)){var n=Z(s[e]);u.assets.push({key:e,value:n})}})),u}function q(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.getNativeReq,i=void 0===r?P:r,o=e.assets.map((function(e){return(0,a.V9)(d.FY,e)}));return N(e,n,o,{getNativeReq:i})}function x(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.getNativeReq,i=void 0===r?P:r;return N(e,n,null,{getNativeReq:i})}function Z(e){return(null==e?void 0:e.url)||e}function D(e){var n={};return(0,o.Z)(e,"nativeParams.ext")&&Object.keys(e.nativeParams.ext).forEach((function(e){n[e]="hb_native_".concat(e)})),p(p({},d.FY),n)}function H(e){if(j(e)){var n,t={},r=f(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===b.MAIN?t.image=i:t.icon=i}else if(e.data){var o=Object.keys(y).find((function(n){return y[n]===e.data.type})),a=Object.keys(w).find((function(e){return w[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 F(e){if(!e||!(0,a.kJ)(e))return e;if(!e.some((function(e){var n;return null===(n=((null==e?void 0:e.mediaTypes)||{})[s.B5])||void 0===n?void 0:n.ortb})))return e;var n,t=(0,a.I8)(e),r=f(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.mediaTypes&&i.mediaTypes[s.B5]&&i.mediaTypes[s.B5].ortb&&(i.mediaTypes[s.B5]=Object.assign((0,a.ei)(i.mediaTypes[s.B5],C),H(i.mediaTypes[s.B5].ortb)),i.nativeParams=I(i.mediaTypes[s.B5]))}}catch(e){r.e(e)}finally{r.f()}return t}function M(e){var n={link:{},eventtrackers:[]};return Object.entries(e).forEach((function(e){var t=(0,r.Z)(e,2),i=t[0],o=t[1];switch(i){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:O,method:k.img,url:e})}));break;case"javascriptTrackers":n.jstracker=Array.isArray(o)?o.join(""):o}})),n}function z(e,n){var t=p(p({},M(e)),{},{assets:[]});function r(e,r){var i=n.assets.find(e);null!=i&&(r(i=(0,a.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?b.MAIN:b.ICON;r((function(e){return null!=e.img&&e.img.type===i}),(function(e){e.img={url:t}}));break;default:n in w&&r((function(e){return null!=e.data&&e.data.type===y[w[n]]}),(function(e){e.data={value:t}}))}})),t}function W(e,n){var t={},r=(null==n?void 0:n.assets)||[];t.clickUrl=e.link.url,t.privacyLink=e.privacy;var i,o=f((null==e?void 0:e.assets)||[]);try{var a=function(){var e=i.value,n=r.find((function(n){return e.id===n.id}));e.title?t.title=e.title.text:e.img?t[n.img.type===b.MAIN?"image":"icon"]=e.img.url:e.data&&(t[T[E[n.data.type]]]=e.data.value)};for(o.s();!(i=o.n()).done;)a()}catch(e){o.e(e)}finally{o.f()}return t}function K(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}})},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,d,s=[],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 k=n(t.document);k&&(c=k)}t.context&&t.context.sourceUrl&&(h=!0)}s.push(A),p++}while(t!==e.top&&p<l);s.reverse();try{d=e.top.document.referrer}catch(e){}var O=g||m?u:null,I=r.vc.getConfig("pageUrl")||c||null,B=o(I,e)||O;return{reachedTop:g,isAmp:v,numIframes:p-1,stack:s,topmostLocation:u||null,location:O,canonicalUrl:I,page:B,domain:a(B)||null,ref:d||null,legacy:{reachedTop:g,isAmp:v,numIframes:p-1,stack:s,referer:u||null,canonicalUrl:I}}}}(window)},5164:function(e,n,t){t.d(n,{Ld:function(){return u},df:function(){return f},eA:function(){return s}});var r=t(2797),i=t(4358),o=t(5975),a=["core","prebid-module"],u=[];function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.gvlid,t=e.moduleName,r=e.bidderCode,c=e.moduleType,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=s.bidderSettings,l=void 0===f?o.S:f;function g(){if(null==r)return!0;var e=l.get(r,"storageAllowed");return null!=e&&e}var p=a.includes(c);function v(e){if(g()){var o;return d(p,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})}var h=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 v(a);u.push((function(){var e=v(a);o(e)}))},m=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 v(t);u.push((function(){var e=v(t);n(e)}))},y=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 v(n);u.push((function(){var t=v(n);e(t)}))},b=function(e){var n=function(e){return!(!e||!e.valid)&&(0,i.IG)()};if(!e||"function"!=typeof e)return v(n);u.push((function(){var t=v(n);e(t)}))},w=function(e,n,t){var r=function(t){t&&t.valid&&T()&&window.localStorage.setItem(e,n)};if(!t||"function"!=typeof t)return v(r);u.push((function(){var e=v(r);t(e)}))},C=function(e,n){var t=function(n){return n&&n.valid&&T()?window.localStorage.getItem(e):null};if(!n||"function"!=typeof n)return v(t);u.push((function(){var e=v(t);n(e)}))},A=function(e,n){var t=function(n){n&&n.valid&&T()&&window.localStorage.removeItem(e)};if(!n||"function"!=typeof n)return v(t);u.push((function(){var e=v(t);n(e)}))},T=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 v(n);u.push((function(){var t=v(n);e(t)}))},E=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 v(t);u.push((function(){var e=v(t);n(e)}))};return{setCookie:h,getCookie:m,localStorageIsEnabled:y,cookiesAreEnabled:b,setDataInLocalStorage:w,getDataFromLocalStorage:C,removeDataFromLocalStorage:A,hasLocalStorage:T,findSimilarCookies:E}}var d=(0,r.z3)("async",(function(e,n,t,r,i){i(r)}),"validateStorageEnforcement");function s(e){return c({moduleName:e,moduleType:"core"})}function f(){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 c({gvlid:n,moduleName:t,bidderCode:r})}},1974:function(e,n,t){t.d(n,{k_:function(){return d}});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 d=function(e){var n={},t={image:[],iframe:[]},u=new Set,c={},d={image:!0,iframe:!1},s=e.config;function f(){if(s.syncEnabled&&e.browserSupportsCookies){try{!function(){if(!d.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(!d.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=s.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)){d[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!d[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"}))}s=Object.assign(s,e.userSync)})),n.registerSync=function(e,r,o){return u.has(r)?(0,i.ji)('already fired syncs for "'.concat(r,'", ignoring registerSync call')):s.syncEnabled&&(0,i.kJ)(t[e])?r?0!==s.syncsPerBidder&&Number(c[r])>=s.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(){s.enableOverride&&n.syncUsers()},n.canBidderRegisterSync=function(e,n){return!s.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 pe},$u:function(){return V},AB:function(){return qe},An:function(){return U},Bq:function(){return nn},CS:function(){return Je},D9:function(){return yn},DO:function(){return S},EE:function(){return E},Ee:function(){return pn},FS:function(){return ze},G2:function(){return Xe},H:function(){return K},HA:function(){return ce},HC:function(){return rn},I8:function(){return Ue},IG:function(){return De},IK:function(){return Se},K$:function(){return Ie},LQ:function(){return X},NA:function(){return Ce},NI:function(){return x},Ob:function(){return P},PN:function(){return z},PO:function(){return te},Q2:function(){return ln},RI:function(){return de},R_:function(){return ge},Re:function(){return R},S0:function(){return We},SG:function(){return he},T9:function(){return Ee},TV:function(){return je},U:function(){return Ye},V9:function(){return Ae},Vs:function(){return ve},W$:function(){return hn},X4:function(){return ke},XV:function(){return un},Yp:function(){return sn},ZH:function(){return Oe},Zy:function(){return D},_R:function(){return vn},_d:function(){return j},ak:function(){return I},bd:function(){return xe},d5:function(){return cn},d8:function(){return $},dj:function(){return mn},e7:function(){return H},eB:function(){return J},ei:function(){return en},en:function(){return fn},ew:function(){return Pe},fr:function(){return Re},fz:function(){return $e},hj:function(){return ne},hl:function(){return on},hq:function(){return le},iG:function(){return Me},jC:function(){return se},jH:function(){return oe},ji:function(){return M},jn:function(){return re},kJ:function(){return ee},ky:function(){return Ve},oV:function(){return Ke},or:function(){return Qe},pP:function(){return Te},qp:function(){return L},r3:function(){return ue},rD:function(){return Q},s:function(){return q},sF:function(){return N},t0:function(){return _},tT:function(){return ye},u2:function(){return w},uh:function(){return tn},vM:function(){return Fe},wn:function(){return Ze},xH:function(){return be},x_:function(){return Ne},xb:function(){return ie},yL:function(){return _e},yN:function(){return W},yi:function(){return ae},yo:function(){return an},yx:function(){return He},zE:function(){return we},zV:function(){return Ge}});var r,i=t(3324),o=t(9062),a=t(4942),u=t(1002),c=t(3193),d=t(7079),s=t.n(d),f=t(4614),l=t(5644),g=t(8792),p=Object.prototype.toString,v=Boolean(window.console),h=Boolean(v&&window.console.log),m=Boolean(v&&window.console.info),y=Boolean(v&&window.console.warn),b=Boolean(v&&window.console.error);function w(e){r=e}function C(){null!=r&&r.apply(void 0,arguments)}var A={checkCookieSupport:De,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(j(),'"\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:H,getWindowTop:D,getWindowLocation:F,insertUserSyncIframe:ve,insertElement:se,isFn:X,triggerPixel:le,logError:K,logWarn:W,logMessage:M,logInfo:z,parseQS:dn,formatQS:sn,deepEqual:gn},T={};function E(){return T}var k,O={},I=function(e,n){return n}.bind(null,1,O)()===O?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)))}},B=(k=0,function(){return++k});function j(){return B()+Math.random().toString(16).substr(2)}function S(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,S)}function U(e,n){return n&&n[e]?n[e]:""}function _(e,n,t){return t?e+n+"="+encodeURIComponent(t)+"&":e}function R(e){var n="";for(var t in e)e.hasOwnProperty(t)&&(n+=t+"="+encodeURIComponent(e[t])+"&");return n=n.replace(/&$/,"")}function P(e){return e&&Object.getOwnPropertyNames(e).length>0?(n=e,Object.keys(n)).map((function(n){return"".concat(n,"=").concat(encodeURIComponent(Ce(e,n)))})).join("&"):"";var n}function N(e){var n=[];if("string"==typeof e){var t=e.split(","),r=/^(\d)+x(\d)+$/i;if(t)for(var i in t)de(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(q(e));else for(var a=0;a<o;a++)n.push(q(e[a]))}return n}function q(e){if(Z(e))return e[0]+"x"+e[1]}function x(e){if(Z(e))return{w:e[0],h:e[1]}}function Z(e){return ee(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1])}function D(){return window.top}function H(){return window.self}function F(){return window.location}function M(){J()&&h&&console.log.apply(console,G(arguments,"MESSAGE:"))}function z(){J()&&m&&console.info.apply(console,G(arguments,"INFO:"))}function W(){J()&&y&&console.warn.apply(console,G(arguments,"WARNING:")),C(l.FP.AUCTION_DEBUG,{type:"WARNING",arguments:arguments})}function K(){J()&&b&&console.error.apply(console,G(arguments,"ERROR:")),C(l.FP.AUCTION_DEBUG,{type:"ERROR",arguments:arguments})}function L(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(K),logWarn:n(W),logMessage:n(M),logInfo:n(z)}}function G(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 J(){return!!c.vc.getConfig("debug")}function V(){var e=document.createElement("iframe");return e.id=j(),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 Q(e){return dn(F().search)[e]||""}function Y(e,n){return p.call(e)==="[object "+n+"]"}function X(e){return Y(e,"Function")}function $(e){return Y(e,"String")}function ee(e){return Y(e,"Array")}function ne(e){return Y(e,"Number")}function te(e){return Y(e,"Object")}function re(e){return Y(e,"Boolean")}function ie(e){if(!e)return!0;if(ee(e)||$(e))return!(e.length>0);for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0}function oe(e){return $(e)&&(!e||0===e.length)}function ae(e,n){if(!ie(e)){if(X(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 ue(e,n){if(ie(e))return!1;if(X(e.indexOf))return-1!==e.indexOf(n);for(var t=e.length;t--;)if(e[t]===n)return!0;return!1}function ce(e,n){if(ie(e))return[];if(X(e.map))return e.map(n);var t=[];return ae(e,(function(r,i){t.push(n(r,i,e))})),t}function de(e,n){return e.hasOwnProperty?e.hasOwnProperty(n):void 0!==e[n]&&e.constructor.prototype[n]!==e[n]}function se(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 fe(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 le(e,n,t){var r=new Image;n&&A.isFn(n)&&fe(r,t).then(n),r.src=e}function ge(e){var n=e.source,t=e.burl;n===l.os.YZ&&t&&A.triggerPixel(t)}function pe(e){if(e){var n=document.createElement("iframe");n.id=j(),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",A.insertElement(n,document,"body"),n.contentWindow.document.open(),n.contentWindow.document.write(e),n.contentWindow.document.close()}}function ve(e,n,t){var r=A.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),i=document.createElement("div");i.innerHTML=r;var o=i.firstChild;n&&A.isFn(n)&&fe(o,t).then(n),A.insertElement(o,document,"html",!0)}function he(e){if(!e)return"";var n='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return n+='<img src="'+encodeURI(e)+'"></div>'}function me(e,n,t){return null==n?t:$(n)?n:ne(n)?n.toString():void A.logWarn("Unsuported type for param: "+e+" required type: String")}function ye(e,n,t){return t.indexOf(e)===n}function be(e,n){return e.concat(n)}function we(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 Ce(e,n){return e[n]}function Ae(e,n){for(var t in e)if(e.hasOwnProperty(t)&&e[t]===n)return t}function Te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pbjs.adUnits;return e.map((function(e){return e.bids.map((function(e){return e.bidder})).reduce(be,[])})).reduce(be,[]).filter(ye)}function Ee(){if(window.googletag&&X(window.googletag.pubads)&&X(window.googletag.pubads().getSlots))return!0}function ke(){if(window.apntag&&X(window.apntag.getTag))return!0}var Oe=Be("timeToRespond",(function(e,n){return e>n})),Ie=Be("responseTimestamp",(function(e,n){return e>n}));Be("responseTimestamp",(function(e,n){return e<n}));function Be(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 je(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 Se(e,n){return(0,f.q9)(e,n&&n.adUnitCode)}function Ue(e){return s()(e)}function _e(){try{return A.getWindowSelf()!==A.getWindowTop()}catch(e){return!0}}function Re(){return/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent)}function Pe(e,n){if(e)return e.replace(/\$\{AUCTION_PRICE\}/g,n)}function Ne(e,n){if(e&&n&&"string"==typeof n)return e.replace(/\${CLICKTHROUGH}/g,n)}function qe(){return(new Date).getTime()}function xe(){return window.performance&&window.performance.now&&window.performance.now()||0}function Ze(){return!1!==c.vc.getConfig("deviceAccess")}function De(){if(window.navigator.cookieEnabled||document.cookie.length)return!0}function He(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 Fe(e,n){return e.reduce((function(e,t){return(e[t[n]]=e[t[n]]||[]).push(t),e}),{})}function Me(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 ze(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 We(e,n,t){return e.filter((function(e){return e.code===n})).map((function(e){return e.bids})).reduce(be,[]).filter((function(e){return e.bidder===t})).map((function(e){return e.params||{}}))}function Ke(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack}var Le=function(e,n){return e.getAdUnitPath()===n||e.getSlotElementId()===n};function Ge(e){return function(n){return Le(e,n)}}function Je(e){return function(n){return Le(n,e)}}function Ve(e){var n=function(e){var n;return Ee()&&(n=(0,f.sE)(window.googletag.pubads().getSlots(),Je(e))),n}(e);return n?{gptSlot:n.getAdUnitPath(),divId:n.getSlotElementId()}:{}}function Qe(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 Ye(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function Xe(e){return e.replace(/(?:^|\.?)([A-Z])/g,(function(e,n){return"_"+n.toLowerCase()})).replace(/^_/,"")}function $e(e){return Object.keys(e).reduce((function(n,t){return void 0!==e[t]&&(n[t]=e[t]),n}),{})}function en(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 nn(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"keywords",t=[];return ae(e,(function(e,r){if(ee(e)){var i=[];ae(e,(function(e){((e=me(n+"."+r,e))||""===e)&&i.push(e)})),e=i}else{if(!$(e=me(n+"."+r,e)))return;e=[e]}t.push({key:r,value:e})})),t}function tn(e,n){return Object.keys(e).forEach((function(t){var r,i;n[t]&&(X(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 rn(e,n){return ee(e)&&(!n||e.length===n)&&e.every((function(e){return Ye(e)}))}function on(e,n){for(var t=[],r=0;r<n;r++){var i=te(e)?Ue(e):e;t.push(i)}return t}function an(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 un(e){return Math.min.apply(Math,(0,o.Z)(e))}function cn(e){return Math.max.apply(Math,(0,o.Z)(e))}function dn(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 sn(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 fn(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:A.parseQS(t.search||""),hash:(t.hash||"").replace(/^#/,""),host:t.host||window.location.host}}function ln(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":".concat(e.port):""))+(e.pathname||"")+(e.search?"?".concat(A.formatQS(e.search||"")):"")+(e.hash?"#".concat(e.hash):"")}function gn(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.checkTypes,i=void 0!==r&&r;if(e===n)return!0;if("object"!==(0,u.Z)(e)||null===e||"object"!==(0,u.Z)(n)||null===n||i&&e.constructor!==n.constructor)return!1;if(Object.keys(e).length!==Object.keys(n).length)return!1;for(var o in e){if(!n.hasOwnProperty(o))return!1;if(!gn(e[o],n[o],{checkTypes:i}))return!1}return!0}function pn(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(te(e)&&te(i)){var u=function(n){te(i[n])?(e[n]||Object.assign(e,(0,a.Z)({},n,{})),pn(e[n],i[n])):ee(i[n])?e[n]?ee(e[n])&&i[n].forEach((function(t){for(var r=1,i=0;i<e[n].length;i++)if(gn(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 pn.apply(void 0,[e].concat(t))}function vn(e){for(var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=function(e,n){if(X(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 hn(e){return e?e.defaultView:null}function mn(e){try{return JSON.parse(e)}catch(e){}}function yn(e,n){for(var t in n)n.hasOwnProperty(t)&&e.setAttribute(t,n[t])}var bn;bn={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"}},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()},d=new WeakMap;function s(){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,s=void 0===u?function(e){return e}:u,f=e.nodes,p=void 0===f?d: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)}}};function o(e){return function(t){return n.dfWalk({visit:function(n,r){var i=r[e];if(i.hasOwnProperty(t))return i[t]}})}}r=s(r);var u=o("timestamps");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 d(e){n.timestamps[e]=t()}function f(e,n){var r=u(e),i=null!=r?t()-r:null;return null!=n&&c(n,i),i}function l(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}function g(e){return a(t,(function(n){return c(e,n)}))}function v(e,n){return g(e).stopAfter(n)()}function h(e,n,t){var r=g(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))}function m(){var e={};return n.dfWalk({visit:function(n,t){e=Object.assign({},!n||n.includeGroups?t.groups:null,t.metrics,e)}}),e}function y(){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,d=t.includeGroups,s=void 0!==d&&d;return e(i([[n,{propagate:a,stopPropagation:c,includeGroups:s}]]),r)}function b(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,d=p.get(e);null!=d&&d.addParent(n,{propagate:i,stopPropagation:a,includeGroups:c})}function w(t){return e(n,t)}function C(){return e(n.newSibling(),r)}var A={startTiming:g,measureTime:v,measureHookTime:h,checkpoint:d,timeSince:f,timeBetween:l,setMetric:c,getMetrics:m,fork:y,join:b,newMetrics:C,renameWith:w,toJSON:function(){return m()}};return p.set(A,n),A}(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,d=void 0===c?new Set:c,s=t.inEdge;if(!d.has(this)){if(d.add(this),null!=(n=i(s,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(s,v)&&null!=(n=p.dfWalk({visit:i,follow:u,visited:d,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 s({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=s(),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 w},Z:function(){return b}});var r=t(3324),i=t(5671),o=t(3144),a=t(7326),u=t(8301),c=t(136),d=t(2963),s=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,s.Z)(e);if(n){var i=(0,s.Z)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,d.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=new WeakMap,m=new WeakMap,y=new WeakMap,b=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(1,t),o=(r=c(0,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),h,{writable:!0,value:void 0}),v((0,a.Z)(r),m,{writable:!0,value:void 0}),v((0,a.Z)(r),y,{writable:!0,value:null}),(0,l.Z)((0,a.Z)(r),h,o),(0,l.Z)((0,a.Z)(r),m,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,s.Z)(t.prototype),"then",this).call(o,null,(function(){return null}));var a=(0,f.Z)(o,y);(0,l.Z)(o,y,null),o=a}var c=(0,f.Z)(this,h),d=new t((function(t,o){var a=function(){var i=c[1],a=0===c[0]?[e,t]:[n,o],u=(0,r.Z)(a,2),d=u[0],s=u[1];if("function"==typeof d){try{i=d(i)}catch(e){return void o(e)}s=t}s(i)};c.length?a():(0,f.Z)(i,m).push(a)}));return(0,l.Z)(d,y,this),d}}],[{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)}))}}]),t}((0,g.R)().Promise||Promise);function w(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.promiseFactory,i=void 0===r?function(e){return new b(e)}:r;function o(e){return function(n){return e(n)}}return{promise:i((function(t,r){e=t,n=r})),resolve:o(e),reject:o(n)}}},154:function(e,n,t){t.d(n,{Dn:function(){return s},LD:function(){return d},gZ:function(){return c}});var r=t(265),i=t(4358),o=t(3193),a=t(2797),u=t(5383),c="outstream",d="instream";function s(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.index,i=void 0===t?u.K.index:t,o=(0,r.Z)(i.getMediaTypes(e),"video"),a=o&&(0,r.Z)(o,"context"),c=o&&(0,r.Z)(o,"useCacheKey"),d=i.getAdUnit(e);return f(e,d,o,a,c)}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
*/
a.SYNC=1,a.ASYNC=2,a.QUEUE=4;var n=Object.freeze({useProxy:!0,ready:0}),t=new WeakMap,r="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 i(e,n){return Array.prototype.slice.call(e,n)}var o=Object.assign||function(e){return r.call(i(arguments,1),(function(e,n){return n&&Object.keys(n).forEach((function(t){e[t]=n[t]})),e}),e)};function a(e){var u,c={},d=[];function s(e,n){return"function"==typeof e?p.call(null,"sync",e,n):"string"==typeof e&&"function"==typeof n?p.apply(null,arguments):"object"==typeof e?f.apply(null,arguments):void 0}function f(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]=p(a,u,t?[t,o]:void 0)}})),e=Object.getPrototypeOf(e)}while(r&&e);return i}function l(e){var n=Array.isArray(e)?e:e.split(".");return r.call(n,(function(t,r,i){var o=t[r],a=!1;return o||(i===n.length-1?(u||d.push((function(){a||console.warn("fun-hooks: referenced '"+e+"' but it was never created")})),t[r]=g((function(e){t[r]=e,a=!0}))):t[r]={})}),c)}function g(e){var n=[],r=[],i=function(){},a={before:function(e,t){return c.call(this,n,"before",e,t)},after:function(e,n){return c.call(this,r,"after",e,n)},getHooks:function(e){var t=n.concat(r);"object"==typeof e&&(t=t.filter((function(n){return Object.keys(e).every((function(t){return n[t]===e[t]}))})));try{o(t,{remove:function(){return t.forEach((function(e){e.remove()})),this}})}catch(e){console.error("error adding `remove` to array, did you modify Array.prototype?")}return t},removeAll:function(){return this.getHooks().remove()}},u={install:function(t,o,a){this.type=t,i=a,a(n,r),e&&e(o)}};return t.set(a.after,u),a;function c(e,t,o,a){var u={hook:o,type:t,priority:a||10,remove:function(){var t=e.indexOf(u);-1!==t&&(e.splice(t,1),i(n,r))}};return e.push(u),e.sort((function(e,n){return n.priority-e.priority})),i(n,r),this}}function p(n,r,c){var s=r.after&&t.get(r.after);if(s){if(s.type!==n)throw"fun-hooks: recreated hookable with different type";return r}var f,p,v=c?l(c):g(),h={get:function(e,n){return v[n]||Reflect.get.apply(Reflect,arguments)}};return u||d.push(m),e.useProxy&&"function"==typeof Proxy&&Proxy.revocable?p=new Proxy(r,h):(p=function(){return h.apply?h.apply(r,this,i(arguments)):r.apply(this,arguments)},o(p,v)),t.get(p.after).install(n,p,(function(e,t){var r,o=[];e.length||t.length?(e.forEach(a),r=o.push(void 0)-1,t.forEach(a),f=function(e,t,a){var u,c=0,d="async"===n&&"function"==typeof a[a.length-1]&&a.pop();function s(e){"sync"===n?u=e:d&&d.apply(null,arguments)}function f(e){if(o[c]){var r=i(arguments);return f.bail=s,r.unshift(f),o[c++].apply(t,r)}"sync"===n?u=e:d&&d.apply(null,arguments)}return o[r]=function(){var r=i(arguments,1);"async"===n&&d&&(delete f.bail,r.push(f));var o=e.apply(t,r);"sync"===n&&f(o)},f.apply(null,a),u}):f=void 0;function a(e){o.push(e.hook)}m()})),p;function m(){!u&&("sync"!==n||e.ready&a.SYNC)&&("async"!==n||e.ready&a.ASYNC)?"sync"!==n&&e.ready&a.QUEUE?h.apply=function(){var e=arguments;d.push((function(){p.apply(e[1],e[2])}))}:h.apply=function(){throw"fun-hooks: hooked function not ready"}:h.apply=f}}return(e=o({},n,e)).ready?s.ready=function(){u=!0,function(e){for(var n;n=e.shift();)n()}(d)}:u=!0,s.get=l,s}e.exports=a},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){function r(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,n,t){return n&&r(e.prototype,n),t&&r(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}t.d(n,{Z:function(){return i}})},4942:function(e,n,t){function r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}t.d(n,{Z:function(){return r}})},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=!0,u=!1;try{for(t=t.call(e);!(a=(r=t.next()).done)&&(o.push(r.value),!n||o.length!==n);a=!0);}catch(e){u=!0,i=e}finally{try{a||null==t.return||t.return()}finally{if(u)throw i}}return o}}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)()}},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"},"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(s=0;s<e.length;s++){t=e[s][0],i=e[s][1],o=e[s][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(s--,1);var d=i();void 0!==d&&(n=d)}}return n}o=o||0;for(var s=e.length;s>0&&e[s-1][2]>o;s--)e[s]=e[s-1];e[s]=[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={602: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],d=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 s=c(r)}for(n&&n(t);d<a.length;d++)o=a[d],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(s)},t=self.pbjsChunk=self.pbjsChunk||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))}();var i={};!function(){var e=r(3324),n=r(4942),t=r(8640),i=r(4358),o=r(265),a=r(6475),u=r(2021),c=r(59),d=r(5644),s=r(5383),f=r(4614),l=r(5706),g=r(3193),p=d.FP,v=p.AD_RENDER_FAILED,h=p.AD_RENDER_SUCCEEDED;function m(e){var n=e.reason,t=e.message,r=e.bid,o=e.id,a={reason:n,message:t};r&&(a.bid=r),o&&(a.adId=o),(0,i.H)(t),u.j8(v,a)}function y(e){var n=e.doc,t=e.bid,r=e.id,i={doc:n};t&&(i.bid=t),r&&(i.adId=r),u.j8(h,i)}var b=d.FP.BID_WON,w=d.FP.STALE_RENDER,C=new WeakSet,A={"Prebid Request":function(e,n,t){if(null==t)return void m({reason:d.q_.CANNOT_FIND_AD,message:"Cannot find ad '".concat(n.adId,"' for cross-origin render request"),id:n.adId});if(t.status===d.UE.fe&&((0,i.yN)("Ad id ".concat(t.adId," has been rendered before")),u.j8(w,t),(0,o.Z)(g.vc.getConfig("auctionOptions"),"suppressStaleRender")))return;try{!function(e,n){var t=e.adId,r=e.ad,o=e.adUrl,a=e.width,u=e.height,c=e.renderer,d=e.cpm,s=e.originalCpm;(0,l.Pd)(c)?(0,l._U)(c,e):t&&(E(e),n({message:"Prebid Response",ad:(0,i.ew)(r,s||d),adUrl:(0,i.ew)(o,s||d),adId:t,width:a,height:u}))}(t,e)}catch(e){return void m({reason:d.q_.EXCEPTION,message:e.message,id:n.adId,bid:t})}s.K.addWinningBid(t),u.j8(b,t)},"Prebid Event":function(e,n,t){if(null==t)return void(0,i.H)("Cannot find ad '".concat(n.adId,"' for x-origin event request"));if(t.status!==d.UE.fe)return void(0,i.yN)("Received x-origin event request without corresponding render request for ad '".concat(n.adId,"'"));switch(n.event){case d.FP.AD_RENDER_FAILED:m({bid:t,id:n.adId,reason:n.info.reason,message:n.info.message});break;case d.FP.AD_RENDER_SUCCEEDED:y({doc:null,bid:t,id:n.adId});break;default:(0,i.H)("Received x-origin event request for unsupported event: '".concat(n.event,"' (adId: '").concat(n.adId,"')"))}}};function T(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,f.sE)(s.K.getBidsReceived(),(function(e){return e.adId===t.adId}));A.hasOwnProperty(t.message)&&A[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,i.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 E(e){var n=e.adId,t=e.adUnitCode,r=e.width,o=e.height;["div","iframe"].forEach((function(e){var a=function(e){var r=function(e,n){return(0,i.T9)()?function(e){var n=(0,f.sE)(window.googletag.pubads().getSlots(),(function(n){return(0,f.sE)(n.getTargetingKeys(),(function(t){return(0,f.q9)(n.getTargeting(t),e)}))}));return n?n.getSlotElementId():null}(e):(0,i.X4)()?function(e){var n=window.apntag.getTag(e);return n&&n.targetId}(n):n}(n,t),o=document.getElementById(r);return o&&o.querySelector(e)}(e+':not([style*="display: none"])');if(a){var u=a.style;u.width=r?r+"px":"100%",u.height=o+"px"}else(0,i.yN)("Unable to locate matching page element for adUnitCode ".concat(t,".  Can't resize it to ad's dimensions.  Please review setup."))}))}Object.assign(A,{"Prebid Native":function(e,n,t){if(null==t)return void(0,i.H)("Cannot find ad '".concat(n.adId,"' for x-origin event request"));C.has(t)||(C.add(t),s.K.addWinningBid(t),u.j8(b,t));switch(n.action){case"assetRequest":e((0,c.eK)(n,t));break;case"allAssetRequest":e((0,c.JL)(n,t));break;case"resizeNativeHeight":t.height=n.height,t.width=n.width,E(t);break;default:(0,c.e6)(n,t)}}});var k=r(1974),O=r(9062),I=r(4679),B=r(2797),j=r(5975),S=[],U="targetingControls.allowTargetingKeys",_="targetingControls.addTargetingKeys",R='Only one of "'.concat(U,'" or "').concat(_,'" can be set'),P=Object.keys(d.TD).map((function(e){return d.TD[e]})),N={isActualBid:function(e){return e.getStatusCode()===d.Q_.Q},isBidNotExpired:function(e){return e.responseTimestamp+1e3*e.ttl-1e3>(0,i.AB)()},isUnusedBid:function(e){return e&&(e.status&&!(0,f.q9)([d.UE.fe],e.status)||!e.status)}};function q(e){return!Object.values(N).some((function(n){return!n(e)}))}var x=(0,B.z3)("sync",(function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!r){var o=[],a=g.vc.getConfig("sendBidsControl.dealPrioritization"),u=(0,i.vM)(e,"adUnitCode");return Object.keys(u).forEach((function(e){var r=[],c=(0,i.vM)(u[e],"bidderCode");Object.keys(c).forEach((function(e){return r.push(c[e].reduce(n))})),t>0?(r=a?r.sort(Z(!0)):r.sort((function(e,n){return n.cpm-e.cpm})),o.push.apply(o,(0,O.Z)(r.slice(0,t)))):o.push.apply(o,(0,O.Z)(r))})),o}return e}));function Z(){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 D=function(e){var t={},r={};function a(e,n){return e.adserverTargeting&&n&&((0,i.kJ)(n)&&(0,f.q9)(n,e.adUnitCode)||"string"==typeof n&&e.adUnitCode===n)}function u(e,t){if(!0===g.vc.getConfig("targetingControls.alwaysIncludeDeals")){var r=P.concat(c.xc);return x(t,i.ZH).map((function(t){if(t.dealId&&a(t,e))return(0,n.Z)({},t.adUnitCode,E(t,r.filter((function(e){return void 0!==t.adserverTargeting[e]}))))})).filter((function(e){return e}))}return[]}function s(e,n){var t=Object.assign({},d.TD,d.FY),r=Object.keys(t),o={};(0,i.PN)("allowTargetingKeys - allowed keys [ ".concat(n.map((function(e){return t[e]})).join(", ")," ]")),e.map((function(e){var i=Object.keys(e)[0],a=e[i].filter((function(e){var i=Object.keys(e)[0],a=0===r.filter((function(e){return 0===i.indexOf(t[e])})).length||(0,f.sE)(n,(function(e){var n=t[e];return 0===i.indexOf(n)}));return o[i]=!a,a}));e[i]=a}));var a=Object.keys(o).filter((function(e){return o[e]}));return(0,i.PN)("allowTargetingKeys - removed keys [ ".concat(a.join(", ")," ]")),e.filter((function(e){return e[Object.keys(e)[0]].length>0}))}function l(e,n){var t=(0,i.I8)(e);return Object.keys(t).map((function(e){return{adUnitCode:e,adserverTargeting:t[e]}})).sort(Z()).reduce((function(e,r,o,a){var u,c=(u=r.adserverTargeting,Object.keys(u).reduce((function(e,n){return e+"".concat(n,"%3d").concat(encodeURIComponent(u[n]),"%26")}),""));o+1===a.length&&(c=c.slice(0,-3));var d=r.adUnitCode,s=c.length;return s<=n?(n-=s,(0,i.PN)("AdUnit '".concat(d,"' auction keys comprised of ").concat(s," characters.  Deducted from running threshold; new limit is ").concat(n),t[d]),e[d]=t[d]):(0,i.yN)("The following keys for adUnitCode '".concat(d,"' exceeded the current limit of the 'auctionKeyMaxChars' setting.\nThe key-set size was ").concat(s,", the current allotted amount was ").concat(n,".\n"),t[d]),o+1===a.length&&0===Object.keys(e).length&&(0,i.H)("No auction targeting keys were permitted due to the setting in setConfig(targetingControls.auctionKeyMaxChars).  Please review setup and consider adjusting."),e}),{})}function p(e){var t=e.map((function(e){return(0,n.Z)({},Object.keys(e)[0],e[Object.keys(e)[0]].map((function(e){return(0,n.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 t}function v(n){return"string"==typeof n?[n]:(0,i.kJ)(n)?n:e.getAdUnitCodes()||[]}function h(){var n=e.getBidsReceived();if(g.vc.getConfig("useBidCache")){var t=g.vc.getConfig("bidCacheFilterFunction");"function"==typeof t&&(n=n.filter((function(e){return r[e.adUnitCode]===e.auctionId||!!t(e)})))}else n=n.filter((function(e){return r[e.adUnitCode]===e.auctionId}));return n=n.filter((function(e){return(0,o.Z)(e,"video.context")!==I.Oh})).filter(q),x(n,i.K$)}function m(e,r){var i=t.getWinningBids(e,r),o=y();return i=i.map((function(e){return(0,n.Z)({},e.adUnitCode,Object.keys(e.adserverTargeting).filter((function(n){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===o.indexOf(n)})).reduce((function(t,r){var i=[e.adserverTargeting[r]],o=(0,n.Z)({},r.substring(0,20),i);if(r===d.TD.DEAL){var a="".concat(r,"_").concat(e.bidderCode).substring(0,20),u=(0,n.Z)({},a,i);return[].concat((0,O.Z)(t),[o,u])}return[].concat((0,O.Z)(t),[o])}),[]))})),i}function y(){return e.getStandardBidderAdServerTargeting().map((function(e){return e.key})).concat(P).filter(i.tT)}function b(e,n,t,r){return Object.keys(n.adserverTargeting).filter(w()).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,i.kJ)(t.adserverTargeting[e])||(t.adserverTargeting[e]=[t.adserverTargeting[e]]),t.adserverTargeting[e]=t.adserverTargeting[e].concat(n.adserverTargeting[e]).filter(i.tT),delete n.adserverTargeting[e]}}(t))})),e.push(n),e}function w(){var e=y();return e=e.concat(c.xc),function(n){return-1===e.indexOf(n)}}function C(e){return(0,n.Z)({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(w()).map((function(t){return(0,n.Z)({},t.substring(0,20),[e.adserverTargeting[t]])})))}function A(e,n){return n.filter((function(n){return(0,f.q9)(e,n.adUnitCode)})).map((function(e){return Object.assign({},e)})).reduce(b,[]).map(C).filter((function(e){return e}))}function T(e,t){var r=P.concat(c.xc),o=g.vc.getConfig("sendBidsControl.bidLimit"),u=x(t,i.ZH,o),s=g.vc.getConfig("targetingControls.allowSendAllBidsTargetingKeys"),f=s?s.map((function(e){return d.TD[e]})):r;return u.map((function(t){if(a(t,e))return(0,n.Z)({},t.adUnitCode,E(t,r.filter((function(e){return void 0!==t.adserverTargeting[e]&&-1!==f.indexOf(e)}))))})).filter((function(e){return e}))}function E(e,t){return t.map((function(t){return(0,n.Z)({},"".concat(t,"_").concat(e.bidderCode).substring(0,20),[e.adserverTargeting[t]])}))}function k(t){function r(e){return(0,o.Z)(e,d.k2.xn)}return e.getAdUnits().filter((function(e){return(0,f.q9)(t,e.code)&&r(e)})).map((function(e){return(0,n.Z)({},e.code,function(e){var t=r(e);return Object.keys(t).map((function(e){return(0,i.d8)(t[e])&&(t[e]=t[e].split(",").map((function(e){return e.trim()}))),(0,i.kJ)(t[e])||(t[e]=[t[e]]),(0,n.Z)({},e,t[e])}))}(e))}))}return t.setLatestAuctionForAdUnit=function(e,n){r[e]=n},t.resetPresetTargeting=function(n,t){if((0,i.T9)()){var r=v(n),o=e.getAdUnits().filter((function(e){return(0,f.q9)(r,e.code)})),a=S.reduce((function(e,n){return e[n]=null,e}),{});window.googletag.pubads().getSlots().forEach((function(e){var n=(0,i.LQ)(t)&&t(e);o.forEach((function(t){(t.code===e.getAdUnitPath()||t.code===e.getSlotElementId()||(0,i.LQ)(n)&&n(t.code))&&e.updateTargetingFromMap(a)}))}))}},t.resetPresetTargetingAST=function(e){v(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,f.q9)(S,e.toLowerCase())||(r[e]=n.keywords[e])})),window.apntag.modifyTag(e,{keywords:r})}}))},t.getAllTargeting=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h(),t=v(e),r=m(t,n).concat(A(t,n)).concat(g.vc.getConfig("enableSendAllBids")?T(t,n):u(t,n)).concat(k(t));r.map((function(e){Object.keys(e).map((function(n){e[n].map((function(e){-1===S.indexOf(Object.keys(e)[0])&&(S=Object.keys(e).concat(S))}))}))}));var o=Object.keys(Object.assign({},d.kF,d.FY)),a=g.vc.getConfig(U),c=g.vc.getConfig(_);if(null!=c&&null!=a)throw new Error(R);a=null!=c?o.concat(c):a||o,Array.isArray(a)&&a.length>0&&(r=s(r,a)),r=p(r);var f=g.vc.getConfig("targetingControls.auctionKeyMaxChars");return f&&((0,i.PN)("Detected 'targetingControls.auctionKeyMaxChars' was active for this auction; set with a limit of ".concat(f," characters.  Running checks on auction keys...")),r=l(r,f)),t.forEach((function(e){r[e]||(r[e]={})})),r},g.vc.getConfig("targetingControls",(function(e){null!=(0,o.Z)(e,U)&&null!=(0,o.Z)(e,_)&&(0,i.H)(R)})),t.setTargetingForGPT=function(e,n){window.googletag.pubads().getSlots().forEach((function(t){Object.keys(e).filter(n?n(t):(0,i.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,i.ji)("Attempting to set targeting-map for slot: ".concat(t.getSlotElementId()," with targeting-map:"),e[n]),t.updateTargetingFromMap(e[n])}))}))},t.getWinningBids=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h(),t=v(e);return n.filter((function(e){return(0,f.q9)(t,e.adUnitCode)})).filter((function(e){return!0===j.S.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0})).map((function(e){return e.adUnitCode})).filter(i.tT).map((function(e){return n.filter((function(n){return n.adUnitCode===e?n:null})).reduce(i.ZH)}))},t.setTargetingForAst=function(e){var n=t.getAllTargeting(e);try{t.resetPresetTargetingAST(e)}catch(e){(0,i.H)("unable to reset targeting for AST"+e)}Object.keys(n).forEach((function(e){return Object.keys(n[e]).forEach((function(t){if((0,i.ji)("Attempting to set targeting for targetId: ".concat(e," key: ").concat(t," value: ").concat(n[e][t])),(0,i.d8)(n[e][t])||(0,i.kJ)(n[e][t])){var r={};t.search(/pt[0-9]/)<0?r[t.toUpperCase()]=n[e][t]:r[t]=n[e][t],window.apntag.setKeywords(e,r,{overrideKeyValue:!0})}}))}))},t.isApntagDefined=function(){if(window.apntag&&(0,i.LQ)(window.apntag.setKeywords))return!0},t}(s.K),H=r(9626),F=r(5730),M=r(8792),z="__pbjs_debugging__";function W(){return(0,t.R)().installedModules.includes("debugging")}function K(e){return new M.Z((function(n){(0,F.B)(e,"debugging",n)}))}function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alreadyInstalled,r=void 0===n?W:n,o=e.script,a=void 0===o?K:o,u=null;return function(){return null==u&&(u=new M.Z((function(e,n){setTimeout((function(){if(r())e();else{var o="https://cdn.jsdelivr.net/npm/prebid.js@7.20.0/dist/debugging-standalone.js";(0,i.ji)('Debugging module not installed, loading it from "'.concat(o,'"...')),(0,t.R)()._installDebugging=!0,a(o).then((function(){(0,t.R)()._installDebugging({DEBUG_KEY:z,hook:B.z3,config:g.vc,createBid:H.m,logger:(0,i.qp)("DEBUG:")})})).then(e,n)}}))}))),u}}var G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.load,t=void 0===n?L():n,r=e.hook,i=void 0===r?(0,B.v5)("requestBids"):r,o=null,a=!1;function u(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(o||M.Z.resolve()).then((function(){return e.apply(n,r)}))}function c(){a||(o=t(),i.before(u,99),a=!0)}function d(){i.getHooks({hook:u}).remove(),a=!1}function s(){o=null,d()}return{enable:c,disable:d,reset:s}}();G.reset;g.vc.getConfig("debugging",(function(e){var n=e.debugging;null!=n&&n.enabled?G.enable():G.disable()}));var J=r(875),V=r(5164),Q=r(3092),Y=r(9128),X=(0,t.R)(),$=k.k_.triggerUserSyncs,ee=d.FP,ne=ee.ADD_AD_UNITS,te=ee.BID_WON,re=ee.REQUEST_BIDS,ie=ee.SET_TARGETING,oe=ee.STALE_RENDER,ae=d.q_,ue=ae.PREVENT_WRITING_ON_MAIN_DOCUMENT,ce=ae.NO_AD,de=ae.EXCEPTION,se=ae.CANNOT_FIND_AD,fe=ae.MISSING_DOC_OR_ADID,le={bidWon:function(e){var n=s.K.getBidsRequested().map((function(e){return e.bids.map((function(e){return e.adUnitCode}))})).reduce(i.xH).filter(i.tT);if(!(0,i.r3)(n,e))return void(0,i.H)('The "'+e+'" placement is not defined.');return!0}};function ge(e,n,t){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=n,e.defaultView.frameElement.height=t)}function pe(e,n){var t=[];return(0,i.kJ)(e)&&(n?e.length===n:e.length>0)&&(e.every((function(e){return(0,i.HC)(e,2)}))?t=e:(0,i.HC)(e,2)&&t.push(e)),t}function ve(e){var n=(0,i.I8)(e),t=n.mediaTypes.banner,r=pe(t.sizes);return r.length>0?(t.sizes=r,n.sizes=r):((0,i.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 he(e){var n=(0,i.I8)(e),t=n.mediaTypes.video;if(t.playerSize){var r="number"==typeof t.playerSize[0]?2:1,o=pe(t.playerSize,r);o.length>0?(2===r&&(0,i.PN)("Transforming video.playerSize from [640,480] to [[640,480]] so it's in the proper format."),t.playerSize=o,n.sizes=o):((0,i.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 me(e){var n=(0,i.I8)(e),t=n.mediaTypes.native;if(t.ortb){var r=Object.keys(d.FY).filter((function(e){return d.FY[e].includes("hb_native_")})),o=Object.keys(t).filter((function(e){return r.includes(e)}));o.length>0&&((0,i.H)("when using native OpenRTB format, you cannot use legacy native properties. Deleting ".concat(o," keys from request.")),o.forEach((function(e){return delete n.mediaTypes.native[e]})))}return t.image&&t.image.sizes&&!Array.isArray(t.image.sizes)&&((0,i.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,i.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,i.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 ye(e,n){var t=(0,o.Z)(e,"mediaTypes.".concat(n,".pos"));if(!(0,i.hj)(t)||isNaN(t)||!isFinite(t)){var r="Value of property 'pos' on ad unit ".concat(e.code," should be of type: Number");(0,i.yN)(r),u.j8(d.FP.AUCTION_DEBUG,{type:"WARNING",arguments:r}),delete e.mediaTypes[n].pos}return e}function be(e){var n=function(n){return"adUnit.code '".concat(e.code,"' ").concat(n)},t=e.mediaTypes,r=e.bids;return null==r||(0,i.kJ)(r)?null==r&&null==e.ortb2Imp?((0,i.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,i.ji)(n("defines 'adUnit.ortb2Imp' with no 'adUnit.bids'; it will be seen only by S2S adapters"))),e):((0,i.H)(n("does not define a 'mediaTypes' object.  This is a required field for the auction, so this adUnit has been removed.")),null):((0,i.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=G,t=null;try{t=e.getItem(z)}catch(e){}null!==t&&n.enable()}}(),X.bidderSettings=X.bidderSettings||{},X.libLoaded=!0,X.version="v7.20.0",(0,i.PN)("Prebid.js v7.20.0 loaded"),X.installedModules=X.installedModules||[],X.adUnits=X.adUnits||[],X.triggerUserSyncs=$;var we={validateAdUnit:be,validateBannerMediaType:ve,validateVideoMediaType:he,validateSizes:pe};Object.assign(we,{validateNativeMediaType:me});var Ce,Ae=(0,B.z3)("sync",(function(e){var n=[];return e.forEach((function(e){if(null!=(e=be(e))){var t,r,i,o=e.mediaTypes;o.banner&&(t=ve(e),o.banner.hasOwnProperty("pos")&&(t=ye(t,"banner"))),o.video&&(r=he(t||e),o.video.hasOwnProperty("pos")&&(r=ye(r,"video"))),o.native&&(i=me(r||(t||e)));var a=Object.assign({},t,r,i);n.push(a)}})),n}),"checkAdUnitSetup");function Te(e){var t=s.K[e]().filter(i.ak.call(i.IK,this,s.K.getAdUnitCodes())),r=s.K.getLastAuctionId();return t.map((function(e){return e.adUnitCode})).filter(i.tT).map((function(e){return t.filter((function(n){return n.auctionId===r&&n.adUnitCode===e}))})).filter((function(e){return e&&e[0]&&e[0].adUnitCode})).map((function(e){return(0,n.Z)({},e[0].adUnitCode,{bids:e})})).reduce((function(e,n){return Object.assign(e,n)}),{})}function Ee(e,n,t){var r=n.querySelector(t);e.parentNode&&e.parentNode===r||(0,i.jC)(e,n,t)}X.getAdserverTargetingForAdUnitCodeStr=function(e){if((0,i.PN)("Invoking pbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var n=X.getAdserverTargetingForAdUnitCode(e);return(0,i.Ob)(n)}(0,i.ji)("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},X.getHighestUnusedBidResponseForAdUnitCode=function(e){if(e){var n=s.K.getAllBidsForAdUnitCode(e).filter(q);return n.length?n.reduce(i.ZH):{}}(0,i.ji)("Need to call getHighestUnusedBidResponseForAdUnitCode with adunitCode")},X.getAdserverTargetingForAdUnitCode=function(e){return X.getAdserverTargeting(e)[e]},X.getAdserverTargeting=function(e){return(0,i.PN)("Invoking pbjs.getAdserverTargeting",arguments),D.getAllTargeting(e)},X.getConsentMetadata=function(){return(0,i.PN)("Invoking pbjs.getConsentMetadata"),{gdpr:Q.rp.getConsentMeta(),usp:Q.nX.getConsentMeta(),coppa:!!g.vc.getConfig("coppa")}},X.getNoBids=function(){return(0,i.PN)("Invoking pbjs.getNoBids",arguments),Te("getNoBids")},X.getNoBidsForAdUnitCode=function(e){return{bids:s.K.getNoBids().filter((function(n){return n.adUnitCode===e}))}},X.getBidResponses=function(){return(0,i.PN)("Invoking pbjs.getBidResponses",arguments),Te("getBidsReceived")},X.getBidResponsesForAdUnitCode=function(e){return{bids:s.K.getBidsReceived().filter((function(n){return n.adUnitCode===e}))}},X.setTargetingForGPTAsync=function(e,n){if((0,i.PN)("Invoking pbjs.setTargetingForGPTAsync",arguments),(0,i.T9)()){var t=D.getAllTargeting(e);D.resetPresetTargeting(e,n),D.setTargetingForGPT(t,n),Object.keys(t).forEach((function(e){Object.keys(t[e]).forEach((function(n){"hb_adid"===n&&s.K.setStatusForBids(t[e][n],d.UE.CK)}))})),u.j8(ie,t)}else(0,i.H)("window.googletag is not defined on the page")},X.setTargetingForAst=function(e){(0,i.PN)("Invoking pbjs.setTargetingForAn",arguments),D.isApntagDefined()?(D.setTargetingForAst(e),u.j8(ie,D.getAllTargeting())):(0,i.H)("window.apntag is not defined on the page")},X.renderAd=(0,B.z3)("async",(function(e,n,t){if((0,i.PN)("Invoking pbjs.renderAd",arguments),(0,i.ji)("Calling renderAd with adId :"+n),e&&n)try{var r=s.K.findBidByAdId(n);if(r){var a=!0;if(r&&r.status===d.UE.fe&&((0,i.yN)("Ad id ".concat(r.adId," has been rendered before")),u.j8(oe,r),(0,o.Z)(g.vc.getConfig("auctionOptions"),"suppressStaleRender")&&(a=!1)),a){if(r.ad=(0,i.ew)(r.ad,r.originalCpm||r.cpm),r.adUrl=(0,i.ew)(r.adUrl,r.originalCpm||r.cpm),t&&t.clickThrough){var c=t.clickThrough;r.ad=(0,i.x_)(r.ad,c),r.adUrl=(0,i.x_)(r.adUrl,c)}s.K.addWinningBid(r),u.j8(te,r);var f=r.height,p=r.width,v=r.ad,h=r.mediaType,b=r.adUrl,w=r.renderer,C=document.createComment("Creative ".concat(r.creativeId," served by ").concat(r.bidder," Prebid.js Header Bidding"));if((0,i.jC)(C,e,"html"),(0,l.Pd)(w))(0,l._U)(w,r,e),Ee(C,e,"html"),y({doc:e,bid:r,id:n});else if(e===document&&!(0,i.yL)()||"video"===h){var A="Error trying to write ad. Ad render call ad id ".concat(n," was prevented from writing to the main document.");m({reason:ue,message:A,bid:r,id:n})}else if(v)e.write(v),e.close(),ge(e,p,f),Ee(C,e,"html"),(0,i.R_)(r),y({doc:e,bid:r,id:n});else if(b){var T=(0,i.$u)();T.height=f,T.width=p,T.style.display="inline",T.style.overflow="hidden",T.src=b,(0,i.jC)(T,e,"body"),ge(e,p,f),Ee(C,e,"html"),(0,i.R_)(r),y({doc:e,bid:r,id:n})}else{var E="Error trying to write ad. No ad for bid response id: ".concat(n);m({reason:ce,message:E,bid:r,id:n})}}}else{var k="Error trying to write ad. Cannot find ad by given id : ".concat(n);m({reason:se,message:k,id:n})}}catch(e){var O="Error trying to write ad Id :".concat(n," to the page:").concat(e.message);m({reason:de,message:O,id:n})}else{var I="Error trying to write ad Id :".concat(n," to the page. Missing document or adId");m({reason:fe,message:I,id:n})}})),X.removeAdUnit=function(e){((0,i.PN)("Invoking pbjs.removeAdUnit",arguments),e)?((0,i.kJ)(e)?e:[e]).forEach((function(e){for(var n=X.adUnits.length-1;n>=0;n--)X.adUnits[n].code===e&&X.adUnits.splice(n,1)})):X.adUnits=[]},X.requestBids=(Ce=(0,B.z3)("async",(function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.bidsBackHandler,r=n.timeout,o=n.adUnits,a=n.adUnitCodes,c=n.labels,d=n.auctionId,s=n.ortb2,f=n.metrics;u.j8(re);var l=r||g.vc.getConfig("bidderTimeout");(0,i.PN)("Invoking pbjs.requestBids",arguments);var p={global:(0,i.Ee)({},g.vc.getAnyConfig("ortb2")||{},s||{}),bidder:Object.fromEntries(Object.entries(g.vc.getBidderConfig()).map((function(n){var t=(0,e.Z)(n,2);return[t[0],t[1].ortb2]})).filter((function(n){var t=(0,e.Z)(n,2);return t[0],null!=t[1]})))};return ke({bidsBackHandler:t,timeout:l,adUnits:o,adUnitCodes:a,labels:c,auctionId:d,ortb2Fragments:p,metrics:f})}),"requestBids"),(0,B.IF)(Ce,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.metrics=(0,Y.V6)(),e.metrics.checkpoint("requestBids");var n=e.adUnits||X.adUnits;return e.adUnits=(0,i.kJ)(n)?n.slice():[n],Ce.call(this,e)})));var ke=(0,B.z3)("async",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.bidsBackHandler,t=e.timeout,r=e.adUnits,o=e.adUnitCodes,u=e.labels,c=e.auctionId,d=e.ortb2Fragments,l=e.metrics,p=(0,Q.uV)(g.vc.getConfig("s2sConfig")||[]);if(r=(0,Y.Bf)(l).measureTime("requestBids.validate",(function(){return Ae(r)})),o&&o.length?r=r.filter((function(e){return(0,f.q9)(o,e.code)})):o=r&&r.map((function(e){return e.code})),r.forEach((function(e){var n,t,r=Object.keys(e.mediaTypes||{banner:"banner"}),o=e.bids.map((function(e){return e.bidder})),u=Q.ZP.bidderRegistry,c=o.filter((function(e){return!p.has(e)})),d=(null===(n=e.ortb2Imp)||void 0===n||null===(t=n.ext)||void 0===t?void 0:t.tid)||(0,i.DO)();e.transactionId=d,(0,a.N)(e,"ortb2Imp.ext.tid",d),c.forEach((function(n){var t=u[n],o=t&&t.getSpec&&t.getSpec(),a=o&&o.supportedMediaTypes||["banner"];r.some((function(e){return(0,f.q9)(a,e)}))?J.f.incrementBidderRequestsCounter(e.code,n):((0,i.yN)((0,i.or)(e,n)),e.bids=e.bids.filter((function(e){return e.bidder!==n})))})),J.f.incrementRequestsCounter(e.code)})),r&&0!==r.length){var v=s.K.createAuction({adUnits:r,adUnitCodes:o,callback:n,cbTimeout:t,labels:u,auctionId:c,ortb2Fragments:d,metrics:l}),h=r.length;h>15&&(0,i.PN)("Current auction ".concat(v.getAuctionId()," contains ").concat(h," adUnits."),r),o.forEach((function(e){return D.setLatestAuctionForAdUnit(e,v.getAuctionId())})),v.callBids()}else if((0,i.ji)("No adUnits configured. No bids requested."),"function"==typeof n)try{n()}catch(e){(0,i.H)("Error executing bidsBackHandler",null,e)}}),"startAuction");X.requestBids.before((function(e,n){function t(e){for(var n;n=e.shift();)n()}t(V.Ld),t(Oe),e.call(this,n)}),49),X.addAdUnits=function(e){(0,i.PN)("Invoking pbjs.addAdUnits",arguments),X.adUnits.push.apply(X.adUnits,(0,i.kJ)(e)?e:[e]),u.j8(ne)},X.onEvent=function(e,n,t){(0,i.PN)("Invoking pbjs.onEvent",arguments),(0,i.LQ)(n)?!t||le[e].call(null,t)?u.on(e,n,t):(0,i.H)('The id provided is not valid for event "'+e+'" and no handler was set.'):(0,i.H)('The event handler provided is not a function and was not set on event "'+e+'".')},X.offEvent=function(e,n,t){(0,i.PN)("Invoking pbjs.offEvent",arguments),t&&!le[e].call(null,t)||u.S1(e,n,t)},X.getEvents=function(){return(0,i.PN)("Invoking pbjs.getEvents"),u.vw()},X.registerBidAdapter=function(e,n){(0,i.PN)("Invoking pbjs.registerBidAdapter",arguments);try{Q.ZP.registerBidAdapter(e(),n)}catch(e){(0,i.H)("Error registering bidder adapter : "+e.message)}},X.registerAnalyticsAdapter=function(e){(0,i.PN)("Invoking pbjs.registerAnalyticsAdapter",arguments);try{Q.ZP.registerAnalyticsAdapter(e)}catch(e){(0,i.H)("Error registering analytics adapter : "+e.message)}},X.createBid=function(e){return(0,i.PN)("Invoking pbjs.createBid",arguments),(0,H.m)(e)};var Oe=[],Ie=(0,B.z3)("async",(function(e){e&&!(0,i.xb)(e)?((0,i.PN)("Invoking pbjs.enableAnalytics for: ",e),Q.ZP.enableAnalytics(e)):(0,i.H)("pbjs.enableAnalytics should be called with option {}")}),"enableAnalyticsCb");function Be(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){(0,i.H)("Error processing command :","prebid.js",e)}}))}X.enableAnalytics=function(e){Oe.push(Ie.bind(this,e))},X.aliasBidder=function(e,n,t){(0,i.PN)("Invoking pbjs.aliasBidder",arguments),e&&n?Q.ZP.aliasBidAdapter(e,n,t):(0,i.H)("bidderCode and alias must be passed as arguments","pbjs.aliasBidder")},X.getAllWinningBids=function(){return s.K.getAllWinningBids()},X.getAllPrebidWinningBids=function(){return s.K.getBidsReceived().filter((function(e){return e.status===d.UE.CK}))},X.getHighestCpmBids=function(e){return D.getWinningBids(e)},X.markWinningBidAsUsed=function(e){var n=[];e.adUnitCode&&e.adId?n=s.K.getBidsReceived().filter((function(n){return n.adId===e.adId&&n.adUnitCode===e.adUnitCode})):e.adUnitCode?n=D.getWinningBids(e.adUnitCode):e.adId?n=s.K.getBidsReceived().filter((function(n){return n.adId===e.adId})):(0,i.yN)("Improper use of markWinningBidAsUsed. It needs an adUnitCode or an adId to function."),n.length>0&&(n[0].status=d.UE.fe)},X.getConfig=g.vc.getAnyConfig,X.readConfig=g.vc.readAnyConfig,X.mergeConfig=g.vc.mergeConfig,X.mergeBidderConfig=g.vc.mergeBidderConfig,X.setConfig=g.vc.setConfig,X.setBidderConfig=g.vc.setBidderConfig,X.que.push((function(){window.addEventListener("message",T,!1)})),X.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){(0,i.H)("Error processing command :",e.message,e.stack)}else(0,i.H)("Commands written into pbjs.cmd.push must be wrapped in a function")},X.que.push=X.cmd.push,X.processQueue=function(){B.z3.ready(),Be(X.que),Be(X.cmd)}}(),i=r.O(i)}();
(self.pbjsChunk=self.pbjsChunk||[]).push([[866],{7809:function(n,r,t){t.d(r,{KI:function(){return a},hi:function(){return u}});var e=t(4358),o=t(8792),i=["architecture","bitness","model","platformVersion","fullVersionList"],u=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(l(1,r));return function(){return t}}(),a=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={},u=new WeakMap;return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;if(!u.has(n)){var a=Array.from(n);a.sort(),u.set(n,a.join("|"))}var s=u.get(n);if(!t.hasOwnProperty(s))try{t[s]=r.getHighEntropyValues(n).then((function(n){return(0,e.xb)(n)?null:Object.freeze(l(2,n))})).catch((function(){return null}))}catch(n){t[s]=o.Z.resolve(null)}return t[s]}}();function l(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([[355],{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-cms.33across.com/ps/?m=xch&rt=html&ru=deb",m=/^[a-zA-Z0-9_-]{22}$/,h="siab",g="inview",v="instream",b=["mimes","minduration","maxduration","placement","protocols","startdelay","skip","skipafter","minbitrate","maxbitrate","delivery","playbackmethod","api","linearity"],y={uniqueSiteIds:[]},x="nm";function w(t){return"".concat(t.params.siteId,":").concat(t.params.productId)}function I(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.ttxSettings,l={},f=r[0].params,m=f.siteId,h=f.test;l.imp=[],r.forEach((function(t){l.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[C(t)];return t.map(C)}(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){return{ttx:{viewability:{amount:isNaN(t)?t:Math.round(t)}}}}(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?M(t,e,{w:n,h:i}):0}(n,(0,s.Zy)(),c):x);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=C(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=j(t);i.placement=i.placement||2,p===v&&(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))})),l.site={id:m},l.device=(e=(0,s.e7)(),{ext:{ttx:d(d({},k()),{},{pxr:e.devicePixelRatio,vp:U(),ah:e.screen.availHeight,mtp:e.navigator.maxTouchPoints})}}),c&&(l.site.page=c),l.id=r[0].auctionId,i.consentString&&(l.user=A(l.user,{consent:i.consentString})),Array.isArray(r[0].userIdAsEids)&&r[0].userIdAsEids.length>0&&(l.user=A(l.user,{eids:r[0].userIdAsEids})),l.regs=A(l.regs,{gdpr:Number(i.gdprApplies)}),o&&(l.regs=A(l.regs,{us_privacy:o})),l.ext={ttx:{prebidStartedAt:Date.now(),caller:[{name:"prebidjs",version:"7.20.0"}]}},r[0].schain&&(l.source=A(l.source,{schain:r[0].schain})),1===h&&(l.test=1);return{method:"POST",url:p&&p.url||"".concat("https://ssc.33across.com/api/v1/hb","?guid=").concat(m),data:JSON.stringify(l),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 C(t){return{w:parseInt(t[0],10),h:parseInt(t[1],10)}}function O(t){return(0,s.Ee)({},t,{params:{productId:j(t)}})}function j(t){var e=t.params,r=t.mediaTypes,n=r.banner,i=r.video;return i&&!n&&"instream"===i.context?v:e.productId===g?e.productId:h}function T(t,e,r){var n=t.getFloor({currency:"USD",mediaType:r,size:[e.w,e.h]});if(!isNaN(n.floor)&&"USD"===n.currency)return n.floor}function E(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;return(0===o||0===a)&&r&&n&&(o=r,a=n,c=s+r,d=u+n),{width:o,height:a,left:s,top:u,right:c,bottom:d}}function Z(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}function M(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.w,i=r.h,o=E(t,{w:n,h:i}),a=Z([{left:0,top:0,right:e.innerWidth,bottom:e.innerHeight},o]);return null!==a?a.width*a.height/(o.width*o.height)*100:0}function U(){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 k(){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 P={NON_MEASURABLE:x,code:p,aliases:l,supportedMediaTypes:[u.Mk,u.pX],gvlid:58,isBidRequestValid:function(t){return function(t){if(t.bidder!==p&&!l.includes(t.bidder)||!t.params)return!1;if(!function(t){if(null===((0,a.Z)(t,"params.siteId","")||"").trim().match(m))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=Object.assign({},o.vc.getConfig("ttxSettings")),i=Object.assign({consentString:void 0,gdprApplies:!1},e&&e.gdprConsent),a=e&&e.uspConsent,u=null==e||null===(r=e.refererInfo)||void 0===r?void 0:r.page;return y.uniqueSiteIds=t.map((function(t){return t.params.siteId})).filter(s.tT),{ttxSettings:n,gdprConsent:i,uspConsent:a,pageUrl:u}}(t,e),n=r.ttxSettings,i=r.gdprConsent,a=r.uspConsent,u=r.pageUrl,c=function(t,e){var r=e.map(O),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:I)}(n,t),d=[];for(var p in c)d.push(S({bidRequests:c[p],gdprConsent:i,uspConsent:a,pageUrl:u,ttxSettings:n}));return d},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||f,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)(P),window.pbjs.installedModules.push("33acrossBidAdapter")}},function(t){var e;e=7157,t(t.s=e)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[514],{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,D,O="adagio",x="Adagio:",w=[l.Mk,l.B5,l.pX],S="adagioScript",k=(0,p.df)({gvlid:617,bidderCode:O}),E={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 Array.isArray(t)&&t.every((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)}))}},U=(D={},{clearFeatures:function(){T=void 0},clearExchangeData:function(){D={}},getOrSetGlobalFeatures:function(){return T||(T={page_dimensions:q().toString(),viewport_dimensions:G().toString(),user_timestamp:(Math.floor((new Date).getTime()/1e3)-60*(new Date).getTimezoneOffset()).toString(),dom_loading:F().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;P.isNewSession(e)&&(n=!0,r=Math.random());var i={session:{new:n,rnd:r}};(0,a.Ee)(D,e,i),P.enqueue({action:"session",ts:Date.now(),data:D})},getExchangeData:function(){return D}});function C(){try{if((0,a.Zy)().location.href)return!0}catch(t){return!1}}function j(){return I||(0,a.e7)()}function R(){var t=(0,a.e7)();return!(!t.$sf||!t.$sf.ext)}function N(t){var e=P.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 P={enqueue:function(t){var e=P.getCurrentWindow();e.ADAGIO=e.ADAGIO||{},e.ADAGIO.queue=e.ADAGIO.queue||[],e.ADAGIO.queue.push(t)},getPageviewId:function(){var t=P.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,"AL16XT44Sfp+8SHVF1UdC7hydPSMVLMhsYknKDdwqq+0ToDSJrP0+Qh0ki9JJI2uYm/6VEYo8TJED9WfMkiJ4vf02CW3RvSWwc35bif2SK1L8Nn/GfFYr/2/GG/Rm0vUsv+vBHky6nuuYls20Og0HDhMgaOlXoQ/cxMuiy5QSktp",65537)?((0,a.PN)("".concat(x," start script.")),Function(t)()):((0,a.yN)("".concat(x," invalid script found.")),k.removeDataFromLocalStorage(S))}else(0,a.yN)("".concat(x," no hash found.")),k.removeDataFromLocalStorage(S)}catch(t){(0,a.H)(x,t)}},getCurrentWindow:j,canAccessTopWindow:C,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>18e5}};function M(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 Z(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 B(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 z(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)),B(t,"environment"),B(t,"pagetype"),B(t,"category"),B(t,"subcategory")}function q(){if(R()||!C())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 G(){if(!R()&&!C())return"";var t={w:0,h:0};if(R()){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 V(t){if(!t)return"";if(!R()&&!C())return"";var e={x:0,y:0};if(R()){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(!C())return"";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=P.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)}return"".concat(e.x,"x").concat(e.y)}function H(t,e){return e.bids&&e.bids.length&&(0,i.sE)(e.bids,(function(e){return e.adUnitCode===t})).bidderRequestsCount||1}function F(){var t,e=-1;if((t=C()?(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 L(t){var e,r=j();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:P.getPageviewId(),printNumber:e,localPbjs:"pbjs",localPbjsRef:(0,v.R)()}),r.ADAGIO.adUnits[t.adUnitCode]={auctionId:t.auctionId,pageviewId:P.getPageviewId(),printNumber:e}}var _={code:O,gvlid:617,supportedMediaTypes:w,isBidRequestValid:function(t){return t.params=t.params||{},z(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=P.getDevice(),u=P.getSite(e),c=P.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({},U.getOrSetGlobalFeatures()),{},{print_number:H(t.adUnitCode,e).toString(),adunit_position:V(t.params.adUnitElementId)});Object.keys(r).forEach((function(t){""===r[t]&&delete r[t]})),t.features=r,P.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:"USD",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)||"USD"!==i.currency?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=N(t)),Object.keys(E).forEach((function(e){s.hasOwnProperty(e)&&(E[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),L(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:U.getExchangeData(),regs:{gdpr:d,coppa:f,ccpa:p},schain:h,user:{eids:v},prebidVersion:"7.20.0",featuresVersion:"1"},options:{contentType:"text/plain"}}}))},interpretResponse:function(t,e){var r=[];try{var n=t.body;n&&(n.data&&P.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(M))}t.mediaType===l.B5&&Z(t),t.site=n.params.site,t.placement=n.params.placement,t.pagetype=n.params.pagetype,t.category=n.params.category,t.subcategory=n.params.subcategory,t.environment=n.params.environment}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){z(s),s.params.auctionId=(0,o.Z)(a,"auctionId");var u=U.getOrSetGlobalFeatures();s.params.features=A(A({},u),{},{print_number:H(s.adUnitCode,a).toString(),adunit_position:V(s.params.adUnitElementId)}),s.params.pageviewId=P.getPageviewId(),s.params.prebidVersion="7.20.0",s.params.data=U.getExchangeData(),(0,o.Z)(s,"mediaTypes.video.context")===y.gZ&&(s.params.playerName=N(s)),L(s)}return s.params}};!function(){C()&&(I=C()?(0,a.Zy)():(0,a.e7)());var t=P.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.20.0",t.ADAGIO.isSafeFrameWindow=R(),k.getDataFromLocalStorage("adagio",(function(t){try{U.prepareExchangeData(t)}catch(t){(0,a.H)(x,t)}})),k.getDataFromLocalStorage(S,(function(t){P.adagioScriptFromLocalStorageCb(t)})),k.localStorageIsEnabled((function(t){if(t)(0,c.B)("https://script.4dex.io/localstore.js",O);else try{window.localStorage.removeItem(S),window.localStorage.removeItem("adagio")}catch(t){(0,a.PN)("".concat(x," unable to clear Adagio scripts from localstorage."))}}))}(),(0,u.dX)(_),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.DeviceID&&(e=t.DeviceID.join(",")),e},getUidExt:function(t){return"DeviceID"}},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:"amxrtb.com",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("ftrackId"===r){var n={atype:1,id:(t.ftrackId.DeviceID||[]).join("|"),ext:{}};for(var i in t.ftrackId)n.ext[i]=(t.ftrackId[i]||[]).join("|");e.push(n)}else if(Array.isArray(t[r]))t[r].forEach((function(t,n,i){var a=o(t,r);a&&e.push(a)}));else{var a=o(t[r],r);a&&e.push(a)}};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=d(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+=d(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 p(e):new f(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;function d(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}e.int2char=d;e.b64toHex=function(t){var e,r="",n=0,i=0;for(e=0;e<t.length&&"="!=t.charAt(e);++e){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(t.charAt(e));a<0||(0==n?(r+=d(a>>2),i=3&a,n=1):1==n?(r+=d(i<<2|a>>4),i=15&a,n=2):2==n?(r+=d(i),r+=d(a>>2),i=3&a,n=3):(r+=d(i<<2|a>>4),r+=d(15&a),n=0))}return 1==n&&(r+=d(i<<2)),r},e.removeExtraSymbols=function(t){return t.replace(/^1f+00/,"").replace("3031300d060960864801650304020105000420","")};var p=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}(),f=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 m(t){var e=i();return e.fromHexString(t.toString()),e}e.nbv=m,n.ZERO=m(0),n.ONE=m(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 D=new Array(n.length);for(A=0;A<n.length;A++)D[A]=("00000000"+n[A].toString(16)).slice(-8);return D.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){var e;e=3934,t(t.s=e)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[380],{4814:function(n,e,t){var d=t(9062),i=t(4679),a=t(5339),r=t(4358),o={code:"adpone",supportedMediaTypes:[i.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,d={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:d,options:{withCredentials:!0}}}))},interpretResponse:function(n,e){if(!n||!n.body)return[];var t=[];return n.body.seatbid.forEach((function(i){i.bid.length&&(t=[].concat((0,d.Z)(t),(0,d.Z)(i.bid.filter((function(n){return n.price>0})).map((function(t){var d={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&&(d.meta={},d.meta.advertiserDomains=t.meta.adomain),d})))))})),t},onBidWon:function(n){var e=JSON.stringify(n),t=window.btoa(e);(0,r.hq)("https://rtb.adpone.com/prebid/analytics?q=".concat(t))}};(0,a.dX)(o),window.pbjs.installedModules.push("adponeBidAdapter")}},function(n){var e;e=4814,n(n.s=e)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[996],{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="outstream",f={},h={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||f[n]||(f[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=b(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,g(e,t))})),a):g(e,t)},transformBidParams:function(e){return(0,r.uh)({aid:"number"},e)}};function g(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===l&&Object.assign(r,{adResponse:e,renderer:v(e.requestId,n.params)});return r}(e,t);a.push(r)}})),a}function b(e){var n=(0,i.Z)(e,"mediaTypes.video")?s.pX:"display",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 v(e,n){var t=u.Th.install({id:e,url:"https://player.adtelligent.com/outstream-unit/2.01/outstream.min.js",config:n.outstream||{},loaded:!1});return t.setRender(y),t}function y(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)(h),window.pbjs.installedModules.push("adtelligentBidAdapter")}},function(e){var n;n=8522,e(e.s=n)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[343],{7579:function(e,t,r){var i=r(1002),n=r(265),a=r(4358),o=r(5339),c=r(4192),d=r(4614),s=r(4679),u=r(59),p="USD",f={image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1},cta:{required:!1}},l={code:"adyoulike",gvlid:259,supportedMediaTypes:[s.Mk,s.B5,s.pX],aliases:["ayl"],isBidRequestValid:function(e){var t=h(y(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 s.Mk;if((0,n.Z)(e,"mediaTypes.video"))return s.pX;if((0,n.Z)(e,"mediaTypes.native"))return s.B5}(t),a=y(t),o=h(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:p,mediaType:r,size:[t.width,t.height]});if(!isNaN(i.floor)&&i.currency===p)return i.floor}(t,o,i)),t.schain&&(e[t.bidId].SChain=t.schain),i===s.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===s.pX){r=!0,e[t.bidId].Video=t.mediaTypes.video;var d=t.mediaTypes.video.playerSize;Array.isArray(d)&&!Array.isArray(d[0])&&(e[t.bidId].Video.playerSize=[d])}return e}),{}),PageRefreshed:m()};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));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:p,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,d=a.TrackingPrefix+"/pixel?event_kind=INSERTION&attempt="+a.Attempt;a.Campaign&&(c+="&campaign="+a.Campaign,d+="&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=k(a.OnEvents.CLICK),r.impressionTrackers=k(a.OnEvents.IMPRESSION),r.javascriptTrackers=k(a.OnEvents.IMPRESSION,!0)):r.impressionTrackers=[],r.impressionTrackers.push(c,d)}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 d=t.image.sizes||[];d.length||(d[0]=e.Width||300,d[1]=e.Height||250);var s=b(a,(0,n.Z)(a,"Content.Preview.Thumbnail.Image"),d[0],d[1]);s&&(r[i]={url:s,width:d[0],height:d[1]});break;case"icon":var u=t.icon.sizes||[];u.length||(u[0]=50,u[1]=50);var p=b(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]=b(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 m(){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,d.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("hb-api").concat(i,".omnitagjs.com"),pathname:n,search:g(t)})}function g(e){var t,r={};if(e){var i,n=e.refererInfo;null!=n&&n.location&&(r.RefererUrl=encodeURIComponent(n.location),n.numIframes>0&&(r.SafeFrame=!0));var a=null===(i=e.ortb2)||void 0===i?void 0:i.site;a&&(r.PageUrl=encodeURIComponent(a.page),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 y(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 h(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 I(e){return e?"https://blobs.omnitagjs.com/blobs/"+e.substr(16,2)+"/"+e.substr(16)+"/"+e:""}function b(e,t,r,i){var n="";if(t&&t.Kind)switch(t.Kind){case"INTERNAL":n=I(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=I(/.*key=([^&]*)/gm.exec(o)[1]))}else n=o}return n}function k(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)(l),window.pbjs.installedModules.push("adyoulikeBidAdapter")},4192:function(e,t,r){r.d(t,{HQ:function(){return c},Pv:function(){return d},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.DeviceID&&(t=e.DeviceID.join(",")),t},getUidExt:function(e){return"DeviceID"}},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:"amxrtb.com",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 d=r.getUidExt(e);d&&(c.ext=d)}if(n.uids=[c],(0,i.LQ)(r.getEidExt)){var s=r.getEidExt(e);s&&(n.ext=s)}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("ftrackId"===r){var i={atype:1,id:(e.ftrackId.DeviceID||[]).join("|"),ext:{}};for(var n in e.ftrackId)i.ext[n]=(e.ftrackId[n]||[]).join("|");t.push(i)}else if(Array.isArray(e[r]))e[r].forEach((function(e,i,n){var a=o(e,r);a&&t.push(a)}));else{var a=o(e[r],r);a&&t.push(a)}};for(var i in e)r(i);return t}function d(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){var t;t=7579,e(e.s=t)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[301],{4041:function(e,t,n){var r=n(4942),i=n(1002),a=n(5339),o=n(4679),u=n(4358),s=n(265),c=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";function h(e,t){return null==e?[]:e.map(t).reduce((function(e,t){return null!=t&&e.concat(t)}),[])}function g(e){return null!=(t=e.adm)&&m.test(t)?o.pX:o.Mk;var t}var y=function(e,t){return null==e||(0,i.Z)(e)===t};function v(e){var t=e.hostname.split("."),n=t.slice(t.length-(f.test(e.hostname)?3:2)).join(".");return btoa(n).replace(/=+$/,"")}var w=encodeURIComponent;function O(){try{return l.getDataFromLocalStorage(b)}catch(e){return null}}function j(e){var t={};return(0,u.yi)(e,(function(e){t[e.bidId]=function(e){var t=(p=e.sizes,l=e.mediaTypes,p.concat((0,s.Z)(l,"".concat(o.Mk,".sizes"),[])||[]).concat((0,s.Z)(l,"".concat(o.pX,".sizes"),[])||[]).sort((function(e,t){return t[0]*t[1]-e[0]*e[1]}))[0]||[0,0]),n=e.mediaType===o.pX||o.pX in e.mediaTypes,r=n||t[1]>100,i=(0,s.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,s.Z)(e,"mediaTypes.".concat(o.Mk,".sizes"),[])||[],(0,s.Z)(e,"mediaTypes.".concat(o.pX,".sizes"),[])||[]],c=(0,s.Z)(e,"mediaTypes.".concat(o.pX),{})||{},d={au:a,av:r,vd:c,vr:n,ms:u,aw:t[0],ah:t[1],tf:0,sc:e.schain||{},f:C(Z(e)),rtb:e.ortb2Imp};var p,l;"string"==typeof i&&i.length>0&&(d.i=i);return d}(e)})),t}var I=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)()}))))};function C(e){return"number"==typeof e&&isFinite(e)&&e>0?e:0}function Z(e){if(!(0,u.LQ)(e.getFloor))return(0,s.Z)(e,"params.floor",0);try{return e.getFloor({currency:"USD",mediaType:"*",size:"*",bidRequest:e}).floor}catch(e){return(0,u.H)("call to getFloor failed: ",e),0}}function T(e,t,n){return(0,s.Z)(e,"refererInfo."+t,n)}var k={code:"amx",supportedMediaTypes:[o.Mk,o.pX],isBidRequestValid:function(e){return y((0,s.Z)(e,"params.endpoint",null),"string")&&y((0,s.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,s.Z)(e[0],"params.tagId",null),p=(0,s.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.20.0",vg:"pbjs",i:p&&null!=d?d:v(o),l:{},f:.01,cv:"pba1.3.2",st:"prebid",h:screen.height,w:screen.width,gs:(0,s.Z)(t,"gdprConsent.gdprApplies",""),gc:(0,s.Z)(t,"gdprConsent.consentString",""),u:T(t,"page",o.href),do:T(t,"site",o.hostname),re:T(t,"ref"),am:O(),usp:t.uspConsent||"1---",smt:1,d:"",m:j(e),cpp:c.vc.getConfig("coppa")?1:0,fpd2:t.ortb2,tmax:c.vc.getConfig("bidderTimeout"),amp:T(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,s.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=g(n),u=n.adm;if(null==u)return null;var s=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),c=a===o.Mk?240:300;return i={requestId:e,cpm:n.price,width:s[0],height:s[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:c),i}))})).filter((function(e){return null!=e}))})))},onSetTargeting:function(e){var t,n;null!=e&&I("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(w(e)+"="+w(String(t[e])))})),w(n.join("&")))})},onTimeout:function(e){null!=e&&I("pbto",{A:e.bidder,bid:e.bidId,a:e.adUnitCode,cn:e.timeout,aud:e.auctionId})},onBidWon:function(e){null!=e&&I("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)(k),window.pbjs.installedModules.push("amxBidAdapter")}},function(e){var t;t=4041,e(e.s=t)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[254],{1570:function(e,t,n){var r=n(1002);function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var a,o,s,c=n(4358),d=n(6475),u=n(5339),p=n(4679),m="aol",l="verizon",f="onemobile",b="onedisplay",h={GET:"display-get"},v={GET:"mobile-get",POST:"mobile-post"},g={TAG:"iframe",TYPE:"iframe"},y={TAG:"img",TYPE:"image"},O=["admixer.net","adserver.org","adtelligent.com","akamai.com","amxrtb.com","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"],x=k(a||(a=i(["","/pubapi/3.0/","/","/","/","/ADTECH;v=2;cmd=bid;cors=yes;alias=",";misc=",";",""])),"host","network","placement","pageid","sizeid","alias","misc","dynamicParams"),P=k(o||(o=i(["","/bidRequest?"])),"host"),T=k(s||(s=i(["dcn=","&pos=","&cmd=bid",""])),"dcn","pos","dynamicParams"),C={us:"adserver-us.adtech.advertising.com",eu:"adserver-eu.adtech.advertising.com",as:"adserver-as.adtech.advertising.com"},E="https",w=1;function k(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var a=r[r.length-1]||{},o=[e[0]];return n.forEach((function(t,n){var i=(0,c.U)(t)?r[t]:a[t];o.push(i,e[n+1])})),o.join("")}}function I(e){return e===m||e===l||e===f}function R(e){if(I(e.bidder)&&e.params.id&&e.params.imp&&e.params.imp[0]){var t=e.params.imp[0];return t.id&&t.tagid&&t.banner&&t.banner.w&&t.banner.h}}function U(e){return I(e.bidder)&&e.params.dcn&&e.params.pos}function M(e){return((t=e.bidder)===m||t===l||t===b)&&e.params.placement&&e.params.network;var t}function S(e){return e.userIdAsEids.filter((function(e){return-1!==O.indexOf(e.source)}))}var q={code:m,gvlid:25,aliases:[f,b,l],supportedMediaTypes:[p.Mk],isBidRequestValid:function(e){return M(e)||function(e){return U(e)||R(e)}(e)},buildRequests:function(e,t){var n=this,r={};return t&&(r.gdpr=t.gdprConsent,r.uspConsent=t.uspConsent),e.map((function(e){var t=function(e){return U(e)?v.GET:R(e)?v.POST:M(e)?h.GET:void 0}(e);if(t)return n.formatBidRequest(t,e,r)}))},interpretResponse:function(e,t){var n=e.body;if(n){var r=this._parseBidResponse(n,t);if(r)return r}else(0,c.H)("Empty bid response",t.bidderCode,n)},getUserSyncs:function(e,t){var n=!(0,c.xb)(t)&&t[0].body;return n&&n.ext&&n.ext.pixels?this.parsePixelItems(n.ext.pixels):[]},formatBidRequest:function(e,t,n){var r;switch(e){case h.GET:r={url:this.buildMarketplaceUrl(t,n),method:"GET",ttl:60};break;case v.GET:r={url:this.buildOneMobileGetUrl(t,n),method:"GET",ttl:3600};break;case v.POST:r={url:this.buildOneMobileBaseUrl(t),method:"POST",ttl:3600,data:this.buildOpenRtbRequestData(t,n),options:{contentType:"application/json",customHeaders:{"x-openrtb-version":"2.2"}}}}return r.bidderCode=t.bidder,r.bidId=t.bidId,r.userSyncOn=t.params.userSyncOn,r},buildMarketplaceUrl:function(e,t){var n,r=e.params,i=r.server,a=r.region||"us";return C.hasOwnProperty(a)||((0,c.yN)("Unknown region '".concat(a,"' for AOL bidder.")),a="us"),n=i||C[a],r.region=a,this.applyProtocol(x({host:n,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,t)}))},buildOneMobileGetUrl:function(e,t){var n=e.params,i=n.dcn,a=n.pos,o=n.ext;"object"===(0,r.Z)(e.userId)&&(o=o||{},S(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,t);s+=T({dcn:i,pos:a,dynamicParams:c})}return s},buildOneMobileBaseUrl:function(e){return this.applyProtocol(P({host:e.params.host||"c2shb.ssp.yahoo.com"}))},applyProtocol:function(e){return/^https?:\/\//i.test(e)?e:0===e.indexOf("//")?"".concat(E,":").concat(e):"".concat(E,"://").concat(e)},formatMarketplaceDynamicParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};Object.assign(n,this.formatKeyValues(e.keyValues)),Object.assign(n,this.formatConsentData(t));var r="";return(0,c.yi)(n,(function(e,t){r+="".concat(t,"=").concat(encodeURIComponent(e),";")})),r},formatOneMobileDynamicParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.isSecureProtocol()&&(e.secure=w),Object.assign(e,this.formatConsentData(t));var n="";return(0,c.yi)(e,(function(e,t){n+="&".concat(t,"=").concat(encodeURIComponent(e))})),n},buildOpenRtbRequestData:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={id:e.params.id,imp:e.params.imp};if(this.isEUConsentRequired(t)&&((0,d.N)(n,"regs.ext.gdpr",w),t.gdpr.consentString&&(0,d.N)(n,"user.ext.consent",t.gdpr.consentString)),t.uspConsent&&(0,d.N)(n,"regs.ext.us_privacy",t.uspConsent),"object"===(0,r.Z)(e.userId)){n.user=n.user||{},n.user.ext=n.user.ext||{};var i=S(e);i.length>0&&(n.user.ext.eids=i)}return n},isEUConsentRequired:function(e){return!!(e&&e.gdpr&&e.gdpr.gdprApplies)},formatKeyValues:function(e){var t={};return(0,c.yi)(e,(function(e,n){t["kv".concat(n)]=e})),t},formatConsentData:function(e){var t={};return this.isEUConsentRequired(e)&&(t.gdpr=w,e.gdpr.consentString&&(t.euconsent=e.gdpr.consentString)),e.uspConsent&&(t.us_privacy=e.uspConsent),t},parsePixelItems:function(e){var t=/\w*(?=\s)/,n=/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(t)[0],a=e.match(n)[2];i&&a&&r.push({type:i===y.TAG?y.TYPE:g.TYPE,url:a})}))}return r},_parseBidResponse:function(e,t){var n,r;try{n=e.seatbid[0].bid[0]}catch(e){return}if(n.ext&&n.ext.encp)r=n.ext.encp;else if(null===(r=n.price)||isNaN(r))return void(0,c.H)("Invalid price in bid response",m,n);return{bidderCode:t.bidderCode,requestId:t.bidId,ad:n.adm,cpm:r,width:n.w,height:n.h,creativeId:n.crid||0,pubapiId:e.id,currency:e.cur||"USD",dealId:n.dealid,netRevenue:!0,meta:{advertiserDomains:n&&n.adomain?n.adomain:[]},ttl:t.ttl}},isOneMobileBidder:I,isSecureProtocol:function(){return"https:"===document.location.protocol}};(0,u.dX)(q),window.pbjs.installedModules.push("aolBidAdapter")}},function(e){var t;t=1570,e(e.s=t)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[273],{530:function(e,r,n){var t=n(265),a=n(4358),i=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=i.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,a.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 a=e[t][0]*e[t][1];a>=r&&(r=a,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 i=function(e){if(!(0,a.LQ)(e.getFloor))return e.params.floorPrice?e.params.floorPrice:null;var r=e.getFloor({currency:"USD",mediaType:"*",size:"*"});if((0,a.PO)(r)&&!isNaN(r.floor)&&"USD"===r.currency)return r.floor;return null}(e);i&&(e.bidFloor=i),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,a.PO)(n))return[];var t=n.bids;if(!t||!(0,a.kJ)(t))return[];var i=[];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,a.ew)(e.vastXml,e.cpm):n.ad=(0,a.ew)(e.ad,e.cpm),n.meta={},e.meta&&e.meta.advertiserDomains&&(0,a.kJ)(e.meta.advertiserDomains)&&(n.meta.advertiserDomains=e.meta.advertiserDomains),i.push(n)})),i},getUserSyncs:function(e,r,n,t){var a=[];if((0,s.h)(n)){var i="";n&&"string"==typeof n.consentString&&(i="boolean"==typeof n.gdprApplies?"?gdpr=".concat(Number(n.gdprApplies),"&gdpr_consent=").concat(n.consentString):"?gdpr_consent=".concat(n.consentString)),t&&(i+="".concat(i?"&":"?","us_privacy=").concat(encodeURIComponent(t)));try{e.iframeEnabled&&a.push({type:"iframe",url:"https://sync.quantumdex.io/usersync/pbjs"+i}),r.length>0&&r[0].body&&r[0].body.pixel&&r[0].body.pixel.forEach((function(r){"image"===r.type&&e.pixelEnabled&&a.push({type:"image",url:r.url+i}),"iframe"===r.type&&e.iframeEnabled&&a.push({type:"iframe",url:r.url+i})}))}catch(e){}}return a}};(0,o.dX)(p),window.pbjs.installedModules.push("apacdexBidAdapter")},7673:function(e,r,n){n.d(r,{h:function(){return a}});var t=n(265);function a(e){return null==e||!e.gdprApplies||!0===(0,t.Z)(e,"vendorData.purpose.consents.1")}}},function(e){var r;r=530,e(e.s=r)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[864],{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),m=a(4614),l=a(154),f=a(5164),v=a(5975),b=a(7673),g=a(59),h="appnexus",y="https://ib.adnxs.com/ut/v3/prebid",_="https://ib.adnxs-simple.com/ut/v3/prebid",k=["id","minduration","maxduration","skippable","playback_method","frameworks","context","skipoffset"],I=["minduration","maxduration","skip","skipafter","playbackmethod","api"],w=["age","externalUid","segments","gender","dnt","language"],x=["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"},j={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}},O={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="<script",S=/\/\/cdn\.adnxs\.com\/v|\/\/cdn\.adnxs\-simple\.com\/v/,q="trk.js",P=(0,f.df)({gvlid:32,bidderCode:h}),R={code:h,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.member&&e.params.invCode)},buildRequests:function(e,r){var a=(e=(0,g.lY)(e)).map(N),n=(0,m.sE)(e,A),o={};!0===d.vc.getConfig("coppa")&&(o={coppa:!0}),n&&Object.keys(n.params.user).filter((function(e){return(0,m.q9)(w,e)})).forEach((function(e){var r=(0,i.G2)(e);if("segments"===e&&(0,i.kJ)(n.params.user[e])){var a=[];n.params.user[e].forEach((function(e){(0,i.hj)(e)?a.push({id:e}):(0,i.PO)(e)&&a.push(e)})),o[r]=a}else"segments"!==e&&(o[r]=n.params.user[e])}));var p,u=(0,m.sE)(e,D);u&&u.params&&u.params.app&&(p={},Object.keys(u.params.app).filter((function(e){return(0,m.q9)(x,e)})).forEach((function(e){return p[e]=u.params.app[e]})));var c,l=(0,m.sE)(e,J);l&&l.params&&u.params.app&&u.params.app.id&&(c={appid:l.params.app.id});var f={},v={},h=P.getCookie("apn_prebid_debug")||null;if(h)try{f=JSON.parse(h)}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&&(f[E[e]]=r,f.enabled=!0)})),f=(0,i.uh)({member_id:"number",debug_timeout:"number"},f);var k=(0,m.sE)(e,M);k&&k.debug&&(f=k.debug)}f&&f.enabled&&Object.keys(f).filter((function(e){return(0,m.q9)(C,e)})).forEach((function(e){v[e]=f[e]}));var I=(0,m.sE)(e,z),j=I?parseInt(I.params.member,10):0,O=e[0].schain,T=(0,m.sE)(e,H),S={tags:(0,t.Z)(a),user:o,sdk:{source:"pbjs",version:"7.20.0"},schain:O};T&&(S.iab_support={omidpn:"Appnexus",omidpv:"7.20.0"}),j>0&&(S.member_id=j),u&&(S.device=p),l&&(S.app=c);var q,R,U=(0,i.I8)(r&&r.ortb2),B=(q=U,R=[],["site.keywords","site.content.keywords","user.keywords","app.keywords","app.content.keywords"].forEach((function(e){var r=(0,s.Z)(q,e);(0,i.d8)(r)&&R.push(r)})),R).map((function(e){return K(e)})),V=(0,i.I8)(d.vc.getConfig("appnexusAuctionKeywords"))||{};Object.keys(V).forEach((function(e){((0,i.d8)(V[e])||(0,i.hj)(V[e]))&&(V[e]=[V[e]])}));var F=i.Ee.apply(void 0,[{},V].concat((0,t.Z)(B))),$=(0,i.Bq)(F);if($.length>0&&($.forEach(Z),S.keywords=$),d.vc.getConfig("adpod.brandCategoryExclusion")&&(S.brand_category_uniqueness=!0),v.enabled&&(S.debug=v,(0,i.PN)("AppNexus Debug Auction Settings:\n\n"+JSON.stringify(v,null,4))),r&&r.gdprConsent&&(S.gdpr_consent={consent_string:r.gdprConsent.consentString,consent_required:r.gdprConsent.gdprApplies},r.gdprConsent.addtlConsent&&-1!==r.gdprConsent.addtlConsent.indexOf("~"))){var Q=r.gdprConsent.addtlConsent,W=Q.substring(Q.indexOf("~")+1);S.gdpr_consent.addtl_consent=W.split(".").map((function(e){return parseInt(e,10)}))}if(r&&r.uspConsent&&(S.us_privacy=r.uspConsent),r&&r.refererInfo){var Y={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(",")},ee=r.refererInfo.canonicalUrl;(0,i.d8)(ee)&&""!==ee&&(Y.rd_can=ee),S.referrer_detection=Y}if((0,m.sE)(e,X)&&e.filter(X).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),m=(0,i.yo)(u,c);n.forEach((function(e,r){m[r].map((function(r){L(r,"minduration",e),L(r,"maxduration",e)}))}))}else u.map((function(e){return L(e,"maxduration",d)}));return u}(a,e),n=S.tags.filter((function(r){return r.uuid!==e.bidId}));S.tags=[].concat((0,t.Z)(n),(0,t.Z)(r))})),e[0].userId){var re=[];G(re,(0,s.Z)(e[0],"userId.criteoId"),"criteo.com",null),G(re,(0,s.Z)(e[0],"userId.netId"),"netid.de",null),G(re,(0,s.Z)(e[0],"userId.idl_env"),"liveramp.com",null),G(re,(0,s.Z)(e[0],"userId.tdid"),"adserver.org","TDID"),G(re,(0,s.Z)(e[0],"userId.uid2.id"),"uidapi.com","UID2"),e[0].userId.pubProvidedId&&e[0].userId.pubProvidedId.forEach((function(e){e.uids.forEach((function(r){re.push({source:e.source,id:r.id})}))})),re.length&&(S.eids=re)}a[0].publisher_id&&(S.publisher_id=a[0].publisher_id);var ae=function(e,r){var a=[],n={withCredentials:!0},t=y;(0,b.h)(null==r?void 0:r.gdprConsent)||(t=_);"TRUE"!==(0,i.rD)("apn_test").toUpperCase()&&!0!==d.vc.getConfig("apn_test")||(n.customHeaders={"X-Is-Test":1});if(e.tags.length>15){var s=(0,i.I8)(e);(0,i.yo)(e.tags,15).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}(S,r);return ae},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,m.sE)(r.ads,(function(e){return e.rtb}));if(d&&((!0===v.S.get(n.bidderCode,"allowZeroCpmBids")?d.cpm>=0:d.cpm>0)&&(0,m.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.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 l.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,m.sE)(a.bids,(function(r){return r.bidId===e.uuid})),g=(0,s.Z)(b,"mediaTypes.video.renderer.options");g||(g=(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,g)}break;case l.LD:d.vastUrl=r.notify_url+"&redir="+encodeURIComponent(r.rtb.video.asset_url)}}else if(r.rtb[u.B5]){var h,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(q),t=null!=n&&n.length>=1;return e.startsWith(T)&&t&&a}(r.viewability.config)){var _="pbjs_adid="+t+";pbjs_auc="+n.adUnitCode;h=r.viewability.config.replace("dom_id=%native_dom_id%",_)}var k=y.javascript_trackers;null==k?k=h:(0,i.d8)(k)?k=[k,h]:k.push(h),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,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 I=0;I<r.rtb.trackers[0].impression_urls.length;I++){var w=r.rtb.trackers[0].impression_urls[I],x=(0,i.SG)(w);d.ad+=x}}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){if(e.iframeEnabled&&(0,b.h)(a))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,m.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&&(e.use_pmt_rule="boolean"==typeof e.usePaymentRule&&e.usePaymentRule,e.usePaymentRule&&delete e.usePaymentRule,U(e.keywords)&&e.keywords.forEach(Z),Object.keys(e).forEach((function(r){var a=(0,i.G2)(r);a!==r&&(e[a]=e[r],delete e[r])}))),e}};function U(e){return!!((0,i.kJ)(e)&&e.length>0)}function Z(e){U(e.value)&&""===e.value[0]&&delete e.value}function N(e){var r={};r.sizes=B(e.sizes),r.primary_size=r.sizes[0],r.ad_types=[],r.uuid=e.bidId,e.params.placementId?r.id=parseInt(e.params.placementId,10):r.code=e.params.invCode,r.allow_smaller_sizes=e.params.allowSmallerSizes||!1,r.use_pmt_rule=e.params.usePaymentRule||!1,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.trafficSourceCode&&(r.traffic_source_code=e.params.trafficSourceCode),e.params.privateSizes&&(r.private_sizes=B(e.params.privateSizes)),e.params.supplyType&&(r.supply_type=e.params.supplyType),e.params.pubClick&&(r.pubclick=e.params.pubClick),e.params.extInvCode&&(r.ext_inv_code=e.params.extInvCode),e.params.publisherId&&(r.publisher_id=parseInt(e.params.publisherId,10)),e.params.externalImpId&&(r.external_imp_id=e.params.externalImpId);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),l=(0,i.Bq)(p);l.length>0&&(l.forEach(Z),r.keywords=l)}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 g=(f=e.nativeParams,v={},Object.keys(f).forEach((function(e){var r=O[e]&&O[e].serverName||O[e]||e,a=O[e]&&O[e].requiredParams;if(v[r]=Object.assign({},a,f[e]),(r===O.image.serverName||r===O.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===O.privacyLink&&(v.privacy_supported=!0)})),v);r[u.B5]={layouts:[g]}}var h=(0,s.Z)(e,"mediaTypes.".concat(u.pX)),y=(0,s.Z)(e,"mediaTypes.video.context");r.hb_source=h&&"adpod"===y?7:1,(e.mediaType===u.pX||h)&&r.ad_types.push(u.pX),(e.mediaType===u.pX||h&&"outstream"!==y)&&(r.require_asset_url=!0),e.params.video&&(r.video={},Object.keys(e.params.video).filter((function(e){return(0,m.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]=j[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)),h&&(r.video=r.video||{},Object.keys(h).filter((function(e){return(0,m.q9)(I,e)})).forEach((function(e){switch(e){case"minduration":case"maxduration":"number"!=typeof r.video[e]&&(r.video[e]=h[e]);break;case"skip":"boolean"!=typeof r.video.skippable&&(r.video.skippable=1===h[e]);break;case"skipafter":"number"!=typeof r.video.skipoffset&&(r.video.skippoffset=h[e]);break;case"playbackmethod":if("number"!=typeof r.video.playback_method){var a=h[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)(h[e])){var n=h[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}}}))),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 _=(0,m.sE)(c.K.getAdUnits(),(function(r){return e.transactionId===r.transactionId}));return _&&_.mediaTypes&&_.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 A(e){return!!e.params.user}function z(e){return!!parseInt(e.params.member,10)}function D(e){if(e.params)return!!e.params.app}function J(e){return e.params&&e.params.app?!!e.params.app.id:!!e.params.app}function M(e){return!!e.debug}function X(e){return e.mediaTypes&&e.mediaTypes.video&&e.mediaTypes.video.context===u.Oh}function H(e){var r=!1,a=e.params,n=e.params.video;return a.frameworks&&(0,i.kJ)(a.frameworks)&&(r=(0,m.q9)(e.params.frameworks,6)),!r&&n&&n.frameworks&&(0,i.kJ)(n.frameworks)&&(r=(0,m.q9)(e.params.video.frameworks,6)),r}function L(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 G(e,r,a,n){return r&&(n?e.push({source:a,id:r,rti_partner:n}):e.push({source:a,id:r})),e}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)(R),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){var r;r=6319,e(e.s=r)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[948],{7218:function(t,e,r){var i=r(1002),n=r(4358),o=r(6475),d=r(5339),a=r(4679),s=r(3193),u="brightcom",h={code:u,supportedMediaTypes:[a.Mk],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=[],a=(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})),a=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?g(t,e,{w:i,h:o}):0}(i,(0,n.Zy)(),o):"na",s=isNaN(a)?a:Math.round(a),u={id:t.bidId,banner:{format:r,ext:{viewability:s}},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:a}},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:s.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)),{method:"POST",url:"https://brightcombid.marphezis.com/hb",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:a.Mk,ad:p(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 p(t){var e=t.adm;return"nurl"in t&&(e+=(0,n.SG)(t.nurl)),e}function l(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,a=n.left,s=n.top,u=n.right,h=n.bottom;return(0===o||0===d)&&r&&i&&(o=r,d=i,u=a+r,h=s+i),{width:o,height:d,left:a,top:s,right:u,bottom:h}}function c(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}function g(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.w,n=r.h,o=l(t,{w:i,h:n}),d=c([{left:0,top:0,right:e.innerWidth,bottom:e.innerHeight},o]);return null!==d?d.width*d.height/(o.width*o.height)*100:0}(0,d.dX)(h),window.pbjs.installedModules.push("brightcomBidAdapter")}},function(t){var e;e=7218,t(t.s=e)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[548],{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){var r;r=2997,e(e.s=r)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[391],{9950:function(e,t,r){var n=r(6475),i=r(4358),o=r(5339),a=r(4679),c=r(3193),s=r(4192),u={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 u,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.20.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&&(u=t.gdprConsent.gdprApplies?1:0),(0,n.N)(d,"user.ext.gdpr",u),(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,s.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 s=e.decisions&&e.decisions[o],u=s&&s.pricing&&s.pricing.clearPrice;s&&u&&(n.requestId=o,n.cpm=u,n.width=s.width,n.height=s.height,n.dealid=s.dealid||null,n.meta={advertiserDomains:s&&s.adomain?s.adomain:[]},n.ad=l(s),n.currency="USD",n.creativeId=s.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)(u),window.pbjs.installedModules.push("connectadBidAdapter")},4192:function(e,t,r){r.d(t,{HQ:function(){return c},Pv:function(){return s},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.DeviceID&&(t=e.DeviceID.join(",")),t},getUidExt:function(e){return"DeviceID"}},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:"amxrtb.com",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 s=r.getUidExt(e);s&&(c.ext=s)}if(i.uids=[c],(0,n.LQ)(r.getEidExt)){var u=r.getEidExt(e);u&&(i.ext=u)}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("ftrackId"===r){var n={atype:1,id:(e.ftrackId.DeviceID||[]).join("|"),ext:{}};for(var i in e.ftrackId)n.ext[i]=(e.ftrackId[i]||[]).join("|");t.push(n)}else if(Array.isArray(e[r]))e[r].forEach((function(e,n,i){var o=a(e,r);o&&t.push(o)}));else{var o=a(e[r],r);o&&t.push(o)}};for(var n in e)r(n);return t}function s(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){var t;t=9950,e(e.s=t)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[434],{6564:function(e,r,a){var n=a(9062),i=a(4358),t=a(265),s=a(6475),o=a(5339),d=a(4679),p=a(5164),u="conversant",c=(0,p.df)({gvlid:24,bidderCode:u}),m={code:u,gvlid:24,aliases:["cnvr"],supportedMediaTypes:[d.Mk,d.pX],isBidRequestValid:function(e){if(!e||!e.params)return(0,i.yN)("conversant: Missing bid parameters"),!1;if(!(0,i.d8)(e.params.site_id))return(0,i.yN)("conversant: site_id must be specified as a string"),!1;if(v(e)){var r=e.params.mimes||(0,t.Z)(e,"mediaTypes.video.mimes");if(r){if(!(0,i.kJ)(r)||!r.every((function(e){return(0,i.d8)(e)})))return(0,i.yN)("conversant: mimes must be an array of strings"),!1}else(0,i.yN)("conversant: mimes should be specified for videos")}return!0},buildRequests:function(e,r){var a,n=r&&r.refererInfo?r.refererInfo.page:"",o="",d="",p=null,u="_pubcid",m="https://web.hb.ad.cpe.dotomi.com/cvx/client/hb/ortb/25",f=e.map((function(e){var r=function(e){var r=(0,i.An)("bidfloor",e.params);if(!r&&(0,i.LQ)(e.getFloor)){var a=e.getFloor({currency:"USD",mediaType:"*",size:"*"});(0,i.PO)(a)&&!isNaN(a.floor)&&"USD"===a.currency&&(r=a.floor)}return r}(e);o=(0,i.An)("site_id",e.params)||o,u=(0,i.An)("pubcid_name",e.params)||u,d=e.auctionId;var a={id:e.bidId,secure:1,bidfloor:r||0,displaymanager:"Prebid.js",displaymanagerver:"7.20.0"};if(e.ortb2Imp&&(0,i.Ee)(a,e.ortb2Imp),g(e.params.tag_id,a,"tagid"),v(e)){var n=(0,t.Z)(e,"mediaTypes.video")||{},s=l(n.playerSize||e.sizes),c={};s&&s[0]&&(g(s[0].w,c,"w"),g(s[0].h,c,"h")),g(e.params.position||n.pos,c,"pos"),g(e.params.mimes||n.mimes,c,"mimes"),g(e.params.maxduration||n.maxduration,c,"maxduration"),g(e.params.protocols||n.protocols,c,"protocols"),g(e.params.api||n.api,c,"api"),a.video=c}else{var f=(0,t.Z)(e,"mediaTypes.banner")||{},b={format:l(f.sizes||e.sizes)};g(e.params.position||f.pos,b,"pos"),a.banner=b}return e.userId&&e.userId.pubcid?p=e.userId.pubcid:e.crumbs&&e.crumbs.pubcid&&(p=e.crumbs.pubcid),e.params.white_label_url&&(m=e.params.white_label_url),a})),b={id:d,imp:f,site:{id:o,mobile:null!==document.querySelector('meta[name="viewport"][content*="width=device-width"]')?1:0,page:n},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)),p||(p=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,i.d8)(r)&&"{"===r.charAt(0)&&(r=JSON.parse(r))}catch(e){(0,i.H)(e)}return r}(u)),p&&(h.fpc=p);var w=function(e){var r=e[0],a=[];if((0,i.kJ)(r.userIdAsEids)&&r.userIdAsEids.length>0){var n={"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){n.hasOwnProperty(e.source)&&a.push(e)}))}return a}(e);w.length>0&&(h.eids=w),(0,i.xb)(h)||(b.user={ext:h});var I=r.ortb2||{};return(0,i.Ee)(b,I),{method:"POST",url:m,data:b}},interpretResponse:function(e,r){var a=[],n={};return e=e.body,r&&r.data&&r.data.imp&&(0,i.yi)(r.data.imp,(function(e){return n[e.id]=e})),e&&(0,i.kJ)(e.seatbid)&&(0,i.yi)(e.seatbid,(function(r){(0,i.yi)(r.bid,(function(r){var i=parseFloat(r.price);if(i>0&&r.impid){var t=r.adm||"",s=r.nurl||"",o=n[r.impid],d={requestId:r.impid,currency:e.cur||"USD",cpm:i,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,i.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,i.en)(r);return(0,i.Ee)(a.search,s),0===Object.keys(a.search).length&&delete a.search,{type:e.type,url:(0,i.Q2)(a)}})).reduce((function(e,r){return e.concat(r)}),[])})).reduce((function(e,r){return e.concat(r)}),[]);o.push.apply(o,(0,n.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,i.HA)(e,(function(e){return{w:e[0],h:e[1]}}))),r}function v(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){var r;r=6564,e(e.s=r)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[73],{7713:function(e,n,o){var t=o(4358),r=o(8928),c=o(5102),a=o(2797),i="criteo",d=(0,o(5164).df)({gvlid:91,moduleName:i}),l="cto_bidid",u="cto_bundle",s=new Date(0).toString(),p=new Date((0,t.AB)()+33696e6).toString();function f(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 b(e){return d.getCookie(e)||d.getDataFromLocalStorage(e)}function g(e,n,o){e&&n&&(d.setDataInLocalStorage(e,n),m(e,n,p,o,!0))}function m(e,n,o,t,r){for(var c=t.split("."),a=0;a<c.length;++a){var i=c.slice(c.length-a-1,c.length).join(".");try{if(d.setCookie(e,n,o,null,"."+i),r){var l=d.getCookie(e);if(l&&l===n)break}}catch(e){}}}function h(e,n,o){var a=d.cookiesAreEnabled(),i=d.localStorageIsEnabled(),p=f((0,c.nH)().page),b=f(document.location.href,!0),h="undefined"!=typeof criteo_pubtag,v=function(e,n,o,t,r,c,a,i){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(i?"&gdprString="+encodeURIComponent(i):"")+"".concat(r?"&cw=1":"")+"".concat(a?"&pbt=1":"")+"".concat(c?"&lsw=1":"")}(p,b,e.bundle,e.dnaBundle,a,i,h,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]&&g(n.storageKeyName,t[n.bundlePropertyName],e)}}},void 0,{method:"GET",withCredentials:!0}):(0,t.hq)(n.pixelUrl)}(b,e)})),c.acwsUrl)?("string"==typeof c.acwsUrl?[c.acwsUrl]:c.acwsUrl).forEach((function(e){return(0,t.hq)(e)})):c.bundle&&g(u,c.bundle,b);if(c.bidId){g(l,c.bidId,b);var a={criteoId:c.bidId};o(a)}else m(n=l,"",s,b,!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 v={name:i,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:b(u),dnaBundle:b("cto_dna_bundle"),bidId:b(l)};return{id:t.bidId?{criteoId:t.bidId}:void 0,callback:function(e){return h(t,o,e)}}}};(0,a.Bx)("userId",v),window.pbjs.installedModules.push("criteoIdSystem")}},function(e){var n;n=7713,e(e.s=n)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[226],{2663:function(e,r,n){var c,o=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(9128),v="https://cdn.jsdelivr.net/gh/prebid/currency-file@1/latest.json?date=$$TODAY$$",y=[],p={},h=!1,g=!0,C="USD",b=!1,R={},N={},m=function(){var e;function r(){e=(0,d.P)()}return r(),{done:function(){return e.resolve()},reset:r,promise:function(){return e.promise}}}();function w(e){c?((0,t.yN)(e),(0,t.yN)("Currency failed loading rates, falling back to currency.defaultRates")):(0,t.H)(e)}function S(e){p={},b=!0,(0,t.PN)("Installing addBidResponse decorator for currency module",arguments),(0,i.R)().convertCurrency=function(e,r,n){return parseFloat(e)*P(r,n)},(0,f.v5)("addBidResponse").before(j,100),g?(g=!1,(0,u.h)(e,{success:function(e){try{R=JSON.parse(e),(0,t.PN)("currencyRates set to "+JSON.stringify(R)),p={},h=!0,F(),m.done()}catch(r){w("Failed to parse currencyRates response: "+e)}},error:function(){w.apply(void 0,arguments),m.done()}})):m.done()}function D(){(0,t.PN)("Uninstalling addBidResponse decorator for currency module",arguments),(0,f.v5)("addBidResponse").getHooks({hook:j}).remove(),delete(0,i.R)().convertCurrency,C="USD",p={},b=!1,h=!1,g=!0,R={},N={}}a.vc.getConfig("currency",(function(e){return function(e){var r=v;if("object"===(0,o.Z)(e.rates)&&(R.conversions=e.rates,h=!0,g=!1),"object"===(0,o.Z)(e.defaultRates)&&(c=e.defaultRates,R.conversions=c,h=!0),"string"==typeof e.adServerCurrency){(0,t.PN)("enabling currency support",arguments),C=e.adServerCurrency,e.conversionRateFile&&((0,t.PN)("currency using override conversionRateFile:",e.conversionRateFile),r=e.conversionRateFile);var n=r.indexOf("$$TODAY$$");if(-1!==n){var i=new Date,s="".concat(i.getMonth()+1),u="".concat(i.getDate());s.length<2&&(s="0".concat(s)),u.length<2&&(u="0".concat(u));var a="".concat(i.getFullYear()).concat(s).concat(u);r="".concat(r.substring(0,n)).concat(a).concat(r.substring(n+9,r.length))}S(r)}else(0,t.PN)("disabling currency support"),D();"object"===(0,o.Z)(e.bidderCurrencyDefault)&&(N=e.bidderCurrencyDefault)}(e.currency)}));var j=(0,l.A)("currency",(function(e,r,n,c){if(!n)return e.call(this,r,n,c);var o=n.bidderCode||n.bidder;if(N[o]){var i=N[o];n.currency&&i!==n.currency?(0,t.yN)("Currency default '".concat(o,": ").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(e){return(parseFloat(this.cpm)*P(this.currency,e)).toFixed(3)},n.currency===C)return e.call(this,r,n,c);y.push(function(e,r,n){return function(){var c=n[1];if(void 0!==c&&"currency"in c&&"cpm"in c){var o=c.currency;try{var i=P(o);1!==i&&(c.cpm=(parseFloat(c.cpm)*i).toFixed(4),c.currency=C)}catch(e){(0,t.yN)("Returning NO_BID, getCurrencyConversion threw error: ",e),n[1]=n[2](s.Gw.Xx)}}return e.apply(r,n)}}(e,this,[r,n,c])),!b||h?F():e.untimed.bail(m.promise())}));function F(){for(;y.length>0;)y.shift()()}function P(e){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:C,c=null,o="".concat(e,"->").concat(n);if(o in p)c=p[o],(0,t.ji)("Using conversionCache value "+c+" for "+o);else if(!1===b){if("USD"!==e)throw new Error("Prebid currency support has not been enabled and fromCurrency is not USD");c=1}else if(e===n)c=1;else if(e in R.conversions){if(!(n in(r=R.conversions[e])))throw new Error("Specified adServerCurrency in config '"+n+"' not found in the currency rates file");c=r[n],(0,t.PN)("getCurrencyConversion using direct "+e+" to "+n+" conversionRate "+c)}else if(n in R.conversions){if(!(e in(r=R.conversions[n])))throw new Error("Specified fromCurrency '"+e+"' not found in the currency rates file");c=U(1/r[e],4),(0,t.PN)("getCurrencyConversion using reciprocal "+e+" to "+n+" conversionRate "+c)}else{var i=Object.keys(R.conversions)[0];if(!(e in R.conversions[i]))throw new Error("Specified fromCurrency '"+e+"' not found in the currency rates file");var s=1/R.conversions[i][e];if(!(n in R.conversions[i]))throw new Error("Specified adServerCurrency in config '"+n+"' not found in the currency rates file");var u=R.conversions[i][n];c=U(s*u,4),(0,t.PN)("getCurrencyConversion using intermediate "+e+" thru "+i+" to "+n+" conversionRate "+c)}return o in p||((0,t.ji)("Adding conversionCache value "+c+" for "+o),p[o]=c),c}function U(e,r){for(var n=1,c=0;c<r;c++)n+="0";return Math.round(e*n)/n}window.pbjs.installedModules.push("currency")}},function(e){var r;r=2663,e(e.s=r)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[806],{9749:function(e,n,t){var i,o=t(4358),r=t(2797),d=t(5102),c=t(5164),a=t(8792),l=t(7809),u=window===window.top?window:window.top,h=(0,c.eA)("enrichmentFpd"),s={he:l.KI,le:l.hi};function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.hostname;if(!h.cookiesAreEnabled())return e;var n,t,i=e.split(".");if(2==i.length)return e;var r=-2,d="_rdc".concat(Date.now()),c="writeable";do{n=i.slice(r).join(".");var a=new Date((0,o.AB)()+1e4).toUTCString();h.setCookie(d,c,a,"Lax",n,void 0);var l=h.getCookie(d,void 0);l===c?(t=!1,h.setCookie(d,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,n,void 0)):(r+=-1,t=Math.abs(r)<=i.length)}while(t);return n}function m(e){var n,t;return(0,d.nH)().ref&&(0,o.Ee)(i,{site:{ref:(0,d.nH)().ref}}),(0,d.nH)().page&&(0,o.Ee)(i,{site:{page:(0,d.nH)().page}}),(n=(0,d.hh)((0,d.nH)().page,{noLeadingWww:!0}))&&((0,o.Ee)(i,{site:{domain:n}}),(0,o.Ee)(i,{site:{publisher:{domain:w(n)}}})),function(){var e,n;try{e=u.innerWidth||u.document.documentElement.clientWidth||u.document.body.clientWidth,n=u.innerHeight||u.document.documentElement.clientHeight||u.document.body.clientHeight}catch(t){e=window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth,n=window.innerHeight||window.document.documentElement.clientHeight||window.document.body.clientHeight}(0,o.Ee)(i,{device:{w:e,h:n}})}(),function(){var e;try{e=u.document.querySelector("meta[name='keywords']")}catch(n){e=window.document.querySelector("meta[name='keywords']")}e&&e.content&&(0,o.Ee)(i,{site:{keywords:e.content.replace(/\s/g,"")}})}(),navigator.globalPrivacyControl&&(0,o.Ee)(i,{regs:{ext:{gpc:1}}}),(t=e.uaHints,(Array.isArray(t)&&0===t.length?a.Z.resolve(s.le()):s.he(t)).then((function(e){null!=e&&(0,o.Ee)(i,{device:{sua:e}})}))).then((function(){return i}))}var g={name:"enrichments",queue:2,processFpd:function(e,n){var t,r=n.global;return e.skipEnrichments?{global:r}:(null==i?(i={},t=m(e)):t=a.Z.resolve(),t.then((function(){return{global:(0,o.Ee)({},i,r)}})))}};(0,r.Bx)("firstPartyData",g),window.pbjs.installedModules.push("enrichmentFpdModule")}},function(e){e.O(0,[866],(function(){return n=9749,e(e.s=n);var n}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[401],{316:function(e,n,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="pbsr_",v="pbvi_",g=window.navigator.userAgent.match(/(mobile)|(ip(hone|ad))|(android)|(blackberry)|(nokia)|(phone)|(opera\smini)/i),h=["1x1","300x50","320x50","300x250"],b=["1x1","970x90","970x250","160x600","300x600","728x90","300x250"],y="640x480",x={code:c,supportedMediaTypes:[s.Mk,s.pX],isBidRequestValid:function(e){return Boolean(e.params.ci)||Boolean(e.params.t)},buildRequests:function(e,n){var t,i,a,d,c,g=function(e){if(function(e){for(var n=0;n<e.length;n++)if(e[n].params.t)return!0;return!1}(e))return function(e){var n;return e.forEach((function(e){return n=n||e.params.isv})),{t:!0,isv:n||f}}(e.filter((function(e){return e.params.t})));var n={};return e.forEach((function(e){m.forEach((function(t){e.params[t]&&!n[t]&&(n[t]=e.params[t])}))})),n}(e),h=function(){try{return window.top.document.charset||window.top.document.characterSet}catch(e){return document.charset||document.characterSet}}(),b=function(e,n){var t=e.reduce((function(e,n){return n.mediaTypes&&n.mediaTypes[s.pX]?"outstream"==n.mediaTypes[s.pX].context?2|e:1|e:e}),0);t&&(e=e.filter((function(e){return e.mediaTypes&&e.mediaTypes[s.pX]&&(1&t?!e.mediaTypes[s.pX].context||"instream"==e.mediaTypes[s.pX].context:"outstream"==e.mediaTypes[s.pX].context)})));var r=(o=e,a={},o.forEach((function(e){var n=I(e,!0);a[n]=a[n]?a[n]:[],a[n].push(e)})),a),i={str:"",vs:"",map:{},impType:t};var o,a;return i.str=Object.keys(r).map((function(e){return r[e].map((function(e,r){var o;if(i.vs+=function(e){var n,t="";u.hasLocalStorage()?(n=function(e){var n=u.getDataFromLocalStorage(l+e.adUnitCode)||0,t=u.getDataFromLocalStorage(v+e.adUnitCode)||0,r=n>0?t/n:0;return{render:n,ratio:window.parseInt(10*r,10)}}(e),t+=n.render>=4?n.ratio.toString(16):"F"):t+="F";return t}(e),t){var a=function(e){if(null==e||!Array.isArray(e))return;var n=Array.isArray(e[0])?e[0]:e;return Array.isArray(n)&&2==n.length?n:void 0}(e.mediaTypes[s.pX].playerSize),d=a?a.join("x"):y;return o="video_"+d+"_"+r,i.map[o]=e.bidId,o+":"+d+";1"}return o=n?function(e){return e.replace(/_|\.|-|\//g,"").replace(/\)\(|\(|\)|:/g,"_").replace(/^_+|_+$/g,"")}(e.adUnitCode):e.params&&e.params.sn||I(e,!0)+"_"+r,i.map[o]=e.bidId,o+":"+I(e)})).join("+")})).join("+"),i}(e,g.ml),x=n.refererInfo.page||n.refererInfo.topmostLocation,w=n.refererInfo.domain||window.location.host;if(g.t)t="https://"+g.isv+"/layers/t_pbjs_2.json",i={};else{t="https://"+(g.sv||"pbjs.e-planning.net")+"/pbjs/1/"+g.ci+"/1/"+w+"/ROS";var C=n.refererInfo.ref||n.refererInfo.topmostLocation;if(u.hasLocalStorage()&&(a=[],e.forEach((function(e){var n=T(e.adUnitCode);n?S(n,e.adUnitCode):a.push(e.adUnitCode)})),a.length&&(d=a,c=new MutationObserver((function(e,n){var t,r;e&&Array.isArray(e)&&e.forEach((function(e){e&&e.addedNodes&&Array.isArray(e.addedNodes)&&e.addedNodes.forEach((function(e){t=d.indexOf(e.id),r=e,t<0&&d.forEach((function(n){var i=T(n);i&&i.contains(e)&&i.getBoundingClientRect().width>0&&(t=d.indexOf(i.id),r=i)})),t>=0&&(S(r,d[t]),d.splice(t,1),d.length||n.disconnect())}))}))})),document.addEventListener("DOMContentLoaded",(function(e){var n={childList:!0,subtree:!0,characterData:!0};c.observe(document.body,n)})))),i={rnd:p,e:b.str,ur:x||"file",pbv:"7.20.0",ncb:"1",vs:b.vs},h&&(i.crs=h),C&&(i.fr=C),n&&n.gdprConsent&&void 0!==n.gdprConsent.gdprApplies&&(i.gdpr=n.gdprConsent.gdprApplies?"1":"0",void 0!==n.gdprConsent.consentString&&(i.gdprcs=n.gdprConsent.consentString)),n&&n.uspConsent&&(i.ccpa=n.uspConsent),(0,o.R)().getUserIds&&"function"==typeof(0,o.R)().getUserIds){var E=(0,o.R)().getUserIds();for(var A in E)i["e_"+A]="object"===(0,r.Z)(E[A])?encodeURIComponent(JSON.stringify(E[A])):encodeURIComponent(E[A])}b.impType&&(i.vctx=1&b.impType?1:2,i.vv=3)}return{method:"GET",url:t,data:i,adUnitToBidId:b.map}},interpretResponse:function(e,n){var t=e.body,r=[];return t&&!(0,i.xb)(t.sp)&&t.sp.forEach((function(e){(0,i.xb)(e.a)||e.a.forEach((function(t){var i={requestId:n.adUnitToBidId[e.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}),t.adm.match(/^(<VAST)|(<VideoAdServingTemplate)/gim)?(i.vastXml=t.adm,i.mediaTypes=s.pX):i.ad=t.adm,r.push(i)}))})),r},getUserSyncs:function(e,n){var t=[],o=!(0,i.xb)(n)&&n[0].body;o&&!(0,i.xb)(o.cs)&&o.cs.forEach((function(n){"string"==typeof n&&e.pixelEnabled?t.push({type:"image",url:n}):"object"===(0,r.Z)(n)&&n.ifr&&e.iframeEnabled&&t.push({type:"iframe",url:n.u})}));return t}};function w(){return(0,i.e7)().innerWidth<=1024||window.orientation||g}function C(e,n){var t=w()?h:b,r=t.indexOf(e),i=t.indexOf(n);return r>-1?i>-1&&r<i?1:-1:i>-1?1:0}function I(e,n){var t,r=e.sizes&&e.sizes.length?(t=e.sizes,(0,i.sF)(t).sort(C)):[];return r.length?n?r[0]:r.join(","):"1x1"}function S(e,n){var t;(t={name:n,div:e}).div&&(E(l+t.name),function(){var e,n=5,t=1e3,r=.5,i={};function o(e){e.forEach((function(e){var n=e.target;e.isIntersecting?e.intersectionRatio>=r&&e.boundingClientRect&&e.boundingClientRect.height>0&&e.boundingClientRect.width>0&&(i[n.id]=!0):i[n.id]=!1}))}function a(e){return i[e.id]&&document.visibilityState&&"visible"===document.visibilityState}function d(){if(!e){var n={root:null,rootMargin:"0px",threshold:[r]};e=new IntersectionObserver(o.bind(this),n)}}function s(e,r,i){var o=a(r)?e+1:0;o===n?(c(r),i()):setTimeout(s.bind(this,o,r,i),t/n)}function c(n){delete i[n.id],e.unobserve(n)}function u(n){e.observe(n)}function p(e,n){e&&(d(),u(e),s(0,e,n))}return{onView:p.bind(this)}}().onView(t.div,E.bind(void 0,v+t.name)))}function T(e){return document.getElementById(e)||document.getElementById(function(e){if((0,i.T9)())for(var n=googletag.pubads().getSlots(),t=(0,i.CS)(e),r=0;r<n.length;r++)if(t(n[r]))return n[r].getSlotElementId();return null}(e))}function E(e){var n;try{n=(n=u.getDataFromLocalStorage(e))?window.parseInt(n,10)+1:1,u.setDataInLocalStorage(e,n)}catch(e){return!1}return!0}(0,a.dX)(x),window.pbjs.installedModules.push("eplanningBidAdapter")}},function(e){var n;n=316,e(e.s=n)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[910],{3410:function(n,r,t){var e=t(3193),o=t(2797),i=t(4358),u=t(8792),a=t(9128),l=[];var s=(0,a.g3)("fpd",(function(n,r){var t=this;(function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.global,t=void 0===r?{}:r,o=n.bidder,a=void 0===o?{}:o,s=e.vc.getConfig("firstPartyData")||{},d=u.Z.resolve({global:t,bidder:a});return l.sort((function(n,r){return(n.queue||1)-(r.queue||1)})).forEach((function(n){d=d.then((function(r){var t=r.global,e=r.bidder;return u.Z.resolve(n.processFpd(s,{global:t,bidder:e})).catch((function(r){return(0,i.H)("Error in FPD module ".concat(n.name),r),{}})).then((function(n){return{global:n.global||t,bidder:n.bidder||e}}))}))})),d})(r.ortb2Fragments).then((function(e){Object.assign(r.ortb2Fragments,e),n.call(t,r)}))}));(0,o.bA)("firstPartyData",(function(n){l.push(n)})),(0,o.v5)("startAuction").before(s,10),window.pbjs.installedModules.push("fpdModule")}},function(n){var r;r=3410,n(n.s=r)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[296],{6787:function(t,e,o){var r=o(4358),a=o(265),n=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 a=(0,u.sE)(Object.keys(o),e?e(t):(0,r.zV)(t));if(a){var n=o[a];n.ortb2Imp=n.ortb2Imp||{},n.ortb2Imp.ext=n.ortb2Imp.ext||{},n.ortb2Imp.ext.data=n.ortb2Imp.ext.data||{};var d=n.ortb2Imp.ext.data;d.adserver=d.adserver||{},d.adserver.name="gam",d.adserver.adslot=p(t.getAdUnitPath())}}))}},p=function(t){return(n.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 a=window.googletag.pubads().getSlots().filter((function(t){return t.getAdUnitPath()===e}));if(0!==a.length)return 1===a.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,a.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,a.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,n=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(n||r){var o,d=(0,a.Z)(e,"data.adserver.adslot");n?o=n(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)};n.vc.getConfig("gptPreAuction",(function(t){return v(t.gptPreAuction)})),v({}),window.pbjs.installedModules.push("gptPreAuction")}},function(t){var e;e=6787,t(t.s=e)}]);
(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 m(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(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={t:0,rq:8,pbv:"7.20.0"},h=[a.Mk,a.pX],y={},w=null;function I(e){var t,i,r,o,a,d,s,u,p,l,m=function(e){return new RegExp("[?#&](".concat(e,"=(.*?))($|&)"),"i")},f={};try{i=(t=n.g.top).screen,r=e||""}catch(e){return(0,c.H)(e),f}return f={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(m(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(b),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)&&(f.ns=d),(o=(r.match(m("ggad"))||[0,0,0])[2])&&(f[isNaN(o)?"eAdBuyId":"adBuyId"]=o),(a=(r.match(m("ggdeal"))||[0,0,0])[2])&&(f.ggdeal=a),f}function O(e,t){return e.replace("AD_JSON",window.btoa(JSON.stringify(t)))}function j(e){var t=e.digitrustid&&e.digitrustid.data;return!t||t.privacy&&t.privacy.optout?{}:{dt:t.id}}function x(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 S={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(y[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=t&&t.refererInfo&&t.refererInfo.page;return(0,c.yi)(e,(function(e){var t,s,l=e.bidId,m=e.mediaTypes,v=void 0===m?{}:m,g=e.params,b=void 0===g?{}:g,h=e.schain,y=e.transactionId,O=e.userId,S=void 0===O?{}:O,C=e.ortb2Imp,D=e.adUnitCode,P=void 0===D?"":D,k=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}(v,b.bidfloor,e),z=k.currency,T=k.floor,R=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),N=(0,d.Z)(C,"ext.data.pbadslot")||(0,d.Z)(C,"ext.data.adserver.adslot"),U=[1,1],Z={},G=new Date,V=G.getTime(),q=G.getTimezoneOffset();for(var A in Z.lt=V,Z.to=q,P&&(Z.aun=P),R)Z[A]=R[A];if(N&&(Z.gpid=N),v.banner?U=v.banner.sizes:v.video&&(U=v.video.playerSize,Z=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),m=l[0]&&l[0].split("x"),f=(0,o.Z)(m,2),v=f[0],g=f[1],b="";return s.length&&(b=s.join(",")),{mind:t,maxd:n,li:i,sd:r,pt:a,pr:b,viw:v,vih:g}}(v.video)),w&&(Z.pv=w),T&&(Z.fp=T,Z.fpc=z),b.iriscat&&"string"==typeof b.iriscat&&(Z.iriscat=b.iriscat),b.irisid&&"string"==typeof b.irisid&&(Z.irisid=b.irisid),b.zone||b.pubId)if(b.zone?Z.t=b.zone:Z.pubId=b.pubId,Z.pi=2,b.slot){var E=x(U),F=(0,o.Z)(E,2),M=F[0],B=F[1];Z.maxw=M,Z.maxh=B,Z.si=b.slot,Z.pi=3,Z.bf=U.reduce((function(e,t){return"".concat(e).concat(e&&",").concat(t[0],"x").concat(t[1])}),"")}else b.native?(Z.ni=b.native,Z.pi=5):v.video?Z.pi=2===v.video.linearity?6:7:b.product&&"skins"===b.product.toLowerCase()&&(Z.pi=8);else Z=f(f({},Z),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=x(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}(b,U));i&&(Z.gdprApplies=i.gdprApplies?1:0),Z.gdprApplies&&(Z.gdprConsent=i.consentString),a&&(Z.uspConsent=a),h&&h.nodes&&(Z.schain=(s="".concat((t=h).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:l,tmax:u,tId:y,pi:Z.pi,selector:b.selector,sizes:U,url:"https://g2.gumgum.com/hbid/imp",method:"GET",data:Object.assign(Z,I(p),j(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:18e5;y[d]={productId:r.pi,timestamp:(new Date).getTime()},setTimeout((function(){y[d]&&delete y[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,m=l.price,v=l.id,g=l.markup,h=l.cur,I=l.width,j=l.height,x=l.maxw,S=l.maxh,C=u.cw,D=u.pag.pvid,P=u.jcsi,k=u.meta,z=k.adomain,T=k.mediaType,R=t.data||{},N=R.pi,U=6===N||7===N?a.pX:a.Mk,Z=3===N&&9===R.si,G={advertiserDomains:z||[],mediaType:T||U},V=(0,c.sF)(t.sizes);if(x&&S)V=["".concat(x,"x").concat(S)];else if(5===N&&(0,p.q9)(V,"1x1"))V=["1x1"];else if(2===N&&(0,p.q9)(V,"1x1")){var q=t.sizes&&t.sizes.reduce((function(e,t){var n=(0,o.Z)(t,2),i=n[0],r=n[1];return I!==i&&j!==r||e.push(t.join("x")),e}),[])||[];V=q.length?q:(0,c.sF)(t.sizes)}var A=V[0].split("x"),E=(0,o.Z)(A,2),F=E[0],M=E[1];return P&&(i.jcsi=b),w=D,v&&n.push(f(f({ad:C?O(C,Object.assign({},i,{bidRequest:t})):g},U===a.pX&&{ad:g,vastXml:g}),{},{mediaType:U,cpm:Z?.1:m,creativeId:v,currency:h||"USD",height:M,netRevenue:!0,requestId:t.id,ttl:60,width:F,meta:G})),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:h};(0,l.dX)(S),window.pbjs.installedModules.push("gumgumBidAdapter")}},function(e){var t;t=5374,e(e.s=t)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[618],{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(3092);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="id5id",y="".concat(b,"_privacy"),D="html5",O="User ID - ID5 submodule: ",w=["pbjs-id5id","id5id.1st","id5id"],S=(0,f.df)({gvlid:131,moduleName:"id5Id"}),j={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)(O+"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)(O+"A/B Testing ERROR! controlGroupPct must be a number >= 0 and <= 1");break;case"normal":(0,s.PN)(O+"A/B Testing - user is NOT in the Control Group"),(0,c.N)(r,"id5id.ext.abTestingControlGroup",!1)}return(0,s.PN)(O+"Decoded ID",r),r}},getId:function(e,t,n){if(J(e)){return{callback:function(r){new k(e,t,n,h.nX.getConsentData()).execute().then((function(e){r(e)})).catch((function(e){(0,s.H)(O+"getId fetch encountered an error",e),r()}))}}}},extendId:function(e,t,n){return J(e),q(e&&e.params&&e.params.partner||0),(0,s.PN)(O+"using cached ID",n),n}},C=new WeakSet,P=new WeakSet,I=new WeakSet,N=new WeakSet,T=new WeakSet,k=function(){function e(t,n,r,i){(0,o.Z)(this,e),m(this,T),m(this,N),m(this,I),m(this,P),m(this,C),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,P,_).call(this,this.submoduleConfig).then((function(t){return v(e,I,H).call(e,t.extensionsCall).then((function(n){return v(e,N,E).call(e,t.fetchCall,n)}))})).then((function(t){try{A(e.submoduleConfig.params.partner,0),t.privacy&&B(y,JSON.stringify(t.privacy),30)}catch(e){(0,s.H)(O+e)}return t}))}}]),e}();function x(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){var t=e.params.configUrl||"https://id5-sync.com/api/config/prebid";return v(this,C,x).call(this,t,JSON.stringify(e),{method:"POST"}).then((function(e){var t=JSON.parse(e);return(0,s.PN)(O+"config response received from the server",t),t}))}function H(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,C,x).call(this,t,r,{method:n}).then((function(e){var t=JSON.parse(e);return(0,s.PN)(O+"extensions response received from the server",t),t}))}function E(e,t){var n=e.url,r=e.overrides||{},o=g(g(g({},v(this,T,G).call(this)),r),{},{extensions:t});return v(this,C,x).call(this,n,JSON.stringify(o),{method:"POST",withCredentials:!0}).then((function(e){var t=JSON.parse(e);return(0,s.PN)(O+"fetch response received from the server",t),t}))}function G(){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:(w.forEach((function(t){S.getCookie(t)&&(e=(0,s.dj)(S.getCookie(t))||e)})),e&&e.signature||""),i=q(t.partner),a={partner:t.partner,gdpr:n,nbPage:i,o:"pbjs",rf:r.topmostLocation,top:r.reachedTop?1:0,u:r.stack[0]||window.location.href,v:"7.20.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 J(e){return e&&e.params&&e.params.partner&&"number"==typeof e.params.partner?e.storage&&e.storage.type&&e.storage.name?(e.storage.type!==D&&(0,s.yN)(O+"storage type recommended to be '".concat(D,"'. In a future release this may become a strict requirement")),e.storage.name!==b&&(0,s.yN)(O+"storage name recommended to be '".concat(b,"'. In a future release this may become a strict requirement")),!0):((0,s.H)(O+"storage required to be set"),!1):((0,s.H)(O+"partner required to be defined as a number"),!1)}function L(e){return"".concat(b,"_").concat(e,"_nb")}function A(e,t){B(L(e),t,30)}function W(e){var t=function(e){var t=S.getDataFromLocalStorage("".concat(e,"_exp"));if(""===t)return S.getDataFromLocalStorage(e);if(t&&new Date(t).getTime()-Date.now()>0)return S.getDataFromLocalStorage(e);return S.removeDataFromLocalStorage(e),null}(L(e));return t?parseInt(t):0}function q(e){var t=W(e)+1;return A(e,t),t}function B(e,t,n){S.setDataInLocalStorage("".concat(e,"_exp"),function(e){return new Date(Date.now()+864e5*e).toUTCString()}(n)),S.setDataInLocalStorage("".concat(e),t)}(0,d.Bx)("userId",j),window.pbjs.installedModules.push("id5IdSystem")}},function(e){var t;t=1808,e(e.s=t)}]);
(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="intentIqId",c="_iiq_fdata",p="_iiq_fdata",l=(0,o.df)({gvlid:void 0,moduleName:d}),s="INVALID_ID";function u(t){try{if(l.hasLocalStorage())return l.getDataFromLocalStorage(t);if(l.cookiesAreEnabled())return l.getCookie(t)}catch(t){(0,a.H)(t)}}function x(t,e){try{if((0,a.PN)("intentIqId: storing data: key="+t+" value="+e),e){l.hasLocalStorage()&&l.setDataInLocalStorage(t,e);var n=new Date(Date.now()+31536e6).toUTCString();l.cookiesAreEnabled()&&l.setCookie(t,e,n,"LAX")}}catch(t){(0,a.H)(t)}}function f(t){try{return JSON.parse(t)}catch(t){return(0,a.H)(t),null}}var I={name:d,decode:function(t){return t&&""!=t&&s!=t?{intentIqId:t}:void 0},getId:function(t){var e=t&&t.params||{};if(e&&"number"==typeof e.partner){p.includes(e.partner)||(p+="_"+e.partner);var n,r=0,o=f(u(c));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},x(c,JSON.stringify(o))}var l=f(u(p));l||(l={});var I="https://api.intentiq.com/profiles_engine/ProfilesEngineServlet?at=39&mi=10&dpi=".concat(e.partner,"&pt=17&dpn=1");I+=e.pcid?"&pcid="+encodeURIComponent(e.pcid):"",I+=e.pai?"&pai="+encodeURIComponent(e.pai):"",I+=o.pcid?"&iiqidtype=2&iiqpcid="+encodeURIComponent(o.pcid):"",I+=o.pid?"&pid="+encodeURIComponent(o.pid):"",I+=l.cttl?"&cttl="+encodeURIComponent(l.cttl):"",I+=l.rrtt?"&rrtt="+encodeURIComponent(l.rrtt):"";return{callback:function(t){var e={success:function(e){var n=f(e);if(n&&n.ls){var a=!1;"pid"in n&&(o.pid=n.pid,a=!0),"cttl"in n&&(l.cttl=n.cttl,a=!0),""==n.data?n.data=s:(l.data=n.data,a=!0),r&&r>0&&(l.rrtt=Date.now()-r,a=!0),!0===a&&(l.date=Date.now(),x(c,JSON.stringify(o)),x(p,JSON.stringify(l))),t(n.data)}else t()},error:function(e){(0,a.H)("intentIqId: ID fetch encountered an error",e),t()}};l.date&&l.cttl&&l.data&&Date.now()-l.date<l.cttl?t(l.data):(r=Date.now(),(0,i.h)(I,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",I),window.pbjs.installedModules.push("intentIqIdSystem")}},function(t){var e;e=6077,t(t.s=e)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[155],{3390:function(e,t,r){var a=r(9062),n=r(1002),i=r(4942),o=r(265),d=r(4358),s=r(6475),c=r(4679),p=r(3193),u=r(5644),l=r(5164),f=r(2021),m=r(4614),g=r(5339),v=r(154),y=r(5706);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}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 x(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 x(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:n}}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,d=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){d=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(d)throw i}}}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var O="ix",w="roundel",S=[c.Mk,c.pX,c.B5],Z=8e3,P=[144,144],T={JPY:1},k="p",j="x",E=1,C=2,A=3,B=4,F=5,N=6,z=7,R=8,_=9,D={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"]},U={"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":""},X=["britepoolid","lipbid","criteoId","merkleId","parrableId","connectid","tapadId","quantcastId","pubProvidedId"],q=["mimes","minduration","maxduration"],J=["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"],H="ixdiag",L="".concat(O,"_features"),M=!1,V=(0,l.df)({gvlid:10,bidderCode:O}),G={featureToggles:{},isFeatureEnabled:function(e){return(0,o.Z)(this.featureToggles,"features.".concat(e,".activated"))},getFeatureToggles:function(){if(V.localStorageIsEnabled()){var e=(0,d.dj)(V.getDataFromLocalStorage(L));(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,a=(0,o.Z)(t,"ext.features");a&&(this.featureToggles={expiry:r.setHours(r.getHours()+1),features:a},V.localStorageIsEnabled()&&V.setDataInLocalStorage(L,JSON.stringify(this.featureToggles)))},clearFeatureToggles:function(){this.featureToggles={},V.localStorageIsEnabled()&&V.removeDataFromLocalStorage(L)}},$=0,Q="",Y="",K=2;function W(e){var t=ee(e),r=(0,o.Z)(e,"mediaTypes.video"),a=(0,o.Z)(e,"params.video");if(ie(r,a).length)return{};for(var n in t.video=a?(0,d.I8)(e.params.video):{},t.ext.tid=(0,o.Z)(e,"ortb2Imp.ext.tid"),r)-1===J.indexOf(n)||t.video.hasOwnProperty(n)||(t.video[n]=r[n]);if(t.video.minduration>t.video.maxduration)return(0,d.H)("IX Bid Adapter: video minduration [".concat(t.video.minduration,"] cannot be greater than video maxduration [").concat(t.video.maxduration,"]"),{bidder:O,code:_}),{};var i=a&&a.context||r&&r.context;if(i&&!t.video.hasOwnProperty("placement")&&(i===v.LD?t.video.placement=1:i===v.gZ?(0,o.Z)(a,"playerConfig.floatOnScroll")?t.video.placement=5:t.video.placement=4:(0,d.yN)("IX Bid Adapter: Video context '".concat(i,"' is not supported"))),!t.video.w||!t.video.h){var s=oe((0,o.Z)(t,"video.playerSize"))||oe((0,o.Z)(e,"params.size"));if(!s)return(0,d.yN)("IX Bid Adapter: Video size is missing in [mediaTypes.video]"),{};t.video.w=s[0],t.video.h=s[1]}return te(e,t,c.pX),t}function ee(e){var t={};return t.id=e.bidId,t.ext={},t.ext.siteID=e.params.siteId.toString(),!e.params.hasOwnProperty("id")||"string"!=typeof e.params.id&&"number"!=typeof e.params.id||(t.ext.sid=String(e.params.id)),t}function te(e,t,r){var a=null,n=null;if(e.params.bidFloor&&e.params.bidFloorCur&&(a={floor:e.params.bidFloor,currency:e.params.bidFloorCur}),(0,d.LQ)(e.getFloor)){var i="*",o="*";if(r&&(0,d.r3)(S,r)){var s=t[r];i=r,o=[s.w,s.h]}try{n=e.getFloor({mediaType:i,size:o})}catch(e){(0,d.yN)("priceFloors module call getFloor failed, error : ",e)}}n?(t.bidfloor=n.floor,t.bidfloorcur=n.currency,t.ext.fl=k):a&&(t.bidfloor=a.floor,t.bidfloorcur=a.currency,t.ext.fl=j)}function re(e,t,r){var a={},n=!(!(0,o.Z)(e,"exp")||!(0,d.U)(e.exp)),i=(0,o.Z)(e,"dealid")||(0,o.Z)(e,"ext.dealid");T.hasOwnProperty(t)?a.cpm=e.price/T[t]:a.cpm=e.price/100,a.requestId=e.impid,i&&(a.dealId=i),a.netRevenue=true,a.currency=t,a.creativeId=e.hasOwnProperty("crid")?e.crid:"-",e.mtype==K?a.vastXml=e.adm:e.ext&&e.ext.vasturl&&(a.vastUrl=e.ext.vasturl);var s=null;if("string"==typeof e.adm&&"{"===e.adm[0]&&"}"===e.adm[e.adm.length-1])try{s=JSON.parse(e.adm)}catch(e){(0,d.yN)("adm looks like JSON but failed to parse: ",e)}return e.ext&&e.ext.vasturl||e.mtype==K?(a.width=r.video.w,a.height=r.video.h,a.mediaType=c.pX,a.mediaTypes=r.mediaTypes,a.ttl=n?e.exp:3600):s&&s.native?(a.native={ortb:s.native},a.width=e.w?e.w:1,a.height=e.h?e.h:1,a.mediaType=c.B5,a.ttl=n?e.exp:3600):(a.ad=e.adm,a.width=e.w,a.height=e.h,a.mediaType=c.Mk,a.ttl=n?e.exp:300),a.meta={},a.meta.networkId=(0,o.Z)(e,"ext.dspid"),a.meta.brandId=(0,o.Z)(e,"ext.advbrandid"),a.meta.brandName=(0,o.Z)(e,"ext.advbrand"),e.adomain&&e.adomain.length>0&&(a.meta.advertiserDomains=e.adomain),a}function ae(e){return Array.isArray(e)&&2===e.length&&(0,d.U)(e[0])&&(0,d.U)(e[1])}function ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(ae(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 ie(e,t){var r=[];e||(0,d.yN)("IX Bid Adapter: mediaTypes.video is the preferred location for video params in ad unit");var a,n=I(q);try{for(n.s();!(a=n.n()).done;){var i=a.value,o=e&&e.hasOwnProperty(i),s=t&&t.hasOwnProperty(i);o||s||r.push("IX Bid Adapter: ".concat(i," is not included in either the adunit or params level"))}}catch(e){n.e(e)}finally{n.f()}var c=e&&e.hasOwnProperty("protocol"),p=e&&e.hasOwnProperty("protocols"),u=t&&t.hasOwnProperty("protocol"),l=t&&t.hasOwnProperty("protocols");return c||p||u||l||r.push("IX Bid Adapter: protocol/protcols is not included in either the adunit or params level"),r}function oe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return ae(e)?e:!!ae(e[0])&&e[0]}function de(e,t,r){if(e)return h(h({},(0,m.sE)(r,(function(t){return t.bidId===e}))),(0,m.sE)(t,(function(t){return t.id===e})))}function se(e,t,r,i){var u="https://htlb.casalemedia.com/openrtb/pbjs",l=function(e){var t=[],r={};if((0,d.kJ)(e)){var a,n=I(e);try{for(n.s();!(a=n.n()).done;){var i=a.value;U.hasOwnProperty(i.source)&&(0,o.Z)(i,"uids.0")&&(r[i.source]=!0,""!=U[i.source]&&(i.uids[0].ext={rtiPartner:U[i.source]}),delete i.uids[0].atype,t.push(i))}}catch(e){n.e(e)}finally{n.f()}}return{toSend:t,seenSources:r}}((0,o.Z)(e,"0.userIdAsEids")),f=l.toSend,m=(0,o.Z)(t,"refererInfo.page");if(window.headertag&&"function"==typeof window.headertag.getIdentityInfo){var g=window.headertag.getIdentityInfo();if(g&&"object"===(0,n.Z)(g))for(var v in g)if(g.hasOwnProperty(v)){var y=g[v];!y.responsePending&&y.data&&"object"===(0,n.Z)(y.data)&&Object.keys(y.data).length&&!l.seenSources[y.data.source]&&f.push(y.data)}}if(t&&t.bidderCode===w&&!l.seenSources["liveramp.com"])return[];var b={},x=p.vc.getConfig("bidderTimeout");b.id=e[0].bidderRequestId.toString(),b.site={},b.ext={},b.ext.source="prebid",b.ext.ixdiag={},b.ext.ixdiag.ls=V.localStorageIsEnabled(),b.imp=[],b.at=1;var S=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.20.0",userIds:ce(e[0]),url:window.location.href.split("?")[0]},a=function(a){i=e.filter((function(e){return e.transactionId===t[a]}))[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++,be(i)&&(r.ren=!0)),"instream"===(0,o.Z)(i,"mediaTypes.video.context")&&r.iu++,r.allu++)},n=0;n<t.length;n++){var i;a(n)}return r}(e);for(var P in S)b.ext.ixdiag[P]=S[P];x&&(b.ext.ixdiag.tmax=x),p.vc.getConfig("userSync")&&(b.ext.ixdiag.syncsPerBidder=p.vc.getConfig("userSync").syncsPerBidder);var T=function(){if(!V.localStorageIsEnabled())return;var e,t={};try{e=JSON.parse(V.getDataFromLocalStorage(H)||"{}")}catch(e){return(0,d.H)("ix can not read ixdiag from localStorage."),null}return Object.keys(e).forEach((function(r){Object.keys(e[r]).forEach((function(a){"number"==typeof e[r][a]&&(t[a]=t[a]?t[a]+e[r][a]:e[r][a])}))})),t}();(0,d.xb)(T)||(b.ext.ixdiag.err=T),b.source={tid:e[0].auctionId},e[0].schain&&(b.source.ext={},b.source.ext.schain=e[0].schain),f.length>0&&(b.user={},b.user.eids=f),document.referrer&&""!==document.referrer&&(b.site.ref=document.referrer),t&&(t.gdprConsent&&((Q=t.gdprConsent).hasOwnProperty("gdprApplies")&&(b.regs={ext:{gdpr:Q.gdprApplies?1:0}}),Q.hasOwnProperty("consentString")&&(b.user=b.user||{},b.user.ext={consent:Q.consentString||""},Q.hasOwnProperty("addtlConsent")&&Q.addtlConsent&&(b.user.ext.consented_providers_settings={consented_providers:Q.addtlConsent}))),t.uspConsent&&((0,s.N)(b,"regs.ext.us_privacy",t.uspConsent),Y=t.uspConsent),m&&(b.site.page=m)),p.vc.getConfig("coppa")&&(0,s.N)(b,"regs.coppa",1);var k={};$=e[0].params.siteId,k.s=$,G.isFeatureEnabled("pbjs_enable_post")||(i&&(k.v=i),k.ac="j",k.sd=1,8.1===i&&(k.nf=1));var j=t&&t.bidderCode||"ix",E=p.vc.getConfig(j),C=[],A=0,B=Object.keys(r),F="".concat(u).concat((0,d.Re)(h(h({},k),{},{r:JSON.stringify(b)}))).length;if(F>Z)return(0,d.H)("IX Bid Adapter: Base request size has exceeded maximum request size.",{bidder:O,code:z}),C;var _=F,X=0,q=!1;if(E){if("object"===(0,n.Z)(E.firstPartyData)){var J=E.firstPartyData,L="?";for(var M in J)J.hasOwnProperty(M)&&(L+="".concat(encodeURIComponent(M),"=").concat(encodeURIComponent(J[M]),"&"));L=L.slice(0,-1),(X=encodeURIComponent(L).length)<Z?("page"in b.site?b.site.page+=L:b.site.page=L,_+=X):(0,d.H)("IX Bid Adapter: IX config FPD request size has exceeded maximum request size.",{bidder:O,code:N})}G.isFeatureEnabled("pbjs_enable_post")||"number"==typeof E.timeout&&(k.t=E.timeout)}for(var K=function(n){if(_>=Z||C.length>=4)return"break";for(var i=r[B[n]],p=i.missingImps,l=void 0===p?[]:p,f=i.ixImps,m=!1,g=Z-_,v={ixImps:void 0===f?[]:f,missingBannerImpressions:l},y=Object.keys(v).map((function(e){return v[e]})).filter((function(e){return Array.isArray(e)})).reduce((function(e,t){return e.concat.apply(e,(0,a.Z)(t))}),[]),x=encodeURIComponent(JSON.stringify({impressionObjects:y})).length;y.length&&x>g;)m=!0,y.pop(),x=encodeURIComponent(JSON.stringify({impressionObjects:y})).length;var w=r[B[n]].gpid,S=r[B[n]].dfp_ad_unit_code,P=r[B[n]].tid,T=r[B[n]].sid;if(y.length&&c.Mk in y[0]){var j,E=y[0],N={id:E.id,banner:{topframe:E.banner.topframe,format:y.map((function(e){var t=e.banner;return{w:t.w,h:t.h,ext:e.ext}}))}},z=I(N.banner.format);try{for(z.s();!(j=z.n()).done;){var U=j.value;null!=U.ext&&null!=U.ext.sid&&delete U.ext.sid}}catch(e){z.e(e)}finally{z.f()}var X=r[B[n]].pos;(0,d.U)(X)&&(N.banner.pos=X),(S||w||P||T)&&(N.ext={},N.ext.dfp_ad_unit_code=S,N.ext.gpid=w,N.ext.tid=P,N.ext.sid=T),"bidfloor"in y[0]&&(N.bidfloor=y[0].bidfloor),"bidfloorcur"in y[0]&&(N.bidfloorcur=y[0].bidfloorcur),b.imp.push(N)}else{var J;y.forEach((function(e){return(0,s.N)(e,"ext.gpid",w)})),(J=b.imp).push.apply(J,(0,a.Z)(y))}_+=x;var H=(0,o.Z)(t,"ortb2")||{};if(!(0,d.xb)(H)&&!q){b.ext.ixdiag.fpd=!0;var L=h({},H.site||H.context);Object.keys(L).forEach((function(e){-1===D.SITE.indexOf(e)&&delete L[e]}));var M=h({},H.user);Object.keys(M).forEach((function(e){-1===D.USER.indexOf(e)&&delete M[e]}));var V=(0,d.I8)(b);if(V.site=(0,d.Ee)({},V.site,L),V.user=(0,d.Ee)({},V.user,M),"".concat(u).concat((0,d.Re)(h(h({},k),{},{r:JSON.stringify(V)}))).length<Z){b.site=(0,d.Ee)({},b.site,L),b.user=(0,d.Ee)({},b.user,M),q=!0;var $=encodeURIComponent(JSON.stringify(h(h({},L),M))).length;_+=$}else(0,d.H)("IX Bid Adapter: FPD request size has exceeded maximum request size.",{bidder:O,code:R})}var Q=r[B[n]].pbadslot,Y=r[B[n]].tagId,K=r[B[n]].adUnitCode,W=r[B[n]].divId;if(Q||Y||K||W){var ee=(0,d.I8)(b);"".concat(u).concat((0,d.Re)(h(h({},k),{},{r:JSON.stringify(ee)}))).length<Z&&(b.ext.ixdiag.pbadslot=Q,b.ext.ixdiag.tagid=Y,b.ext.ixdiag.adunitcode=K,b.ext.ixdiag.divId=W)}var te=n===B.length-1;if(m||te){var re,ae=(0,d.I8)(k);te&&!A||(b.ext.ixdiag.sn=A,ae.sn=A),A++,ae.r=JSON.stringify(b),re=G.isFeatureEnabled("pbjs_enable_post")?{method:"POST",url:u+"?s="+k.s,data:(0,d.I8)(b),option:{contentType:"text/plain"},validBidRequests:e}:{method:"GET",url:u,data:ae,validBidRequests:e},C.push(re),_=F,b.imp=[],q=!1}},W=0;W<B.length;W++){if("break"===K(W))break}return C}function ce(e){var t=e.userId||{};return X.filter((function(e){return t[e]}))}function pe(e,t){if(t)for(var r=0;r<e.length;r++){var a=e[r];if(t[0]===a[0]&&t[1]===a[1]){e.splice(r,1);break}}}function ue(e,t){var r=function(e){var t=ee(e),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"),te(e,t,c.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 a=e.adUnitCode,n=document.getElementById(a)?a:(0,d.ky)(a).divId;t[e.transactionId].adUnitCode=a,t[e.transactionId].divId=n}}function le(e,t){var r=W(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 a=e.adUnitCode,n=document.getElementById(a)?a:(0,d.ky)(a).divId;t[e.transactionId].adUnitCode=a,t[e.transactionId].divId=n}}function fe(e,t,r){var a=function(e){var t=ee(e);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,d.yL)()?0:1,te(e,t,c.Mk),t}(e),n=ne((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 s=e.adUnitCode,p=document.getElementById(s)?s:(0,d.ky)(s).divId;r[e.transactionId].adUnitCode=s,r[e.transactionId].divId=p,n&&(r[e.transactionId].hasOwnProperty("ixImps")||(r[e.transactionId].ixImps=[]),r[e.transactionId].ixImps.push(a)),function(e,t,r){var a=e.transactionId;if(t.hasOwnProperty(a)){var n=[];t[a].hasOwnProperty("missingSizes")&&(n=t[a].missingSizes),pe(n,e.params.size),t[a].missingSizes=n}else if((0,o.Z)(e,"mediaTypes.banner.sizes")){var i=(0,d.I8)(e.mediaTypes.banner.sizes);pe(i,e.params.size);var s={missingSizes:i,impression:r};t[a]=s}}(e,t,a)}function me(e,t,r){var a=(0,d.I8)(t);return a.banner.w=r[0],a.banner.h=r[1],te(e,a,c.Mk),a}function ge(e){"ERROR"===e.type&&e.arguments&&e.arguments[1]&&e.arguments[1].bidder===O&&function(e){if(V.localStorageIsEnabled()){var t;try{t=JSON.parse(V.getDataFromLocalStorage(H)||"{}")}catch(e){(0,d.yN)("ix can not read ixdiag from localStorage.")}var r=new Date;if(Object.keys(t).map((function(e){var a=new Date(e);a.setDate(a.getDate()+7)-r<0&&delete t[e]})),"ERROR"===e.type&&e.arguments&&e.arguments[1]&&e.arguments[1].bidder===O){var a=r.toISOString().slice(0,10),n=e.arguments[1].code;n&&(t[a]=t[a]||{},Number(t[a][n])||(t[a][n]=0),t[a][n]++)}V.setDataInLocalStorage(H,JSON.stringify(t))}}(e)}function ve(e){e.renderer.push((function(){var t=e.adUnitCode,r=document.getElementById(t)?t:(0,d.ky)(t).divId;r?window.createIXPlayer(r,e):(0,d.yN)("IX Bid Adapter: adUnitCode: ".concat(r," not found on page."))}))}function ye(e,t){var r=y.Th.install({id:e,url:t,loaded:!1});try{r.setRender(ve)}catch(e){return(0,d.yN)("Prebid Error calling setRender on renderer",e),null}return t?r:((0,d.yN)("Outstream renderer URL not found"),null)}function be(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,n.Z)(t)||!t.url||!t.render)||t.backupOnly}var he={code:O,gvlid:10,aliases:[{code:w,gvlid:10,skipPbsAliasing:!1}],supportedMediaTypes:S,isBidRequestValid:function(e){M||(f.on(u.FP.AUCTION_DEBUG,ge),f.on(u.FP.AD_RENDER_FAILED,ge),M=!0);var t,r,a=(0,o.Z)(e,"params.video"),n=(0,o.Z)(e,"params.size"),i=(0,o.Z)(e,"mediaTypes.banner.sizes"),s=(0,o.Z)(e,"mediaTypes.video"),c=(0,o.Z)(e,"mediaTypes.video.playerSize"),p=e.params.hasOwnProperty("bidFloor"),l=e.params.hasOwnProperty("bidFloorCur");if(e.hasOwnProperty("mediaType")&&!(0,d.r3)(S,e.mediaType))return(0,d.yN)("IX Bid Adapter: media type is not supported."),!1;if((0,o.Z)(e,"mediaTypes.banner")&&!i)return!1;if(n){var m=oe(n);if(!m)return(0,d.H)("IX Bid Adapter: size has invalid format.",{bidder:O,code:E}),!1;if(!ne(e.sizes,m)&&!ne(c,m)&&!ne(i,m))return(0,d.H)("IX Bid Adapter: bid size is not included in ad unit sizes or player size.",{bidder:O,code:C}),!1}if("string"!=typeof e.params.siteId&&"number"!=typeof e.params.siteId)return(0,d.H)("IX Bid Adapter: siteId must be string or number type.",{bidder:O,code:B}),!1;if("string"!=typeof e.params.siteId&&isNaN(Number(e.params.siteId)))return(0,d.H)("IX Bid Adapter: siteId must valid value",{bidder:O,code:B}),!1;if((p||l)&&!(p&&l&&(t=e.params.bidFloor,r=e.params.bidFloorCur,Boolean("number"==typeof t&&"string"==typeof r&&r.match(/^[A-Z]{3}$/)))))return(0,d.H)("IX Bid Adapter: bidFloor / bidFloorCur parameter has invalid format.",{bidder:O,code:F}),!1;if(s&&a){var g=W(e).video,y=ie(s,a);if((0,o.Z)(e,"mediaTypes.video.context")===v.gZ&&be(e)&&g){var b=[(0,o.Z)(g,"w"),(0,o.Z)(g,"h")];if(!(b[0]>=P[0]&&b[1]>=P[1]))return(0,d.H)("IX Bid Adapter: ".concat(b," is an invalid size for IX outstream renderer")),!1}if(y.length)return y.forEach((function(e){(0,d.H)(e,{bidder:O,code:A})})),!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=[],n={},i={},s={},p={};for(var u in G.getFeatureToggles(),e.forEach((function(e){var t=Object.keys((0,o.Z)(e,"mediaTypes",{}));for(var r in t)switch(t[r]){case c.Mk:fe(e,p,n);break;case c.pX:le(e,i);break;case c.B5:ue(e,s);break;default:(0,d.yN)("IX Bid Adapter: ad unit mediaTypes ".concat(r," is not supported"))}})),p)if(p.hasOwnProperty(u)){var l=p[u].missingSizes;n.hasOwnProperty(u)||(n[u]={}),n[u].hasOwnProperty("missingImps")||(n[u].missingImps=[],n[u].missingCount=0);for(var f=p[u].impression,m=0;m<l.length;m++){var g=me(e[0],f,l[m]);n[u].missingImps.push(g),n[u].missingCount++}}return Object.keys(n).length>0&&r.push.apply(r,(0,a.Z)(se(e,t,n,7.2))),Object.keys(i).length>0&&r.push.apply(r,(0,a.Z)(se(e,t,i,8.1))),Object.keys(s).length>0&&r.push.apply(r,(0,a.Z)(se(e,t,s))),r},interpretResponse:function(e,t){var r=[],a=null;if(!e.hasOwnProperty("body")||!e.body.hasOwnProperty("seatbid"))return G.setFeatureToggles(e),r;for(var n=e.body,i=n.seatbid,s=0;s<i.length;s++)if(i[s].hasOwnProperty("bid")){var p=i[s].bid,u=void 0;u=G.isFeatureEnabled("pbjs_enable_post")?t.data:(0,d.dj)(t.data.r);for(var l=0;l<p.length;l++){var f=de(p[l].impid,u.imp,t.validBidRequests);if((a=re(p[l],n.cur,f)).mediaType===c.pX&&be(f)){var m=(0,o.Z)(n,"ext.videoplayerurl");if(a.renderer=ye(p[l].bidId,m),!a.renderer)continue}r.push(a)}if((0,o.Z)(u,"ext.ixdiag.err")&&V.localStorageIsEnabled())try{V.removeDataFromLocalStorage(H)}catch(e){(0,d.H)("ix can not clear ixdiag from localStorage.")}}return G.setFeatureToggles(e),r},transformBidParams:function(e,t){return(0,d.uh)({siteID:"number"},e)},getUserSyncs:function(e,t){var r=[],a=null;if(t.length>0&&(a=(0,o.Z)(t[0],"body.ext.publishersyncsperbidderoverride")),void 0!==a&&0==a)return[];if(e.iframeEnabled)r.push({type:"iframe",url:"https://js-sec.indexww.com/um/ixmatch.html"});else{var n=null;p.vc.getConfig("userSync")&&(n=p.vc.getConfig("userSync").syncsPerBidder),0===n&&(n=a),n=a&&(0===n||n)?a>n?n:a:1;for(var i=0;i<n;i++)r.push({type:"image",url:Ie(n,i)})}return r}};function Ie(e,t){var r="",a="0";return Q&&Q.hasOwnProperty("gdprApplies")&&(a=Q.gdprApplies?"1":"0"),Q&&Q.hasOwnProperty("consentString")&&(r=Q.consentString||""),"https://dsum.casalemedia.com/pbusermatch?origin=prebid&site_id="+$.toString()+"&p="+e.toString()+"&i="+t.toString()+"&gdpr="+a+"&gdpr_consent="+r+"&us_privacy="+(Y||"")}(0,g.dX)(he),window.pbjs.installedModules.push("ixBidAdapter")}},function(e){var t;t=3390,e(e.s=t)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[921],{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){var n;n=9882,e(e.s=n)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[769],{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/video/bundle.js",m=0,f=1,b=2,g="client_timeout",h="client_bid_won",v=(0,s.nH)(),y={};function w(){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||w(),topMostLocation:n.topmostLocation,isTop:e.isTop||n.reachedTop};return Object.assign(i,function(){if(y.pageMeta)return y.pageMeta;var e=_('link[rel="canonical"]',"href"),t=_('meta[property="og:url"]',"content"),n=_('meta[name="twitter:url"]',"content");return y.pageMeta=Object.assign({},e&&{canonical_url:e},t&&{og_url:t},n&&{twitter_url:n}),y.pageMeta}())}function _(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 j(e,t){return e.filter((function(e){return e.type===t}))}function T(e){return{w:parseInt(e[0],10),h:parseInt(e[1],10)}}function I(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 k(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])?[T(n)]:n.map((function(e){return T(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 g=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=g,t.ext.viewability=C(l.top_left,O(t.banner)),C(g.top_left,O(t.banner))>.5?t.ext.visibility=f:t.ext.visibility=b}else t.ext.visibility=m;var h=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 h&&h.length>0&&(t.bidfloors=h),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 O(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 Z(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=y.urlData.domain||"",n.requrl=y.urlData.page||"",n.istop=y.urlData.isTop||"",n.event=e.name||"",n.value=e.value||"",n.rd=e.related_data||"",n}function S(e,t){var n={protocol:"https",hostname:"qsearch-a.akamaihd.net/log",search:Z(e,t)};(0,i.hq)((0,i.Q2)(n))}function q(e){var t,n=(0,r.Z)(e,"context")||"",a=(0,r.Z)(e,"vto");"outstream"==n&&a&&(e.renderer=((t=c.Th.install({url:l})).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))}window.mnet=window.mnet||{},window.mnet.queue=window.mnet.queue||[],y.urlData={domain:v.domain,page:v.page,isTop:v.reachedTop},pbjs.medianetGlobals=pbjs.medianetGlobals||{};var R={code:p,gvlid:142,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:I(e[0],t),id:e[0].auctionId,imp:e.map((function(e){return k(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,"https://prebid.media.net/rtb/prebid?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(q),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?j(r,"iframe"):e.pixelEnabled?j(r,"image"):void 0},onTimeout:function(e){try{S({name:g,value:e.length,related_data:e[0].timeout||o.vc.getConfig("bidderTimeout")},e)}catch(e){}},onBidWon:function(e){try{S({name:h,value:e.cpm},[e])}catch(e){}},clearMnData:function(){y={}},getWindowSize:function(){return{w:window.screen.width||-1,h:window.screen.height||-1}}};(0,a.dX)(R),window.pbjs.installedModules.push("medianetBidAdapter")}},function(e){var t;t=896,e(e.s=t)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[574],{1594:function(e,r,i){var d=i(265),t=i(4358),a=i(5339),n=i(4679),p=i(59),s={production:"https://s-rtb-pb.send.microad.jp/prebid",test:"https://rtbtest.send.microad.jp/prebid"},o=[{type:6,bidKey:"userId.imuid"},{type:8,bidKey:"userId.id5id.uid"},{type:9,bidKey:"userId.tdid"},{type:10,bidKey:"userId.novatiq.snowflake"},{type:11,bidKey:"userId.parrableId.eid"},{type:12,bidKey:"userId.dacId.id"},{type:13,bidKey:"userId.idl_env"},{type:14,bidKey:"userId.criteoId"},{type:15,bidKey:"userId.pubcid"}];function u(e,r){return(e?-1:0)&r}function c(e){return u(e.mediaTypes.banner,1)|u(e.mediaTypes.native,2)|u(e.mediaTypes.video,4)}var f={code:"microad",supportedMediaTypes:[n.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,p.lY)(e);var i=[];return e.forEach((function(e){var a=e.params,n={spot:a.spot,url:r.refererInfo.page||window.location.href,referrer:r.refererInfo.ref,bid_id:e.bidId,transaction_id:e.transactionId,media_types:c(e),cbt:Math.floor(Math.random()*Math.pow(10,18)).toString(16)+(new Date).getTime().toString(16)};if(a.url&&(n.url_macro=a.url.replace("${COMPASS_EXT_URL}","")),a.referrer&&(n.referrer_macro=a.referrer.replace("${COMPASS_EXT_REF}","")),a.ifa&&(n.ifa=a.ifa.replace("${COMPASS_EXT_IFA}","")),a.appid&&(n.appid=a.appid.replace("${COMPASS_EXT_APPID}","")),a.geo){var p=a.geo.replace("${COMPASS_EXT_GEO}","");/^[0-9.\-]+,[0-9.\-]+$/.test(p)&&(n.geo=p)}var u=[];o.forEach((function(r){var i=(0,d.Z)(e,r.bidKey);!(0,t.xb)(i)&&(0,t.d8)(i)&&(u.push({type:r.type,id:i}),13===r.type&&(n.idl_env=i))})),u.length>0&&(n.aids=JSON.stringify(u)),i.push({method:"GET",url:s.production,data:n,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,a.dX)(f),window.pbjs.installedModules.push("microadBidAdapter")}},function(e){var r;r=1594,e(e.s=r)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[622],{3574:function(e,n,t){var i=t(4358),r=t(265),o=t(5644),d=t(4679),a=t(2021),s=t(5339),u=t(5102),c="https://statics.nextmillmedia.com/load-cookie.html?v=4",p=["api","linearity","maxduration","mimes","minduration","placement","playbackmethod","protocols","startdelay"],l=12e5,m={};a.on(o.FP.BID_WON,(function(e){var n=e.auctionId,t=e.requestId,r=function(e){var n=e.auctionId,t=e.requestId,i=h({auctionId:n,requestId:t});return m[i]&&m[i].wurl}({auctionId:n,requestId:t});r&&((0,i.ji)('(nextmillennium) Invoking image pixel for wurl on BID_WIN: "'.concat(r,'"')),(0,i.hq)(r),function(e){var n=e.auctionId,t=e.requestId,i=h({auctionId:n,requestId:t});delete m[i]}({auctionId:n,requestId:t}))})),function e(){var n=Date.now();Object.keys(m).forEach((function(e){n>=m[e].expirence&&delete m[e]})),setTimeout(e,6e4)}();var f={code:"nextMillennium",supportedMediaTypes:[d.Mk,d.pX],isBidRequestValid:function(e){return!!(e.params.placement_id&&(0,i.d8)(e.params.placement_id)||e.params.group_id&&(0,i.d8)(e.params.group_id))},buildRequests:function(e,n){var t=[];return window.nmmRefreshCounts=window.nmmRefreshCounts||{},(0,i.yi)(e,(function(e){window.nmmRefreshCounts[e.adUnitCode]=window.nmmRefreshCounts[e.adUnitCode]||0;var o=function(e){var n=(0,i.An)("group_id",e.params),t=(0,i.An)("placement_id",e.params);if(!n)return t;var r=w(window),o=[];e.mediaTypes&&(e.mediaTypes.banner&&(o=e.mediaTypes.banner.sizes),e.mediaTypes.video&&(o=[e.mediaTypes.video.playerSize]));var d=r&&r.location&&r.location.host||"";return"g".concat(n,";").concat(o.map((function(e){return e.join("x")})).join("|"),";").concat(d)}(e),d=e.auctionId,a=e.bidId,s=e.sizes;s&&!Array.isArray(s[0])&&(s=[s]);var c,l={page:(c=u.nH&&(0,u.nH)()||{}).page,ref:c.ref,domain:c.domain},m={w:window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth||0,h:window.innerHeight||window.document.documentElement.clientHeight||window.document.body.clientHeight||0},f={id:e.auctionId,ext:{prebid:{storedrequest:{id:o}},nextMillennium:{refresh_count:window.nmmRefreshCounts[e.adUnitCode]++,elOffsets:v(e),scrollTop:window.pageYOffset||document.documentElement.scrollTop}},device:m,site:l,imp:[]},h={ext:{prebid:{storedrequest:{id:o}}}};(0,r.Z)(e,"mediaTypes.banner")&&(h.banner={format:(s||[]).map((function(e){return{w:e[0],h:e[1]}}))});var g=(0,r.Z)(e,"mediaTypes.video");g&&(h.video=(0,i.iG)(g,p),g.playerSize?h.video=Object.assign(h.video,(0,i.NI)(g.playerSize[0])||{}):g.w&&g.h&&(h.video.w=g.w,h.video.h=g.h)),f.imp.push(h);var y=n&&n.gdprConsent,b=n&&n.uspConsent;(y||b)&&(f.regs={ext:{}},b&&(f.regs.ext.us_privacy=b),y&&(void 0!==y.gdprApplies&&(f.regs.ext.gdpr=y.gdprApplies?1:0),void 0!==y.consentString&&(f.user={ext:{consent:y.consentString}})));var I=(0,i.en)((0,i.Zy)().location.href).search,x=I.pbs&&"test"===I.pbs;t.push({method:"POST",url:x?"https://test.pbs.nextmillmedia.com/openrtb2/auction":"https://pbs.nextmillmedia.com/openrtb2/auction",data:JSON.stringify(f),options:{contentType:"application/json",withCredentials:!0},bidId:a,auctionId:d})})),t},interpretResponse:function(e,n){var t=e.body,o=[];return(0,i.yi)(t.seatbid,(function(e){(0,i.yi)(e.bid,(function(e){var a=n.bidId;!function(e){var n=e.wurl,t=e.requestId,i=e.auctionId;if(!n)return;var r=Date.now()+l,o=h({auctionId:i,requestId:t});m[o]={wurl:n,expirence:r}}({auctionId:n.auctionId,requestId:a,wurl:(0,r.Z)(e,"ext.prebid.events.win")});var s=function(e){var n,t,o,a;if((0,r.Z)(e,"ext.prebid.type")===d.pX)"http"===e.adm.substr(0,4)?a=e.adm:o=e.adm;else e.adm&&e.nurl?(n=e.adm,n+=(0,i.SG)(decodeURIComponent(e.nurl))):e.adm?n=e.adm:e.nurl&&(t=e.nurl);return{ad:n,adUrl:t,vastXml:o,vastUrl:a}}(e),u=s.ad,c=s.adUrl,p=s.vastUrl,f=s.vastXml,v={requestId: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||f?(v.mediaType=d.pX,p&&(v.vastUrl=p),f&&(v.vastXml=f)):(v.ad=u,v.adUrl=c),o.push(v)}))})),o},getUserSyncs:function(e,n,t,r){if(e.iframeEnabled){var o=t&&t.gdprApplies?"".concat(c,"&gdpr=1&gdpr_consent=").concat(t.consentString):c,d=[];return n&&(0,i.yi)(n,(function(e){e&&e.body&&e.body.ext&&e.body.ext.responsetimemillis&&(0,i.yi)(Object.keys(e.body.ext.responsetimemillis),(function(e){return d.push(e)}))})),d.length&&(o+="&bidders=".concat(d.join(","))),[{type:"iframe",url:o}]}}};function v(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 w(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(n>10)return e;try{if(e.parent.document)return w(e.parent.window,++n)}catch(n){return e}}function h(e){var n=e.auctionId,t=e.requestId;return"".concat(n,"-").concat(t)}(0,s.dX)(f),window.pbjs.installedModules.push("nextMillenniumBidAdapter")}},function(e){var n;n=3574,e(e.s=n)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[620],{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=[],g=0;g<e.length;g++){var f=e[g],v=f.adUnitCode;u.push(v);var m=f.sizes;c=void 0!==f.params.siteId&&f.params.siteId?f.params.siteId:c;var h=f.params.placementId,w="banner",y=(0,o.Z)(f,"mediaTypes.video"),R=(0,o.Z)(f,"mediaTypes.video.context");(f.mediaType===a.pX||y&&("instream"===R||"outstream"===R))&&(w="video"),c&&t({div:v,sizes:m,siteId:c,placementId:h,ad_type:w,params:f.params},b)}return!!c&&function(t,d,a){var s,u,c,p,l,b,g,f,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(),g=s.getMinutes(),f=s.getSeconds(),p+"-"+u(l)+"-"+u(c)+" "+u(b)+":"+u(g)+":"+u(f)),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 g(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 f={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),g(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)(f),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){var n;n=368,e(e.s=n)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[534],{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={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"},v={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=b(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 I(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=b([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 g=(0,r.Z)(e,"ortb2Imp.ext.data.pbadslot");g&&(o.aucs=encodeURIComponent(g));return I(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 f(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 b(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:f(a),be:1,bc:e[0].params.bc||"".concat("hb_pb","_").concat("3.0.3"),dddid:(0,d.HA)(e,(function(e){return e.transactionId})).join(","),nocache:(new Date).getTime()};var i=g("user.data",t.ortb2);i.length>0&&(n.sm=i);var c,p,u,m,l,v=g("site.content.data",t.ortb2);if(v.length>0&&(n.scsm=v),e[0].params.platform&&(n.ph=e[0].params.platform),t.gdprConsent){var b=t.gdprConsent;void 0!==b.consentString&&(n.gdpr_consent=b.consentString),void 0!==b.gdprApplies&&(n.gdpr=b.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")),c=n,p=e[0].userId,(0,d.yi)(p,(function(e,t){var n=h[t];if(h.hasOwnProperty(t))switch(t){case"merkleId":case"uid2":c[n]=e.id;break;case"lipb":if(c[n]=e.lipbid,Array.isArray(e.segments)&&e.segments.length>0){var a="liveintent:"+e.segments.join("|");c.sm="".concat(c.sm?c.sm+",":"").concat(a)}break;case"parrableId":c[n]=e.eid;break;case"id5id":c[n]=e.uid;break;case"novatiq":c[n]=e.snowflake;break;default:c[n]=e}})),n=c,e[0].schain&&(n.schain=(u=e[0].schain,"".concat(u.ver,",").concat(u.complete,"!").concat((m=u.nodes,l=["asi","sid","hp","rid","name","domain"],m.map((function(e){return l.map((function(t){return e[t]||""})).join(",")})).join("!"))))),n}function g(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 I(e,t,n){var a=[],i=!1;n.forEach((function(e){var n=function(e,t){var n={},a=s.vc.getConfig("currency.adServerCurrency")||"USD";"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)(v),window.pbjs.installedModules.push("openxBidAdapter")}},function(e){var t;t=7851,e(e.s=t)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[60],{9171:function(e,t,n){var r=n(1002),o=n(4925),i=n(4942),a=n(4358),c=n(265),u=n(6475),s=n(8640),l=n(3193),d=n(8928),f=n(2021),m=n(5644),p=n(2797),h=n(4614),v=n(5102),g=n(5975),y=n(5383),b=n(9128),O=["modelGroups"];function j(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 k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var F,C="Price Floors",S=(0,d.O)(1e4),R=["gptSlot","adUnitCode","size","domain","mediaType"],T=!1,Z=!1,D={},w=[],x={};function P(e,t){return Math.ceil((parseFloat(e)*Math.pow(10,t)).toFixed(1))/Math.pow(10,t)}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.index,o=void 0===r?y.K.index:r;return(null==e?void 0:e.adUnitCode)||o.getAdUnit(t).code}var I={size:function(e,t){return(0,a.s)(t.size)||"*"},mediaType:function(e,t){return t.mediaType||"banner"},gptSlot:function(e,t){return function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,n=(void 0===t?y.K.index:t).getAdUnit({transactionId:e});return"gam"===(0,c.Z)(n,"ortb2Imp.ext.data.adserver.name")&&n.ortb2Imp.ext.data.adserver.adslot}((e||t).transactionId)||(0,a.ky)(U(e,t)).gptSlot},domain:function(){return null==F&&(F=(0,a.en)((0,v.nH)().topmostLocation,{noDecodeWholeUrl:!0}).hostname),F},adUnitCode:function(e,t){return U(e,t)}};function M(e,t,n){return e.reduce((function(e,r){var o=I[r](t,n)||"*";return e.push("*"===o?["*"]:[o.toLowerCase(),"*"]),e}),[])}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=M((0,c.Z)(e,"schema.fields")||[],t,n);if(!r.length)return{matchingFloor:e.default};var o=r.map((function(e){return e[0]})).join("-"),i=(0,c.Z)(e,"matchingInputs.".concat(o));if(i)return k({},i);var a=E(r,(0,c.Z)(e,"schema.delimiter")||"|"),s=(0,h.sE)(a,(function(t){return e.values.hasOwnProperty(t)})),l={floorMin:e.floorMin||0,floorRuleValue:isNaN(e.values[s])?e.default:e.values[s],matchingData:a[0],matchingRule:s};return"number"==typeof(0,c.Z)(t,"ortb2Imp.ext.prebid.floorMin")&&(l.floorMin=t.ortb2Imp.ext.prebid.floorMin),l.matchingFloor=Math.max(l.floorMin,l.floorRuleValue),(0,u.N)(e,"matchingInputs.".concat(o),k({},l)),l}function E(e,t){return e.reduce((function(e,n){var r=[];return e.map((function(e){n.map((function(n){r.push(e+t+n)}))})),r})).sort((function(e,t){return e.split("*").length-t.split("*").length}))}function B(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=g.S.get(e,"bidCpmAdjustment");return r?parseFloat(r(t,k(k({},n),{},{cpm:t}))):parseFloat(t)}function N(e,t){var n=Math.pow(10,10);return e*n/(t*n)*(e*n)/n}var V={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 z(e,t){var n=Object.keys(e.mediaTypes||{});return"*"===t.mediaType&&1===n.length&&(t.mediaType=n[0]),"*"===t.size&&-1!==n.indexOf(t.mediaType)&&V[t.mediaType]&&1===V[t.mediaType](e).length&&(t.size=V[t.mediaType](e)[0]),t}function q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{currency:"USD",mediaType:"*",size:"*"},t=this,n=x[t.auctionId];if(!n||n.skipped)return{};e=z(t,e);var r=A(n.data,k({},t),{mediaType:e.mediaType,size:e.size}),o=e.currency||n.data.currency;if(r.matchingFloor&&o!==n.data.currency)try{r.matchingFloor=(0,s.R)().convertCurrency(r.matchingFloor,n.data.currency,o)}catch(e){(0,a.yN)("".concat(C,": Unable to get currency conversion for getFloor for bidder ").concat(t.bidder,". You must have currency module enabled with defaultRates in your currency config")),o=n.data.currency}if(n.enforcement.bidAdjustment&&r.matchingFloor){var i=B(t.bidder,r.matchingFloor);r.matchingFloor=i?N(r.matchingFloor,i):r.matchingFloor}return r.matchingFloor?{floor:P(r.matchingFloor,4),currency:o}:{}}function G(e,t){var n=(0,a.I8)(e);return n.schema.delimiter=e.schema.delimiter||"|",n.values=function(e,t){var n=e.schema.fields,r=e.schema.delimiter,o=t&&-1===n.indexOf("adUnitCode")&&n.unshift("adUnitCode");return Object.keys(e.values).reduce((function(n,i){return n[(o?"".concat(t).concat(r).concat(i):i).toLowerCase()]=e.values[i],n}),{})}(n,t),n.currency=n.currency||"USD",n}function H(e,t){var n=(0,a.I8)(D);if(2===(0,c.Z)(n,"data.floorsSchemaVersion")){var r=n.data,i=r.modelGroups,u=(0,o.Z)(r,O);n.data=Object.assign(u,function(e,t){for(var n=Math.floor(Math.random()*t+1),r=0;r<e.length;r++)if((n-=e[r].modelWeight)<=0)return e[r]}(i,u.modelWeightSum))}var s=0===Object.keys((0,c.Z)(n,"data.values")||{}).length;if(n.data=s?function(e){return e.reduce((function(e,t){if(L(t.floors))if(e.values){var n=G(t.floors,t.code).values;Object.assign(e.values,n)}else(e=G(t.floors,t.code)).location="adUnit";return e}),{})}(e):G(n.data),0===Object.keys((0,c.Z)(n,"data.values")||{}).length)n.skipped=!0;else{var l=(0,a.rD)("pbjs_skipRate")||n.skipRate,d=100*Math.random()<parseFloat(l);n.skipped=d}return n.hasOwnProperty("floorMin")&&(n.data.floorMin=n.floorMin),function(e,t,n){e.forEach((function(e){e.bids.forEach((function(e){t.skipped?delete e.getFloor:e.getFloor=q,e.auctionId=n,e.floorData={skipped:t.skipped,skipRate:t.skipRate,floorMin:t.floorMin,modelVersion:(0,c.Z)(t,"data.modelVersion"),modelWeight:(0,c.Z)(t,"data.modelWeight"),modelTimestamp:(0,c.Z)(t,"data.modelTimestamp"),location:(0,c.Z)(t,"data.location","noData"),floorProvider:t.floorProvider,fetchStatus:D.fetchStatus}}))}))}(e,n,t),n}function W(e){e.hasExited||(w=w.filter((function(t){return t.timer!==e.timer})),e.reqBidsConfigObj.auctionId=e.reqBidsConfigObj.auctionId||(0,a.DO)(),x[e.reqBidsConfigObj.auctionId]=H(e.reqBidsConfigObj.adUnits||(0,s.R)().adUnits,e.reqBidsConfigObj.auctionId),e.nextFn.apply(e.context,[e.reqBidsConfigObj]),e.hasExited=!0)}function J(e){return t=(0,c.Z)(e,"schema.fields"),!!(Array.isArray(t)&&t.length>0&&t.every((function(e){return-1!==R.indexOf(e)}))||((0,a.H)("".concat(C,": Fields recieved do not match allowed fields")),0))&&(n=e,o=e.schema.fields.length,i=e.schema.delimiter||"|","object"===(0,r.Z)(n.values)&&(n.values=Object.keys(n.values).reduce((function(e,t){return function(e,t,n,r){return"string"==typeof e&&e.split(r).length===n&&"number"==typeof t}(t,n.values[t],o,i)&&(e[t]=n.values[t]),e}),{}),Object.keys(n.values).length>0));var t,n,o,i}var K={1:function(e){return J(e)},2:function(e){return!(!Array.isArray(e.modelGroups)||0===e.modelGroups.length)&&(e.modelWeightSum=0,e.modelGroups.every((function(t){return!("number"!=typeof t.modelWeight||!J(t))&&(e.modelWeightSum+=t.modelWeight,!0)})))}};function L(e){return"object"===(0,r.Z)(e)&&(e.floorsSchemaVersion=e.floorsSchemaVersion||1,"function"!=typeof K[e.floorsSchemaVersion]?((0,a.H)("".concat(C,": Unknown floorsSchemaVersion: "),e.floorsSchemaVersion),!1):K[e.floorsSchemaVersion](e))}function _(e,t){if(e&&"object"===(0,r.Z)(e)&&L(e))return(0,a.PN)("".concat(C,": A ").concat(t," set the auction floor data set to "),e),k(k({},e),{},{location:t});(0,a.H)("".concat(C,": The floors data did not contain correct values"),e)}var Y=(0,b.g3)("priceFloors",(function(e,t){var n={reqBidsConfigObj:t,context:this,nextFn:e,haveExited:!1,timer:null};D.auctionDelay>0&&T?(n.timer=setTimeout((function(){(0,a.yN)("".concat(C,": Fetch attempt did not return in time for auction")),D.fetchStatus="timeout",W(n)}),D.auctionDelay),w.push(n)):W(n)}));function Q(){w.forEach((function(e){clearTimeout(e.timer),W(e)})),w=[]}function X(e){var t;T=!1,D.fetchStatus="success";try{t=JSON.parse(e)}catch(n){t=e}var n=_(t,"fetch");n&&(D.data=n,D.skipRate=(0,a.hj)(n.skipRate)?n.skipRate:D.skipRate,D.floorProvider=n.floorProvider||D.floorProvider),Q()}function $(e){T=!1,D.fetchStatus="error",(0,a.H)("".concat(C,": Fetch errored with: "),e),Q()}function ee(e){var t;(D=(0,a.ei)(e,["floorMin","enabled",function(e){return!1!==e},"auctionDelay",function(e){return e||0},"floorProvider",function(t){return(0,c.Z)(e,"data.floorProvider",t)},"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,r.Z)(e)&&Object.keys(e).length>0?(t=e,void Object.keys(t).forEach((function(e){-1===R.indexOf(e)&&"function"==typeof t[e]&&(R.push(e),I[e]=t[e])}))):void 0;var t},"data",function(e){return e&&_(e,"setConfig")||D.data}])).enabled?((t=D.endpoint).url&&!T?"GET"!==(t.method||"GET")?(0,a.H)("".concat(C,": 'GET' is the only request method supported at this time!")):(S(t.url,{success:X,error:$},null,{method:"GET"}),T=!0):T&&(0,a.yN)("".concat(C,": A fetch is already occuring. Skipping.")),Z||(f.on(m.FP.AUCTION_END,(function(e){setTimeout((function(){return delete x[e.auctionId]}),3e3)})),(0,s.R)().requestBids.before(Y,50),(0,p.v5)("addBidResponse").before(te,(0,a.eB)()?4:50),Z=!0)):((0,a.PN)("".concat(C,": Turning off module")),D={},x={},(0,p.v5)("addBidResponse").getHooks({hook:te}).remove(),(0,s.R)().requestBids.getHooks({hook:Y}).remove(),Z=!1)}var te=(0,b.A)("priceFloors",(function(e,t,n,r){var o=x[n.auctionId];if(!o||!n||o.skipped)return e.call(this,t,n,r);var i,u=y.K.index.getBidRequest(n),l=A(o.data,u,k(k({},n),{},{size:[n.width,n.height]}));if(!l.matchingFloor)return(0,a.yN)("".concat(C,": unable to determine a matching price floor for bidResponse"),n),e.call(this,t,n,r);var d=o.data.currency.toUpperCase(),f=n.currency||"USD";if(d===f.toUpperCase())i=n.cpm;else if(n.originalCurrency&&d===n.originalCurrency.toUpperCase())i=n.originalCpm;else try{i=(0,s.R)().convertCurrency(n.cpm,f.toUpperCase(),d)}catch(o){return(0,a.H)("".concat(C,": Unable do get currency conversion for bidResponse to Floor Currency. Do you have Currency module enabled? ").concat(n)),e.call(this,t,n,r)}if(function(e,t,n,r){n.floorData={floorValue:t.matchingFloor,floorRule:t.matchingRule,floorRuleValue:t.floorRuleValue,floorCurrency:e.data.currency,cpmAfterAdjustments:r,enforcements:k({},e.enforcement),matchedFields:{}},e.data.schema.fields.forEach((function(r,o){var i=t.matchingData.split(e.data.schema.delimiter)[o];n.floorData.matchedFields[r]=i}))}(o,l,n,i=B(n.bidderCode,i,n)),function(e,t,n){var r=!1!==(0,c.Z)(e,"enforcement.enforceJS"),o=!0===(0,c.Z)(e,"enforcement.floorDeals")||!n.dealId,i=n.floorData.cpmAfterAdjustments<t.matchingFloor;return r&&i&&o}(o,l,n)){var p,h=r(m.Gw.pe);return(0,a.yN)("".concat(C,": ").concat(h.bidderCode,"'s Bid Response for ").concat(t," was rejected due to floor not met (adjusted cpm: ").concat(null==n||null===(p=n.floorData)||void 0===p?void 0:p.cpmAfterAdjustments,", floor: ").concat(null==l?void 0:l.matchingFloor,")"),n),e.call(this,t,h,r)}return e.call(this,t,n,r)}));l.vc.getConfig("floors",(function(e){return ee(e.floors)})),window.pbjs.installedModules.push("priceFloors")},4925:function(e,t,n){function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return r}})}},function(e){var t;t=9171,e(e.s=t)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[126],{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),u=t(3193),l=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",b="PubMatic: ",y="USD",v=void 0,E="https://pubmatic.bbvms.com/r/".concat("$RENDERER",".js"),I={kadpageurl:"",gender:"",yob:"",lat:"",lon:"",wiid:"",profId:"",verId:""},w="number",P="string",T="boolean",O="array",D={mimes:O,minduration:w,maxduration:w,startdelay:w,playbackmethod:O,api:O,protocols:O,w:w,h:w,battr:O,linearity:w,placement:w,minbitrate:w,maxbitrate:w,skip:w},N={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}},x=1,k=2,Y=3,S=[{id:N.SPONSOREDBY.ID,required:!0,data:{type:1}},{id:N.TITLE.ID,required:!0},{id:N.IMAGE.ID,required:!0}],C={1:"PMP",5:"PREF",6:"PMPG"},R={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=R.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(b,": Couldn't find a renderer with ").concat(a))}else(0,s.yN)("".concat(b,": No vastXml or vastUrl on bid, bailing..."))},newRenderer:function(e,r){var t=E.replace("$RENDERER",e),a=l.Th.install({url:t,loaded:!1,adUnitCode:r});try{a.setRender(R.outstreamRender)}catch(e){(0,s.yN)("".concat(b,": Error tying to setRender on renderer"),e)}return a},outstreamRender:function(e){e.renderer.push((function(){R.bootstrapPlayer(e)}))},getRendererId:function(e,r){return"".concat(e,"-").concat(r)}},M=[c.Mk,c.pX,c.B5],z=0,K=!1,A={},j={},U=["pubmatic"],q=["all"];function L(e,r){if(!(0,s.d8)(r))return r&&(0,s.yN)("PubMatic: Ignoring param key: "+e+", expects string-value, found "+(0,n.Z)(r)),v;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)||v;case"yob":return parseInt(r)||v;default:return r}}function B(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)("pubmatic: 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)("PubMatic: 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 T:a=s.jn;break;case w:a=s.hj;break;case P:a=s.d8;break;case O:a=s.kJ}return a(r)?r:((0,s.yN)(b+i),v)}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 _(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 N.TITLE.KEY:e[t].len||e[t].length?a={id:N.TITLE.ID,required:e[t].required?1:0,title:{len:e[t].len||e[t].length,ext:e[t].ext}}:(0,s.yN)("PubMatic: Error: Title Length is required for native ad: "+JSON.stringify(e));break;case N.IMAGE.KEY:e[t].sizes&&e[t].sizes.length>0?a={id:N.IMAGE.ID,required:e[t].required?1:0,img:{type:Y,w:e[t].w||e[t].width||(e[t].sizes?e[t].sizes[0]:v),h:e[t].h||e[t].height||(e[t].sizes?e[t].sizes[1]:v),wmin:e[t].wmin||e[t].minimumWidth||(e[t].minsizes?e[t].minsizes[0]:v),hmin:e[t].hmin||e[t].minimumHeight||(e[t].minsizes?e[t].minsizes[1]:v),mimes:e[t].mimes,ext:e[t].ext}}:(0,s.yN)("PubMatic: Error: Image sizes is required for native ad: "+JSON.stringify(e));break;case N.ICON.KEY:e[t].sizes&&e[t].sizes.length>0?a={id:N.ICON.ID,required:e[t].required?1:0,img:{type:x,w:e[t].w||e[t].width||(e[t].sizes?e[t].sizes[0]:v),h:e[t].h||e[t].height||(e[t].sizes?e[t].sizes[1]:v)}}:(0,s.yN)("PubMatic: Error: Icon sizes is required for native ad: "+JSON.stringify(e));break;case N.VIDEO.KEY:a={id:N.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 N.EXT.KEY:a={id:N.EXT.ID,required:e[t].required?1:0};break;case N.LOGO.KEY:a={id:N.LOGO.ID,required:e[t].required?1:0,img:{type:k,w:e[t].w||e[t].width||(e[t].sizes?e[t].sizes[0]:v),h:e[t].h||e[t].height||(e[t].sizes?e[t].sizes[1]:v)}};break;case N.SPONSOREDBY.KEY:case N.BODY.KEY:case N.RATING.KEY:case N.LIKES.KEY:case N.DOWNLOADS.KEY:case N.PRICE.KEY:case N.SALEPRICE.KEY:case N.PHONE.KEY:case N.ADDRESS.KEY:case N.DESC2.KEY:case N.DISPLAYURL.KEY:case N.CTA.KEY:a=X(j[t],e)}}a&&a.id&&(r.assets[r.assets.length]=a)}var i=S.length,n=0;return S.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 Z(e){var r,t=e.mediaTypes.banner.sizes,a=[];if(t!==v&&(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=v,(0,s.yN)("PubMatic: 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)("PubMatic: Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),r=v;return r}function G(e){var r,t=(0,s.Ee)((0,o.Z)(e.mediaTypes,"video"),e.params.video);if(t!==v){for(var a in r={},function(e,r){(0,o.Z)(e,"placement")||(0,s.yN)("Video.Placement param missing 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=v,(0,s.yN)("PubMatic: 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={},l={},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)("PubMatic: 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)("PubMatic: Error: bid.params.deals should be an array of strings."))}(p={id:e.bidId,tagid:e.params.adUnit||void 0,bidfloor:L("kadfloor",e.params.kadfloor),secure:1,ext:{pmZoneId:L("pmzoneid",e.params.pmzoneid)},bidfloorcur:e.params.currency?L("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)("PubMatic: 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=Z(e))!==v&&(p.banner=t);break;case c.B5:l.request=JSON.stringify(_(e.nativeParams)),K?(0,s.yN)("PubMatic: Error: Error in Native adunit "+e.params.adUnit+". Ignoring the adunit. Refer to http://prebid.org/dev-docs/show-native-ads.html for more details."):p.native=l;break;case c.pX:(a=G(e))!==v&&(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||u.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)(b,"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)(b,"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)(b,"new floor value:",t)}}))}}));e.bidfloor&&((0,s.PN)(b,"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:v,(0,s.PN)(b,"new impObj.bidfloor value:",e.bidfloor)}(p,e),p.hasOwnProperty(c.Mk)||p.hasOwnProperty(c.B5)||p.hasOwnProperty(c.pX)?p:v}function H(e,r){(r=r.filter((function(e){return"string"==typeof e||((0,s.yN)("PubMatic: 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)("PubMatic: acat: Selected: ",r),e.ext.acat=r)}function W(e){return!0===(0,s.kJ)(e)&&e.length>0}(0,s.yi)(N,(function(e){A[e.ID]=e.KEY})),(0,s.yi)(N,(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)("PubMatic: 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)("PubMatic: 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(b,": 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(b,': 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(b,': 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,l,h;e=(0,f.lY)(e),r&&r.refererInfo&&(h=r.refererInfo);var g,b=function(e){return{pageURL:(null==e?void 0:e.page)||window.location.href,refURL:(null==e?void 0:e.ref)||window.document.referrer}}(h),E=function(e){return{id:""+(new Date).getTime(),at:1,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:{}}}(b),w="",P=[],T=[],O=[];if(e.forEach((function(e){if((g=(0,s.I8)(e)).params.adSlot=g.params.adSlot||"",B(g),g.mediaTypes&&g.mediaTypes.hasOwnProperty("video")||g.params.hasOwnProperty("video"));else if(!(g.hasOwnProperty("mediaTypes")&&g.mediaTypes.hasOwnProperty(c.B5)||0!==g.params.width||0!==g.params.height))return void(0,s.yN)("PubMatic: Skipping the non-standard adslot: ",g.params.adSlot,JSON.stringify(g));b.pubId=b.pubId||g.params.publisherId,(b=function(e,r){var t,a,i;for(t in r.kadpageurl||(r.kadpageurl=r.pageURL),I)I.hasOwnProperty(t)&&(a=e[t])&&(i=I[t],"object"===(0,n.Z)(i)&&(a=i.f(a,r)),(0,s.d8)(a)?r[t]=a:(0,s.yN)("PubMatic: Ignoring param : "+t+" with value : "+I[t]+", expects string-value, found "+(0,n.Z)(a)));return r}(g.params,b)).transactionId=g.transactionId,""===w?w=g.params.currency||v:g.params.hasOwnProperty("currency")&&w!==g.params.currency&&(0,s.yN)("PubMatic: Currency specifier ignored. Only one currency permitted."),g.params.currency=w,g.params.hasOwnProperty("dctr")&&(0,s.d8)(g.params.dctr)&&P.push(g.params.dctr),g.params.hasOwnProperty("bcat")&&(0,s.kJ)(g.params.bcat)&&(T=T.concat(g.params.bcat)),g.params.hasOwnProperty("acat")&&(0,s.kJ)(g.params.acat)&&(O=O.concat(g.params.acat));var r=V(g);r&&E.imp.push(r)})),0!=E.imp.length){E.site.publisher.id=b.pubId.trim(),z=b.pubId.trim(),E.ext.wrapper={},E.ext.wrapper.profile=parseInt(b.profId)||v,E.ext.wrapper.version=parseInt(b.verId)||v,E.ext.wrapper.wiid=b.wiid||r.auctionId,E.ext.wrapper.wv="prebid_prebid_7.20.0",E.ext.wrapper.transactionId=b.transactionId,E.ext.wrapper.wp="pbjs";var D,N,x=r?m.S.get(r.bidderCode,"allowAlternateBidderCodes"):void 0;if(void 0!==x){if(E.ext.marketplace={},r&&1==x){var k=m.S.get(r.bidderCode,"allowedAlternateBidderCodes");(0,s.kJ)(k)?(k=k.map((function(e){return e.trim().toLowerCase()})).filter((function(e){return!!e})).filter(s.tT),U=k.includes("*")?q:[].concat((0,a.Z)(U),(0,a.Z)(k))):U=q}E.ext.marketplace.allowedbidders=U.filter(s.tT)}E.user.gender=b.gender?b.gender.trim():v,E.user.geo={},E.user.geo.lat=L("lat",b.lat),E.user.geo.lon=L("lon",b.lon),E.user.yob=L("yob",b.yob),E.device.geo=E.user.geo,E.site.page=b.kadpageurl.trim()||E.site.page.trim(),E.site.domain=(D=E.site.page,(N=document.createElement("a")).href=D,N.hostname),"object"===(0,n.Z)(u.vc.getConfig("content"))&&(E.site.content=u.vc.getConfig("content")),"object"===(0,n.Z)(u.vc.getConfig("device"))&&(E.device=Object.assign(E.device,u.vc.getConfig("device"))),E.device.language=E.device.language&&E.device.language.split("-")[0],(0,d.N)(E,"source.tid",b.transactionId),-1!==window.location.href.indexOf("pubmaticTest=true")&&(E.test=1),e[0].schain&&(0,d.N)(E,"source.ext.schain",e[0].schain),r&&r.gdprConsent&&((0,d.N)(E,"user.ext.consent",r.gdprConsent.consentString),(0,d.N)(E,"regs.ext.gdpr",r.gdprConsent.gdprApplies?1:0)),r&&r.uspConsent&&(0,d.N)(E,"regs.ext.us_privacy",r.uspConsent),!0===u.vc.getConfig("coppa")&&(0,d.N)(E,"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)}(E,e);var Y,S,C,R=r&&r.ortb2||{};if(R.site){var M=E.site,K=M.page,A=M.domain,j=M.ref;(0,s.Ee)(E,{site:R.site}),E.site.page=K,E.site.domain=A,E.site.ref=j}if(R.user&&(0,s.Ee)(E,{user:R.user}),R.bcat&&(T=T.concat(R.bcat)),null!==(t=R.ext)&&void 0!==t&&null!==(i=t.prebid)&&void 0!==i&&null!==(p=i.bidderparams)&&void 0!==p&&null!==(l=p[r.bidderCode])&&void 0!==l&&l.acat){var J=R.ext.prebid.bidderparams[r.bidderCode].acat;H(E,J)}else O.length&&H(E,O);if(function(e,r){(r=r.filter((function(e){return"string"==typeof e||((0,s.yN)("PubMatic: 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)("PubMatic: bcat: Each category should have a value of a length of more than 3 characters, ignoring category: "+e)}))).length>0&&((0,s.yN)("PubMatic: bcat: Selected: ",r),e.bcat=r)}(E,T),null!=r&&r.timeout)E.tmax=r.timeout||u.vc.getConfig("bidderTimeout");else E.tmax=null===(Y=window)||void 0===Y||null===(S=Y.PWT)||void 0===S||null===(C=S.versionDetails)||void 0===C?void 0:C.timeout;return E.ext.epoch=(new Date).getTime(),"object"===(0,n.Z)(u.vc.getConfig("app"))&&(E.app=u.vc.getConfig("app"),E.app.publisher=E.site.publisher,E.app.ext=E.site.ext||v,"object"!==(0,n.Z)(E.app.content)&&(E.app.content=E.site.content||v),delete E.site),{method:"POST",url:"https://hbopenbid.pubmatic.com/translator?source=prebid-client",data:JSON.stringify(E),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(o){var d={requestId:o.impid,cpm:(parseFloat(o.price)||0).toFixed(2),width:o.w,height:o.h,creativeId:o.crid||o.id,dealId:o.dealid,currency:a,netRevenue:true,ttl:300,referrer:n,ad:o.adm,pm_seat:e.seat||null,pm_dspid:o.ext&&o.ext.dspid?o.ext.dspid:null,partnerImpId:o.id||""};i.imp&&i.imp.length>0&&i.imp.forEach((function(e){if(o.impid===e.id)switch(function(e,r){if(e.ext&&null!=e.ext.bidtype)r.mediaType=M[e.ext.bidtype];else{(0,s.PN)("PubMatic: 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)("PubMatic: Error: Cannot parse native reponse for ad response: "+t)}}}(o,d),d.mediaType){case c.Mk:break;case c.pX:d.width=o.hasOwnProperty("w")?o.w:e.video.w,d.height=o.hasOwnProperty("h")?o.h:e.video.h,d.vastXml=o.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=R.newRenderer(e.rendererCode,i))}}(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)("PubMatic: 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 N.TITLE.ID:r.native.title=t.native.assets[a].title&&t.native.assets[a].title.text;break;case N.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 N.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 N.SPONSOREDBY.ID:case N.BODY.ID:case N.LIKES.ID:case N.DOWNLOADS.ID:case N.PRICE:case N.SALEPRICE.ID:case N.PHONE.ID:case N.ADDRESS.ID:case N.DESC2.ID:case N.CTA.ID:case N.RATING.ID:case N.DISPLAYURL.ID:r.native[A[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=0),r.height||(r.height=0)}}}(o,d)}})),o.ext&&o.ext.deal_channel&&(d.dealChannel=C[o.ext.deal_channel]||null),d.meta={},o.ext&&o.ext.dspid&&(d.meta.networkId=o.ext.dspid),o.ext&&o.ext.advid&&(d.meta.buyerId=o.ext.advid),o.adomain&&o.adomain.length>0&&(d.meta.advertiserDomains=o.adomain,d.meta.clickUrl=o.adomain[0]),e.ext&&e.ext.buyid&&(d.adserverTargeting={hb_buyid_pubmatic:e.ext.buyid}),o.ext&&o.ext.marketplace&&(d.bidderCode=o.ext.marketplace),t.push(d)}))})))}catch(e){(0,s.H)(e)}return t},getUserSyncs:function(e,r,t,a){var i=""+z;return t&&(i+="&gdpr="+(t.gdprApplies?1:0),i+="&gdpr_consent="+encodeURIComponent(t.consentString||"")),a&&(i+="&us_privacy="+encodeURIComponent(a)),!0===u.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){var r;r=5817,e(e.s=r)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[6],{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,[355],(function(){return r=2061,e(e.s=r);var r}));e.O()}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[187],{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"};(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=w(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"===w(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&&A(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"===w(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(O(t,i),"&"):e}),"")+"slots=1&rand=".concat(Math.random()),bidRequest:e}})));else{var d=e.filter((function(e){return"banner"===w(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(O(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.20.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&&A(e.schain)&&(f.rp_schain=h.serializeSupplyChain(e.schain)),f},serializeSupplyChain:function(e){if(!A(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"!==w(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(!N&&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)):"",N=!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=void 0!==(0,s.Z)(e,"mediaTypes.".concat(u.pX)),r=void 0!==(0,s.Z)(e,"mediaTypes.".concat(u.Mk)),i="object"!==(0,a.Z)((0,s.Z)(e,"params.video"));return r&&i&&(t=!1),t&&i&&(0,c.N)(e,"params.video",{}),t}function w(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Z(e)?-1===["outstream","instream"].indexOf((0,s.Z)(e,"mediaTypes.".concat(u.pX,".context")))?void(t&&(0,o.H)("Rubicon: mediaTypes.video.context must be outstream or instream")):k(e,"video").length<2?void(t&&(0,o.H)("Rubicon: could not determine the playerSize of the video")):(t&&(0,o.ji)("Rubicon: making video request for adUnit",e.adUnitCode),"video"):0===k(e,"banner").length?void(t&&(0,o.H)("Rubicon: could not determine the sizes for banner request")):(t&&(0,o.ji)("Rubicon: making banner request for adUnit",e.adUnitCode),"banner")}function A(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 O(e,t){return"rp_schain"===e?"rp_schain=".concat(t):"".concat(e,"=").concat(encodeURIComponent(t))}var N=!1;(0,d.dX)(h),window.pbjs.installedModules.push("rubiconBidAdapter")}},function(e){var t;t=60,e(e.s=t)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[225],{8689:function(n,i,o){var c=o(3193),e=o(3092),t=o(4358),a="Invalid schain object found: ",s=" should be a string",d=" should be an Integer",f=" should be an object",r={STRICT:"strict",RELAXED:"relaxed",OFF:"off"},h=[];function u(n,i){var o=r.STRICT;if(function(n){return!(void 0===n||!(0,t.PO)(n)&&((0,t.H)(a+"the following schain config will not be used as schain is not an object.",n),1))}(n)){if((0,t.d8)(n.validation)&&-1!=h.indexOf(n.validation)&&(o=n.validation),o===r.OFF)return n.config;if(function(n,i){var o="Detected something wrong within an schain config:",c="";function e(n){c+="\n"+n}function a(){!0===i?(0,t.H)(o,n,c):(0,t.yN)(o,n,c)}if(!(0,t.PO)(n)&&(e("schain.config"+f),a(),i))return!1;if((0,t.hj)(n.complete)&&(0,t.U)(n.complete)||e("schain.config.complete"+d),(0,t.d8)(n.ver)||e("schain.config.ver"+s),(0,t.RI)(n,"ext")&&((0,t.PO)(n.ext)||e("schain.config.ext"+f)),(0,t.kJ)(n.nodes))n.nodes.forEach((function(n,i){(0,t.d8)(n.asi)||e("schain.config.nodes[".concat(i,"].asi")+s),(0,t.d8)(n.sid)||e("schain.config.nodes[".concat(i,"].sid")+s),(0,t.hj)(n.hp)&&(0,t.U)(n.hp)||e("schain.config.nodes[".concat(i,"].hp")+d),(0,t.RI)(n,"rid")&&((0,t.d8)(n.rid)||e("schain.config.nodes[".concat(i,"].rid")+s)),(0,t.RI)(n,"name")&&((0,t.d8)(n.name)||e("schain.config.nodes[".concat(i,"].name")+s)),(0,t.RI)(n,"domain")&&((0,t.d8)(n.domain)||e("schain.config.nodes[".concat(i,"].domain")+s)),(0,t.RI)(n,"ext")&&((0,t.PO)(n.ext)||e("schain.config.nodes[".concat(i,"].ext")+f))}));else if(e("schain.config.nodes should be an Array"),a(),i)return!1;return!(c.length>0&&(a(),i))}(n.config,!(o!==r.STRICT)))return n.config;(0,t.H)(a+"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 g(n,i){var o=c.vc.getConfig("schain"),e=c.vc.getBidderConfig();i.forEach((function(n){var i=n.bidderCode,c=function(n){return e[n]&&e[n].schain||o}(i);n.bids.forEach((function(n){var o=u(c,i);o&&(n.schain=o)}))})),n(i)}(0,t.yi)(r,(function(n){return h.push(n)})),e.ZP.makeBidRequests.after(g),window.pbjs.installedModules.push("schain")}},function(n){var i;i=8689,n(n.s=i)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[972],{4834:function(o,e,n){var t=n(1002),i=n(4358),a=n(2797),r=n(3092),d=(0,n(5164).df)({moduleName:"pubCommonId"}),u="cookie",c="html5",m="_pubcid_optout",s="PublisherCommonId";function v(o,e){if(e===u)return d.getCookie(o);if(e===c&&d.hasLocalStorage()){var n=d.getDataFromLocalStorage("".concat(o,"_exp"));if(!n)return d.getDataFromLocalStorage(o);if(new Date(n).getTime()-Date.now()>0)return d.getDataFromLocalStorage(o)}}function f(o,e){return function(n){"function"==typeof e&&e(),n(o)}}function l(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 p(){return!!(d.cookiesAreEnabled()&&v(m,u)||d.hasLocalStorage()&&v(m,c))}var g={name:"sharedId",aliasName:"pubCommonId",decode:function(o,e){if(!p())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(p())(0,i.PN)("PubCommonId: Has opted-out");else{var n=r.VP.getCoppa();if(!n){var a=o.params,d=(a=void 0===a?{}:a).create,u=void 0===d||d,c=a.pixelUrl,m=e;if(!m){try{"object"===(0,t.Z)(window[s])&&(m=window[s].getId())}catch(o){}m||(m=u&&(0,i.wn)()?(0,i.DO)():void 0)}var v=l(c,m);return{id:m,callback:f(m,v)}}(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(p())return(0,i.PN)("PubCommonId: Has opted-out"),{id:void 0};var n=r.VP.getCoppa();if(n)(0,i.PN)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId");else{var t=o.params,a=(t=void 0===t?{}:t).extend,d=void 0!==a&&a,u=t.pixelUrl;if(d){if(u){var c=l(u,e);return{callback:c}}return{id:e}}}},domainOverride:function(){for(var o,e,n=document.domain.split("."),t="_gd".concat(Date.now()),i=0;i<n.length;i++){var a=n.slice(i).join(".");if(d.setCookie(t,"1",void 0,void 0,a),e=d.getCookie(t),d.setCookie(t,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,a),"1"!==e)return o;o=a}}};(0,a.Bx)("userId",g),window.pbjs.installedModules.push("sharedIdSystem")}},function(o){var e;e=4834,o(o.s=e)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[312],{6349:function(e,t,r){var i=r(1002),n=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 i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}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"),i=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")},i.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.20.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=x(i.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 i=(0,c.Z)(e,"ortb2Imp.ext.gpid",(0,c.Z)(e,"ortb2Imp.ext.data.pbadslot"));i&&(t.ext.gpid=i);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,n.Z)(u.playerSize,2);d=p[0],s=p[1]}t.video={pos:x(u.pos,0),topframe:(0,a.yL)()?0:1,skip:x(u.skip,0),linearity:x(u.linearity,1),minduration:x(u.minduration,5),maxduration:x(u.maxduration,60),playbackmethod:u.playbackmethod||[2],api:b(u),mimes:u.mimes||["video/mp4"],protocols:h(u),w:d,h:s,startdelay:x(u.startdelay,0),skipmin:x(u.skipmin,0),skipafter:x(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:I(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 i={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 i.mediaType===s.pX&&(i.ttl=3600,i.vastXml=e.adm),i})):[]},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 I(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,i.Z)(r)||"USD"!==r.currency||isNaN(parseFloat(r.floor))||(t=parseFloat(r.floor))}return null!==t?t:e.params.floor}function x(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 i=r(4358),n=r(265),o={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.DeviceID&&(t=e.DeviceID.join(",")),t},getUidExt:function(e){return"DeviceID"}},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:"amxrtb.com",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 n={};n.source=(0,i.LQ)(r.getSource)?r.getSource(e):r.source;var a=(0,i.LQ)(r.getValue)?r.getValue(e):e;if((0,i.d8)(a)){var c={id:a,atype:r.atype};if((0,i.LQ)(r.getUidExt)){var u=r.getUidExt(e);u&&(c.ext=u)}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("ftrackId"===r){var i={atype:1,id:(e.ftrackId.DeviceID||[]).join("|"),ext:{}};for(var n in e.ftrackId)i.ext[n]=(e.ftrackId[n]||[]).join("|");t.push(i)}else if(Array.isArray(e[r]))e[r].forEach((function(e,i,n){var o=a(e,r);o&&t.push(o)}));else{var o=a(e[r],r);o&&t.push(o)}};for(var i in e)r(i);return t}function u(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)(o,r+".source")&&t.push({source:o[r].source,bidders:e.config.bidders})}))})),t}}},function(e){var t;t=6349,e(e.s=t)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[302],{1415:function(e,i,r){var t=r(3324),n=r(4942),s=r(5339),a=r(4358),o=r(265),d=r(4679),c=r(3193),u=r(5706),p=r(1974),l="sonobi",f=(0,a.DO)(),v="https://mtrx.go.sonobi.com/sbi_outstream_renderer.js",m={code:l,gvlid:104,supportedMediaTypes:[d.Mk,d.pX],isBidRequestValid:function(e){if(!e.params)return!1;if(!e.params.ad_unit&&!e.params.placement_id)return!1;if(!(0,o.Z)(e,"mediaTypes.banner")&&!(0,o.Z)(e,"mediaTypes.video"))return!1;if((0,o.Z)(e,"mediaTypes.banner")){if(!(0,o.Z)(e,"mediaTypes.banner.sizes")&&!e.params.sizes)return!1}else if((0,o.Z)(e,"mediaTypes.video")){if("outstream"===(0,o.Z)(e,"mediaTypes.video.context")&&!e.params.sizes)return!1;if("instream"===(0,o.Z)(e,"mediaTypes.video.context")&&!(0,o.Z)(e,"mediaTypes.video.playerSize"))return!1}return!0},buildRequests:function(e,i){var r=e.map((function(e){var i;(0,o.Z)(e,"mediaTypes.video")?i="video":(0,o.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,n.Z)({},"".concat(r,"|").concat(e.bidId),"".concat(b(e),"|").concat(y(e)).concat(g(e)).concat(h(i)))):/^[0-9a-fA-F]{20}$/.test(r)&&20===r.length?(0,n.Z)({},e.bidId,"".concat(r,"|").concat(b(e),"|").concat(y(e)).concat(g(e)).concat(h(i))):void(0,a.H)("The ad unit code or Sonobi Placement id for slot ".concat(e.bidId," is invalid"))})),t={};r.forEach((function(e){Object.assign(t,e)}));var s={key_maker:JSON.stringify(t),ref:i.refererInfo.page,s:(0,a.DO)(),pv:f,vp:S(),lib_name:"prebid",lib_v:"7.20.0",us:0},d=i.ortb2;if(d&&(s.fpd=JSON.stringify(d)),c.vc.getConfig("userSync")&&c.vc.getConfig("userSync").syncsPerBidder&&(s.us=c.vc.getConfig("userSync").syncsPerBidder),p.k_.canBidderRegisterSync("iframe",l)?s.ius=1:s.ius=0,(0,o.Z)(e[0],"params.hfa")&&(s.hfa=(0,o.Z)(e[0],"params.hfa")),e[0].params.referrer&&(s.ref=e[0].params.referrer),i&&i.gdprConsent&&(s.gdpr=i.gdprConsent.gdprApplies?"true":"false",i.gdprConsent.consentString&&(s.consent_string=i.gdprConsent.consentString)),e[0].schain&&(s.schain=JSON.stringify(e[0].schain)),(0,o.Z)(e[0],"userId")&&Object.keys(e[0].userId).length>0){var u=(0,a.I8)(e[0].userId);u.id5id&&(u.id5id=(0,o.Z)(u,"id5id.uid")),s.userid=JSON.stringify(u)}var v=(0,o.Z)(e[0],"userIdAsEids");Array.isArray(v)&&v.length>0&&(s.eids=JSON.stringify(v));var m=e[0].params.keywords;if(m&&(s.kw=m),i&&i.uspConsent&&(s.us_privacy=i.uspConsent),!0===c.vc.getConfig("coppa")?s.coppa=1:s.coppa=0,(0,a.xb)(t))return null;var _="https://apex.go.sonobi.com/trinity.json";return(0,o.Z)(e[0],"params.bid_request_url")&&(_=(0,o.Z)(e[0],"params.bid_request_url")),{method:"GET",url:_,withCredentials:!0,data:s,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 d=r.slots[e],c=e.split("|").slice(-1)[0],p=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"===d.sbi_ct&&(l="video","outstream"===(0,o.Z)(p,"mediaTypes.video.context")&&(l="outstream"));var f=_(l,s);if(d.sbi_aid&&d.sbi_mouse&&d.sbi_size){var m=d.sbi_size.split("x"),b=(0,t.Z)(m,2),y=b[0],g=void 0===y?1:y,h=b[1],Z=void 0===h?1:h,S=[];d.sbi_adomain&&(S=[d.sbi_adomain]);var C={requestId:c,cpm:Number(d.sbi_mouse),width:Number(g),height:Number(Z),ad:f(r.sbi_dc,d.sbi_aid),ttl:500,creativeId:d.sbi_crid||d.sbi_aid,aid:d.sbi_aid,netRevenue:!0,currency:"USD",meta:{advertiserDomains:S}};if(d.sbi_dozer&&(C.dealId=d.sbi_dozer),"video"===l)C.mediaType="video",C.vastUrl=f(r.sbi_dc,d.sbi_aid),delete C.ad,delete C.width,delete C.height;else if("outstream"===l&&p){delete C.ad,C.mediaType="video",C.vastUrl=f(r.sbi_dc,d.sbi_aid),C.renderer=function(e,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=u.Th.install({id:i.aid,url:v,config:r,loaded:!1,adUnitCode:e});try{t.setRender(T)}catch(e){(0,a.yN)("Prebid Error calling setRender on renderer",e)}return t.setEventHandlers({impression:function(){return(0,a.ji)("Sonobi outstream video impression event")},loaded:function(){return(0,a.ji)("Sonobi outstream video loaded event")},ended:function(){(0,a.ji)("Sonobi outstream renderer video event")}}),t}(p.adUnitCode,C,(0,o.Z)(p,"renderer.options"));var j=(0,o.Z)(p,"params.sizes");Array.isArray(j)&&Array.isArray(j[0])&&(j=j[0]),j&&(C.width=j[0],C.height=j[1])}n.push(C)}})),n},getUserSyncs:function(e,i,r,t){var n=[];try{e.pixelEnabled&&i[0].body.sbi_px.forEach((function(e){n.push({type:e.type,url:e.url})}))}catch(e){}return n}};function b(e){return(0,o.Z)(e,"mediaTypes.video")?"":e.params.sizes?(0,a.sF)(e.params.sizes).join(","):(0,o.Z)(e,"mediaTypes.banner.sizes")?(0,a.sF)((0,o.Z)(e,"mediaTypes.banner.sizes")).join(","):e.sizes?(0,a.sF)(e.sizes).join(","):void 0}function y(e){var i=function(e){if(!(0,a.LQ)(e.getFloor))return e.params.floor?e.params.floor:null;var i=e.getFloor({currency:"USD",mediaType:"*",size:"*"});if((0,a.PO)(i)&&!isNaN(i.floor)&&"USD"===i.currency)return i.floor;return""}(e);return i?"f=".concat(i,","):""}function g(e){var i=(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot")||(0,o.Z)((0,a.ky)(e.adUnitCode),"gptSlot")||e.params.ad_unit;return i?"gpid=".concat(i,","):""}function h(e){var i="";return"video"===e?i="c=v,":"display"===e&&(i="c=d,"),i}var _=function(e,i){return function(r,t){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,t,i):'<script type="text/javascript" src="'+"https://".concat(r,"apex.go.sonobi.com/sbi.js?aid=").concat(t,"&as=null&ref=").concat(encodeURIComponent(i))+'"><\/script>'}};var Z=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 S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,i=Z(e),r={lt:768},t={lt:992,ge:768};return i(0,r.lt)?"mobile":i(t.ge,t.lt)?"tablet":"desktop"}function T(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,s.dX)(m),window.pbjs.installedModules.push("sonobiBidAdapter")}},function(e){var i;i=1415,e(e.s=i)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[771],{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.20.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.DeviceID&&(r=e.DeviceID.join(",")),r},getUidExt:function(e){return"DeviceID"}},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:"amxrtb.com",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("ftrackId"===t){var n={atype:1,id:(e.ftrackId.DeviceID||[]).join("|"),ext:{}};for(var i in e.ftrackId)n.ext[i]=(e.ftrackId[i]||[]).join("|");r.push(n)}else if(Array.isArray(e[t]))e[t].forEach((function(e,n,i){var o=a(e,t);o&&r.push(o)}));else{var o=a(e[t],t);o&&r.push(o)}};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){var r;r=272,e(e.s=r)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[29],{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=12,f=11,g=0,v=22,I="_tfpvi",l=(0,d.df)({gvlid:132,bidderCode:c}),m={code:c,gvlid:132,supportedMediaTypes:["video","banner"],isBidRequestValid:function(e){var t=!1;if(void 0!==e.params){var r=S((0,i.NA)(e.params,"placementId")),n=S((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(h),i=p(p({referrer:y(t),pageReferrer:document.referrer,networkBandwidth:(r=window.navigator,r&&r.connection&&r.connection.downlink>=0?r.connection.downlink.toString():""),timeToFirstByte:b(window),data:n,deviceWidth:screen.width,hb_version:"7.20.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(){if(!l.cookiesAreEnabled())return{};var e=l.getCookie(I);return e?{firstPartyCookieTeadsId:e}:{}}());e[0].schain&&(i.schain=e[0].schain);var o=t.gdprConsent;if(t&&o){var d="boolean"==typeof o.gdprApplies,s="string"==typeof o.consentString,c=d?function(e,t){var r=u;e?t&&!t.isServiceSpecific&&(r=f):r=g;return r}(o.gdprApplies,o.vendorData):v;i.gdpr_iab={consent:s?o.consentString:"",status:c,apiVersion:o.apiVersion}}return t&&t.uspConsent&&(i.us_privacy=t.uspConsent),{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 y(e){var t="";return e&&e.refererInfo&&e.refererInfo.page&&(t=e.refererInfo.page),t}function b(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 h(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 S(e){return parseInt(e)>0}(0,o.dX)(m),window.pbjs.installedModules.push("teadsBidAdapter")}},function(e){var t;t=6401,e(e.s=t)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[152],{8516:function(t,n,e){var i=e(4358),r=e(5339),o=e(5164),a="trion",d=(0,o.df)({bidderCode:a}),s={code:a,isBidRequestValid:function(t){return!!(t&&t.params&&t.params.pubId&&t.params.sectionId)},buildRequests:function(t,n){for(var e=[],i=0;i<t.length;i++){var r=t[i],o=u(r,n);e.push({method:"GET",url:"https://in-appadvertising.com/api/bidRequest",bidRequest:r,data:o})}return e},interpretResponse:function(t,n){var e={},i=[],r=n.bidRequest,o=t?t.body:{};if(o&&o.bidId&&r){var a=o.result;if(a&&a.cpm&&a.placeBid&&a.ad){var d=parseInt(a.cpm,10)/100;e.requestId=r.bidId,e.cpm=d,e.ad=a.ad,e.width=a.width,e.height=a.height,e.ttl=a.ttl,e.creativeId=a.creativeId,e.currency=a.currency,e.netRevenue=a.netRevenue,a.adomain&&(e.meta={advertiserDomains:a.adomain}),i.push(e)}}return i},getUserSyncs:function(t,n,e,i){if(t.iframeEnabled)return function(){try{window.addEventListener&&window.addEventListener("message",f)}catch(t){}}(),[{type:"iframe",url:c(e,i)}]}};function c(t,n){var e=(l("_trion_lps")||":").split(":")||[],i=e[0]||-1,r=e[1]||-1,o=p(),a="";return t&&(t.consentString&&(a+="&gc="+encodeURIComponent(t.consentString)),a+="&g="+(t.gdprApplies?1:0)),n&&(a="&up="+encodeURIComponent(n)),"https://in-appadvertising.com/api/userSync.html"+"?p=".concat(i,"&s=").concat(r).concat(a,"&u=").concat(o)}function p(){var t="";try{if(window.top==window)t=window.location.href;else try{t=window.top.location.href}catch(n){t=document.referrer}}catch(t){}return t}function u(t,n){var e=(0,i.An)("pubId",t.params),r=(0,i.An)("sectionId",t.params),o=p(),a=function(t){return t.mediaTypes&&t.mediaTypes.banner&&t.mediaTypes.banner.sizes?t.mediaTypes.banner.sizes:t.sizes}(t),d=(0,i.sF)(a).join(","),s=navigator&&navigator.webdriver?"1":"0",c=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=l("_trion_int_t")),f&&m("_trion_int_t",f),m("_trion_lps",e+":"+r);var h="";if(h=(0,i.t0)(h,"bidId",t.bidId),h=(0,i.t0)(h,"pubId",e),h=(0,i.t0)(h,"sectionId",r),h=(0,i.t0)(h,"vers","7.20.0"),o&&(h+="url="+o+"&"),d&&(h+="sizes="+d+"&"),f&&(h=(0,i.t0)(h,"int_t",encodeURIComponent(f))),h=(0,i.t0)(h,"tr_wd",s),h=(0,i.t0)(h,"tr_hd",c),h=(0,i.t0)(h,"tr_vs",u),n&&n.gdprConsent){var v=n.gdprConsent;v&&(v.consentString&&(h=(0,i.t0)(h,"gdprc",encodeURIComponent(v.consentString))),h=(0,i.t0)(h,"gdpr",v.gdprApplies?1:0))}return n&&n.uspConsent&&(h=(0,i.t0)(h,"usp",encodeURIComponent(n.uspConsent))),h.lastIndexOf("&")===h.length-1&&(h=h.substring(0,h.length-1)),h}function l(t){var n=null;try{d.hasLocalStorage()&&(n=d.getDataFromLocalStorage(t))}catch(t){}return n}function m(t,n){try{d.hasLocalStorage()&&d.setDataInLocalStorage(t,n)}catch(t){}}function f(t){var n=t.data||"";if(n.indexOf&&n.split&&0===n.indexOf("_trion_userId")){var e=n.split("_trion_userId=")[1];e&&m("_trion_int_t",e)}}(0,r.dX)(s),window.pbjs.installedModules.push("trionBidAdapter")}},function(t){var n;n=8516,t(t.s=n)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[599],{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=!0,v=null,b=(0,s.df)({gvlid:28,bidderCode:f}),g={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=e[0].schain,i=function(e){var t={},r={},n={},i=e.ortb2||{},o=function(){var e=b.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)}}j(r,u),j(n,c),(0,a.xb)(r)||(t.context=r);(0,a.xb)(n)||(t.user=n);return t}(t);r.imp=e.map((function(e,t){var r={id:t,tagid:e.params.inventoryCode,floor:O(e)};return y(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&&!h(e)&&(r.banner={format:_(e.sizes)}),(0,a.xb)(e.ortb2Imp)||(r.fpd=function(e){var t={},r={};j(r,e.ext),(0,a.xb)(r)||(t.context=r);return t}(e.ortb2Imp)),r}));var u=[].concat((0,o.Z)((c=[e[0]],w(c,"tdid","adserver.org","TDID"))),(0,o.Z)(function(e){return w(e,"idl_env","liveramp.com","idl")}([e[0]])),(0,o.Z)(function(e){return w(e,"criteoId","criteo.com","criteoId")}([e[0]])),(0,o.Z)(function(e){return w(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 c;u.length>0&&(r.user={ext:{eids:u}});var d=function(e,t){var r={};(0,a.xb)(e)||(r.schain=l({},e));(0,a.xb)(t)||(r.fpd=l({},t));return r}(n,i);(0,a.xb)(d)||(r.ext=d);return r}(e,t);if(r=(0,a.t0)(r,"lib","prebid"),r=(0,a.t0)(r,"v","7.20.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&&(m=t.gdprConsent.gdprApplies,r=(0,a.t0)(r,"gdpr",m.toString())),void 0!==t.gdprConsent.consentString&&(v=t.gdprConsent.consentString,r=(0,a.t0)(r,"cmp_cs",v))),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:300,tl_source:t.tl_source,meta:{}},y(u)&&"video"===t.media_type&&(r.vastXml=t.ad,r.mediaType="video",r.ttl=3600),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&&(y(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!==v&&(o=(0,a.t0)(o,"gdpr",m),o=(0,a.t0)(o,"cmp_cs",v)),n&&(o=(0,a.t0)(o,"us_privacy",n)),[{type:i,url:o}]}}};function y(e){return x(e)&&(h(e)||function(e){return x(e)&&"outstream"===e.mediaTypes.video.context.toLowerCase()}(e))}function h(e){return x(e)&&"instream"===e.mediaTypes.video.context.toLowerCase()}function x(e){return e.mediaTypes.video&&e.mediaTypes.video.context}function O(e){var t=null;if("function"==typeof e.getFloor)try{var r=e.getFloor({currency:"USD",mediaType:y(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 j(e,t){(0,a.xb)(t)||Object.keys(t).forEach((function(r){null!=t[r]&&(e[r]=t[r])}))}function w(e,t,r,n){return e.map(function(e){return function(t){return t&&t.userId&&t.userId[e]}}(t)).filter(T(t)).map(function(e,t){return function(r){return{source:e,uids:[{id:r.id?r.id:r,ext:{rtiPartner:t}}]}}}(r,n))}var T=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 _(e){return e.filter(I).map((function(e){return{w:e[0],h:e[1]}}))}function I(e){return 2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]}(0,c.dX)(g),window.pbjs.installedModules.push("tripleliftBidAdapter")}},function(e){var t;t=789,e(e.s=t)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[433],{8816:function(e,n,i){var a=i(4358),d=i(2797),o=i(5164),r="uid2",t="__uid2_advertising_token";var u,l=(0,o.df)({gvlid:887,moduleName:r}),s=(u="UID2: ",function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];a.PN.apply(void 0,[u+" "].concat(n))});var v={name:r,gvlid:887,decode:function(e){return e?function(e){var n={};if(e){var i={id:e};return n.uid2=i,s("Decoded value "+JSON.stringify(n)),n}}(e):void 0},getId:function(e,n){s("Creating UID 2.0");var i=(l.cookiesAreEnabled()?l.getCookie(t):null)||(l.localStorageIsEnabled()?l.getDataFromLocalStorage(t):null);return s("The advertising token: "+i),{id:i}}};(0,d.Bx)("userId",v),window.pbjs.installedModules.push("uid2IdSystem")}},function(e){var n;n=8816,e(e.s=n)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[39],{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]:{},r=e.body,n=[],t=!r||!r.bids;return t?n:y(r.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){var r;r=3806,e(e.s=r)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[215],{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.DeviceID&&(n=e.DeviceID.join(",")),n},getUidExt:function(e){return"DeviceID"}},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:"amxrtb.com",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("ftrackId"===t){var r={atype:1,id:(e.ftrackId.DeviceID||[]).join("|"),ext:{}};for(var o in e.ftrackId)r.ext[o]=(e.ftrackId[o]||[]).join("|");n.push(r)}else if(Array.isArray(e[t]))e[t].forEach((function(e,r,o){var i=a(e,t);i&&n.push(i)}));else{var i=a(e[t],t);i&&n.push(i)}};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=t(1002),d=t(4614),f=t(3193),l=t(2021),g=t(8640),p=t(3092),m=t(5644),y=t(2797),v=t(4192),h=t(5164),b=t(4358),I=t(265),k=(0,y.z3)("sync",(function(){})),w=t(8792),O=t(7673),j=t(9128),E="User ID",D="cookie",S="html5",x="_pbjs_userid_consent_data",P=30,A="_pbjs_id_optout",C=(0,h.eA)("userid"),U=!1,N=[],L=[],T=[],V=function(){return null==u&&(u=(0,j.V6)()),u};function _(e){return V().fork().renameWith((function(n){return["userId.mod.".concat(n),"userId.mods.".concat(e,".").concat(n)]}))}function H(e,n){var t=e.config.storage,r="function"==typeof e.submodule.domainOverride?e.submodule.domainOverride():null;try{var o=(0,b.PO)(n)?JSON.stringify(n):n,i=new Date(Date.now()+864e5*t.expires).toUTCString();t.type===D?(C.setCookie(t.name,o,i,"Lax",r),"number"==typeof t.refreshInSeconds&&C.setCookie("".concat(t.name,"_last"),(new Date).toUTCString(),i,"Lax",r)):t.type===S&&(C.setDataInLocalStorage("".concat(t.name,"_exp"),i),C.setDataInLocalStorage(t.name,encodeURIComponent(o)),"number"==typeof t.refreshInSeconds&&C.setDataInLocalStorage("".concat(t.name,"_last"),(new Date).toUTCString()))}catch(e){(0,b.H)(e)}}function R(e){var n=(0,b.EE)().setEidPermissions;"function"==typeof n&&(0,b.kJ)(e)&&n((0,v.Pv)(e))}function Z(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===D)n=C.getCookie(r);else if(e.type===S){var o=C.getDataFromLocalStorage("".concat(e.name,"_exp"));""===o?n=C.getDataFromLocalStorage(r):o&&new Date(o).getTime()-Date.now()>0&&(n=decodeURIComponent(C.getDataFromLocalStorage(r)))}"string"==typeof n&&"{"===n.trim().charAt(0)&&(n=JSON.parse(n))}catch(e){(0,b.H)(e)}return n}function Q(e){var n={consentString:"",gdprApplies:!1,apiVersion:0};return e&&(n.consentString=e.consentString,n.gdprApplies=e.gdprApplies,n.apiVersion=e.apiVersion),(0,b._R)(JSON.stringify(n))}function q(e){try{var n=new Date(Date.now()+864e5*P).toUTCString();C.setCookie(x,Q(e),n,"Lax")}catch(e){(0,b.H)(e)}}function F(){try{return C.getCookie(x)}catch(e){(0,b.H)(e)}}function J(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.hostname;if(!C.cookiesAreEnabled())return e;var n,t,r=e.split(".");if(2==r.length)return e;var o=-2,i="_rdc".concat(Date.now()),a="writeable";do{n=r.slice(o).join(".");var c=new Date((0,b.AB)()+1e4).toUTCString();C.setCookie(i,a,c,"Lax",n,void 0);var u=C.getCookie(i,void 0);u===a?(t=!1,C.setCookie(i,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,n,void 0)):(o+=-1,t=Math.abs(o)<=r.length)}while(t);return n}function z(e,n){n=V().fork().startTiming("userId.callbacks.total").stopBefore(n);var t=(0,b.yx)((function(){clearTimeout(undefined),n()}),e.length);e.forEach((function(e){var n=_(e.submodule.name).startTiming("callback").stopBefore(t);try{e.callback((function(t){t?(e.config.storage&&H(e,t),e.idObj=e.submodule.decode(t,e.config),ue(e.idObj)):(0,b.PN)("".concat(E,": ").concat(e.submodule.name," - request id responded with an empty value")),n()}))}catch(t){(0,b.H)("Error in userID module '".concat(e.submodule.name,"':"),t),n()}e.callback=void 0}))}function B(e,n){[e].some((function(e){return!Array.isArray(e)||!e.length}))||e.forEach((function(e){e.bids&&(0,b.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,b.kJ)(e.config.bidders)||(0,d.q9)(e.config.bidders,n)})).filter((function(e){return(0,b.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,v.HQ)(t))}))}))}var G,M={};function W(){var e,n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.delay,c=void 0===a?w.Z.timeout:a,u=(0,w.P)(),s=(0,w.P)(),d=!1;function f(t){return n=V().fork(),null!=e&&e.reject(M),e=(0,w.P)(),w.Z.race([t,e.promise]).finally(n.startTiming("userId.total"))}var g=r,v=N;function h(e){return function(){if(g===r&&v===N)return e.apply(void 0,arguments)}}function I(){return p.rp.promise.finally(n.startTiming("userId.init.gdpr"))}var k=f(w.Z.all([y.Cd,u.promise]).then(I).then(h((function(e){se(g,v,e)}))).then((function(){return s.promise.finally(n.startTiming("userId.callbacks.pending"))})).then(h((function(){var e=g.filter((function(e){return(0,b.LQ)(e.callback)}));if(e.length)return new w.Z((function(n){return z(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,a=void 0===r?null:r,p=e.ready,y=void 0!==p&&p;return y&&!d&&(d=!0,u.resolve(),i>0?s.resolve():l.on(m.FP.AUCTION_END,(function e(){l.S1(m.FP.AUCTION_END,e),c(o).then(s.resolve)}))),t&&d&&(k=f(k.catch((function(){return null})).then(I).then(h((function(e){var n=se(g,v.filter((function(e){return null==a||a.includes(e.submodule.name)})),e,!0).filter((function(e){return null!=e.callback}));if(n.length)return new w.Z((function(e){return z(n,e)}))}))))),k}}function K(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$()||[],n=a&&e.find((function(e){return e.source===a}));if(n&&"string"==typeof(0,I.Z)(n,"uids.0.id")){var t=n.uids[0].id.replace(/[\W_]/g,"");if(t.length>=32&&t.length<=150)return t;(0,b.yN)("User ID - Googletag Publisher Provided ID for ".concat(a," is not between 32 and 150 characters - ").concat(t))}}var X=(0,j.g3)("userId",(function(e,n){var t=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o.delay,c=void 0===a?w.Z.timeout:a,u=o.getIds,s=void 0===u?ie:u;w.Z.race([s().catch((function(){return null})),c(i)]).then((function(){B(n.adUnits||(0,g.R)().adUnits,r),V().join((0,j.Bf)(n.metrics),{propagate:!1,includeGroups:!0}),e.call(t,n)}))}));function Y(){return function(e){return Array.isArray(e)&&e.length?e.filter((function(e){return(0,b.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 $(){return(0,v.HQ)(Y())}function ee(e){return(0,v.HQ)(function(e,n){if(!Array.isArray(e)||!e.length)return{};var t=e.filter((function(e){var t;return(0,b.PO)(e.idObj)&&Object.keys(e.idObj).length&&(null===(t=v.UR[Object.keys(e.idObj)[0]])||void 0===t?void 0:t.source)===n}));return(0,b.xb)(t)?[]:t[0].idObj}(r,e))[0]}function ne(e,n,t){return G().then((function(){var r={};if((0,b.LQ)(t)){(0,b.PN)("".concat(E," - Getting encrypted signal from custom function : ").concat(t.name," & source : ").concat(e," "));var o=t(e);r[e]=o?te(o):null}else{var i=ee(e);(0,b.PN)("".concat(E," - Getting encrypted signal for eids :").concat(JSON.stringify(i))),(0,b.xb)(i)||(r[i.source]=!0===n?te(i):i.uids[0].id)}return(0,b.PN)("".concat(E," - Fetching encrypted eids: ").concat(r[e])),r[e]}))}function te(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t="";if(1===n)t="object"===(0,s.Z)(e)?window.btoa(JSON.stringify(e)):window.btoa(e);return"".concat(n,"||").concat(t)}function re(){if((0,b.T9)()){window.googletag.encryptedSignalProviders=window.googletag.encryptedSignalProviders||[];var e=f.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 ne(e,t,r)}})}))}))}),n)}else(0,b.yN)("".concat(E," - ESP : encryptedSignalSources config not defined under userSync Object"))}}function oe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.submoduleNames,t=arguments.length>1?arguments[1]:void 0;return G({refresh:!0,submoduleNames:n}).then((function(){return t&&(0,b.LQ)(t)&&t(),Y()}))}function ie(){return G().then((function(){return Y()}),(function(e){return e===M?Promise.resolve().then(ie):((0,b.H)("Error initializing userId",e),w.Z.reject(e))}))}var ae=(0,y.z3)("sync",(function(e,n){return{userIdModules:e,hasValidated:n&&n.hasValidated}}),"validateGdprEnforcement");function ce(e,n,t,r){if(e.config.storage){var o,i=Z(e.config.storage),a=!1;if("number"==typeof e.config.storage.refreshInSeconds){var c=new Date(Z(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===Q(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,b.PO)(o)&&(o.id&&(H(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,b.PO)(u)&&("function"==typeof u.callback&&(e.callback=u.callback),u.id&&(e.idObj=e.submodule.decode(u.id,e.config)))}ue(e.idObj)}function ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y();if(e&&a){var n=K((0,v.HQ)(e));n&&((0,b.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 se(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return V().fork().measureTime("userId.init.modules",(function(){if(!n.length)return[];var o=le();if(!(n=n.filter((function(e){return!e.config.storage||o.has(e.config.storage.type)}))).length)return(0,b.yN)("".concat(E," - no ID module is configured for one of the available storage types:"),Array.from(o)),[];var i=ae(n,t),a=i.userIdModules;if(!i.hasValidated&&!(0,O.h)(t))return(0,b.yN)("".concat(E," - gdpr permission not valid for local storage or cookies, exit module")),[];var c=F();q(t);var u=a.reduce((function(e,n){return _(n.submodule.name).measureTime("init",(function(){try{ce(n,t,c,r),e.push(n)}catch(e){(0,b.H)("Error in userID module '".concat(n.submodule.name,"':"),e)}return e}))}),[]);return u.length&&R(u),u.forEach(de.bind(null,e)),u}))}function de(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 fe=new Set([S,D]);function le(){var e=[],n=!1;return C.localStorageIsEnabled()&&(e.push(S),C.getDataFromLocalStorage(A)&&((0,b.PN)("".concat(E," - opt-out localStorage found, storage disabled")),n=!0)),C.cookiesAreEnabled()&&(e.push(D),C.getCookie(A)&&((0,b.PN)("".concat(E," - opt-out cookie found, storage disabled")),n=!0)),new Set(n?[]:e)}function ge(){var e=function(e,n){return Array.isArray(e)?e.reduce((function(e,n){return!n||(0,b.jH)(n.name)||(n.storage&&!(0,b.jH)(n.storage.type)&&!(0,b.jH)(n.storage.name)&&fe.has(n.storage.type)||(0,b.PO)(n.value)?e.push(n):n.storage||n.value||e.push(n)),e}),[]):[]}(L);if(e.length){var n=T.filter((function(e){return!(0,d.sE)(N,(function(n){return n.name===e.name}))}));N.splice(0,N.length),n.map((function(n){var t=(0,d.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=J,t?{submodule:n,config:t,callback:void 0,idObj:void 0}:null})).filter((function(e){return null!==e})).forEach((function(e){return N.push(e)})),!U&&N.length&&((0,g.R)().requestBids.before(X,40),k.after((function(e){return e(K())})),(0,b.PN)("".concat(E," - usersync config updated for ").concat(N.length," submodules: "),N.map((function(e){return e.submodule.name}))),U=!0)}}function pe(e){return function(){return Promise.resolve(e.apply(this,arguments))}}!function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.delay,u=void 0===t?w.Z.timeout:t;a=void 0,N=[],L=[],U=!1,r=[],G=W({delay:u}),null!=c&&c(),T=[],c=e.getConfig("userSync",(function(e){var n=e.userSync;a=n.ppid,n&&n.userIds&&(L=n.userIds,o=(0,b.hj)(n.syncDelay)?n.syncDelay:500,i=(0,b.hj)(n.auctionDelay)?n.auctionDelay:0,ge(),G({ready:!0}))})),(0,g.R)().getUserIds=Y,(0,g.R)().getUserIdsAsEids=$,(0,g.R)().getEncryptedEidsForSource=pe(ne),(0,g.R)().registerSignalSources=re,(0,g.R)().refreshUserIds=pe(oe),(0,g.R)().getUserIdsAsync=pe(ie),(0,g.R)().getUserIdsAsEidBySource=ee}(f.vc),(0,y.bA)("userId",(function(e){(0,d.sE)(T,(function(n){return n.name===e.name}))||(T.push(e),ge(),G({refresh:!0,submoduleNames:[e.name]}))})),window.pbjs.installedModules.push("userId")},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){var n;n=2695,e(e.s=n)}]);
(self.pbjsChunk=self.pbjsChunk||[]).push([[547],{1612:function(e,n,t){var i=t(1002),d=t(8928),r=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()}},d=s.replace(a,t.pixelId),r="".concat(t.endpoint||d,"?").concat((0,o.Yp)(i));l.getAjaxFn()(r,n,null,{method:"GET",withCredentials:!0})}}}(0,o.H)("The verizonMediaId submodule requires the 'he' and 'pixelId' parameters to be defined.")},getAjaxFn:function(){return d.h}};(0,r.Bx)("userId",l),window.pbjs.installedModules.push("verizonMediaIdSystem")}},function(e){var n;n=1612,e(e.s=n)}]);
})(),pbjs.processQueue();