static.classistatic.de Open in urlscan Pro
2a04:cb41:f016:1::12  Public Scan

URL: http://static.classistatic.de/adv/js/3422158909prebid.js
Submission: On February 16 via manual from HU — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

/*! For license information please see prebid.js.LICENSE.txt */
(()=>{var __webpack_exports__={};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,t={5706:function(e,t,n){n.d(t,{Pd:function(){return d},Th:function(){return c},_U:function(){return u}});var r=n(5730),i=n(4358),o=n(265),a=n(4614),s="outstream";function c(e){var t=this,n=e.url,c=e.config,d=e.id,u=e.callback,l=e.loaded,f=e.adUnitCode,p=e.renderNow;this.url=n,this.config=c,this.handlers={},this.id=d,this.loaded=l,this.cmd=[],this.push=function(e){"function"==typeof e?t.loaded?e.call():t.cmd.push(e):(0,i.H)("Commands given to Renderer.push must be wrapped in a function")},this.callback=u||function(){t.loaded=!0,t.process()},this.render=function(){var e=this,t=arguments,c=function(){e._render?e._render.apply(e,t):(0,i.yN)("No render function was provided, please use .setRender on the renderer")};!function(e){var t=pbjs.adUnits,n=(0,a.sE)(t,(function(t){return t.code===e}));if(!n)return!1;var r=(0,o.Z)(n,"renderer"),i=!!(r&&r.url&&r.render),s=(0,o.Z)(n,"mediaTypes.video.renderer"),c=!!(s&&s.url&&s.render);return!!(i&&!0!==r.backupOnly||c&&!0!==s.backupOnly)}(f)?p?c():(this.cmd.unshift(c),(0,r.B)(n,s,this.callback,this.documentContext)):((0,i.yN)("External Js not loaded by Renderer since renderer url and callback is already defined on adUnit ".concat(f)),c())}.bind(this)}function d(e){return!(!e||!e.url)}function u(e,t,n){var r=null;e.config&&e.config.documentResolver&&(r=e.config.documentResolver(t,document,n)),r||(r=document),e.documentContext=r,e.render(t,e.documentContext)}c.install=function(e){return new c({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded,adUnitCode:e.adUnitCode,renderNow:e.renderNow})},c.prototype.getConfig=function(){return this.config},c.prototype.setRender=function(e){this._render=e},c.prototype.setEventHandlers=function(e){this.handlers=e},c.prototype.handleVideoEvent=function(e){var t=e.id,n=e.eventName;"function"==typeof this.handlers[n]&&this.handlers[n](),(0,i.ji)("Prebid Renderer event for id ".concat(t," type ").concat(n))},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,t,n){n.d(t,{f:function(){return a}});var r=n(265),i={};function o(e,t,n){var r=function(e,t){var n=i[e]=i[e]||{bidders:{}};return t?n.bidders[t]=n.bidders[t]||{}:n}(e,n);return r[t]=(r[t]||0)+1,r[t]}var a={incrementRequestsCounter:function(e){return o(e,"requestsCounter")},incrementBidderRequestsCounter:function(e,t){return o(e,"requestsCounter",t)},incrementBidderWinsCounter:function(e,t){return o(e,"winsCounter",t)},getRequestsCounter:function(e){return(0,r.Z)(i,"".concat(e,".requestsCounter"))||0},getBidderRequestsCounter:function(e,t){return(0,r.Z)(i,"".concat(e,".bidders.").concat(t,".requestsCounter"))||0},getBidderWinsCounter:function(e,t){return(0,r.Z)(i,"".concat(e,".bidders.").concat(t,".winsCounter"))||0}}},1039:function(e,t,n){n.d(t,{VP:function(){return z},ZP:function(){return V},rp:function(){return Z},uV:function(){return H},TJ:function(){return M},nX:function(){return q}});var r=n(9062),i=n(3324),o=n(4942),a=n(4358),s=n(265),c=n(1002),d=n(3193),u=n(4614),l=n(4679),f=[];function p(e,t){return e.labelAll?{labelAll:!0,labels:e.labelAll,activeLabels:t}:{labelAll:!1,labels:e.labelAny,activeLabels:t}}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.labels,n=void 0===t?[]:t,r=e.labelAll,i=void 0!==r&&r,o=e.activeLabels,c=void 0===o?[]:o,d=arguments.length>1?arguments[1]:void 0,p=arguments.length>2?arguments[2]:void 0,g=v(arguments.length>3&&void 0!==arguments[3]?arguments[3]:f);(0,a.PO)(d)||(d=p?{banner:{sizes:p}}:{});var m=(0,s.Z)(d,"banner.sizes");g.shouldFilter&&m&&((d=(0,a.I8)(d)).banner.sizes=m.filter((function(e){return g.sizesSupported[e]})));var h={active:!d.hasOwnProperty(l.Mk)||(0,s.Z)(d,"banner.sizes.length")>0&&(0===n.length||!i&&(n.some((function(e){return g.labels[e]}))||n.some((function(e){return(0,u.q9)(c,e)})))||i&&n.reduce((function(e,t){return e?g.labels[t]||(0,u.q9)(c,t):e}),!0)),mediaTypes:d};return m&&m.length!==d.banner.sizes.length&&(h.filterResults={before:m,after:d.banner.sizes}),h}function v(e){return e.reduce((function(e,t){if("object"===(0,c.Z)(t)&&"string"==typeof t.mediaQuery&&t.mediaQuery.length>0){var n=!1;try{n=(0,a.Zy)().matchMedia(t.mediaQuery).matches}catch(e){(0,a.yN)("Unfriendly iFrame blocks sizeConfig from being correctly evaluated"),n=matchMedia(t.mediaQuery).matches}n&&(Array.isArray(t.sizesSupported)&&(e.shouldFilter=!0),["labels","sizesSupported"].forEach((function(n){return(t[n]||[]).forEach((function(t){return e[n][t]=!0}))})))}else(0,a.yN)('sizeConfig rule missing required property "mediaQuery"');return e}),{labels:{},sizesSupported:{},shouldFilter:!1})}d.vc.getConfig("sizeConfig",(function(e){return function(e){f=e}(e.sizeConfig)}));var m=n(59),h=n(5339),y=n(8928),b=n(2797),_=n(875),I=n(5102),w=n(4516),E=n(2021),O=n(5644),T=n(9128),C=n(5383);function k(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 x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var A="client",S="server",P={},j=P.bidderRegistry={},D=P.aliasRegistry={},R=[];d.vc.getConfig("s2sConfig",(function(e){e&&e.s2sConfig&&(R=(0,a.kJ)(e.s2sConfig)?e.s2sConfig:[e.s2sConfig])}));var B={},U=(0,b.z3)("sync",(function(e){var t=e.bidderCode,n=e.auctionId,r=e.bidderRequestId,i=e.adUnits,o=e.src,c=e.metrics;return i.reduce((function(e,i){return e.push(i.bids.filter((function(e){return e.bidder===t})).reduce((function(e,t){var d=null==(t=Object.assign({},t,(0,a.iG)(i,["nativeParams","nativeOrtbRequest","ortb2Imp","mediaType","renderer"]))).mediaTypes?i.mediaTypes:t.mediaTypes;return(0,a.FS)(d)?t=Object.assign({},t,{mediaTypes:d}):(0,a.H)("mediaTypes is not correctly configured for adunit ".concat(i.code)),e.push(Object.assign({},t,{adUnitCode:i.code,transactionId:i.transactionId,sizes:(0,s.Z)(d,"banner.sizes")||(0,s.Z)(d,"video.playerSize")||[],bidId:t.bid_id||(0,a._d)(),bidderRequestId:r,auctionId:n,src:o,metrics:c,bidRequestsCount:_.f.getRequestsCounter(i.code),bidderRequestsCount:_.f.getBidderRequestsCounter(i.code,t.bidder),bidderWinsCount:_.f.getBidderWinsCounter(i.code,t.bidder)})),e}),[])),e}),[]).reduce(a.xH,[]).filter((function(e){return""!==e}))}),"getBids"),N=(0,b.z3)("sync",(function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).getS2SBidders;if(null==t)return e;var r=(void 0===n?H:n)(t);return e.filter((function(e){return r.has(e.bidder)}))}),"filterBidsForAdUnit"),Z=new w.iK,q=new w.LO,M=new w.$e,z={getCoppa:function(){return!!d.vc.getConfig("coppa")}},F=(0,b.z3)("sync",(function(e,t){return function(e,t){return e.reduce((function(e,n){var r=g(p(n,t),n.mediaTypes,n.sizes),i=r.active,o=r.mediaTypes,s=r.filterResults;return i?(s&&(0,a.PN)('Size mapping filtered adUnit "'.concat(n.code,'" banner sizes from '),s.before,"to ",s.after),n.mediaTypes=o,n.bids=n.bids.reduce((function(e,r){var i=g(p(r,t),n.mediaTypes),o=i.active,s=i.mediaTypes,c=i.filterResults;return o?(c&&((0,a.PN)('Size mapping filtered adUnit "'.concat(n.code,'" bidder "').concat(r.bidder,'" banner sizes from '),c.before,"to ",c.after),r.mediaTypes=s),e.push(r)):(0,a.PN)('Size mapping deactivated adUnit "'.concat(n.code,'" bidder "').concat(r.bidder,'"')),e}),[]),e.push(n)):(0,a.PN)('Size mapping disabled adUnit "'.concat(n.code,'"')),e}),[])}(e,t)}),"setupAdUnitMediaTypes");function H(e){(0,a.kJ)(e)||(e=[e]);var t=new Set([null]);return e.filter((function(e){return e&&e.enabled})).flatMap((function(e){return e.bidders})).forEach((function(e){return t.add(e)})),t}var L=(0,b.z3)("sync",(function(e,t){var n,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).getS2SBidders,i=(void 0===r?H:r)(t);return(0,a.pP)(e).reduce((function(e,t){return e[i.has(t)?S:A].push(t),e}),(n={},(0,o.Z)(n,A,[]),(0,o.Z)(n,S,[]),n))}),"partitionBidders");function K(e,t){var n=j[e],r=(null==n?void 0:n.getSpec)&&n.getSpec();if(r&&r[t]&&"function"==typeof r[t])return[r,r[t]]}function W(e,t,n,r){try{(0,a.PN)("Invoking ".concat(e,".").concat(t));for(var i=arguments.length,o=new Array(i>4?i-4:0),s=4;s<i;s++)o[s-4]=arguments[s];d.vc.runWithBidder(e,r.bind.apply(r,[n].concat(o)))}catch(n){(0,a.yN)("Error calling ".concat(t," of ").concat(e))}}function J(e,t,n){var i=K(e,t);null!=i&&W.apply(void 0,[e,t].concat((0,r.Z)(i),[n]))}P.makeBidRequests=(0,b.z3)("sync",(function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6?arguments[6]:void 0;s=(0,T.Bf)(s),E.j8(O.FP.BEFORE_REQUEST_BIDS,e),(0,m.Fb)(e),e=F(e,i);var c=L(e,R),l=c.client,f=c.server;d.vc.getConfig("bidderSequence")===d.FD&&(l=(0,a.TV)(l));var p=(0,I.nH)(),g=[],v=o.global||{},h=o.bidder||{};function y(e){var t=Object.freeze((0,a.Ee)({},v,h[e.bidderCode]));return e.ortb2=t,e.bids.forEach((function(e){return e.ortb2=t})),e}R.forEach((function(r){if(r&&r.enabled){var i=function(e,t){var n=(0,a.I8)(e);return n.forEach((function(e){e.bids=N(e.bids,t).map((function(e){return e.bid_id=(0,a._d)(),e}))})),n.filter((function(e){return 0!==e.bids.length}))}(e,r),o=(0,a.DO)();f.forEach((function(e){var c=(0,a._d)(),d=s.fork(),u=y({bidderCode:e,auctionId:n,bidderRequestId:c,uniquePbsTid:o,bids:U({bidderCode:e,auctionId:n,bidderRequestId:c,adUnits:(0,a.I8)(i),src:O.os.YZ,metrics:d}),auctionStart:t,timeout:r.timeout,src:O.os.YZ,refererInfo:p,metrics:d});0!==u.bids.length&&g.push(u)})),i.forEach((function(e){var t=e.bids.filter((function(e){return(0,u.sE)(g,(function(t){return(0,u.sE)(t.bids,(function(t){return t.bidId===e.bid_id}))}))}));e.bids=t})),g.forEach((function(e){void 0===e.adUnitsS2SCopy&&(e.adUnitsS2SCopy=i.filter((function(e){return e.bids.length>0})))}))}}));var b=function(e){var t=(0,a.I8)(e);return t.forEach((function(e){e.bids=N(e.bids,null)})),t.filter((function(e){return 0!==e.bids.length}))}(e);return l.forEach((function(e){var o=(0,a._d)(),c=s.fork(),d=y({bidderCode:e,auctionId:n,bidderRequestId:o,bids:U({bidderCode:e,auctionId:n,bidderRequestId:o,adUnits:(0,a.I8)(b),labels:i,src:"client",metrics:c}),auctionStart:t,timeout:r,refererInfo:p,metrics:c}),u=j[e];u||(0,a.H)("Trying to make a request for bidder that does not exist: ".concat(e)),u&&d.bids&&0!==d.bids.length&&g.push(d)})),g.forEach((function(e){Z.getConsentData()&&(e.gdprConsent=Z.getConsentData()),q.getConsentData()&&(e.uspConsent=q.getConsentData()),M.getConsentData()&&(e.gppConsent=M.getConsentData())})),g.forEach((function(e){d.vc.runWithBidder(e.bidderCode,(function(){var t=d.vc.getConfig("fledgeEnabled");e.fledgeEnabled=navigator.runAdAuction&&t}))})),g}),"makeBidRequests"),P.callBids=function(e,t,n,r,o,s,c){var u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{};if(t.length){var l=t.reduce((function(e,t){return e[Number(void 0!==t.src&&t.src===O.os.YZ)].push(t),e}),[[],[]]),f=(0,i.Z)(l,2),p=f[0],g=f[1],v=[];g.forEach((function(e){for(var t=-1,n=0;n<v.length;++n)if(e.uniquePbsTid===v[n].uniquePbsTid){t=n;break}t<=-1&&v.push(e)}));var m=0;R.forEach((function(e){if(e&&v[m]&&H(e).has(v[m].bidderCode)){var t=(0,y.O)(s,o?{request:o.request.bind(null,"s2s"),done:o.done}:void 0),i=e.bidders,c=j[e.adapter],d=v[m].uniquePbsTid,l=v[m].adUnitsS2SCopy,f=g.filter((function(e){return e.uniquePbsTid===d}));if(c){var p={ad_units:l,s2sConfig:e,ortb2Fragments:u};if(p.ad_units.length){var h=f.map((function(e){return e.start=(0,a.AB)(),r.bind(e)})),b=(0,a.pP)(p.ad_units).filter((function(e){return i.includes(e)}));(0,a.ji)("CALLING S2S HEADER BIDDERS ==== ".concat(b.length>0?b.join(", "):'No bidder specified, using "ortb2Imp" definition(s) only')),f.forEach((function(e){E.j8(O.FP.BID_REQUESTED,x(x({},e),{},{tid:e.auctionId}))})),c.callBids(p,g,n,(function(){return h.forEach((function(e){return e()}))}),t)}}else(0,a.H)("missing "+e.adapter);m++}})),p.forEach((function(e){e.start=(0,a.AB)();var t=j[e.bidderCode];d.vc.runWithBidder(e.bidderCode,(function(){(0,a.ji)("CALLING BIDDER"),E.j8(O.FP.BID_REQUESTED,e)}));var i=(0,y.O)(s,o?{request:o.request.bind(null,e.bidderCode),done:o.done}:void 0),u=r.bind(e);try{d.vc.runWithBidder(e.bidderCode,a.ak.call(t.callBids,t,e,n,u,i,c,d.vc.callbackWithBidder(e.bidderCode)))}catch(t){(0,a.H)("".concat(e.bidderCode," Bid Adapter emitted an uncaught error when parsing their bidRequest"),{e:t,bidRequest:e}),u()}}))}else(0,a.yN)("callBids executed with no bidRequests.  Were they filtered by labels or sizing?")},P.videoAdapters=[],P.registerBidAdapter=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,r=void 0===n?[]:n;e&&t?"function"==typeof e.callBids?(j[t]=e,(0,u.q9)(r,"video")&&P.videoAdapters.push(t),(0,u.q9)(r,"native")&&m.Sg.push(t)):(0,a.H)("Bidder adaptor error for bidder code: "+t+"bidder must implement a callBids() function"):(0,a.H)("bidAdapter or bidderCode not specified")},P.aliasBidAdapter=function(e,t,n){if(void 0===j[t]){var r=j[e];if(void 0===r){var i=[];R.forEach((function(n){if(n.bidders&&n.bidders.length){var r=n&&n.bidders;n&&(0,u.q9)(r,t)?D[t]=e:i.push(e)}})),i.forEach((function(e){(0,a.H)('bidderCode "'+e+'" is not an existing bidder.',"adapterManager.aliasBidAdapter")}))}else try{var o,s=function(e){var t=[];return(0,u.q9)(P.videoAdapters,e)&&t.push("video"),(0,u.q9)(m.Sg,e)&&t.push("native"),t}(e);if(r.constructor.prototype!=Object.prototype)(o=new r.constructor).setBidderCode(t);else{var c=r.getSpec(),d=n&&n.gvlid,l=n&&n.skipPbsAliasing;o=(0,h.PZ)(Object.assign({},c,{code:t,gvlid:d,skipPbsAliasing:l})),D[t]=e}P.registerBidAdapter(o,t,{supportedMediaTypes:s})}catch(t){(0,a.H)(e+" bidder does not currently support aliasing.","adapterManager.aliasBidAdapter")}}else(0,a.ji)('alias name "'+t+'" has been already specified.')},P.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code,r=e.gvlid;t&&n?"function"==typeof t.enableAnalytics?(t.code=n,B[n]={adapter:t,gvlid:r}):(0,a.H)('Prebid Error: Analytics adaptor error for analytics "'.concat(n,'"\n        analytics adapter must implement an enableAnalytics() function')):(0,a.H)("Prebid Error: analyticsAdapter or analyticsCode not specified")},P.enableAnalytics=function(e){(0,a.kJ)(e)||(e=[e]),(0,a.yi)(e,(function(e){var t=B[e.provider];t&&t.adapter?t.adapter.enableAnalytics(e):(0,a.H)("Prebid Error: no analytics adapter found in registry for '".concat(e.provider,"'."))}))},P.getBidAdapter=function(e){return j[e]},P.getAnalyticsAdapter=function(e){return B[e]},P.callTimedOutBidders=function(e,t,n){t=t.map((function(t){return t.params=(0,a.S0)(e,t.adUnitCode,t.bidder),t.timeout=n,t})),t=(0,a.vM)(t,"bidder"),Object.keys(t).forEach((function(e){J(e,"onTimeout",t[e])}))},P.callBidWonBidder=function(e,t,n){t.params=(0,a.S0)(n,t.adUnitCode,t.bidder),_.f.incrementBidderWinsCounter(t.adUnitCode,t.bidder),J(e,"onBidWon",t)},P.callSetTargetingBidder=function(e,t){J(e,"onSetTargeting",t)},P.callBidViewableBidder=function(e,t){J(e,"onBidViewable",t)},P.callBidderError=function(e,t,n){J(e,"onBidderError",{error:t,bidderRequest:n})},P.callDataDeletionRequest=(0,b.z3)("sync",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o="onDataDeletionRequest";Object.keys(j).filter((function(e){return!D.hasOwnProperty(e)})).forEach((function(e){var n=K(e,o);if(null!=n){var i=C.K.getBidsRequested().filter((function(t){return function(e){for(var t=new Set;D.hasOwnProperty(e)&&!t.has(e);)t.add(e),e=D[e];return e}(t.bidderCode)===e}));W.apply(void 0,[e,o].concat((0,r.Z)(n),[i],t))}})),Object.entries(B).forEach((function(e){var n,r=(0,i.Z)(e,2),s=r[0],c=r[1],d=null==c||null===(n=c.adapter)||void 0===n?void 0:n[o];if("function"==typeof d)try{d.apply(c.adapter,t)}catch(e){(0,a.H)("error calling ".concat(o," of ").concat(s),e)}}))}));var V=P},5339:function(e,t,n){n.d(t,{Q1:function(){return P},PZ:function(){return k},dX:function(){return C}});var r=n(3324),i=n(1002);function o(e){var t=e;return{callBids:function(){},setBidderCode:function(e){t=e},getBidderCode:function(){return t}}}var a=n(1039),s=n(3193),c=n(9626),d=n(1974),u=n(59),l=n(154),f=n(5644),p=n(2021),g=n(4614),v=n(8928),m=n(4358),h=n(265),y=n(4679),b=n(2797),_=n(5164),I=n(5383),w=n(5975),E=n(9128),O=(0,_.eA)("bidderFactory"),T=["cpm","ttl","creativeId","netRevenue","currency"];function C(e){var t=Array.isArray(e.supportedMediaTypes)?{supportedMediaTypes:e.supportedMediaTypes}:void 0;function n(e){var n=k(e);a.ZP.registerBidAdapter(n,e.code,t)}n(e),Array.isArray(e.aliases)&&e.aliases.forEach((function(t){var r,i,o=t;(0,m.PO)(t)&&(o=t.code,r=t.gvlid,i=t.skipPbsAliasing),a.ZP.aliasRegistry[o]=e.code,n(Object.assign({},e,{code:o,gvlid:r,skipPbsAliasing:i}))}))}function k(e){return Object.assign(new o(e.code),{getSpec:function(){return Object.freeze(e)},registerSyncs:t,callBids:function(i,o,d,v,h,y){if(Array.isArray(i.bids)){var b={},_=[],O=j(i).measureTime("validate",(function(){return i.bids.filter(n)}));if(0!==O.length){var C={};O.forEach((function(e){C[e.bidId]=e,e.adUnitCode||(e.adUnitCode=e.placementCode)})),x(e,O,i,v,y,{onRequest:function(e){return p.j8(f.FP.BEFORE_BIDDER_HTTP,i,e)},onResponse:function(t){h(e.code),_.push(t)},onFledgeAuctionConfigs:function(e){e.forEach((function(e){var t=C[e.bidId];t&&S(t,e)}))},onError:function(t,n){h(e.code),a.ZP.callBidderError(e.code,n,i),p.j8(f.FP.BIDDER_ERROR,{error:n,bidderRequest:i}),(0,m.H)("Server call for ".concat(e.code," failed: ").concat(t," ").concat(n.status,". Continuing without bids."))},onBid:function(t){var n=C[t.requestId];if(n){if(t.adapterCode=n.bidder,function(e,t){var n=w.S.get(t,"allowAlternateBidderCodes")||!1,r=w.S.get(t,"allowedAlternateBidderCodes");return!!(e&&t&&t!==e&&(r=(0,m.kJ)(r)?r.map((function(e){return e.trim().toLowerCase()})).filter((function(e){return!!e})).filter(m.tT):r,!n||(0,m.kJ)(r)&&"*"!==r[0]&&!r.includes(e)))}(t.bidderCode,n.bidder))return(0,m.yN)("".concat(t.bidderCode," is not a registered partner or known bidder of ").concat(n.bidder,", hence continuing without bid. If you wish to support this bidder, please mark allowAlternateBidderCodes as true in bidderSettings.")),void o.reject(n.adUnitCode,t,f.Gw.Dg);t.originalCpm=t.cpm,t.originalCurrency=t.currency,t.meta=t.meta||Object.assign({},t[n.bidder]);var r=Object.assign((0,c.m)(f.Q_.Q,n),t);k(n.adUnitCode,r)}else(0,m.yN)("Bidder ".concat(e.code," made bid for unknown request ID: ").concat(t.requestId,". Ignoring.")),o.reject(null,t,f.Gw.Gp)},onCompletion:A})}else A()}function k(e,t){var n=(0,E.Bf)(t.metrics);n.checkpoint("addBidResponse"),b[e]=!0,n.measureTime("addBidResponse.validate",(function(){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.index,o=void 0===i?I.K.index:i;function a(){var e=Object.keys(t);return T.every((function(n){return(0,g.q9)(e,n)&&!(0,g.q9)([void 0,null],t[n])}))}function s(e){return"Invalid bid from ".concat(t.bidderCode,". Ignoring bid: ").concat(e)}return e?t?a()?"native"!==t.mediaType||(0,u.r4)(t,{index:o})?"video"!==t.mediaType||(0,l.Dn)(t,{index:o})?!("banner"===t.mediaType&&!function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.index,o=void 0===i?I.K.index:i;if((t.width||0===parseInt(t.width,10))&&(t.height||0===parseInt(t.height,10)))return t.width=parseInt(t.width,10),t.height=parseInt(t.height,10),!0;var a=o.getBidRequest(t),s=o.getMediaTypes(t),c=a&&a.sizes||s&&s.banner&&s.banner.sizes,d=(0,m.sF)(c);if(1===d.length){var u=d[0].split("x"),l=(0,r.Z)(u,2),f=l[0],p=l[1];return t.width=parseInt(f,10),t.height=parseInt(p,10),!0}return!1}(e,t,{index:o})&&((0,m.H)(s("Banner bids require a width and height")),1)):((0,m.H)(s("Video bid does not have required vastUrl or renderer property")),!1):((0,m.H)(s("Native bid missing some required properties.")),!1):((0,m.H)(s("Bidder ".concat(t.bidderCode," is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params."))),!1):((0,m.yN)("Some adapter tried to add an undefined bid for ".concat(e,".")),!1):((0,m.yN)("No adUnitCode was supplied to addBidResponse."),!1)}(e,t)}))?o(e,t):o.reject(e,t,f.Gw.UI)}function A(){d(),s.vc.runWithBidder(e.code,(function(){p.j8(f.FP.BIDDER_DONE,i),t(_,i.gdprConsent,i.uspConsent,i.gppConsent)}))}}});function t(t,n,r,i){A(e,t,n,r,i)}function n(t){return!!e.isBidRequestValid(t)||((0,m.yN)("Invalid bid sent to bidder ".concat(e.code,": ").concat(JSON.stringify(t))),!1)}}var x=(0,b.z3)("sync",(function(e,t,n,r,o,a){var s=a.onRequest,c=a.onResponse,d=a.onFledgeAuctionConfigs,u=a.onError,l=a.onBid,f=a.onCompletion,p=j(n);f=p.startTiming("total").stopBefore(f);var g=p.measureTime("buildRequests",(function(){return e.buildRequests(t,n)}));if(g&&0!==g.length){Array.isArray(g)||(g=[g]);var v=(0,m.yx)(f,g.length);g.forEach((function(t){var n=p.fork();function a(e){null!=e&&(e.metrics=n.fork().renameWith()),l(e)}var f=o((function(r,i){h();try{r=JSON.parse(r)}catch(e){}r={body:r,headers:{get:i.getResponseHeader.bind(i)}},c(r);try{r=n.measureTime("interpretResponse",(function(){return e.interpretResponse(r,t)}))}catch(t){return(0,m.H)("Bidder ".concat(e.code," failed to interpret the server's response. Continuing without bids"),null,t),void v()}var o;r&&(0,m.kJ)(r.fledgeAuctionConfigs)?(d(r.fledgeAuctionConfigs),o=r.bids):o=r,o&&((0,m.kJ)(o)?o.forEach(a):a(o)),v()})),g=o((function(e,t){h(),u(e,t),v()}));s(t);var h=n.startTiming("net");switch(t.method){case"GET":r("".concat(t.url).concat(function(e){return e?"?".concat("object"===(0,i.Z)(e)?(0,m.Re)(e):e):""}(t.data)),{success:f,error:g},void 0,Object.assign({method:"GET",withCredentials:!0},t.options));break;case"POST":r(t.url,{success:f,error:g},"string"==typeof t.data?t.data:JSON.stringify(t.data),Object.assign({method:"POST",contentType:"text/plain",withCredentials:!0},t.options));break;default:(0,m.yN)("Skipping invalid request from ".concat(e.code,". Request type ").concat(t.type," must be GET or POST")),v()}}))}else f()}),"processBidderRequests"),A=(0,b.z3)("async",(function(e,t,n,r,i){var o=s.vc.getConfig("userSync.aliasSyncEnabled");if(e.getUserSyncs&&(o||!a.ZP.aliasRegistry[e.code])){var c=s.vc.getConfig("userSync.filterSettings"),u=e.getUserSyncs({iframeEnabled:!(!c||!c.iframe&&!c.all),pixelEnabled:!(!c||!c.image&&!c.all)},t,n,r,i);u&&(Array.isArray(u)||(u=[u]),u.forEach((function(t){d.k_.registerSync(t.type,e.code,t.url)})))}}),"registerSyncs"),S=(0,b.z3)("sync",(function(e,t){(0,m.PN)("bidderFactory.addComponentAuction",t)}),"addComponentAuction");function P(e,t){var n=a.ZP.getBidAdapter(e);if(n.getSpec().getMappingFileInfo){var r=n.getSpec().getMappingFileInfo(),i=r.localStorageKey?r.localStorageKey:n.getBidderCode(),o=O.getDataFromLocalStorage(i);if(o){try{o=JSON.parse(o)}catch(t){(0,m.H)("Failed to parse ".concat(e," mapping data stored in local storage"))}return o.mapping[t]?o.mapping[t]:null}}}function j(e){return(0,E.Bf)(e.metrics).renameWith((function(t){return["adapter.client.".concat(t),"adapters.client.".concat(e.bidderCode,".").concat(t)]}))}(0,b.v5)("checkAdUnitSetup").before((function(e,t){if(!s.vc.getConfig("adpod.brandCategoryExclusion"))return e.call(this,t);t.filter((function(e){return(0,h.Z)(e,"mediaTypes.video.context")===y.Oh})).map((function(e){return e.bids.map((function(e){return e.bidder}))})).reduce(m.xH,[]).filter(m.tT).forEach((function(e){var t=a.ZP.getBidAdapter(e);if(t.getSpec().getMappingFileInfo){var n=t.getSpec().getMappingFileInfo(),r=n.refreshInDays?n.refreshInDays:1,i=n.localStorageKey?n.localStorageKey:t.getSpec().code,o=O.getDataFromLocalStorage(i);try{(!(o=o?JSON.parse(o):void 0)||(0,m.AB)()>o.lastUpdated+24*r*60*60*1e3)&&(0,v.h)(n.url,{success:function(t){try{t=JSON.parse(t);var n={lastUpdated:(0,m.AB)(),mapping:t.mapping};O.setDataInLocalStorage(i,JSON.stringify(n))}catch(t){(0,m.H)("Failed to parse ".concat(e," bidder translation mapping file"))}},error:function(){(0,m.H)("Failed to load ".concat(e," bidder translation file"))}})}catch(t){(0,m.H)("Failed to parse ".concat(e," bidder translation mapping file"))}}})),e.call(this,t)}))},5730:function(e,t,n){n.d(t,{B:function(){return s}});var r=n(4614),i=n(4358),o=new WeakMap,a=["debugging","adloox","criteo","outstream","adagio","spotx","browsi","brandmetrics","justtag","tncId","akamaidap","ftrackId","inskin","hadron","medianet","improvedigital","aaxBlockmeter","confiant","arcspan"];function s(e,t,n,s,c){if(t&&e){if((0,r.q9)(a,t)){s||(s=document);var d=f(s,e);if(d)return n&&"function"==typeof n&&(d.loaded?n():d.callbacks.push(n)),d.tag;var u=o.get(s)||{},l={loaded:!1,tag:null,callbacks:[]};return u[e]=l,o.set(s,u),n&&"function"==typeof n&&l.callbacks.push(n),(0,i.yN)("module ".concat(t," is loading external JavaScript")),function(t,n,r,o){r||(r=document);var a=r.createElement("script");a.type="text/javascript",a.async=!0;var s=f(r,e);return s&&(s.tag=a),a.readyState?a.onreadystatechange=function(){"loaded"!==a.readyState&&"complete"!==a.readyState||(a.onreadystatechange=null,n())}:a.onload=function(){n()},a.src=t,o&&(0,i.D9)(a,o),(0,i.jC)(a,r),a}(e,(function(){l.loaded=!0;try{for(var e=0;e<l.callbacks.length;e++)l.callbacks[e]()}catch(e){(0,i.H)("Error executing callback","adloader.js:loadExternalScript",e)}}),s,c)}(0,i.H)("".concat(t," not whitelisted for loading external JavaScript"))}else(0,i.H)("cannot load external script without url and moduleCode");function f(e,t){var n=o.get(e);return n&&n[t]?n[t]:null}}},8928:function(e,t,n){n.d(t,{O:function(){return s},h:function(){return a}});var r=n(1002),i=n(3193),o=n(4358),a=s();function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.request,a=t.done;return function(t,s,c){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var u,l=d.method||(c?"POST":"GET"),f=document.createElement("a");f.href=t;var p="object"===(0,r.Z)(s)&&null!==s?s:{success:function(){(0,o.ji)("xhr success")},error:function(e){(0,o.H)("xhr error",null,e)}};if("function"==typeof s&&(p.success=s),(u=new window.XMLHttpRequest).onreadystatechange=function(){if(4===u.readyState){"function"==typeof a&&a(f.origin);var e=u.status;e>=200&&e<300||304===e?p.success(u.responseText,u):p.error(u.statusText,u)}},i.vc.getConfig("disableAjaxTimeout")||(u.ontimeout=function(){(0,o.H)("  xhr timeout after ",u.timeout,"ms")}),"GET"===l&&c){var g=(0,o.en)(t,d);Object.assign(g.search,c),t=(0,o.Q2)(g)}u.open(l,t,!0),i.vc.getConfig("disableAjaxTimeout")||(u.timeout=e),d.withCredentials&&(u.withCredentials=!0),(0,o.yi)(d.customHeaders,(function(e,t){u.setRequestHeader(t,e)})),d.preflight&&u.setRequestHeader("X-Requested-With","XMLHttpRequest"),u.setRequestHeader("Content-Type",d.contentType||"text/plain"),"function"==typeof n&&n(f.origin),"POST"===l&&c?u.send(c):u.send()}catch(e){(0,o.H)("xhr construction",e),"object"===(0,r.Z)(s)&&null!==s&&s.error(e)}}}},5383:function(e,t,n){n.d(t,{K:function(){return V}});var r=n(4358),i=n(3324),o=n(1002),a=n(265),s=n(6463),c=n(59),d=n(8928),u=n(3193);function l(e){var t,n,r,i=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,o=void 0===i?V.index:i,a=e.vastXml?e.vastXml:(t=e.vastUrl,r=(n=e.vastImpUrl)?"<![CDATA[".concat(n,"]]>"):"",'<VAST version="3.0">\n    <Ad>\n      <Wrapper>\n        <AdSystem>prebid.org wrapper</AdSystem>\n        <VASTAdTagURI><![CDATA['.concat(t,"]]></VASTAdTagURI>\n        <Impression>").concat(r,"</Impression>\n        <Creatives></Creatives>\n      </Wrapper>\n    </Ad>\n  </VAST>")),s=o.getAuction(e),c={type:"xml",value:a,ttlseconds:Number(e.ttl)+15};return u.vc.getConfig("cache.vasttrack")&&(c.bidder=e.bidder,c.bidid=e.requestId,c.aid=e.auctionId),null!=s&&(c.timestamp=s.getAuctionStart()),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(c.key=e.customCacheKey),c}var f=n(5706),p=n(1974),g=n(2797),v=n(4614),m=n(154),h=n(4679),y=n(5975),b=n(2021),_=n(1039),I=n(5644),w=n(8792),E=n(9128),O=n(9626),T=p.k_.syncUsers,C="completed";b.on(I.FP.BID_ADJUSTMENT,(function(e){!function(e){var t=e.bidderCode,n=e.cpm,i=y.S.get(t||null,"bidCpmAdjustment");if(i&&"function"==typeof i)try{n=i(e.cpm,Object.assign({},e))}catch(e){(0,r.H)("Error during bid adjustment","bidmanager.js",e)}n>=0&&(e.cpm=n)}(e)}));var k={},x={},A=[],S=(0,g.z3)("sync",(function(e,t,n){this.dispatch.call(null,e,t)}),"addBidResponse"),P=(0,g.z3)("sync",(function(e){this.dispatch.call(this.context,e)}),"addBidderRequests"),j=(0,g.z3)("async",(function(e,t){t&&t()}),"bidsBackCallback");function D(e,t){t.timeToRespond>e.getTimeout()+u.vc.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function R(e,t){!function(e){var t,n=!0===y.S.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0;e.bidderCode&&(n||e.dealId)&&(t=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.index,i=void 0===r?V.index:r;if(!t)return{};var o=i.getBidRequest(t),a={},s=L(t.mediaType,e);return K(a,s,t,o),e&&y.S.getOwn(e,I.k2.xn)&&(K(a,y.S.ownSettingsFor(e),t,o),t.sendStandardTargeting=y.S.get(e,"sendStandardTargeting")),t.native&&(a=Object.assign({},a,(0,c.Ur)(t))),a}(e.bidderCode,e)),e.adserverTargeting=Object.assign(e.adserverTargeting||{},t)}(t),(0,E.Bf)(t.metrics).timeSince("addBidResponse","addBidResponse.total"),b.j8(I.FP.BID_RESPONSE,t),e.addBidReceived(t),D(e,t)}var B,U,N=function(e){var t,n,r=null===(t=V.index.getAdUnit(e))||void 0===t?void 0:t.nativeOrtbRequest,i=null===(n=e.native)||void 0===n?void 0:n.ortb;if(r&&i){var o=(0,c.zq)(i,r);Object.assign(e.native,o)}},Z=function(e){!function(e,t){var n={puts:e.map(l)};(0,d.h)(u.vc.getConfig("cache.url"),function(e){return{success:function(t){var n;try{n=JSON.parse(t).responses}catch(t){return void e(t,[])}n?e(null,n):e(new Error("The cache server didn't respond with a responses property."),[])},error:function(t,n){e(new Error("Error storing video ad in the cache: ".concat(t,": ").concat(JSON.stringify(n))),[])}}}(t),JSON.stringify(n),{contentType:"text/plain",withCredentials:!0})}(e.map((function(e){return e.bidResponse})),(function(t,n){n.forEach((function(n,i){var o,a=e[i],s=a.auctionInstance,c=a.bidResponse,d=a.afterBidAdded;t?((0,r.yN)("Failed to save to the video cache: ".concat(t,". Video bid must be discarded.")),D(s,c)):""===n.uuid?((0,r.yN)("Supplied video cache key was already in use by Prebid Cache; caching attempt was rejected. Video bid must be discarded."),D(s,c)):(c.videoCacheKey=n.uuid,c.vastUrl||(c.vastUrl=(o=c.videoCacheKey,"".concat(u.vc.getConfig("cache.url"),"?uuid=").concat(o))),R(s,c),d())}))}))};u.vc.getConfig("cache",(function(e){B="number"==typeof e.cache.batchSize&&e.cache.batchSize>0?e.cache.batchSize:1,U="number"==typeof e.cache.batchTimeout&&e.cache.batchTimeout>0?e.cache.batchTimeout:0}));var q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:setTimeout,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z,n=[[]],r=!1,i=function(e){return e()};return function(o,a,s){var c=U>0?e:i;n[n.length-1].length>=B&&n.push([]),n[n.length-1].push({auctionInstance:o,bidResponse:a,afterBidAdded:s}),r||(r=!0,c((function(){n.forEach(t),n=[[]],r=!1}),U))}}(),M=(0,g.z3)("async",(function(e,t,n,r){q(e,t,n)}),"callPrebidCache");function z(e,t,n){if(e&&n){if(e===h.pX){var r=(0,a.Z)(t,"".concat(h.pX,".context"),"instream");if(n["".concat(h.pX,"-").concat(r)])return n["".concat(h.pX,"-").concat(r)]}return n[e]}}var F=function(e){return function(t){var n=e||function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,n=void 0===t?V.index:t,r=z(e.mediaType,n.getMediaTypes(e),u.vc.getConfig("mediaTypePriceGranularity"));return"string"==typeof e.mediaType&&r?"string"==typeof r?r:"custom":u.vc.getConfig("priceGranularity")}(t);return n===I.Ql.B7?t.pbAg:n===I.Ql.uN?t.pbDg:n===I.Ql.yE?t.pbLg:n===I.Ql.M2?t.pbMg:n===I.Ql.lj?t.pbHg:n===I.Ql.qN?t.pbCg:void 0}};function H(e,t){return{key:e,val:"function"==typeof t?function(e,n){return t(e,n)}:function(e){return(0,r.NA)(e,t)}}}function L(e,t){var n=I.TD,i=Object.assign({},y.S.settingsFor(null));if(i[I.k2.xn]||(i[I.k2.xn]=function(){var e=I.TD;return[H(e.BIDDER,"bidderCode"),H(e.AD_ID,"adId"),H(e.PRICE_BUCKET,F()),H(e.SIZE,"size"),H(e.DEAL,"dealId"),H(e.SOURCE,"source"),H(e.FORMAT,"mediaType"),H(e.ADOMAIN,(function(e){return e.meta&&e.meta.advertiserDomains&&e.meta.advertiserDomains.length>0?e.meta.advertiserDomains[0]:""})),H(e.ACAT,(function(e){return e.meta&&e.meta.primaryCatId?e.meta.primaryCatId:""}))]}()),"video"===e){var o=i[I.k2.xn].slice();if(i[I.k2.xn]=o,[n.UUID,n.CACHE_ID].forEach((function(e){void 0===(0,v.sE)(o,(function(t){return t.key===e}))&&o.push(H(e,"videoCacheKey"))})),u.vc.getConfig("cache.url")&&(!t||!1!==y.S.get(t,"sendStandardTargeting"))){var s=(0,r.en)(u.vc.getConfig("cache.url"));void 0===(0,v.sE)(o,(function(e){return e.key===n.CACHE_HOST}))&&o.push(H(n.CACHE_HOST,(function(e){return(0,a.Z)(e,"adserverTargeting.".concat(n.CACHE_HOST))?e.adserverTargeting[n.CACHE_HOST]:s.hostname})))}}return i}function K(e,t,n,i){var o=t[I.k2.xn];return n.size=n.getSize(),(0,r.yi)(o,(function(o){var a=o.key,s=o.val;if(e[a]&&(0,r.yN)("The key: "+a+" is being overwritten"),(0,r.LQ)(s))try{s=s(n,i)}catch(e){(0,r.H)("bidmanager","ERROR",e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)&&a!==I.TD.DEAL||!(0,r.jH)(s)&&null!=s?e[a]=s:(0,r.PN)("suppressing empty key '"+a+"' from adserver targeting")})),e}function W(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}function J(e){Object.assign(this,{getAuction:function(t){var n=t.auctionId;if(null!=n)return e().find((function(e){return e.getAuctionId()===n}))},getAdUnit:function(t){var n=t.transactionId;if(null!=n)return e().flatMap((function(e){return e.getAdUnits()})).find((function(e){return e.transactionId===n}))},getMediaTypes:function(e){var t=e.transactionId,n=e.requestId;if(null!=n){var r=this.getBidRequest({requestId:n});if(null!=r&&(null==t||r.transactionId===t))return r.mediaTypes}else if(null!=t){var i=this.getAdUnit({transactionId:t});if(null!=i)return i.mediaTypes}},getBidderRequest:function(t){var n=t.requestId,r=t.bidderRequestId;if(null!=n||null!=r){var i=e().flatMap((function(e){return e.getBidRequests()}));return null!=r&&(i=i.filter((function(e){return e.bidderRequestId===r}))),null==n?i[0]:i.find((function(e){return e.bids&&null!=e.bids.find((function(e){return e.bidId===n}))}))}},getBidRequest:function(t){var n=t.requestId;if(null!=n)return e().flatMap((function(e){return e.getBidRequests()})).flatMap((function(e){return e.bids})).find((function(e){return e&&e.bidId===n}))}})}var V=function(){var e=[],t={addWinningBid:function(t){var n=(0,E.Bf)(t.metrics);n.checkpoint("bidWon"),n.timeBetween("auctionEnd","bidWon","render.pending"),n.timeBetween("requestBids","bidWon","render.e2e");var i=(0,v.sE)(e,(function(e){return e.getAuctionId()===t.auctionId}));i?(t.status=I.UE.fe,i.addWinningBid(t)):(0,r.yN)("Auction not found when adding winning bid")},getAllWinningBids:function(){return e.map((function(e){return e.getWinningBids()})).reduce(r.xH,[])},getBidsRequested:function(){return e.map((function(e){return e.getBidRequests()})).reduce(r.xH,[])},getNoBids:function(){return e.map((function(e){return e.getNoBids()})).reduce(r.xH,[])},getBidsReceived:function(){return e.map((function(e){if(e.getAuctionStatus()===C)return e.getBidsReceived()})).reduce(r.xH,[]).filter((function(e){return e}))},getAllBidsForAdUnitCode:function(t){return e.map((function(e){return e.getBidsReceived()})).reduce(r.xH,[]).filter((function(e){return e&&e.adUnitCode===t}))},getAdUnits:function(){return e.map((function(e){return e.getAdUnits()})).reduce(r.xH,[])},getAdUnitCodes:function(){return e.map((function(e){return e.getAdUnitCodes()})).reduce(r.xH,[]).filter(r.tT)},createAuction:function(t){var n=function(e){var t=e.adUnits,n=e.adUnitCodes,c=e.callback,d=e.cbTimeout,l=e.labels,p=e.auctionId,g=e.ortb2Fragments,y=e.metrics;y=(0,E.Bf)(y);var D,B,U,Z,q=t,F=l,H=n,L=p||(0,r.DO)(),K=d,J=new Set,G=[],X=c,Y=[],Q=[],$=[],ee=[];function te(){return{auctionId:L,timestamp:D,auctionEnd:B,auctionStatus:Z,adUnits:q,adUnitCodes:H,labels:F,bidderRequests:Y,noBids:$,bidsReceived:Q,bidsRejected:G,winningBids:ee,timeout:K,metrics:y}}function ne(e,n){if(n&&clearTimeout(U),void 0===B){var i=[];e&&((0,r.ji)("Auction ".concat(L," timedOut")),o=J,(i=Y.map((function(e){return(e.bids||[]).filter((function(e){return!o.has(e.bidder)}))})).reduce(r.xH,[])).length&&b.j8(I.FP.BID_TIMEOUT,i)),Z=C,B=Date.now(),y.checkpoint("auctionEnd"),y.timeBetween("requestBids","auctionEnd","requestBids.total"),y.timeBetween("callBids","auctionEnd","requestBids.callBids"),b.j8(I.FP.AUCTION_END,te()),j(q,(function(){try{if(null!=X){var n=H,o=Q.filter(r.ak.call(r.IK,this,n)).reduce(W,{});X.apply(pbjs,[o,e,L]),X=null}}catch(e){(0,r.H)("Error executing bidsBackHandler",null,e)}finally{i.length&&_.ZP.callTimedOutBidders(t,i,K);var a=u.vc.getConfig("userSync")||{};a.enableOverride||T(a.syncDelay)}}))}var o}function re(){u.vc.resetBidder(),(0,r.PN)("Bids Received for Auction with id: ".concat(L),Q),Z=C,ne(!1,!0)}function ie(e){J.add(e)}function oe(e){var t=this;e.forEach((function(e){var t;t=e,Y=Y.concat(t)}));var n={},c={bidRequests:e,run:function(){var c,p;c=ne.bind(null,!0),p=setTimeout(c,K),U=p,Z="inProgress",b.j8(I.FP.AUCTION_INIT,te());var y=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,c=void 0===n?V.index:n,d=0,l=!1,p=new Set,g={},y={};function _(e,t){null==y[e]&&(y[e]=w.Z.resolve()),y[e]=y[e].then((function(){return w.Z.resolve(t).catch((function(){}))}))}function E(e,n){var r=e.timeout;(null==r||r>t.getTimeout())&&(r=t.getTimeout());var i=t.getAuctionStart()+r-Date.now(),o=y[e.bidderRequestId],a=y[""];(null!=o||null!=a)&&i>0?w.Z.race([w.Z.timeout(i),w.Z.resolve(a).then((function(){return o}))]).then(n):n()}function T(){d--,l&&0===d&&e()}function C(e,t,n){return g[t.requestId]=!0,function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,i=void 0===n?V.index:n,o=i.getBidderRequest(e),a=i.getAdUnit(e),s=o&&o.start||e.requestTimestamp;Object.assign(e,{responseTimestamp:e.responseTimestamp||(0,r.AB)(),requestTimestamp:e.requestTimestamp||s,cpm:parseFloat(e.cpm)||0,bidder:e.bidder||e.bidderCode,adUnitCode:t}),null!=(null==a?void 0:a.ttlBuffer)&&(e.ttlBuffer=a.ttlBuffer),e.timeToRespond=e.responseTimestamp-e.requestTimestamp}(t,e),d++,n(T)}function k(e,n){C(e,n,(function(e){var i=function(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,r=void 0===n?V.index:n;b.j8(I.FP.BID_ADJUSTMENT,e);var i=(null===(t=r.getBidRequest(e))||void 0===t?void 0:t.renderer)||r.getAdUnit(e).renderer,a=e.mediaType,c=r.getMediaTypes(e),d=c&&c[a],l=d&&d.renderer,p=null;l&&l.url&&l.render&&(!0!==l.backupOnly||!e.renderer)?p=l:i&&i.url&&i.render&&(!0!==i.backupOnly||!e.renderer)&&(p=i),p&&(e.renderer=f.Th.install({url:p.url,config:p.options}),e.renderer.setRender(p.render));var g=z(e.mediaType,c,u.vc.getConfig("mediaTypePriceGranularity")),v=(0,s.D)(e.cpm,"object"===(0,o.Z)(g)?g:u.vc.getConfig("customPriceBucket"),u.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}(n);i.mediaType===h.pX?function(e,t,n){var i=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).index,o=void 0===i?V.index:i,s=!0,c=(0,a.Z)(o.getMediaTypes({requestId:t.originalRequestId||t.requestId,transactionId:t.transactionId}),"video"),d=c&&(0,a.Z)(c,"context"),l=c&&(0,a.Z)(c,"useCacheKey");u.vc.getConfig("cache.url")&&(l||d!==m.gZ)&&(!t.videoCacheKey||u.vc.getConfig("cache.ignoreBidderCacheKey")?(s=!1,M(e,t,n,c)):t.vastUrl||((0,r.H)("videoCacheKey specified but not required vastUrl for video bid"),s=!1)),s&&(R(e,t),n())}(t,i,e):(null!=i.native&&"object"===(0,o.Z)(i.native)&&N(i),R(t,i),e())}))}function x(e,n,o){return C(e,n,(function(e){var a,s=(0,O.m)(I.Q_.H,null===(a=n.getIdentifiers)||void 0===a?void 0:a.call(n));return Object.assign(s,Object.fromEntries(Object.entries(n).filter((function(e){var t=(0,i.Z)(e,1)[0];return!s.hasOwnProperty(t)&&!["ad","adUrl","vastXml","vastUrl","native"].includes(t)})))),s.status=I.UE.G9,s.cpm=0,n.rejectionReason=o,(0,r.yN)("Bid from ".concat(n.bidder||"unknown bidder"," was rejected: ").concat(o),n),b.j8(I.FP.BID_REJECTED,n),t.addBidRejected(n),e(),s}))}function A(){var n=t.getBidRequests(),i=u.vc.getConfig("auctionOptions");if(p.add(this),i&&!(0,r.xb)(i)){var o=i.secondaryBidders;o&&!n.every((function(e){return(0,v.q9)(o,e.bidderCode)}))&&(n=n.filter((function(e){return!(0,v.q9)(o,e.bidderCode)})))}l=n.every((function(e){return p.has(e)})),this.bids.forEach((function(e){g[e.bidId]||(t.addNoBid(e),b.j8(I.FP.NO_BID,e))})),l&&0===d&&e()}return{addBidResponse:function(){function e(e,t){var n,r=c.getBidderRequest(t);_(r&&r.bidderRequestId||"",S.call({dispatch:k},e,t,(function(r){return null==n&&(n=x(e,t,r)),n})))}return e.reject=x,e}(),adapterDone:function(){E(this,A.bind(this))}}}(re,t);_.ZP.callBids(q,e,y.addBidResponse,y.adapterDone,{request:function(e,t){l(k,t),l(n,e),x[e]||(x[e]={SRA:!0,origin:t}),n[e]>1&&(x[e].SRA=!1)},done:function(e){k[e]--,A[0]&&d(A[0])&&A.shift()}},K,ie,g)}};function d(e){var t=!0,n=u.vc.getConfig("maxRequestsPerOrigin")||4;return e.bidRequests.some((function(e){var r=1,i=void 0!==e.src&&e.src===I.os.YZ?"s2s":e.bidderCode;return x[i]&&(!1===x[i].SRA&&(r=Math.min(e.bids.length,n)),k[x[i].origin]+r>n&&(t=!1)),!t})),t&&e.run(),t}function l(e,t){void 0===e[t]?e[t]=1:e[t]++}d(c)||((0,r.yN)("queueing auction due to limited endpoint capacity"),A.push(c))}return{addBidReceived:function(e){Q=Q.concat(e)},addBidRejected:function(e){G=G.concat(e)},addNoBid:function(e){$=$.concat(e)},executeCallback:ne,callBids:function(){Z="started",D=Date.now();var e=y.measureTime("requestBids.makeRequests",(function(){return _.ZP.makeBidRequests(q,D,L,K,F,g,y)}));(0,r.PN)("Bids Requested for Auction with id: ".concat(L),e),y.checkpoint("callBids"),e.length<1?((0,r.yN)("No valid bid requests returned for auction"),re()):P.call({dispatch:oe,context:this},e)},addWinningBid:function(e){ee=ee.concat(e),_.ZP.callBidWonBidder(e.adapterCode||e.bidder,e,t)},setBidTargeting:function(e){_.ZP.callSetTargetingBidder(e.adapterCode||e.bidder,e)},getWinningBids:function(){return ee},getAuctionStart:function(){return D},getTimeout:function(){return K},getAuctionId:function(){return L},getAuctionStatus:function(){return Z},getAdUnits:function(){return q},getAdUnitCodes:function(){return H},getBidRequests:function(){return Y},getBidsReceived:function(){return Q},getNoBids:function(){return $},getFPD:function(){return g},getMetrics:function(){return y}}}(t);return function(t){e.push(t)}(n),n},findBidByAdId:function(t){return(0,v.sE)(e.map((function(e){return e.getBidsReceived()})).reduce(r.xH,[]),(function(e){return e.adId===t}))},getStandardBidderAdServerTargeting:function(){return L()[I.k2.xn]},setStatusForBids:function(n,r){var i=t.findBidByAdId(n);if(i&&(i.status=r),i&&r===I.UE.CK){var o=(0,v.sE)(e,(function(e){return e.getAuctionId()===i.auctionId}));o&&o.setBidTargeting(i)}},getLastAuctionId:function(){return e.length&&e[e.length-1].getAuctionId()},clearAllAuctions:function(){e.length=0}};return t.index=new J((function(){return e})),t}()},5975:function(e,t,n){n.d(t,{S:function(){return f}});var r=n(5671),i=n(3144),o=n(265),a=n(4358),s=n(8640),c=n(5644);function d(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}var u=new WeakSet;function l(e){return null==e?this.defaultScope:e}var f=new(function(){function e(t,n){(0,r.Z)(this,e),function(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)}(this,u),this.getSettings=t,this.defaultScope=n}return(0,i.Z)(e,[{key:"get",value:function(e,t){var n=this.getOwn(e,t);return void 0===n&&(n=this.getOwn(null,t)),n}},{key:"getOwn",value:function(e,t){return e=d(this,u,l).call(this,e),(0,o.Z)(this.getSettings(),"".concat(e,".").concat(t))}},{key:"getScopes",value:function(){var e=this;return Object.keys(this.getSettings()).filter((function(t){return t!==e.defaultScope}))}},{key:"settingsFor",value:function(e){return(0,a.Ee)({},this.ownSettingsFor(null),this.ownSettingsFor(e))}},{key:"ownSettingsFor",value:function(e){return e=d(this,u,l).call(this,e),this.getSettings()[e]||{}}}]),e}())((function(){return(0,s.R)().bidderSettings||{}}),c.k2.zF)},9626:function(e,t,n){n.d(t,{m:function(){return o}});var r=n(4358);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.src,i=void 0===n?"client":n,o=t.bidder,a=void 0===o?"":o,s=t.bidId,c=t.transactionId,d=t.auctionId,u=i,l=e||0;this.bidderCode=a,this.width=0,this.height=0,this.statusMessage=function(){switch(l){case 0:return"Pending";case 1:return"Bid available";case 2:return"Bid returned empty or error response";case 3:return"Bid timed out"}}(),this.adId=(0,r._d)(),this.requestId=s,this.transactionId=c,this.auctionId=d,this.mediaType="banner",this.source=u,this.getStatusCode=function(){return l},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,t){return new i(e,t)}},3193:function(e,t,n){n.d(t,{FD:function(){return p},vc:function(){return y}});var r=n(4942),i=n(1002),o=n(3324),a=n(6463),s=n(4614),c=n(4358),d=n(265),u=n(5644);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}var f="TRUE"===(0,c.rD)(u.f).toUpperCase(),p="random",g={};g[p]=!0,g.fixed=!0;var v=p,m={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},h="*",y=function(){var e,t,n,u=[],p=null;function y(){e={};var r={_debug:f,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:m.MEDIUM,set priceGranularity(e){o(e)&&("string"==typeof e?this._priceGranularity=i(e)?e:m.MEDIUM:(0,c.PO)(e)&&(this._customPriceBucket=e,this._priceGranularity=m.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 t=this;this._mediaTypePriceGranularity=Object.keys(e).reduce((function(n,r){return o(e[r])?"string"==typeof e?n[r]=i(e[r])?e[r]:t._priceGranularity:(0,c.PO)(e)&&(n[r]=e[r],(0,c.ji)("Using custom price granularity for ".concat(r))):(0,c.yN)("Invalid price granularity for media type: ".concat(r)),n}),{})},_sendAllBids:!0,get enableSendAllBids(){return this._sendAllBids},set enableSendAllBids(e){this._sendAllBids=e},_useBidCache:!1,get useBidCache(){return this._useBidCache},set useBidCache(e){this._useBidCache=e},_deviceAccess:!0,get deviceAccess(){return this._deviceAccess},set deviceAccess(e){this._deviceAccess=e},_bidderSequence:v,get bidderSequence(){return this._bidderSequence},set bidderSequence(e){g[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:!1,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 t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];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,s.sE)(Object.keys(m),(function(t){return e===m[t]}))}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}t&&S(Object.keys(t).reduce((function(e,n){return t[n]!==r[n]&&(e[n]=r[n]||{}),e}),{})),t=r,n={}}function b(){if(p&&n&&(0,c.PO)(n[p])){var e=n[p],r=new Set(Object.keys(t).concat(Object.keys(e)));return(0,s.Oc)(r).reduce((function(n,r){return void 0===e[r]?n[r]=t[r]:void 0===t[r]?n[r]=e[r]:(0,c.PO)(e[r])?n[r]=(0,c.Ee)({},t[r],e[r]):n[r]=e[r],n}),{})}return Object.assign({},t)}var _=[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 t=arguments.length<=0?void 0:arguments[0];return t?(0,d.Z)(e(),t):b()}return A.apply(void 0,arguments)}})),I=(0,o.Z)(_,2),w=I[0],E=I[1],O=[E,w].map((function(e){return function(){var t=e.apply(void 0,arguments);return t&&"object"===(0,i.Z)(t)&&(t=(0,c.I8)(t)),t}})),T=(0,o.Z)(O,2),C=T[0],k=T[1];function x(n){if((0,c.PO)(n)){var r=Object.keys(n),i={};r.forEach((function(r){var o=n[r];(0,c.PO)(e[r])&&(0,c.PO)(o)&&(o=Object.assign({},e[r],o));try{i[r]=t[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 A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=t;if("string"!=typeof e&&(i=e,e=h,n=t||{}),"function"==typeof i){var o={topic:e,callback:i};return u.push(o),n.init&&i(e===h?E():(0,r.Z)({},e,E(e))),function(){u.splice(u.indexOf(o),1)}}(0,c.H)("listener must be a function")}function S(e){var t=Object.keys(e);u.filter((function(e){return(0,s.q9)(t,e.topic)})).forEach((function(t){t.callback((0,r.Z)({},t.topic,e[t.topic]))})),u.filter((function(e){return e.topic===h})).forEach((function(t){return t.callback(e)}))}function P(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{!function(e){if(!(0,c.PO)(e))throw"setBidderConfig bidder options must be an object";if(!Array.isArray(e.bidders)||!e.bidders.length)throw"setBidderConfig bidder options must contain a bidders list with at least 1 bidder";if(!(0,c.PO)(e.config))throw"setBidderConfig bidder options must contain a config object"}(e),e.bidders.forEach((function(r){n[r]||(n[r]={}),Object.keys(e.config).forEach((function(i){var o=e.config[i];if((0,c.PO)(o)){var a=t?c.Ee:Object.assign;n[r][i]=a({},n[r][i]||{},o)}else n[r][i]=o}))}))}catch(e){(0,c.H)(e)}}function j(e,t){p=e;try{return t()}finally{D()}}function D(){p=null}return y(),{getCurrentBidder:function(){return p},resetBidder:D,getConfig:E,getAnyConfig:w,readConfig:C,readAnyConfig:k,setConfig:x,mergeConfig:function(e){if((0,c.PO)(e)){var t=(0,c.Ee)(b(),e);return x(function(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}({},t)),t}(0,c.H)("mergeConfig input must be an object")},setDefaults:function(n){(0,c.PO)(e)?(Object.assign(e,n),Object.assign(t,n)):(0,c.H)("defaults must be an object")},resetConfig:y,runWithBidder:j,callbackWithBidder:function(e){return function(t){return function(){if("function"==typeof t){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return j(e,c.ak.call.apply(c.ak,[t,this].concat(r)))}(0,c.yN)("config.callbackWithBidder callback is not a function")}}},setBidderConfig:P,getBidderConfig:function(){return n},mergeBidderConfig:function(e){return P(e,!0)}}}()},4516:function(e,t,n){n.d(t,{$P:function(){return h},$e:function(){return k},LO:function(){return T},iK:function(){return C}});var r=n(136),i=n(2963),o=n(1120),a=n(5671),s=n(3144),c=n(4942),d=n(8916),u=n(2793),l=n(4358),f=n(8792);function p(e){var t=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 n,r=(0,o.Z)(e);if(t){var a=(0,o.Z)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,i.Z)(this,n)}}function g(e,t,n){v(e,t),t.set(e,n)}function v(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function m(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}var h=Object.freeze({}),y=new WeakMap,b=new WeakMap,_=new WeakMap,I=new WeakMap,w=new WeakSet,E=function(){function e(){var t;(0,a.Z)(this,e),v(this,t=w),t.add(this),g(this,y,{writable:!0,value:void 0}),g(this,b,{writable:!0,value:void 0}),g(this,_,{writable:!0,value:void 0}),g(this,I,{writable:!0,value:void 0}),(0,c.Z)(this,"generatedTime",void 0),this.reset()}return(0,s.Z)(e,[{key:"reset",value:function(){(0,u.Z)(this,_,(0,f.P)()),(0,u.Z)(this,y,!1),(0,u.Z)(this,b,null),(0,u.Z)(this,I,!1),this.generatedTime=null}},{key:"enable",value:function(){(0,u.Z)(this,y,!0)}},{key:"enabled",get:function(){return(0,d.Z)(this,y)}},{key:"ready",get:function(){return(0,d.Z)(this,I)}},{key:"promise",get:function(){return(0,d.Z)(this,I)?f.Z.resolve((0,d.Z)(this,b)):((0,d.Z)(this,y)||m(this,w,O).call(this,null),(0,d.Z)(this,_).promise)}},{key:"setConsentData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,l.AB)();this.generatedTime=t,m(this,w,O).call(this,e)}},{key:"getConsentData",value:function(){return(0,d.Z)(this,b)}}]),e}();function O(e){(0,u.Z)(this,I,!0),(0,u.Z)(this,b,e),(0,d.Z)(this,_).resolve(e)}var T=function(e){(0,r.Z)(n,e);var t=p(n);function n(){return(0,a.Z)(this,n),t.apply(this,arguments)}return(0,s.Z)(n,[{key:"getConsentMeta",value:function(){var e=this.getConsentData();if(e&&this.generatedTime)return{usp:e,generatedAt:this.generatedTime}}}]),n}(E),C=function(e){(0,r.Z)(n,e);var t=p(n);function n(){return(0,a.Z)(this,n),t.apply(this,arguments)}return(0,s.Z)(n,[{key:"getConsentMeta",value:function(){var e=this.getConsentData();if(e&&e.vendorData&&this.generatedTime)return{gdprApplies:e.gdprApplies,consentStringSize:(0,l.d8)(e.vendorData.tcString)?e.vendorData.tcString.length:0,generatedAt:this.generatedTime,apiVersion:e.apiVersion}}}]),n}(E),k=function(e){(0,r.Z)(n,e);var t=p(n);function n(){return(0,a.Z)(this,n),t.apply(this,arguments)}return(0,s.Z)(n,[{key:"getConsentMeta",value:function(){if(this.getConsentData()&&this.generatedTime)return{generatedAt:this.generatedTime}}}]),n}(E)},6463:function(e,t,n){n.d(t,{D:function(){return l},t:function(){return p}});var r=n(4614),i=n(4358),o=n(3193),a={buckets:[{max:5,increment:.5}]},s={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}]},u={buckets:[{max:5,increment:.05},{max:10,increment:.1},{max:20,increment:.5}]};function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":f(e,a,n),med:""===r?"":f(e,s,n),high:""===r?"":f(e,c,n),auto:""===r?"":f(e,u,n),dense:""===r?"":f(e,d,n),custom:""===r?"":f(e,t,n)}}function f(e,t,n){var a="";if(!p(t))return a;var s=t.buckets.reduce((function(e,t){return e.max>t.max?e:t}),{max:0}),c=0,d=(0,r.sE)(t.buckets,(function(t){if(e>s.max*n){var r=t.precision;void 0===r&&(r=2),a=(t.max*n).toFixed(r)}else{if(e<=t.max*n&&e>=c*n)return t.min=c,t;c=t.max}}));return d&&(a=function(e,t,n){var r=void 0!==t.precision?t.precision:2,a=t.increment*n,s=t.min*n,c=Math.floor,d=o.vc.getConfig("cpmRoundingFunction");"function"==typeof d&&(c=d);var u,l,f=Math.pow(10,r+2),p=(e*f-s*f)/(a*f);try{u=c(p)*a+s}catch(e){l=!0}return(l||"number"!=typeof u)&&((0,i.yN)("Invalid rounding function passed in config"),u=Math.floor(p)*a+s),(u=Number(u.toFixed(10))).toFixed(r)}(e,d,n)),a}function p(e){if((0,i.xb)(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach((function(e){e.max&&e.increment||(t=!1)})),t}},2021:function(e,t,n){n.d(t,{S1:function(){return f},j8:function(){return g},on:function(){return l},vw:function(){return p}});var r=n(4358),i=n(5644),o=Array.prototype.slice,a=Array.prototype.push,s=r.HA(i.FP,(function(e){return e})),c=i.aI,d=[],u=function(){var e={},t={on:function(t,n,i){if(function(e){return r.r3(s,e)}(t)){var o=e[t]||{que:[]};i?(o[i]=o[i]||{que:[]},o[i].que.push(n)):o.que.push(n),e[t]=o}else r.H("Wrong event name : "+t+" Valid event names :"+s)},emit:function(t){!function(t,n){r.ji("Emitting event for: "+t);var i=n[0]||{},o=i[c[t]],s=e[t]||{que:[]},u=r.HA(s,(function(e,t){return t})),l=[];d.push({eventType:t,args:i,id:o,elapsedTime:r.bd()}),o&&r.r3(u,o)&&a.apply(l,s[o].que),a.apply(l,s.que),r.yi(l,(function(e){if(e)try{e.apply(null,n)}catch(e){r.H("Error executing handler:","events.js",e)}}))}(t,o.call(arguments,1))},off:function(t,n,i){var o=e[t];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 t=o[i].que;e===n&&t.splice(t.indexOf(e),1)})):r.yi(o.que,(function(e){var t=o.que;e===n&&t.splice(t.indexOf(e),1)})),e[t]=o)},get:function(){return e},addEvents:function(e){s=s.concat(e)},getEvents:function(){var e=[];return r.yi(d,(function(t){var n=Object.assign({},t);e.push(n)})),e}};return t}();r.u2(u.emit.bind(u));var l=u.on,f=u.off,p=(u.get,u.getEvents),g=u.emit;u.addEvents},8176:function(e,t,n){n.d(t,{S:function(){return p}});var r=n(3324),i=n(2797),o=n(5102),a=n(8196),s=n(4358),c=n(6475),d=n(3193),u=n(7809),l=n(8792),f={getRefererInfo:o.nH,findRootDomain:a.W,getWindowTop:s.Zy,getWindowSelf:s.e7,getHighEntropySUA:u.KI,getLowEntropySUA:u.hi},p=(0,i.z3)("sync",(function(e){return l.Z.all([e,(t=d.vc.getConfig("firstPartyData.uaHints"),Array.isArray(t)&&0===t.length?l.Z.resolve(f.getLowEntropySUA()):f.getHighEntropySUA(t)).catch((function(){return null}))]).then((function(e){var t=(0,r.Z)(e,2),n=t[0],i=t[1];return Object.entries(v).forEach((function(e){var t=(0,r.Z)(e,2),i=t[0],o=(0,t[1])();o&&Object.keys(o).length>0&&(n[i]=(0,s.Ee)({},o,n[i]))})),i&&(0,c.N)(n,"device.sua",Object.assign({},i,n.device.sua)),n}));var t}));function g(e){try{return e(f.getWindowTop())}catch(t){return e(f.getWindowSelf())}}var v={site:function(){var e,t,n,r=f.getRefererInfo(),i=(0,o.hh)(r.page,{noLeadingWww:!0}),a=null===(e=g((function(e){return e.document.querySelector("meta[name='keywords']")})))||void 0===e||null===(t=e.content)||void 0===t||null===(n=t.replace)||void 0===n?void 0:n.call(t,/\s/g,"");return function(e){return(0,s.iG)(e,Object.keys(e))}({page:r.page,ref:r.ref,domain:i,keywords:a,publisher:{domain:f.findRootDomain(i)}})},device:function(){return g((function(e){return{w:e.innerWidth||e.document.documentElement.clientWidth||e.document.body.clientWidth,h:e.innerHeight||e.document.documentElement.clientHeight||e.document.body.clientHeight,dnt:(0,s.oV)()?1:0,ua:e.navigator.userAgent,language:e.navigator.language.split("-").shift()}}))},regs:function(){var e={};g((function(e){return e.navigator.globalPrivacyControl}))&&(0,c.N)(e,"ext.gpc",1);var t=d.vc.getConfig("coppa");return"boolean"==typeof t&&(e.coppa=t?1:0),e}}},8196:function(e,t,n){n.d(t,{W:function(){return o}});var r=n(4358),i=(0,n(5164).eA)(),o=(0,r.HP)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.host;if(!i.cookiesAreEnabled())return e;var t,n,o=e.split(".");if(2===o.length)return e;var a=-2,s="_rdc".concat(Date.now()),c="writeable";do{t=o.slice(a).join(".");var d=new Date((0,r.AB)()+1e4).toUTCString();i.setCookie(s,c,d,"Lax",t,void 0),i.getCookie(s,void 0)===c?(n=!1,i.setCookie(s,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,t,void 0)):(a+=-1,n=Math.abs(a)<=o.length)}while(n);return t}))},2797:function(e,t,n){n.d(t,{Bx:function(){return p},Cd:function(){return d},IF:function(){return g},bA:function(){return f},v5:function(){return u},z3:function(){return s}});var r=n(9062),i=n(1432),o=n.n(i),a=n(8792),s=o()({ready:o().SYNC|o().ASYNC|o().QUEUE}),c=(0,a.P)();s.ready=function(){var e=s.ready;return function(){try{return e.apply(s,arguments)}finally{c.resolve()}}}();var d=c.promise,u=s.get,l={};function f(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).postInstallAllowed,i=void 0!==n&&n;s("async",(function(n){n.forEach((function(e){return t.apply(void 0,(0,r.Z)(e))})),i&&(l[e]=t)}),e)([])}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=l[e];if(i)return i.apply(void 0,n);u(e).before((function(e,t){t.push(n),e(t)}))}function g(e,t){return Object.defineProperties(t,Object.fromEntries(["before","after","getHooks","removeAll"].map((function(t){return[t,{get:function(){return e[t]}}]})))),t}},4679:function(e,t,n){n.d(t,{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,t,n){n.d(t,{Fb:function(){return x},JL:function(){return B},Sg:function(){return m},Ur:function(){return j},e6:function(){return P},eK:function(){return R},lY:function(){return Z},r4:function(){return S},xc:function(){return h},zq:function(){return M}});var r=n(9062),i=n(3324),o=n(4942),a=n(265),s=n(4358),c=n(4614),d=n(5383),u=n(5644),l=n(4679);function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);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,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=[],h=Object.keys(u.FY).map((function(e){return u.FY[e]})),y={image:{ortb:{ver:"1.2",assets:[{required:1,id:1,img:{type:3,wmin:100,hmin:100}},{required:1,id:2,title:{len:140}},{required:1,id:3,data:{type:1}},{required:0,id:4,data:{type:2}},{required:0,id:5,img:{type:1,wmin:20,hmin:20}}]},image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1}}},b=u.s$,_=u.oF,I=u.V1,w=u.zA,E=u.FY,O=z(I),T=z(b),C={img:1,js:2,1:"img",2:"js"};function k(e){if(e&&e.type&&function(e){return!(!e||!(0,c.q9)(Object.keys(y),e))||((0,s.H)("".concat(e," nativeParam is not supported")),!1)}(e.type)&&(e=y[e.type]),!e||!e.ortb||A(e.ortb))return e}function x(e){e.forEach((function(e){var t=e.nativeParams||(0,a.Z)(e,"mediaTypes.native");t&&(e.nativeParams=k(t)),e.nativeParams&&(e.nativeOrtbRequest=e.nativeParams.ortb||function(e){if(e||(0,s.PO)(e)){var t={ver:"1.2",assets:[]};for(var n in e)if(!w.includes(n))if(E.hasOwnProperty(n)){var r=e[n],i=0;r.required&&(0,s.jn)(r.required)&&(i=Number(r.required));var o={id:t.assets.length,required:i};if(n in I)o.data={type:b[I[n]]},r.len&&(o.data.len=r.len);else if("icon"===n||"image"===n){if(o.img={type:"icon"===n?_.ICON:_.MAIN},r.aspect_ratios)if((0,s.kJ)(r.aspect_ratios))if(r.aspect_ratios.length){var a=r.aspect_ratios[0],c=a.min_width,d=a.min_height;(0,s.U)(c)&&(0,s.U)(d)?(o.img.wmin=c,o.img.hmin=d):(0,s.H)("image.aspect_ratios min_width or min_height are invalid: ",c,d);var u=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)}));u.length>0&&(o.img.ext={aspectratios:u})}else(0,s.H)("image.aspect_ratios was passed, but it's empty:",r.aspect_ratios);else(0,s.H)("image.aspect_ratios was passed, but it's not a an array:",r.aspect_ratios);r.sizes&&(2===r.sizes.length&&(0,s.U)(r.sizes[0])&&(0,s.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,s.H)("image.sizes was passed, but its value is not an array of integers:",r.sizes))}else"title"===n?o.title={len:r.len||140}:"ext"===n&&(o.ext=r,delete o.required);t.assets.push(o)}else(0,s.H)("Unrecognized native asset code: ".concat(n,". Asset will be ignored."));return t}(0,s.H)("Native assets object is empty or not an object: ",e)}(e.nativeParams))}))}function A(e){var t=e.assets;if(!Array.isArray(t)||0===t.length)return(0,s.H)("assets in mediaTypes.native.ortb is not an array, or it's empty. Assets: ",t),!1;var n=t.map((function(e){return e.id}));return t.length!==new Set(n).size||n.some((function(e){return e!==parseInt(e,10)}))?((0,s.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,s.H)("ortb.eventtrackers is not an array. Eventtrackers: ",e.eventtrackers),!1):t.every((function(e){return function(e){if(!(0,s.PO)(e))return(0,s.H)("asset must be an object. Provided asset: ",e),!1;if(e.img){if(!(0,s.hj)(e.img.w)&&!(0,s.hj)(e.img.wmin))return(0,s.H)("for img asset there must be 'w' or 'wmin' property"),!1;if(!(0,s.hj)(e.img.h)&&!(0,s.hj)(e.img.hmin))return(0,s.H)("for img asset there must be 'h' or 'hmin' property"),!1}else if(e.title){if(!(0,s.hj)(e.title.len))return(0,s.H)("for title asset there must be 'len' property defined"),!1}else if(e.data){if(!(0,s.hj)(e.data.type))return(0,s.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,s.hj)(e.video.minduration)&&(0,s.hj)(e.video.maxduration)))return(0,s.H)("video asset is not properly configured"),!1;return!0}(e)}))}function S(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,r=(void 0===n?d.K.index:n).getAdUnit(e);if(!r)return!1;var i=r.nativeOrtbRequest,o=(null===(t=e.native)||void 0===t?void 0:t.ortb)||function(e,t){var n=v(v({},q(e)),{},{assets:[]});function r(e,r){var i=t.assets.find(e);null!=i&&(r(i=(0,s.I8)(i)),n.assets.push(i))}return Object.keys(e).filter((function(t){return!!e[t]})).forEach((function(t){var n=e[t];switch(t){case"title":r((function(e){return null!=e.title}),(function(e){e.title={text:n}}));break;case"image":case"icon":var i="image"===t?_.MAIN:_.ICON;r((function(e){return null!=e.img&&e.img.type===i}),(function(e){e.img={url:n}}));break;default:t in I&&r((function(e){return null!=e.data&&e.data.type===b[I[t]]}),(function(e){e.data={value:n}}))}})),n}(e.native,i);return function(e,t){if(!(0,a.Z)(e,"link.url"))return(0,s.H)("native response doesn't have 'link' property. Ortb response: ",e),!1;var n=t.assets.filter((function(e){return 1===e.required})).map((function(e){return e.id})),r=e.assets.map((function(e){return e.id})),i=n.every((function(e){return(0,c.q9)(r,e)}));return i||(0,s.H)("didn't receive a bid with all required assets. Required ids: ".concat(n,", but received ids in response: ").concat(r)),i}(o,i)}function P(e,t){var n=t.native.ortb||q(t.native);return"click"===e.action?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.fetchURL,i=void 0===r?s.hq:r;if(t){var o,a=(e.assets||[]).filter((function(e){return e.link})).reduce((function(e,t){return e[t.id]=t.link,e}),{}),c=(null===(o=e.link)||void 0===o?void 0:o.clicktrackers)||[],d=a[t],u=c;d&&(u=d.clicktrackers||[]),u.forEach((function(e){return i(e)}))}else{var l;((null===(l=e.link)||void 0===l?void 0:l.clicktrackers)||[]).forEach((function(e){return i(e)}))}}(n,null==e?void 0:e.assetId):function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.runMarkup,r=void 0===n?function(e){return(0,s.$8)(e)}:n,i=t.fetchURL,o=void 0===i?s.hq:i,a=(e.eventtrackers||[]).filter((function(e){return 1===e.event})),c=a.reduce((function(e,t){return C.hasOwnProperty(t.method)&&e[C[t.method]].push(t.url),e}),{img:[],js:[]}),d=c.img,u=c.js;e.imptrackers&&(d=d.concat(e.imptrackers)),d.forEach((function(e){return o(e)})),u=u.map((function(e){return'<script async src="'.concat(e,'"><\/script>')})),e.jstracker&&(u=u.concat([e.jstracker])),u.length&&r(u.join("\n"))}(n),e.action}function j(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,n=void 0===t?d.K.index:t,r={},i=n.getAdUnit(e);(0,a.Z)(i,"nativeParams.rendererUrl")?e.native.rendererUrl=U(i.nativeParams.rendererUrl):(0,a.Z)(i,"nativeParams.adTemplate")&&(e.native.adTemplate=U(i.nativeParams.adTemplate));var o=!1!==(0,a.Z)(i,"nativeParams.sendTargetingKeys"),s=function(e){var t={};return(0,a.Z)(e,"nativeParams.ext")&&Object.keys(e.nativeParams.ext).forEach((function(e){t[e]="hb_native_".concat(e)})),v(v({},u.FY),t)}(i),c=v(v({},e.native),e.native.ext);return delete c.ext,Object.keys(c).forEach((function(t){var n=s[t],c=U(e.native[t])||U((0,a.Z)(e,"native.ext.".concat(t)));if("adTemplate"!==t&&n&&c){var d=(0,a.Z)(i,"nativeParams.".concat(t,".sendId"));"boolean"!=typeof d&&(d=(0,a.Z)(i,"nativeParams.ext.".concat(t,".sendId"))),d&&(c="".concat(n,":").concat(e.adId));var u=(0,a.Z)(i,"nativeParams.".concat(t,".sendTargetingKeys"));"boolean"!=typeof u&&(u=(0,a.Z)(i,"nativeParams.ext.".concat(t,".sendTargetingKeys"))),("boolean"==typeof u?u:o)&&(r[n]=c)}})),r}function D(e,t,n){var r={message:"assetResponse",adId:e.adId},i=t.native;return t.native.ortb&&(r.ortb=t.native.ortb),r.assets=[],(null==n?Object.keys(i):n).forEach((function(e){if("adTemplate"===e&&i[e])r.adTemplate=U(i[e]);else if("rendererUrl"===e&&i[e])r.rendererUrl=U(i[e]);else if("ext"===e)Object.keys(i[e]).forEach((function(t){if(i[e][t]){var n=U(i[e][t]);r.assets.push({key:t,value:n})}}));else if(i[e]&&u.FY.hasOwnProperty(e)){var t=U(i[e]);r.assets.push({key:e,value:t})}})),r}function R(e,t){var n=e.assets.map((function(e){return(0,s.V9)(u.FY,e)}));return D(e,t,n)}function B(e,t){return D(e,t,null)}function U(e){return(null==e?void 0:e.url)||e}function N(e){if(A(e)){var t,n={},r=f(e.assets);try{var i=function(){var e=t.value;if(e.title){var r={required:!!e.required&&Boolean(e.required),len:e.title.len};n.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===_.MAIN?n.image=i:n.icon=i}else if(e.data){var o=Object.keys(b).find((function(t){return b[t]===e.data.type})),a=Object.keys(I).find((function(e){return I[e]===o}));n[a]={required:!!e.required&&Boolean(e.required)},e.data.len&&(n[a].len=e.data.len)}};for(r.s();!(t=r.n()).done;)i()}catch(e){r.e(e)}finally{r.f()}return n}}function Z(e){if(!e||!(0,s.kJ)(e))return e;if(!e.some((function(e){var t;return null===(t=((null==e?void 0:e.mediaTypes)||{})[l.B5])||void 0===t?void 0:t.ortb})))return e;var t,n=(0,s.I8)(e),r=f(n);try{for(r.s();!(t=r.n()).done;){var i=t.value;i.mediaTypes&&i.mediaTypes[l.B5]&&i.mediaTypes[l.B5].ortb&&(i.mediaTypes[l.B5]=Object.assign((0,s.ei)(i.mediaTypes[l.B5],w),N(i.mediaTypes[l.B5].ortb)),i.nativeParams=k(i.mediaTypes[l.B5]))}}catch(e){r.e(e)}finally{r.f()}return n}function q(e){var t={link:{},eventtrackers:[]};return Object.entries(e).forEach((function(e){var n=(0,i.Z)(e,2),r=n[0],o=n[1];switch(r){case"clickUrl":t.link.url=o;break;case"clickTrackers":t.link.clicktrackers=Array.isArray(o)?o:[o];break;case"impressionTrackers":(Array.isArray(o)?o:[o]).forEach((function(e){t.eventtrackers.push({event:1,method:C.img,url:e})}));break;case"javascriptTrackers":t.jstracker=Array.isArray(o)?o.join(""):o}})),t}function M(e,t){var n={},i=(null==t?void 0:t.assets)||[];n.clickUrl=e.link.url,n.privacyLink=e.privacy;var o,a=f((null==e?void 0:e.assets)||[]);try{var s=function(){var e=o.value,t=i.find((function(t){return e.id===t.id}));e.title?n.title=e.title.text:e.img?n[t.img.type===_.MAIN?"image":"icon"]=e.img.url:e.data&&(n[O[T[t.data.type]]]=e.data.value)};for(a.s();!(o=a.n()).done;)s()}catch(e){a.e(e)}finally{a.f()}n.impressionTrackers=[];var c,d=[];null!=t&&t.imptrackers&&(c=n.impressionTrackers).push.apply(c,(0,r.Z)(t.imptrackers));var u,l=f((null==e?void 0:e.eventtrackers)||[]);try{for(l.s();!(u=l.n()).done;){var p=u.value;1===p.event&&p.method===C.img&&n.impressionTrackers.push(p.url),1===p.event&&p.method===C.js&&d.push(p.url)}}catch(e){l.e(e)}finally{l.f()}return d=d.map((function(e){return'<script async src="'.concat(e,'"><\/script>')})),null!=e&&e.jstracker&&d.push(e.jstracker),d.length&&(n.javascriptTrackers=d.join("\n")),n}function z(e){var t={};for(var n in e)t[e[n]]=n;return t}},4614:function(e,t,n){function r(e,t,n){return e&&e.includes(t,n)||!1}function i(){return Array.from.apply(Array,arguments)}function o(e,t,n){return e&&e.find(t,n)}n.d(t,{Oc:function(){return i},q9:function(){return r},sE:function(){return o}})},4541:function(e,t,n){var r=n(3324),i=n(4942),o=n(8640),a=n(4358),s=n(265),c=n(6475),d=n(2021),u=n(59),l=n(5644),f=n(5383),p=n(4614),g=n(5706),v=n(3193),m=l.FP,h=m.AD_RENDER_FAILED,y=m.AD_RENDER_SUCCEEDED;function b(e){var t=e.reason,n=e.message,r=e.bid,i=e.id,o={reason:t,message:n};r&&(o.bid=r),i&&(o.adId=i),(0,a.H)(n),d.j8(h,o)}function _(e){var t=e.doc,n=e.bid,r=e.id,i={doc:t};n&&(i.bid=n),r&&(i.adId=r),d.j8(y,i)}var I=l.FP.BID_WON,w=l.FP.STALE_RENDER,E=new WeakSet,O={"Prebid Request":function(e,t,n){if(null!=n){if(n.status!==l.UE.fe||((0,a.yN)("Ad id ".concat(n.adId," has been rendered before")),d.j8(w,n),!(0,s.Z)(v.vc.getConfig("auctionOptions"),"suppressStaleRender"))){try{!function(e,t){var n=e.adId,r=e.ad,i=e.adUrl,o=e.width,s=e.height,c=e.renderer,d=e.cpm,u=e.originalCpm;(0,g.Pd)(c)?(0,g._U)(c,e):n&&(C(e),t({message:"Prebid Response",ad:(0,a.ew)(r,u||d),adUrl:(0,a.ew)(i,u||d),adId:n,width:o,height:s}))}(n,e)}catch(e){return void b({reason:l.q_.EXCEPTION,message:e.message,id:t.adId,bid:n})}f.K.addWinningBid(n),d.j8(I,n)}}else b({reason:l.q_.CANNOT_FIND_AD,message:"Cannot find ad '".concat(t.adId,"' for cross-origin render request"),id:t.adId})},"Prebid Event":function(e,t,n){if(null!=n)if(n.status===l.UE.fe)switch(t.event){case l.FP.AD_RENDER_FAILED:b({bid:n,id:t.adId,reason:t.info.reason,message:t.info.message});break;case l.FP.AD_RENDER_SUCCEEDED:_({doc:null,bid:n,id:t.adId});break;default:(0,a.H)("Received x-origin event request for unsupported event: '".concat(t.event,"' (adId: '").concat(t.adId,"')"))}else(0,a.yN)("Received x-origin event request without corresponding render request for ad '".concat(t.adId,"'"));else(0,a.H)("Cannot find ad '".concat(t.adId,"' for x-origin event request"))}};function T(e){var t=e.message?"message":"data",n={};try{n=JSON.parse(e[t])}catch(e){return}if(n&&n.adId&&n.message){var r=(0,p.sE)(f.K.getBidsReceived(),(function(e){return e.adId===n.adId}));O.hasOwnProperty(n.message)&&O[n.message](function(e){return null==e.origin&&0===e.ports.length?function(){var e="Cannot post message to a frame with null origin. Please update creatives to use MessageChannel, see https://github.com/prebid/Prebid.js/issues/7870";throw(0,a.H)(e),new Error(e)}:e.ports.length>0?function(t){e.ports[0].postMessage(JSON.stringify(t))}:function(t){e.source.postMessage(JSON.stringify(t),e.origin)}}(e),n,r)}}function C(e){var t=e.adId,n=e.adUnitCode,r=e.width,i=e.height;["div","iframe"].forEach((function(e){var o=function(e){var r=function(e,t){return(0,a.T9)()?function(e){var t=(0,p.sE)(window.googletag.pubads().getSlots(),(function(t){return(0,p.sE)(t.getTargetingKeys(),(function(n){return(0,p.q9)(t.getTargeting(n),e)}))}));return t?t.getSlotElementId():null}(e):(0,a.X4)()?function(e){var t=window.apntag.getTag(e);return t&&t.targetId}(t):t}(t,n),i=document.getElementById(r);return i&&i.querySelector(e)}(e+':not([style*="display: none"])');if(o){var s=o.style;s.width=r?r+"px":"100%",s.height=i+"px"}else(0,a.yN)("Unable to locate matching page element for adUnitCode ".concat(n,".  Can't resize it to ad's dimensions.  Please review setup."))}))}Object.assign(O,{"Prebid Native":function(e,t,n){if(null!=n)switch(E.has(n)||(E.add(n),f.K.addWinningBid(n),d.j8(I,n)),t.action){case"assetRequest":e((0,u.eK)(t,n));break;case"allAssetRequest":e((0,u.JL)(t,n));break;case"resizeNativeHeight":n.height=t.height,n.width=t.width,C(n);break;default:(0,u.e6)(t,n)}else(0,a.H)("Cannot find ad '".concat(t.adId,"' for x-origin event request"))}});var k=n(1974),x=n(9062),A=n(4679),S=n(2797),P=n(5975),j=[],D=1;v.vc.getConfig("ttlBuffer",(function(e){"number"==typeof e.ttlBuffer?D=e.ttlBuffer:(0,a.H)("Invalid value for ttlBuffer",e.ttlBuffer)}));var R="targetingControls.allowTargetingKeys",B="targetingControls.addTargetingKeys",U='Only one of "'.concat(R,'" or "').concat(B,'" can be set'),N=Object.keys(l.TD).map((function(e){return l.TD[e]})),Z={isActualBid:function(e){return e.getStatusCode()===l.Q_.Q},isBidNotExpired:function(e){return e.responseTimestamp+1e3*(e.ttl-(e.hasOwnProperty("ttlBuffer")?e.ttlBuffer:D))>(0,a.AB)()},isUnusedBid:function(e){return e&&(e.status&&!(0,p.q9)([l.UE.fe],e.status)||!e.status)}};function q(e){return!Object.values(Z).some((function(t){return!t(e)}))}var M=(0,S.z3)("sync",(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!(arguments.length>3&&void 0!==arguments[3]&&arguments[3])){var r=[],i=v.vc.getConfig("sendBidsControl.dealPrioritization"),o=(0,a.vM)(e,"adUnitCode");return Object.keys(o).forEach((function(e){var s=[],c=(0,a.vM)(o[e],"bidderCode");Object.keys(c).forEach((function(e){return s.push(c[e].reduce(t))})),n>0?(s=i?s.sort(z(!0)):s.sort((function(e,t){return t.cpm-e.cpm})),r.push.apply(r,(0,x.Z)(s.slice(0,n)))):r.push.apply(r,(0,x.Z)(s))})),r}return e}));function z(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){return void 0!==t.adserverTargeting.hb_deal&&void 0===n.adserverTargeting.hb_deal?-1:void 0===t.adserverTargeting.hb_deal&&void 0!==n.adserverTargeting.hb_deal?1:e?n.cpm-t.cpm:n.adserverTargeting.hb_pb-t.adserverTargeting.hb_pb}}var F=function(e){var t={},n={};function r(e,t){return e.adserverTargeting&&t&&((0,a.kJ)(t)&&(0,p.q9)(t,e.adUnitCode)||"string"==typeof t&&e.adUnitCode===t)}function o(t){return"string"==typeof t?[t]:(0,a.kJ)(t)?t:e.getAdUnitCodes()||[]}function c(){var t=e.getBidsReceived();if(v.vc.getConfig("useBidCache")){var r=v.vc.getConfig("bidCacheFilterFunction");"function"==typeof r&&(t=t.filter((function(e){return n[e.adUnitCode]===e.auctionId||!!r(e)})))}else t=t.filter((function(e){return n[e.adUnitCode]===e.auctionId}));return t=t.filter((function(e){return(0,s.Z)(e,"video.context")!==A.Oh})).filter(q),M(t,a.K$)}function d(e,n){var r=t.getWinningBids(e,n),o=f();return r=r.map((function(e){return(0,i.Z)({},e.adUnitCode,Object.keys(e.adserverTargeting).filter((function(t){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===o.indexOf(t)})).reduce((function(t,n){var r=[e.adserverTargeting[n]],o=(0,i.Z)({},n.substring(0,20),r);if(n===l.TD.DEAL){var a="".concat(n,"_").concat(e.bidderCode).substring(0,20),s=(0,i.Z)({},a,r);return[].concat((0,x.Z)(t),[o,s])}return[].concat((0,x.Z)(t),[o])}),[]))})),r}function f(){return e.getStandardBidderAdServerTargeting().map((function(e){return e.key})).concat(N).filter(a.tT)}function g(e,t,n,r){return Object.keys(t.adserverTargeting).filter(m()).forEach((function(n){e.length&&e.filter(function(e){return function(n){return n.adUnitCode===t.adUnitCode&&n.adserverTargeting[e]}}(n)).forEach(function(e){return function(n){(0,a.kJ)(n.adserverTargeting[e])||(n.adserverTargeting[e]=[n.adserverTargeting[e]]),n.adserverTargeting[e]=n.adserverTargeting[e].concat(t.adserverTargeting[e]).filter(a.tT),delete t.adserverTargeting[e]}}(n))})),e.push(t),e}function m(){var e=f();return e=e.concat(u.xc),function(t){return-1===e.indexOf(t)}}function h(e){return(0,i.Z)({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(m()).map((function(t){return(0,i.Z)({},t.substring(0,20),[e.adserverTargeting[t]])})))}function y(e,t){return t.map((function(t){return(0,i.Z)({},"".concat(t,"_").concat(e.bidderCode).substring(0,20),[e.adserverTargeting[t]])}))}return t.setLatestAuctionForAdUnit=function(e,t){n[e]=t},t.resetPresetTargeting=function(t,n){if((0,a.T9)()){var r=o(t),i=e.getAdUnits().filter((function(e){return(0,p.q9)(r,e.code)})),s=j.reduce((function(e,t){return e[t]=null,e}),{});window.googletag.pubads().getSlots().forEach((function(e){var t=(0,a.LQ)(n)&&n(e);i.forEach((function(n){(n.code===e.getAdUnitPath()||n.code===e.getSlotElementId()||(0,a.LQ)(t)&&t(n.code))&&e.updateTargetingFromMap(s)}))}))}},t.resetPresetTargetingAST=function(e){o(e).forEach((function(e){var t=window.apntag.getTag(e);if(t&&t.keywords){var n=Object.keys(t.keywords),r={};n.forEach((function(e){(0,p.q9)(j,e.toLowerCase())||(r[e]=t.keywords[e])})),window.apntag.modifyTag(e,{keywords:r})}}))},t.getAllTargeting=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c(),f=o(t),m=d(f,n).concat(function(e,t){return t.filter((function(t){return(0,p.q9)(e,t.adUnitCode)})).map((function(e){return Object.assign({},e)})).reduce(g,[]).map(h).filter((function(e){return e}))}(f,n)).concat(v.vc.getConfig("enableSendAllBids")?function(e,t){var n=N.concat(u.xc),o=v.vc.getConfig("sendBidsControl.bidLimit"),s=M(t,a.ZH,o),c=v.vc.getConfig("targetingControls.allowSendAllBidsTargetingKeys"),d=c?c.map((function(e){return l.TD[e]})):n;return s.map((function(t){if(r(t,e))return(0,i.Z)({},t.adUnitCode,y(t,n.filter((function(e){return void 0!==t.adserverTargeting[e]&&-1!==d.indexOf(e)}))))})).filter((function(e){return e}))}(f,n):function(e,t){if(!0===v.vc.getConfig("targetingControls.alwaysIncludeDeals")){var n=N.concat(u.xc);return M(t,a.ZH).map((function(t){if(t.dealId&&r(t,e))return(0,i.Z)({},t.adUnitCode,y(t,n.filter((function(e){return void 0!==t.adserverTargeting[e]}))))})).filter((function(e){return e}))}return[]}(f,n)).concat(function(t){function n(e){return(0,s.Z)(e,l.k2.xn)}return e.getAdUnits().filter((function(e){return(0,p.q9)(t,e.code)&&n(e)})).map((function(e){return(0,i.Z)({},e.code,function(e){var t=n(e);return Object.keys(t).map((function(e){return(0,a.d8)(t[e])&&(t[e]=t[e].split(",").map((function(e){return e.trim()}))),(0,a.kJ)(t[e])||(t[e]=[t[e]]),(0,i.Z)({},e,t[e])}))}(e))}))}(f));m.map((function(e){Object.keys(e).map((function(t){e[t].map((function(e){-1===j.indexOf(Object.keys(e)[0])&&(j=Object.keys(e).concat(j))}))}))}));var b=Object.keys(Object.assign({},l.kF,l.FY)),_=v.vc.getConfig(R),I=v.vc.getConfig(B);if(null!=I&&null!=_)throw new Error(U);_=null!=I?b.concat(I):_||b,Array.isArray(_)&&_.length>0&&(m=function(e,t){var n=Object.assign({},l.TD,l.FY),r=Object.keys(n),i={};(0,a.PN)("allowTargetingKeys - allowed keys [ ".concat(t.map((function(e){return n[e]})).join(", ")," ]")),e.map((function(e){var o=Object.keys(e)[0],a=e[o].filter((function(e){var o=Object.keys(e)[0],a=0===r.filter((function(e){return 0===o.indexOf(n[e])})).length||(0,p.sE)(t,(function(e){var t=n[e];return 0===o.indexOf(t)}));return i[o]=!a,a}));e[o]=a}));var o=Object.keys(i).filter((function(e){return i[e]}));return(0,a.PN)("allowTargetingKeys - removed keys [ ".concat(o.join(", ")," ]")),e.filter((function(e){return e[Object.keys(e)[0]].length>0}))}(m,_)),m=function(e){var t=e.map((function(e){return(0,i.Z)({},Object.keys(e)[0],e[Object.keys(e)[0]].map((function(e){return(0,i.Z)({},Object.keys(e)[0],e[Object.keys(e)[0]].join(","))})).reduce((function(e,t){return Object.assign(t,e)}),{}))})).reduce((function(e,t){var n=Object.keys(t)[0];return e[n]=Object.assign({},e[n],t[n]),e}),{});return t}(m);var w=v.vc.getConfig("targetingControls.auctionKeyMaxChars");return w&&((0,a.PN)("Detected 'targetingControls.auctionKeyMaxChars' was active for this auction; set with a limit of ".concat(w," characters.  Running checks on auction keys...")),m=function(e,t){var n=(0,a.I8)(e),r=Object.keys(n).map((function(e){return{adUnitCode:e,adserverTargeting:n[e]}})).sort(z());return r.reduce((function(e,r,i,o){var s,c=(s=r.adserverTargeting,Object.keys(s).reduce((function(e,t){return e+"".concat(t,"%3d").concat(encodeURIComponent(s[t]),"%26")}),""));i+1===o.length&&(c=c.slice(0,-3));var d=r.adUnitCode,u=c.length;return u<=t?(t-=u,(0,a.PN)("AdUnit '".concat(d,"' auction keys comprised of ").concat(u," characters.  Deducted from running threshold; new limit is ").concat(t),n[d]),e[d]=n[d]):(0,a.yN)("The following keys for adUnitCode '".concat(d,"' exceeded the current limit of the 'auctionKeyMaxChars' setting.\nThe key-set size was ").concat(u,", the current allotted amount was ").concat(t,".\n"),n[d]),i+1===o.length&&0===Object.keys(e).length&&(0,a.H)("No auction targeting keys were permitted due to the setting in setConfig(targetingControls.auctionKeyMaxChars).  Please review setup and consider adjusting."),e}),{})}(m,w)),f.forEach((function(e){m[e]||(m[e]={})})),m},v.vc.getConfig("targetingControls",(function(e){null!=(0,s.Z)(e,R)&&null!=(0,s.Z)(e,B)&&(0,a.H)(U)})),t.setTargetingForGPT=function(e,t){window.googletag.pubads().getSlots().forEach((function(n){Object.keys(e).filter(t?t(n):(0,a.zV)(n)).forEach((function(t){Object.keys(e[t]).forEach((function(n){var r=e[t][n];"string"==typeof r&&-1!==r.indexOf(",")&&(r=r.split(",")),e[t][n]=r})),(0,a.ji)("Attempting to set targeting-map for slot: ".concat(n.getSlotElementId()," with targeting-map:"),e[t]),n.updateTargetingFromMap(e[t])}))}))},t.getWinningBids=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c(),n=o(e);return t.filter((function(e){return(0,p.q9)(n,e.adUnitCode)})).filter((function(e){return!0===P.S.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0})).map((function(e){return e.adUnitCode})).filter(a.tT).map((function(e){return t.filter((function(t){return t.adUnitCode===e?t:null})).reduce(a.ZH)}))},t.setTargetingForAst=function(e){var n=t.getAllTargeting(e);try{t.resetPresetTargetingAST(e)}catch(e){(0,a.H)("unable to reset targeting for AST"+e)}Object.keys(n).forEach((function(e){return Object.keys(n[e]).forEach((function(t){if((0,a.ji)("Attempting to set targeting for targetId: ".concat(e," key: ").concat(t," value: ").concat(n[e][t])),(0,a.d8)(n[e][t])||(0,a.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,a.LQ)(window.apntag.setKeywords))return!0},t}(f.K),H=n(9626),L=n(5730),K=n(8792),W="__pbjs_debugging__";function J(){return(0,o.R)().installedModules.includes("debugging")}function V(e){return new K.Z((function(t){(0,L.B)(e,"debugging",t)}))}var G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.load,n=void 0===t?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alreadyInstalled,n=void 0===t?J:t,r=e.script,i=void 0===r?V:r,s=null;return function(){return null==s&&(s=new K.Z((function(e,t){setTimeout((function(){if(n())e();else{var r="https://cdn.jsdelivr.net/npm/prebid.js@7.34.0/dist/debugging-standalone.js";(0,a.ji)('Debugging module not installed, loading it from "'.concat(r,'"...')),(0,o.R)()._installDebugging=!0,i(r).then((function(){(0,o.R)()._installDebugging({DEBUG_KEY:W,hook:S.z3,config:v.vc,createBid:H.m,logger:(0,a.qp)("DEBUG:")})})).then(e,t)}}))}))),s}}():t,r=e.hook,i=void 0===r?(0,S.v5)("requestBids"):r,s=null,c=!1;function d(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(s||K.Z.resolve()).then((function(){return e.apply(t,r)}))}function u(){i.getHooks({hook:d}).remove(),c=!1}return{enable:function(){c||(s=n(),i.before(d,99),c=!0)},disable:u,reset:function(){s=null,u()}}}();G.reset,v.vc.getConfig("debugging",(function(e){var t=e.debugging;null!=t&&t.enabled?G.enable():G.disable()}));var X=n(875),Y=n(5164),Q=n(1039),$=n(9128),ee=n(8176),te=(0,o.R)(),ne=k.k_.triggerUserSyncs,re=l.FP,ie=re.ADD_AD_UNITS,oe=re.BID_WON,ae=re.REQUEST_BIDS,se=re.SET_TARGETING,ce=re.STALE_RENDER,de=l.q_,ue=de.PREVENT_WRITING_ON_MAIN_DOCUMENT,le=de.NO_AD,fe=de.EXCEPTION,pe=de.CANNOT_FIND_AD,ge=de.MISSING_DOC_OR_ADID,ve={bidWon:function(e){var t=f.K.getBidsRequested().map((function(e){return e.bids.map((function(e){return e.adUnitCode}))})).reduce(a.xH).filter(a.tT);if((0,a.r3)(t,e))return!0;(0,a.H)('The "'+e+'" placement is not defined.')}};function me(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function he(e,t){var n=[];return(0,a.kJ)(e)&&(t?e.length===t:e.length>0)&&(e.every((function(e){return(0,a.HC)(e,2)}))?n=e:(0,a.HC)(e,2)&&n.push(e)),n}function ye(e){var t=(0,a.I8)(e),n=t.mediaTypes.banner,r=he(n.sizes);return r.length>0?(n.sizes=r,t.sizes=r):((0,a.H)("Detected a mediaTypes.banner object without a proper sizes field.  Please ensure the sizes are listed like: [[300, 250], ...].  Removing invalid mediaTypes.banner object from request."),delete t.mediaTypes.banner),t}function be(e){var t=(0,a.I8)(e),n=t.mediaTypes.video;if(n.playerSize){var r="number"==typeof n.playerSize[0]?2:1,i=he(n.playerSize,r);i.length>0?(2===r&&(0,a.PN)("Transforming video.playerSize from [640,480] to [[640,480]] so it's in the proper format."),n.playerSize=i,t.sizes=i):((0,a.H)("Detected incorrect configuration of mediaTypes.video.playerSize.  Please specify only one set of dimensions in a format like: [[640, 480]]. Removing invalid mediaTypes.video.playerSize property from request."),delete t.mediaTypes.video.playerSize)}return t}function _e(e){var t=(0,a.I8)(e),n=t.mediaTypes.native;if(n.ortb){var r=Object.keys(l.FY).filter((function(e){return l.FY[e].includes("hb_native_")})),i=Object.keys(n).filter((function(e){return r.includes(e)}));i.length>0&&((0,a.H)("when using native OpenRTB format, you cannot use legacy native properties. Deleting ".concat(i," keys from request.")),i.forEach((function(e){return delete t.mediaTypes.native[e]})))}return n.image&&n.image.sizes&&!Array.isArray(n.image.sizes)&&((0,a.H)("Please use an array of sizes for native.image.sizes field.  Removing invalid mediaTypes.native.image.sizes property from request."),delete t.mediaTypes.native.image.sizes),n.image&&n.image.aspect_ratios&&!Array.isArray(n.image.aspect_ratios)&&((0,a.H)("Please use an array of sizes for native.image.aspect_ratios field.  Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete t.mediaTypes.native.image.aspect_ratios),n.icon&&n.icon.sizes&&!Array.isArray(n.icon.sizes)&&((0,a.H)("Please use an array of sizes for native.icon.sizes field.  Removing invalid mediaTypes.native.icon.sizes property from request."),delete t.mediaTypes.native.icon.sizes),t}function Ie(e,t){var n=(0,s.Z)(e,"mediaTypes.".concat(t,".pos"));if(!(0,a.hj)(n)||isNaN(n)||!isFinite(n)){var r="Value of property 'pos' on ad unit ".concat(e.code," should be of type: Number");(0,a.yN)(r),d.j8(l.FP.AUCTION_DEBUG,{type:"WARNING",arguments:r}),delete e.mediaTypes[t].pos}return e}function we(e){var t=function(t){return"adUnit.code '".concat(e.code,"' ").concat(t)},n=e.mediaTypes,r=e.bids;return null==r||(0,a.kJ)(r)?null==r&&null==e.ortb2Imp?((0,a.H)(t("has no 'adUnit.bids' and no 'adUnit.ortb2Imp'. Removing adUnit from auction")),null):n&&0!==Object.keys(n).length?(null==e.ortb2Imp||null!=r&&0!==r.length||(e.bids=[{bidder:null}],(0,a.ji)(t("defines 'adUnit.ortb2Imp' with no 'adUnit.bids'; it will be seen only by S2S adapters"))),e):((0,a.H)(t("does not define a 'mediaTypes' object.  This is a required field for the auction, so this adUnit has been removed.")),null):((0,a.H)(t("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 t=G,n=null;try{n=e.getItem(W)}catch(e){}null!==n&&t.enable()}}(),te.bidderSettings=te.bidderSettings||{},te.libLoaded=!0,te.version="v7.34.0",(0,a.PN)("Prebid.js v7.34.0 loaded"),te.installedModules=te.installedModules||[],te.adUnits=te.adUnits||[],te.triggerUserSyncs=ne;var Ee={validateAdUnit:we,validateBannerMediaType:ye,validateVideoMediaType:be,validateSizes:he};Object.assign(Ee,{validateNativeMediaType:_e});var Oe,Te=(0,S.z3)("sync",(function(e){var t=[];return e.forEach((function(e){if(null!=(e=we(e))){var n,r,i,o=e.mediaTypes;o.banner&&(n=ye(e),o.banner.hasOwnProperty("pos")&&(n=Ie(n,"banner"))),o.video&&(r=be(n||e),o.video.hasOwnProperty("pos")&&(r=Ie(r,"video"))),o.native&&(i=_e(r||n||e));var a=Object.assign({},n,r,i);t.push(a)}})),t}),"checkAdUnitSetup");function Ce(e){var t=f.K[e]().filter(a.ak.call(a.IK,this,f.K.getAdUnitCodes())),n=f.K.getLastAuctionId();return t.map((function(e){return e.adUnitCode})).filter(a.tT).map((function(e){return t.filter((function(t){return t.auctionId===n&&t.adUnitCode===e}))})).filter((function(e){return e&&e[0]&&e[0].adUnitCode})).map((function(e){return(0,i.Z)({},e[0].adUnitCode,{bids:e})})).reduce((function(e,t){return Object.assign(e,t)}),{})}function ke(e,t,n){var r=t.querySelector(n);e.parentNode&&e.parentNode===r||(0,a.jC)(e,t,n)}te.getAdserverTargetingForAdUnitCodeStr=function(e){if((0,a.PN)("Invoking pbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=te.getAdserverTargetingForAdUnitCode(e);return(0,a.Ob)(t)}(0,a.ji)("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},te.getHighestUnusedBidResponseForAdUnitCode=function(e){if(e){var t=f.K.getAllBidsForAdUnitCode(e).filter(q);return t.length?t.reduce(a.ZH):{}}(0,a.ji)("Need to call getHighestUnusedBidResponseForAdUnitCode with adunitCode")},te.getAdserverTargetingForAdUnitCode=function(e){return te.getAdserverTargeting(e)[e]},te.getAdserverTargeting=function(e){return(0,a.PN)("Invoking pbjs.getAdserverTargeting",arguments),F.getAllTargeting(e)},te.getConsentMetadata=function(){return(0,a.PN)("Invoking pbjs.getConsentMetadata"),{gdpr:Q.rp.getConsentMeta(),usp:Q.nX.getConsentMeta(),gpp:Q.TJ.getConsentMeta(),coppa:!!v.vc.getConfig("coppa")}},te.getNoBids=function(){return(0,a.PN)("Invoking pbjs.getNoBids",arguments),Ce("getNoBids")},te.getNoBidsForAdUnitCode=function(e){return{bids:f.K.getNoBids().filter((function(t){return t.adUnitCode===e}))}},te.getBidResponses=function(){return(0,a.PN)("Invoking pbjs.getBidResponses",arguments),Ce("getBidsReceived")},te.getBidResponsesForAdUnitCode=function(e){return{bids:f.K.getBidsReceived().filter((function(t){return t.adUnitCode===e}))}},te.setTargetingForGPTAsync=function(e,t){if((0,a.PN)("Invoking pbjs.setTargetingForGPTAsync",arguments),(0,a.T9)()){var n=F.getAllTargeting(e);F.resetPresetTargeting(e,t),F.setTargetingForGPT(n,t),Object.keys(n).forEach((function(e){Object.keys(n[e]).forEach((function(t){"hb_adid"===t&&f.K.setStatusForBids(n[e][t],l.UE.CK)}))})),d.j8(se,n)}else(0,a.H)("window.googletag is not defined on the page")},te.setTargetingForAst=function(e){(0,a.PN)("Invoking pbjs.setTargetingForAn",arguments),F.isApntagDefined()?(F.setTargetingForAst(e),d.j8(se,F.getAllTargeting())):(0,a.H)("window.apntag is not defined on the page")},te.renderAd=(0,S.z3)("async",(function(e,t,n){if((0,a.PN)("Invoking pbjs.renderAd",arguments),(0,a.ji)("Calling renderAd with adId :"+t),t)try{var r=f.K.findBidByAdId(t);if(!r){var i="Error trying to write ad. Cannot find ad by given id : ".concat(t);return void b({reason:pe,message:i,id:t})}if(r.status===l.UE.fe&&((0,a.yN)("Ad id ".concat(r.adId," has been rendered before")),d.j8(ce,r),(0,s.Z)(v.vc.getConfig("auctionOptions"),"suppressStaleRender")))return;if(r.ad=(0,a.ew)(r.ad,r.originalCpm||r.cpm),r.adUrl=(0,a.ew)(r.adUrl,r.originalCpm||r.cpm),n&&n.clickThrough){var o=n.clickThrough;r.ad=(0,a.x_)(r.ad,o),r.adUrl=(0,a.x_)(r.adUrl,o)}f.K.addWinningBid(r),d.j8(oe,r);var c=r.height,u=r.width,p=r.ad,m=r.mediaType,h=r.adUrl,y=r.renderer,I=r.adUnitCode,w=te.adUnits.filter((function(e){return e.code===I})),E=te.videoModule;if(w.video&&E)return void E.renderBid(w.video.divId,r);if(!e){var O="Error trying to write ad Id :".concat(t," to the page. Missing document");return void b({reason:ge,message:O,id:t})}var T=document.createComment("Creative ".concat(r.creativeId," served by ").concat(r.bidder," Prebid.js Header Bidding"));if((0,a.jC)(T,e,"html"),(0,g.Pd)(y))(0,g._U)(y,r,e),ke(T,e,"html"),_({doc:e,bid:r,id:t});else if(e===document&&!(0,a.yL)()||"video"===m){var C="Error trying to write ad. Ad render call ad id ".concat(t," was prevented from writing to the main document.");b({reason:ue,message:C,bid:r,id:t})}else if(p)e.write(p),e.close(),me(e,u,c),ke(T,e,"html"),(0,a.R_)(r),_({doc:e,bid:r,id:t});else if(h){var k=(0,a.$u)();k.height=c,k.width=u,k.style.display="inline",k.style.overflow="hidden",k.src=h,(0,a.jC)(k,e,"body"),me(e,u,c),ke(T,e,"html"),(0,a.R_)(r),_({doc:e,bid:r,id:t})}else{var x="Error trying to write ad. No ad for bid response id: ".concat(t);b({reason:le,message:x,bid:r,id:t})}}catch(e){var A="Error trying to write ad Id :".concat(t," to the page:").concat(e.message);b({reason:fe,message:A,id:t})}else{var S="Error trying to write ad Id :".concat(t," to the page. Missing adId");b({reason:ge,message:S,id:t})}})),te.removeAdUnit=function(e){(0,a.PN)("Invoking pbjs.removeAdUnit",arguments),e?((0,a.kJ)(e)?e:[e]).forEach((function(e){for(var t=te.adUnits.length-1;t>=0;t--)te.adUnits[t].code===e&&te.adUnits.splice(t,1)})):te.adUnits=[]},te.requestBids=(Oe=(0,S.z3)("async",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,i=e.adUnits,o=e.adUnitCodes,s=e.labels,c=e.auctionId,u=e.ttlBuffer,l=e.ortb2,f=e.metrics,g=e.defer;d.j8(ae);var m=n||v.vc.getConfig("bidderTimeout");(0,a.PN)("Invoking pbjs.requestBids",arguments),o&&o.length?i=i.filter((function(e){return(0,p.q9)(o,e.code)})):o=i&&i.map((function(e){return e.code}));var h={global:(0,a.Ee)({},v.vc.getAnyConfig("ortb2")||{},l||{}),bidder:Object.fromEntries(Object.entries(v.vc.getBidderConfig()).map((function(e){var t=(0,r.Z)(e,2);return[t[0],t[1].ortb2]})).filter((function(e){var t=(0,r.Z)(e,2);return t[0],null!=t[1]})))};return(0,ee.S)(K.Z.resolve(h.global)).then((function(e){return h.global=e,xe({bidsBackHandler:t,timeout:m,adUnits:i,adUnitCodes:o,labels:s,auctionId:c,ttlBuffer:u,ortb2Fragments:h,metrics:f,defer:g})}))}),"requestBids"),(0,S.IF)(Oe,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.adUnits||te.adUnits;return e.adUnits=(0,a.kJ)(t)?t.slice():[t],e.metrics=(0,$.V6)(),e.metrics.checkpoint("requestBids"),e.defer=(0,K.P)({promiseFactory:function(e){return new Promise(e)}}),Oe.call(this,e),e.defer.promise})));var xe=(0,S.z3)("async",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,i=e.ttlBuffer,o=e.adUnitCodes,s=e.labels,d=e.auctionId,u=e.ortb2Fragments,l=e.metrics,g=e.defer,m=(0,Q.uV)(v.vc.getConfig("s2sConfig")||[]);function h(e,n,r){if("function"==typeof t)try{t(e,n,r)}catch(e){(0,a.H)("Error executing bidsBackHandler",null,e)}g.resolve({bids:e,timedOut:n,auctionId:r})}if((r=(0,$.Bf)(l).measureTime("requestBids.validate",(function(){return Te(r)}))).forEach((function(e){var t,n,r=Object.keys(e.mediaTypes||{banner:"banner"}),o=e.bids.map((function(e){return e.bidder})),s=Q.ZP.bidderRegistry,d=o.filter((function(e){return!m.has(e)})),u=(null===(t=e.ortb2Imp)||void 0===t||null===(n=t.ext)||void 0===n?void 0:n.tid)||(0,a.DO)();e.transactionId=u,null==i||e.hasOwnProperty("ttlBuffer")||(e.ttlBuffer=i),(0,c.N)(e,"ortb2Imp.ext.tid",u),d.forEach((function(t){var n=s[t],i=n&&n.getSpec&&n.getSpec(),o=i&&i.supportedMediaTypes||["banner"];r.some((function(e){return(0,p.q9)(o,e)}))?X.f.incrementBidderRequestsCounter(e.code,t):((0,a.yN)((0,a.or)(e,t)),e.bids=e.bids.filter((function(e){return e.bidder!==t})))})),X.f.incrementRequestsCounter(e.code)})),r&&0!==r.length){var y=f.K.createAuction({adUnits:r,adUnitCodes:o,callback:h,cbTimeout:n,labels:s,auctionId:d,ortb2Fragments:u,metrics:l}),b=r.length;b>15&&(0,a.PN)("Current auction ".concat(y.getAuctionId()," contains ").concat(b," adUnits."),r),o.forEach((function(e){return F.setLatestAuctionForAdUnit(e,y.getAuctionId())})),y.callBids()}else(0,a.ji)("No adUnits configured. No bids requested."),h()}),"startAuction");te.requestBids.before((function(e,t){function n(e){for(var t;t=e.shift();)t()}n(Y.Ld),n(Ae),e.call(this,t)}),49),te.addAdUnits=function(e){(0,a.PN)("Invoking pbjs.addAdUnits",arguments),te.adUnits.push.apply(te.adUnits,(0,a.kJ)(e)?e:[e]),d.j8(ie)},te.onEvent=function(e,t,n){(0,a.PN)("Invoking pbjs.onEvent",arguments),(0,a.LQ)(t)?!n||ve[e].call(null,n)?d.on(e,t,n):(0,a.H)('The id provided is not valid for event "'+e+'" and no handler was set.'):(0,a.H)('The event handler provided is not a function and was not set on event "'+e+'".')},te.offEvent=function(e,t,n){(0,a.PN)("Invoking pbjs.offEvent",arguments),n&&!ve[e].call(null,n)||d.S1(e,t,n)},te.getEvents=function(){return(0,a.PN)("Invoking pbjs.getEvents"),d.vw()},te.registerBidAdapter=function(e,t){(0,a.PN)("Invoking pbjs.registerBidAdapter",arguments);try{Q.ZP.registerBidAdapter(e(),t)}catch(e){(0,a.H)("Error registering bidder adapter : "+e.message)}},te.registerAnalyticsAdapter=function(e){(0,a.PN)("Invoking pbjs.registerAnalyticsAdapter",arguments);try{Q.ZP.registerAnalyticsAdapter(e)}catch(e){(0,a.H)("Error registering analytics adapter : "+e.message)}},te.createBid=function(e){return(0,a.PN)("Invoking pbjs.createBid",arguments),(0,H.m)(e)};var Ae=[],Se=(0,S.z3)("async",(function(e){e&&!(0,a.xb)(e)?((0,a.PN)("Invoking pbjs.enableAnalytics for: ",e),Q.ZP.enableAnalytics(e)):(0,a.H)("pbjs.enableAnalytics should be called with option {}")}),"enableAnalyticsCb");function Pe(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){(0,a.H)("Error processing command :","prebid.js",e)}}))}te.enableAnalytics=function(e){Ae.push(Se.bind(this,e))},te.aliasBidder=function(e,t,n){(0,a.PN)("Invoking pbjs.aliasBidder",arguments),e&&t?Q.ZP.aliasBidAdapter(e,t,n):(0,a.H)("bidderCode and alias must be passed as arguments","pbjs.aliasBidder")},te.getAllWinningBids=function(){return f.K.getAllWinningBids()},te.getAllPrebidWinningBids=function(){return f.K.getBidsReceived().filter((function(e){return e.status===l.UE.CK}))},te.getHighestCpmBids=function(e){return F.getWinningBids(e)},te.markWinningBidAsUsed=function(e){var t=[];e.adUnitCode&&e.adId?t=f.K.getBidsReceived().filter((function(t){return t.adId===e.adId&&t.adUnitCode===e.adUnitCode})):e.adUnitCode?t=F.getWinningBids(e.adUnitCode):e.adId?t=f.K.getBidsReceived().filter((function(t){return t.adId===e.adId})):(0,a.yN)("Improper use of markWinningBidAsUsed. It needs an adUnitCode or an adId to function."),t.length>0&&(t[0].status=l.UE.fe)},te.getConfig=v.vc.getAnyConfig,te.readConfig=v.vc.readAnyConfig,te.mergeConfig=v.vc.mergeConfig,te.mergeBidderConfig=v.vc.mergeBidderConfig,te.setConfig=v.vc.setConfig,te.setBidderConfig=v.vc.setBidderConfig,te.que.push((function(){window.addEventListener("message",T,!1)})),te.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){(0,a.H)("Error processing command :",e.message,e.stack)}else(0,a.H)("Commands written into pbjs.cmd.push must be wrapped in a function")},te.que.push=te.cmd.push,te.processQueue=function(){S.z3.ready(),Pe(te.que),Pe(te.cmd)}},8640:function(e,t,n){function r(){return window.pbjs}n.d(t,{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,t,n){n.d(t,{hh:function(){return a},nH:function(){return s}});var r=n(3193),i=n(4358);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(!e)return e;if(/\w+:\/\//.exec(e))return e;var n=t.location.protocol;try{n=t.top.location.protocol}catch(e){}return/^\/\//.exec(e)?n+e:"".concat(n,"//").concat(e)}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.noLeadingWww,r=void 0!==n&&n,i=t.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 s=function(e){function t(e){try{var t=e.querySelector("link[rel='canonical']");if(null!==t)return t.href}catch(e){}return null}return function(){var n,s,c,d,u=[],l=function(e){try{if(!e.location.ancestorOrigins)return;return e.location.ancestorOrigins}catch(e){}}(e),f=r.vc.getConfig("maxNestedIframes"),p=!1,g=0,v=!1,m=!1,h=!1;do{var y=n,b=m,_=void 0,I=!1,w=null;m=!1,n=n?n.parent:e;try{_=n.location.href||null}catch(e){I=!0}if(I)if(b){var E=y.context;try{s=w=E.sourceUrl,h=!0,v=!0,n===e.top&&(p=!0),E.canonicalUrl&&(c=E.canonicalUrl)}catch(e){}}else{(0,i.yN)("Trying to access cross domain iframe. Continuing without referrer and location");try{var O=y.document.referrer;O&&(w=O,n===e.top&&(p=!0))}catch(e){}!w&&l&&l[g-1]&&(w=l[g-1],n===e.top&&(h=!0)),w&&!v&&(s=w)}else{if(_&&(s=w=_,v=!1,n===e.top)){p=!0;var T=t(n.document);T&&(c=T)}n.context&&n.context.sourceUrl&&(m=!0)}u.push(w),g++}while(n!==e.top&&g<f);u.reverse();try{d=e.top.document.referrer}catch(e){}var C=p||h?s:null,k=r.vc.getConfig("pageUrl")||c||null,x=r.vc.getConfig("pageUrl")||C||o(k,e);return C&&C.indexOf("?")>-1&&-1===x.indexOf("?")&&(x="".concat(x).concat(C.substring(C.indexOf("?")))),{reachedTop:p,isAmp:v,numIframes:g-1,stack:u,topmostLocation:s||null,location:C,canonicalUrl:k,page:x,domain:a(x)||null,ref:d||null,legacy:{reachedTop:p,isAmp:v,numIframes:g-1,stack:u,referer:s||null,canonicalUrl:k}}}}(window)},5164:function(e,t,n){n.d(t,{Ld:function(){return c},df:function(){return f},eA:function(){return l}});var r=n(2797),i=n(4358),o=n(5975),a=n(4516),s=["core","prebid-module"],c=[];function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.gvlid,n=e.moduleName,r=e.bidderCode,d=e.moduleType,l=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).bidderSettings,f=void 0===l?o.S:l;function p(e){var o;return function(){if(null==r)return!0;var e=f.get(r,"storageAllowed");return null!=e&&e}()?(u(t,r||n,{hasEnforcementHook:!1},(function(t){if(t&&t.hasEnforcementHook)o=e(t);else{var n={hasEnforcementHook:!1,valid:(0,i.wn)()};o=e(n)}})),o):((0,i.PN)("bidderSettings denied access to device storage for bidder '".concat(r,"'")),e({valid:!1}))}s.includes(d)&&(t=t||a.$P);var g=function(e){var t=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 p(t);c.push((function(){var n=p(t);e(n)}))};return{setCookie:function(e,t,n,r,i,o){var a=function(o){if(o&&o.valid){var a=i&&""!==i?" ;domain=".concat(encodeURIComponent(i)):"",s=n&&""!==n?" ;expires=".concat(n):"",c=null!=r&&"none"==r.toLowerCase()?"; Secure":"";document.cookie="".concat(e,"=").concat(encodeURIComponent(t)).concat(s,"; path=/").concat(a).concat(r?"; SameSite=".concat(r):"").concat(c)}};if(!o||"function"!=typeof o)return p(a);c.push((function(){var e=p(a);o(e)}))},getCookie:function(e,t){var n=function(t){if(t&&t.valid){var n=window.document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]*)\\s*(;|$)");return n?decodeURIComponent(n[2]):null}return null};if(!t||"function"!=typeof t)return p(n);c.push((function(){var e=p(n);t(e)}))},localStorageIsEnabled:function(e){var t=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 p(t);c.push((function(){var n=p(t);e(n)}))},cookiesAreEnabled:function(e){var t=function(e){return!(!e||!e.valid)&&(0,i.IG)()};if(!e||"function"!=typeof e)return p(t);c.push((function(){var n=p(t);e(n)}))},setDataInLocalStorage:function(e,t,n){var r=function(n){n&&n.valid&&g()&&window.localStorage.setItem(e,t)};if(!n||"function"!=typeof n)return p(r);c.push((function(){var e=p(r);n(e)}))},getDataFromLocalStorage:function(e,t){var n=function(t){return t&&t.valid&&g()?window.localStorage.getItem(e):null};if(!t||"function"!=typeof t)return p(n);c.push((function(){var e=p(n);t(e)}))},removeDataFromLocalStorage:function(e,t){var n=function(t){t&&t.valid&&g()&&window.localStorage.removeItem(e)};if(!t||"function"!=typeof t)return p(n);c.push((function(){var e=p(n);t(e)}))},hasLocalStorage:g,findSimilarCookies:function(e,t){var n=function(t){if(t&&t.valid){var n=[];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&&n.push(decodeURIComponent(o.slice(a+1)))}return n}};if(!t||"function"!=typeof t)return p(n);c.push((function(){var e=p(n);t(e)}))}}}var u=(0,r.z3)("async",(function(e,t,n,r){r(n)}),"validateStorageEnforcement");function l(e){return d({moduleName:e,moduleType:"core"})}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.gvlid,n=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 d({gvlid:t,moduleName:n,bidderCode:r})}},1974:function(e,t,n){n.d(t,{k_:function(){return d}});var r=n(3324),i=n(4358),o=n(3193),a=n(4614),s=n(5164);o.vc.setDefaults({userSync:(0,i.I8)({syncEnabled:!0,filterSettings:{image:{bidders:"*",filter:"include"}},syncsPerBidder:5,syncDelay:3e3,auctionDelay:0})});var c=(0,s.eA)("usersync"),d=function(e){var t={},n={image:[],iframe:[]},s=new Set,c={},d={image:!0,iframe:!1},u=e.config;function l(){if(u.syncEnabled&&e.browserSupportsCookies){try{d.iframe&&f(n.iframe,(function(e){var t=(0,r.Z)(e,2),o=t[0],a=t[1];(0,i.ji)("Invoking iframe user sync for bidder: ".concat(o)),(0,i.Vs)(a),function(e,t){e.image=e.image.filter((function(e){return e[0]!==t}))}(n,o)})),d.image&&f(n.image,(function(e){var t=(0,r.Z)(e,2),n=t[0],o=t[1];(0,i.ji)("Invoking image pixel user sync for bidder: ".concat(n)),(0,i.hq)(o)}))}catch(e){return(0,i.H)("Error firing user syncs",e)}n={image:[],iframe:[]}}}function f(e,t){(0,i.TV)(e).forEach((function(e){t(e),s.add(e[0])}))}return o.vc.getConfig("userSync",(function(e){if(e.userSync){var t=e.userSync.filterSettings;(0,i.PO)(t)&&(t.image||t.all||(e.userSync.filterSettings.image={bidders:"*",filter:"include"}))}u=Object.assign(u,e.userSync)})),t.registerSync=function(e,r,o){return s.has(r)?(0,i.ji)('already fired syncs for "'.concat(r,'", ignoring registerSync call')):u.syncEnabled&&(0,i.kJ)(n[e])?r?0!==u.syncsPerBidder&&Number(c[r])>=u.syncsPerBidder?(0,i.yN)('Number of user syncs exceeded for "'.concat(r,'"')):t.canBidderRegisterSync(e,r)?(n[e].push([r,o]),void(c=function(e,t){return e[t]?e[t]+=1:e[t]=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'))},t.syncUsers=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(l,Number(e));l()},t.triggerUserSyncs=function(){u.enableOverride&&t.syncUsers()},t.canBidderRegisterSync=function(e,t){return!u.filterSettings||!function(e,t){var n=u.filterSettings;if(function(e,t){if(e.all&&e[t])return(0,i.yN)('Detected presence of the "filterSettings.all" and "filterSettings.'.concat(t,'" in userSync config.  You cannot mix "all" with "iframe/image" configs; they are mutually exclusive.')),!1;var n=e.all?e.all:e[t],r=e.all?"all":t;if(!n)return!1;var o=n.filter,a=n.bidders;return o&&"include"!==o&&"exclude"!==o?((0,i.yN)('UserSync "filterSettings.'.concat(r,".filter\" setting '").concat(o,"' is not a valid option; use either 'include' or 'exclude'.")),!1):!!("*"===a||Array.isArray(a)&&a.length>0&&a.every((function(e){return(0,i.d8)(e)&&"*"!==e})))||((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)}(n,e)){d[e]=!0;var r=n.all?n.all:n[e],o="*"===r.bidders?[t]:r.bidders,s={include:function(e,t){return!(0,a.q9)(e,t)},exclude:function(e,t){return(0,a.q9)(e,t)}};return s[r.filter||"include"](o,t)}return!d[e]}(e,t)},t}(Object.defineProperties({config:o.vc.getConfig("userSync")},{browserSupportsCookies:{get:function(){return!(0,i.fr)()&&c.cookiesAreEnabled()}}}))},4358:function(e,t,n){n.d(t,{$8:function(){return le},$u:function(){return W},AB:function(){return Re},Bq:function(){return Ye},D9:function(){return gt},DO:function(){return S},EE:function(){return O},Ee:function(){return dt},FS:function(){return ze},G2:function(){return Ge},H:function(){return F},HA:function(){return oe},HC:function(){return $e},HP:function(){return pt},I8:function(){return Ae},IG:function(){return Ne},IK:function(){return xe},K$:function(){return Te},LQ:function(){return G},NA:function(){return be},Ob:function(){return j},PN:function(){return M},PO:function(){return $},Q2:function(){return st},RI:function(){return ae},RR:function(){return ye},R_:function(){return ue},Re:function(){return P},S0:function(){return Fe},SG:function(){return pe},T9:function(){return we},TV:function(){return ke},U:function(){return Ve},V9:function(){return _e},Vs:function(){return fe},W$:function(){return lt},X4:function(){return Ee},XV:function(){return nt},Yp:function(){return ot},ZH:function(){return Oe},Zy:function(){return U},_R:function(){return ut},_d:function(){return A},ak:function(){return k},bd:function(){return Be},d5:function(){return rt},d8:function(){return X},dj:function(){return ft},e7:function(){return N},ei:function(){return Xe},en:function(){return at},ew:function(){return je},fr:function(){return Pe},hj:function(){return Q},hl:function(){return et},hq:function(){return de},iG:function(){return Me},jC:function(){return se},jH:function(){return ne},ji:function(){return q},jn:function(){return ee},kJ:function(){return Y},ky:function(){return We},oV:function(){return He},or:function(){return Je},pP:function(){return Ie},pw:function(){return D},qp:function(){return H},r3:function(){return ie},rD:function(){return J},sF:function(){return R},tT:function(){return ve},u2:function(){return _},uh:function(){return Qe},vM:function(){return qe},wn:function(){return Ue},xH:function(){return me},x_:function(){return De},xb:function(){return te},yL:function(){return Se},yN:function(){return z},yi:function(){return re},yo:function(){return tt},yx:function(){return Ze},zE:function(){return he},zV:function(){return Ke}});var r,i=n(3324),o=n(9062),a=n(4942),s=n(1002),c=n(3193),d=n(7079),u=n.n(d),l=n(4614),f=n(5644),p=n(8792),g=Object.prototype.toString,v=Boolean(window.console),m=Boolean(v&&window.console.log),h=Boolean(v&&window.console.info),y=Boolean(v&&window.console.warn),b=Boolean(v&&window.console.error);function _(e){r=e}function I(){null!=r&&r.apply(void 0,arguments)}var w={checkCookieSupport:Ne,createTrackPixelIframeHtml:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e?(t&&(e=encodeURI(e)),n&&(n='sandbox="'.concat(n,'"')),"<iframe ".concat(n,' id="').concat(A(),'"\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:N,getWindowTop:U,getWindowLocation:Z,insertUserSyncIframe:fe,insertElement:se,isFn:G,triggerPixel:de,logError:F,logWarn:z,logMessage:q,logInfo:M,parseQS:it,formatQS:ot,deepEqual:ct},E={};function O(){return E}var T,C={},k=function(e,t){return t}.bind(null,1,C)()===C?Function.prototype.bind:function(e){var t=this,n=Array.prototype.slice.call(arguments,1);return function(){return t.apply(e,n.concat(Array.prototype.slice.call(arguments)))}},x=(T=0,function(){return++T});function A(){return x()+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 P(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+"="+encodeURIComponent(e[n])+"&");return t.replace(/&$/,"")}function j(e){return e&&Object.getOwnPropertyNames(e).length>0?ye(e).map((function(t){return"".concat(t,"=").concat(encodeURIComponent(be(e,t)))})).join("&"):""}function D(e){if(e){var t=[];if(e.mediaTypes&&e.mediaTypes.banner&&Array.isArray(e.mediaTypes.banner.sizes)){var n=e.mediaTypes.banner.sizes;Array.isArray(n[0])?t=n:t.push(n)}else Array.isArray(e.sizes)&&(Array.isArray(e.sizes[0])?t=e.sizes:t.push(e.sizes));return t}}function R(e){var t=[];if("string"==typeof e){var n=e.split(","),r=/^(\d)+x(\d)+$/i;if(n)for(var i in n)ae(n,i)&&n[i].match(r)&&t.push(n[i])}else if("object"===(0,s.Z)(e)){var o=e.length;if(o>0)if(2===o&&"number"==typeof e[0]&&"number"==typeof e[1])t.push(B(e));else for(var a=0;a<o;a++)t.push(B(e[a]))}return t}function B(e){if(function(e){return Y(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1])}(e))return e[0]+"x"+e[1]}function U(){return window.top}function N(){return window.self}function Z(){return window.location}function q(){K()&&m&&console.log.apply(console,L(arguments,"MESSAGE:"))}function M(){K()&&h&&console.info.apply(console,L(arguments,"INFO:"))}function z(){K()&&y&&console.warn.apply(console,L(arguments,"WARNING:")),I(f.FP.AUCTION_DEBUG,{type:"WARNING",arguments})}function F(){K()&&b&&console.error.apply(console,L(arguments,"ERROR:")),I(f.FP.AUCTION_DEBUG,{type:"ERROR",arguments})}function H(e){function t(t){return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.apply(void 0,[e].concat(r))}}return{logError:t(F),logWarn:t(z),logMessage:t(q),logInfo:t(M)}}function L(e,t){e=[].slice.call(e);var n=c.vc.getCurrentBidder();return t&&e.unshift(t),n&&e.unshift(r("#aaa")),e.unshift(r("#3b88c3")),e.unshift("%cPrebid"+(n?"%c".concat(n):"")),e;function r(e){return"display: inline-block; color: #fff; background: ".concat(e,"; padding: 1px 4px; border-radius: 3px;")}}function K(){return!!c.vc.getConfig("debug")}function W(){var e=document.createElement("iframe");return e.id=A(),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 J(e){return it(Z().search)[e]||""}function V(e,t){return g.call(e)==="[object "+t+"]"}function G(e){return V(e,"Function")}function X(e){return V(e,"String")}function Y(e){return V(e,"Array")}function Q(e){return V(e,"Number")}function $(e){return V(e,"Object")}function ee(e){return V(e,"Boolean")}function te(e){if(!e)return!0;if(Y(e)||X(e))return!(e.length>0);for(var t in e)if(hasOwnProperty.call(e,t))return!1;return!0}function ne(e){return X(e)&&(!e||0===e.length)}function re(e,t){if(!te(e)){if(G(e.forEach))return e.forEach(t,this);var n=0,r=e.length;if(r>0)for(;n<r;n++)t(e[n],n,e);else for(n in e)hasOwnProperty.call(e,n)&&t.call(this,e[n],n)}}function ie(e,t){if(te(e))return!1;if(G(e.indexOf))return-1!==e.indexOf(t);for(var n=e.length;n--;)if(e[n]===t)return!0;return!1}function oe(e,t){if(te(e))return[];if(G(e.map))return e.map(t);var n=[];return re(e,(function(r,i){n.push(t(r,i,e))})),n}function ae(e,t){return e.hasOwnProperty?e.hasOwnProperty(t):void 0!==e[t]&&e.constructor.prototype[t]!==e[t]}function se(e,t,n,r){var i;t=t||document,i=n?t.getElementsByTagName(n):t.getElementsByTagName("head");try{if((i=i.length?i:t.getElementsByTagName("body")).length){i=i[0];var o=r?null:i.firstChild;return i.insertBefore(e,o)}}catch(e){}}function ce(e,t){var n=null;return new p.Z((function(r){var i=function t(){e.removeEventListener("load",t),e.removeEventListener("error",t),null!=n&&window.clearTimeout(n),r()};e.addEventListener("load",i),e.addEventListener("error",i),null!=t&&(n=window.setTimeout(i,t))}))}function de(e,t,n){var r=new Image;t&&w.isFn(t)&&ce(r,n).then(t),r.src=e}function ue(e){var t=e.source,n=e.burl;t===f.os.YZ&&n&&w.triggerPixel(n)}function le(e){if(e){var t=document.createElement("iframe");t.id=A(),t.width=0,t.height=0,t.hspace="0",t.vspace="0",t.marginWidth="0",t.marginHeight="0",t.style.display="none",t.style.height="0px",t.style.width="0px",t.scrolling="no",t.frameBorder="0",t.allowtransparency="true",w.insertElement(t,document,"body"),t.contentWindow.document.open(),t.contentWindow.document.write(e),t.contentWindow.document.close()}}function fe(e,t,n){var r=w.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),i=document.createElement("div");i.innerHTML=r;var o=i.firstChild;t&&w.isFn(t)&&ce(o,n).then(t),w.insertElement(o,document,"html",!0)}function pe(e){return e?'<div style="position:absolute;left:0px;top:0px;visibility:hidden;"><img src="'+encodeURI(e)+'"></div>':""}function ge(e,t,n){return null==t?n:X(t)?t:Q(t)?t.toString():void w.logWarn("Unsuported type for param: "+e+" required type: String")}function ve(e,t,n){return n.indexOf(e)===t}function me(e,t){return e.concat(t)}function he(e,t){var n;if(e)return t.some((function(t){var r=(0,l.sE)(t.bids,(function(t){return["bidId","adId","bid_id"].some((function(n){return t[n]===e}))}));return r&&(n=r),r})),n}function ye(e){return Object.keys(e)}function be(e,t){return e[t]}function _e(e,t){for(var n in e)if(e.hasOwnProperty(n)&&e[n]===t)return n}function Ie(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:pbjs.adUnits).map((function(e){return e.bids.map((function(e){return e.bidder})).reduce(me,[])})).reduce(me,[]).filter(ve)}function we(){if(window.googletag&&G(window.googletag.pubads)&&G(window.googletag.pubads().getSlots))return!0}function Ee(){if(window.apntag&&G(window.apntag.getTag))return!0}var Oe=Ce("timeToRespond",(function(e,t){return e>t})),Te=Ce("responseTimestamp",(function(e,t){return e>t}));function Ce(e,t){return function(n,r){return n.cpm===r.cpm?t(n[e],r[e])?r:n:n.cpm<r.cpm?r:n}}function ke(e){for(var t=e.length;t>0;){var n=Math.floor(Math.random()*t),r=e[--t];e[t]=e[n],e[n]=r}return e}function xe(e,t){return(0,l.q9)(e,t&&t.adUnitCode)}function Ae(e){return u()(e)}function Se(){try{return w.getWindowSelf()!==w.getWindowTop()}catch(e){return!0}}function Pe(){return/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent)}function je(e,t){if(e)return e.replace(/\$\{AUCTION_PRICE\}/g,t)}function De(e,t){if(e&&t&&"string"==typeof t)return e.replace(/\${CLICKTHROUGH}/g,t)}function Re(){return(new Date).getTime()}function Be(){return window.performance&&window.performance.now&&window.performance.now()||0}function Ue(){return!1!==c.vc.getConfig("deviceAccess")}function Ne(){if(window.navigator.cookieEnabled||document.cookie.length)return!0}function Ze(e,t){if(t<1)throw new Error("numRequiredCalls must be a positive number. Got ".concat(t));var n=0;return function(){++n===t&&e.apply(this,arguments)}}function qe(e,t){return e.reduce((function(e,n){return(e[n[t]]=e[n[t]]||[]).push(n),e}),{})}function Me(e,t){return t.filter((function(t){return e[t]})).reduce((function(t,n){return Object.assign(t,(0,a.Z)({},n,e[n]))}),{})}function ze(e){var t=["banner","native","video"];return!!Object.keys(e).every((function(e){return(0,l.q9)(t,e)}))&&(!e.video||!e.video.context||(0,l.q9)(["instream","outstream","adpod"],e.video.context))}function Fe(e,t,n){return e.filter((function(e){return e.code===t})).map((function(e){return e.bids})).reduce(me,[]).filter((function(e){return e.bidder===n})).map((function(e){return e.params||{}}))}function He(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack}Ce("responseTimestamp",(function(e,t){return e<t}));var Le=function(e,t){return e.getAdUnitPath()===t||e.getSlotElementId()===t};function Ke(e){return function(t){return Le(e,t)}}function We(e){var t=function(e){var t;return we()&&(t=(0,l.sE)(window.googletag.pubads().getSlots(),function(e){return function(t){return Le(t,e)}}(e))),t}(e);return t?{gptSlot:t.getAdUnitPath(),divId:t.getSlotElementId()}:{}}function Je(e,t){var n=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n    ".concat(e.code," is a ").concat(n," ad unit\n    containing bidders that don't support ").concat(n,": ").concat(t,".\n    This bidder won't fetch demand.\n  ")}function Ve(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function Ge(e){return e.replace(/(?:^|\.?)([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})).replace(/^_/,"")}function Xe(e,t){return"object"!==(0,s.Z)(e)?{}:t.reduce((function(n,r,i){if("function"==typeof r)return n;var o=r,a=r.match(/^(.+?)\sas\s(.+?)$/i);a&&(r=a[1],o=a[2]);var s=e[r];return"function"==typeof t[i+1]&&(s=t[i+1](s,n)),void 0!==s&&(n[o]=s),n}),{})}function Ye(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"keywords",n=[];return re(e,(function(e,r){if(Y(e)){var i=[];re(e,(function(e){((e=ge(t+"."+r,e))||""===e)&&i.push(e)})),e=i}else{if(!X(e=ge(t+"."+r,e)))return;e=[e]}n.push({key:r,value:e})})),n}function Qe(e,t){return Object.keys(e).forEach((function(n){var r,i;t[n]&&(G(e[n])?t[n]=e[n](t[n]):t[n]=(r=e[n],i=t[n],"string"===r?i&&i.toString():"number"===r?Number(i):i),isNaN(t[n])&&delete t.key)})),t}function $e(e,t){return Y(e)&&(!t||e.length===t)&&e.every((function(e){return Ve(e)}))}function et(e,t){for(var n=[],r=0;r<t;r++){var i=$(e)?Ae(e):e;n.push(i)}return n}function tt(e,t){for(var n=[],r=0;r<Math.ceil(e.length/t);r++){var i=r*t,o=i+t;n.push(e.slice(i,o))}return n}function nt(e){return Math.min.apply(Math,(0,o.Z)(e))}function rt(e){return Math.max.apply(Math,(0,o.Z)(e))}function it(e){return e?e.replace(/^\?/,"").split("&").reduce((function(e,t){var n=t.split("="),r=(0,i.Z)(n,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 ot(e){return Object.keys(e).map((function(t){return Array.isArray(e[t])?e[t].map((function(e){return"".concat(t,"[]=").concat(e)})).join("&"):"".concat(t,"=").concat(e[t])})).join("&")}function at(e,t){var n=document.createElement("a");t&&"noDecodeWholeURL"in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);var r=t&&"decodeSearchAsString"in t&&t.decodeSearchAsString;return{href:n.href,protocol:(n.protocol||"").replace(/:$/,""),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!\/)/,"/"),search:r?n.search:w.parseQS(n.search||""),hash:(n.hash||"").replace(/^#/,""),host:n.host||window.location.host}}function st(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":".concat(e.port):""))+(e.pathname||"")+(e.search?"?".concat(w.formatQS(e.search||"")):"")+(e.hash?"#".concat(e.hash):"")}function ct(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).checkTypes,r=void 0!==n&&n;if(e===t)return!0;if("object"!==(0,s.Z)(e)||null===e||"object"!==(0,s.Z)(t)||null===t||r&&e.constructor!==t.constructor)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var i in e){if(!t.hasOwnProperty(i))return!1;if(!ct(e[i],t[i],{checkTypes:r}))return!1}return!0}function dt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;var i=n.shift();if($(e)&&$(i)){var s=function(t){$(i[t])?(e[t]||Object.assign(e,(0,a.Z)({},t,{})),dt(e[t],i[t])):Y(i[t])?e[t]?Y(e[t])&&i[t].forEach((function(n){for(var r=1,i=0;i<e[t].length;i++)if(ct(e[t][i],n)){r=0;break}r&&e[t].push(n)})):Object.assign(e,(0,a.Z)({},t,(0,o.Z)(i[t]))):Object.assign(e,(0,a.Z)({},t,i[t]))};for(var c in i)s(c)}return dt.apply(void 0,[e].concat(n))}function ut(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=function(e,t){if(G(Math.imul))return Math.imul(e,t);var n=(4194303&e)*(t|=0);return 4290772992&e&&(n+=(4290772992&e)*t|0),0|n},i=3735928559^n,o=1103547991^n,a=0;a<e.length;a++)i=r(i^(t=e.charCodeAt(a)),2654435761),o=r(o^t,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 lt(e){return e?e.defaultView:null}function ft(e){try{return JSON.parse(e)}catch(e){}}function pt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},n=new Map,r=function(){var r=t.apply(this,arguments);return n.has(r)||n.set(r,e.apply(this,arguments)),n.get(r)};return r.clear=n.clear.bind(n),r}function gt(e,t){for(var n in t)t.hasOwnProperty(n)&&e.setAttribute(n,t[n])}},9128:function(e,t,n){n.d(t,{A:function(){return I},Bf:function(){return m},V6:function(){return y},g3:function(){return _}});var r=n(3324),i=n(3193);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);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,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw o}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s="performanceMetrics",c=window.performance&&window.performance.now?function(){return window.performance.now()}:function(){return Date.now()},d=new WeakMap;function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.now,n=void 0===t?c:t,r=e.mkNode,i=void 0===r?p:r,o=e.mkTimer,a=void 0===o?f:o,s=e.mkRenamer,u=void 0===s?function(e){return e}:s,l=e.nodes,g=void 0===l?d:l;return function(){return function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return{forEach:function(t){t(e)}}};r=u(r);var o,s=(o="timestamps",function(e){return t.dfWalk({visit:function(t,n){var r=n[o];if(r.hasOwnProperty(e))return r[e]}})});function c(e,n){var i=r(e);t.dfWalk({follow:function(e,t){return t.propagate&&(!e||!e.stopPropagation)},visit:function(e,t){i.forEach((function(r){null==e?t.metrics[r]=n:(t.groups.hasOwnProperty(r)||(t.groups[r]=[]),t.groups[r].push(n))}))}})}function d(e){return a(n,(function(t){return c(e,t)}))}function l(){var e={};return t.dfWalk({visit:function(t,n){e=Object.assign({},!t||t.includeGroups?n.groups:null,n.metrics,e)}}),e}var f={startTiming:d,measureTime:function(e,t){return d(e).stopAfter(t)()},measureHookTime:function(e,t,n){var r=d(e);return n(function(e){var t=r.stopBefore(e);return t.bail=e.bail&&r.stopBefore(e.bail),t.stopTiming=r,t.untimed=e,t}(t))},checkpoint:function(e){t.timestamps[e]=n()},timeSince:function(e,t){var r=s(e),i=null!=r?n()-r:null;return null!=t&&c(t,i),i},timeBetween:function(e,t,n){var r=s(e),i=s(t),o=null!=r&&null!=i?i-r:null;return null!=n&&c(n,o),o},setMetric:c,getMetrics:l,fork:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=n.propagate,a=void 0===o||o,s=n.stopPropagation,c=void 0!==s&&s,d=n.includeGroups;return e(i([[t,{propagate:a,stopPropagation:c,includeGroups:void 0!==d&&d}]]),r)},join:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.propagate,i=void 0===r||r,o=n.stopPropagation,a=void 0!==o&&o,s=n.includeGroups,c=void 0!==s&&s,d=g.get(e);null!=d&&d.addParent(t,{propagate:i,stopPropagation:a,includeGroups:c})},newMetrics:function(){return e(t.newSibling(),r)},renameWith:function(n){return e(t,n)},toJSON:function(){return l()}};return g.set(f,t),f}(i([]))}}function l(e,t,n){return function(){t&&t();try{return e.apply(this,arguments)}finally{n&&n()}}}function f(e,t){var n=e(),r=!1;function i(){r||(t(e()-n),r=!0)}return i.stopBefore=function(e){return l(e,i)},i.stopAfter=function(e){return l(e,null,i)},i}function p(e){return{metrics:{},timestamps:{},groups:{},addParent:function(t,n){e.push([t,n])},newSibling:function(){return p(e.slice())},dfWalk:function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.visit,a=n.follow,s=void 0===a?function(){return!0}:a,c=n.visited,d=void 0===c?new Set:c,u=n.inEdge;if(!d.has(this)){if(d.add(this),null!=(t=i(u,this)))return t;var l,f=o(e);try{for(f.s();!(l=f.n()).done;){var p=(0,r.Z)(l.value,2),g=p[0],v=p[1];if(s(u,v)&&null!=(t=g.dfWalk({visit:i,follow:s,visited:d,inEdge:v})))return t}}catch(e){f.e(e)}finally{f.f()}}}}}var g=function(){var e=function(){},t=function(){return{}},n={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:t}]}))));return u({now:function(){return 0},mkNode:function(){return i},mkRenamer:function(){return function(){return n}},mkTimer:function(){return r},nodes:{get:e,set:e}})()}(),v=!0;function m(e){return v&&e||g}i.vc.getConfig(s,(function(e){v=!!e[s]}));var h,y=(h=u(),function(){return v?h():g});function b(e,t){return function(n,r){return function(i){for(var o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];var c=this;return m(t.apply(c,a)).measureHookTime(e+n,i,(function(e){return r.call.apply(r,[c,e].concat(a))}))}}}var _=b("requestBids.",(function(e){return e.metrics})),I=b("addBidResponse.",(function(e,t){return t.metrics}))},8792:function(e,t,n){n.d(t,{P:function(){return b},Z:function(){return y}});var r=n(3324),i=n(5671),o=n(3144),a=n(7326),s=n(8301),c=n(136),d=n(2963),u=n(1120),l=n(8916),f=n(2793),p=n(8640);function g(e,t,n){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}var v=new WeakMap,m=new WeakMap,h=new WeakMap,y=function(e){(0,c.Z)(n,e);var t=function(e){var t=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 n,r=(0,u.Z)(e);if(t){var i=(0,u.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,d.Z)(this,n)}}(n);function n(e){var r;(0,i.Z)(this,n);var o=[],s=[];function c(e,t){return function(n){if(!o.length){for(o.push(e,n);s.length;)s.shift()();t(n)}}}return r=t.call(this,"function"!=typeof e?e:function(t,n){var r,i=c(1,n),o=(r=c(0,t),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)}}),g((0,a.Z)(r),v,{writable:!0,value:void 0}),g((0,a.Z)(r),m,{writable:!0,value:void 0}),g((0,a.Z)(r),h,{writable:!0,value:null}),(0,f.Z)((0,a.Z)(r),v,o),(0,f.Z)((0,a.Z)(r),m,s),r}return(0,o.Z)(n,[{key:"then",value:function(e,t){var i=this;if("function"==typeof t)for(var o=this;o;){(0,s.Z)((0,u.Z)(n.prototype),"then",this).call(o,null,(function(){return null}));var a=(0,l.Z)(o,h);(0,f.Z)(o,h,null),o=a}var c=(0,l.Z)(this,v),d=new n((function(n,o){var a=function(){var i=c[1],a=0===c[0]?[e,n]:[t,o],s=(0,r.Z)(a,2),d=s[0],u=s[1];if("function"==typeof d){try{i=d(i)}catch(e){return void o(e)}u=n}u(i)};c.length?a():(0,l.Z)(i,m).push(a)}));return(0,f.Z)(d,h,this),d}}],[{key:"timeout",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new n((function(t){0===e?t():setTimeout(t,e)}))}},{key:"resolve",value:function(e){return new this((function(t){return t(e)}))}},{key:"reject",value:function(e){return new this((function(t,n){return n(e)}))}}]),n}((0,p.R)().Promise||Promise);function b(){var e,t,n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).promiseFactory;function r(e){return function(t){return e(t)}}return{promise:(void 0===n?function(e){return new y(e)}:n)((function(n,r){e=n,t=r})),resolve:r(e),reject:r(t)}}},154:function(e,t,n){n.d(t,{Dn:function(){return u},LD:function(){return d},gZ:function(){return c}});var r=n(265),i=n(4358),o=n(3193),a=n(2797),s=n(5383),c="outstream",d="instream";function u(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,n=void 0===t?s.K.index:t,i=(0,r.Z)(n.getMediaTypes(e),"video"),o=i&&(0,r.Z)(i,"context"),a=i&&(0,r.Z)(i,"useCacheKey"),c=n.getAdUnit(e);return l(e,c,i,o,a)}var l=(0,a.z3)("sync",(function(e,t,n,r,a){return n&&(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||t&&t.renderer||n.renderer))}),"checkVideoBidSetup")},265:function(e,t,n){function r(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}n.d(t,{Z:function(){return r}})},1432:function(e){s.SYNC=1,s.ASYNC=2,s.QUEUE=4;var t="fun-hooks",n=Object.freeze({useProxy:!0,ready:0}),r=new WeakMap,i="2,1,0"===[1].reduce((function(e,t,n){return[e,t,n]}),2).toString()?Array.prototype.reduce:function(e,t){var n,r=Object(this),i=r.length>>>0,o=0;if(t)n=t;else{for(;o<i&&!(o in r);)o++;n=r[o++]}for(;o<i;)o in r&&(n=e(n,r[o],o,r)),o++;return n};function o(e,t){return Array.prototype.slice.call(e,t)}var a=Object.assign||function(e){return i.call(o(arguments,1),(function(e,t){return t&&Object.keys(t).forEach((function(n){e[n]=t[n]})),e}),e)};function s(e){var c,d={},u=[];function l(e,t){return"function"==typeof e?v.call(null,"sync",e,t):"string"==typeof e&&"function"==typeof t?v.apply(null,arguments):"object"==typeof e?f.apply(null,arguments):void 0}function f(e,t,n){var r=!0;void 0===t&&(t=Object.getOwnPropertyNames(e),r=!1);var i={},o=["constructor"];do{(t=t.filter((function(t){return!("function"!=typeof e[t]||-1!==o.indexOf(t)||t.match(/^_/))}))).forEach((function(t){var r=t.split(":"),o=r[0],a=r[1]||"sync";if(!i[o]){var s=e[o];i[o]=e[o]=v(a,s,n?[n,o]:void 0)}})),e=Object.getPrototypeOf(e)}while(r&&e);return i}function p(e){var n=Array.isArray(e)?e:e.split(".");return i.call(n,(function(r,i,o){var a=r[i],s=!1;return a||(o===n.length-1?(c||u.push((function(){s||console.warn(t+": referenced '"+e+"' but it was never created")})),r[i]=g((function(e){r[i]=e,s=!0}))):r[i]={})}),d)}function g(e){var t=[],n=[],i=function(){},o={before:function(e,n){return c.call(this,t,"before",e,n)},after:function(e,t){return c.call(this,n,"after",e,t)},getHooks:function(e){var r=t.concat(n);"object"==typeof e&&(r=r.filter((function(t){return Object.keys(e).every((function(n){return t[n]===e[n]}))})));try{a(r,{remove:function(){return r.forEach((function(e){e.remove()})),this}})}catch(e){console.error("error adding `remove` to array, did you modify Array.prototype?")}return r},removeAll:function(){return this.getHooks().remove()}},s={install:function(r,o,a){this.type=r,i=a,a(t,n),e&&e(o)}};return r.set(o.after,s),o;function c(e,r,o,a){var s={hook:o,type:r,priority:a||10,remove:function(){var r=e.indexOf(s);-1!==r&&(e.splice(r,1),i(t,n))}};return e.push(s),e.sort((function(e,t){return t.priority-e.priority})),i(t,n),this}}function v(n,i,d){var l=i.after&&r.get(i.after);if(l){if(l.type!==n)throw t+": recreated hookable with different type";return i}var f,v,m=d?p(d):g(),h={get:function(e,t){return m[t]||Reflect.get.apply(Reflect,arguments)}};return c||u.push(y),e.useProxy&&"function"==typeof Proxy&&Proxy.revocable?v=new Proxy(i,h):(v=function(){return h.apply?h.apply(i,this,o(arguments)):i.apply(this,arguments)},a(v,m)),r.get(v.after).install(n,v,(function(e,t){var r,i=[];function a(e){i.push(e.hook)}e.length||t.length?(e.forEach(a),r=i.push(void 0)-1,t.forEach(a),f=function(e,t,a){var s,c=0,d="async"===n&&"function"==typeof a[a.length-1]&&a.pop();function u(e){"sync"===n?s=e:d&&d.apply(null,arguments)}function l(e){if(i[c]){var r=o(arguments);return l.bail=u,r.unshift(l),i[c++].apply(t,r)}"sync"===n?s=e:d&&d.apply(null,arguments)}return i[r]=function(){var r=o(arguments,1);"async"===n&&d&&(delete l.bail,r.push(l));var i=e.apply(t,r);"sync"===n&&l(i)},l.apply(null,a),s}):f=void 0,y()})),v;function y(){!c&&("sync"!==n||e.ready&s.SYNC)&&("async"!==n||e.ready&s.ASYNC)?"sync"!==n&&e.ready&s.QUEUE?h.apply=function(){var e=arguments;u.push((function(){v.apply(e[1],e[2])}))}:h.apply=function(){throw t+": hooked function not ready"}:h.apply=f}}return(e=a({},n,e)).ready?l.ready=function(){c=!0,function(e){for(var t;t=e.shift();)t()}(u)}:c=!0,l.get=p,l}e.exports=s},7079:function(e){e.exports=function e(t){var n=Array.isArray(t)?[]:{};for(var r in t){var i=t[r];n[r]=i&&"object"==typeof i?e(i):i}return n}},907:function(e,t,n){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},3878:function(e,t,n){function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},5057:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(907);function i(e){if(Array.isArray(e))return(0,r.Z)(e)}},7326:function(e,t,n){function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},6983:function(e,t,n){function r(e,t){return t.get?t.get.call(e):t.value}n.d(t,{Z:function(){return r}})},6011:function(e,t,n){function r(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}n.d(t,{Z:function(){return r}})},5671:function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},1519:function(e,t,n){function r(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}n.d(t,{Z:function(){return r}})},8916:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(6983),i=n(1519);function o(e,t){var n=(0,i.Z)(e,t,"get");return(0,r.Z)(e,n)}},2793:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(6011),i=n(1519);function o(e,t,n){var o=(0,i.Z)(e,t,"set");return(0,r.Z)(e,o,n),n}},3144:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(7343);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},4942:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(7343);function i(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},8301:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(8415);function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=(0,r.Z)(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},i.apply(this,arguments)}},1120:function(e,t,n){function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},136:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(9611);function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},9199:function(e,t,n){function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},1902:function(e,t,n){function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,d=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){d=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw i}}return s}}n.d(t,{Z:function(){return r}})},5267:function(e,t,n){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.")}n.d(t,{Z:function(){return r}})},2786:function(e,t,n){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.")}n.d(t,{Z:function(){return r}})},2963:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(1002),i=n(7326);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},9611:function(e,t,n){function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},3324:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(3878),i=n(1902),o=n(181),a=n(5267);function s(e,t){return(0,r.Z)(e)||(0,i.Z)(e,t)||(0,o.Z)(e,t)||(0,a.Z)()}},8415:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(1120);function i(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}},9062:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(5057),i=n(9199),o=n(181),a=n(2786);function s(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,a.Z)()}},5512:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(1002);function i(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},7343:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(1002),i=n(5512);function o(e){var t=(0,i.Z)(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},1002:function(e,t,n){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)}n.d(t,{Z:function(){return r}})},181:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(907);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},6475:function(e,t,n){function r(e,t,n){t.split&&(t=t.split("."));for(var r,i,o=0,a=t.length,s=e;o<a&&"__proto__"!==(i=t[o++])&&"constructor"!==i&&"prototype"!==i;)s=s[i]=o===a?n:typeof(r=s[i])==typeof t?r:0*t[o]!=0||~(""+t[o]).indexOf(".")?{}:[]}n.d(t,{N:function(){return r}})},5644:function(e){e.exports=JSON.parse('{"k2":{"xn":"adserverTargeting","zF":"standard"},"f":"pbjs_debug","Q_":{"Q":1,"H":2},"FP":{"AUCTION_INIT":"auctionInit","AUCTION_END":"auctionEnd","BID_ADJUSTMENT":"bidAdjustment","BID_TIMEOUT":"bidTimeout","BID_REQUESTED":"bidRequested","BID_RESPONSE":"bidResponse","BID_REJECTED":"bidRejected","NO_BID":"noBid","BID_WON":"bidWon","BIDDER_DONE":"bidderDone","BIDDER_ERROR":"bidderError","SET_TARGETING":"setTargeting","BEFORE_REQUEST_BIDS":"beforeRequestBids","BEFORE_BIDDER_HTTP":"beforeBidderHttp","REQUEST_BIDS":"requestBids","ADD_AD_UNITS":"addAdUnits","AD_RENDER_FAILED":"adRenderFailed","AD_RENDER_SUCCEEDED":"adRenderSucceeded","TCF2_ENFORCEMENT":"tcf2Enforcement","AUCTION_DEBUG":"auctionDebug","BID_VIEWABLE":"bidViewable","STALE_RENDER":"staleRender","BILLABLE_EVENT":"billableEvent"},"q_":{"PREVENT_WRITING_ON_MAIN_DOCUMENT":"preventWritingOnMainDocument","NO_AD":"noAd","EXCEPTION":"exception","CANNOT_FIND_AD":"cannotFindAd","MISSING_DOC_OR_ADID":"missingDocOrAdid"},"aI":{"bidWon":"adUnitCode"},"Ql":{"yE":"low","M2":"medium","lj":"high","B7":"auto","uN":"dense","qN":"custom"},"TD":{"BIDDER":"hb_bidder","AD_ID":"hb_adid","PRICE_BUCKET":"hb_pb","SIZE":"hb_size","DEAL":"hb_deal","SOURCE":"hb_source","FORMAT":"hb_format","UUID":"hb_uuid","CACHE_ID":"hb_cache_id","CACHE_HOST":"hb_cache_host","ADOMAIN":"hb_adomain","ACAT":"hb_acat"},"kF":{"BIDDER":"hb_bidder","AD_ID":"hb_adid","PRICE_BUCKET":"hb_pb","SIZE":"hb_size","DEAL":"hb_deal","FORMAT":"hb_format","UUID":"hb_uuid","CACHE_HOST":"hb_cache_host"},"FY":{"title":"hb_native_title","body":"hb_native_body","body2":"hb_native_body2","privacyLink":"hb_native_privacy","privacyIcon":"hb_native_privicon","sponsoredBy":"hb_native_brand","image":"hb_native_image","icon":"hb_native_icon","clickUrl":"hb_native_linkurl","displayUrl":"hb_native_displayurl","cta":"hb_native_cta","rating":"hb_native_rating","address":"hb_native_address","downloads":"hb_native_downloads","likes":"hb_native_likes","phone":"hb_native_phone","price":"hb_native_price","salePrice":"hb_native_saleprice","rendererUrl":"hb_renderer_url","adTemplate":"hb_adTemplate"},"os":{"YZ":"s2s"},"UE":{"CK":"targetingSet","fe":"rendered","G9":"bidRejected"},"Gw":{"UI":"Bid has missing or invalid properties","Gp":"Invalid request ID","Dg":"Bidder code is not allowed by allowedAlternateBidderCodes / allowUnknownBidderCodes","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"]}')}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=function(t,n,i,o){if(!n){var a=1/0;for(u=0;u<e.length;u++){n=e[u][0],i=e[u][1],o=e[u][2];for(var s=!0,c=0;c<n.length;c++)(!1&o||a>=o)&&Object.keys(r.O).every((function(e){return r.O[e](n[c])}))?n.splice(c--,1):(s=!1,o<a&&(a=o));if(s){e.splice(u--,1);var d=i();void 0!==d&&(t=d)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,i,o]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={602:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var i,o,a=n[0],s=n[1],c=n[2],d=0;if(a.some((function(t){return 0!==e[t]}))){for(i in s)r.o(s,i)&&(r.m[i]=s[i]);if(c)var u=c(r)}for(t&&t(n);d<a.length;d++)o=a[d],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(u)},n=self.pbjsChunk=self.pbjsChunk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var i=r.O(void 0,[866],(function(){return r(4541)}));i=r.O(i)}(),(self.pbjsChunk=self.pbjsChunk||[]).push([[866],{7809:function(e,t,n){n.d(t,{KI:function(){return s},hi:function(){return a}});var r=n(4358),i=n(8792),o=["architecture","bitness","model","platformVersion","fullVersionList"],a=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=window.navigator)||void 0===e?void 0:e.userAgentData,n=(0,r.xb)(t)?null:Object.freeze(c(1,t));return function(){return n}}(),s=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=window.navigator)||void 0===e?void 0:e.userAgentData,n={},a=new WeakMap;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;if(!a.has(e)){var s=Array.from(e);s.sort(),a.set(e,s.join("|"))}var d=a.get(e);if(!n.hasOwnProperty(d))try{n[d]=t.getHighEntropyValues(e).then((function(e){return(0,r.xb)(e)?null:Object.freeze(c(2,e))})).catch((function(){return null}))}catch(e){n[d]=i.Z.resolve(null)}return n[d]}}();function c(e,t){function n(e,t){var n={brand:e};return(0,r.d8)(t)&&!(0,r.jH)(t)&&(n.version=t.split(".")),n}var i={source:e};return t.platform&&(i.platform=n(t.platform,t.platformVersion)),(t.fullVersionList||t.brands)&&(i.browsers=(t.fullVersionList||t.brands).map((function(e){return n(e.brand,e.version)}))),t.hasOwnProperty("mobile")&&(i.mobile=t.mobile?1:0),["model","bitness","architecture"].forEach((function(e){var n=t[e];(0,r.d8)(n)&&(i[e]=n)})),i}}}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[864],{6319:function(e,t,n){var r=n(1002),i=n(9062),o=n(4358),a=n(265),s=n(5706),c=n(3193),d=n(5339),u=n(4679),l=n(5383),f=n(4614),p=n(154),g=n(5164),v=n(5975),m=n(7673),h=n(59),y="appnexus",b=["id","minduration","maxduration","skippable","playback_method","frameworks","context","skipoffset"],_=["minduration","maxduration","skip","skipafter","playbackmethod","api","startdelay"],I=["age","externalUid","segments","gender","dnt","language"],w=["geo","device_id"],E=["enabled","dongle","member_id","debug_timeout"],O={apn_debug_dongle:"dongle",apn_debug_member_id:"member_id",apn_debug_timeout:"debug_timeout"},T={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}},C={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"},k=/\/\/cdn\.adnxs\.com\/v|\/\/cdn\.adnxs\-simple\.com\/v/,x=(0,g.df)({gvlid:32,bidderCode:y}),A={code:y,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,t){var n,r,s=(e=(0,h.lY)(e)).map(j),d=(0,f.sE)(e,R),u={};!0===c.vc.getConfig("coppa")&&(u={coppa:!0}),d&&Object.keys(d.params.user).filter((function(e){return(0,f.q9)(I,e)})).forEach((function(e){var t=(0,o.G2)(e);if("segments"===e&&(0,o.kJ)(d.params.user[e])){var n=[];d.params.user[e].forEach((function(e){(0,o.hj)(e)?n.push({id:e}):(0,o.PO)(e)&&n.push(e)})),u[t]=n}else"segments"!==e&&(u[t]=d.params.user[e])}));var l,p=(0,f.sE)(e,U);p&&p.params&&p.params.app&&(l={},Object.keys(p.params.app).filter((function(e){return(0,f.q9)(w,e)})).forEach((function(e){return l[e]=p.params.app[e]})));var g,v=(0,f.sE)(e,N);v&&v.params&&p.params.app&&p.params.app.id&&(g={appid:v.params.app.id});var y={},b={},_=x.getCookie("apn_prebid_debug")||null;if(_)try{y=JSON.parse(_)}catch(e){(0,o.H)("AppNexus Debug Auction Cookie Error:\n\n"+e)}else{Object.keys(O).forEach((function(e){var t=(0,o.rD)(e);(0,o.d8)(t)&&""!==t&&(y[O[e]]=t,y.enabled=!0)})),y=(0,o.uh)({member_id:"number",debug_timeout:"number"},y);var T=(0,f.sE)(e,Z);T&&T.debug&&(y=T.debug)}y&&y.enabled&&Object.keys(y).filter((function(e){return(0,f.q9)(E,e)})).forEach((function(e){b[e]=y[e]}));var C=(0,f.sE)(e,B),k=C?parseInt(C.params.member,10):0,A=e[0].schain,S=(0,f.sE)(e,M),D={tags:(0,i.Z)(s),user:u,sdk:{source:"pbjs",version:"7.34.0"},schain:A};S&&(D.iab_support={omidpn:"Appnexus",omidpv:"7.34.0"}),k>0&&(D.member_id=k),p&&(D.device=l),v&&(D.app=g);var F,H,K=(0,o.I8)(t&&t.ortb2),J=(F=K,H=[],["site.keywords","site.content.keywords","user.keywords","app.keywords","app.content.keywords"].forEach((function(e){var t=(0,a.Z)(F,e);(0,o.d8)(t)&&H.push(t)})),H).map((function(e){return W(e)})),V=(0,o.I8)(c.vc.getConfig("appnexusAuctionKeywords"))||{};Object.keys(V).forEach((function(e){((0,o.d8)(V[e])||(0,o.hj)(V[e]))&&(V[e]=[V[e]])}));var G=o.Ee.apply(void 0,[{},V].concat((0,i.Z)(J))),X=(0,o.Bq)(G);if(X.length>0&&(X.forEach(P),D.keywords=X),c.vc.getConfig("adpod.brandCategoryExclusion")&&(D.brand_category_uniqueness=!0),b.enabled&&(D.debug=b,(0,o.PN)("AppNexus Debug Auction Settings:\n\n"+JSON.stringify(b,null,4))),t&&t.gdprConsent&&(D.gdpr_consent={consent_string:t.gdprConsent.consentString,consent_required:t.gdprConsent.gdprApplies},t.gdprConsent.addtlConsent&&-1!==t.gdprConsent.addtlConsent.indexOf("~"))){var Y=t.gdprConsent.addtlConsent,Q=Y.substring(Y.indexOf("~")+1);D.gdpr_consent.addtl_consent=Q.split(".").map((function(e){return parseInt(e,10)}))}if(t&&t.uspConsent&&(D.us_privacy=t.uspConsent),null!=t&&t.gppConsent?D.privacy={gpp:t.gppConsent.gppString,gpp_sid:t.gppConsent.applicableSections}:null!=t&&null!==(n=t.ortb2)&&void 0!==n&&null!==(r=n.regs)&&void 0!==r&&r.gpp&&(D.privacy={gpp:t.ortb2.regs.gpp,gpp_sid:t.ortb2.regs.gpp_sid}),t&&t.refererInfo){var $={rd_ref:encodeURIComponent(t.refererInfo.topmostLocation),rd_top:t.refererInfo.reachedTop,rd_ifs:t.refererInfo.numIframes,rd_stk:t.refererInfo.stack.map((function(e){return encodeURIComponent(e)})).join(",")},ee=t.refererInfo.canonicalUrl;(0,o.d8)(ee)&&""!==ee&&($.rd_can=ee),D.referrer_detection=$}if((0,f.sE)(e,q)&&e.filter(q).forEach((function(e){var t=function(e,t){var n=t.mediaTypes.video,r=n.durationRangeSec,a=n.requireExactDuration,s=function(e){var t=e.adPodDurationSec,n=e.durationRangeSec,r=e.requireExactDuration,i=(0,o.XV)(n),a=Math.floor(t/i);return r?Math.max(a,n.length):a}(t.mediaTypes.video),c=(0,o.d5)(r),d=e.filter((function(e){return e.uuid===t.bidId})),u=o.hl.apply(void 0,(0,i.Z)(d).concat([s]));if(a){var l=Math.ceil(s/r.length),f=(0,o.yo)(u,l);r.forEach((function(e,t){f[t].map((function(t){z(t,"minduration",e),z(t,"maxduration",e)}))}))}else u.map((function(e){return z(e,"maxduration",c)}));return u}(s,e),n=D.tags.filter((function(t){return t.uuid!==e.bidId}));D.tags=[].concat((0,i.Z)(n),(0,i.Z)(t))})),e[0].userId){var te=[];L(te,(0,a.Z)(e[0],"userId.criteoId"),"criteo.com",null),L(te,(0,a.Z)(e[0],"userId.netId"),"netid.de",null),L(te,(0,a.Z)(e[0],"userId.idl_env"),"liveramp.com",null),L(te,(0,a.Z)(e[0],"userId.tdid"),"adserver.org","TDID"),L(te,(0,a.Z)(e[0],"userId.uid2.id"),"uidapi.com","UID2"),e[0].userId.pubProvidedId&&e[0].userId.pubProvidedId.forEach((function(e){e.uids.forEach((function(t){te.push({source:e.source,id:t.id})}))})),te.length&&(D.eids=te)}s[0].publisher_id&&(D.publisher_id=s[0].publisher_id);var ne=function(e,t){var n=[],r={withCredentials:!0},i="https://ib.adnxs.com/ut/v3/prebid";if((0,m.h)(null==t?void 0:t.gdprConsent)||(i="https://ib.adnxs-simple.com/ut/v3/prebid"),"TRUE"!==(0,o.rD)("apn_test").toUpperCase()&&!0!==c.vc.getConfig("apn_test")||(r.customHeaders={"X-Is-Test":1}),e.tags.length>15){var a=(0,o.I8)(e);(0,o.yo)(e.tags,15).forEach((function(e){a.tags=e;var o=JSON.stringify(a);n.push({method:"POST",url:i,data:o,bidderRequest:t,options:r})}))}else{var s=JSON.stringify(e);n={method:"POST",url:i,data:s,bidderRequest:t,options:r}}return n}(D,t);return ne},interpretResponse:function(e,t){var n=this,r=t.bidderRequest;e=e.body;var i=[];if(!e||e.error){var c="in response for ".concat(r.bidderCode," adapter");return e&&e.error&&(c+=": ".concat(e.error)),(0,o.H)(c),i}if(e.tags&&e.tags.forEach((function(e){var t,c=(t=e)&&t.ads&&t.ads.length&&(0,f.sE)(t.ads,(function(e){return e.rtb}));if(c&&(!0===v.S.get(r.bidderCode,"allowZeroCpmBids")?c.cpm>=0:c.cpm>0)&&(0,f.q9)(n.supportedMediaTypes,c.ad_type)){var l=function(e,t,n){var r=(0,o.zE)(e.uuid,[n]),i=(0,o._d)(),c={adId:i,requestId:e.uuid,cpm:t.cpm,creativeId:t.creative_id,dealId:t.deal_id,currency:"USD",netRevenue:!0,ttl:300,adUnitCode:r.adUnitCode,appnexus:{buyerMemberId:t.buyer_member_id,dealPriority:t.deal_priority,dealCode:t.deal_code}};if(t.adomain&&(c.meta=Object.assign({},c.meta,{advertiserDomains:[t.adomain]})),t.advertiser_id&&(c.meta=Object.assign({},c.meta,{advertiserId:t.advertiser_id})),t.buyer_member_id&&(c.meta=Object.assign({},c.meta,{dchain:function(e){return{ver:"1.0",complete:0,nodes:[{bsid:e.buyer_member_id.toString()}]}}(t)})),t.brand_id&&(c.meta=Object.assign({},c.meta,{brandId:t.brand_id})),t.rtb.video)switch(Object.assign(c,{width:t.rtb.video.player_width,height:t.rtb.video.player_height,vastImpUrl:t.notify_url,ttl:3600}),(0,a.Z)(r,"mediaTypes.video.context")){case u.Oh:var l=(0,d.Q1)(r.bidder,t.brand_category_id);c.meta=Object.assign({},c.meta,{primaryCatId:l});var g=t.deal_priority;c.video={context:u.Oh,durationSeconds:Math.floor(t.rtb.video.duration_ms/1e3),dealTier:g},c.vastUrl=t.rtb.video.asset_url;break;case p.gZ:if(c.adResponse=e,c.adResponse.ad=c.adResponse.ads[0],c.adResponse.ad.video=c.adResponse.ad.rtb.video,c.vastXml=t.rtb.video.content,t.renderer_url){var v=(0,f.sE)(n.bids,(function(t){return t.bidId===e.uuid})),m=(0,a.Z)(v,"mediaTypes.video.renderer.options");m||(m=(0,a.Z)(v,"renderer.options")),c.renderer=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=s.Th.install({id:t.renderer_id,url:t.renderer_url,config:n,loaded:!1,adUnitCode:e});try{r.setRender(F)}catch(e){(0,o.yN)("Prebid Error calling setRender on renderer",e)}return r.setEventHandlers({impression:function(){return(0,o.ji)("AppNexus outstream video impression event")},loaded:function(){return(0,o.ji)("AppNexus outstream video loaded event")},ended:function(){(0,o.ji)("AppNexus outstream renderer video event"),document.querySelector("#".concat(e)).style.display="none"}}),r}(c.adUnitCode,t,m)}break;case p.LD:c.vastUrl=t.notify_url+"&redir="+encodeURIComponent(t.rtb.video.asset_url)}else if(t.rtb[u.B5]){var h,y=t.rtb[u.B5];if(function(e){if(!e||""===e)return!1;var t=e.match(k),n=null!=t&&t.length>=1,r=e.match("trk.js"),i=null!=r&&r.length>=1;return e.startsWith("<script")&&i&&n}(t.viewability.config)){var b="pbjs_adid="+i+";pbjs_auc="+r.adUnitCode;h=t.viewability.config.replace("dom_id=%native_dom_id%",b)}var _=y.javascript_trackers;null==_?_=h:(0,o.d8)(_)?_=[_,h]:_.push(h),c[u.B5]={title:y.title,body:y.desc,body2:y.desc2,cta:y.ctatext,rating:y.rating,sponsoredBy:y.sponsored,privacyLink:y.privacy_link,address:y.address,downloads:y.downloads,likes:y.likes,phone:y.phone,price:y.price,salePrice:y.saleprice,clickUrl:y.link.url,displayUrl:y.displayurl,clickTrackers:y.link.click_trackers,impressionTrackers:y.impression_trackers,video:y.video,javascriptTrackers:_},y.main_img&&(c.native.image={url:y.main_img.url,height:y.main_img.height,width:y.main_img.width}),y.icon&&(c.native.icon={url:y.icon.url,height:y.icon.height,width:y.icon.width})}else{Object.assign(c,{width:t.rtb.banner.width,height:t.rtb.banner.height,ad:t.rtb.banner.content});try{if(t.rtb.trackers)for(var I=0;I<t.rtb.trackers[0].impression_urls.length;I++){var w=t.rtb.trackers[0].impression_urls[I],E=(0,o.SG)(w);c.ad+=E}}catch(e){(0,o.H)("Error appending tracking pixel",e)}}return c}(e,c,r);l.mediaType=function(e){var t=e.ad_type;return t===u.pX?u.pX:t===u.B5?u.B5:u.Mk}(c),i.push(l)}})),e.debug&&e.debug.debug_info){var l="AppNexus Debug Auction for Prebid\n\n"+e.debug.debug_info;l=l.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,o.ji)("https://console.appnexus.com/docs/understanding-the-debug-auction"),(0,o.ji)(l)}return i},getMappingFileInfo:function(){return{url:"https://acdn.adnxs-simple.com/prebid/appnexus-mapping/mappings.json",refreshInDays:2}},getUserSyncs:function(e,t,n,r,i){if(e.iframeEnabled&&(0,m.h)(n)&&function(e){return!e||!Array.isArray(e.applicableSections)||e.applicableSections.every((function(e){return"number"==typeof e&&e<=5}))}(i))return[{type:"iframe",url:"https://acdn.adnxs.com/dmp/async_usersync.html"}]},transformBidParams:function(e,t,n,r){var i=o.Bq;if(!0===t){var s=null,d=c.vc.getConfig("s2sConfig");(0,o.PO)(d)?s=(0,a.Z)(d,"endpoint.p1Consent"):(0,o.kJ)(d)&&d.forEach((function(e){(0,f.q9)(e.bidders,n.bids[0].bidder)&&(s=(0,a.Z)(e,"endpoint.p1Consent"))})),s&&s.match("/openrtb2/prebid")&&(i=K)}return e=(0,o.uh)({member:"string",invCode:"string",placementId:"number",keywords:i,publisherId:"number"},e),t&&(e.use_pmt_rule="boolean"==typeof e.usePaymentRule&&e.usePaymentRule,e.usePaymentRule&&delete e.usePaymentRule,S(e.keywords)&&e.keywords.forEach(P),Object.keys(e).forEach((function(t){var n=(0,o.G2)(t);n!==t&&(e[n]=e[t],delete e[t])}))),e}};function S(e){return!!((0,o.kJ)(e)&&e.length>0)}function P(e){S(e.value)&&""===e.value[0]&&delete e.value}function j(e){var t={};t.sizes=D(e.sizes),t.primary_size=t.sizes[0],t.ad_types=[],t.uuid=e.bidId,e.params.placementId?t.id=parseInt(e.params.placementId,10):t.code=e.params.invCode,t.allow_smaller_sizes=e.params.allowSmallerSizes||!1,t.use_pmt_rule=e.params.usePaymentRule||!1,t.prebid=!0,t.disable_psa=!0;var n=function(e){if(!(0,o.LQ)(e.getFloor))return e.params.reserve?e.params.reserve:null;var t=e.getFloor({currency:"USD",mediaType:"*",size:"*"});return(0,o.PO)(t)&&!isNaN(t.floor)&&"USD"===t.currency?t.floor:null}(e);if(n&&(t.reserve=n),e.params.position)t.position={above:1,below:2}[e.params.position]||0;else{var r=(0,a.Z)(e,"mediaTypes.banner.pos")||(0,a.Z)(e,"mediaTypes.video.pos");0!==r&&1!==r&&3!==r||(t.position=3===r?2:r)}e.params.trafficSourceCode&&(t.traffic_source_code=e.params.trafficSourceCode),e.params.privateSizes&&(t.private_sizes=D(e.params.privateSizes)),e.params.supplyType&&(t.supply_type=e.params.supplyType),e.params.pubClick&&(t.pubclick=e.params.pubClick),e.params.extInvCode&&(t.ext_inv_code=e.params.extInvCode),e.params.publisherId&&(t.publisher_id=parseInt(e.params.publisherId,10)),e.params.externalImpId&&(t.external_imp_id=e.params.externalImpId);var i=(0,a.Z)(e,"ortb2Imp.ext.data.keywords");if((0,o.d8)(i)&&""!==i||!(0,o.xb)(e.params.keywords)){var s=W(i),c=(0,o.PO)(e.params.keywords)?(0,o.I8)(e.params.keywords):{};Object.keys(c).forEach((function(e){((0,o.d8)(c[e])||(0,o.hj)(c[e]))&&(c[e]=[c[e]])}));var d=(0,o.Ee)({},c,s),p=(0,o.Bq)(d);p.length>0&&(p.forEach(P),t.keywords=p)}var g,v,m=(0,a.Z)(e,"ortb2Imp.ext.data.pbadslot");if(m&&(t.gpid=m),(e.mediaType===u.B5||(0,a.Z)(e,"mediaTypes.".concat(u.B5)))&&(t.ad_types.push(u.B5),0===t.sizes.length&&(t.sizes=D([1,1])),e.nativeParams)){var h=(g=e.nativeParams,v={},Object.keys(g).forEach((function(e){var t=C[e]&&C[e].serverName||C[e]||e,n=C[e]&&C[e].requiredParams;if(v[t]=Object.assign({},n,g[e]),(t===C.image.serverName||t===C.icon.serverName)&&v[t].sizes){var r=v[t].sizes;((0,o.HC)(r)||(0,o.kJ)(r)&&r.length>0&&r.every((function(e){return(0,o.HC)(e)})))&&(v[t].sizes=D(v[t].sizes))}t===C.privacyLink&&(v.privacy_supported=!0)})),v);t[u.B5]={layouts:[h]}}var y=(0,a.Z)(e,"mediaTypes.".concat(u.pX)),I=(0,a.Z)(e,"mediaTypes.video.context");t.hb_source=y&&"adpod"===I?7:1,(e.mediaType===u.pX||y)&&t.ad_types.push(u.pX),(e.mediaType===u.pX||y&&"outstream"!==I)&&(t.require_asset_url=!0),e.params.video&&(t.video={},Object.keys(e.params.video).filter((function(e){return(0,f.q9)(b,e)})).forEach((function(n){switch(n){case"context":case"playback_method":var r=e.params.video[n];r=(0,o.kJ)(r)?r[0]:r,t.video[n]=T[n][r];break;case"frameworks":break;default:t.video[n]=e.params.video[n]}})),e.params.video.frameworks&&(0,o.kJ)(e.params.video.frameworks)&&(t.video_frameworks=e.params.video.frameworks)),y&&(t.video=t.video||{},Object.keys(y).filter((function(e){return(0,f.q9)(_,e)})).forEach((function(e){switch(e){case"minduration":case"maxduration":"number"!=typeof t.video[e]&&(t.video[e]=y[e]);break;case"skip":"boolean"!=typeof t.video.skippable&&(t.video.skippable=1===y[e]);break;case"skipafter":"number"!=typeof t.video.skipoffset&&(t.video.skippoffset=y[e]);break;case"playbackmethod":if("number"!=typeof t.video.playback_method){var n=y[e];(n=(0,o.kJ)(n)?n[0]:n)>=1&&n<=4&&(t.video.playback_method=n)}break;case"api":if(!t.video_frameworks&&(0,o.kJ)(y[e])){var r=y[e].map((function(e){var t=4===e?5:5===e?4:e;if(t>=1&&t<=5)return t})).filter((function(e){return e}));t.video_frameworks=r}break;case"startdelay":case"placement":var i="context";if("number"!=typeof t.video[i]){var a=y.placement,s=y.startdelay,c=function(e){if(e)return 2===e?"in-banner":e>2?"outstream":void 0}(a)||function(e){if(e)return 0===e?"pre_roll":-1===e?"mid_roll":-2===e?"post_roll":void 0}(s);t.video[i]=T[i][c]}}}))),e.renderer&&(t.video=Object.assign({},t.video,{custom_renderer_present:!0})),e.params.frameworks&&(0,o.kJ)(e.params.frameworks)&&(t.banner_frameworks=e.params.frameworks);var w=(0,f.sE)(l.K.getAdUnits(),(function(t){return e.transactionId===t.transactionId}));return w&&w.mediaTypes&&w.mediaTypes.banner&&t.ad_types.push(u.Mk),0===t.ad_types.length&&delete t.ad_types,t}function D(e){var t=[],n={};if((0,o.kJ)(e)&&2===e.length&&!(0,o.kJ)(e[0]))n.width=parseInt(e[0],10),n.height=parseInt(e[1],10),t.push(n);else if("object"===(0,r.Z)(e))for(var i=0;i<e.length;i++){var a=e[i];(n={}).width=parseInt(a[0],10),n.height=parseInt(a[1],10),t.push(n)}return t}function R(e){return!!e.params.user}function B(e){return!!parseInt(e.params.member,10)}function U(e){if(e.params)return!!e.params.app}function N(e){return e.params&&e.params.app?!!e.params.app.id:!!e.params.app}function Z(e){return!!e.debug}function q(e){return e.mediaTypes&&e.mediaTypes.video&&e.mediaTypes.video.context===u.Oh}function M(e){var t=!1,n=e.params,r=e.params.video;return n.frameworks&&(0,o.kJ)(n.frameworks)&&(t=(0,f.q9)(e.params.frameworks,6)),!t&&r&&r.frameworks&&(0,o.kJ)(r.frameworks)&&(t=(0,f.q9)(e.params.video.frameworks,6)),t}function z(e,t,n){(0,o.xb)(e.video)&&(e.video={}),e.video[t]=n}function F(e,t){!function(e){try{var t=document.getElementById(e).querySelectorAll("div[id^='google_ads']");t[0]&&t[0].style.setProperty("display","none")}catch(e){}}(e.adUnitCode),function(e){try{var t=document.getElementById(e).querySelectorAll("script[id^='sas_script']");t[0].nextSibling&&"iframe"===t[0].nextSibling.localName&&t[0].nextSibling.style.setProperty("display","none")}catch(e){}}(e.adUnitCode),e.renderer.push((function(){((0,o.W$)(t)||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()},H.bind(null,e))}))}function H(e,t,n){e.renderer.handleVideoEvent({id:t,eventName:n})}function L(e,t,n,r){return t&&(r?e.push({source:n,id:t,rti_partner:r}):e.push({source:n,id:t})),e}function K(e){var t="";return Object.keys(e).forEach((function(n){(0,o.d8)(e[n])?""!==e[n]?t+="".concat(n,"=").concat(e[n],","):t+="".concat(n,","):(0,o.kJ)(e[n])&&(""===e[n][0]?t+="".concat(n,","):e[n].forEach((function(e){t+="".concat(n,"=").concat(e,",")})))})),t=t.substring(0,t.length-1)}function W(e){var t={};return(0,o.d8)(e)&&""!==e&&e.split(/\s*(?:,)\s*/).forEach((function(e){if(-1!==e.indexOf("=")){var n=e.split("="),r=n[0],i=n[1];t.hasOwnProperty(r)?t[r].push(i):t[r]=[i]}else t.hasOwnProperty(e)||(t[e]=[""])})),t}(0,d.dX)(A),window.pbjs.installedModules.push("appnexusBidAdapter")},7673:function(e,t,n){n.d(t,{h:function(){return i}});var r=n(265);function i(e){return null==e||!e.gdprApplies||!0===(0,r.Z)(e,"vendorData.purpose.consents.1")}}},function(e){e.O(0,[866],(function(){return e(e.s=6319)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[266],{5630:function(e,t,n){var r,i,o,a,s,c,d=n(1002),u=n(4942),l=n(4358),f=n(6475),p=n(3193),g=n(1039),v=n(4614),m=n(9128),h=n(6372),y=n(8176),b=!1,_={iab:function(e){var t=e.onSuccess,n=e.onError;function r(e,r){(0,l.PN)("Received a response from CMP",e),r?!1===e.gdprApplies||"tcloaded"===e.eventStatus||"useractioncomplete"===e.eventStatus?E(e,{onSuccess:t,onError:n}):c=e:n("CMP unable to register callback function.  Please check CMP setup.")}var i={},o=function(){for(var e,t,n=window;;){try{if("function"==typeof n.__tcfapi){t=n.__tcfapi,e=n;break}}catch(e){}try{if(n.frames.__tcfapiLocator){e=n;break}}catch(e){}if(n===window.top)break;n=n.parent}return{cmpFrame:e,cmpFunction:t}}(),a=o.cmpFrame,s=o.cmpFunction;if(!a)return n("TCF2 CMP not found.");"function"==typeof s?((0,l.PN)("Detected CMP API is directly accessible, calling it now..."),s("addEventListener",2,r)):((0,l.PN)("Detected CMP is outside the current iframe where Prebid.js is located, calling it now..."),function(e,t,n){var r="__tcfapi",o="".concat(r,"Call");window[r]=function(e,n,r,a){var s=Math.random()+"",c=(0,u.Z)({},o,{command:e,version:n,parameter:a,callId:s});i[s]=r,t.postMessage(c,"*")},window.addEventListener("message",(function(e){var t="".concat(r,"Return"),n="string"==typeof e.data&&(0,v.q9)(e.data,t)?JSON.parse(e.data):e.data;if(n[t]&&n[t].callId){var o=n[t];i.hasOwnProperty(o.callId)&&i[o.callId](o.returnValue,o.success)}}),!1),window[r]("addEventListener",2,n)}(0,a,r))},static:function(e){var t=e.onSuccess,n=e.onError;E(a,{onSuccess:t,onError:n})}};function I(e){var t=!1,n=null;function o(r,i,o){if(null!=n&&clearTimeout(n),t=!0,g.rp.setConsentData(r),"function"==typeof e){for(var a=arguments.length,s=new Array(a>3?a-3:0),c=3;c<a;c++)s[c-3]=arguments[c];e.apply(void 0,[i,o].concat(s))}}if((0,v.q9)(Object.keys(_),r)){var a={onSuccess:function(e){return o(e,!1)},onError:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.apply(void 0,[null,!0,e].concat(n))}};if(_[r](a),!t){var s=function(){var e=function(e){o(e,!1,"CMP did not load, continuing auction...")};E(c,{onSuccess:e,onError:function(){return e(O(void 0))}})};0===i?s():n=setTimeout(s,i)}}else o(null,!1,"CMP framework (".concat(r,") is not a supported framework.  Aborting consentManagement module and resuming auction."))}var w=(0,m.g3)("gdpr",(function(e,t){var n;n=function(n,r){if(r){var i=l.yN;n&&(i=l.H,r="".concat(r," Canceling auction as per consentManagement config."));for(var o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];i.apply(void 0,[r].concat(a))}n?(e.stopTiming(),"function"==typeof t.bidsBackHandler?t.bidsBackHandler():(0,l.H)("Error executing bidsBackHandler")):e.call(this,t)},s?((0,l.PN)("User consent information already known.  Pulling internally stored information..."),n(!1)):I(n)}));function E(e,t){var n,i,a=t.onSuccess,s=t.onError;"static"===r&&(e=e.getTCData),n=e&&"boolean"==typeof e.gdprApplies?e.gdprApplies:o,i=e&&e.tcString,"boolean"==typeof n&&(!0!==n||i&&(0,l.d8)(i))?a(O(e)):s("CMP returned unexpected value during lookup process.",e)}function O(e){return s={consentString:e?e.tcString:void 0,vendorData:e||void 0,gdprApplies:e&&"boolean"==typeof e.gdprApplies?e.gdprApplies:o},e&&e.addtlConsent&&(0,l.d8)(e.addtlConsent)&&(s.addtlConsent=e.addtlConsent),s.apiVersion=2,s}p.vc.getConfig("consentManagement",(function(e){return function(e){(e=e&&(e.gdpr||e.usp||e.gpp?e.gdpr:e))&&"object"===(0,d.Z)(e)?((0,l.d8)(e.cmpApi)?r=e.cmpApi:(r="iab",(0,l.PN)("consentManagement config did not specify cmp.  Using system default setting (".concat("iab",")."))),(0,l.hj)(e.timeout)?i=e.timeout:(i=1e4,(0,l.PN)("consentManagement config did not specify timeout.  Using system default setting (".concat(1e4,")."))),o=!0===e.defaultGdprScope,(0,l.PN)("consentManagement module has been activated..."),"static"===r&&((0,l.PO)(e.consentData)?(a=e.consentData,i=0):(0,l.H)("consentManagement config with cmpApi: 'static' did not specify consentData. No consents will be available to adapters.")),b||pbjs.requestBids.before(w,50),b=!0,g.rp.enable(),I()):(0,l.yN)("consentManagement (gdpr) config not defined, exiting consent manager")}(e.consentManagement)})),y.S.before((function(e,t){return e(t.then((function(e){var t=g.rp.getConsentData();return t&&("boolean"==typeof t.gdprApplies&&(0,f.N)(e,"regs.ext.gdpr",t.gdprApplies?1:0),(0,f.N)(e,"user.ext.consent",t.consentString)),e})))})),(0,h.f8)({type:h.Z,name:"gdprAddtlConsent",fn:function(e,t){var n,r=null===(n=t.gdprConsent)||void 0===n?void 0:n.addtlConsent;r&&"string"==typeof r&&(0,f.N)(e,"user.ext.ConsentedProvidersSettings.consented_providers",r)}}),window.pbjs.installedModules.push("consentManagement")},6372:function(e,t,n){n.d(t,{Z:function(){return o},f8:function(){return d}});var r,i=["request","imp","bidResponse","response"],o=i[0],a=(i[1],i[2],i[3],"default"),s=new Set(i),c=(r={},{registerOrtbProcessor:function(e){var t=e.type,n=e.name,o=e.fn,c=e.priority,d=void 0===c?0:c,u=e.dialects,l=void 0===u?[a]:u;if(!s.has(t))throw new Error("ORTB processor type must be one of: ".concat(i.join(", ")));l.forEach((function(e){r.hasOwnProperty(e)||(r[e]={}),r[e].hasOwnProperty(t)||(r[e][t]={}),r[e][t][n]={priority:d,fn:o}}))},getProcessors:function(e){return r[e]||{}}}),d=c.registerOrtbProcessor}},function(e){e.O(0,[866],(function(){return e(e.s=5630)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[406],{241:function(__unused_webpack_module,__webpack_exports__,__nested_webpack_require_181377__){var _src_utils_js__WEBPACK_IMPORTED_MODULE_8__=__nested_webpack_require_181377__(4358),_src_utils_js__WEBPACK_IMPORTED_MODULE_10__=__nested_webpack_require_181377__(265),_src_adloader_js__WEBPACK_IMPORTED_MODULE_7__=__nested_webpack_require_181377__(5730),_src_adapters_bidderFactory_js__WEBPACK_IMPORTED_MODULE_11__=__nested_webpack_require_181377__(5339),_src_config_js__WEBPACK_IMPORTED_MODULE_3__=__nested_webpack_require_181377__(3193),_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__=__nested_webpack_require_181377__(4679),_src_polyfill_js__WEBPACK_IMPORTED_MODULE_9__=__nested_webpack_require_181377__(4614),criteo_direct_rsa_validate_build_verify_js__WEBPACK_IMPORTED_MODULE_0__=__nested_webpack_require_181377__(1582),_src_storageManager_js__WEBPACK_IMPORTED_MODULE_1__=__nested_webpack_require_181377__(5164),_src_native_js__WEBPACK_IMPORTED_MODULE_6__=__nested_webpack_require_181377__(59),_src_refererDetection_js__WEBPACK_IMPORTED_MODULE_4__=__nested_webpack_require_181377__(5102),_src_utils_gpdr_js__WEBPACK_IMPORTED_MODULE_5__=__nested_webpack_require_181377__(7673),GVLID=91,ADAPTER_VERSION=34,BIDDER_CODE="criteo",CDB_ENDPOINT="https://bidder.criteo.com/cdb",PROFILE_ID_INLINE=207,PROFILE_ID_PUBLISHERTAG=185,storage=(0,_src_storageManager_js__WEBPACK_IMPORTED_MODULE_1__.df)({gvlid:GVLID,bidderCode:BIDDER_CODE}),LOG_PREFIX="Criteo: ",FAST_BID_VERSION_PLACEHOLDER="%FAST_BID_VERSION%",FAST_BID_VERSION_CURRENT=134,FAST_BID_VERSION_LATEST="latest",FAST_BID_VERSION_NONE="none",PUBLISHER_TAG_URL_TEMPLATE="https://static.criteo.net/js/ld/publishertag.prebid"+FAST_BID_VERSION_PLACEHOLDER+".js",FAST_BID_PUBKEY_E=65537,FAST_BID_PUBKEY_N="ztQYwCE5BU7T9CDM5he6rKoabstXRmkzx54zFPZkWbK530dwtLBDeaWBMxHBUT55CYyboR/EZ4efghPi3CoNGfGWezpjko9P6p2EwGArtHEeS4slhu/SpSIFMjG6fdrpRoNuIAMhq1Z+Pr/+HOd1pThFKeGFr2/NhtAg+TXAzaU=",SID_COOKIE_NAME="cto_sid",IDCPY_COOKIE_NAME="cto_idcpy",LWID_COOKIE_NAME="cto_lwid",OPTOUT_COOKIE_NAME="cto_optout",BUNDLE_COOKIE_NAME="cto_bundle",GUID_RETENTION_TIME_HOUR=9360,OPTOUT_RETENTION_TIME_HOUR=43200,spec={code:BIDDER_CODE,gvlid:GVLID,supportedMediaTypes:[_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.Mk,_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.pX,_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.B5],getUserSyncs:function(e,t,n,r){if(canFastBid(_src_config_js__WEBPACK_IMPORTED_MODULE_3__.vc.getConfig("criteo.fastBidVersion")))return[];var i=(0,_src_refererDetection_js__WEBPACK_IMPORTED_MODULE_4__.nH)(),o="criteoPrebidAdapter";if(e.iframeEnabled&&(0,_src_utils_gpdr_js__WEBPACK_IMPORTED_MODULE_5__.h)(n)){var a=[];a.push("origin=".concat(o)),a.push("topUrl=".concat(i.domain)),n&&(n.gdprApplies&&a.push("gdpr=".concat(1==n.gdprApplies?1:0)),n.consentString&&a.push("gdpr_consent=".concat(n.consentString))),r&&a.push("us_privacy=".concat(r));var s=Math.random().toString(),c={bundle:readFromAllStorages(BUNDLE_COOKIE_NAME),cw:storage.cookiesAreEnabled(),localWebId:readFromAllStorages(LWID_COOKIE_NAME),lsw:storage.localStorageIsEnabled(),optoutCookie:readFromAllStorages(OPTOUT_COOKIE_NAME),origin:o,requestId:s,secureIdCookie:readFromAllStorages(SID_COOKIE_NAME),tld:i.domain,topUrl:i.domain,uid:readFromAllStorages(IDCPY_COOKIE_NAME),version:"7.34.0".replace(/\./g,"_")};window.addEventListener("message",(function e(t){if(t.data&&"https://gum.criteo.com"==t.origin&&t.data.requestId===s){this.removeEventListener("message",e),t.stopImmediatePropagation();var n=t.data;n.optout?(deleteFromAllStorages(IDCPY_COOKIE_NAME),deleteFromAllStorages(SID_COOKIE_NAME),deleteFromAllStorages(BUNDLE_COOKIE_NAME),deleteFromAllStorages(LWID_COOKIE_NAME),saveOnAllStorages(OPTOUT_COOKIE_NAME,!0,OPTOUT_RETENTION_TIME_HOUR)):(n.uid&&saveOnAllStorages(IDCPY_COOKIE_NAME,n.uid,GUID_RETENTION_TIME_HOUR),n.bundle&&saveOnAllStorages(BUNDLE_COOKIE_NAME,n.bundle,GUID_RETENTION_TIME_HOUR),n.removeSid?deleteFromAllStorages(SID_COOKIE_NAME):n.sid&&saveOnAllStorages(SID_COOKIE_NAME,n.sid,GUID_RETENTION_TIME_HOUR))}}),!0);var d=JSON.stringify(c).replace(/"/g,"%22");return[{type:"iframe",url:"https://gum.criteo.com/syncframe?".concat(a.join("&"),"#").concat(d)}]}return[]},isBidRequestValid:function(e){return!(!e||!e.params||!e.params.zoneId&&!e.params.networkId||hasVideoMediaType(e)&&!hasValidVideoMediaType(e))},buildRequests:function(e,t){var n,r,i,o;e=(0,_src_native_js__WEBPACK_IMPORTED_MODULE_6__.lY)(e);var a=t.ortb2||{};Object.assign(t,{publisherExt:null===(n=a.site)||void 0===n?void 0:n.ext,userExt:null===(r=a.user)||void 0===r?void 0:r.ext,ceh:_src_config_js__WEBPACK_IMPORTED_MODULE_3__.vc.getConfig("criteo.ceh"),coppa:_src_config_js__WEBPACK_IMPORTED_MODULE_3__.vc.getConfig("coppa")});var s=_src_config_js__WEBPACK_IMPORTED_MODULE_3__.vc.getConfig("criteo.fastBidVersion"),c=canFastBid(s);if(!publisherTagAvailable()&&c){window.Criteo=window.Criteo||{},window.Criteo.usePrebidEvents=!1,tryGetCriteoFastBid();var d=getFastBidUrl(s);setTimeout((function(){(0,_src_adloader_js__WEBPACK_IMPORTED_MODULE_7__.B)(d,BIDDER_CODE)}),t.timeout)}if(publisherTagAvailable()){var u=new Criteo.PubTag.Adapters.Prebid(PROFILE_ID_PUBLISHERTAG,ADAPTER_VERSION,e,t,"7.34.0");i=u.buildCdbUrl(),o=u.buildCdbRequest()}else{var l=buildContext(e,t);i=buildCdbUrl(l),o=buildCdbRequest(l,e,t)}if(o)return{method:"POST",url:i,data:o,bidRequests:e}},interpretResponse:function(e,t){var n=e.body||e;if(publisherTagAvailable()){var r=Criteo.PubTag.Adapters.Prebid.GetAdapter(t);if(r)return r.interpretResponse(n,t)}var i=[];return n&&n.slots&&(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.kJ)(n.slots)&&n.slots.forEach((function(r){var o,a,s,c,d=(0,_src_polyfill_js__WEBPACK_IMPORTED_MODULE_9__.sE)(t.bidRequests,(function(e){return e.adUnitCode===r.impid&&(!e.params.zoneId||parseInt(e.params.zoneId)===r.zoneid)})),u=d.bidId,l={requestId:u,cpm:r.cpm,currency:r.currency,netRevenue:!0,ttl:r.ttl||60,creativeId:r.creativecode,width:r.width,height:r.height,dealId:r.dealCode};if(null!==(o=n.ext)&&void 0!==o&&null!==(a=o.paf)&&void 0!==a&&a.transmission&&null!==(s=r.ext)&&void 0!==s&&null!==(c=s.paf)&&void 0!==c&&c.content_id){var f={content_id:r.ext.paf.content_id,transmission:e.ext.paf.transmission};l.meta=Object.assign({},l.meta,{paf:f})}r.adomain&&(l.meta=Object.assign({},l.meta,{advertiserDomains:r.adomain})),r.native?d.params.nativeCallback?l.ad=createNativeAd(u,r.native,d.params.nativeCallback):(l.native=createPrebidNativeAd(r.native),l.mediaType=_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.B5):r.video?(l.vastUrl=r.displayurl,l.mediaType=_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.pX):l.ad=r.creative,i.push(l)})),i},onTimeout:function(e){if(publisherTagAvailable()&&Array.isArray(e)){var t=[];e.forEach((function(e){-1===t.indexOf(e.auctionId)&&(t.push(e.auctionId),Criteo.PubTag.Adapters.Prebid.GetAdapter(e.auctionId).handleBidTimeout())}))}},onBidWon:function(e){publisherTagAvailable()&&e&&Criteo.PubTag.Adapters.Prebid.GetAdapter(e.auctionId).handleBidWon(e)},onSetTargeting:function(e){publisherTagAvailable()&&Criteo.PubTag.Adapters.Prebid.GetAdapter(e.auctionId).handleSetTargeting(e)}};function readFromAllStorages(e){var t=storage.getCookie(e),n=storage.getDataFromLocalStorage(e);return t||n||void 0}function saveOnAllStorages(e,t,n){var r=new Date;r.setTime(r.getTime()+60*n*60*1e3);var i="expires=".concat(r.toUTCString());storage.setCookie(e,t,i),storage.setDataInLocalStorage(e,t)}function deleteFromAllStorages(e){storage.setCookie(e,"",0),storage.removeDataFromLocalStorage(e)}function publisherTagAvailable(){return"undefined"!=typeof Criteo&&Criteo.PubTag&&Criteo.PubTag.Adapters&&Criteo.PubTag.Adapters.Prebid}function buildContext(e,t){var n,r="";t&&t.refererInfo&&(r=t.refererInfo.page);var i=(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.en)(null==t||null===(n=t.refererInfo)||void 0===n?void 0:n.topmostLocation).search,o={url:r,debug:"1"===i.pbt_debug,noLog:"1"===i.pbt_nolog,amp:!1};return e.forEach((function(e){"amp"===e.params.integrationMode&&(o.amp=!0)})),o}function buildCdbUrl(e){var t=CDB_ENDPOINT;t+="?profileId="+PROFILE_ID_INLINE,t+="&av="+String(ADAPTER_VERSION),t+="&wv="+encodeURIComponent("7.34.0"),t+="&cb="+String(Math.floor(99999999999*Math.random())),storage.localStorageIsEnabled()?t+="&lsavail=1":t+="&lsavail=0",e.amp&&(t+="&im=1"),e.debug&&(t+="&debug=1"),e.noLog&&(t+="&nolog=1");var n=readFromAllStorages(BUNDLE_COOKIE_NAME);n&&(t+="&bundle=".concat(n)),readFromAllStorages(OPTOUT_COOKIE_NAME)&&(t+="&optout=1");var r=readFromAllStorages(SID_COOKIE_NAME);r&&(t+="&sid=".concat(r));var i=readFromAllStorages(IDCPY_COOKIE_NAME);return i&&(t+="&idcpy=".concat(i)),t}function checkNativeSendId(e){return!(e.nativeParams&&(e.nativeParams.image&&(!0!==e.nativeParams.image.sendId||!0===e.nativeParams.image.sendTargetingKeys)||e.nativeParams.icon&&(!0!==e.nativeParams.icon.sendId||!0===e.nativeParams.icon.sendTargetingKeys)||e.nativeParams.clickUrl&&(!0!==e.nativeParams.clickUrl.sendId||!0===e.nativeParams.clickUrl.sendTargetingKeys)||e.nativeParams.displayUrl&&(!0!==e.nativeParams.displayUrl.sendId||!0===e.nativeParams.displayUrl.sendTargetingKeys)||e.nativeParams.privacyLink&&(!0!==e.nativeParams.privacyLink.sendId||!0===e.nativeParams.privacyLink.sendTargetingKeys)||e.nativeParams.privacyIcon&&(!0!==e.nativeParams.privacyIcon.sendId||!0===e.nativeParams.privacyIcon.sendTargetingKeys)))}function buildCdbRequest(e,t,n){var r,i,o={publisher:{url:e.url,ext:n.publisherExt},regs:{coppa:!0===n.coppa?1:!1===n.coppa?0:void 0},slots:t.map((function(e){r=e.params.networkId||r,i=e.schain||i;var t={impid:e.adUnitCode,transactionid:e.transactionId,auctionId:e.auctionId};if(e.params.zoneId&&(t.zoneid=e.params.zoneId),(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_10__.Z)(e,"ortb2Imp.ext")&&(t.ext=e.ortb2Imp.ext),e.params.ext&&(t.ext=Object.assign({},t.ext,e.params.ext)),e.params.publisherSubId&&(t.publishersubid=e.params.publisherSubId),(e.params.nativeCallback||hasNativeMediaType(e))&&(t.native=!0,checkNativeSendId(e)||(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.yN)(LOG_PREFIX+"all native assets containing URL should be sent as placeholders with sendId(icon, image, clickUrl, displayUrl, privacyLink, privacyIcon)")),hasBannerMediaType(e)?t.sizes=parseSizes((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_10__.Z)(e,"mediaTypes.banner.sizes"),parseSize):t.sizes=[],hasVideoMediaType(e)){var n={playersizes:parseSizes((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_10__.Z)(e,"mediaTypes.video.playerSize"),parseSize),mimes:e.mediaTypes.video.mimes,protocols:e.mediaTypes.video.protocols,maxduration:e.mediaTypes.video.maxduration,api:e.mediaTypes.video.api,skip:e.mediaTypes.video.skip,placement:e.mediaTypes.video.placement,minduration:e.mediaTypes.video.minduration,playbackmethod:e.mediaTypes.video.playbackmethod,startdelay:e.mediaTypes.video.startdelay},o=e.params.video;void 0!==o&&(n.skip=n.skip||o.skip||0,n.placement=n.placement||o.placement,n.minduration=n.minduration||o.minduration,n.playbackmethod=n.playbackmethod||o.playbackmethod,n.startdelay=n.startdelay||o.startdelay||0),t.video=n}return enrichSlotWithFloors(t,e),t}))};return r&&(o.publisher.networkid=r),i&&(o.source={ext:{schain:i}}),o.user={ext:n.userExt},n&&n.ceh&&(o.user.ceh=n.ceh),n&&n.gdprConsent&&(o.gdprConsent={},void 0!==n.gdprConsent.gdprApplies&&(o.gdprConsent.gdprApplies=!!n.gdprConsent.gdprApplies),o.gdprConsent.version=n.gdprConsent.apiVersion,void 0!==n.gdprConsent.consentString&&(o.gdprConsent.consentData=n.gdprConsent.consentString)),n&&n.uspConsent&&(o.user.uspIab=n.uspConsent),o}function parseSizes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};return null==e?[]:Array.isArray(e[0])?e.map((function(e){return t(e)})):[t(e)]}function parseSize(e){return e[0]+"x"+e[1]}function hasVideoMediaType(e){return void 0!==(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_10__.Z)(e,"mediaTypes.video")}function hasBannerMediaType(e){return void 0!==(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_10__.Z)(e,"mediaTypes.banner")}function hasNativeMediaType(e){return void 0!==(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_10__.Z)(e,"mediaTypes.native")}function hasValidVideoMediaType(e){var t=!0;if(["mimes","playerSize","maxduration","protocols","api","skip","placement","playbackmethod"].forEach((function(n){void 0===(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_10__.Z)(e,"mediaTypes.video."+n)&&void 0===(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_10__.Z)(e,"params.video."+n)&&(t=!1,(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.H)("Criteo Bid Adapter: mediaTypes.video."+n+" is required"))})),t){var n=e.mediaTypes.video.placement||e.params.video.placement;if("instream"==e.mediaTypes.video.context&&1===n)return!0;if("outstream"==e.mediaTypes.video.context&&1!==n)return!0}return!1}function createPrebidNativeAd(e){return{sendTargetingKeys:!1,title:e.products[0].title,body:e.products[0].description,sponsoredBy:e.advertiser.description,icon:e.advertiser.logo,image:e.products[0].image,clickUrl:e.products[0].click_url,privacyLink:e.privacy.optout_click_url,privacyIcon:e.privacy.optout_image_url,cta:e.products[0].call_to_action,price:e.products[0].price,impressionTrackers:e.impression_pixels.map((function(e){return e.url}))}}function createNativeAd(e,t,n){var r="criteo_prebid_native_slots";return window[r]=window[r]||{},window[r][e]={callback:n,payload:t},'\n<script type="text/javascript">\nfor (var i = 0; i < 10; ++i) {\n var slots = window.parent.'.concat(r,';\n  if(!slots){continue;}\n  var responseSlot = slots["').concat(e,'"];\n  responseSlot.callback(responseSlot.payload);\n  break;\n}\n<\/script>')}function pickAvailableGetFloorFunc(e){if(e.getFloor)return e.getFloor;if(e.params.bidFloor&&e.params.bidFloorCur)try{var t=parseFloat(e.params.bidFloor);return function(){return{currency:e.params.bidFloorCur,floor:t}}}catch(e){}}function enrichSlotWithFloors(e,t){try{var n,r,i,o={},a=pickAvailableGetFloorFunc(t);a&&(null!==(n=t.mediaTypes)&&void 0!==n&&n.banner&&(o.banner={},parseSizes((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_10__.Z)(t,"mediaTypes.banner.sizes")).forEach((function(e){return o.banner[parseSize(e).toString()]=a.call(t,{size:e,mediaType:_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.Mk})}))),null!==(r=t.mediaTypes)&&void 0!==r&&r.video&&(o.video={},parseSizes((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_10__.Z)(t,"mediaTypes.video.playerSize")).forEach((function(e){return o.video[parseSize(e).toString()]=a.call(t,{size:e,mediaType:_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.pX})}))),null!==(i=t.mediaTypes)&&void 0!==i&&i.native&&(o.native={},o.native["*"]=a.call(t,{size:"*",mediaType:_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.B5})),Object.keys(o).length>0&&(e.ext||(e.ext={}),Object.assign(e.ext,{floors:o})))}catch(e){(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.H)("Could not parse floors from Prebid: "+e)}}function canFastBid(e){return e!==FAST_BID_VERSION_NONE}function getFastBidUrl(e){var t;return e===FAST_BID_VERSION_LATEST?t="":e?(String(e).split(".")[0]<102&&(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.yN)("Specifying a Fastbid version which is not supporting version selection."),t="."+e):t="."+FAST_BID_VERSION_CURRENT,PUBLISHER_TAG_URL_TEMPLATE.replace(FAST_BID_VERSION_PLACEHOLDER,t)}function tryGetCriteoFastBid(){try{var fastBidStorageKey="criteo_fast_bid",hashPrefix="// Hash: ",fastBidFromStorage=storage.getDataFromLocalStorage(fastBidStorageKey);if(null!==fastBidFromStorage){var firstLineEndPosition=fastBidFromStorage.indexOf("\n"),firstLine=fastBidFromStorage.substr(0,firstLineEndPosition).trim();if(firstLine.substr(0,hashPrefix.length)!==hashPrefix)(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.yN)("No hash found in FastBid"),storage.removeDataFromLocalStorage(fastBidStorageKey);else{var publisherTagHash=firstLine.substr(hashPrefix.length),publisherTag=fastBidFromStorage.substr(firstLineEndPosition+1);(0,criteo_direct_rsa_validate_build_verify_js__WEBPACK_IMPORTED_MODULE_0__.T)(publisherTag,publisherTagHash,FAST_BID_PUBKEY_N,FAST_BID_PUBKEY_E)?((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.PN)("Using Criteo FastBid"),eval(publisherTag)):((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.yN)("Invalid Criteo FastBid found"),storage.removeDataFromLocalStorage(fastBidStorageKey))}}}catch(e){}}(0,_src_adapters_bidderFactory_js__WEBPACK_IMPORTED_MODULE_11__.dX)(spec),window.pbjs.installedModules.push("criteoBidAdapter")},7673:function(e,t,n){n.d(t,{h:function(){return i}});var r=n(265);function i(e){return null==e||!e.gdprApplies||!0===(0,r.Z)(e,"vendorData.purpose.consents.1")}},4611:function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){null!==e&&this.fromHexString(e)}return e.prototype.toHexString=function(){if(this.s<0)return"-"+this.negate().toHexString();var e,t=!1,n="",r=this.t,i=this.DB-r*this.DB%4;if(r-- >0)for(i<this.DB&&(e=this[r]>>i)>0&&(t=!0,n=u(e));r>=0;)i<4?(e=(this[r]&(1<<i)-1)<<4-i,e|=this[--r]>>(i+=this.DB-4)):(e=this[r]>>(i-=4)&15,i<=0&&(i+=this.DB,--r)),e>0&&(t=!0),t&&(n+=u(e));return t?n:"0"},e.prototype.fromHexString=function(t){if(null!==t){this.t=0,this.s=0;for(var n=t.length,r=!1,i=0;--n>=0;){var o=d(t,n);o<0?"-"==t.charAt(n)&&(r=!0):(r=!1,0==i?this[this.t++]=o:i+4>this.DB?(this[this.t-1]|=(o&(1<<this.DB-i)-1)<<i,this[this.t++]=o>>this.DB-i):this[this.t-1]|=o<<i,(i+=4)>=this.DB&&(i-=this.DB))}this.clamp(),r&&e.ZERO.subTo(this,this)}},e.prototype.negate=function(){var t=i();return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.mod=function(t){var n=i();return this.abs().divRemTo(t,null,n),this.s<0&&n.compareTo(e.ZERO)>0&&t.subTo(n,n),n},e.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},e.prototype.lShiftTo=function(e,t){for(var n=e%this.DB,r=this.DB-n,i=(1<<r)-1,o=Math.floor(e/this.DB),a=this.s<<n&this.DM,s=this.t-1;s>=0;--s)t[s+o+1]=this[s]>>r|a,a=(this[s]&i)<<n;for(s=o-1;s>=0;--s)t[s]=0;t[o]=a,t.t=this.t+o+1,t.s=this.s,t.clamp()},e.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},e.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},e.prototype.squareTo=function(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},e.prototype.multiplyTo=function(t,n){var r=this.abs(),i=t.abs(),o=r.t;for(n.t=o+i.t;--o>=0;)n[o]=0;for(o=0;o<i.t;++o)n[o+r.t]=r.am(0,i[o],n,o,0,r.t);n.s=0,n.clamp(),this.s!=t.s&&e.ZERO.subTo(n,n)},e.prototype.divRemTo=function(t,n,r){var a=t.abs();if(!(a.t<=0)){var s=this.abs();if(s.t<a.t)return null!=n&&n.fromHexString("0"),void(null!=r&&this.copyTo(r));null==r&&(r=i());var c=i(),d=this.s,u=t.s,l=this.DB-o(a[a.t-1]);l>0?(a.lShiftTo(l,c),s.lShiftTo(l,r)):(a.copyTo(c),s.copyTo(r));var f=c.t,p=c[f-1];if(0!=p){var g=p*(1<<this.F1)+(f>1?c[f-2]>>this.F2:0),v=this.FV/g,m=(1<<this.F1)/g,h=1<<this.F2,y=r.t,b=y-f,_=null==n?i():n;for(c.dlShiftTo(b,_),r.compareTo(_)>=0&&(r[r.t++]=1,r.subTo(_,r)),e.ONE.dlShiftTo(f,_),_.subTo(c,c);c.t<f;)c[c.t++]=0;for(;--b>=0;){var I=r[--y]==p?this.DM:Math.floor(r[y]*v+(r[y-1]+h)*m);if((r[y]+=c.am(0,I,r,b,0,f))<I)for(c.dlShiftTo(b,_),r.subTo(_,r);r[y]<--I;)r.subTo(_,r)}null!=n&&(r.drShiftTo(f,n),d!=u&&e.ZERO.subTo(n,n)),r.t=f,r.clamp(),l>0&&r.rShiftTo(l,r),d<0&&e.ZERO.subTo(r,r)}}},e.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var r=e%this.DB,i=this.DB-r,o=(1<<r)-1;t[0]=this[n]>>r;for(var a=n+1;a<this.t;++a)t[a-n-1]|=(this[a]&o)<<i,t[a-n]=this[a]>>r;r>0&&(t[this.t-n-1]|=(this.s&o)<<i),t.t=this.t-n,t.clamp()}},e.prototype.drShiftTo=function(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s},e.prototype.subTo=function(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);n<i;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()},e.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},e.prototype.modPowInt=function(e,t){var n;return n=e<256||t.isEven()?new l(t):new f(t),this.exp(e,n)},e.prototype.exp=function(t,n){if(t>4294967295||t<1)return e.ONE;var r=i(),a=i(),s=n.convert(this),c=o(t)-1;for(s.copyTo(r);--c>=0;)if(n.sqrTo(r,a),(t&1<<c)>0)n.mulTo(a,s,r);else{var d=r;r=a,a=d}return n.revert(r)},e.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},e.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0},e.prototype.am1=function(e,t,n,r,i,o){for(;--o>=0;){var a=t*this[e++]+n[r]+i;i=Math.floor(a/67108864),n[r++]=67108863&a}return i},e.prototype.am2=function(e,t,n,r,i,o){for(var a=32767&t,s=t>>15;--o>=0;){var c=32767&this[e],d=this[e++]>>15,u=s*c+d*a;i=((c=a*c+((32767&u)<<15)+n[r]+(1073741823&i))>>>30)+(u>>>15)+s*d+(i>>>30),n[r++]=1073741823&c}return i},e.prototype.am3=function(e,t,n,r,i,o){for(var a=16383&t,s=t>>14;--o>=0;){var c=16383&this[e],d=this[e++]>>14,u=s*c+d*a;i=((c=a*c+((16383&u)<<14)+n[r]+i)>>28)+(u>>14)+s*d,n[r++]=268435455&c}return i},e}();function i(){return new r(null)}function o(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}t.BigInteger=r,t.nbi=i,t.nbits=o;var a,s,c=[];for(a="0".charCodeAt(0),s=0;s<=9;++s)c[a++]=s;for(a="a".charCodeAt(0),s=10;s<36;++s)c[a++]=s;for(a="A".charCodeAt(0),s=10;s<36;++s)c[a++]=s;function d(e,t){var n=c[e.charCodeAt(t)];return null==n?-1:n}function u(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}t.intAt=d,t.int2char=u,t.b64toHex=function(e){var t,n="",r=0,i=0;for(t=0;t<e.length&&"="!=e.charAt(t);++t){var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e.charAt(t));o<0||(0==r?(n+=u(o>>2),i=3&o,r=1):1==r?(n+=u(i<<2|o>>4),i=15&o,r=2):2==r?(n+=u(i),n+=u(o>>2),i=3&o,r=3):(n+=u(i<<2|o>>4),n+=u(15&o),r=0))}return 1==r&&(n+=u(i<<2)),n},t.removeExtraSymbols=function(e){return e.replace(/^1f+00/,"").replace("3031300d060960864801650304020105000420","")};var l=function(){function e(e){this.m=e}return e.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),f=function(){function e(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}return e.prototype.convert=function(e){var t=i();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(r.ZERO)>0&&this.m.subTo(t,t),t},e.prototype.revert=function(e){var t=i();return e.copyTo(t),this.reduce(t),t},e.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[n=t+this.m.t]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}();function p(e){var t=i();return t.fromHexString(e.toString()),t}t.nbv=p,r.ZERO=p(0),r.ONE=p(1),"Microsoft Internet Explorer"==navigator.appName?(r.prototype.am=r.prototype.am2,n=30):"Netscape"!=navigator.appName?(r.prototype.am=r.prototype.am1,n=26):(r.prototype.am=r.prototype.am3,n=28),r.prototype.DB=n,r.prototype.DM=(1<<n)-1,r.prototype.DV=1<<n,r.prototype.FV=Math.pow(2,52),r.prototype.F1=52-n,r.prototype.F2=2*n-52},4950:function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.hash=function(t){t=e.utf8Encode(t||"");for(var n=[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],r=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],i=(t+=String.fromCharCode(128)).length/4+2,o=Math.ceil(i/16),a=new Array(o),s=0;s<o;s++){a[s]=new Array(16);for(var c=0;c<16;c++)a[s][c]=t.charCodeAt(64*s+4*c)<<24|t.charCodeAt(64*s+4*c+1)<<16|t.charCodeAt(64*s+4*c+2)<<8|t.charCodeAt(64*s+4*c+3)<<0}var d=8*(t.length-1)/Math.pow(2,32),u=8*(t.length-1)>>>0;for(a[o-1][14]=Math.floor(d),a[o-1][15]=u,s=0;s<o;s++){for(var l=new Array(64),f=0;f<16;f++)l[f]=a[s][f];for(f=16;f<64;f++)l[f]=e.q1(l[f-2])+l[f-7]+e.q0(l[f-15])+l[f-16]>>>0;var p=r[0],g=r[1],v=r[2],m=r[3],h=r[4],y=r[5],b=r[6],_=r[7];for(f=0;f<64;f++){var I=_+e.z1(h)+e.Ch(h,y,b)+n[f]+l[f],w=e.z0(p)+e.Maj(p,g,v);_=b,b=y,y=h,h=m+I>>>0,m=v,v=g,g=p,p=I+w>>>0}r[0]=r[0]+p>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+v>>>0,r[3]=r[3]+m>>>0,r[4]=r[4]+h>>>0,r[5]=r[5]+y>>>0,r[6]=r[6]+b>>>0,r[7]=r[7]+_>>>0}var E=new Array(r.length);for(_=0;_<r.length;_++)E[_]=("00000000"+r[_].toString(16)).slice(-8);return E.join("")},e.utf8Encode=function(e){try{return(new TextEncoder).encode(e).reduce((function(e,t){return e+String.fromCharCode(t)}),"")}catch(t){return unescape(encodeURIComponent(e))}},e.ROTR=function(e,t){return t>>>e|t<<32-e},e.z0=function(t){return e.ROTR(2,t)^e.ROTR(13,t)^e.ROTR(22,t)},e.z1=function(t){return e.ROTR(6,t)^e.ROTR(11,t)^e.ROTR(25,t)},e.q0=function(t){return e.ROTR(7,t)^e.ROTR(18,t)^t>>>3},e.q1=function(t){return e.ROTR(17,t)^e.ROTR(19,t)^t>>>10},e.Ch=function(e,t,n){return e&t^~e&n},e.Maj=function(e,t,n){return e&t^e&n^t&n},e}();t.Sha256=n},1582:function(e,t,n){var r=n(4611),i=n(4950);t.T=function(e,t,n,o){var a=new r.BigInteger(r.b64toHex(t)),s=new r.BigInteger(r.b64toHex(n)),c=a.modPowInt(o,s);return r.removeExtraSymbols(c.toHexString())===i.Sha256.hash(e)}}},function(e){e.O(0,[866],(function(){return e(e.s=241)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[226],{2663:function(e,t,n){var r,i=n(1002),o=n(4358),a=n(8640),s=n(5644),c=n(8928),d=n(3193),u=n(2797),l=n(8792),f=n(6372),p=n(9128),g="https://cdn.jsdelivr.net/gh/prebid/currency-file@1/latest.json?date=$$TODAY$$",v=[],m={},h=!1,y=!0,b="USD",_=!1,I={},w={},E=function(){var e;function t(){e=(0,l.P)()}return t(),{done:function(){return e.resolve()},reset:t,promise:function(){return e.promise}}}();function O(e){r?((0,o.yN)(e),(0,o.yN)("Currency failed loading rates, falling back to currency.defaultRates")):(0,o.H)(e)}d.vc.getConfig("currency",(function(e){return function(e){var t=g;if("object"===(0,i.Z)(e.rates)&&(I.conversions=e.rates,h=!0,y=!1),"object"===(0,i.Z)(e.defaultRates)&&(r=e.defaultRates,I.conversions=r,h=!0),"string"==typeof e.adServerCurrency){(0,o.PN)("enabling currency support",arguments),b=e.adServerCurrency,e.conversionRateFile&&((0,o.PN)("currency using override conversionRateFile:",e.conversionRateFile),t=e.conversionRateFile);var n=t.indexOf("$$TODAY$$");if(-1!==n){var s=new Date,d="".concat(s.getMonth()+1),l="".concat(s.getDate());d.length<2&&(d="0".concat(d)),l.length<2&&(l="0".concat(l));var f="".concat(s.getFullYear()).concat(d).concat(l);t="".concat(t.substring(0,n)).concat(f).concat(t.substring(n+9,t.length))}!function(e){m={},_=!0,(0,o.PN)("Installing addBidResponse decorator for currency module",arguments),(0,a.R)().convertCurrency=function(e,t,n){return parseFloat(e)*k(t,n)},(0,u.v5)("addBidResponse").before(T,100),y?(y=!1,(0,c.h)(e,{success:function(e){try{I=JSON.parse(e),(0,o.PN)("currencyRates set to "+JSON.stringify(I)),m={},h=!0,C(),E.done()}catch(t){O("Failed to parse currencyRates response: "+e)}},error:function(){O.apply(void 0,arguments),E.done()}})):E.done()}(t)}else(0,o.PN)("disabling currency support"),function(){(0,o.PN)("Uninstalling addBidResponse decorator for currency module",arguments),(0,u.v5)("addBidResponse").getHooks({hook:T}).remove(),delete(0,a.R)().convertCurrency,b="USD",m={},_=!1,h=!1,y=!0,I={},w={}}();"object"===(0,i.Z)(e.bidderCurrencyDefault)&&(w=e.bidderCurrencyDefault)}(e.currency)}));var T=(0,p.A)("currency",(function(e,t,n,r){if(!n)return e.call(this,t,n,r);var i=n.bidderCode||n.bidder;if(w[i]){var a=w[i];n.currency&&a!==n.currency?(0,o.yN)("Currency default '".concat(i,": ").concat(a,"' ignored. adapter specified '").concat(n.currency,"'")):n.currency=a}if(n.currency||((0,o.yN)('Currency not specified on bid.  Defaulted to "USD"'),n.currency="USD"),n.getCpmInNewCurrency=function(e){return(parseFloat(this.cpm)*k(this.currency,e)).toFixed(3)},n.currency===b)return e.call(this,t,n,r);v.push(function(e,t,n){return function(){var r=n[1];if(void 0!==r&&"currency"in r&&"cpm"in r){var i=r.currency;try{var a=k(i);1!==a&&(r.cpm=(parseFloat(r.cpm)*a).toFixed(4),r.currency=b)}catch(e){(0,o.yN)("Returning NO_BID, getCurrencyConversion threw error: ",e),n[1]=n[2](s.Gw.Xx)}}return e.apply(t,n)}}(e,this,[t,n,r])),!_||h?C():e.untimed.bail(E.promise())}));function C(){for(;v.length>0;)v.shift()()}function k(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b,r=null,i="".concat(e,"->").concat(n);if(i in m)r=m[i],(0,o.ji)("Using conversionCache value "+r+" for "+i);else if(!1===_){if("USD"!==e)throw new Error("Prebid currency support has not been enabled and fromCurrency is not USD");r=1}else if(e===n)r=1;else if(e in I.conversions){if(!(n in(t=I.conversions[e])))throw new Error("Specified adServerCurrency in config '"+n+"' not found in the currency rates file");r=t[n],(0,o.PN)("getCurrencyConversion using direct "+e+" to "+n+" conversionRate "+r)}else if(n in I.conversions){if(!(e in(t=I.conversions[n])))throw new Error("Specified fromCurrency '"+e+"' not found in the currency rates file");r=x(1/t[e],4),(0,o.PN)("getCurrencyConversion using reciprocal "+e+" to "+n+" conversionRate "+r)}else{var a=Object.keys(I.conversions)[0];if(!(e in I.conversions[a]))throw new Error("Specified fromCurrency '"+e+"' not found in the currency rates file");var s=1/I.conversions[a][e];if(!(n in I.conversions[a]))throw new Error("Specified adServerCurrency in config '"+n+"' not found in the currency rates file");r=x(s*I.conversions[a][n],4),(0,o.PN)("getCurrencyConversion using intermediate "+e+" thru "+a+" to "+n+" conversionRate "+r)}return i in m||((0,o.ji)("Adding conversionCache value "+r+" for "+i),m[i]=r),r}function x(e,t){for(var n=1,r=0;r<t;r++)n+="0";return Math.round(e*n)/n}(0,f.f8)({type:f.Z,name:"currency",fn:function(e,t,n){_&&(e.cur=e.cur||[n.currency||b])}}),window.pbjs.installedModules.push("currency")},6372:function(e,t,n){n.d(t,{Z:function(){return o},f8:function(){return d}});var r,i=["request","imp","bidResponse","response"],o=i[0],a=(i[1],i[2],i[3],"default"),s=new Set(i),c=(r={},{registerOrtbProcessor:function(e){var t=e.type,n=e.name,o=e.fn,c=e.priority,d=void 0===c?0:c,u=e.dialects,l=void 0===u?[a]:u;if(!s.has(t))throw new Error("ORTB processor type must be one of: ".concat(i.join(", ")));l.forEach((function(e){r.hasOwnProperty(e)||(r[e]={}),r[e].hasOwnProperty(t)||(r[e][t]={}),r[e][t][n]={priority:d,fn:o}}))},getProcessors:function(e){return r[e]||{}}}),d=c.registerOrtbProcessor}},function(e){e.O(0,[866],(function(){return e(e.s=2663)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[429],{6730:function(e,t,n){var r=n(2797),i=n(4358),o=n(8928),a=n(8640),s={},c="brandSafety",d="slots",u="custom",l="ias-kw",f={adt:"adt",alc:"alc",dlm:"dlm",hat:"hat",off:"off",vio:"vio",drg:"drg","ias-kw":"ias-kw",fr:"fr",vw:"vw",grm:"grm",pub:"pub",vw05:"vw05",vw10:"vw10",vw15:"vw15",vw30:"vw30",vw_vv:"vw_vv",grm_vv:"grm_vv",pub_vv:"pub_vv",id:"id"};function p(e,t){var n=i.pw(e),r=e.code,o=function(e){var t="";return i.kJ(e)&&(t="["+(t=e.reduce((function(e,t){return e.push(t.join(".")),e}),[])).join(",")+"]"),t}(n),a=function(e,t,n){var r=t.code;return i.xb(e)?!i.xb(n)&&i.RI(n,t.code)&&i.d8(n[t.code])&&!i.xb(n[t.code])&&(r=n[t.code]):r=e.gptSlot,r}(i.ky(e.code),e,t),s={id:r,ss:o,p:a};return"{"+i.RR(s).map((function(e){return[e,s[e]].join(":")})).join(",")+"}"}function g(){return{success:function(e,t){if(200===t.status)try{!function(e){var t={};try{t=JSON.parse(e)}catch(e){i.H("error",e)}s=t}(e)}catch(e){i.H("Unable to parse IAS response.",e)}},error:function(){i.H("failed to retrieve IAS data")}}}var v={name:"ias",init:function(e,t){var n=e.params;if(!n||!n.pubId)return i.H("missing pubId param for IAS provider"),!1;if(n.hasOwnProperty("keyMappings")){var r=n.keyMappings;for(var o in r)f.hasOwnProperty(o)&&(f[o]=r[o])}return!0},getTargetingData:function(e,t,n){var r={};try{i.xb(s)||e.forEach((function(e){r[e]=function(e){var t={};return s[c]&&i.Ee(t,s[c]),s.fr&&(t.fr=s.fr),s[u]&&l in s[u]&&(t[l]=s[u][l]),s[d]&&e in s[d]&&i.Ee(t,s[d][e]),function(e){var t={};for(var n in f)e.hasOwnProperty(n)&&(t[f[n]]=e[n]);return t}(t)}(e)}))}catch(e){i.H("error",e)}return i.PN("IAS targeting",r),r},getBidRequestData:function(e,t,n,r){var i=e.adUnits||(0,a.R)().adUnits,s=n.params.pubId,c=n.params.pageUrl,d=n.params.adUnitPath;(function(e){var t;try{t=new URL(e)}catch(e){return!1}return"http:"===t.protocol||"https:"===t.protocol})(c)||(c=document.location.href);var u=function(e,t,n,r){var i=[];return i.push(["anId",e]),(i=i.concat(t.reduce((function(e,t){return e.push(["slot",p(t,r)]),e}),[]))).push(["wr",[window.innerWidth||-1,window.innerHeight||-1].join(".")]),i.push(["sr",[window.screen&&window.screen.width||-1,window.screen&&window.screen.height||-1].join(".")]),i.push(["url",encodeURIComponent(n)]),encodeURI(i.map((function(e){return e.join("=")})).join("&"))}(s,i,c,d);(0,o.h)("".concat("https://pixel.adsafeprotected.com/services/pub","?").concat(u),g(),void 0,{method:"GET"}),t()}};(0,r.Bx)("realTimeData",v),window.pbjs.installedModules.push("iasRtdProvider")}},function(e){e.O(0,[866],(function(){return e(e.s=6730)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[114],{5407:function(e,t,n){var r=n(4358),i=n(265),o=n(8928),a=n(2797),s=(0,n(5164).df)(),c={name:"identityLink",gvlid:97,decode:function(e){return{idl_env:e}},getId:function(e,t){var n=e&&e.params||{};if(n&&"string"==typeof n.pid){var o=t&&"boolean"==typeof t.gdprApplies&&t.gdprApplies?1:0,a=o?t.consentString:"",s=2===i.Z(t,"vendorData.tcfPolicyVersion");if(!o||a&&""!==a){var c="https://api.rlcdn.com/api/identity/envelope?pid=".concat(n.pid).concat(o?(s?"&ct=4&cv=":"&ct=1&cv=")+a:"");return{callback:function(e){window.ats?(r.PN("identityLink: ATS exists!"),window.ats.retrieveEnvelope((function(t){t?(r.PN("identityLink: An envelope can be retrieved from ATS!"),u(!0),e(JSON.parse(t).envelope)):d(c,e,n)}))):d(c,e,n)}}}r.PN("identityLink: Consent string is required to call envelope API.")}else r.H("identityLink: requires partner id to be defined")}};function d(e,t,n){var i,a={success:function(e){var n;if(e)try{n=JSON.parse(e)}catch(e){r.PN(e)}t(n&&n.envelope?n.envelope:"")},error:function(e){r.PN("identityLink: identityLink: ID fetch encountered an error",e),t()}};n.notUse3P||s.getCookie("_lr_retry_request")||((i=new Date).setTime(i.getTime()+36e5),s.setCookie("_lr_retry_request","true",i.toUTCString()),r.PN("identityLink: A 3P retrieval is attempted!"),u(!1),(0,o.h)(e,a,void 0,{method:"GET",withCredentials:!0}))}function u(e){var t=new Date;t.setTime(t.getTime()+2592e6),s.setCookie("_lr_env_src_ats",e,t.toUTCString())}(0,a.Bx)("userId",c),window.pbjs.installedModules.push("identityLinkIdSystem")}},function(e){e.O(0,[866],(function(){return e(e.s=5407)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[155],{3390:function(e,t,n){var r=n(9062),i=n(1002),o=n(4942),a=n(265),s=n(4358),c=n(6475),d=n(4679),u=n(3193),l=n(5644),f=n(5164),p=n(2021),g=n(4614),v=n(5339),m=n(154),h=n(5706);function y(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);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,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(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 I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w="ix",E="roundel",O=[d.Mk,d.pX,d.B5],T=[144,144],C={JPY:1},k={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"]},x={"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":""},A=["britepoolid","lipbid","criteoId","merkleId","parrableId","connectid","tapadId","quantcastId","pubProvidedId"],S=["mimes","minduration","maxduration"],P=["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"],j="ixdiag",D="".concat(w,"_features"),R=!1,B=(0,f.df)({gvlid:10,bidderCode:w}),U={featureToggles:{},isFeatureEnabled:function(e){return(0,a.Z)(this.featureToggles,"features.".concat(e,".activated"))},getFeatureToggles:function(){if(B.localStorageIsEnabled()){var e=(0,s.dj)(B.getDataFromLocalStorage(D));(0,a.Z)(e,"expiry")&&e.expiry>=(new Date).getTime()?this.featureToggles=e:this.clearFeatureToggles()}},setFeatureToggles:function(e){var t=e.body,n=new Date,r=(0,a.Z)(t,"ext.features");r&&(this.featureToggles={expiry:n.setHours(n.getHours()+1),features:r},B.localStorageIsEnabled()&&B.setDataInLocalStorage(D,JSON.stringify(this.featureToggles)))},clearFeatureToggles:function(){this.featureToggles={},B.localStorageIsEnabled()&&B.removeDataFromLocalStorage(D)}},N=0,Z="",q="";function M(e){var t=z(e,d.pX),n=(0,a.Z)(e,"mediaTypes.video"),r=(0,a.Z)(e,"params.video");if(W(n,r).length)return{};for(var i in t.video=r?(0,s.I8)(e.params.video):{},t.ext.tid=(0,a.Z)(e,"ortb2Imp.ext.tid"),n)-1===P.indexOf(i)||t.video.hasOwnProperty(i)||(t.video[i]=n[i]);if(t.video.minduration>t.video.maxduration)return(0,s.H)("IX Bid Adapter: video minduration [".concat(t.video.minduration,"] cannot be greater than video maxduration [").concat(t.video.maxduration,"]"),{bidder:w,code:9}),{};var o=r&&r.context||n&&n.context;if(o&&!t.video.hasOwnProperty("placement")&&(o===m.LD?t.video.placement=1:o===m.gZ?(0,a.Z)(r,"playerConfig.floatOnScroll")?t.video.placement=5:t.video.placement=4:(0,s.yN)("IX Bid Adapter: Video context '".concat(o,"' is not supported"))),!t.video.w||!t.video.h){var c=J((0,a.Z)(t,"video.playerSize"))||J((0,a.Z)(e,"params.size"));if(!c)return(0,s.yN)("IX Bid Adapter: Video size is missing in [mediaTypes.video]"),{};t.video.w=c[0],t.video.h=c[1]}return F(e,t,d.pX),t}function z(e,t){var n={};if(n.id=e.bidId,n.ext={},(0,a.Z)(e,"params.".concat(t,".siteId"))&&!isNaN(Number(e.params[t].siteId)))switch(t){case d.Mk:n.ext.siteID=e.params.banner.siteId.toString();break;case d.pX:n.ext.siteID=e.params.video.siteId.toString();break;case d.B5:n.ext.siteID=e.params.native.siteId.toString()}else n.ext.siteID=e.params.siteId.toString();return!e.params.hasOwnProperty("id")||"string"!=typeof e.params.id&&"number"!=typeof e.params.id||(n.ext.sid=String(e.params.id)),n}function F(e,t,n){var r=null,i=null;if(e.params.bidFloor&&e.params.bidFloorCur&&(r={floor:e.params.bidFloor,currency:e.params.bidFloorCur}),(0,s.LQ)(e.getFloor)){var o="*",a="*";if(n&&(0,s.r3)(O,n)){var c=t[n];o=n,a=[c.w,c.h]}try{i=e.getFloor({mediaType:o,size:a})}catch(e){(0,s.yN)("priceFloors module call getFloor failed, error : ",e)}}i?(t.bidfloor=i.floor,t.bidfloorcur=i.currency,t.ext.fl="p"):r&&(t.bidfloor=r.floor,t.bidfloorcur=r.currency,t.ext.fl="x")}function H(e,t,n){var r={},i=!(!(0,a.Z)(e,"exp")||!(0,s.U)(e.exp)),o=(0,a.Z)(e,"dealid")||(0,a.Z)(e,"ext.dealid");C.hasOwnProperty(t)?r.cpm=e.price/C[t]:r.cpm=e.price/100,r.requestId=e.impid,o&&(r.dealId=o),r.netRevenue=!0,r.currency=t,r.creativeId=e.hasOwnProperty("crid")?e.crid:"-",2!=e.mtype||(!e.ext||e.ext.vasturl)&&e.ext?e.ext&&e.ext.vasturl&&(r.vastUrl=e.ext.vasturl):r.vastXml=e.adm;var c=null;if("string"==typeof e.adm&&"{"===e.adm[0]&&"}"===e.adm[e.adm.length-1])try{c=JSON.parse(e.adm)}catch(e){(0,s.yN)("adm looks like JSON but failed to parse: ",e)}return e.ext&&e.ext.vasturl||2==e.mtype?(r.width=n.video.w,r.height=n.video.h,r.mediaType=d.pX,r.mediaTypes=n.mediaTypes,r.ttl=i?e.exp:3600):c&&c.native?(r.native={ortb:c.native},r.width=e.w?e.w:1,r.height=e.h?e.h:1,r.mediaType=d.B5,r.ttl=i?e.exp:3600):(r.ad=e.adm,r.width=e.w,r.height=e.h,r.mediaType=d.Mk,r.ttl=i?e.exp:300),r.meta={},r.meta.networkId=(0,a.Z)(e,"ext.dspid"),r.meta.brandId=(0,a.Z)(e,"ext.advbrandid"),r.meta.brandName=(0,a.Z)(e,"ext.advbrand"),e.adomain&&e.adomain.length>0&&(r.meta.advertiserDomains=e.adomain),r}function L(e){return Array.isArray(e)&&2===e.length&&(0,s.U)(e[0])&&(0,s.U)(e[1])}function K(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(L(e))return e[0]===t[0]&&e[1]===t[1];for(var n=0;n<e.length;n++)if(e[n][0]===t[0]&&e[n][1]===t[1])return!0;return!1}function W(e,t){var n=[];e||(0,s.yN)("IX Bid Adapter: mediaTypes.video is the preferred location for video params in ad unit");for(var r=0,i=S;r<i.length;r++){var o=i[r],a=e&&e.hasOwnProperty(o),c=t&&t.hasOwnProperty(o);a||c||n.push("IX Bid Adapter: ".concat(o," is not included in either the adunit or params level"))}var d=e&&e.hasOwnProperty("protocol"),u=e&&e.hasOwnProperty("protocols"),l=t&&t.hasOwnProperty("protocol"),f=t&&t.hasOwnProperty("protocols");return d||u||l||f||n.push("IX Bid Adapter: protocol/protcols is not included in either the adunit or params level"),n}function J(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return L(e)?e:!!L(e[0])&&e[0]}function V(e,t,n){if(e)return I(I({},(0,g.sE)(n,(function(t){return t.bidId===e}))),(0,g.sE)(t,(function(t){return t.id===e})))}function G(e,t,n,o){var l="https://htlb.casalemedia.com/openrtb/pbjs",f=function(e){var t=[],n={};if((0,s.kJ)(e)){var r,i=y(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;x.hasOwnProperty(o.source)&&(0,a.Z)(o,"uids.0")&&(n[o.source]=!0,""!=x[o.source]&&(o.uids[0].ext={rtiPartner:x[o.source]}),delete o.uids[0].atype,t.push(o))}}catch(e){i.e(e)}finally{i.f()}}return{toSend:t,seenSources:n}}((0,a.Z)(e,"0.userIdAsEids")),p=f.toSend,g=(0,a.Z)(t,"refererInfo.page"),v=8e3;if(U.isFeatureEnabled("pbjs_use_32kb_size_limit")&&(v=32e3),window.headertag&&"function"==typeof window.headertag.getIdentityInfo){var m=window.headertag.getIdentityInfo();if(m&&"object"===(0,i.Z)(m))for(var h in m)if(m.hasOwnProperty(h)){var b=m[h];!b.responsePending&&b.data&&"object"===(0,i.Z)(b.data)&&Object.keys(b.data).length&&!f.seenSources[b.data.source]&&p.push(b.data)}}if(t&&t.bidderCode===E&&!f.seenSources["liveramp.com"])return[];var _={},O=(0,a.Z)(t,"timeout");_.id=e[0].bidderRequestId.toString(),_.site={},_.ext={},_.ext.source="prebid",_.ext.ixdiag={},_.ext.ixdiag.ls=B.localStorageIsEnabled(),_.imp=[],_.at=1;var T=function(e){for(var t=e.map((function(e){return e.transactionId})).filter((function(e,t,n){return n.indexOf(e)===t})),n={mfu:0,bu:0,iu:0,nu:0,ou:0,allu:0,ren:!1,version:"7.34.0",userIds:X(e[0]),url:window.location.href.split("?")[0]},r=function(r){o=e.filter((function(e){return e.transactionId===t[r]}))[0],(0,a.Z)(o,"mediaTypes")&&(Object.keys(o.mediaTypes).length>1&&n.mfu++,(0,a.Z)(o,"mediaTypes.native")&&n.nu++,(0,a.Z)(o,"mediaTypes.banner")&&n.bu++,"outstream"===(0,a.Z)(o,"mediaTypes.video.context")&&(n.ou++,oe(o)&&(n.ren=!0)),"instream"===(0,a.Z)(o,"mediaTypes.video.context")&&n.iu++,n.allu++)},i=0;i<t.length;i++){var o;r(i)}return n}(e);for(var C in T)_.ext.ixdiag[C]=T[C];O&&(_.ext.ixdiag.tmax=O),u.vc.getConfig("userSync")&&(_.ext.ixdiag.syncsPerBidder=u.vc.getConfig("userSync").syncsPerBidder);var A=function(){if(B.localStorageIsEnabled()){var e,t={};try{e=JSON.parse(B.getDataFromLocalStorage(j)||"{}")}catch(e){return(0,s.H)("ix can not read ixdiag from localStorage."),null}return Object.keys(e).forEach((function(n){Object.keys(e[n]).forEach((function(r){"number"==typeof e[n][r]&&(t[r]=t[r]?t[r]+e[n][r]:e[n][r])}))})),t}}();(0,s.xb)(A)||(_.ext.ixdiag.err=A),_.ext.ixdiag.imps=Object.keys(n).length,_.source={tid:e[0].auctionId},e[0].schain&&(_.source.ext={},_.source.ext.schain=e[0].schain),p.length>0&&(_.user={},_.user.eids=p),document.referrer&&""!==document.referrer&&(_.site.ref=document.referrer),t&&(t.gdprConsent&&((Z=t.gdprConsent).hasOwnProperty("gdprApplies")&&(_.regs={ext:{gdpr:Z.gdprApplies?1:0}}),Z.hasOwnProperty("consentString")&&(_.user=_.user||{},_.user.ext={consent:Z.consentString||""},Z.hasOwnProperty("addtlConsent")&&Z.addtlConsent&&(_.user.ext.consented_providers_settings={consented_providers:Z.addtlConsent}))),t.uspConsent&&((0,c.N)(_,"regs.ext.us_privacy",t.uspConsent),q=t.uspConsent),g&&(_.site.page=g),t.gppConsent&&((0,c.N)(_,"regs.gpp",t.gppConsent.gppString),(0,c.N)(_,"regs.gpp_sid",t.gppConsent.applicableSections))),u.vc.getConfig("coppa")&&(0,c.N)(_,"regs.coppa",1);var S={};N=e[0].params.siteId,S.s=N;var P=t&&t.bidderCode||"ix",D=u.vc.getConfig(P),R=[],M=0,z=Object.keys(n),F="".concat(l).concat((0,s.Re)(I(I({},S),{},{r:JSON.stringify(_)}))).length;if(F>v)return(0,s.H)("IX Bid Adapter: Base request size has exceeded maximum request size.",{bidder:w,code:7}),R;var H=F,L=0,K=!1;if(D&&"object"===(0,i.Z)(D.firstPartyData)){var W=D.firstPartyData,J="?";for(var V in W)W.hasOwnProperty(V)&&(J+="".concat(encodeURIComponent(V),"=").concat(encodeURIComponent(W[V]),"&"));J=J.slice(0,-1),(L=encodeURIComponent(J).length)<v?("page"in _.site?_.site.page+=J:_.site.page=J,H+=L):(0,s.H)("IX Bid Adapter: IX config FPD request size has exceeded maximum request size.",{bidder:w,code:6})}for(var G=function(){if(H>=v||R.length>=4)return"break";for(var i=n[z[Y]],o=i.missingImps,u=void 0===o?[]:o,f=i.ixImps,p=!1,g=v-H,m={ixImps:void 0===f?[]:f,missingBannerImpressions:u},h=Object.keys(m).map((function(e){return m[e]})).filter((function(e){return Array.isArray(e)})).reduce((function(e,t){return e.concat.apply(e,(0,r.Z)(t))}),[]),y=encodeURIComponent(JSON.stringify({impressionObjects:h})).length;h.length&&y>g;)p=!0,h.pop(),y=encodeURIComponent(JSON.stringify({impressionObjects:h})).length;var b=n[z[Y]].gpid,E=n[z[Y]].dfp_ad_unit_code,O=n[z[Y]].tid,T=n[z[Y]].sid;if(h.length&&d.Mk in h[0]){for(var C=h[0],x={id:C.id,banner:{topframe:C.banner.topframe,format:h.map((function(e){var t=e.banner;return{w:t.w,h:t.h,ext:e.ext}}))}},A=0;A<x.banner.format.length;A++)null!=x.banner.format[A].ext&&null!=x.banner.format[A].ext.sid&&delete x.banner.format[A].ext.sid,"bidfloor"in h[A]&&(x.banner.format[A].ext.bidfloor=h[A].bidfloor);var P=n[z[Y]].pos;(0,s.U)(P)&&(x.banner.pos=P),(E||b||O||T)&&(x.ext={},x.ext.dfp_ad_unit_code=E,x.ext.gpid=b,x.ext.tid=O,x.ext.sid=T),"bidfloor"in h[0]&&(x.bidfloor=h[0].bidfloor),"bidfloorcur"in h[0]&&(x.bidfloorcur=h[0].bidfloorcur),_.imp.push(x)}else{var j;h.forEach((function(e){return(0,c.N)(e,"ext.gpid",b)})),(j=_.imp).push.apply(j,(0,r.Z)(h))}H+=y;var D=(0,a.Z)(t,"ortb2")||{};if(!(0,s.xb)(D)&&!K){_.ext.ixdiag.fpd=!0;var B=I({},D.site||D.context);Object.keys(B).forEach((function(e){-1===k.SITE.indexOf(e)&&delete B[e]}));var U=I({},D.user);if(Object.keys(U).forEach((function(e){-1===k.USER.indexOf(e)&&delete U[e]})),D.device){var Z=I({},D.device.sua);(0,s.xb)(Z)||(0,c.N)(_,"device.sua",Z)}D.hasOwnProperty("regs")&&!t.gppConsent&&(D.regs.hasOwnProperty("gpp")&&"string"==typeof D.regs.gpp&&(0,c.N)(_,"regs.gpp",D.regs.gpp),D.regs.hasOwnProperty("gpp_sid")&&Array.isArray(D.regs.gpp_sid)&&(0,c.N)(_,"regs.gpp_sid",D.regs.gpp_sid));var q=(0,s.I8)(_);if(q.site=(0,s.Ee)({},q.site,B),q.user=(0,s.Ee)({},q.user,U),"".concat(l).concat((0,s.Re)(I(I({},S),{},{r:JSON.stringify(q)}))).length<v){_.site=(0,s.Ee)({},_.site,B),_.user=(0,s.Ee)({},_.user,U),K=!0;var L=encodeURIComponent(JSON.stringify(I(I({},B),U))).length;H+=L}else(0,s.H)("IX Bid Adapter: FPD request size has exceeded maximum request size.",{bidder:w,code:8})}var W=n[z[Y]].pbadslot,J=n[z[Y]].tagId,V=n[z[Y]].adUnitCode,G=n[z[Y]].divId;if(W||J||V||G){var X=(0,s.I8)(_);"".concat(l).concat((0,s.Re)(I(I({},S),{},{r:JSON.stringify(X)}))).length<v&&(_.ext.ixdiag.pbadslot=W,_.ext.ixdiag.tagid=J,_.ext.ixdiag.adunitcode=V,_.ext.ixdiag.divId=G)}var Q=Y===z.length-1;(p||Q)&&(Q&&!M||(_.ext.ixdiag.sn=M),M++,R.push({method:"POST",url:l+"?s="+N,data:(0,s.I8)(_),option:{contentType:"text/plain"},validBidRequests:e}),H=F,_.imp=[],K=!1)},Y=0;Y<z.length&&"break"!==G();Y++);return R}function X(e){var t=e.userId||{};return A.filter((function(e){return t[e]}))}function Y(e,t){if(t)for(var n=0;n<e.length;n++){var r=e[n];if(t[0]===r[0]&&t[1]===r[1]){e.splice(n,1);break}}}function Q(e,t){var n=function(e){var t=z(e,d.B5),n=e.nativeOrtbRequest;return n.eventtrackers=[{event:1,methods:[1,2]}],n.privacy=1,t.native={request:JSON.stringify(n),ver:"1.2"},t.ext.tid=(0,a.Z)(e,"ortb2Imp.ext.tid"),F(e,t,d.B5),t}(e);if(0!=Object.keys(n).length){t[e.transactionId]={},t[e.transactionId].ixImps=[],t[e.transactionId].ixImps.push(n),t[e.transactionId].gpid=(0,a.Z)(e,"ortb2Imp.ext.gpid"),t[e.transactionId].dfp_ad_unit_code=(0,a.Z)(e,"ortb2Imp.ext.data.adserver.adslot"),t[e.transactionId].pbadslot=(0,a.Z)(e,"ortb2Imp.ext.data.pbadslot"),t[e.transactionId].tagId=(0,a.Z)(e,"params.tagId");var r=e.adUnitCode,i=document.getElementById(r)?r:(0,s.ky)(r).divId;t[e.transactionId].adUnitCode=r,t[e.transactionId].divId=i}}function $(e,t){var n=M(e);if(0!=Object.keys(n).length){t[e.transactionId]={},t[e.transactionId].ixImps=[],t[e.transactionId].ixImps.push(n),t[e.transactionId].gpid=(0,a.Z)(e,"ortb2Imp.ext.gpid"),t[e.transactionId].dfp_ad_unit_code=(0,a.Z)(e,"ortb2Imp.ext.data.adserver.adslot"),t[e.transactionId].pbadslot=(0,a.Z)(e,"ortb2Imp.ext.data.pbadslot"),t[e.transactionId].tagId=(0,a.Z)(e,"params.tagId");var r=e.adUnitCode,i=document.getElementById(r)?r:(0,s.ky)(r).divId;t[e.transactionId].adUnitCode=r,t[e.transactionId].divId=i}}function ee(e,t,n){var r=function(e){var t=z(e,d.Mk);t.banner={};var n=(0,a.Z)(e,"params.size");return n&&(t.banner.w=n[0],t.banner.h=n[1]),t.banner.topframe=(0,s.yL)()?0:1,F(e,t,d.Mk),t}(e),i=K((0,a.Z)(e,"mediaTypes.banner.sizes"),(0,a.Z)(e,"params.size"));n.hasOwnProperty(e.transactionId)||(n[e.transactionId]={}),n[e.transactionId].gpid=(0,a.Z)(e,"ortb2Imp.ext.gpid"),n[e.transactionId].dfp_ad_unit_code=(0,a.Z)(e,"ortb2Imp.ext.data.adserver.adslot"),n[e.transactionId].tid=(0,a.Z)(e,"ortb2Imp.ext.tid"),n[e.transactionId].pbadslot=(0,a.Z)(e,"ortb2Imp.ext.data.pbadslot"),n[e.transactionId].tagId=(0,a.Z)(e,"params.tagId"),n[e.transactionId].pos=(0,a.Z)(e,"mediaTypes.banner.pos");var o=(0,a.Z)(e,"params.id");!o||"string"!=typeof o&&"number"!=typeof o||(n[e.transactionId].sid=String(o));var c=e.adUnitCode,u=document.getElementById(c)?c:(0,s.ky)(c).divId;n[e.transactionId].adUnitCode=c,n[e.transactionId].divId=u,i&&(n[e.transactionId].hasOwnProperty("ixImps")||(n[e.transactionId].ixImps=[]),n[e.transactionId].ixImps.push(r)),function(e,t,n){var r=e.transactionId;if(t.hasOwnProperty(r)){var i=[];t[r].hasOwnProperty("missingSizes")&&(i=t[r].missingSizes),Y(i,e.params.size),t[r].missingSizes=i}else if((0,a.Z)(e,"mediaTypes.banner.sizes")){var o=(0,s.I8)(e.mediaTypes.banner.sizes);Y(o,e.params.size);var c={missingSizes:o,impression:n};t[r]=c}}(e,t,r)}function te(e,t,n){var r=(0,s.I8)(t);return r.banner.w=n[0],r.banner.h=n[1],F(e,r,d.Mk),r}function ne(e){"ERROR"===e.type&&e.arguments&&e.arguments[1]&&e.arguments[1].bidder===w&&function(e){if(B.localStorageIsEnabled()){var t;try{t=JSON.parse(B.getDataFromLocalStorage(j)||"{}")}catch(e){(0,s.yN)("ix can not read ixdiag from localStorage.")}var n=new Date;if(Object.keys(t).map((function(e){var r=new Date(e);r.setDate(r.getDate()+7)-n<0&&delete t[e]})),"ERROR"===e.type&&e.arguments&&e.arguments[1]&&e.arguments[1].bidder===w){var r=n.toISOString().slice(0,10),i=e.arguments[1].code;i&&(t[r]=t[r]||{},Number(t[r][i])||(t[r][i]=0),t[r][i]++)}B.setDataInLocalStorage(j,JSON.stringify(t))}}(e)}function re(e){e.renderer.push((function(){var t=e.adUnitCode,n=document.getElementById(t)?t:(0,s.ky)(t).divId;n?window.createIXPlayer(n,e):(0,s.yN)("IX Bid Adapter: adUnitCode: ".concat(n," not found on page."))}))}function ie(e,t){var n=h.Th.install({id:e,url:t,loaded:!1});try{n.setRender(re)}catch(e){return(0,s.yN)("Prebid Error calling setRender on renderer",e),null}return t?n:((0,s.yN)("Outstream renderer URL not found"),null)}function oe(e){if("outstream"!==(0,a.Z)(e,"mediaTypes.video.context"))return!1;var t=(0,a.Z)(e,"mediaTypes.video.renderer");return t||(t=(0,a.Z)(e,"renderer")),!("object"===(0,i.Z)(t)&&t.url&&t.render)||t.backupOnly}var ae={code:w,gvlid:10,aliases:[{code:E,gvlid:10,skipPbsAliasing:!1}],supportedMediaTypes:O,isBidRequestValid:function(e){R||(p.on(l.FP.AUCTION_DEBUG,ne),p.on(l.FP.AD_RENDER_FAILED,ne),R=!0);var t,n,r=(0,a.Z)(e,"params.video"),i=(0,a.Z)(e,"params.size"),o=(0,a.Z)(e,"mediaTypes.banner.sizes"),c=(0,a.Z)(e,"mediaTypes.video"),d=(0,a.Z)(e,"mediaTypes.video.playerSize"),u=e.params.hasOwnProperty("bidFloor"),f=e.params.hasOwnProperty("bidFloorCur");if(e.hasOwnProperty("mediaType")&&!(0,s.r3)(O,e.mediaType))return(0,s.yN)("IX Bid Adapter: media type is not supported."),!1;if((0,a.Z)(e,"mediaTypes.banner")&&!o)return!1;if(i){var g=J(i);if(!g)return(0,s.H)("IX Bid Adapter: size has invalid format.",{bidder:w,code:1}),!1;if(!K(e.sizes,g)&&!K(d,g)&&!K(o,g))return(0,s.H)("IX Bid Adapter: bid size is not included in ad unit sizes or player size.",{bidder:w,code:2}),!1}if("string"!=typeof e.params.siteId&&"number"!=typeof e.params.siteId)return(0,s.H)("IX Bid Adapter: siteId must be string or number type.",{bidder:w,code:4}),!1;if("string"!=typeof e.params.siteId&&isNaN(Number(e.params.siteId)))return(0,s.H)("IX Bid Adapter: siteId must valid value",{bidder:w,code:4}),!1;if((u||f)&&!(u&&f&&(t=e.params.bidFloor,n=e.params.bidFloorCur,Boolean("number"==typeof t&&"string"==typeof n&&n.match(/^[A-Z]{3}$/)))))return(0,s.H)("IX Bid Adapter: bidFloor / bidFloorCur parameter has invalid format.",{bidder:w,code:5}),!1;if(c&&r){var v=M(e).video,h=W(c,r);if((0,a.Z)(e,"mediaTypes.video.context")===m.gZ&&oe(e)&&v){var y=[(0,a.Z)(v,"w"),(0,a.Z)(v,"h")];if(!(y[0]>=T[0]&&y[1]>=T[1]))return(0,s.H)("IX Bid Adapter: ".concat(y," is an invalid size for IX outstream renderer")),!1}if(h.length)return h.forEach((function(e){(0,s.H)(e,{bidder:w,code:3})})),!1}return function(e){return void 0===(0,a.Z)(e,"mediaTypes.native")||e.nativeOrtbRequest&&Array.isArray(e.nativeOrtbRequest.assets)&&e.nativeOrtbRequest.assets.length>0}(e)},buildRequests:function(e,t){var n=[],i={},o={},c={},u={};for(var l in U.getFeatureToggles(),e.forEach((function(e){var t=Object.keys((0,a.Z)(e,"mediaTypes",{}));for(var n in t)switch(t[n]){case d.Mk:ee(e,u,i);break;case d.pX:$(e,o);break;case d.B5:Q(e,c);break;default:(0,s.yN)("IX Bid Adapter: ad unit mediaTypes ".concat(n," is not supported"))}})),u)if(u.hasOwnProperty(l)){var f=u[l].missingSizes;i.hasOwnProperty(l)||(i[l]={}),i[l].hasOwnProperty("missingImps")||(i[l].missingImps=[],i[l].missingCount=0);for(var p=u[l].impression,g=0;g<f.length;g++){var v=te(e[0],p,f[g]);i[l].missingImps.push(v),i[l].missingCount++}}return Object.keys(i).length>0&&n.push.apply(n,(0,r.Z)(G(e,t,i))),Object.keys(o).length>0&&n.push.apply(n,(0,r.Z)(G(e,t,o))),Object.keys(c).length>0&&n.push.apply(n,(0,r.Z)(G(e,t,c))),n},interpretResponse:function(e,t){var n=[],r=null;if(!e.hasOwnProperty("body")||!e.body.hasOwnProperty("seatbid"))return U.setFeatureToggles(e),n;for(var i=e.body,o=i.seatbid,c=0;c<o.length;c++)if(o[c].hasOwnProperty("bid")){for(var u=o[c].bid,l=t.data,f=0;f<u.length;f++){var p=V(u[f].impid,l.imp,t.validBidRequests);if((r=H(u[f],i.cur,p)).mediaType===d.pX&&oe(p)){var g=(0,a.Z)(i,"ext.videoplayerurl");if(r.renderer=ie(u[f].bidId,g),!r.renderer)continue}n.push(r)}if((0,a.Z)(l,"ext.ixdiag.err")&&B.localStorageIsEnabled())try{B.removeDataFromLocalStorage(j)}catch(e){(0,s.H)("ix can not clear ixdiag from localStorage.")}}return U.setFeatureToggles(e),n},transformBidParams:function(e,t){return(0,s.uh)({siteID:"number"},e)},getUserSyncs:function(e,t){var n=[],r=null;if(t.length>0&&(r=(0,a.Z)(t[0],"body.ext.publishersyncsperbidderoverride")),void 0!==r&&0==r)return[];if(e.iframeEnabled)n.push({type:"iframe",url:"https://js-sec.indexww.com/um/ixmatch.html"});else{var i=null;u.vc.getConfig("userSync")&&(i=u.vc.getConfig("userSync").syncsPerBidder),0===i&&(i=r),i=r&&(0===i||i)?r>i?i:r:1;for(var o=0;o<i;o++)n.push({type:"image",url:se(i,o)})}return n}};function se(e,t){var n="",r="0";return Z&&Z.hasOwnProperty("gdprApplies")&&(r=Z.gdprApplies?"1":"0"),Z&&Z.hasOwnProperty("consentString")&&(n=Z.consentString||""),"https://dsum.casalemedia.com/pbusermatch?origin=prebid&site_id="+N.toString()+"&p="+e.toString()+"&i="+t.toString()+"&gdpr="+r+"&gdpr_consent="+n+"&us_privacy="+(q||"")}(0,v.dX)(ae),window.pbjs.installedModules.push("ixBidAdapter")}},function(e){e.O(0,[866],(function(){return e(e.s=3390)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[534],{7851:function(e,t,n){var r=n(1002),i=n(3324),o=n(265),a=n(4358),s=n(6475),c=n(3193),d=n(5339),u=n(4679),l=n(4614),f=[u.Mk,u.pX],p=["startdelay","mimes","minduration","maxduration","startdelay","skippable","playbackmethod","api","protocols","boxingallowed","linearity","delivery","protocol","placement","minbitrate","maxbitrate"],g={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:f,isBidRequestValid:function(e){var t=e.params.delDomain||e.params.platform;return(0,o.Z)(e,"mediaTypes.banner")&&t?!!e.params.unit||(0,o.Z)(e,"mediaTypes.banner.sizes.length")>0:!(!e.params.unit||!t)},buildRequests:function(e,t){if(0===e.length)return[];var n=[],r=function(e){return e.reduce((function(e,t){var n;return n=t,(0,o.Z)(n,"mediaTypes.video")&&!(0,o.Z)(n,"mediaTypes.banner")||n.mediaType===u.pX?e[0].push(t):e[1].push(t),e}),[[],[]])}(e),s=(0,i.Z)(r,2),d=s[0],f=s[1];return f.length>0&&n.push(function(e,t){var n=[],r=!1,i=h(e,t),s=(0,a.HA)(e,(function(e){return e.params.unit}));return i.aus=(0,a.HA)(e,(function(e){return(0,a.sF)(e.mediaTypes.banner.sizes).join(",")})).join("|"),i.divids=(0,a.HA)(e,(function(e){return encodeURIComponent(e.adUnitCode)})).join(","),i.aucs=(0,a.HA)(e,(function(e){var t=(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot");return encodeURIComponent(t||"")})).join(","),s.some((function(e){return e}))&&(i.auid=s.join(",")),e.some((function(e){return e.params.doNotTrack}))&&(i.ns=1),(!0===c.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,a.HA)(Object.keys(e.params.customParams),(function(t){return function(e,t){var n=t[e];return(0,a.kJ)(n)&&(n=n.join(",")),(e.toLowerCase()+"="+n.toLowerCase()).replace("+",".").replace("/","_")}(t,e.params.customParams)})),i=window.btoa(t.join("&"));r=!0,n.push(i)}else n.push("")})),r&&(i.tps=n.join(",")),b(i,u.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}}}(f,t)),d.length>0&&d.forEach((function(e){n.push(function(e,t){var n=function(e,t){var n,r,i=(0,o.Z)(e,"mediaTypes.video"),s=h([e],t),c=(0,o.Z)(e,"params.video")||{},d=(0,o.Z)(e,"mediaTypes.video.context"),f=(0,o.Z)(e,"mediaTypes.video.playerSize");(0,a.kJ)(e.sizes)&&2===e.sizes.length&&!(0,a.kJ)(e.sizes[0])?(n=parseInt(e.sizes[0],10),r=parseInt(e.sizes[1],10)):(0,a.kJ)(e.sizes)&&(0,a.kJ)(e.sizes[0])&&2===e.sizes[0].length?(n=parseInt(e.sizes[0][0],10),r=parseInt(e.sizes[0][1],10)):(0,a.kJ)(f)&&2===f.length&&(n=parseInt(f[0],10),r=parseInt(f[1],10));var g={w:n,h:r},v=e.params.video||e.params.openrtb||{};v.openrtb&&(v=v.openrtb),(0,a.kJ)(v.imp)&&(v=v.imp[0].video),Object.keys(v).filter((function(e){return(0,l.q9)(p,e)})).forEach((function(e){return g[e]=v[e]})),Object.keys(i).filter((function(e){return(0,l.q9)(p,e)})).forEach((function(e){return g[e]=i[e]}));var m={imp:[{video:g}]};s.openrtb=JSON.stringify(m),s.auid=e.params.unit,s.vwd=n||c.vwd,s.vht=r||c.vht,"outstream"===d&&(s.vos="101"),c.mimes&&(s.vmimes=c.mimes),e.params.test&&(s.vtest=1);var y=(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot");return y&&(s.aucs=encodeURIComponent(y)),b(s,u.pX,[e]),s}(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,r=function(e){return/avjp$/.test(e.url)?u.pX:u.Mk}(t);return r===u.pX?function(e,t){var n=t.bid,r=(t.startTime,[]);if(void 0!==e&&""!==e.vastUrl&&e.pub_rev>0){var i=(0,a.en)(e.vastUrl).search||{},o={};o.requestId=n.bidId,e.deal_id&&(o.dealId=e.deal_id),o.ttl=300,o.netRevenue=!0,o.currency=e.currency,o.cpm=parseInt(e.pub_rev,10)/1e3,o.width=parseInt(e.width,10),o.height=parseInt(e.height,10),o.creativeId=e.adid,o.vastUrl=e.vastUrl,o.mediaType=u.pX,e.ph=i.ph,e.colo=i.colo,e.ts=i.ts,r.push(o)}return r}(n,t.payload):function(e,t){for(var n=t.bids,r=(t.startTime,e.ads.ad),i=[],o=0;o<r.length;o++){var a=r[o],s=parseInt(a.idx,10),c={};if(c.requestId=n[s].bidId,a.pub_rev){c.cpm=Number(a.pub_rev)/1e3;var d=a.creative[0];d&&(c.width=d.width,c.height=d.height),c.creativeId=d.id,c.ad=a.html,a.deal_id&&(c.dealId=a.deal_id),c.ttl=300,c.netRevenue=!0,c.currency=a.currency,a.tbd&&(c.tbd=a.tbd),c.ts=a.ts,c.meta={},a.brand_id&&(c.meta.brandId=a.brand_id),a.adomain&&length(a.adomain)>0?c.meta.advertiserDomains=a.adomain:c.meta.advertiserDomains=[],a.adv_id&&(c.meta.dspid=a.adv_id),i.push(c)}}return i}(n,t.payload)},getUserSyncs:function(e,t,n,r){if(e.iframeEnabled||e.pixelEnabled){var i=e.iframeEnabled?"iframe":"image",a=(0,o.Z)(t,"0.body.ads.pixels")||(0,o.Z)(t,"0.body.pixels")||function(e,t){var n=[];return e&&(n.push("gdpr="+(e.gdprApplies?1:0)),n.push("gdpr_consent="+encodeURIComponent(e.consentString||""))),t&&n.push("us_privacy="+encodeURIComponent(t)),"".concat("https://u.openx.net/w/1.0/pd").concat(n.length>0?"?"+n.join("&"):"")}(n,r);return[{type:i,url:a}]}},transformBidParams:function(e,t){return(0,a.uh)({unit:"string",customFloor:"number"},e)}};function m(e){var t,n,r,i=window,o=document,a=o.documentElement;if(e){try{i=window.top,o=window.top.document}catch(e){return}r=o.body,t=i.innerWidth||a.clientWidth||r.clientWidth,n=i.innerHeight||a.clientHeight||r.clientHeight}else t=i.innerWidth||a.clientWidth,n=i.innerHeight||a.clientHeight;return"".concat(t,"x").concat(n)}function h(e,t){var n,r=(0,a.yL)();n={ju:t.refererInfo.page,ch:document.charSet||document.characterSet,res:"".concat(screen.width,"x").concat(screen.height,"x").concat(screen.colorDepth),ifr:r,tz:(new Date).getTimezoneOffset(),tws:m(r),be:1,bc:e[0].params.bc||"".concat("hb_pb","_").concat("3.0.3"),dddid:(0,a.HA)(e,(function(e){return e.transactionId})).join(","),nocache:(new Date).getTime()};var i=(0,o.Z)(t,"ortb2.device.sua");i&&(n.sua=JSON.stringify(i));var d=y("user.data",t.ortb2);d.length>0&&(n.sm=d);var u,l,f,p,v,h=y("site.content.data",t.ortb2);if(h.length>0&&(n.scsm=h),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"===c.vc.getConfig("consentManagement.cmpApi")&&(n.x_gdpr_f=1)}return t&&t.uspConsent&&(n.us_privacy=t.uspConsent),(0,o.Z)(e[0],"crumbs.pubcid")&&(0,s.N)(e[0],"userId.pubcid",(0,o.Z)(e[0],"crumbs.pubcid")),u=n,l=e[0].userId,(0,a.yi)(l,(function(e,t){var n=g[t];if(g.hasOwnProperty(t))switch(t){case"merkleId":case"uid2":u[n]=e.id;break;case"lipb":if(u[n]=e.lipbid,Array.isArray(e.segments)&&e.segments.length>0){var r="liveintent:"+e.segments.join("|");u.sm="".concat(u.sm?u.sm+",":"").concat(r)}break;case"parrableId":u[n]=e.eid;break;case"id5id":u[n]=e.uid;break;case"novatiq":u[n]=e.snowflake;break;default:u[n]=e}})),n=u,e[0].schain&&(n.schain=(f=e[0].schain,"".concat(f.ver,",").concat(f.complete,"!").concat((p=f.nodes,v=["asi","sid","hp","rid","name","domain"],p.map((function(e){return v.map((function(t){return e[t]||""})).join(",")})).join("!"))))),n}function y(e,t){var n=(0,o.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,r.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 b(e,t,n){var r=[],i=!1;n.forEach((function(e){var n=function(e,t){var n={},r=c.vc.getConfig("currency.adServerCurrency")||"USD";"function"==typeof e.getFloor&&(n=e.getFloor({currency:r,mediaType:t,size:"*"}));var i=n.floor||e.params.customFloor||0;return Math.round(1e3*i)}(e,t);n?(r.push(n),i=!0):r.push(0)})),i&&(e.aumfs=r.join(","))}(0,d.dX)(v),window.pbjs.installedModules.push("openxBidAdapter")}},function(e){e.O(0,[866],(function(){return e(e.s=7851)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[563],{9312:function(e,t,n){var r=n(2797),i=n(4358),o={name:"pubProvidedId",gvlid:n(4516).$P,decode:function(e){var t=e?{pubProvidedId:e}:void 0;return(0,i.PN)("PubProvidedId: Decoded value "+JSON.stringify(t)),t},getId:function(e){var t=e&&e.params||{},n=[];return(0,i.kJ)(t.eids)&&(n=n.concat(t.eids)),"function"==typeof t.eidsFunction&&(n=n.concat(t.eidsFunction())),{id:n}}};(0,r.Bx)("userId",o),window.pbjs.installedModules.push("pubProvidedIdSystem")}},function(e){e.O(0,[866],(function(){return e(e.s=9312)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[126],{5817:function(e,t,n){var r=n(9062),i=n(4942),o=n(1002),a=n(4358),s=n(265),c=n(6475),d=n(5339),u=n(4679),l=n(3193),f=n(5706),p=n(5975),g=n(59);function v(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}var m="pubmatic",h="PubMatic: ",y="USD",b=void 0,_="https://pubmatic.bbvms.com/r/".concat("$RENDERER",".js"),I={kadpageurl:"",gender:"",yob:"",lat:"",lon:"",wiid:"",profId:"",verId:""},w="number",E="array",O={mimes:E,minduration:w,maxduration:w,startdelay:w,playbackmethod:E,api:E,protocols:E,w,h:w,battr:E,linearity:w,placement:w,minbitrate:w,maxbitrate:w,skip:w},T={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}},C=[{id:T.SPONSOREDBY.ID,required:!0,data:{type:1}},{id:T.TITLE.ID,required:!0},{id:T.IMAGE.ID,required:!0}],k={1:"PMP",5:"PREF",6:"PMPG"},x={bootstrapPlayer:function(e){var t={code:e.adUnitCode};if(e.vastXml?t.vastXml=e.vastXml:e.vastUrl&&(t.vastUrl=e.vastUrl),e.vastXml||e.vastUrl){for(var n,r=x.getRendererId("pubmatic",e.rendererCode),i=document.getElementById(e.adUnitCode),o=0;o<window.bluebillywig.renderers.length;o++)if(window.bluebillywig.renderers[o]._id===r){n=window.bluebillywig.renderers[o];break}n?n.bootstrap(t,i):(0,a.yN)("".concat(h,": Couldn't find a renderer with ").concat(r))}else(0,a.yN)("".concat(h,": No vastXml or vastUrl on bid, bailing..."))},newRenderer:function(e,t){var n=_.replace("$RENDERER",e),r=f.Th.install({url:n,loaded:!1,adUnitCode:t});try{r.setRender(x.outstreamRender)}catch(e){(0,a.yN)("".concat(h,": Error tying to setRender on renderer"),e)}return r},outstreamRender:function(e){e.renderer.push((function(){x.bootstrapPlayer(e)}))},getRendererId:function(e,t){return"".concat(e,"-").concat(t)}},A=[u.Mk,u.pX,u.B5],S=0,P=!1,j={},D={},R=["pubmatic"],B=["all"];function U(e,t){if(!(0,a.d8)(t))return t&&(0,a.yN)(h+"Ignoring param key: "+e+", expects string-value, found "+(0,o.Z)(t)),b;switch(e){case"pmzoneid":return t.split(",").slice(0,50).map((function(e){return e.trim()})).join();case"kadfloor":case"lat":case"lon":return parseFloat(t)||b;case"yob":return parseInt(t)||b;default:return t}}function N(e){var t;e.params.adUnit="",e.params.adUnitIndex="0",e.params.width=0,e.params.height=0,e.params.adSlot=(t=e.params.adSlot,(0,a.d8)(t)?t.replace(/^\s+/g,"").replace(/\s+$/g,""):(t&&(0,a.yN)(m+": adSlot must be a string. Ignoring adSlot"),""));var n=e.params.adSlot,r=n.split(":");if(n=r[0],2==r.length&&(e.params.adUnitIndex=r[1]),r=n.split("@"),e.params.adUnit=r[0],r.length>1){if(2!=(r=r[1].split("x")).length)return void(0,a.yN)(h+"AdSlot Error: adSlot not in required format");e.params.width=parseInt(r[0],10),e.params.height=parseInt(r[1],10)}else if(e.hasOwnProperty("mediaTypes")&&e.mediaTypes.hasOwnProperty(u.Mk)&&e.mediaTypes.banner.hasOwnProperty("sizes")){for(var i=0,o=[];i<e.mediaTypes.banner.sizes.length;i++)2===e.mediaTypes.banner.sizes[i].length&&o.push(e.mediaTypes.banner.sizes[i]);e.mediaTypes.banner.sizes=o,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 Z(e,t,n){var r,i="Ignoring param key: "+e+", expects "+n+", found "+(0,o.Z)(t);switch(n){case"boolean":r=a.jn;break;case w:r=a.hj;break;case"string":r=a.d8;break;case E:r=a.kJ}return r(t)?t:((0,a.yN)(h+i),b)}function q(e,t){var n=e.KEY;return{id:e.ID,required:t[n].required?1:0,data:{type:e.TYPE,len:t[n].len,ext:t[n].ext}}}function M(e){var t={assets:[]};for(var n in e){if(e.hasOwnProperty(n)){var r={};if(!(t.assets&&t.assets.length>0&&t.assets.hasOwnProperty(n)))switch(n){case T.TITLE.KEY:e[n].len||e[n].length?r={id:T.TITLE.ID,required:e[n].required?1:0,title:{len:e[n].len||e[n].length,ext:e[n].ext}}:(0,a.yN)(h+"Error: Title Length is required for native ad: "+JSON.stringify(e));break;case T.IMAGE.KEY:r={id:T.IMAGE.ID,required:e[n].required?1:0,img:{type:3,w:e[n].w||e[n].width||(e[n].sizes?e[n].sizes[0]:b),h:e[n].h||e[n].height||(e[n].sizes?e[n].sizes[1]:b),wmin:e[n].wmin||e[n].minimumWidth||(e[n].minsizes?e[n].minsizes[0]:b),hmin:e[n].hmin||e[n].minimumHeight||(e[n].minsizes?e[n].minsizes[1]:b),mimes:e[n].mimes,ext:e[n].ext}};break;case T.ICON.KEY:r={id:T.ICON.ID,required:e[n].required?1:0,img:{type:1,w:e[n].w||e[n].width||(e[n].sizes?e[n].sizes[0]:b),h:e[n].h||e[n].height||(e[n].sizes?e[n].sizes[1]:b)}};break;case T.VIDEO.KEY:r={id:T.VIDEO.ID,required:e[n].required?1:0,video:{minduration:e[n].minduration,maxduration:e[n].maxduration,protocols:e[n].protocols,mimes:e[n].mimes,ext:e[n].ext}};break;case T.EXT.KEY:r={id:T.EXT.ID,required:e[n].required?1:0};break;case T.LOGO.KEY:r={id:T.LOGO.ID,required:e[n].required?1:0,img:{type:2,w:e[n].w||e[n].width||(e[n].sizes?e[n].sizes[0]:b),h:e[n].h||e[n].height||(e[n].sizes?e[n].sizes[1]:b)}};break;case T.SPONSOREDBY.KEY:case T.BODY.KEY:case T.RATING.KEY:case T.LIKES.KEY:case T.DOWNLOADS.KEY:case T.PRICE.KEY:case T.SALEPRICE.KEY:case T.PHONE.KEY:case T.ADDRESS.KEY:case T.DESC2.KEY:case T.DISPLAYURL.KEY:case T.CTA.KEY:r=q(D[n],e)}}r&&r.id&&(t.assets[t.assets.length]=r)}var i=C.length,o=0;return C.forEach((function(e){for(var n=t.assets.length,r=0;r<n;r++)if(e.id==t.assets[r].id){o++;break}})),P=i!=o,t}function z(e){var t,n=e.mediaTypes.banner.sizes,r=[];if(n!==b&&(0,a.kJ)(n)){if(t={},e.params.width||e.params.height)t.w=e.params.width,t.h=e.params.height;else{if(0===n.length)return t=b,(0,a.yN)(h+"Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),t;t.w=parseInt(n[0][0],10),t.h=parseInt(n[0][1],10),n=n.splice(1,n.length-1)}n.length>0&&(r=[],n.forEach((function(e){e.length>1&&r.push({w:e[0],h:e[1]})})),r.length>0&&(t.format=r)),t.pos=0,t.topframe=(0,a.yL)()?0:1}else(0,a.yN)(h+"Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),t=b;return t}function F(e){var t,n=(0,a.Ee)((0,s.Z)(e.mediaTypes,"video"),e.params.video);if(n!==b){for(var r in t={},function(e,t){(0,s.Z)(e,"placement")||(0,a.yN)("Video.Placement param missing for "+t)}(n,e.adUnitCode),O)n.hasOwnProperty(r)&&(t[r]=Z(r,n[r],O[r]));(0,a.kJ)(e.mediaTypes.video.playerSize[0])?(t.w=parseInt(e.mediaTypes.video.playerSize[0][0],10),t.h=parseInt(e.mediaTypes.video.playerSize[0][1],10)):(0,a.hj)(e.mediaTypes.video.playerSize[0])&&(t.w=parseInt(e.mediaTypes.video.playerSize[0],10),t.h=parseInt(e.mediaTypes.video.playerSize[1],10))}else t=b,(0,a.yN)(h+"Error: Video config params missing for adunit: "+e.params.adUnit+" with mediaType set as video. Ignoring video impression in the adunit.");return t}function H(e,t,n){var r=t.rtd&&t.rtd.jwplayer&&t.rtd.jwplayer.targeting||void 0,i="";if(void 0!==r&&""!==r&&r.hasOwnProperty("segments")){var o,a=r.segments.length;i+="jw-id="+r.content.id;for(var s=0;s<a;s++)i+="|jw-"+r.segments[s]+"=1";n?void 0===e.dctr||0==e.dctr.length?e.dctr=i:e.dctr+="|"+i:(o=e.ext)&&void 0===o.key_val?o.key_val=i:o.key_val+="|"+i}}function L(e,t){var n,r,d={},f={},p=e.hasOwnProperty("sizes")?e.sizes:[],g="",m=[];if(function(e,t){t.params.deals&&((0,a.kJ)(t.params.deals)?t.params.deals.forEach((function(t){(0,a.d8)(t)&&t.length>3?(e.pmp||(e.pmp={private_auction:0,deals:[]}),e.pmp.deals.push({id:t})):(0,a.yN)(h+"Error: deal-id present in array bid.params.deals should be a strings with more than 3 charaters length, deal-id ignored: "+t)})):(0,a.yN)(h+"Error: bid.params.deals should be an array of strings."))}(d={id:e.bidId,tagid:e.params.adUnit||void 0,bidfloor:U("kadfloor",e.params.kadfloor),secure:1,ext:{pmZoneId:U("pmzoneid",e.params.pmzoneid)},bidfloorcur:e.params.currency?U("currency",e.params.currency):y},e),function(e,t){var n,r="";if(t.params.dctr)if(r=t.params.dctr,(0,a.d8)(r)&&r.length>0){var i=r.split("|");r="",i.forEach((function(e){r+=e.length>0?e.trim()+"|":""})),n=r.length,"|"===r.substring(n,n-1)&&(r=r.substring(0,n-1)),e.ext.key_val=r.trim()}else(0,a.yN)(h+"Ignoring param : dctr with value : "+r+", expects string-value, found empty or non-string value")}(d,e),H(d,e),e.hasOwnProperty("mediaTypes"))for(g in e.mediaTypes)switch(g){case u.Mk:(n=z(e))!==b&&(d.banner=n);break;case u.B5:f.request=JSON.stringify(M(e.nativeParams)),P?(0,a.yN)(h+"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."):d.native=f;break;case u.pX:(r=F(e))!==b&&(d.video=r)}else n={pos:0,w:e.params.width,h:e.params.height,topframe:(0,a.yL)()?0:1},(0,a.kJ)(p)&&p.length>1&&((p=p.splice(1,p.length-1)).forEach((function(e){m.push({w:e[0],h:e[1]})})),n.format=m),d.banner=n;return function(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,s.Z)(t,"ortb2Imp.ext.data"));Object.keys(n).forEach((function(t){"pbadslot"===t?"string"==typeof n[t]&&n[t]&&(0,c.N)(e,"ext.data.pbadslot",n[t]):"adserver"===t?["name","adslot"].forEach((function(t){var r=(0,s.Z)(n,"adserver.".concat(t));"string"==typeof r&&r&&((0,c.N)(e,"ext.data.adserver.".concat(t.toLowerCase()),r),"adslot"===t&&(0,c.N)(e,"ext.dfp_ad_unit_code",r))})):(0,c.N)(e,"ext.data.".concat(t),n[t])}))}(d,e),function(e,t){var n=-1;"function"!=typeof t.getFloor||l.vc.getConfig("pubmatic.disableFloors")||[u.Mk,u.pX,u.B5].forEach((function(r){if(e.hasOwnProperty(r)){var i=[];"banner"===r&&(e[r].w&&e[r].h&&i.push([e[r].w,e[r].h]),(0,a.kJ)(e[r].format)&&e[r].format.forEach((function(e){return i.push([e.w,e.h])}))),0===i.length&&i.push("*"),i.forEach((function(i){var s=t.getFloor({currency:e.bidfloorcur,mediaType:r,size:i});if((0,a.PN)(h,"floor from floor module returned for mediatype:",r," and size:",i," is: currency",s.currency,"floor",s.floor),"object"===(0,o.Z)(s)&&s.currency===e.bidfloorcur&&!isNaN(parseInt(s.floor))){var c=parseFloat(s.floor);(0,a.PN)(h,"floor from floor module:",c,"previous floor value",n,"Min:",Math.min(c,n)),n=-1===n?c:Math.min(c,n),(0,a.PN)(h,"new floor value:",n)}}))}})),e.bidfloor&&((0,a.PN)(h,"floor from floor module:",n,"impObj.bidfloor",e.bidfloor,"Max:",Math.max(n,e.bidfloor)),n=Math.max(n,e.bidfloor)),e.bidfloor=!isNaN(n)&&n>0?n:b,(0,a.PN)(h,"new impObj.bidfloor value:",e.bidfloor)}(d,e),d.hasOwnProperty(u.Mk)||d.hasOwnProperty(u.B5)||d.hasOwnProperty(u.pX)?d:b}function K(e,t){(t=t.filter((function(e){return"string"==typeof e||((0,a.yN)(h+"acat: Each category should be a string, ignoring category: "+e),!1)})).map((function(e){return e.trim()})).filter((function(e,t,n){return n.indexOf(e)===t}))).length>0&&((0,a.yN)(h+"acat: Selected: ",t),e.ext.acat=t)}function W(e){return!0===(0,a.kJ)(e)&&e.length>0}(0,a.yi)(T,(function(e){j[e.ID]=e.KEY})),(0,a.yi)(T,(function(e){D[e.KEY]=e}));var J={code:m,gvlid:76,supportedMediaTypes:[u.Mk,u.pX,u.B5],isBidRequestValid:function(e){if(e&&e.params){if(!(0,a.d8)(e.params.publisherId))return(0,a.yN)(h+"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(u.pX)){var t=(0,s.Z)(e.mediaTypes,"video.mimes"),n=(0,s.Z)(e,"params.video.mimes");if(!1===W(t)&&!1===W(n))return(0,a.yN)(h+"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[u.pX].hasOwnProperty("context"))return(0,a.H)("".concat(h,": no context specified in bid. Rejecting bid: "),e),!1;if("outstream"===e.mediaTypes[u.pX].context&&!(0,a.d8)(e.params.outstreamAU)&&!e.hasOwnProperty("renderer")&&!e.mediaTypes[u.pX].hasOwnProperty("renderer"))return e.mediaTypes.hasOwnProperty(u.Mk)||e.mediaTypes.hasOwnProperty(u.B5)?(delete e.mediaTypes[u.pX],(0,a.yN)("".concat(h,': for "outstream" bids either outstreamAU parameter must be provided or ad unit supplied renderer is required. Rejecting mediatype Video of bid: '),e),!0):((0,a.H)("".concat(h,': 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,t){var n,i,d,f,v;e=(0,g.lY)(e),t&&t.refererInfo&&(v=t.refererInfo);var m,_=function(e){return{pageURL:(null==e?void 0:e.page)||window.location.href,refURL:(null==e?void 0:e.ref)||window.document.referrer}}(v),w=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:{}}}(_),E="",O=[],T=[],C=[];if(e.forEach((function(e){if((m=(0,a.I8)(e)).params.adSlot=m.params.adSlot||"",N(m),m.mediaTypes&&m.mediaTypes.hasOwnProperty("video")||m.params.hasOwnProperty("video"));else if(!(m.hasOwnProperty("mediaTypes")&&m.mediaTypes.hasOwnProperty(u.B5)||0!==m.params.width||0!==m.params.height))return void(0,a.yN)(h+"Skipping the non-standard adslot: ",m.params.adSlot,JSON.stringify(m));_.pubId=_.pubId||m.params.publisherId,(_=function(e,t){var n,r,i;for(n in t.kadpageurl||(t.kadpageurl=t.pageURL),I)I.hasOwnProperty(n)&&(r=e[n])&&(i=I[n],"object"===(0,o.Z)(i)&&(r=i.f(r,t)),(0,a.d8)(r)?t[n]=r:(0,a.yN)(h+"Ignoring param : "+n+" with value : "+I[n]+", expects string-value, found "+(0,o.Z)(r)));return t}(m.params,_)).transactionId=m.transactionId,""===E?E=m.params.currency||b:m.params.hasOwnProperty("currency")&&E!==m.params.currency&&(0,a.yN)(h+"Currency specifier ignored. Only one currency permitted."),m.params.currency=E,m.params.hasOwnProperty("dctr")&&(0,a.d8)(m.params.dctr)&&O.push(m.params.dctr),m.params.hasOwnProperty("bcat")&&(0,a.kJ)(m.params.bcat)&&(T=T.concat(m.params.bcat)),m.params.hasOwnProperty("acat")&&(0,a.kJ)(m.params.acat)&&(C=C.concat(m.params.acat));var t=L(m);t&&w.imp.push(t)})),0!=w.imp.length){w.site.publisher.id=_.pubId.trim(),S=_.pubId.trim(),w.ext.wrapper={},w.ext.wrapper.profile=parseInt(_.profId)||b,w.ext.wrapper.version=parseInt(_.verId)||b,w.ext.wrapper.wiid=_.wiid||t.auctionId,w.ext.wrapper.wv="prebid_prebid_7.34.0",w.ext.wrapper.transactionId=_.transactionId,w.ext.wrapper.wp="pbjs";var k,x,A=t?p.S.get(t.bidderCode,"allowAlternateBidderCodes"):void 0;if(void 0!==A){if(w.ext.marketplace={},t&&1==A){var P=p.S.get(t.bidderCode,"allowedAlternateBidderCodes");(0,a.kJ)(P)?(P=P.map((function(e){return e.trim().toLowerCase()})).filter((function(e){return!!e})).filter(a.tT),R=P.includes("*")?B:[].concat((0,r.Z)(R),(0,r.Z)(P))):R=B}w.ext.marketplace.allowedbidders=R.filter(a.tT)}w.user.gender=_.gender?_.gender.trim():b,w.user.geo={},w.user.geo.lat=U("lat",_.lat),w.user.geo.lon=U("lon",_.lon),w.user.yob=U("yob",_.yob),w.device.geo=w.user.geo,w.site.page=_.kadpageurl.trim()||w.site.page.trim(),w.site.domain=(k=w.site.page,(x=document.createElement("a")).href=k,x.hostname),"object"===(0,o.Z)(l.vc.getConfig("content"))&&(w.site.content=l.vc.getConfig("content")),"object"===(0,o.Z)(l.vc.getConfig("device"))&&(w.device=Object.assign(w.device,l.vc.getConfig("device"))),w.device.language=w.device.language&&w.device.language.split("-")[0],(0,c.N)(w,"source.tid",_.transactionId),-1!==window.location.href.indexOf("pubmaticTest=true")&&(w.test=1),e[0].schain&&(0,c.N)(w,"source.ext.schain",e[0].schain),t&&t.gdprConsent&&((0,c.N)(w,"user.ext.consent",t.gdprConsent.consentString),(0,c.N)(w,"regs.ext.gdpr",t.gdprConsent.gdprApplies?1:0)),t&&t.uspConsent&&(0,c.N)(w,"regs.ext.us_privacy",t.uspConsent),!0===l.vc.getConfig("coppa")&&(0,c.N)(w,"regs.coppa",1),function(e,t){var n=(0,s.Z)(t,"0.userIdAsEids");(0,a.kJ)(n)&&n.length>0&&(0,c.N)(e,"user.eids",n)}(w,e);var j,D,Z,q=t&&t.ortb2||{};if(q.site){var M=w.site,z=M.page,F=M.domain,H=M.ref;(0,a.Ee)(w,{site:q.site}),w.site.page=z,w.site.domain=F,w.site.ref=H}if(q.user&&(0,a.Ee)(w,{user:q.user}),q.bcat&&(T=T.concat(q.bcat)),null!==(n=q.ext)&&void 0!==n&&null!==(i=n.prebid)&&void 0!==i&&null!==(d=i.bidderparams)&&void 0!==d&&null!==(f=d[t.bidderCode])&&void 0!==f&&f.acat){var W=q.ext.prebid.bidderparams[t.bidderCode].acat;K(w,W)}else C.length&&K(w,C);return function(e,t){(t=t.filter((function(e){return"string"==typeof e||((0,a.yN)(h+"bcat: Each category should be a string, ignoring category: "+e),!1)})).map((function(e){return e.trim()})).filter((function(e,t,n){if(e.length>3)return n.indexOf(e)===t;(0,a.yN)(h+"bcat: Each category should have a value of a length of more than 3 characters, ignoring category: "+e)}))).length>0&&((0,a.yN)(h+"bcat: Selected: ",t),e.bcat=t)}(w,T),null!=t&&t.timeout?w.tmax=t.timeout||l.vc.getConfig("bidderTimeout"):w.tmax=null===(j=window)||void 0===j||null===(D=j.PWT)||void 0===D||null===(Z=D.versionDetails)||void 0===Z?void 0:Z.timeout,w.ext.epoch=(new Date).getTime(),"object"===(0,o.Z)(l.vc.getConfig("app"))&&(w.app=l.vc.getConfig("app"),w.app.publisher=w.site.publisher,w.app.ext=w.site.ext||b,"object"!==(0,o.Z)(w.app.content)&&(w.app.content=w.site.content||b),delete w.site),{method:"POST",url:"https://hbopenbid.pubmatic.com/translator?source=prebid-client",data:JSON.stringify(w),bidderRequest:t}}},interpretResponse:function(e,t){var n=[],r=y,i=JSON.parse(t.data),o=i.site&&i.site.ref?i.site.ref:"";try{e.body&&e.body.seatbid&&(0,a.kJ)(e.body.seatbid)&&(r=e.body.cur||r,e.body.seatbid.forEach((function(e){e.bid&&(0,a.kJ)(e.bid)&&e.bid.forEach((function(c){var d={requestId:c.impid,cpm:parseFloat((c.price||0).toFixed(2)),width:c.w,height:c.h,creativeId:c.crid||c.id,dealId:c.dealid,currency:r,netRevenue:!0,ttl:300,referrer:o,ad:c.adm,pm_seat:e.seat||null,pm_dspid:c.ext&&c.ext.dspid?c.ext.dspid:null,partnerImpId:c.id||""};i.imp&&i.imp.length>0&&i.imp.forEach((function(e){if(c.impid===e.id)switch(function(e,t){if(e.ext&&null!=e.ext.bidtype)t.mediaType=A[e.ext.bidtype];else{(0,a.PN)(h+"bid.ext.bidtype does not exist, checking alternatively for mediaType");var n=e.adm,r="",i=new RegExp(/VAST\s+version/);if(n.indexOf('span class="PubAPIAd"')>=0)t.mediaType=u.Mk;else if(i.test(n))t.mediaType=u.pX;else try{(r=JSON.parse(n.replace(/\\/g,"")))&&r.native&&(t.mediaType=u.B5)}catch(e){(0,a.yN)(h+"Error: Cannot parse native reponse for ad response: "+n)}}}(c,d),d.mediaType){case u.Mk:break;case u.pX:d.width=c.hasOwnProperty("w")?c.w:e.video.w,d.height=c.hasOwnProperty("h")?c.h:e.video.h,d.vastXml=c.adm,function(e,t){var n,r,i;if(t.bidderRequest&&t.bidderRequest.bids){for(var o=0;o<t.bidderRequest.bids.length;o++)t.bidderRequest.bids[o].bidId===e.requestId&&(n=t.bidderRequest.bids[o].params,r=t.bidderRequest.bids[o].mediaTypes[u.pX].context,i=t.bidderRequest.bids[o].adUnitCode);r&&"outstream"===r&&n&&n.outstreamAU&&i&&(e.rendererCode=n.outstreamAU,e.renderer=x.newRenderer(e.rendererCode,i))}}(d,t),function(e,t,n){var r,i,o;if(null!=t&&null!==(r=t.ext)&&void 0!==r&&r.prebiddealpriority){var c=(0,a.zE)(e.requestId,[n.bidderRequest]),d=(0,s.Z)(c,"mediaTypes.video");if((null==d?void 0:d.context)==u.Oh){var l=(null==t||null===(i=t.ext)||void 0===i||null===(o=i.video)||void 0===o?void 0:o.duration)||(null==d?void 0:d.maxduration);e.video={context:u.Oh,durationSeconds:l,dealTier:t.ext.prebiddealpriority}}}}(d,c,t);break;case u.B5:!function(e,t){if(t.native={},e.hasOwnProperty("adm")){var n="";try{n=JSON.parse(e.adm.replace(/\\/g,""))}catch(e){return void(0,a.yN)(h+"Error: Cannot parse native reponse for ad response: "+t.adm)}if(n&&n.native&&n.native.assets&&n.native.assets.length>0){t.mediaType=u.B5;for(var r=0,i=n.native.assets.length;r<i;r++)switch(n.native.assets[r].id){case T.TITLE.ID:t.native.title=n.native.assets[r].title&&n.native.assets[r].title.text;break;case T.IMAGE.ID:t.native.image={url:n.native.assets[r].img&&n.native.assets[r].img.url,height:n.native.assets[r].img&&n.native.assets[r].img.h,width:n.native.assets[r].img&&n.native.assets[r].img.w};break;case T.ICON.ID:t.native.icon={url:n.native.assets[r].img&&n.native.assets[r].img.url,height:n.native.assets[r].img&&n.native.assets[r].img.h,width:n.native.assets[r].img&&n.native.assets[r].img.w};break;case T.SPONSOREDBY.ID:case T.BODY.ID:case T.LIKES.ID:case T.DOWNLOADS.ID:case T.PRICE:case T.SALEPRICE.ID:case T.PHONE.ID:case T.ADDRESS.ID:case T.DESC2.ID:case T.CTA.ID:case T.RATING.ID:case T.DISPLAYURL.ID:t.native[j[n.native.assets[r].id]]=n.native.assets[r].data&&n.native.assets[r].data.value}t.native.clickUrl=n.native.link&&n.native.link.url,t.native.clickTrackers=n.native.link&&n.native.link.clicktrackers||[],t.native.impressionTrackers=n.native.imptrackers||[],t.native.jstracker=n.native.jstracker||[],t.width||(t.width=0),t.height||(t.height=0)}}}(c,d)}})),c.ext&&c.ext.deal_channel&&(d.dealChannel=k[c.ext.deal_channel]||null),d.meta={},c.ext&&c.ext.dspid&&(d.meta.networkId=c.ext.dspid),c.ext&&c.ext.advid&&(d.meta.buyerId=c.ext.advid),c.adomain&&c.adomain.length>0&&(d.meta.advertiserDomains=c.adomain,d.meta.clickUrl=c.adomain[0]),e.ext&&e.ext.buyid&&(d.adserverTargeting={hb_buyid_pubmatic:e.ext.buyid}),c.ext&&c.ext.marketplace&&(d.bidderCode=c.ext.marketplace),n.push(d)}))})))}catch(e){(0,a.H)(e)}return n},getUserSyncs:function(e,t,n,r){var i=""+S;return n&&(i+="&gdpr="+(n.gdprApplies?1:0),i+="&gdpr_consent="+encodeURIComponent(n.consentString||"")),r&&(i+="&us_privacy="+encodeURIComponent(r)),!0===l.vc.getConfig("coppa")&&(i+="&coppa=1"),e.iframeEnabled?[{type:"iframe",url:"https://ads.pubmatic.com/AdServer/js/user_sync.html?kdntuid=1&p="+i}]:[{type:"image",url:"https://image8.pubmatic.com/AdServer/ImgSync?p="+i}]},transformBidParams:function(e,t,n,r){return H(e,n.bids[0],!0),(0,a.uh)({publisherId:"string",adSlot:"string"},e)}};(0,d.dX)(J),window.pbjs.installedModules.push("pubmaticBidAdapter")}},function(e){e.O(0,[866],(function(){return e(e.s=5817)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[184],{5456:function(e,t,n){var r,i,o,a=n(1002),s=n(3324),c=n(4942),d=n(3193),u=n(2797),l=n(4358),f=n(2021),p=n(5644),g=n(1039),v=n(4614),m=n(9128),h=[],y=[],b=[],_=(o=!1,function(){var e;o||(Object.entries((e={},(0,c.Z)(e,p.FP.AUCTION_INIT,["onAuctionInitEvent"]),(0,c.Z)(e,p.FP.AUCTION_END,["onAuctionEndEvent",C]),(0,c.Z)(e,p.FP.BID_RESPONSE,["onBidResponseEvent"]),(0,c.Z)(e,p.FP.BID_REQUESTED,["onBidRequestEvent"]),e)).forEach((function(e){var t=(0,s.Z)(e,2),n=t[0],r=(0,s.Z)(t[1],2),o=r[0],a=r[1];f.on(n,(function(e){a&&a(e),y.forEach((function(t){try{t[o]&&t[o](e,t.config,i)}catch(e){(0,l.H)("RTD provider '".concat(t.name,"': error in '").concat(o,"':"),e)}}))}))})),o=!0)});function I(){return{gdpr:g.rp.getConsentData(),usp:g.nX.getConsentData(),gpp:g.TJ.getConsentData(),coppa:!!d.vc.getConfig("coppa")}}function w(){i=I();var e=[];b.forEach((function(t){var n=(0,v.sE)(h,(function(e){return e.name===t.name}));n&&n.init&&n.init(t,i)&&e.push(Object.assign(n,{config:t}))})),y=e,(0,l.PN)("Real time data module enabled, using submodules: ".concat(y.map((function(e){return e.name})).join(", ")))}var E,O,T=(0,m.g3)("rtd",(function(e,t){i=I();var n=[],o=[];y.forEach((function(e){if("function"==typeof e.getBidRequestData){n.push(e);var t=e.config;t&&t.waitForIt&&o.push(e)}}));var a,s=o.length&&r.auctionDelay&&r.auctionDelay>0,c=o.length,d=!1;if(!n.length)return l();function u(){d||(this.config&&this.config.waitForIt&&c--,0===c&&setTimeout(l,0))}function l(){d||(d=!0,clearTimeout(a),e.call(this,t))}a=setTimeout(l,s?r.auctionDelay:0),n.forEach((function(e){e.getBidRequestData(t,u.bind(e),e.config,i)}))}));function C(e){var t=y.filter((function(e){return"function"==typeof e.getTargetingData}));if(t.length){var n=e.adUnitCodes;if(n){for(var r=[],o=t.length-1;o>=0;o--){var s=t[o].getTargetingData(n,t[o].config,i,e);s&&"object"===(0,a.Z)(s)?r.push(s):(0,l.yN)("invalid getTargetingData response for sub module",t[o].name)}var c=function(e){return Array.isArray(e)&&e.length?e.reduce((function(e,t){for(var n in t)if(t.hasOwnProperty(n))if(e.hasOwnProperty(n)){var r=t[n];for(var i in r)r.hasOwnProperty(i)&&(e[n][i]=r[i])}else e[n]=t[n];return e}),{}):{}}(r);return e.adUnits.forEach((function(e){var t=e.code&&c[e.code];t&&((0,l.PN)("RTD set ad unit targeting of",t,"for",e),e[p.k2.xn]=Object.assign(e[p.k2.xn]||{},t))})),e.adUnits}}}function k(e){y.forEach((function(e){if("function"==typeof e.onDataDeletionRequest)try{e.onDataDeletionRequest(e.config)}catch(t){(0,l.H)("Error executing ".concat(e.name,".onDataDeletionRequest"),t)}}));for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.apply(this,n)}(0,u.bA)("realTimeData",(function(e){return h.push(e),function(){var t=h.indexOf(e);t>=0&&(h.splice(t,1),w())}})),E=d.vc,O=E.getConfig("realTimeData",(function(e){var t=e.realTimeData;t.dataProviders?(O(),r=t,b=t.dataProviders,_(),(0,u.v5)("startAuction").before(T,20),g.ZP.callDataDeletionRequest.before(k),w()):(0,l.H)("missing parameters for real time module")})),window.pbjs.installedModules.push("rtdModule")}},function(e){e.O(0,[866],(function(){return e(e.s=5456)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[187],{60:function(e,t,n){var r=n(3324),i=n(4942),o=n(1002),a=n(4358),s=n(265),c=n(6475),d=n(5339),u=n(3193),l=n(4679),f=n(4614),p=n(5706),g=n(8640);function v(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h={};u.vc.getConfig("rubicon",(function(e){(0,a.Ee)(h,e.rubicon)}));var y={1:"468x60",2:"728x90",5:"120x90",7:"125x125",8:"120x600",9:"160x600",10:"300x600",13:"200x200",14:"250x250",15:"300x250",16:"336x280",17:"240x400",19:"300x100",31:"980x120",32:"250x360",33:"180x500",35:"980x150",37:"468x400",38:"930x180",39:"750x100",40:"750x200",41:"750x300",42:"2x4",43:"320x50",44:"300x50",48:"300x300",53:"1024x768",54:"300x1050",55:"970x90",57:"970x250",58:"1000x90",59:"320x80",60:"320x150",61:"1000x1000",64:"580x500",65:"640x480",66:"930x600",67:"320x480",68:"1800x1000",72:"320x320",73:"320x160",78:"980x240",79:"980x300",80:"980x400",83:"480x300",85:"300x120",90:"548x150",94:"970x310",95:"970x100",96:"970x210",101:"480x320",102:"768x1024",103:"480x280",105:"250x800",108:"320x240",113:"1000x300",117:"320x100",125:"800x250",126:"200x600",144:"980x600",145:"980x150",152:"1000x250",156:"640x320",159:"320x250",179:"250x600",195:"600x300",198:"640x360",199:"640x200",213:"1030x590",214:"980x360",221:"1x1",229:"320x180",230:"2000x1400",232:"580x400",234:"6x6",251:"2x2",256:"480x820",257:"400x600",258:"500x200",259:"998x200",264:"970x1000",265:"1920x1080",274:"1800x200",278:"320x500",282:"320x400",288:"640x380",548:"500x1000",550:"980x480",552:"300x200",558:"640x640",562:"300x431",564:"320x431",566:"320x300",568:"300x150",570:"300x125",572:"250x350",574:"620x891",576:"610x877",578:"980x552",580:"505x656",622:"192x160"};(0,a.yi)(y,(function(e,t){return y[e]=t}));var b={code:"rubicon",gvlid:52,supportedMediaTypes:[l.Mk,l.pX],isBidRequestValid:function(e){if("object"!==(0,o.Z)(e.params))return!1;for(var t=0,n=["accountId","siteId","zoneId"];t<n.length;t++)if(e.params[n[t]]=parseInt(e.params[n[t]]),isNaN(e.params[n[t]]))return(0,a.H)("Rubicon: wrong format of accountId or siteId or zoneId."),!1;var r=T(e,!0);return!!r&&("video"!==r||function(e){var t=!0,n=Object.prototype.toString.call([]),r={mimes:n,protocols:n,linearity:Object.prototype.toString.call(0),api:n};return Object.keys(r).forEach((function(n){Object.prototype.toString.call((0,s.Z)(e,"mediaTypes.video."+n))!==r[n]&&(t=!1,(0,a.H)("Rubicon: mediaTypes.video."+n+" is required and must be of type: "+r[n]))})),t}(e))},buildRequests:function(e,t){var n=[],r=e.filter((function(e){return"video"===T(e)})).map((function(e){e.startTime=(new Date).getTime();var n,r={id:e.transactionId,test:u.vc.getConfig("debug")?1:0,cur:["USD"],source:{tid:e.transactionId},tmax:t.timeout,imp:[{exp:u.vc.getConfig("s2sConfig.defaultTtl"),id:e.adUnitCode,secure:1,ext:(0,i.Z)({},e.bidder,e.params),video:(0,s.Z)(e,"mediaTypes.video")||{}}],ext:{prebid:{channel:{name:"pbjs",version:pbjs.version},cache:{vastxml:{returnCreative:!0===h.returnVast}},targeting:{includewinners:!0,includebidderkeys:!1,pricegranularity:(n=u.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:n.getConfig("customPriceBucket")&&n.getConfig("customPriceBucket").buckets}[n.getConfig("priceGranularity")]})},bidders:{rubicon:{integration:h.int_type||"pbjs"}}}}};"rubicon"!==e.bidder&&(r.ext.prebid.aliases=(0,i.Z)({},e.bidder,"rubicon"));var d,f,p=(0,g.R)().installedModules;if(!p||p.length&&-1===p.indexOf("rubiconAnalyticsAdapter")||(0,c.N)(r,"ext.prebid.analytics",{rubicon:{"client-analytics":!0}}),"function"!=typeof e.getFloor||h.disableFloors)d=parseFloat((0,s.Z)(e,"params.floor"));else{var v;try{v=e.getFloor({currency:"USD",mediaType:"video",size:w(e,"video")})}catch(e){(0,a.H)("Rubicon: getFloor threw an error: ",e)}d="object"!==(0,o.Z)(v)||"USD"!==v.currency||isNaN(parseInt(v.floor))?void 0:parseFloat(v.floor)}isNaN(d)||(r.imp[0].bidfloor=d),"object"===(0,o.Z)(e.floorData)&&(r.ext.prebid.floors={enabled:!1}),r.imp[0].ext[e.bidder].video.size_id=function(e){var t=parseInt((0,s.Z)(e,"params.video.size_id"));return isNaN(t)?"outstream"===(0,s.Z)(e,"mediaTypes.".concat(l.pX,".context"))?203:201:t}(e),function(e,t,n){e&&("object"===(0,o.Z)(u.vc.getConfig("app"))?e.app=u.vc.getConfig("app"):e.site={page:_(t,n)},"object"===(0,o.Z)(u.vc.getConfig("device"))&&(e.device=u.vc.getConfig("device")),t.params.video.language&&["site","device"].forEach((function(n){e[n]&&("site"===n?e[n].content=Object.assign({language:t.params.video.language},e[n].content):e[n]=Object.assign({language:t.params.video.language},e[n]))})))}(r,e,t),function(e,t){"object"===(0,o.Z)(e.imp[0].video)&&void 0===e.imp[0].video.skip&&(e.imp[0].video.skip=t.params.video.skip),"object"===(0,o.Z)(e.imp[0].video)&&void 0===e.imp[0].video.skipafter&&(e.imp[0].video.skipafter=t.params.video.skipdelay),"object"===(0,o.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 n=w(t,"video");e.imp[0].video.w=n[0],e.imp[0].video.h=n[1]}(r,e),t.gdprConsent&&("boolean"==typeof t.gdprConsent.gdprApplies&&(f=t.gdprConsent.gdprApplies?1:0),(0,c.N)(r,"regs.ext.gdpr",f),(0,c.N)(r,"user.ext.consent",t.gdprConsent.consentString)),t.uspConsent&&(0,c.N)(r,"regs.ext.us_privacy",t.uspConsent);var m=(0,s.Z)(t,"bids.0.userIdAsEids");m&&m.length&&(0,c.N)(r,"user.ext.eids",m);var y=u.vc.getConfig("user.id");y&&(0,c.N)(r,"user.id",y),!0===u.vc.getConfig("coppa")&&(0,c.N)(r,"regs.coppa",1),e.schain&&C(e.schain)&&(0,c.N)(r,"source.ext.schain",e.schain);var b=u.vc.getConfig("multibid");return b&&(0,c.N)(r,"ext.prebid.multibid",b.reduce((function(e,t){var n={};return Object.keys(t).forEach((function(e){n[e.toLowerCase()]=t[e]})),e.push(n),e}),[])),E(e,l.pX,r),(0,c.N)(r.imp[0],"ext.prebid.auctiontimestamp",t.auctionStart),r.ext.prebid.storedrequest=void 0,r.imp[0].ext.prebid.storedrequest=void 0,{method:"POST",url:"https://".concat(h.videoHost||"prebid-server",".rubiconproject.com/openrtb2/auction"),data:r,bidRequest:e}}));if(!0!==u.vc.getConfig("rubicon.singleRequest"))n=r.concat(e.filter((function(e){return"banner"===T(e)})).map((function(e){var n=b.createSlotParams(e,t);return{method:"GET",url:"https://".concat(h.bannerHost||"fastlane",".rubiconproject.com/a/api/fastlane.json"),data:b.getOrderedParams(n).reduce((function(e,t){var r=n[t];return(0,a.d8)(r)&&""!==r||(0,a.hj)(r)?"".concat(e).concat(k(t,r),"&"):e}),"")+"slots=1&rand=".concat(Math.random()),bidRequest:e}})));else{var d=e.filter((function(e){return"banner"===T(e)})).reduce((function(e,t){return(e[t.params.siteId]=e[t.params.siteId]||[]).push(t),e}),{});n=r.concat(Object.keys(d).reduce((function(e,n){var r;return(r=d[n],r.map((function(e,t){return t%10==0?r.slice(t,t+10):null})).filter((function(e){return e}))).forEach((function(n){var r=b.combineSlotUrlParams(n.map((function(e){return b.createSlotParams(e,t)})));e.push({method:"GET",url:"https://".concat(h.bannerHost||"fastlane",".rubiconproject.com/a/api/fastlane.json"),data:b.getOrderedParams(r).reduce((function(e,t){var n=r[t];return(0,a.d8)(n)&&""!==n||(0,a.hj)(n)?"".concat(e).concat(k(t,n),"&"):e}),"")+"slots=".concat(n.length,"&rand=").concat(Math.random()),bidRequest:n})})),e}),[]))}return n},getOrderedParams:function(e){var t=/^tg_v/,n=/^tg_i/,r=/^eid_|^tpid_/,i=["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 r.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 n.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 i.concat(Object.keys(e).filter((function(e){return-1===i.indexOf(e)})))},combineSlotUrlParams:function(e){if(1===e.length)return e[0];var t=e.reduce((function(t,n,r){return Object.keys(n).forEach((function(i){t.hasOwnProperty(i)||(t[i]=new Array(e.length)),t[i].splice(r,1,n[i])})),t}),{}),n=new RegExp("^([^;]*)(;\\1)+$");return Object.keys(t).forEach((function(e){var r=t[e].join(";"),i=r.match(n);t[e]=i?i[1]:r})),t},createSlotParams:function(e,t){e.startTime=(new Date).getTime();var n=e.params,i=w(e,"banner"),c=n.latLong||[],d=(0,r.Z)(c,2),p=d[0],g=d[1],v={account_id:n.accountId,site_id:n.siteId,zone_id:n.zoneId,size_id:i[0],alt_size_ids:i.slice(1).join(",")||void 0,rp_floor:(n.floor=parseFloat(n.floor))>=.01?n.floor:void 0,rp_secure:"1",tk_flint:"".concat(h.int_type||"pbjs_lite","_v7.34.0"),"x_source.tid":e.transactionId,l_pb_bid_id:e.bidId,"x_source.pchain":n.pchain,p_screen_res:[window.screen.width,window.screen.height].join("x"),tk_user_key:n.userId,"p_geo.latitude":isNaN(parseFloat(p))?void 0:parseFloat(p).toFixed(4),"p_geo.longitude":isNaN(parseFloat(g))?void 0:parseFloat(g).toFixed(4),"tg_fl.eid":e.code,rf:_(e,t)};if("function"==typeof e.getFloor&&!h.disableFloors){var m;try{m=e.getFloor({currency:"USD",mediaType:"banner",size:"*"})}catch(e){(0,a.H)("Rubicon: getFloor threw an error: ",e)}v.rp_hard_floor="object"!==(0,o.Z)(m)||"USD"!==m.currency||isNaN(parseInt(m.floor))?void 0:m.floor}var y={1:"atf",3:"btf"}[(0,s.Z)(e,"mediaTypes.banner.pos")]||"";v.p_pos="atf"===n.position||"btf"===n.position?n.position:y;var I=u.vc.getConfig("user.id");return I&&(v.ppuid=I),e.userIdAsEids&&e.userIdAsEids.forEach((function(e){try{if("adserver.org"===e.source?(v.tpid_tdid=e.uids[0].id,v["eid_adserver.org"]=e.uids[0].id):"liveintent.com"===e.source?(v["tpid_liveintent.com"]=e.uids[0].id,v["eid_liveintent.com"]=e.uids[0].id,e.ext&&Array.isArray(e.ext.segments)&&e.ext.segments.length&&(v["tg_v.LIseg"]=e.ext.segments.join(","))):"liveramp.com"===e.source?v.x_liverampidl=e.uids[0].id:"id5-sync.com"===e.source?v["eid_id5-sync.com"]="".concat(e.uids[0].id,"^").concat(e.uids[0].atype,"^").concat(e.uids[0].ext&&e.uids[0].ext.linkType||""):v["eid_".concat(e.source)]="".concat(e.uids[0].id,"^").concat(e.uids[0].atype||""),!v.ppuid){var t=(0,f.sE)(e.uids,(function(e){return e.ext&&"ppuid"===e.ext.stype}));t&&t.id&&(v.ppuid=t.id)}}catch(t){(0,a.yN)("Rubicon: error reading eid:",e,t)}})),t.gdprConsent&&("boolean"==typeof t.gdprConsent.gdprApplies&&(v.gdpr=Number(t.gdprConsent.gdprApplies)),v.gdpr_consent=t.gdprConsent.consentString),t.uspConsent&&(v.us_privacy=encodeURIComponent(t.uspConsent)),v.rp_maxbids=t.bidLimit||1,E(e,l.Mk,v),!0===u.vc.getConfig("coppa")&&(v.coppa=1),e.schain&&C(e.schain)&&(v.rp_schain=b.serializeSupplyChain(e.schain)),v},serializeSupplyChain:function(e){if(!C(e))return"";var t=e.ver,n=e.complete,r=e.nodes;return"".concat(t,",").concat(n,"!").concat(b.serializeSupplyChainNodes(r))},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 n=t.bidRequest;if(!(e=e.body)||"object"!==(0,o.Z)(e))return[];if(e.seatbid){var i=(0,s.Z)(e,"ext.errors.rubicon");Array.isArray(i)&&i.length>0&&(0,a.yN)("Rubicon: Error in video response");var d=[];return e.seatbid.forEach((function(t){(t.bid||[]).forEach((function(r){var i={requestId:n.bidId,currency:e.cur||"USD",creativeId:r.crid,cpm:r.price||0,bidderCode:t.seat,ttl:300,netRevenue:!1!==h.netRevenue,width:r.w||(0,s.Z)(n,"mediaTypes.video.w")||(0,s.Z)(n,"params.video.playerWidth"),height:r.h||(0,s.Z)(n,"mediaTypes.video.h")||(0,s.Z)(n,"params.video.playerHeight")};r.id&&(i.seatBidId=r.id),r.dealid&&(i.dealId=r.dealid),r.adomain&&(0,c.N)(i,"meta.advertiserDomains",Array.isArray(r.adomain)?r.adomain:[r.adomain]),(0,s.Z)(r,"ext.bidder.rp.advid")&&(0,c.N)(i,"meta.advertiserId",r.ext.bidder.rp.advid);var u=(0,s.Z)(e,"ext.responsetimemillis.rubicon");if(n&&u&&(n.serverResponseTimeMs=u),(0,s.Z)(r,"ext.prebid.type")===l.pX){i.mediaType=l.pX,(0,c.N)(i,"meta.mediaType",l.pX);var f=(0,s.Z)(r,"ext.prebid.targeting");f&&"object"===(0,o.Z)(f)&&(i.adserverTargeting=f),r.ext.prebid.cache&&"object"===(0,o.Z)(r.ext.prebid.cache.vastXml)&&r.ext.prebid.cache.vastXml.cacheId&&r.ext.prebid.cache.vastXml.url?(i.videoCacheKey=r.ext.prebid.cache.vastXml.cacheId,i.vastUrl=r.ext.prebid.cache.vastXml.url):f&&f.hb_uuid&&f.hb_cache_host&&f.hb_cache_path&&(i.videoCacheKey=f.hb_uuid,i.vastUrl="https://".concat(f.hb_cache_host).concat(f.hb_cache_path,"?uuid=").concat(f.hb_uuid)),r.adm&&(i.vastXml=r.adm),r.nurl&&(i.vastUrl=r.nurl),!i.vastUrl&&r.nurl&&(i.vastUrl=r.nurl),"outstream"===(0,s.Z)(n,"mediaTypes.video.context").toLowerCase()&&(i.renderer=function(e){var t=p.Th.install({id:e.adId,url:h.rendererUrl||"https://video-outstream.rubiconproject.com/apex-2.2.1.js",config:h.rendererConfig||{},loaded:!1,adUnitCode:e.adUnitCode});try{t.setRender(I)}catch(e){(0,a.yN)("Prebid Error calling setRender on renderer",e)}return t}(i))}else(0,a.yN)("Rubicon: video response received non-video media type");d.push(i)}))})),d}var u,f=e.ads,g=0;return"object"!==(0,o.Z)(n)||Array.isArray(n)||"video"!==T(n)||"object"!==(0,o.Z)(f)||(f=f[n.adUnitCode]),!Array.isArray(f)||f.length<1?[]:f.reduce((function(t,i,s){if(i.impression_id&&u===i.impression_id?g++:u=i.impression_id,"ok"!==i.status)return t;var c,d,f=Array.isArray(n)?n[s-g]:n;if(f&&"object"===(0,o.Z)(f)){var p={requestId:f.bidId,currency:"USD",creativeId:i.creative_id||"".concat(i.network||"","-").concat(i.advertiser||""),cpm:i.cpm||0,dealId:i.deal,ttl:300,netRevenue:!1!==h.netRevenue,rubicon:{advertiserId:i.advertiser,networkId:i.network},meta:{advertiserId:i.advertiser,networkId:i.network,mediaType:l.Mk}};if(i.creative_type&&(p.mediaType=i.creative_type),i.adomain&&(p.meta.advertiserDomains=Array.isArray(i.adomain)?i.adomain:[i.adomain]),i.creative_type===l.pX)p.width=f.params.video.playerWidth,p.height=f.params.video.playerHeight,p.vastUrl=i.creative_depot_url,p.impression_id=i.impression_id,p.videoCacheKey=i.impression_id;else{p.ad=(c=i.script,d=i.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 v=y[i.size_id].split("x").map((function(e){return Number(e)})),m=(0,r.Z)(v,2);p.width=m[0],p.height=m[1]}p.rubiconTargeting=(Array.isArray(i.targeting)?i.targeting:[]).reduce((function(e,t){return e[t.key]=t.values[0],e}),{rpfl_elemid:f.adUnitCode}),t.push(p)}else(0,a.H)("Rubicon: bidRequest undefined at index position:".concat(s),n,e);return t}),[]).sort((function(e,t){return(t.cpm||0)-(e.cpm||0)}))},getUserSyncs:function(e,t,n,r){if(!x&&e.iframeEnabled){var i={};return n&&("boolean"==typeof n.gdprApplies&&(i.gdpr=Number(n.gdprApplies)),"string"==typeof n.consentString&&(i.gdpr_consent=n.consentString)),r&&(i.us_privacy=encodeURIComponent(r)),i=Object.keys(i).length?"?".concat((0,a.Yp)(i)):"",x=!0,{type:"iframe",url:"https://".concat(h.syncHost||"eus",".rubiconproject.com/usync.html")+i}}},transformBidParams:function(e,t){return(0,a.uh)({accountId:"number",siteId:"number",zoneId:"number"},e)}};function _(e,t){var n;return n=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?n.replace(/^http:/i,"https:"):n}function I(e){var t,n=document.getElementById(e.adUnitCode);(t=n.querySelector("div[id^='google_ads']"))&&t.style.setProperty("display","none"),function(e){var t=e.querySelector("script[id^='sas_script']"),n=t&&t.nextSibling;n&&"iframe"===n.localName&&n.style.setProperty("display","none")}(n);var r=e.renderer.getConfig();e.renderer.push((function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:n,align:r.align||"center",position:r.position||"append"},closeButton:r.closeButton||!1,label:r.label||void 0,collapse:r.collapse||!0})}))}function w(e,t){var n=e.params;if("video"===t){var r=[];return n.video&&n.video.playerWidth&&n.video.playerHeight?r=[n.video.playerWidth,n.video.playerHeight]:Array.isArray((0,s.Z)(e,"mediaTypes.video.playerSize"))&&1===e.mediaTypes.video.playerSize.length?r=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(r=e.sizes[0]),r}var i=[];return Array.isArray(n.sizes)?i=n.sizes:void 0!==(0,s.Z)(e,"mediaTypes.banner.sizes")?i=O(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=O(e.sizes):(0,a.yN)("Rubicon: no sizes are setup or found"),function(e){var t=[15,2,9];return e.sort((function(e,n){var r=t.indexOf(e),i=t.indexOf(n);return r>-1||i>-1?-1===r?1:-1===i?-1:r-i:e-n}))}(i)}function E(e,t,n){var r={user:{ext:{data:m({},e.params.visitor)}},site:{ext:{data:m({},e.params.inventory)}}};e.params.keywords&&(r.site.keywords=(0,a.kJ)(e.params.keywords)?e.params.keywords.join(","):e.params.keywords);var i=(0,a.Ee)({},e.ortb2||{},r),c=(0,s.Z)(e.ortb2Imp,"ext")||{},d=(0,s.Z)(e.ortb2Imp,"ext.data")||{},u=(0,s.Z)(e,"ortb2Imp.ext.gpid"),f={user:[4],site:[1,2,5,6]},p={user:"tg_v.",site:"tg_i.",adserver:"tg_i.dfp_ad_unit_code",pbadslot:"tg_i.pbadslot",keywords:"kw"},g=function(e,t,n){return"data"===t&&Array.isArray(e)?e.filter((function(e){return e.segment&&(0,s.Z)(e,"ext.segtax")&&f[n]&&-1!==f[n].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,o.Z)(e)&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((function(e){if("object"!==(0,o.Z)(e)&&void 0!==e)return e.toString();(0,a.yN)("Rubicon: Filtered value: ",e,"for key",t,": Expected value to be string, integer, or an array of strings/ints")})).toString():e.toString()},v=function(e,t,r){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=g(e,r,t),a=p[r]&&i?"".concat(p[r]):"data"===r?"".concat(p[t],"iab"):"".concat(p[t]).concat(r);n[a]=n[a]?n[a].concat(",",o):o};t===l.Mk?(["site","user"].forEach((function(e){Object.keys(i[e]).forEach((function(t){"site"===e&&"content"===t&&i[e][t].data?v(i[e][t].data,e,"data"):"ext"!==t?v(i[e][t],e,t):i[e][t].data&&Object.keys(i[e].ext.data).forEach((function(t){v(i[e].ext.data[t],e,t,!1)}))}))})),Object.keys(d).forEach((function(e){"adserver"!==e?v(d[e],"site",e):"gam"===d[e].name&&v(d[e].adslot,name,e)})),u&&(n.p_gpid=u),n["tg_i.pbadslot"]&&delete n["tg_i.dfp_ad_unit_code"]):(Object.keys(c).length&&(0,a.Ee)(n.imp[0].ext,c),u&&(n.imp[0].ext.gpid=u),(0,a.Ee)(n,i))}function O(e){return(0,a.sF)(e).reduce((function(e,t){var n=parseInt(y[t],10);return n&&e.push(n),e}),[])}function T(e){var t,n,r,i,d=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e,n=void 0!==(0,s.Z)(t,"mediaTypes.".concat(l.pX)),r=void 0!==(0,s.Z)(t,"mediaTypes.".concat(l.Mk)),i="object"!==(0,o.Z)((0,s.Z)(t,"params.video")),r&&i&&(n=!1),n&&i&&(0,c.N)(t,"params.video",{}),n?-1===["outstream","instream"].indexOf((0,s.Z)(e,"mediaTypes.".concat(l.pX,".context")))?void(d&&(0,a.H)("Rubicon: mediaTypes.video.context must be outstream or instream")):w(e,"video").length<2?void(d&&(0,a.H)("Rubicon: could not determine the playerSize of the video")):(d&&(0,a.ji)("Rubicon: making video request for adUnit",e.adUnitCode),"video"):0===w(e,"banner").length?void(d&&(0,a.H)("Rubicon: could not determine the sizes for banner request")):(d&&(0,a.ji)("Rubicon: making banner request for adUnit",e.adUnitCode),"banner")}function C(e){var t=!1,n=["asi","sid","hp"];return e.nodes?((t=e.nodes.reduce((function(e,t){return e?n.every((function(e){return t.hasOwnProperty(e)})):e}),!0))||(0,a.H)("Rubicon: required schain params missing"),t):t}function k(e,t){return"rp_schain"===e?"rp_schain=".concat(t):"".concat(e,"=").concat(encodeURIComponent(t))}var x=!1;(0,d.dX)(b),window.pbjs.installedModules.push("rubiconBidAdapter")}},function(e){e.O(0,[866],(function(){return e(e.s=60)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[972],{4834:function(e,t,n){var r=n(1002),i=n(4358),o=n(2797),a=n(1039),s=n(5164),c=n(4516),d=(0,s.df)({moduleName:"pubCommonId",gvlid:c.$P}),u="cookie",l="html5",f="_pubcid_optout",p="PublisherCommonId";function g(e,t){if(t===u)return d.getCookie(e);if(t===l&&d.hasLocalStorage()){var n=d.getDataFromLocalStorage("".concat(e,"_exp"));if(!n)return d.getDataFromLocalStorage(e);if(new Date(n).getTime()-Date.now()>0)return d.getDataFromLocalStorage(e)}}function v(e,t){return function(n){"function"==typeof t&&t(),n(e)}}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(e){var n=(0,i.en)(e);n.search.id=encodeURIComponent("pubcid:"+t);var r=(0,i.Q2)(n);return function(){(0,i.hq)(r)}}}function h(){return!!(d.cookiesAreEnabled()&&g(f,u)||d.hasLocalStorage()&&g(f,l))}var y={name:"sharedId",aliasName:"pubCommonId",gvlid:c.$P,decode:function(e,t){if(!h())return(0,i.PN)(" Decoded value PubCommonId "+e),{pubcid:e};(0,i.PN)("PubCommonId decode: Has opted-out")},getId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>2?arguments[2]:void 0;if(h())(0,i.PN)("PubCommonId: Has opted-out");else{if(!a.VP.getCoppa()){var n=e.params,o=void 0===n?{}:n,s=o.create,c=void 0===s||s,d=o.pixelUrl,u=t;if(!u){try{"object"===(0,r.Z)(window[p])&&(u=window[p].getId())}catch(e){}u||(u=c&&(0,i.wn)()?(0,i.DO)():void 0)}return{id:u,callback:v(u,m(d,u))}}(0,i.PN)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId")}},extendId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>2?arguments[2]:void 0;if(h())return(0,i.PN)("PubCommonId: Has opted-out"),{id:void 0};if(a.VP.getCoppa())(0,i.PN)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId");else{var n=e.params,r=void 0===n?{}:n,o=r.extend,s=void 0!==o&&o,c=r.pixelUrl;if(s)return c?{callback:m(c,t)}:{id:t}}},domainOverride:function(){for(var e,t,n=document.domain.split("."),r="_gd".concat(Date.now()),i=0;i<n.length;i++){var o=n.slice(i).join(".");if(d.setCookie(r,"1",void 0,void 0,o),t=d.getCookie(r),d.setCookie(r,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,o),"1"!==t)return e;e=o}}};(0,o.Bx)("userId",y),window.pbjs.installedModules.push("sharedIdSystem")}},function(e){e.O(0,[866],(function(){return e(e.s=4834)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[579],{8709:function(e,t,n){var r=n(4358),i=n(8928),o=n(2797),a="unifiedId",s={name:a,gvlid:21,decode:function(e){return e&&"string"==typeof e.TDID?{tdid:e.TDID}:void 0},getId:function(e){var t=e&&e.params||{};if(t&&("string"==typeof t.partner||"string"==typeof t.url)){var n=t.url||"https://match.adsrvr.org/track/rid?ttd_pid=".concat(t.partner,"&fmt=json");return{callback:function(e){var t={success:function(t){var n;if(t)try{n=JSON.parse(t)}catch(e){(0,r.H)(e)}e(n)},error:function(t){(0,r.H)("".concat(a,": ID fetch encountered an error"),t),e()}};(0,i.h)(n,t,void 0,{method:"GET",withCredentials:!0})}}}(0,r.H)("User ID - unifiedId submodule requires either partner or url to be defined")}};(0,o.Bx)("userId",s),window.pbjs.installedModules.push("unifiedIdSystem")}},function(e){e.O(0,[866],(function(){return e(e.s=8709)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[215],{2722:function(e,t,n){var r=n(1002),i=n(4614),o=n(3193),a=n(2021),s=n(8640),c=n(1039),d=n(5644),u=n(2797),l=n(4358),f=n(265),p={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var t=(0,l.ei)(e,["h1","h2","h3"]);if(Object.keys(t).length)return t}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var t="";return e&&e.ext&&e.ext.DeviceID&&(t=e.ext.DeviceID),t},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=(0,l.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 g(e,t){var n=p[t];if(n&&e){var r={};r.source=(0,l.LQ)(n.getSource)?n.getSource(e):n.source;var i=(0,l.LQ)(n.getValue)?n.getValue(e):e;if((0,l.d8)(i)){var o={id:i,atype:n.atype};if((0,l.LQ)(n.getUidExt)){var a=n.getUidExt(e);a&&(o.ext=a)}if(r.uids=[o],(0,l.LQ)(n.getEidExt)){var s=n.getEidExt(e);s&&(r.ext=s)}return r}}return null}function v(e){var t=[],n=function(n){if(e.hasOwnProperty(n))if("pubProvidedId"===n)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[n]))e[n].forEach((function(e,r,i){var o=g(e,n);o&&t.push(o)}));else{var r=g(e[n],n);r&&t.push(r)}};for(var r in e)n(r);return t}var m,h,y,b,_,I,w=n(5164),E=n(6475),O=(0,u.z3)("sync",(function(){})),T=n(8792),C=n(7673),k=n(6372),x=n(9128),A=n(8196),S="User ID",P="cookie",j="html5",D="_pbjs_userid_consent_data",R="_pbjs_id_optout",B=(0,w.eA)("userid"),U=!1,N=[],Z=[],q=[],M=function(){return null==I&&(I=(0,x.V6)()),I};function z(e){return M().fork().renameWith((function(t){return["userId.mod.".concat(t),"userId.mods.".concat(e,".").concat(t)]}))}function F(e){var t="function"==typeof e.submodule.domainOverride?e.submodule.domainOverride():null,n=e.config.storage.name;return function(e,r,i){B.setCookie(n+(e||""),r,i,"Lax",t)}}function H(e,t){var n=e.config.storage;try{var r=new Date(Date.now()+864e5*n.expires).toUTCString(),i=(0,l.PO)(t)?JSON.stringify(t):t;if(n.type===P){var o=F(e);o(null,i,r),"number"==typeof n.refreshInSeconds&&o("_last",(new Date).toUTCString(),r)}else n.type===j&&(B.setDataInLocalStorage("".concat(n.name,"_exp"),r),B.setDataInLocalStorage(n.name,encodeURIComponent(i)),"number"==typeof n.refreshInSeconds&&B.setDataInLocalStorage("".concat(n.name,"_last"),(new Date).toUTCString()))}catch(e){(0,l.H)(e)}}function L(e){var t=(0,l.EE)().setEidPermissions;"function"==typeof t&&(0,l.kJ)(e)&&t(function(e){var t=[];return e.filter((function(e){return(0,l.PO)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(n){(0,f.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,f.Z)(p,n+".source")&&t.push({source:p[n].source,bidders:e.config.bidders})}))})),t}(e))}function K(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=n?"".concat(e.name,"_").concat(n):e.name;try{if(e.type===P)t=B.getCookie(r);else if(e.type===j){var i=B.getDataFromLocalStorage("".concat(e.name,"_exp"));""===i?t=B.getDataFromLocalStorage(r):i&&new Date(i).getTime()-Date.now()>0&&(t=decodeURIComponent(B.getDataFromLocalStorage(r)))}"string"==typeof t&&"{"===t.trim().charAt(0)&&(t=JSON.parse(t))}catch(e){(0,l.H)(e)}return t}function W(e){var t={consentString:"",gdprApplies:!1,apiVersion:0};return e&&(t.consentString=e.consentString,t.gdprApplies=e.gdprApplies,t.apiVersion=e.apiVersion),(0,l._R)(JSON.stringify(t))}function J(e,t){t=M().fork().startTiming("userId.callbacks.total").stopBefore(t);var n=(0,l.yx)((function(){clearTimeout(void 0),t()}),e.length);e.forEach((function(e){var t=z(e.submodule.name).startTiming("callback").stopBefore(n);try{e.callback((function(n){n?(e.config.storage&&H(e,n),e.idObj=e.submodule.decode(n,e.config),de(e.idObj)):(0,l.PN)("".concat(S,": ").concat(e.submodule.name," - request id responded with an empty value")),t()}))}catch(n){(0,l.H)("Error in userID module '".concat(e.submodule.name,"':"),n),t()}e.callback=void 0}))}function V(e,t){[e].some((function(e){return!Array.isArray(e)||!e.length}))||e.forEach((function(e){e.bids&&(0,l.kJ)(e.bids)&&e.bids.forEach((function(e){var n=function(e,t){return Array.isArray(e)&&e.length&&t?e.filter((function(e){return!e.config.bidders||!(0,l.kJ)(e.config.bidders)||(0,i.q9)(e.config.bidders,t)})).filter((function(e){return(0,l.PO)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,t){return Object.keys(t.idObj).forEach((function(n){e[n]=t.idObj[n]})),e}),{}):{}}(t,e.bidder);Object.keys(n).length&&(e.userId=n,e.userIdAsEids=v(n))}))}))}var G,X={};function Y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ee()||[],t=b&&e.find((function(e){return e.source===b}));if(t&&"string"==typeof(0,f.Z)(t,"uids.0.id")){var n=t.uids[0].id.replace(/[\W_]/g,"");if(n.length>=32&&n.length<=150)return n;(0,l.yN)("User ID - Googletag Publisher Provided ID for ".concat(b," is not between 32 and 150 characters - ").concat(n))}}var Q=(0,x.g3)("userId",(function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.delay,o=void 0===i?T.Z.timeout:i,a=r.getIds,c=void 0===a?ae:a;T.Z.race([c().catch((function(){return null})),o(y)]).then((function(){V(t.adUnits||(0,s.R)().adUnits,m),M().join((0,x.Bf)(t.metrics),{propagate:!1,includeGroups:!0}),e.call(n,t)}))}));function $(){return function(e){return Array.isArray(e)&&e.length?e.filter((function(e){return(0,l.PO)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,t){return Object.keys(t.idObj).forEach((function(n){e[n]=t.idObj[n]})),e}),{}):{}}(m)}function ee(){return v($())}function te(e){return v(function(e,t){if(!Array.isArray(e)||!e.length)return{};var n=e.filter((function(e){var n;return(0,l.PO)(e.idObj)&&Object.keys(e.idObj).length&&(null===(n=p[Object.keys(e.idObj)[0]])||void 0===n?void 0:n.source)===t}));return(0,l.xb)(n)?[]:n[0].idObj}(m,e))[0]}function ne(e,t,n){return G().then((function(){var r={};if((0,l.LQ)(n)){(0,l.PN)("".concat(S," - Getting encrypted signal from custom function : ").concat(n.name," & source : ").concat(e," "));var i=n(e);r[e]=i?re(i):null}else{var o=te(e);(0,l.PN)("".concat(S," - Getting encrypted signal for eids :").concat(JSON.stringify(o))),(0,l.xb)(o)||(r[o.source]=!0===t?re(o):o.uids[0].id)}return(0,l.PN)("".concat(S," - Fetching encrypted eids: ").concat(r[e])),r[e]}))}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n="";return 1===t&&(n="object"===(0,r.Z)(e)?window.btoa(JSON.stringify(e)):window.btoa(e)),"".concat(t,"||").concat(n)}function ie(){if((0,l.T9)()){window.googletag.encryptedSignalProviders=window.googletag.encryptedSignalProviders||[];var e=o.vc.getConfig("userSync.encryptedSignalSources");if(e){var t=e.registerDelay||0;setTimeout((function(){e.sources&&e.sources.forEach((function(e){var t=e.source,n=e.encrypt,r=e.customFunc;t.forEach((function(e){window.googletag.encryptedSignalProviders.push({id:e,collectorFunction:function(){return ne(e,n,r)}})}))}))}),t)}else(0,l.yN)("".concat(S," - ESP : encryptedSignalSources config not defined under userSync Object"))}}function oe(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).submoduleNames,t=arguments.length>1?arguments[1]:void 0;return G({refresh:!0,submoduleNames:e}).then((function(){return t&&(0,l.LQ)(t)&&t(),$()}))}function ae(){return G().then((function(){return $()}),(function(e){return e===X?Promise.resolve().then(ae):((0,l.H)("Error initializing userId",e),T.Z.reject(e))}))}var se=(0,u.z3)("sync",(function(e,t){return{userIdModules:e,hasValidated:t&&t.hasValidated}}),"validateGdprEnforcement");function ce(e,t,n,r){if(e.config.storage){var i,o=K(e.config.storage),a=!1;if("number"==typeof e.config.storage.refreshInSeconds){var s=new Date(K(e.config.storage,"last"));a=s&&Date.now()-s.getTime()>1e3*e.config.storage.refreshInSeconds}!o||a||r||!function(e,t){return null!=e&&e===W(t)}(n,t)?i=e.submodule.getId(e.config,t,o):"function"==typeof e.submodule.extendId&&(i=e.submodule.extendId(e.config,t,o)),(0,l.PO)(i)&&(i.id&&(H(e,i.id),o=i.id),"function"==typeof i.callback&&(e.callback=i.callback)),o&&(e.idObj=e.submodule.decode(o,e.config))}else if(e.config.value)e.idObj=e.config.value;else{var c=e.submodule.getId(e.config,t,void 0);(0,l.PO)(c)&&("function"==typeof c.callback&&(e.callback=c.callback),c.id&&(e.idObj=e.submodule.decode(c.id,e.config)))}de(e.idObj)}function de(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$();if(e&&b){var t=Y(v(e));t&&((0,l.T9)()?window.googletag.pubads().setPublisherProvidedId(t):(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){window.googletag.pubads().setPublisherProvidedId(t)}))))}}function ue(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return M().fork().measureTime("userId.init.modules",(function(){if(!t.length)return[];var i=function(){var e=[],t=!1;return B.localStorageIsEnabled()&&(e.push(j),B.getDataFromLocalStorage(R)&&((0,l.PN)("".concat(S," - opt-out localStorage found, storage disabled")),t=!0)),B.cookiesAreEnabled()&&(e.push(P),B.getCookie(R)&&((0,l.PN)("".concat(S," - opt-out cookie found, storage disabled")),t=!0)),new Set(t?[]:e)}();if(!(t=t.filter((function(e){return!e.config.storage||i.has(e.config.storage.type)}))).length)return(0,l.yN)("".concat(S," - no ID module is configured for one of the available storage types:"),Array.from(i)),[];var o=se(t,n),a=o.userIdModules;if(!o.hasValidated&&!(0,C.h)(n))return(0,l.yN)("".concat(S," - gdpr permission not valid for local storage or cookies, exit module")),[];var s=function(){try{return B.getCookie(D)}catch(e){(0,l.H)(e)}}();!function(e){try{var t=new Date(Date.now()+2592e6).toUTCString();B.setCookie(D,W(e),t,"Lax")}catch(e){(0,l.H)(e)}}(n);var c=a.reduce((function(e,t){return z(t.submodule.name).measureTime("init",(function(){try{ce(t,n,s,r),e.push(t)}catch(e){(0,l.H)("Error in userID module '".concat(t.submodule.name,"':"),e)}return e}))}),[]);return c.length&&L(c),c.forEach(le.bind(null,e)),c}))}function le(e,t){for(var n=!1,r=0;r<e.length;r++)if(t.config.name.toLowerCase()===e[r].config.name.toLowerCase()){n=!0,e[r]=t;break}n||e.push(t)}var fe=new Set([j,P]);function pe(){var e=function(e,t){return Array.isArray(e)?e.reduce((function(e,t){return!t||(0,l.jH)(t.name)||(t.storage&&!(0,l.jH)(t.storage.type)&&!(0,l.jH)(t.storage.name)&&fe.has(t.storage.type)||(0,l.PO)(t.value)?e.push(t):t.storage||t.value||e.push(t)),e}),[]):[]}(Z);if(e.length){var t=q.filter((function(e){return!(0,i.sE)(N,(function(t){return t.name===e.name}))}));N.splice(0,N.length),t.map((function(t){var n=(0,i.sE)(e,(function(e){return e.name&&(e.name.toLowerCase()===t.name.toLowerCase()||t.aliasName&&e.name.toLowerCase()===t.aliasName.toLowerCase())}));return n&&t.name!==n.name&&(n.name=t.name),t.findRootDomain=A.W,n?{submodule:t,config:n,callback:void 0,idObj:void 0}:null})).filter((function(e){return null!==e})).forEach((function(e){return N.push(e)})),!U&&N.length&&((0,s.R)().requestBids.before(Q,40),c.ZP.callDataDeletionRequest.before(ge),O.after((function(e){return e(Y())})),(0,l.PN)("".concat(S," - usersync config updated for ").concat(N.length," submodules: "),N.map((function(e){return e.submodule.name}))),U=!0)}}function ge(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(0,l.PN)("UserID: received data deletion request; deleting all stored IDs..."),N.forEach((function(e){if("function"==typeof e.submodule.onDataDeletionRequest)try{var t;(t=e.submodule).onDataDeletionRequest.apply(t,[e.config,e.idObj].concat(n))}catch(t){(0,l.H)("Error calling onDataDeletionRequest for ID submodule ".concat(e.submodule.name),t)}!function(e){var t,n,r,i;switch(null===(t=e.config)||void 0===t||null===(n=t.storage)||void 0===n?void 0:n.type){case P:var o=F(e),a=new Date(Date.now()-864e5).toUTCString();r=function(e){return o(e,"",a)},i=["","_last"];break;case j:r=function(t){return B.removeDataFromLocalStorage(e.config.storage.name+t)},i=["","_last","_exp"]}r&&i.forEach((function(e){try{r(e)}catch(e){(0,l.H)(e)}}))}(e)})),e.apply(this,n)}function ve(e){return function(){return Promise.resolve(e.apply(this,arguments))}}!function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).delay,n=void 0===t?T.Z.timeout:t;b=void 0,N=[],Z=[],U=!1,m=[],G=function(){var e,t,n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).delay,r=void 0===n?T.Z.timeout:n,i=(0,T.P)(),o=(0,T.P)(),s=!1;function f(n){return t=M().fork(),null!=e&&e.reject(X),e=(0,T.P)(),T.Z.race([n,e.promise]).finally(t.startTiming("userId.total"))}var p=m,g=N;function v(e){return function(){if(p===m&&g===N)return e.apply(void 0,arguments)}}function b(){return c.rp.promise.finally(t.startTiming("userId.init.gdpr"))}var _=f(T.Z.all([u.Cd,i.promise]).then(b).then(v((function(e){ue(p,g,e)}))).then((function(){return o.promise.finally(t.startTiming("userId.callbacks.pending"))})).then(v((function(){var e=p.filter((function(e){return(0,l.LQ)(e.callback)}));if(e.length)return new T.Z((function(t){return J(e,t)}))}))));return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refresh,n=void 0!==t&&t,c=e.submoduleNames,u=void 0===c?null:c,l=e.ready;return void 0!==l&&l&&!s&&(s=!0,i.resolve(),y>0?o.resolve():a.on(d.FP.AUCTION_END,(function e(){a.S1(d.FP.AUCTION_END,e),r(h).then(o.resolve)}))),n&&s&&(_=f(_.catch((function(){return null})).then(b).then(v((function(e){var t=ue(p,g.filter((function(e){return null==u||u.includes(e.submodule.name)})),e,!0).filter((function(e){return null!=e.callback}));if(t.length)return new T.Z((function(e){return J(t,e)}))}))))),_}}({delay:n}),null!=_&&_(),q=[],_=e.getConfig("userSync",(function(e){var t=e.userSync;b=t.ppid,t&&t.userIds&&(Z=t.userIds,h=(0,l.hj)(t.syncDelay)?t.syncDelay:500,y=(0,l.hj)(t.auctionDelay)?t.auctionDelay:0,pe(),G({ready:!0}))})),(0,s.R)().getUserIds=$,(0,s.R)().getUserIdsAsEids=ee,(0,s.R)().getEncryptedEidsForSource=ve(ne),(0,s.R)().registerSignalSources=ie,(0,s.R)().refreshUserIds=ve(oe),(0,s.R)().getUserIdsAsync=ve(ae),(0,s.R)().getUserIdsAsEidBySource=te}(o.vc),(0,u.bA)("userId",(function(e){(0,i.sE)(q,(function(t){return t.name===e.name}))||(q.push(e),pe(),G({refresh:!0,submoduleNames:[e.name]}))})),(0,k.f8)({type:k.Z,name:"userExtEids",fn:function(e,t,n){var r=(0,f.Z)(n,"bidRequests.0.userIdAsEids");r&&(0,E.N)(e,"user.ext.eids",r)}}),window.pbjs.installedModules.push("userId")},6372:function(e,t,n){n.d(t,{Z:function(){return o},f8:function(){return d}});var r,i=["request","imp","bidResponse","response"],o=i[0],a=(i[1],i[2],i[3],"default"),s=new Set(i),c=(r={},{registerOrtbProcessor:function(e){var t=e.type,n=e.name,o=e.fn,c=e.priority,d=void 0===c?0:c,u=e.dialects,l=void 0===u?[a]:u;if(!s.has(t))throw new Error("ORTB processor type must be one of: ".concat(i.join(", ")));l.forEach((function(e){r.hasOwnProperty(e)||(r[e]={}),r[e].hasOwnProperty(t)||(r[e][t]={}),r[e][t][n]={priority:d,fn:o}}))},getProcessors:function(e){return r[e]||{}}}),d=c.registerOrtbProcessor},7673:function(e,t,n){n.d(t,{h:function(){return i}});var r=n(265);function i(e){return null==e||!e.gdprApplies||!0===(0,r.Z)(e,"vendorData.purpose.consents.1")}}},function(e){e.O(0,[866],(function(){return e(e.s=2722)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[553],{2632:function(e,t,n){var r=n(3324),i=n(1002),o=n(4358),a=n(265),s=n(5339),c=n(4614),d=n(4679),u=n(5706),l=n(59),f="https://ad.yieldlab.net",p="EUR",g={code:"yieldlab2",gvlid:70,supportedMediaTypes:[d.pX,d.Mk,d.B5],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.adslotId&&e.params.supplyId)},buildRequests:function(e,t){e=(0,l.lY)(e);var n=[],s=[],c=[],u={ts:Date.now(),json:!0};(0,o.yi)(e,(function(e){n.push(e.params.adslotId);var t,l,f,v,m,h=function(e){var t=e.mediaTypes,n=[];if((0,o.PO)(t)){var i=t[d.Mk];i&&(0,o.kJ)(i.sizes)&&((0,o.kJ)(i.sizes[0])?n.push(i.sizes):n.push([i.sizes]))}else(0,o.kJ)(e.sizes)&&((0,o.kJ)(e.sizes[0])?n.push(e.sizes):n.push([e.sizes]));var a=new Set(n.flat().map((function(e){var t=(0,r.Z)(e,2);return t[0]+"x"+t[1]})));return Array.from(a)}(e);if(h.length>0&&s.push(e.params.adslotId+":"+h.join("|")),e.params.extId&&(u.id=e.params.extId),e.params.targeting&&(u.t=function(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var r=n,i=e[n];t.push(r+"="+i)}return t.join("&")}(e.params.targeting)),e.userIdAsEids&&Array.isArray(e.userIdAsEids)&&(u.ids=function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].source+":"+e[n].uids[0].id);return t.join(",")}(e.userIdAsEids),u.atypes=function(e){for(var t=[],n=0;n<e.length;n++)e[n].uids[0].atype&&t.push(e[n].source+":"+e[n].uids[0].atype);return t.join(",")}(e.userIdAsEids)),e.params.customParams&&(0,o.PO)(e.params.customParams))for(var y in e.params.customParams)u[y]=e.params.customParams[y];e.schain&&(0,o.PO)(e.schain)&&Array.isArray(e.schain.nodes)&&(u.schain=(l=(t=e.schain).ver||"",f=1===t.complete||0===t.complete?t.complete:"",v=["asi","sid","hp","rid","name","domain","ext"],m=t.nodes.reduce((function(e,t){return e+"!".concat(v.map((function(e){return t[e]?(n=t[e],encodeURIComponent(n).replace(/!/g,"%21")):"";var n})).join(","))}),""),"".concat(l,",").concat(f).concat(m)));var b=function(e){if(e.params.iabContent&&(0,o.PO)(e.params.iabContent))return e.params.iabContent;var t=(0,a.Z)(e,"ortb2.site")?(0,a.Z)(e,"ortb2.site.content"):(0,a.Z)(e,"ortb2.app.content");return t&&(0,o.PO)(t)?t:void 0}(e);b&&(u.iab_content=function(e){var t=["keywords","cat"],n=[];return encodeURIComponent(function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";for(var a in r)-1!==t.indexOf(a)&&Array.isArray(r[a])?n.push("".concat(a,":",r[a].map((function(e){return encodeURIComponent(e)})).join("|"))):"object"!==(0,i.Z)(r[a])?n.push("".concat(o+a,":",encodeURIComponent(r[a]))):e(r[a],"".concat(o,a,"."));return n.join(",")}(e))}(b));var _=function(e,t){if((0,o.LQ)(e.getFloor)){var n=(0,a.Z)(e,"mediaTypes"),r=void 0!==n?Object.keys(n)[0].toLowerCase():void 0,i=e.getFloor({currency:p,mediaType:void 0!==r&&g.supportedMediaTypes.includes(r)?r:"*",size:1!==t.length?"*":t[0].split("x")});return i.currency===p?(100*i.floor).toFixed(0):void 0}}(e,h);_&&c.push(e.params.adslotId+":"+_)})),t&&(t.refererInfo&&t.refererInfo.page&&(u.pubref=t.refererInfo.page),t.gdprConsent&&(u.gdpr="boolean"!=typeof t.gdprConsent.gdprApplies||t.gdprConsent.gdprApplies,u.gdpr&&(u.consent=t.gdprConsent.consentString)));var v=n.join(",");s.length>0&&(u.sizes=s.join(",")),c.length>0&&(u.floor=c.join(","));var m=function(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];"schain"!==n&&"iab_content"!==n?t.push(encodeURIComponent(n)+"="+encodeURIComponent(r)):t.push(n+"="+r)}return t.join("&")}(u);return{method:"GET",url:"".concat(f,"/yp/").concat(v,"?").concat(m),validBidRequests:e,queryParams:u}},interpretResponse:function(e,t){var n=[],r=Date.now(),i=t.queryParams;return t.validBidRequests.forEach((function(t){if(e.body){var s,l,g=(0,c.sE)(e.body,(function(e){return t.params.adslotId==e.id}));if(g){var h=2!==t.sizes.length||(0,o.kJ)(t.sizes[0])?t.sizes[0]:t.sizes,y=void 0!==t.params.adSize?v(t.params.adSize):void 0!==g.adsize?v(g.adsize):h,b=void 0!==t.params.extId?"&id="+t.params.extId:"",_=void 0!==g.adtype?g.adtype:"",I=i.gdpr?"&gdpr="+i.gdpr:"",w=i.consent?"&consent="+i.consent:"",E=void 0!==g.pvid?"&pvid="+g.pvid:"",O=i.iab_content?"&iab_content="+i.iab_content:"",T={requestId:t.bidId,cpm:g.price/100,width:y[0],height:y[1],creativeId:""+g.id,dealId:g["c.dealid"]?g["c.dealid"]:g.pid,currency:p,netRevenue:!1,ttl:300,referrer:"",ad:'<script src="'.concat(f,"/d/").concat(g.id,"/").concat(t.params.supplyId,"/?ts=").concat(r).concat(b).concat(I).concat(w).concat(E).concat(O,'"><\/script>'),meta:{advertiserDomains:g.advertiser?g.advertiser:"n/a"}};if(s=t,l=_,(0,a.Z)(s,"mediaTypes.video")&&"video"===l.toLowerCase()){var C=function(e){var t=(0,a.Z)(e,"mediaTypes.video.playerSize");return t&&(0,o.kJ)(t[0])?t[0]:t}(t);if(C&&(T.width=C[0],T.height=C[1]),T.mediaType=d.pX,T.vastUrl="".concat(f,"/d/").concat(g.id,"/").concat(t.params.supplyId,"/?ts=").concat(r).concat(b).concat(I).concat(w).concat(E).concat(O),function(e){return"outstream"===(0,a.Z)(e,"mediaTypes.video.context")}(t)){var k=u.Th.install({id:t.bidId,url:"https://ad.adition.com/dynamic.ad?a=o193092&ma_loadEvent=ma-start-event",loaded:!1});k.setRender(m),T.renderer=k}}if(function(e,t){return(0,a.Z)(e,"mediaTypes.native")&&"native"===t.toLowerCase()}(t,_)){var x="".concat(f,"/d/").concat(g.id,"/").concat(t.params.supplyId,"/?ts=").concat(r).concat(b).concat(I).concat(w).concat(E);T.adUrl=x,T.mediaType=d.B5;var A=(0,c.sE)(g.native.assets,(function(e){return 2===e.id})),S=A?A.img:{url:"",w:0,h:0},P=(0,c.sE)(g.native.assets,(function(e){return 1===e.id})),j=(0,c.sE)(g.native.assets,(function(e){return 3===e.id}));T.native={title:P?P.title.text:"",body:j?j.data.value:"",image:{url:S.url,width:S.w,height:S.h},clickUrl:g.native.link.url,impressionTrackers:g.native.imptrackers}}n.push(T)}}})),n},getUserSyncs:function(e,t,n,r){var i=[];if(e.iframeEnabled){var a=[];a.push("ts=".concat((0,o.AB)())),a.push("type=h"),n&&"boolean"==typeof n.gdprApplies&&a.push("gdpr=".concat(Number(n.gdprApplies))),n&&"string"==typeof n.consentString&&a.push("gdpr_consent=".concat(n.consentString)),i.push({type:"iframe",url:"".concat(f,"/d/6846326/766/2x2?").concat(a.join("&"))})}return i}};function v(e){return e.split("x").map(Number)}function m(e){e.renderer.push((function(){window.ma_width=e.width,window.ma_height=e.height,window.ma_vastUrl=e.vastUrl,window.ma_container=e.adUnitCode,window.document.dispatchEvent(new Event("ma-start-event"))}))}(0,s.dX)(g),window.pbjs.installedModules.push("yieldlab2BidAdapter")}},function(e){e.O(0,[866],(function(){return e(e.s=2632)})),e.O()}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[900],{6620:function(e,t,n){var r=n(3324),i=n(1002),o=n(4358),a=n(265),s=n(5339),c=n(4614),d=n(4679),u=n(5706),l=n(59),f="https://ad.yieldlab.net",p="EUR",g={code:"yieldlab",gvlid:70,supportedMediaTypes:[d.pX,d.Mk,d.B5],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.adslotId&&e.params.supplyId)},buildRequests:function(e,t){e=(0,l.lY)(e);var n=[],s=[],c=[],u={ts:Date.now(),json:!0};(0,o.yi)(e,(function(e){n.push(e.params.adslotId);var t,l,f,v,m,h=function(e){var t=e.mediaTypes,n=[];if((0,o.PO)(t)){var i=t[d.Mk];i&&(0,o.kJ)(i.sizes)&&((0,o.kJ)(i.sizes[0])?n.push(i.sizes):n.push([i.sizes]))}else(0,o.kJ)(e.sizes)&&((0,o.kJ)(e.sizes[0])?n.push(e.sizes):n.push([e.sizes]));var a=new Set(n.flat().map((function(e){var t=(0,r.Z)(e,2);return t[0]+"x"+t[1]})));return Array.from(a)}(e);if(h.length>0&&s.push(e.params.adslotId+":"+h.join("|")),e.params.extId&&(u.id=e.params.extId),e.params.targeting&&(u.t=function(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var r=n,i=e[n];t.push(r+"="+i)}return t.join("&")}(e.params.targeting)),e.userIdAsEids&&Array.isArray(e.userIdAsEids)&&(u.ids=function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].source+":"+e[n].uids[0].id);return t.join(",")}(e.userIdAsEids),u.atypes=function(e){for(var t=[],n=0;n<e.length;n++)e[n].uids[0].atype&&t.push(e[n].source+":"+e[n].uids[0].atype);return t.join(",")}(e.userIdAsEids)),e.params.customParams&&(0,o.PO)(e.params.customParams))for(var y in e.params.customParams)u[y]=e.params.customParams[y];e.schain&&(0,o.PO)(e.schain)&&Array.isArray(e.schain.nodes)&&(u.schain=(l=(t=e.schain).ver||"",f=1===t.complete||0===t.complete?t.complete:"",v=["asi","sid","hp","rid","name","domain","ext"],m=t.nodes.reduce((function(e,t){return e+"!".concat(v.map((function(e){return t[e]?(n=t[e],encodeURIComponent(n).replace(/!/g,"%21")):"";var n})).join(","))}),""),"".concat(l,",").concat(f).concat(m)));var b=function(e){if(e.params.iabContent&&(0,o.PO)(e.params.iabContent))return e.params.iabContent;var t=(0,a.Z)(e,"ortb2.site")?(0,a.Z)(e,"ortb2.site.content"):(0,a.Z)(e,"ortb2.app.content");return t&&(0,o.PO)(t)?t:void 0}(e);b&&(u.iab_content=function(e){var t=["keywords","cat"],n=[];return encodeURIComponent(function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";for(var a in r)-1!==t.indexOf(a)&&Array.isArray(r[a])?n.push("".concat(a,":",r[a].map((function(e){return encodeURIComponent(e)})).join("|"))):"object"!==(0,i.Z)(r[a])?n.push("".concat(o+a,":",encodeURIComponent(r[a]))):e(r[a],"".concat(o,a,"."));return n.join(",")}(e))}(b));var _=function(e,t){if((0,o.LQ)(e.getFloor)){var n=(0,a.Z)(e,"mediaTypes"),r=void 0!==n?Object.keys(n)[0].toLowerCase():void 0,i=e.getFloor({currency:p,mediaType:void 0!==r&&g.supportedMediaTypes.includes(r)?r:"*",size:1!==t.length?"*":t[0].split("x")});return i.currency===p?(100*i.floor).toFixed(0):void 0}}(e,h);_&&c.push(e.params.adslotId+":"+_)})),t&&(t.refererInfo&&t.refererInfo.page&&(u.pubref=t.refererInfo.page),t.gdprConsent&&(u.gdpr="boolean"!=typeof t.gdprConsent.gdprApplies||t.gdprConsent.gdprApplies,u.gdpr&&(u.consent=t.gdprConsent.consentString)));var v=n.join(",");s.length>0&&(u.sizes=s.join(",")),c.length>0&&(u.floor=c.join(","));var m=function(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];"schain"!==n&&"iab_content"!==n?t.push(encodeURIComponent(n)+"="+encodeURIComponent(r)):t.push(n+"="+r)}return t.join("&")}(u);return{method:"GET",url:"".concat(f,"/yp/").concat(v,"?").concat(m),validBidRequests:e,queryParams:u}},interpretResponse:function(e,t){var n=[],r=Date.now(),i=t.queryParams;return t.validBidRequests.forEach((function(t){if(e.body){var s,l,g=(0,c.sE)(e.body,(function(e){return t.params.adslotId==e.id}));if(g){var h=2!==t.sizes.length||(0,o.kJ)(t.sizes[0])?t.sizes[0]:t.sizes,y=void 0!==t.params.adSize?v(t.params.adSize):void 0!==g.adsize?v(g.adsize):h,b=void 0!==t.params.extId?"&id="+t.params.extId:"",_=void 0!==g.adtype?g.adtype:"",I=i.gdpr?"&gdpr="+i.gdpr:"",w=i.consent?"&consent="+i.consent:"",E=void 0!==g.pvid?"&pvid="+g.pvid:"",O=i.iab_content?"&iab_content="+i.iab_content:"",T={requestId:t.bidId,cpm:g.price/100,width:y[0],height:y[1],creativeId:""+g.id,dealId:g["c.dealid"]?g["c.dealid"]:g.pid,currency:p,netRevenue:!1,ttl:300,referrer:"",ad:'<script src="'.concat(f,"/d/").concat(g.id,"/").concat(t.params.supplyId,"/?ts=").concat(r).concat(b).concat(I).concat(w).concat(E).concat(O,'"><\/script>'),meta:{advertiserDomains:g.advertiser?g.advertiser:"n/a"}};if(s=t,l=_,(0,a.Z)(s,"mediaTypes.video")&&"video"===l.toLowerCase()){var C=function(e){var t=(0,a.Z)(e,"mediaTypes.video.playerSize");return t&&(0,o.kJ)(t[0])?t[0]:t}(t);if(C&&(T.width=C[0],T.height=C[1]),T.mediaType=d.pX,T.vastUrl="".concat(f,"/d/").concat(g.id,"/").concat(t.params.supplyId,"/?ts=").concat(r).concat(b).concat(I).concat(w).concat(E).concat(O),function(e){return"outstream"===(0,a.Z)(e,"mediaTypes.video.context")}(t)){var k=u.Th.install({id:t.bidId,url:"https://ad.adition.com/dynamic.ad?a=o193092&ma_loadEvent=ma-start-event",loaded:!1});k.setRender(m),T.renderer=k}}if(function(e,t){return(0,a.Z)(e,"mediaTypes.native")&&"native"===t.toLowerCase()}(t,_)){var x="".concat(f,"/d/").concat(g.id,"/").concat(t.params.supplyId,"/?ts=").concat(r).concat(b).concat(I).concat(w).concat(E);T.adUrl=x,T.mediaType=d.B5;var A=(0,c.sE)(g.native.assets,(function(e){return 2===e.id})),S=A?A.img:{url:"",w:0,h:0},P=(0,c.sE)(g.native.assets,(function(e){return 1===e.id})),j=(0,c.sE)(g.native.assets,(function(e){return 3===e.id}));T.native={title:P?P.title.text:"",body:j?j.data.value:"",image:{url:S.url,width:S.w,height:S.h},clickUrl:g.native.link.url,impressionTrackers:g.native.imptrackers}}n.push(T)}}})),n},getUserSyncs:function(e,t,n,r){var i=[];if(e.iframeEnabled){var a=[];a.push("ts=".concat((0,o.AB)())),a.push("type=h"),n&&"boolean"==typeof n.gdprApplies&&a.push("gdpr=".concat(Number(n.gdprApplies))),n&&"string"==typeof n.consentString&&a.push("gdpr_consent=".concat(n.consentString)),i.push({type:"iframe",url:"".concat(f,"/d/6846326/766/2x2?").concat(a.join("&"))})}return i}};function v(e){return e.split("x").map(Number)}function m(e){e.renderer.push((function(){window.ma_width=e.width,window.ma_height=e.height,window.ma_vastUrl=e.vastUrl,window.ma_container=e.adUnitCode,window.document.dispatchEvent(new Event("ma-start-event"))}))}(0,s.dX)(g),window.pbjs.installedModules.push("yieldlabBidAdapter")}},function(e){e.O(0,[866],(function(){return e(e.s=6620)})),e.O()}])})(),pbjs.processQueue()})();