stpd.cloud
Open in
urlscan Pro
2606:4700::6812:1f31
Public Scan
Submitted URL: http://stpd.cloud/saas/6815
Effective URL: https://stpd.cloud/saas/6815
Submission: On October 14 via manual from IN — Scanned from DE
Effective URL: https://stpd.cloud/saas/6815
Submission: On October 14 via manual from IN — Scanned from DE
Form analysis
0 forms found in the DOMText Content
function findCMP(){let t=window,f=!1;for(;!f;){try{if("function"==typeof t.__tcfapi){f=!0;break}}catch(t){}try{if(t.frames.__tcfapiLocator){f=!0;break}}catch(t){}if(t===window.top)break;t=t.parent}return f} (()=>{var e,t={35706:(e,t,n)=>{n.d(t,{Pd:()=>l,Th:()=>c,_U:()=>u});var r=n(55730),i=n(64358),o=n(20265),s=n(34614);const a=(0,n(78640).R)(),d="outstream";function c(e){const{url:t,config:n,id:c,callback:l,loaded:u,adUnitCode:f,renderNow:g}=e;this.url=t,this.config=n,this.handlers={},this.id=c,this.renderNow=g,this.loaded=u,this.cmd=[],this.push=e=>{"function"==typeof e?this.loaded?e.call():this.cmd.push(e):(0,i.logError)("Commands given to Renderer.push must be wrapped in a function")},this.callback=l||(()=>{this.loaded=!0,this.process()}),this.render=function(){const e=arguments,n=()=>{this._render?this._render.apply(this,e):(0,i.logWarn)("No render function was provided, please use .setRender on the renderer")};!function(e){const t=a.adUnits,n=(0,s.sE)(t,(t=>t.code===e));if(!n)return!1;const r=(0,o.Z)(n,"renderer"),i=!!(r&&r.url&&r.render),d=(0,o.Z)(n,"mediaTypes.video.renderer"),c=!!(d&&d.url&&d.render);return!!(i&&!0!==r.backupOnly||c&&!0!==d.backupOnly)}(f)?g?n():(this.cmd.unshift(n),(0,r.B)(t,d,this.callback,this.documentContext)):((0,i.logWarn)(`External Js not loaded by Renderer since renderer url and callback is already defined on adUnit ${f}`),n())}.bind(this)}function l(e){return!(!e||!e.url&&!e.renderNow)}function u(e,t,n){let 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){let{url:t,config:n,id:r,callback:i,loaded:o,adUnitCode:s,renderNow:a}=e;return new c({url:t,config:n,id:r,callback:i,loaded:o,adUnitCode:s,renderNow:a})},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){let{id:t,eventName:n}=e;"function"==typeof this.handlers[n]&&this.handlers[n](),(0,i.logMessage)(`Prebid Renderer event for id ${t} type ${n}`)},c.prototype.process=function(){for(;this.cmd.length>0;)try{this.cmd.shift().call()}catch(e){(0,i.logError)("Error processing Renderer command: ",e)}}},74947:(e,t,n)=>{n.d(t,{EL:()=>s,Jt:()=>f,K$:()=>i,S1:()=>r,S5:()=>o,UE:()=>a,e:()=>c,g0:()=>u,oK:()=>l,x$:()=>d});const r="accessDevice",i="syncUser",o="enrichUfpd",s="enrichEids",a="fetchBids",d="reportAnalytics",c="transmitEids",l="transmitUfpd",u="transmitPreciseGeo",f="transmitTid"},10286:(e,t,n)=>{n.d(t,{T:()=>i});var r=n(86104);const i=(0,n(16310).Oj)((e=>r.ZP.resolveAlias(e)))},9633:(e,t,n)=>{n.d(t,{UL:()=>i,XG:()=>s,_U:()=>a,wu:()=>r,y2:()=>o});const r="prebid",i="bidder",o="userId",s="rtd",a="analytics"},16310:(e,t,n)=>{n.d(t,{$k:()=>s,Hw:()=>g,IV:()=>f,JR:()=>o,Ki:()=>d,Oj:()=>p,Qf:()=>l,Ww:()=>h,bL:()=>c,bp:()=>a,cx:()=>u});var r=n(9633),i=n(92797);const o="component",s=o+"Type",a=o+"Name",d="adapterCode",c="storageType",l="configName",u="syncType",f="syncUrl",g="_config";function p(e){return function(t,n,i){const c={[s]:t,[a]:n,[o]:`${t}.${n}`};return t===r.UL&&(c[d]=e(n)),h(Object.assign(c,i))}}const h=(0,i.z3)("sync",(e=>e))},41087:(e,t,n)=>{n.d(t,{$8:()=>a,Db:()=>u,Mp:()=>h,RD:()=>f,ZZ:()=>d,a:()=>g,hb:()=>m,js:()=>p});var r=n(20265),i=n(3193),o=n(50571),s=n(74947);const a=["data","ext.data","yob","gender","keywords","kwarray","id","buyeruid","customdata"].map((e=>`user.${e}`)).concat("device.ext.cdep"),d=["user.eids","user.ext.eids"],c=["user.geo.lat","user.geo.lon","device.geo.lat","device.geo.lon"];function l(e){return Object.assign({get(){},run(e,t,n,r,i){const o=n&&n[r];if(g(o)&&i()){const e=this.get(o);void 0===e?delete n[r]:n[r]=e}}},e)}function u(e){return e.forEach((e=>{e.paths=e.paths.map((e=>{const t=e.split("."),n=t.pop();return[t.length>0?t.join("."):null,n]}))})),function(t,n){const i=[];for(var o=arguments.length,s=new Array(o>2?o-2:0),a=2;a<o;a++)s[a-2]=arguments[a];const d=f(t,...s);return e.forEach((e=>{if(!1!==t[e.name])for(const[o,s]of e.paths){const a=null==o?n:(0,r.Z)(n,o);if(i.push(e.run(n,o,a,s,d.bind(null,e))),!1===t[e.name])return}})),i.filter((e=>null!=e))}}function f(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(t){return e.hasOwnProperty(t.name)||(e[t.name]=!!t.applies(...n)),e[t.name]}}function g(e){return null!=e&&("object"!=typeof e||Object.keys(e).length>0)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.xD;return function(n){return!t(e,n)}}function h(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.xD;return[{name:s.oK,paths:a,applies:p(s.oK,e)},{name:s.e,paths:d,applies:p(s.e,e)},{name:s.g0,paths:c,applies:p(s.g0,e),get:e=>Math.round(100*(e+Number.EPSILON))/100},{name:s.Jt,paths:["source.tid"],applies:p(s.Jt,e)}].map(l)}const m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.xD;const t=u(h(e)),n=u(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.xD;return[{name:s.e,paths:["userId","userIdAsEids"],applies:p(s.e,e)},{name:s.Jt,paths:["ortb2Imp.ext.tid"],applies:p(s.Jt,e)}].map(l)}(e));return function(e){const r={};return{ortb2:n=>(t(r,n,e),n),bidRequest:t=>(n(r,t,e),t)}}}();(0,o.oB)(s.Jt,"enableTIDs config",(()=>{if(!i.config.getConfig("enableTIDs"))return{allow:!1,reason:"TIDs are disabled"}}))},50571:(e,t,n)=>{n.d(t,{oB:()=>o,xD:()=>s});var r=n(64358),i=n(16310);const[o,s]=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.prefixLog)("Activity control:");const t={};function n(e){return t[e]=t[e]||[]}function o(t,n,r,o){let s;try{s=r(o)}catch(r){e.logError(`Exception in rule ${n} for '${t}'`,r),s={allow:!1,reason:r}}return s&&Object.assign({activity:t,name:n,component:o[i.JR]},s)}const s={};function a(t){let{activity:n,name:r,allow:i,reason:o,component:a}=t;const d=`${r} ${i?"allowed":"denied"} '${n}' for '${a}'${o?":":""}`,c=s.hasOwnProperty(d);if(c&&clearTimeout(s[d]),s[d]=setTimeout((()=>delete s[d]),1e3),!c){const t=[d];o&&t.push(o),(i?e.logInfo:e.logWarn).apply(e,t)}}return[function(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;const o=n(e),s=o.findIndex((e=>{let[t]=e;return i<t})),a=[i,t,r];return o.splice(s<0?o.length:s,0,a),function(){const e=o.indexOf(a);e>=0&&o.splice(e,1)}},function(e,t){let r,i;for(const[s,d,c]of n(e)){if(r!==s&&i)break;r=s;const n=o(e,d,c,t);if(n){if(!n.allow)return a(n),!1;i=n}}return i&&a(i),!0}]}()},13667:(e,t,n)=>{n.d(t,{Pm:()=>h,XD:()=>b,bL:()=>m});var r=n(64358),i=n(20265),o=n(52021),s=n(5644),a=n(3193),d=n(35706),c=n(24679),l=n(78653);const{AD_RENDER_FAILED:u,AD_RENDER_SUCCEEDED:f,STALE_RENDER:g,BID_WON:p}=s.EVENTS;function h(e){let{reason:t,message:n,bid:i,id:s}=e;const a={reason:t,message:n};i&&(a.bid=i),s&&(a.adId=s),(0,r.logError)(`Error rendering ad (id: ${s}): ${n}`),o.emit(u,a)}function m(e){let{doc:t,bid:n,id:r}=e;const i={doc:t};n&&(i.bid=n),r&&(i.adId=r),o.emit(f,i)}function b(e,t){let{adId:n,options:u,bidResponse:f}=t;if(null!=f){if(f.status!==s.BID_STATUS.RENDERED||((0,r.logWarn)(`Ad id ${n} has been rendered before`),o.emit(g,f),!(0,i.Z)(a.config.getConfig("auctionOptions"),"suppressStaleRender"))){try{const{adId:t,ad:n,adUrl:i,width:o,height:a,renderer:l,cpm:g,originalCpm:p,mediaType:m}=f;if((0,d.Pd)(l))(0,d._U)(l,f);else if(t){if(m===c.pX)return void h({reason:s.q_.Sn,message:"Cannot render video ad",bid:f,id:t});const d={AUCTION_PRICE:p||g,CLICKTHROUGH:u?.clickUrl||""};e({ad:(0,r.replaceMacros)(n,d),adUrl:(0,r.replaceMacros)(i,d),adId:t,width:o,height:a})}}catch(e){return void h({reason:s.q_.XW,message:e.message,id:n,bid:f})}l.K.addWinningBid(f),o.emit(p,f)}}else h({reason:s.q_.WT,message:`Cannot find ad '${n}'`,id:n})}},875:(e,t,n)=>{n.d(t,{f:()=>s});var r=n(20265);let i={};function o(e,t,n){let r=function(e,t){let 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]}let s={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,`${e}.requestsCounter`)||0},getBidderRequestsCounter:function(e,t){return(0,r.Z)(i,`${e}.bidders.${t}.requestsCounter`)||0},getBidderWinsCounter:function(e,t){return(0,r.Z)(i,`${e}.bidders.${t}.winsCounter`)||0}}},48525:(e,t,n)=>{function r(e){var t=e;return{callBids:function(){},setBidderCode:function(e){t=e},getBidderCode:function(){return t}}}n.d(t,{Z:()=>r})},86104:(e,t,n)=>{n.d(t,{Ct:()=>x,JO:()=>q,O6:()=>_,PARTITIONS:()=>C,ZP:()=>W,_x:()=>D,uV:()=>N});var r=n(64358),i=n(20265),o=n(70059),s=n(14699),a=n(48928),d=n(3193),c=n(92797),l=n(34614),u=n(875),f=n(25102),g=n(34516),p=n(52021),h=n(5644),m=n(99128),b=n(78653),y=n(9633),v=n(50571),E=n(74947),T=n(16310),A=n(41087);const w="pbsBidAdapter",C={CLIENT:"client",SERVER:"server"},I={isAllowed:v.xD,redact:A.hb};let S={},B=S.bidderRegistry={},k=S.aliasRegistry={},O=[];d.config.getConfig("s2sConfig",(e=>{e&&e.s2sConfig&&(O=(0,r.isArray)(e.s2sConfig)?e.s2sConfig:[e.s2sConfig])}));var U={};const R=(0,T.Oj)((e=>S.resolveAlias(e)));function _(e){return R(y.wu,w,{[T.Qf]:e.configName})}const j=(0,c.z3)("sync",(function(e){let{bidderCode:t,auctionId:n,bidderRequestId:o,adUnits:s,src:a,metrics:d}=e;return s.reduce(((e,s)=>{const c=s.bids.filter((e=>e.bidder===t));return null==t&&0===c.length&&null!=s.s2sBid&&c.push({bidder:null}),e.push(c.reduce(((e,t)=>{const c=null==(t=Object.assign({},t,{ortb2Imp:(0,r.mergeDeep)({},s.ortb2Imp,t.ortb2Imp)},(0,r.getDefinedParams)(s,["nativeParams","nativeOrtbRequest","mediaType","renderer"]))).mediaTypes?s.mediaTypes:t.mediaTypes;return(0,r.isValidMediaTypes)(c)?t=Object.assign({},t,{mediaTypes:c}):(0,r.logError)(`mediaTypes is not correctly configured for adunit ${s.code}`),e.push(Object.assign({},t,{adUnitCode:s.code,transactionId:s.transactionId,sizes:(0,i.Z)(c,"banner.sizes")||(0,i.Z)(c,"video.playerSize")||[],bidId:t.bid_id||(0,r.getUniqueIdentifierStr)(),bidderRequestId:o,auctionId:n,src:a,metrics:d,bidRequestsCount:u.f.getRequestsCounter(s.code),bidderRequestsCount:u.f.getBidderRequestsCounter(s.code,t.bidder),bidderWinsCount:u.f.getBidderWinsCounter(s.code,t.bidder)})),e}),[])),e}),[]).reduce(r.flatten,[]).filter((e=>""!==e))}),"getBids");const q=(0,c.z3)("sync",(function(e,t){let{getS2SBidders:n=N}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==t)return e;{const r=n(t);return e.filter((e=>r.has(e.bidder)))}}),"filterBidsForAdUnit");const D=(0,c.z3)("sync",((e,t)=>e),"setupAdUnitMediaTypes");function N(e){(0,r.isArray)(e)||(e=[e]);const t=new Set([null]);return e.filter((e=>e&&e.enabled)).flatMap((e=>e.bidders)).forEach((e=>t.add(e))),t}const x=(0,c.z3)("sync",(function(e,t){let{getS2SBidders:n=N}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=n(t);return(0,r.getBidderCodes)(e).reduce(((e,t)=>(e[i.has(t)?C.SERVER:C.CLIENT].push(t),e)),{[C.CLIENT]:[],[C.SERVER]:[]})}),"partitionBidders");function P(e,t){const n=B[e],r=n?.getSpec&&n.getSpec();if(r&&r[t]&&"function"==typeof r[t])return[r,r[t]]}function $(e,t,n,i){try{(0,r.logInfo)(`Invoking ${e}.${t}`);for(var o=arguments.length,s=new Array(o>4?o-4:0),a=4;a<o;a++)s[a-4]=arguments[a];d.config.runWithBidder(e,i.bind(n,...s))}catch(n){(0,r.logWarn)(`Error calling ${t} of ${e}`)}}function M(e,t,n){if(n?.src!==h.os.YZ){const r=P(e,t);null!=r&&$(e,t,...r,n)}}S.makeBidRequests=(0,c.z3)("sync",(function(e,t,n,i,s){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},c=arguments.length>6?arguments[6]:void 0;c=(0,m.Bf)(c),p.emit(h.EVENTS.BEFORE_REQUEST_BIDS,e),(0,o.Fb)(e),e.forEach((e=>{(0,r.isPlainObject)(e.mediaTypes)||(e.mediaTypes={}),e.bids=e.bids.filter((e=>!e.bidder||I.isAllowed(E.UE,R(y.UL,e.bidder))))})),e=D(e,s);let{[C.CLIENT]:u,[C.SERVER]:b}=x(e,O);d.config.getConfig("bidderSequence")===d.F&&(u=(0,r.shuffle)(u));const v=(0,f.nH)();let T=[];const A=a.global||{},S=a.bidder||{};function k(e,t){const i=I.redact(null!=t?t:R(y.UL,e.bidderCode)),o=Object.freeze(i.ortb2((0,r.mergeDeep)({source:{tid:n}},A,S[e.bidderCode])));return e.ortb2=o,e.bids=e.bids.map((e=>(e.ortb2=o,i.bidRequest(e)))),e}O.forEach((i=>{const o=_(i);if(i&&i.enabled&&I.isAllowed(E.UE,o)){let{adUnits:s,hasModuleBids:a}=function(e,t){let n=(0,r.deepClone)(e),i=!1;return n.forEach((e=>{const n=e.bids.filter((e=>e.module===w&&e.params?.configName===t.configName));1===n.length?(e.s2sBid=n[0],i=!0,e.ortb2Imp=(0,r.mergeDeep)({},e.s2sBid.ortb2Imp,e.ortb2Imp)):n.length>1&&(0,r.logWarn)('Multiple "module" bids for the same s2s configuration; all will be ignored',n),e.bids=q(e.bids,t).map((e=>(e.bid_id=(0,r.getUniqueIdentifierStr)(),e)))})),n=n.filter((e=>0!==e.bids.length||null!=e.s2sBid)),{adUnits:n,hasModuleBids:i}}(e,i),d=(0,r.generateUUID)();(0===b.length&&a?[null]:b).forEach((e=>{const a=(0,r.getUniqueIdentifierStr)(),l=c.fork(),u=k({bidderCode:e,auctionId:n,bidderRequestId:a,uniquePbsTid:d,bids:j({bidderCode:e,auctionId:n,bidderRequestId:a,adUnits:(0,r.deepClone)(s),src:h.os.YZ,metrics:l}),auctionStart:t,timeout:i.timeout,src:h.os.YZ,refererInfo:v,metrics:l},o);0!==u.bids.length&&T.push(u)})),s.forEach((e=>{let t=e.bids.filter((e=>(0,l.sE)(T,(t=>(0,l.sE)(t.bids,(t=>t.bidId===e.bid_id))))));e.bids=t})),T.forEach((e=>{void 0===e.adUnitsS2SCopy&&(e.adUnitsS2SCopy=s.filter((e=>e.bids.length>0||null!=e.s2sBid)))}))}}));let U=function(e){let t=(0,r.deepClone)(e);return t.forEach((e=>{e.bids=q(e.bids,null)})),t=t.filter((e=>0!==e.bids.length)),t}(e);return u.forEach((e=>{const o=(0,r.getUniqueIdentifierStr)(),a=c.fork(),d=k({bidderCode:e,auctionId:n,bidderRequestId:o,bids:j({bidderCode:e,auctionId:n,bidderRequestId:o,adUnits:(0,r.deepClone)(U),labels:s,src:"client",metrics:a}),auctionStart:t,timeout:i,refererInfo:v,metrics:a}),l=B[e];l||(0,r.logError)(`Trying to make a request for bidder that does not exist: ${e}`),l&&d.bids&&0!==d.bids.length&&T.push(d)})),T.forEach((e=>{g.rp.getConsentData()&&(e.gdprConsent=g.rp.getConsentData()),g.nX.getConsentData()&&(e.uspConsent=g.nX.getConsentData()),g.TJ.getConsentData()&&(e.gppConsent=g.TJ.getConsentData())})),T}),"makeBidRequests"),S.callBids=function(e,t,n,i,o,s,c){let l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{};if(!t.length)return void(0,r.logWarn)("callBids executed with no bidRequests. Were they filtered by labels or sizing?");let[u,f]=t.reduce(((e,t)=>(e[Number(void 0!==t.src&&t.src===h.os.YZ)].push(t),e)),[[],[]]);var g=[];f.forEach((e=>{for(var t=-1,n=0;n<g.length;++n)if(e.uniquePbsTid===g[n].uniquePbsTid){t=n;break}t<=-1&&g.push(e)}));let m=0;O.forEach((e=>{if(e&&g[m]&&N(e).has(g[m].bidderCode)){const t=(0,a.OI)(s,o?{request:o.request.bind(null,"s2s"),done:o.done}:void 0);let d=e.bidders;const u=B[e.adapter];let b=g[m].uniquePbsTid,y=g[m].adUnitsS2SCopy,v=f.filter((e=>e.uniquePbsTid===b));if(u){let o={ad_units:y,s2sConfig:e,ortb2Fragments:l};if(o.ad_units.length){let e=v.map((e=>(e.start=(0,r.timestamp)(),function(){c(e.bidderRequestId),i.apply(e,arguments)})));const s=(0,r.getBidderCodes)(o.ad_units).filter((e=>d.includes(e)));(0,r.logMessage)(`CALLING S2S HEADER BIDDERS ==== ${s.length>0?s.join(", "):'No bidder specified, using "ortb2Imp" definition(s) only'}`),v.forEach((e=>{p.emit(h.EVENTS.BID_REQUESTED,{...e,tid:e.auctionId})})),u.callBids(o,f,n,(()=>e.forEach((e=>e()))),t)}}else(0,r.logError)("missing "+e.adapter);m++}})),u.forEach((e=>{e.start=(0,r.timestamp)();const t=B[e.bidderCode];d.config.runWithBidder(e.bidderCode,(()=>{(0,r.logMessage)("CALLING BIDDER"),p.emit(h.EVENTS.BID_REQUESTED,e)}));let l=(0,a.OI)(s,o?{request:o.request.bind(null,e.bidderCode),done:o.done}:void 0);const u=i.bind(e);try{d.config.runWithBidder(e.bidderCode,t.callBids.bind(t,e,n,u,l,(()=>c(e.bidderRequestId)),d.config.callbackWithBidder(e.bidderCode)))}catch(t){(0,r.logError)(`${e.bidderCode} Bid Adapter emitted an uncaught error when parsing their bidRequest`,{e:t,bidRequest:e}),u()}}))},S.videoAdapters=[],S.registerBidAdapter=function(e,t){let{supportedMediaTypes:n=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e&&t?"function"==typeof e.callBids?(B[t]=e,g.qh.register(y.UL,t,e.getSpec?.().gvlid),(0,l.q9)(n,"video")&&S.videoAdapters.push(t),(0,l.q9)(n,"native")&&o.Sg.push(t)):(0,r.logError)("Bidder adaptor error for bidder code: "+t+"bidder must implement a callBids() function"):(0,r.logError)("bidAdapter or bidderCode not specified")},S.aliasBidAdapter=function(e,t,n){if(void 0===B[t]){let i=B[e];if(void 0===i){const n=[];O.forEach((r=>{if(r.bidders&&r.bidders.length){const i=r&&r.bidders;r&&(0,l.q9)(i,t)?k[t]=e:n.push(e)}})),n.forEach((e=>{(0,r.logError)('bidderCode "'+e+'" is not an existing bidder.',"adapterManager.aliasBidAdapter")}))}else try{let a,d=function(e){let t=[];return(0,l.q9)(S.videoAdapters,e)&&t.push("video"),(0,l.q9)(o.Sg,e)&&t.push("native"),t}(e);if(i.constructor.prototype!=Object.prototype)a=new i.constructor,a.setBidderCode(t);else{let o=i.getSpec(),d=n&&n.gvlid;null!=o.gvlid&&null==d&&(0,r.logWarn)(`Alias '${t}' will NOT re-use the GVL ID of the original adapter ('${o.code}', gvlid: ${o.gvlid}). Functionality that requires TCF consent may not work as expected.`);let c=n&&n.skipPbsAliasing;a=(0,s.PZ)(Object.assign({},o,{code:t,gvlid:d,skipPbsAliasing:c})),k[t]=e}S.registerBidAdapter(a,t,{supportedMediaTypes:d})}catch(t){(0,r.logError)(e+" bidder does not currently support aliasing.","adapterManager.aliasBidAdapter")}}else(0,r.logMessage)('alias name "'+t+'" has been already specified.')},S.resolveAlias=function(e){let t,n=e;for(;k[n]&&(!t||!t.has(n));)n=k[n],(t=t||new Set).add(n);return n},S.registerAnalyticsAdapter=function(e){let{adapter:t,code:n,gvlid:i}=e;t&&n?"function"==typeof t.enableAnalytics?(t.code=n,U[n]={adapter:t,gvlid:i},g.qh.register(y._U,n,i)):(0,r.logError)(`Prebid Error: Analytics adaptor error for analytics "${n}"\n analytics adapter must implement an enableAnalytics() function`):(0,r.logError)("Prebid Error: analyticsAdapter or analyticsCode not specified")},S.enableAnalytics=function(e){(0,r.isArray)(e)||(e=[e]),e.forEach((e=>{const t=U[e.provider];t&&t.adapter?I.isAllowed(E.x$,R(y._U,e.provider,{[T.Hw]:e}))&&t.adapter.enableAnalytics(e):(0,r.logError)(`Prebid Error: no analytics adapter found in registry for '${e.provider}'.`)}))},S.getBidAdapter=function(e){return B[e]},S.getAnalyticsAdapter=function(e){return U[e]},S.callTimedOutBidders=function(e,t,n){t=t.map((t=>(t.params=(0,r.getUserConfiguredParams)(e,t.adUnitCode,t.bidder),t.timeout=n,t))),t=(0,r.groupBy)(t,"bidder"),Object.keys(t).forEach((e=>{M(e,"onTimeout",t[e])}))},S.callBidWonBidder=function(e,t,n){t.params=(0,r.getUserConfiguredParams)(n,t.adUnitCode,t.bidder),u.f.incrementBidderWinsCounter(t.adUnitCode,t.bidder),M(e,"onBidWon",t)},S.callBidBillableBidder=function(e){M(e.bidder,"onBidBillable",e)},S.callSetTargetingBidder=function(e,t){M(e,"onSetTargeting",t)},S.callBidViewableBidder=function(e,t){M(e,"onBidViewable",t)},S.callBidderError=function(e,t,n){M(e,"onBidderError",{error:t,bidderRequest:n})},S.callDataDeletionRequest=(0,c.z3)("sync",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const i="onDataDeletionRequest";Object.keys(B).filter((e=>!k.hasOwnProperty(e))).forEach((e=>{const n=P(e,i);if(null!=n){const r=b.K.getBidsRequested().filter((t=>function(e){const t=new Set;for(;k.hasOwnProperty(e)&&!t.has(e);)t.add(e),e=k[e];return e}(t.bidderCode)===e));$(e,i,...n,r,...t)}})),Object.entries(U).forEach((e=>{let[n,o]=e;const s=o?.adapter?.[i];if("function"==typeof s)try{s.apply(o.adapter,t)}catch(e){(0,r.logError)(`error calling ${i} of ${n}`,e)}}))}));const W=S},14699:(e,t,n)=>{n.d(t,{BF:()=>k,JY:()=>O,PZ:()=>I,dX:()=>C});var r=n(48525),i=n(86104),o=n(3193),s=n(69626),a=n(11974),d=n(70059),c=n(90154),l=n(5644),u=n(52021),f=n(34614),g=n(64358),p=n(92797),h=n(78653),m=n(55975),b=n(99128),y=n(50571),v=n(10286),E=n(9633),T=n(74947);const A=["cpm","ttl","creativeId","netRevenue","currency"],w=["auctionId","transactionId"];function C(e){const t=Array.isArray(e.supportedMediaTypes)?{supportedMediaTypes:e.supportedMediaTypes}:void 0;function n(e){const n=I(e);i.ZP.registerBidAdapter(n,e.code,t)}n(e),Array.isArray(e.aliases)&&e.aliases.forEach((t=>{let r,o,s=t;(0,g.isPlainObject)(t)&&(s=t.code,r=t.gvlid,o=t.skipPbsAliasing),i.ZP.aliasRegistry[s]=e.code,n(Object.assign({},e,{code:s,gvlid:r,skipPbsAliasing:o}))}))}function I(e){return Object.assign(new r.Z(e.code),{getSpec:function(){return Object.freeze(Object.assign({},e))},registerSyncs:t,callBids:function(n,r,a,d,c,f){if(!Array.isArray(n.bids))return;const p=function(e){if((0,y.xD)(T.Jt,(0,v.T)(E.UL,e)))return{bidRequest:e=>e,bidderRequest:e=>e};function t(e,t,n){return w.includes(t)?null:Reflect.get(e,t,n)}function n(e,t){const n=new Proxy(e,t);return Object.entries(e).filter((e=>{let[t,n]=e;return"function"==typeof n})).forEach((t=>{let[r,i]=t;return n[r]=i.bind(e)})),n}const r=(0,g.memoize)((e=>n(e,{get:t})),(e=>e.bidId));return{bidRequest:r,bidderRequest:e=>n(e,{get:(n,i,o)=>"bids"===i?e.bids.map(r):t(n,i,o)})}}(n.bidderCode),h={};const A=[];function C(){a(),o.config.runWithBidder(e.code,(()=>{u.emit(l.EVENTS.BIDDER_DONE,n),t(A,n.gdprConsent,n.uspConsent,n.gppConsent)}))}const I=U(n).measureTime("validate",(()=>n.bids.filter((t=>function(t){if(!e.isBidRequestValid(t))return(0,g.logWarn)(`Invalid bid sent to bidder ${e.code}: ${JSON.stringify(t)}`),!1;return!0}(p.bidRequest(t))))));if(0===I.length)return void C();const B={};I.forEach((e=>{B[e.bidId]=e,e.adUnitCode||(e.adUnitCode=e.placementCode)})),S(e,I.map(p.bidRequest),p.bidderRequest(n),d,f,{onRequest:e=>u.emit(l.EVENTS.BEFORE_BIDDER_HTTP,n,e),onResponse:t=>{c(e.code),A.push(t)},onFledgeAuctionConfigs:e=>{e.forEach((e=>{const t=B[e.bidId];t?k(t,e.config):(0,g.logWarn)("Received fledge auction configuration for an unknown bidId",e)}))},onError:(t,r)=>{c(e.code),i.ZP.callBidderError(e.code,r,n),u.emit(l.EVENTS.BIDDER_ERROR,{error:r,bidderRequest:n}),(0,g.logError)(`Server call for ${e.code} failed: ${t} ${r.status}. Continuing without bids.`)},onBid:t=>{const n=B[t.requestId];if(n){if(t.adapterCode=n.bidder,function(e,t){let n=m.S.get(t,"allowAlternateBidderCodes")||!1,r=m.S.get(t,"allowedAlternateBidderCodes");if(e&&t&&t!==e&&(r=(0,g.isArray)(r)?r.map((e=>e.trim().toLowerCase())).filter((e=>!!e)).filter(g.uniques):r,!n||(0,g.isArray)(r)&&"*"!==r[0]&&!r.includes(e)))return!0;return!1}(t.bidderCode,n.bidder))return(0,g.logWarn)(`${t.bidderCode} is not a registered partner or known bidder of ${n.bidder}, hence continuing without bid. If you wish to support this bidder, please mark allowAlternateBidderCodes as true in bidderSettings.`),void r.reject(n.adUnitCode,t,l.Gw.Dg);t.originalCpm=t.cpm,t.originalCurrency=t.currency,t.meta=t.meta||Object.assign({},t[n.bidder]);const e=Object.assign((0,s.m)(l.Q_.Q,n),t,(0,g.pick)(n,w));!function(e,t){const n=(0,b.Bf)(t.metrics);n.checkpoint("addBidResponse"),h[e]=!0,n.measureTime("addBidResponse.validate",(()=>O(e,t)))?r(e,t):r.reject(e,t,l.Gw.UI)}(n.adUnitCode,e)}else(0,g.logWarn)(`Bidder ${e.code} made bid for unknown request ID: ${t.requestId}. Ignoring.`),r.reject(null,t,l.Gw.Gp)},onCompletion:C})}});function t(t,n,r,i){B(e,t,n,r,i)}}const S=(0,p.z3)("sync",(function(e,t,n,r,i,o){let{onRequest:s,onResponse:a,onFledgeAuctionConfigs:d,onError:c,onBid:l,onCompletion:u}=o;const f=U(n);u=f.startTiming("total").stopBefore(u);let p=f.measureTime("buildRequests",(()=>e.buildRequests(t,n)));if(!p||0===p.length)return void u();Array.isArray(p)||(p=[p]);const h=(0,g.delayExecution)(u,p.length);p.forEach((t=>{const n=f.fork();function o(e){null!=e&&(e.metrics=n.fork().renameWith()),l(e)}const u=i((function(r,i){b();try{r=JSON.parse(r)}catch(e){}r={body:r,headers:{get:i.getResponseHeader.bind(i)}},a(r);try{r=n.measureTime("interpretResponse",(()=>e.interpretResponse(r,t)))}catch(t){return(0,g.logError)(`Bidder ${e.code} failed to interpret the server's response. Continuing without bids`,null,t),void h()}let s;r&&(0,g.isArray)(r.fledgeAuctionConfigs)?(d(r.fledgeAuctionConfigs),s=r.bids):s=r,s&&((0,g.isArray)(s)?s.forEach(o):o(s)),h()})),p=i((function(e,t){b(),c(e,t),h()}));s(t);const b=n.startTiming("net");function A(n){const r=t.options;return Object.assign(n,r,{browsingTopics:!(r?.hasOwnProperty("browsingTopics")&&!r.browsingTopics)&&((m.S.get(e.code,"topicsHeader")??!0)&&(0,y.xD)(T.oK,(0,v.T)(E.UL,e.code)))})}switch(t.method){case"GET":r(`${t.url}${function(e){if(e)return`?${"object"==typeof e?(0,g.parseQueryStringParameters)(e):e}`;return""}(t.data)}`,{success:u,error:p},void 0,A({method:"GET",withCredentials:!0}));break;case"POST":r(t.url,{success:u,error:p},"string"==typeof t.data?t.data:JSON.stringify(t.data),A({method:"POST",contentType:"text/plain",withCredentials:!0}));break;default:(0,g.logWarn)(`Skipping invalid request from ${e.code}. Request type ${t.type} must be GET or POST`),h()}}))}),"processBidderRequests"),B=(0,p.z3)("async",(function(e,t,n,r,s){const d=o.config.getConfig("userSync.aliasSyncEnabled");if(e.getUserSyncs&&(d||!i.ZP.aliasRegistry[e.code])){let i=o.config.getConfig("userSync.filterSettings"),d=e.getUserSyncs({iframeEnabled:!(!i||!i.iframe&&!i.all),pixelEnabled:!(!i||!i.image&&!i.all)},t,n,r,s);d&&(Array.isArray(d)||(d=[d]),d.forEach((t=>{a.userSync.registerSync(t.type,e.code,t.url)})),a.userSync.bidderDone(e.code))}}),"registerSyncs"),k=(0,p.z3)("sync",((e,t)=>{}),"addComponentAuction");function O(e,t){let{index:n=h.K.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function r(e){return`Invalid bid from ${t.bidderCode}. Ignoring bid: ${e}`}return e?t?function(){let e=Object.keys(t);return A.every((n=>(0,f.q9)(e,n)&&!(0,f.q9)([void 0,null],t[n])))}()?"native"!==t.mediaType||(0,d.r4)(t,{index:n})?"video"!==t.mediaType||(0,c.Dn)(t,{index:n})?!("banner"===t.mediaType&&!function(e,t){let{index:n=h.K.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};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;const r=n.getBidRequest(t),i=n.getMediaTypes(t),o=r&&r.sizes||i&&i.banner&&i.banner.sizes,s=(0,g.parseSizesInput)(o);if(1===s.length){const[e,n]=s[0].split("x");return t.width=parseInt(e,10),t.height=parseInt(n,10),!0}return!1}(e,t,{index:n}))||((0,g.logError)(r("Banner bids require a width and height")),!1):((0,g.logError)(r("Video bid does not have required vastUrl or renderer property")),!1):((0,g.logError)(r("Native bid missing some required properties.")),!1):((0,g.logError)(r(`Bidder ${t.bidderCode} is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params.`)),!1):((0,g.logWarn)(`Some adapter tried to add an undefined bid for ${e}.`),!1):((0,g.logWarn)("No adUnitCode was supplied to addBidResponse."),!1)}function U(e){return(0,b.Bf)(e.metrics).renameWith((t=>[`adapter.client.${t}`,`adapters.client.${e.bidderCode}.${t}`]))}},55730:(e,t,n)=>{n.d(t,{B:()=>a});var r=n(34614),i=n(64358);const o=new WeakMap,s=["debugging","adloox","criteo","outstream","adagio","spotx","browsi","brandmetrics","justtag","tncId","akamaidap","ftrackId","inskin","hadron","medianet","improvedigital","aaxBlockmeter","confiant","arcspan","airgrid","clean.io","a1Media","geoedge","mediafilter","qortex","dynamicAdBoost"];function a(e,t,n,a,d){if(!t||!e)return void(0,i.logError)("cannot load external script without url and moduleCode");if(!(0,r.q9)(s,t))return void(0,i.logError)(`${t} not whitelisted for loading external JavaScript`);a||(a=document);const c=f(a,e);if(c)return n&&"function"==typeof n&&(c.loaded?n():c.callbacks.push(n)),c.tag;const l=o.get(a)||{},u={loaded:!1,tag:null,callbacks:[]};return l[e]=u,o.set(a,l),n&&"function"==typeof n&&u.callbacks.push(n),(0,i.logWarn)(`module ${t} is loading external JavaScript`),function(t,n,r,o){r||(r=document);var s=r.createElement("script");s.type="text/javascript",s.async=!0;const a=f(r,e);a&&(a.tag=s);s.readyState?s.onreadystatechange=function(){"loaded"!==s.readyState&&"complete"!==s.readyState||(s.onreadystatechange=null,n())}:s.onload=function(){n()};s.src=t,o&&(0,i.setScriptAttributes)(s,o);return(0,i.insertElement)(s,r),s}(e,(function(){u.loaded=!0;try{for(let e=0;e<u.callbacks.length;e++)u.callbacks[e]()}catch(e){(0,i.logError)("Error executing callback","adloader.js:loadExternalScript",e)}}),a,d);function f(e,t){const n=o.get(e);return n&&n[t]?n[t]:null}}},48928:(e,t,n)=>{n.d(t,{OI:()=>u,hj:()=>f});var r=n(3193),i=n(64358);const o={fetch:window.fetch.bind(window),makeRequest:(e,t)=>new Request(e,t),timeout(e,t){const n=new AbortController;let r=setTimeout((()=>{n.abort(),(0,i.logError)(`Request timeout after ${e}ms`,t),r=null}),e);return{signal:n.signal,done(){r&&clearTimeout(r)}}}},s="GET",a="POST",d="Content-Type";function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,{request:t,done:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(t,n)=>{let i;null==e||null!=n?.signal||r.config.getConfig("disableAjaxTimeout")||(i=o.timeout(e,t),n=Object.assign({signal:i.signal},n));let s=o.fetch(t,n);return null!=i?.done&&(s=s.finally(i.done)),s};return null==t&&null==n||(i=(e=>function(r,i){const o=new URL(null==r?.url?r:r.url,document.location).origin;let s=e(r,i);return t&&t(o),n&&(s=s.finally((()=>n(o)))),s})(i)),i}function l(e,t){let{status:n,statusText:r="",headers:o,url:s}=e,a=0;function c(e){if(0===a)try{a=(new DOMParser).parseFromString(t,o?.get(d)?.split(";")?.[0])}catch(t){a=null,e&&e(t)}return a}return{readyState:XMLHttpRequest.DONE,status:n,statusText:r,responseText:t,response:t,responseType:"",responseURL:s,get responseXML(){return c(i.logError)},getResponseHeader:e=>o?.has(e)?o.get(e):null,toJSON(){return Object.assign({responseXML:c()},this)}}}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,{request:t,done:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=c(e,{request:t,done:n});return function(e,t,n){!function(e,t){const{success:n,error:r}="object"==typeof t&&null!=t?t:{success:"function"==typeof t?t:()=>null,error:(e,t)=>(0,i.logError)("Network error",e,t)};e.then((e=>e.text().then((t=>[e,t])))).then((e=>{let[t,i]=e;const o=l(t,i);t.ok||304===t.status?n(i,o):r(t.statusText,o)}),(()=>r("",l({status:0},""))))}(r(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=n.method||(t?a:s);if(r===s&&t){const r=(0,i.parseUrl)(e,n);Object.assign(r.search,t),e=(0,i.buildUrl)(r)}const c=new Headers(n.customHeaders);c.set(d,n.contentType||"text/plain");const l={method:r,headers:c};return r!==s&&t&&(l.body=t),n.withCredentials&&(l.credentials="include"),n.browsingTopics&&isSecureContext&&(l.browsingTopics=!0),o.makeRequest(e,l)}(e,n,arguments.length>3&&void 0!==arguments[3]?arguments[3]:{})),t)}}const f=u();c()},25686:(e,t,n)=>{n.d(t,{LX:()=>X,RH:()=>Z,Yt:()=>q,Yw:()=>S,dg:()=>G,e0:()=>N,lU:()=>P,mv:()=>B,vO:()=>j});var r=n(64358),i=n(20265),o=n(56463),s=n(70059),a=n(79885),d=n(35706),c=n(3193),l=n(11974),u=n(92797),f=n(34614),g=n(90154),p=n(24679),h=n(78653),m=n(55975),b=n(52021),y=n(86104),v=n(5644),E=n(68792),T=n(99128),A=n(36066),w=n(78640);const{syncUsers:C}=l.userSync,I="started",S="inProgress",B="completed";b.on(v.EVENTS.BID_ADJUSTMENT,(function(e){!function(e){let t=(0,A.O)(e.cpm,e);t>=0&&(e.cpm=t)}(e)}));const k=4,O={},U={},R=[],_=(0,w.R)();function j(e){let{adUnits:t,adUnitCodes:n,callback:s,cbTimeout:a,labels:l,auctionId:u,ortb2Fragments:m,metrics:A}=e;A=(0,T.Bf)(A);const w=t,j=l,M=n,W=u||(0,r.generateUUID)(),L=a,K=new Set,Z=(0,E.P)();let G,V,H,Y,J=[],Q=s,X=[],ee=[],ne=[],re=[],ie=[];function oe(){return{auctionId:W,timestamp:G,auctionEnd:V,auctionStatus:Y,adUnits:w,adUnitCodes:M,labels:j,bidderRequests:X,noBids:ne,bidsReceived:ee,bidsRejected:J,winningBids:re,timeout:L,metrics:A,seatNonBids:ie}}function se(e){if(e?b.emit(v.EVENTS.AUCTION_TIMEOUT,oe()):clearTimeout(H),void 0===V){let n=[];e&&((0,r.logMessage)(`Auction ${W} timedOut`),n=X.filter((e=>!K.has(e.bidderRequestId))).flatMap((e=>e.bids)),n.length&&b.emit(v.EVENTS.BID_TIMEOUT,n)),Y=B,V=Date.now(),A.checkpoint("auctionEnd"),A.timeBetween("requestBids","auctionEnd","requestBids.total"),A.timeBetween("callBids","auctionEnd","requestBids.callBids"),Z.resolve(),b.emit(v.EVENTS.AUCTION_END,oe()),x(w,(function(){try{if(null!=Q){const t=ee.filter((e=>M.includes(e.adUnitCode))).reduce(te,{});Q.apply(_,[t,e,W]),Q=null}}catch(e){(0,r.logError)("Error executing bidsBackHandler",null,e)}finally{n.length&&y.ZP.callTimedOutBidders(t,n,L);let e=c.config.getConfig("userSync")||{};e.enableOverride||C(e.syncDelay)}}))}}function ae(){c.config.resetBidder(),(0,r.logInfo)(`Bids Received for Auction with id: ${W}`,ee),Y=B,se(!1)}function de(e){K.add(e)}function ce(e){e.forEach((e=>{var t;t=e,X=X.concat(t)}));let t={},n={bidRequests:e,run:()=>{H=setTimeout((()=>se(!0)),L),Y=S,b.emit(v.EVENTS.AUCTION_INIT,oe());let n=function(e,t){let{index:n=h.K.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=0,a=!1,l=new Set,u={};function m(){s--,a&&0===s&&e()}function y(e,t,n){return u[t.requestId]=!0,function(e,t){let{index:n=h.K.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=n.getBidderRequest(e),o=n.getAdUnit(e),s=i&&i.start||e.requestTimestamp;Object.assign(e,{responseTimestamp:e.responseTimestamp||(0,r.timestamp)(),requestTimestamp:e.requestTimestamp||s,cpm:parseFloat(e.cpm)||0,bidder:e.bidder||e.bidderCode,adUnitCode:t}),null!=o?.ttlBuffer&&(e.ttlBuffer=o.ttlBuffer);e.timeToRespond=e.responseTimestamp-e.requestTimestamp}(t,e),s++,n(m)}function T(e,n){y(e,n,(e=>{let s=function(e){let{index:t=h.K.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};b.emit(v.EVENTS.BID_ADJUSTMENT,e);const n=t.getBidRequest(e)?.renderer||t.getAdUnit(e).renderer,r=e.mediaType,i=t.getMediaTypes(e),s=i&&i[r];var a=s&&s.renderer,l=null;a&&a.url&&a.render&&(!0!==a.backupOnly||!e.renderer)?l=a:n&&n.url&&n.render&&(!0!==n.backupOnly||!e.renderer)&&(l=n);l&&(e.renderer=d.Th.install({url:l.url,config:l.options}),e.renderer.setRender(l.render));const u=F(e.mediaType,i,c.config.getConfig("mediaTypePriceGranularity")),f=(0,o.D)(e.cpm,"object"==typeof u?u:c.config.getConfig("customPriceBucket"),c.config.getConfig("currency.granularityMultiplier"));return e.pbLg=f.low,e.pbMg=f.med,e.pbHg=f.high,e.pbAg=f.auto,e.pbDg=f.dense,e.pbCg=f.custom,e}(n);s.mediaType===p.pX?function(e,t,n){let{index:o=h.K.index}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=!0;const a=(0,i.Z)(o.getMediaTypes({requestId:t.originalRequestId||t.requestId,transactionId:t.transactionId}),"video"),d=a&&(0,i.Z)(a,"context"),l=a&&(0,i.Z)(a,"useCacheKey");c.config.getConfig("cache.url")&&(l||d!==g.gZ)&&(!t.videoCacheKey||c.config.getConfig("cache.ignoreBidderCacheKey")?(s=!1,z(e,t,n,a)):t.vastUrl||((0,r.logError)("videoCacheKey specified but not required vastUrl for video bid"),s=!1));s&&(P(e,t),n())}(t,s,e):(null!=s.native&&"object"==typeof s.native&&$(s),P(t,s),e())}))}function A(e,n,i){return y(e,n,(e=>{n.rejectionReason=i,(0,r.logWarn)(`Bid from ${n.bidder||"unknown bidder"} was rejected: ${i}`,n),b.emit(v.EVENTS.BID_REJECTED,n),t.addBidRejected(n),e()}))}function w(){let n=this,i=t.getBidRequests();const o=c.config.getConfig("auctionOptions");if(l.add(n),o&&!(0,r.isEmpty)(o)){const e=o.secondaryBidders;e&&!i.every((t=>(0,f.q9)(e,t.bidderCode)))&&(i=i.filter((t=>!(0,f.q9)(e,t.bidderCode))))}a=i.every((e=>l.has(e))),n.bids.forEach((e=>{u[e.bidId]||(t.addNoBid(e),b.emit(v.EVENTS.NO_BID,e))})),a&&0===s&&e()}return{addBidResponse:function(){function e(e,t){q.call({dispatch:T},e,t,(()=>{let n=!1;return r=>{n||(A(e,t,r),n=!0)}})())}return e.reject=A,e}(),adapterDone:function(){D(E.Z.resolve()).finally((()=>w.call(this)))}}}(ae,this);y.ZP.callBids(w,e,n.addBidResponse,n.adapterDone,{request(e,n){a(O,n),a(t,e),U[e]||(U[e]={SRA:!0,origin:n}),t[e]>1&&(U[e].SRA=!1)},done(e){O[e]--,R[0]&&s(R[0])&&R.shift()}},L,de,m)}};function s(e){let t=!0,n=c.config.getConfig("maxRequestsPerOrigin")||k;return e.bidRequests.some((e=>{let r=1,i=void 0!==e.src&&e.src===v.os.YZ?"s2s":e.bidderCode;return U[i]&&(!1===U[i].SRA&&(r=Math.min(e.bids.length,n)),O[U[i].origin]+r>n&&(t=!1)),!t})),t&&e.run(),t}function a(e,t){void 0===e[t]?e[t]=1:e[t]++}s(n)||((0,r.logWarn)("queueing auction due to limited endpoint capacity"),R.push(n))}return b.on(v.EVENTS.SEAT_NON_BID,(e=>{var t;e.auctionId===W&&(t=e.seatnonbid,ie=ie.concat(t))})),{addBidReceived:function(e){ee=ee.concat(e)},addBidRejected:function(e){J=J.concat(e)},addNoBid:function(e){ne=ne.concat(e)},callBids:function(){Y=I,G=Date.now();let e=A.measureTime("requestBids.makeRequests",(()=>y.ZP.makeBidRequests(w,G,W,L,j,m,A)));(0,r.logInfo)(`Bids Requested for Auction with id: ${W}`,e),A.checkpoint("callBids"),e.length<1?((0,r.logWarn)("No valid bid requests returned for auction"),ae()):N.call({dispatch:ce,context:this},e)},addWinningBid:function(e){const n=t.find((t=>t.transactionId===e.transactionId));re=re.concat(e),(0,r.callBurl)(e),y.ZP.callBidWonBidder(e.adapterCode||e.bidder,e,t),n&&!n.deferBilling&&y.ZP.callBidBillableBidder(e)},setBidTargeting:function(e){y.ZP.callSetTargetingBidder(e.adapterCode||e.bidder,e)},getWinningBids:()=>re,getAuctionStart:()=>G,getAuctionEnd:()=>V,getTimeout:()=>L,getAuctionId:()=>W,getAuctionStatus:()=>Y,getAdUnits:()=>w,getAdUnitCodes:()=>M,getBidRequests:()=>X,getBidsReceived:()=>ee,getNoBids:()=>ne,getNonBids:()=>ie,getFPD:()=>m,getMetrics:()=>A,end:Z.promise}}const q=(0,u.z3)("sync",(function(e,t,n){this.dispatch.call(null,e,t)}),"addBidResponse"),D=(0,u.z3)("sync",(e=>e),"responsesReady"),N=(0,u.z3)("sync",(function(e){this.dispatch.call(this.context,e)}),"addBidderRequests"),x=(0,u.z3)("async",(function(e,t){t&&t()}),"bidsBackCallback");function P(e,t){!function(e){let t;const n=!0===m.S.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0;e.bidderCode&&(n||e.dealId)&&(t=function(e,t){let{index:n=h.K.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return{};const r=n.getBidRequest(t);var i={};const o=X(t.mediaType,e);ee(i,o,t,r),e&&m.S.getOwn(e,v.k2.xn)&&(ee(i,m.S.ownSettingsFor(e),t,r),t.sendStandardTargeting=m.S.get(e,"sendStandardTargeting"));t.native&&(i=Object.assign({},i,(0,s.Ur)(t)));return i}(e.bidderCode,e));e.adserverTargeting=Object.assign(e.adserverTargeting||{},t)}(t),(0,T.Bf)(t.metrics).timeSince("addBidResponse","addBidResponse.total"),e.addBidReceived(t),b.emit(v.EVENTS.BID_RESPONSE,t)}const $=e=>{const t=h.K.index.getAdUnit(e)?.nativeOrtbRequest,n=e.native?.ortb;if(t&&n){const r=(0,s.zq)(n,t);Object.assign(e.native,r)}},M=e=>{(0,a.h)(e.map((e=>e.bidResponse)),(function(t,n){n.forEach(((n,i)=>{const{auctionInstance:o,bidResponse:s,afterBidAdded:d}=e[i];t?(0,r.logWarn)(`Failed to save to the video cache: ${t}. Video bid must be discarded.`):""===n.uuid?(0,r.logWarn)("Supplied video cache key was already in use by Prebid Cache; caching attempt was rejected. Video bid must be discarded."):(s.videoCacheKey=n.uuid,s.vastUrl||(s.vastUrl=(0,a.z)(s.videoCacheKey)),P(o,s),d())}))}))};let W,L;c.config.getConfig("cache",(e=>{W="number"==typeof e.cache.batchSize&&e.cache.batchSize>0?e.cache.batchSize:1,L="number"==typeof e.cache.batchTimeout&&e.cache.batchTimeout>0?e.cache.batchTimeout:0}));const K=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:setTimeout,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:M,n=[[]],r=!1;const i=e=>e();return function(o,s,a){const d=L>0?e:i;n[n.length-1].length>=W&&n.push([]),n[n.length-1].push({auctionInstance:o,bidResponse:s,afterBidAdded:a}),r||(r=!0,d((()=>{n.forEach(t),n=[[]],r=!1}),L))}}(),z=(0,u.z3)("async",(function(e,t,n,r){K(e,t,n)}),"callPrebidCache");function F(e,t,n){if(e&&n){if(e===p.pX){const e=(0,i.Z)(t,`${p.pX}.context`,"instream");if(n[`${p.pX}-${e}`])return n[`${p.pX}-${e}`]}return n[e]}}const Z=function(e){let{index:t=h.K.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=F(e.mediaType,t.getMediaTypes(e),c.config.getConfig("mediaTypePriceGranularity"));return"string"==typeof e.mediaType&&n?"string"==typeof n?n:"custom":c.config.getConfig("priceGranularity")},G=e=>t=>{const n=e||Z(t);return n===v.Ql.B7?t.pbAg:n===v.Ql.uN?t.pbDg:n===v.Ql.yE?t.pbLg:n===v.Ql.M2?t.pbMg:n===v.Ql.lj?t.pbHg:n===v.Ql.qN?t.pbCg:void 0},V=()=>e=>e.creativeId?e.creativeId:"",H=()=>e=>e.meta&&e.meta.advertiserDomains&&e.meta.advertiserDomains.length>0?[e.meta.advertiserDomains].flat()[0]:"",Y=()=>e=>e.meta&&(e.meta.networkId||e.meta.networkName)?(0,i.Z)(e,"meta.networkName")||(0,i.Z)(e,"meta.networkId"):"",J=()=>e=>e.meta&&e.meta.primaryCatId?e.meta.primaryCatId:"";function Q(e,t){return{key:e,val:"function"==typeof t?function(e,n){return t(e,n)}:function(e){return(0,r.getValue)(e,t)}}}function X(e,t){const n=v.TARGETING_KEYS,o=Object.assign({},m.S.settingsFor(null));if(o[v.k2.xn]||(o[v.k2.xn]=function(){const e=v.TARGETING_KEYS;return[Q(e.BIDDER,"bidderCode"),Q(e.AD_ID,"adId"),Q(e.PRICE_BUCKET,G()),Q(e.SIZE,"size"),Q(e.DEAL,"dealId"),Q(e.SOURCE,"source"),Q(e.FORMAT,"mediaType"),Q(e.ADOMAIN,H()),Q(e.ACAT,J()),Q(e.DSP,Y()),Q(e.CRID,V())]}()),"video"===e){const e=o[v.k2.xn].slice();if(o[v.k2.xn]=e,[n.UUID,n.CACHE_ID].forEach((t=>{void 0===(0,f.sE)(e,(e=>e.key===t))&&e.push(Q(t,"videoCacheKey"))})),c.config.getConfig("cache.url")&&(!t||!1!==m.S.get(t,"sendStandardTargeting"))){const t=(0,r.parseUrl)(c.config.getConfig("cache.url"));void 0===(0,f.sE)(e,(e=>e.key===n.CACHE_HOST))&&e.push(Q(n.CACHE_HOST,(function(e){return(0,i.Z)(e,`adserverTargeting.${n.CACHE_HOST}`)?e.adserverTargeting[n.CACHE_HOST]:t.hostname})))}}return o}function ee(e,t,n,i){var o=t[v.k2.xn];return n.size=n.getSize(),(o||[]).forEach((function(o){var s=o.key,a=o.val;if(e[s]&&(0,r.logWarn)("The key: "+s+" is being overwritten"),(0,r.isFn)(a))try{a=a(n,i)}catch(e){(0,r.logError)("bidmanager","ERROR",e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)&&s!==v.TARGETING_KEYS.DEAL&&s!==v.TARGETING_KEYS.ACAT&&s!==v.TARGETING_KEYS.DSP&&s!==v.TARGETING_KEYS.CRID||!(0,r.isEmptyStr)(a)&&null!=a?e[s]=a:(0,r.logInfo)("suppressing empty key '"+s+"' from adserver targeting")})),e}function te(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}},78653:(e,t,n)=>{n.d(t,{K:()=>f});var r=n(64358),i=n(25686);function o(e){Object.assign(this,{getAuction(t){let{auctionId:n}=t;if(null!=n)return e().find((e=>e.getAuctionId()===n))},getAdUnit(t){let{transactionId:n}=t;if(null!=n)return e().flatMap((e=>e.getAdUnits())).find((e=>e.transactionId===n))},getMediaTypes(e){let{transactionId:t,requestId:n}=e;if(null!=n){const e=this.getBidRequest({requestId:n});if(null!=e&&(null==t||e.transactionId===t))return e.mediaTypes}else if(null!=t){const e=this.getAdUnit({transactionId:t});if(null!=e)return e.mediaTypes}},getBidderRequest(t){let{requestId:n,bidderRequestId:r}=t;if(null!=n||null!=r){let t=e().flatMap((e=>e.getBidRequests()));return null!=r&&(t=t.filter((e=>e.bidderRequestId===r))),null==n?t[0]:t.find((e=>e.bids&&null!=e.bids.find((e=>e.bidId===n))))}},getBidRequest(t){let{requestId:n}=t;if(null!=n)return e().flatMap((e=>e.getBidRequests())).flatMap((e=>e.bids)).find((e=>e&&e.bidId===n))}})}var s=n(5644),a=n(99128),d=n(10613),c=n(8833),l=n(3193);const u="minBidCacheTTL";const f=function(){let e=null;const t=(0,d.Z)({startTime:e=>e.end.then((()=>e.getAuctionEnd())),ttl:t=>null==e?null:t.end.then((()=>1e3*Math.max(e,...t.getBidsReceived().map(c.N))))});(0,c.l)((()=>{null!=e&&t.refresh()})),l.config.getConfig(u,(n=>{const r=e;e=n?.[u],e="number"==typeof e?e:null,r!==e&&t.refresh()}));const n={};function f(e){for(const n of t)if(n.getAuctionId()===e)return n}function g(){return t.toArray().flatMap((e=>e.getBidsReceived()))}return n.addWinningBid=function(e){const t=(0,a.Bf)(e.metrics);t.checkpoint("bidWon"),t.timeBetween("auctionEnd","bidWon","render.pending"),t.timeBetween("requestBids","bidWon","render.e2e");const n=f(e.auctionId);n?(e.status=s.BID_STATUS.RENDERED,n.addWinningBid(e)):(0,r.logWarn)("Auction not found when adding winning bid")},Object.entries({getAllWinningBids:{name:"getWinningBids"},getBidsRequested:{name:"getBidRequests"},getNoBids:{},getAdUnits:{},getBidsReceived:{pre:e=>e.getAuctionStatus()===i.mv},getAdUnitCodes:{post:r.uniques}}).forEach((e=>{let[r,{name:i=r,pre:o,post:s}]=e;const a=null==o?e=>e[i]():e=>o(e)?e[i]():[],d=null==s?e=>e:e=>e.filter(s);n[r]=()=>d(t.toArray().flatMap(a))})),n.getAllBidsForAdUnitCode=function(e){return g().filter((t=>t&&t.adUnitCode===e))},n.createAuction=function(e){const n=(0,i.vO)(e);return function(e){t.add(e)}(n),n},n.findBidByAdId=function(e){return g().find((t=>t.adId===e))},n.getStandardBidderAdServerTargeting=function(){return(0,i.LX)()[s.k2.xn]},n.setStatusForBids=function(e,t){let r=n.findBidByAdId(e);if(r&&(r.status=t),r&&t===s.BID_STATUS.C){const e=f(r.auctionId);e&&e.setBidTargeting(r)}},n.getLastAuctionId=function(){const e=t.toArray();return e.length&&e[e.length-1].getAuctionId()},n.clearAllAuctions=function(){t.clear()},n.index=new o((()=>t.toArray())),n}()},8833:(e,t,n)=>{n.d(t,{N:()=>a,l:()=>d});var r=n(3193),i=n(64358);let o=1;const s=[];function a(e){return e.ttl-(e.hasOwnProperty("ttlBuffer")?e.ttlBuffer:o)}function d(e){s.push(e)}r.config.getConfig("ttlBuffer",(e=>{if("number"==typeof e.ttlBuffer){const t=o;o=e.ttlBuffer,t!==o&&s.forEach((e=>e(o)))}else(0,i.logError)("Invalid value for ttlBuffer",e.ttlBuffer)}))},55975:(e,t,n)=>{n.d(t,{S:()=>a});var r=n(20265),i=n(64358),o=n(78640),s=n(5644);const a=new class{constructor(e,t){this.getSettings=e,this.defaultScope=t}get(e,t){let n=this.getOwn(e,t);return void 0===n&&(n=this.getOwn(null,t)),n}getOwn(e,t){return e=this.#e(e),(0,r.Z)(this.getSettings(),`${e}.${t}`)}getScopes(){return Object.keys(this.getSettings()).filter((e=>e!==this.defaultScope))}settingsFor(e){return(0,i.mergeDeep)({},this.ownSettingsFor(null),this.ownSettingsFor(e))}ownSettingsFor(e){return e=this.#e(e),this.getSettings()[e]||{}}#e(e){return null==e?this.defaultScope:e}}((()=>(0,o.R)().bidderSettings||{}),s.k2.zF)},69626:(e,t,n)=>{n.d(t,{m:()=>o});var r=n(64358);function i(e){let{src:t="client",bidder:n="",bidId:i,transactionId:o,auctionId:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var a=t,d=e||0;this.bidderCode=n,this.width=0,this.height=0,this.statusMessage=function(){switch(d){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.getUniqueIdentifierStr)(),this.requestId=i,this.transactionId=o,this.auctionId=s,this.mediaType="banner",this.source=a,this.getStatusCode=function(){return d},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:(e,t,n)=>{n.d(t,{F:()=>c,config:()=>g});var r=n(56463),i=n(34614),o=n(64358),s=n(20265),a=n(5644);const d="TRUE"===(0,o.getParameterByName)(a.f).toUpperCase(),c="random",l={};l[c]=!0,l.fixed=!0;const u=c,f={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"};const g=function(){let e,t,n,a=[],c=null;function g(){function s(e){return c[e].val}function a(e,t){c[e].val=t}e={};const c={publisherDomain:{set(e){null!=e&&(0,o.logWarn)("publisherDomain is deprecated and has no effect since v7 - use pageUrl instead"),a("publisherDomain",e)}},priceGranularity:{val:f.MEDIUM,set(e){h(e)&&("string"==typeof e?a("priceGranularity",p(e)?e:f.MEDIUM):(0,o.isPlainObject)(e)&&(a("customPriceBucket",e),a("priceGranularity",f.CUSTOM),(0,o.logMessage)("Using custom price granularity")))}},customPriceBucket:{val:{},set(){}},mediaTypePriceGranularity:{val:{},set(e){null!=e&&a("mediaTypePriceGranularity",Object.keys(e).reduce(((t,n)=>(h(e[n])?"string"==typeof e?t[n]=p(e[n])?e[n]:s("priceGranularity"):(0,o.isPlainObject)(e)&&(t[n]=e[n],(0,o.logMessage)(`Using custom price granularity for ${n}`)):(0,o.logWarn)(`Invalid price granularity for media type: ${n}`),t)),{}))}},bidderSequence:{val:u,set(e){l[e]?a("bidderSequence",e):(0,o.logWarn)(`Invalid order: ${e}. Bidder Sequence was not set.`)}},auctionOptions:{val:{},set(e){(function(e){if(!(0,o.isPlainObject)(e))return(0,o.logWarn)("Auction Options must be an object"),!1;for(let t of Object.keys(e)){if("secondaryBidders"!==t&&"suppressStaleRender"!==t)return(0,o.logWarn)(`Auction Options given an incorrect param: ${t}`),!1;if("secondaryBidders"===t){if(!(0,o.isArray)(e[t]))return(0,o.logWarn)(`Auction Options ${t} must be of type Array`),!1;if(!e[t].every(o.isStr))return(0,o.logWarn)(`Auction Options ${t} must be only string`),!1}else if("suppressStaleRender"===t&&!(0,o.isBoolean)(e[t]))return(0,o.logWarn)(`Auction Options ${t} must be of type boolean`),!1}return!0})(e)&&a("auctionOptions",e)}}};let g={debug:d,bidderTimeout:3e3,enableSendAllBids:true,useBidCache:false,deviceAccess:true,timeoutBuffer:400,disableAjaxTimeout:false,maxNestedIframes:10};function p(e){return(0,i.sE)(Object.keys(f),(t=>e===f[t]))}function h(e){if(!e)return(0,o.logError)("Prebid Error: no value passed to `setPriceGranularity()`"),!1;if("string"==typeof e)p(e)||(0,o.logWarn)("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.");else if((0,o.isPlainObject)(e)&&!(0,r.t)(e))return(0,o.logError)("Invalid custom price value passed to `setPriceGranularity()`"),!1;return!0}Object.defineProperties(g,Object.fromEntries(Object.entries(c).map((e=>{let[t,n]=e;return[t,Object.assign({get:s.bind(null,t),set:a.bind(null,t),enumerable:!0},n)]})))),t&&T(Object.keys(t).reduce(((e,n)=>(t[n]!==g[n]&&(e[n]=g[n]||{}),e)),{})),t=g,n={}}function p(){if(c&&n&&(0,o.isPlainObject)(n[c])){let e=n[c];const r=new Set(Object.keys(t).concat(Object.keys(e)));return(0,i.Oc)(r).reduce(((n,r)=>(void 0===e[r]?n[r]=t[r]:void 0===t[r]?n[r]=e[r]:(0,o.isPlainObject)(e[r])?n[r]=(0,o.mergeDeep)({},t[r],e[r]):n[r]=e[r],n)),{})}return Object.assign({},t)}const[h,m]=[p,function(){const e=p();return Object.defineProperty(e,"ortb2",{get:function(){throw new Error("invalid access to 'orbt2' config - use request parameters instead")}}),e}].map((e=>function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){const t=arguments.length<=0?void 0:arguments[0];return t?(0,s.Z)(e(),t):p()}return E(...arguments)})),[b,y]=[m,h].map((e=>function(){let t=e(...arguments);return t&&"object"==typeof t&&(t=(0,o.deepClone)(t)),t}));function v(n){if(!(0,o.isPlainObject)(n))return void(0,o.logError)("setConfig options must be an object");let r=Object.keys(n),i={};r.forEach((r=>{let s=n[r];(0,o.isPlainObject)(e[r])&&(0,o.isPlainObject)(s)&&(s=Object.assign({},e[r],s));try{i[r]=t[r]=s}catch(e){(0,o.logWarn)(`Cannot set config for property ${r} : `,e)}})),T(i)}function E(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t;if("string"!=typeof e&&(r=e,e="*",n=t||{}),"function"!=typeof r)return void(0,o.logError)("listener must be a function");const i={topic:e,callback:r};return a.push(i),n.init&&r("*"===e?m():{[e]:m(e)}),function(){a.splice(a.indexOf(i),1)}}function T(e){const t=Object.keys(e);a.filter((e=>(0,i.q9)(t,e.topic))).forEach((t=>{t.callback({[t.topic]:e[t.topic]})})),a.filter((e=>"*"===e.topic)).forEach((t=>t.callback(e)))}function A(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{!function(e){if(!(0,o.isPlainObject)(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,o.isPlainObject)(e.config))throw"setBidderConfig bidder options must contain a config object"}(e),e.bidders.forEach((r=>{n[r]||(n[r]={}),Object.keys(e.config).forEach((i=>{let s=e.config[i];if((0,o.isPlainObject)(s)){const e=t?o.mergeDeep:Object.assign;n[r][i]=e({},n[r][i]||{},s)}else n[r][i]=s}))}))}catch(e){(0,o.logError)(e)}}function w(e,t){c=e;try{return t()}finally{C()}}function C(){c=null}return g(),{getCurrentBidder:function(){return c},resetBidder:C,getConfig:m,getAnyConfig:h,readConfig:b,readAnyConfig:y,setConfig:v,mergeConfig:function(e){if(!(0,o.isPlainObject)(e))return void(0,o.logError)("mergeConfig input must be an object");const t=(0,o.mergeDeep)(p(),e);return v({...t}),t},setDefaults:function(n){(0,o.isPlainObject)(e)?(Object.assign(e,n),Object.assign(t,n)):(0,o.logError)("defaults must be an object")},resetConfig:g,runWithBidder:w,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 w(e,t.bind(this,...r))}(0,o.logWarn)("config.callbackWithBidder callback is not a function")}}},setBidderConfig:A,getBidderConfig:function(){return n},mergeBidderConfig:function(e){return A(e,!0)}}}()},34516:(e,t,n)=>{n.d(t,{$P:()=>s,Lw:()=>a,NO:()=>h,TJ:()=>u,VP:()=>f,nX:()=>l,qh:()=>g,rp:()=>c});var r=n(64358),i=n(68792),o=n(3193);const s=Object.freeze({}),a=Object.freeze({});class d{#t;#n;#r;#i;#o=!0;#s;generatedTime;hashFields;constructor(){this.reset()}#a(e){this.#i=!0,this.#n=e,this.#r.resolve(e)}reset(){this.#r=(0,i.P)(),this.#t=!1,this.#n=null,this.#i=!1,this.generatedTime=null}enable(){this.#t=!0}get enabled(){return this.#t}get ready(){return this.#i}get promise(){return this.#i?i.Z.resolve(this.#n):(this.#t||this.#a(null),this.#r.promise)}setConsentData(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,r.timestamp)();this.generatedTime=t,this.#o=!0,this.#a(e)}getConsentData(){return this.#n}get hash(){return this.#o&&(this.#s=(0,r.cyrb53Hash)(JSON.stringify(this.#n&&this.hashFields?this.hashFields.map((e=>this.#n[e])):this.#n)),this.#o=!1),this.#s}}const c=new class extends d{hashFields=["gdprApplies","consentString"];getConsentMeta(){const e=this.getConsentData();if(e&&e.vendorData&&this.generatedTime)return{gdprApplies:e.gdprApplies,consentStringSize:(0,r.isStr)(e.vendorData.tcString)?e.vendorData.tcString.length:0,generatedAt:this.generatedTime,apiVersion:e.apiVersion}}},l=new class extends d{getConsentMeta(){const e=this.getConsentData();if(e&&this.generatedTime)return{usp:e,generatedAt:this.generatedTime}}},u=new class extends d{hashFields=["applicableSections","gppString"];getConsentMeta(){if(this.getConsentData()&&this.generatedTime)return{generatedAt:this.generatedTime}}},f=(()=>{function e(){return!!o.config.getConfig("coppa")}return{getCoppa:e,getConsentData:e,getConsentMeta:e,reset(){},get promise(){return i.Z.resolve(e())},get hash(){return e()?"1":"0"}}})(),g=function(){const e={},t={},n={};return{register(r,i,o){o&&((e[i]=e[i]||{})[r]=o,t.hasOwnProperty(i)?t[i]!==o&&(t[i]=n):t[i]=o)},get(r){const i={modules:e[r]||{}};return t.hasOwnProperty(r)&&t[r]!==n&&(i.gvlid=t[r]),i}}}(),p={gdpr:c,usp:l,gpp:u,coppa:f};const h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return e=Object.entries(e),Object.assign({get promise(){return i.Z.all(e.map((e=>{let[t,n]=e;return n.promise.then((e=>[t,e]))}))).then((e=>Object.fromEntries(e)))},get hash(){return(0,r.cyrb53Hash)(e.map((e=>{let[t,n]=e;return n.hash})).join(":"))}},Object.fromEntries(["getConsentData","getConsentMeta","reset"].map((t=>{return[t,(n=t,function(){return Object.fromEntries(e.map((e=>{let[t,r]=e;return[t,r[n]()]})))})];var n}))))}()},56463:(e,t,n)=>{n.d(t,{D:()=>f,t:()=>p});var r=n(34614),i=n(64358),o=n(3193);const s=2,a={buckets:[{max:5,increment:.5}]},d={buckets:[{max:20,increment:.1}]},c={buckets:[{max:20,increment:.01}]},l={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 f(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":g(e,a,n),med:""===r?"":g(e,d,n),high:""===r?"":g(e,c,n),auto:""===r?"":g(e,u,n),dense:""===r?"":g(e,l,n),custom:""===r?"":g(e,t,n)}}function g(e,t,n){let a="";if(!p(t))return a;const d=t.buckets.reduce(((e,t)=>e.max>t.max?e:t),{max:0});let c=0,l=(0,r.sE)(t.buckets,(t=>{if(e>d.max*n){let e=t.precision;void 0===e&&(e=s),a=(t.max*n).toFixed(e)}else{if(e<=t.max*n&&e>=c*n)return t.min=c,t;c=t.max}}));return l&&(a=function(e,t,n){const r=void 0!==t.precision?t.precision:s,a=t.increment*n,d=t.min*n;let c=Math.floor,l=o.config.getConfig("cpmRoundingFunction");"function"==typeof l&&(c=l);let u,f,g=Math.pow(10,r+2),p=(e*g-d*g)/(a*g);try{u=c(p)*a+d}catch(e){f=!0}(f||"number"!=typeof u)&&((0,i.logWarn)("Invalid rounding function passed in config"),u=Math.floor(p)*a+d);return u=Number(u.toFixed(10)),u.toFixed(r)}(e,l,n)),a}function p(e){if((0,i.isEmpty)(e)||!e.buckets||!Array.isArray(e.buckets))return!1;let t=!0;return e.buckets.forEach((e=>{e.max&&e.increment||(t=!1)})),t}},53777:(e,t,n)=>{n.d(t,{Jc:()=>l,dF:()=>h});var r=n(3193),i=n(92797),o=n(78640),s=n(64358),a=n(69626),d=n(55730),c=n(68792);const l="__stpd_debugging__";function u(){return(0,o.R)().installedModules.includes("debugging")}function f(e){return new c.Z((t=>{(0,d.B)(e,"debugging",t)}))}function g(){let{alreadyInstalled:e=u,script:t=f}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null;return function(){return null==n&&(n=new c.Z(((n,d)=>{setTimeout((()=>{if(e())n();else{const e="https://cdn.jsdelivr.net/npm/prebid.js@8.27.0/dist/debugging-standalone.js";(0,s.logMessage)(`Debugging module not installed, loading it from "${e}"...`),(0,o.R)()._installDebugging=!0,t(e).then((()=>{(0,o.R)()._installDebugging({DEBUG_KEY:l,hook:i.z3,config:r.config,createBid:a.m,logger:(0,s.prefixLog)("DEBUG:")})})).then(n,d)}}))}))),n}}const p=function(){let{load:e=g(),hook:t=(0,i.v5)("requestBids")}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null,r=!1;function o(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return(n||c.Z.resolve()).then((()=>e.apply(this,r)))}function s(){t.getHooks({hook:o}).remove(),r=!1}return{enable:function(){r||(n=e(),t.before(o,99),r=!0)},disable:s,reset:function(){n=null,s()}}}();p.reset;function h(){let e=null;try{e=window.sessionStorage}catch(e){}if(null!==e){let t=p,n=null;try{n=e.getItem(l)}catch(e){}null!==n&&t.enable()}}r.config.getConfig("debugging",(function(e){let{debugging:t}=e;t?.enabled?p.enable():p.disable()}))},52021:(e,t,n)=>{n.r(t),n.d(t,{addEvents:()=>E,clearEvents:()=>A,emit:()=>v,get:()=>b,getEvents:()=>y,has:()=>T,off:()=>m,on:()=>h});var r=n(64358),i=n(5644),o=n(10613),s=n(3193);const a="eventHistoryTTL";let d=null;const c=(0,o.Z)({monotonic:!0,ttl:()=>d});s.config.getConfig(a,(e=>{const t=d;e=e?.[a],d="number"==typeof e?1e3*e:null,t!==d&&c.refresh()}));let l=Array.prototype.slice,u=Array.prototype.push,f=Object.values(i.EVENTS);const g=i.aI,p=function(){let e={},t={};function n(e){return f.includes(e)}return t.has=n,t.on=function(t,i,o){if(n(t)){let n=e[t]||{que:[]};o?(n[o]=n[o]||{que:[]},n[o].que.push(i)):n.que.push(i),e[t]=n}else r.logError("Wrong event name : "+t+" Valid event names :"+f)},t.emit=function(t){!function(t,n){r.logMessage("Emitting event for: "+t);let i=n[0]||{},o=i[g[t]],s=e[t]||{que:[]};var a=Object.keys(s);let d=[];c.add({eventType:t,args:i,id:o,elapsedTime:r.getPerformanceNow()}),o&&a.includes(o)&&u.apply(d,s[o].que),u.apply(d,s.que),(d||[]).forEach((function(e){if(e)try{e.apply(null,n)}catch(e){r.logError("Error executing handler:","events.js",e,t)}}))}(t,l.call(arguments,1))},t.off=function(t,n,i){let o=e[t];r.isEmpty(o)||r.isEmpty(o.que)&&r.isEmpty(o[i])||i&&(r.isEmpty(o[i])||r.isEmpty(o[i].que))||(i?(o[i].que||[]).forEach((function(e){let t=o[i].que;e===n&&t.splice(t.indexOf(e),1)})):(o.que||[]).forEach((function(e){let t=o.que;e===n&&t.splice(t.indexOf(e),1)})),e[t]=o)},t.get=function(){return e},t.addEvents=function(e){f=f.concat(e)},t.getEvents=function(){return c.toArray().map((e=>Object.assign({},e)))},t}();r._setEventEmitter(p.emit.bind(p));const{on:h,off:m,get:b,getEvents:y,emit:v,addEvents:E,has:T}=p;function A(){c.clear()}},54078:(e,t,n)=>{n.d(t,{S:()=>A});var r=n(92797),i=n(25102),o=n(38196),s=n(64358),a=n(96475),d=n(3193),c=n(68792);const l=["architecture","bitness","model","platformVersion","fullVersionList"],u=["brands","mobile","platform"],f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator?.userAgentData;const t=e&&u.some((t=>void 0!==e[t]))?Object.freeze(p(1,e)):null;return function(){return t}}(),g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator?.userAgentData;const t={},n=new WeakMap;return function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;if(!n.has(r)){const e=Array.from(r);e.sort(),n.set(r,e.join("|"))}const i=n.get(r);if(!t.hasOwnProperty(i))try{t[i]=e.getHighEntropyValues(r).then((e=>(0,s.isEmpty)(e)?null:Object.freeze(p(2,e)))).catch((()=>null))}catch(e){t[i]=c.Z.resolve(null)}return t[i]}}();function p(e,t){function n(e,t){const n={brand:e};return(0,s.isStr)(t)&&!(0,s.isEmptyStr)(t)&&(n.version=t.split(".")),n}const r={source:e};return t.platform&&(r.platform=n(t.platform,t.platformVersion)),(t.fullVersionList||t.brands)&&(r.browsers=(t.fullVersionList||t.brands).map((e=>{let{brand:t,version:r}=e;return n(t,r)}))),void 0!==t.mobile&&(r.mobile=t.mobile?1:0),["model","bitness","architecture"].forEach((e=>{const n=t[e];(0,s.isStr)(n)&&(r[e]=n)})),r}var h=n(83790),m=n(50571),b=n(10286),y=n(74947),v=n(9633);const E={getRefererInfo:i.nH,findRootDomain:o.W,getWindowTop:s.getWindowTop,getWindowSelf:s.getWindowSelf,getHighEntropySUA:g,getLowEntropySUA:f},T=(0,h.A_)("FPD"),A=(0,r.z3)("sync",(e=>{const t=[e,C().catch((()=>null)),c.Z.resolve("cookieDeprecationLabel"in navigator&&(0,m.xD)(y.S1,(0,b.T)(v.wu,"cdep"))&&navigator.cookieDeprecationLabel.getValue()).catch((()=>null))];return c.Z.all(t).then((e=>{let[t,n,r]=e;const i=E.getRefererInfo();if(function(e){["app","site","device"].forEach((t=>{const n=d.config.getConfig(t);null!=n&&(e[t]=(0,s.mergeDeep)({},n,e[t]))}))}(t),Object.entries(S).forEach((e=>{let[n,r]=e;const o=r(t,i);o&&Object.keys(o).length>0&&(t[n]=(0,s.mergeDeep)({},o,t[n]))})),n&&(0,a.N)(t,"device.sua",Object.assign({},n,t.device.sua)),r){const e={cdep:r};(0,a.N)(t,"device.ext",Object.assign({},e,t.device.ext))}t=T(t);for(let e of h.Iq)if((0,h.Qg)(t,e)){t[e]=(0,s.mergeDeep)({},B(t,i),t[e]);break}return t}))}));function w(e){try{return e(E.getWindowTop())}catch(t){return e(E.getWindowSelf())}}function C(){const e=d.config.getConfig("firstPartyData.uaHints");return Array.isArray(e)&&0!==e.length?E.getHighEntropySUA(e):c.Z.resolve(E.getLowEntropySUA())}function I(e){return(0,s.getDefinedParams)(e,Object.keys(e))}const S={site(e,t){if(!h.Iq.filter((e=>"site"!==e)).some(h.Qg.bind(null,e)))return I({page:t.page,ref:t.ref})},device:()=>w((e=>({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.getDNT)()?1:0,ua:e.navigator.userAgent,language:e.navigator.language.split("-").shift()}))),regs(){const e={};w((e=>e.navigator.globalPrivacyControl))&&(0,a.N)(e,"ext.gpc",1);const t=d.config.getConfig("coppa");return"boolean"==typeof t&&(e.coppa=t?1:0),e}};function B(e,t){const n=(0,i.hh)(t.page,{noLeadingWww:!0}),r=w((e=>e.document.querySelector("meta[name='keywords']")))?.content?.replace?.(/\s/g,"");return I({domain:n,keywords:r,publisher:I({domain:E.findRootDomain(n)})})}},83790:(e,t,n)=>{n.d(t,{A_:()=>o,Iq:()=>i,Qg:()=>s});var r=n(64358);const i=["dooh","app","site"];function o(e){return function(t){return i.reduce(((n,i)=>(s(t,i)&&(null!=n?((0,r.logWarn)(`${e} specifies both '${n}' and '${i}'; dropping the latter.`),delete t[i]):n=i),n)),null),t}}function s(e,t){return null!=e[t]&&Object.keys(e[t]).length>0}},38196:(e,t,n)=>{n.d(t,{W:()=>o});var r=n(64358);const i=(0,n(15164).eA)("fpdEnrichment"),o=(0,r.memoize)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.host;if(!i.cookiesAreEnabled())return e;const t=e.split(".");if(2===t.length)return e;let n,o,s=-2;const a=`_rdc${Date.now()}`,d="writeable";do{n=t.slice(s).join(".");let e=new Date((0,r.timestamp)()+1e4).toUTCString();i.setCookie(a,d,e,"Lax",n,void 0);i.getCookie(a,void 0)===d?(o=!1,i.setCookie(a,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,n,void 0)):(s+=-1,o=Math.abs(s)<=t.length)}while(o);return n}))},92797:(e,t,n)=>{n.d(t,{Bx:()=>g,Cd:()=>d,IF:()=>p,bA:()=>f,o0:()=>l,v5:()=>c,z3:()=>s});var r=n(81432),i=n.n(r),o=n(68792);let s=i()({ready:i().SYNC|i().ASYNC|i().QUEUE});const a=(0,o.P)();s.ready=(()=>{const e=s.ready;return function(){try{return e.apply(s,arguments)}finally{a.resolve()}}})();const d=a.promise,c=s.get;function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:15;0===e.getHooks({hook:t}).length&&e.before(t,n)}const u={};function f(e,t){let{postInstallAllowed:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};s("async",(function(r){r.forEach((e=>t(...e))),n&&(u[e]=t)}),e)([])}function g(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const i=u[e];if(i)return i(...n);c(e).before(((e,t)=>{t.push(n),e(t)}))}function p(e,t){return Object.defineProperties(t,Object.fromEntries(["before","after","getHooks","removeAll"].map((t=>[t,{get:()=>e[t]}])))),t}},24679:(e,t,n)=>{n.d(t,{B5:()=>r,Mk:()=>o,Oh:()=>s,pX:()=>i});const r="native",i="video",o="banner",s="adpod"},70059:(e,t,n)=>{n.d(t,{Fb:()=>A,JL:()=>U,Sg:()=>c,Ur:()=>S,e6:()=>I,eK:()=>O,lY:()=>q,r4:()=>C,xc:()=>l,zq:()=>x});var r=n(20265),i=n(64358),o=n(34614),s=n(78653),a=n(5644),d=n(24679);const c=[],l=Object.keys(a.NATIVE_KEYS).map((e=>a.NATIVE_KEYS[e])),u={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}}},{NATIVE_ASSET_TYPES:f,NATIVE_IMAGE_TYPES:g,PREBID_NATIVE_DATA_KEYS_TO_ORTB:p,NATIVE_KEYS_THAT_ARE_NOT_ASSETS:h,NATIVE_KEYS:m}=a,b=P(p),y=P(f),v={img:1,js:2,1:"img",2:"js"},E={impression:1,"viewable-mrc50":2,"viewable-mrc100":3,"viewable-video50":4};function T(e){if(e&&e.type&&function(e){if(!e||!(0,o.q9)(Object.keys(u),e))return(0,i.logError)(`${e} nativeParam is not supported`),!1;return!0}(e.type)&&(e=u[e.type]),!e||!e.ortb||w(e.ortb))return e}function A(e){e.forEach((e=>{const t=e.nativeParams||(0,r.Z)(e,"mediaTypes.native");t&&(e.nativeParams=T(t)),e.nativeParams&&(e.nativeOrtbRequest=e.nativeParams.ortb||function(e){if(!e&&!(0,i.isPlainObject)(e))return void(0,i.logError)("Native assets object is empty or not an object: ",e);const t={ver:"1.2",assets:[]};for(let n in e){if(h.includes(n))continue;if(!m.hasOwnProperty(n)){(0,i.logError)(`Unrecognized native asset code: ${n}. Asset will be ignored.`);continue}if("privacyLink"===n){t.privacy=1;continue}const r=e[n];let o=0;r.required&&(0,i.isBoolean)(r.required)&&(o=Number(r.required));const s={id:t.assets.length,required:o};if(n in p)s.data={type:f[p[n]]},r.len&&(s.data.len=r.len);else if("icon"===n||"image"===n){if(s.img={type:"icon"===n?g.ICON:g.MAIN},r.aspect_ratios)if((0,i.isArray)(r.aspect_ratios))if(r.aspect_ratios.length){const{min_width:e,min_height:t}=r.aspect_ratios[0];(0,i.isInteger)(e)&&(0,i.isInteger)(t)?(s.img.wmin=e,s.img.hmin=t):(0,i.logError)("image.aspect_ratios min_width or min_height are invalid: ",e,t);const n=r.aspect_ratios.filter((e=>e.ratio_width&&e.ratio_height)).map((e=>`${e.ratio_width}:${e.ratio_height}`));n.length>0&&(s.img.ext={aspectratios:n})}else(0,i.logError)("image.aspect_ratios was passed, but it's empty:",r.aspect_ratios);else(0,i.logError)("image.aspect_ratios was passed, but it's not a an array:",r.aspect_ratios);r.sizes&&(2===r.sizes.length&&(0,i.isInteger)(r.sizes[0])&&(0,i.isInteger)(r.sizes[1])?(s.img.w=r.sizes[0],s.img.h=r.sizes[1],delete s.img.hmin,delete s.img.wmin):(0,i.logError)("image.sizes was passed, but its value is not an array of integers:",r.sizes))}else"title"===n?s.title={len:r.len||140}:"ext"===n&&(s.ext=r,delete s.required);t.assets.push(s)}return t}(e.nativeParams))}))}function w(e){const t=e.assets;if(!Array.isArray(t)||0===t.length)return(0,i.logError)("assets in mediaTypes.native.ortb is not an array, or it's empty. Assets: ",t),!1;const n=t.map((e=>e.id));return t.length!==new Set(n).size||n.some((e=>e!==parseInt(e,10)))?((0,i.logError)("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,i.logError)("ortb.eventtrackers is not an array. Eventtrackers: ",e.eventtrackers),!1):t.every((e=>function(e){if(!(0,i.isPlainObject)(e))return(0,i.logError)("asset must be an object. Provided asset: ",e),!1;if(e.img){if(!(0,i.isNumber)(e.img.w)&&!(0,i.isNumber)(e.img.wmin))return(0,i.logError)("for img asset there must be 'w' or 'wmin' property"),!1;if(!(0,i.isNumber)(e.img.h)&&!(0,i.isNumber)(e.img.hmin))return(0,i.logError)("for img asset there must be 'h' or 'hmin' property"),!1}else if(e.title){if(!(0,i.isNumber)(e.title.len))return(0,i.logError)("for title asset there must be 'len' property defined"),!1}else if(e.data){if(!(0,i.isNumber)(e.data.type))return(0,i.logError)("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,i.isNumber)(e.video.minduration)&&(0,i.isNumber)(e.video.maxduration)))return(0,i.logError)("video asset is not properly configured"),!1;return!0}(e)))}function C(e){let{index:t=s.K.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t.getAdUnit(e);if(!n)return!1;let a=n.nativeOrtbRequest;return function(e,t){if(!(0,r.Z)(e,"link.url"))return(0,i.logError)("native response doesn't have 'link' property. Ortb response: ",e),!1;let n=t.assets.filter((e=>1===e.required)).map((e=>e.id)),s=e.assets.map((e=>e.id));const a=n.every((e=>(0,o.q9)(s,e)));a||(0,i.logError)(`didn't receive a bid with all required assets. Required ids: ${n}, but received ids in response: ${s}`);return a}(e.native?.ortb||N(e.native,a),a)}function I(e,t){const n=t.native.ortb||D(t.native);return"click"===e.action?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{fetchURL:n=i.triggerPixel}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t){const r=(e.assets||[]).filter((e=>e.link)).reduce(((e,t)=>(e[t.id]=t.link,e)),{}),i=e.link?.clicktrackers||[];let o=r[t],s=i;o&&(s=o.clicktrackers||[]),s.forEach((e=>n(e)))}else(e.link?.clicktrackers||[]).forEach((e=>n(e)))}(n,e?.assetId):function(e){let{runMarkup:t=(e=>(0,i.insertHtmlIntoIframe)(e)),fetchURL:n=i.triggerPixel}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(e.eventtrackers||[]).filter((e=>e.event===E.impression));let{img:o,js:s}=r.reduce(((e,t)=>(v.hasOwnProperty(t.method)&&e[v[t.method]].push(t.url),e)),{img:[],js:[]});e.imptrackers&&(o=o.concat(e.imptrackers));o.forEach((e=>n(e))),s=s.map((e=>`<script async src="${e}"><\/script>`)),e.jstracker&&(s=s.concat([e.jstracker]));s.length&&t(s.join("\n"))}(n),e.action}function S(e){let{index:t=s.K.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};const i=t.getAdUnit(e);(0,r.Z)(i,"nativeParams.rendererUrl")?e.native.rendererUrl=R(i.nativeParams.rendererUrl):(0,r.Z)(i,"nativeParams.adTemplate")&&(e.native.adTemplate=R(i.nativeParams.adTemplate));const o=!1!==(0,r.Z)(i,"nativeParams.sendTargetingKeys"),d=function(e){const t={};(0,r.Z)(e,"nativeParams.ext")&&Object.keys(e.nativeParams.ext).forEach((e=>{t[e]=`hb_native_${e}`}));return{...a.NATIVE_KEYS,...t}}(i),c={...e.native,...e.native.ext};return delete c.ext,Object.keys(c).forEach((t=>{const s=d[t];let a=R(e.native[t])||R((0,r.Z)(e,`native.ext.${t}`));if("adTemplate"===t||!s||!a)return;let c=(0,r.Z)(i,`nativeParams.${t}.sendId`);if("boolean"!=typeof c&&(c=(0,r.Z)(i,`nativeParams.ext.${t}.sendId`)),c){a=`${s}:${e.adId}`}let l=(0,r.Z)(i,`nativeParams.${t}.sendTargetingKeys`);"boolean"!=typeof l&&(l=(0,r.Z)(i,`nativeParams.ext.${t}.sendTargetingKeys`));("boolean"==typeof l?l:o)&&(n[s]=a)})),n}function B(e,t,n){let{index:r=s.K.index}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i={message:"assetResponse",adId:e.adId},o=r.getAdUnit(t);let d=t.native;return t.native.ortb?i.ortb=t.native.ortb:o.mediaTypes?.native?.ortb&&(i.ortb=N(t.native,o.nativeOrtbRequest)),i.assets=[],(null==n?Object.keys(d):n).forEach((function(e){if("adTemplate"===e&&d[e])i.adTemplate=R(d[e]);else if("rendererUrl"===e&&d[e])i.rendererUrl=R(d[e]);else if("ext"===e)Object.keys(d[e]).forEach((t=>{if(d[e][t]){const n=R(d[e][t]);i.assets.push({key:t,value:n})}}));else if(d[e]&&a.NATIVE_KEYS.hasOwnProperty(e)){const t=R(d[e]);i.assets.push({key:e,value:t})}})),i}const k=Object.fromEntries(Object.entries(a.NATIVE_KEYS).map((e=>{let[t,n]=e;return[n,t]})));function O(e,t){const n=e.assets.map((e=>k[e]));return B(e,t,n)}function U(e,t){return B(e,t,null)}function R(e){return e?.url||e}function _(e,t){for(;e&&t&&e!==t;)e>t?e-=t:t-=e;return e||t}function j(e){if(!w(e))return;const t={};for(const n of e.assets){if(n.title){const e={required:!!n.required&&Boolean(n.required),len:n.title.len};t.title=e}else if(n.img){const e={required:!!n.required&&Boolean(n.required)};if(n.img.w&&n.img.h)e.sizes=[n.img.w,n.img.h];else if(n.img.wmin&&n.img.hmin){const t=_(n.img.wmin,n.img.hmin);e.aspect_ratios=[{min_width:n.img.wmin,min_height:n.img.hmin,ratio_width:n.img.wmin/t,ratio_height:n.img.hmin/t}]}n.img.type===g.MAIN?t.image=e:t.icon=e}else if(n.data){let e=Object.keys(f).find((e=>f[e]===n.data.type)),r=Object.keys(p).find((t=>p[t]===e));t[r]={required:!!n.required&&Boolean(n.required)},n.data.len&&(t[r].len=n.data.len)}e.privacy&&(t.privacyLink={required:!1})}return t}function q(e){{if(!e||!(0,i.isArray)(e))return e;if(!e.some((e=>(e?.mediaTypes||{})[d.B5]?.ortb)))return e;let t=(0,i.deepClone)(e);for(const e of t)e.mediaTypes&&e.mediaTypes[d.B5]&&e.mediaTypes[d.B5].ortb&&(e.mediaTypes[d.B5]=Object.assign((0,i.pick)(e.mediaTypes[d.B5],h),j(e.mediaTypes[d.B5].ortb)),e.nativeParams=T(e.mediaTypes[d.B5]));return t}}function D(e){const t={link:{},eventtrackers:[]};return Object.entries(e).forEach((e=>{let[n,r]=e;switch(n){case"clickUrl":t.link.url=r;break;case"clickTrackers":t.link.clicktrackers=Array.isArray(r)?r:[r];break;case"impressionTrackers":(Array.isArray(r)?r:[r]).forEach((e=>{t.eventtrackers.push({event:E.impression,method:v.img,url:e})}));break;case"javascriptTrackers":t.jstracker=Array.isArray(r)?r.join(""):r;break;case"privacyLink":t.privacy=r}})),t}function N(e,t){const n={...D(e),assets:[]};function r(e,r){let o=t.assets.find(e);null!=o&&(o=(0,i.deepClone)(o),r(o),n.assets.push(o))}return Object.keys(e).filter((t=>!!e[t])).forEach((t=>{const n=R(e[t]);switch(t){case"title":r((e=>null!=e.title),(e=>{e.title={text:n}}));break;case"image":case"icon":const e="image"===t?g.MAIN:g.ICON;r((t=>null!=t.img&&t.img.type===e),(e=>{e.img={url:n}}));break;default:t in p&&r((e=>null!=e.data&&e.data.type===f[p[t]]),(e=>{e.data={value:n}}))}})),n}function x(e,t){const n={},r=t?.assets||[];n.clickUrl=e.link.url,n.privacyLink=e.privacy;for(const t of e?.assets||[]){const e=r.find((e=>t.id===e.id));t.title?n.title=t.title.text:t.img?n[e.img.type===g.MAIN?"image":"icon"]={url:t.img.url,width:t.img.w,height:t.img.h}:t.data&&(n[b[y[e.data.type]]]=t.data.value)}n.impressionTrackers=[];let i=[];e.imptrackers&&n.impressionTrackers.push(...e.imptrackers);for(const t of e?.eventtrackers||[])t.event===E.impression&&t.method===v.img&&n.impressionTrackers.push(t.url),t.event===E.impression&&t.method===v.js&&i.push(t.url);return i=i.map((e=>`<script async src="${e}"><\/script>`)),e?.jstracker&&i.push(e.jstracker),i.length&&(n.javascriptTrackers=i.join("\n")),n}function P(e){var t={};for(var n in e)t[e[n]]=n;return t}},34614:(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)}function s(e,t,n){return e&&e.findIndex(t,n)}n.d(t,{Oc:()=>i,cx:()=>s,q9:()=>r,sE:()=>o})},20327:(e,t,n)=>{n.d(t,{zh:()=>G,O5:()=>V,ew:()=>Y});var r=n(78640),i=n(64358),o=n(20265),s=n(96475),a=n(52021),d=n(70059),c=n(5644),l=n(78653),u=n(34614),f=n(13667),g=n(17007);const p=c.EVENTS.BID_WON,h=new WeakSet,m={[g.ZR]:function(e,t,n){(0,f.XD)((function(t){y(n),e(Object.assign({message:g.VX},t))}),{options:t.options,adId:t.adId,bidResponse:n})},[g.G]:function(e,t,n){if(null==n)return void(0,i.logError)(`Cannot find ad '${t.adId}' for x-origin event request`);if(n.status!==c.BID_STATUS.RENDERED)return void(0,i.logWarn)(`Received x-origin event request without corresponding render request for ad '${t.adId}'`);switch(t.event){case c.EVENTS.AD_RENDER_FAILED:(0,f.Pm)({bid:n,id:t.adId,reason:t.info.reason,message:t.info.message});break;case c.EVENTS.AD_RENDER_SUCCEEDED:(0,f.bL)({doc:null,bid:n,id:t.adId});break;default:(0,i.logError)(`Received x-origin event request for unsupported event: '${t.event}' (adId: '${t.adId}')`)}}};function b(e){var t=e.message?"message":"data",n={};try{n=JSON.parse(e[t])}catch(e){return}if(n&&n.adId&&n.message){const t=(0,u.sE)(l.K.getBidsReceived(),(function(e){return e.adId===n.adId}));m.hasOwnProperty(n.message)&&m[n.message](function(e){return null==e.origin&&0===e.ports.length?function(){const e="Cannot post message to a frame with null origin. Please update creatives to use MessageChannel, see https://github.com/prebid/Prebid.js/issues/7870";throw(0,i.logError)(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,t)}}function y(e){let{adId:t,adUnitCode:n,width:r,height:o}=e;["div","iframe"].forEach((e=>{let s=function(e){let r=function(e,t){return(0,i.isGptPubadsDefined)()?function(e){const t=(0,u.sE)(window.googletag.pubads().getSlots(),(t=>(0,u.sE)(t.getTargetingKeys(),(n=>(0,u.q9)(t.getTargeting(n),e)))));return t?t.getSlotElementId():null}(e):(0,i.isApnGetTagDefined)()?function(e){let t=window.apntag.getTag(e);return t&&t.targetId}(t):t}(t,n),o=document.getElementById(r);return o&&o.querySelector(e)}(e+':not([style*="display: none"])');if(s){let e=s.style;e.width=r?r+"px":"100%",e.height=o+"px"}else(0,i.logWarn)(`Unable to locate matching page element for adUnitCode ${n}. Can't resize it to ad's dimensions. Please review setup.`)}))}Object.assign(m,{[g.u7]:function(e,t,n){if(null==n)return void(0,i.logError)(`Cannot find ad for x-origin event request: '${t.adId}'`);h.has(n)||(h.add(n),l.K.addWinningBid(n),a.emit(p,n));switch(t.action){case"assetRequest":e((0,d.eK)(t,n));break;case"allAssetRequest":e((0,d.JL)(t,n));break;case"resizeNativeHeight":n.height=t.height,n.width=t.width,y(n);break;default:(0,d.e6)(t,n)}}});var v=n(11974),E=n(3193),T=n(18621),A=n(92797),w=n(53777),C=n(875),I=n(69626),S=n(15164),B=n(86104),k=n(99128),O=n(68792),U=n(54078),R=n(34516),_=n(29819),j=n(31136),q=n(90154);const D=(0,r.R)(),{triggerUserSyncs:N}=v.userSync,{ADD_AD_UNITS:x,REQUEST_BIDS:P,SET_TARGETING:$}=c.EVENTS,M={bidWon:function(e){if(!l.K.getBidsRequested().map((e=>e.bids.map((e=>e.adUnitCode)))).reduce(i.flatten).filter(i.uniques).includes(e))return void(0,i.logError)('The "'+e+'" placement is not defined.');return!0}};function W(e,t){let n=[];return(0,i.isArray)(e)&&(t?e.length===t:e.length>0)&&(e.every((e=>(0,i.isArrayOfNums)(e,2)))?n=e:(0,i.isArrayOfNums)(e,2)&&n.push(e)),n}function L(e){const t=(0,i.deepClone)(e),n=t.mediaTypes.banner,r=W(n.sizes);return r.length>0?(n.sizes=r,t.sizes=r):((0,i.logError)("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 K(e){const t=(0,i.deepClone)(e),n=t.mediaTypes.video;if(n.playerSize){let e="number"==typeof n.playerSize[0]?2:1;const r=W(n.playerSize,e);r.length>0?(2===e&&(0,i.logInfo)("Transforming video.playerSize from [640,480] to [[640,480]] so it's in the proper format."),n.playerSize=r,t.sizes=r):((0,i.logError)("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 z(e){const t=(0,i.deepClone)(e),n=t.mediaTypes.native;if(n.ortb){const e=Object.keys(c.NATIVE_KEYS).filter((e=>c.NATIVE_KEYS[e].includes("hb_native_"))),r=Object.keys(n).filter((t=>e.includes(t)));r.length>0&&((0,i.logError)(`when using native OpenRTB format, you cannot use legacy native properties. Deleting ${r} keys from request.`),r.forEach((e=>delete t.mediaTypes.native[e])))}return n.image&&n.image.sizes&&!Array.isArray(n.image.sizes)&&((0,i.logError)("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,i.logError)("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,i.logError)("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 F(e,t){let n=(0,o.Z)(e,`mediaTypes.${t}.pos`);if(!(0,i.isNumber)(n)||isNaN(n)||!isFinite(n)){let n=`Value of property 'pos' on ad unit ${e.code} should be of type: Number`;(0,i.logWarn)(n),a.emit(c.EVENTS.AUCTION_DEBUG,{type:"WARNING",arguments:n}),delete e.mediaTypes[t].pos}return e}function Z(e){const t=t=>`adUnit.code '${e.code}' ${t}`,n=e.mediaTypes,r=e.bids;return null==r||(0,i.isArray)(r)?null==r&&null==e.ortb2Imp?((0,i.logError)(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,i.logMessage)(t("defines 'adUnit.ortb2Imp' with no 'adUnit.bids'; it will be seen only by S2S adapters"))),e):((0,i.logError)(t("does not define a 'mediaTypes' object. This is a required field for the auction, so this adUnit has been removed.")),null):((0,i.logError)(t("defines 'adUnit.bids' that is not an array. Removing adUnit from auction")),null)}(0,w.dF)(),D.bidderSettings=D.bidderSettings||{},D.libLoaded=!0,D.version="v8.27.0",(0,i.logInfo)("Prebid.js v8.27.0 loaded"),D.installedModules=D.installedModules||[],D.adUnits=D.adUnits||[],D.triggerUserSyncs=N;const G={validateAdUnit:Z,validateBannerMediaType:L,validateSizes:W};Object.assign(G,{validateNativeMediaType:z}),Object.assign(G,{validateVideoMediaType:K});const V=(0,A.z3)("sync",(function(e){const t=[];return e.forEach((e=>{if(null==(e=Z(e)))return;const n=e.mediaTypes;let r,i,o;n.banner&&(r=L(e),n.banner.hasOwnProperty("pos")&&(r=F(r,"banner"))),n.video&&(i=K(r||e),n.video.hasOwnProperty("pos")&&(i=F(i,"video"))),n.native&&(o=z(i||(r||e)));const s=Object.assign({},r,i,o);t.push(s)})),t}),"checkAdUnitSetup");function H(e){const t=l.K[e]().filter((e=>l.K.getAdUnitCodes().includes(e.adUnitCode))),n=l.K.getLastAuctionId();return t.map((e=>e.adUnitCode)).filter(i.uniques).map((e=>t.filter((t=>t.auctionId===n&&t.adUnitCode===e)))).filter((e=>e&&e[0]&&e[0].adUnitCode)).map((e=>({[e[0].adUnitCode]:{bids:e}}))).reduce(((e,t)=>Object.assign(e,t)),{})}D.getAdserverTargetingForAdUnitCodeStr=function(e){if((0,i.logInfo)("Invoking stpd.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=D.getAdserverTargetingForAdUnitCode(e);return(0,i.transformAdServerTargetingObj)(t)}(0,i.logMessage)("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},D.getHighestUnusedBidResponseForAdUnitCode=function(e){if(e){const t=l.K.getAllBidsForAdUnitCode(e).filter(T.TL);return t.length?t.reduce(j.ZH):{}}(0,i.logMessage)("Need to call getHighestUnusedBidResponseForAdUnitCode with adunitCode")},D.getAdserverTargetingForAdUnitCode=function(e){return D.getAdserverTargeting(e)[e]},D.getAdserverTargeting=function(e){return(0,i.logInfo)("Invoking stpd.getAdserverTargeting",arguments),T.q0.getAllTargeting(e)},D.getConsentMetadata=function(){return(0,i.logInfo)("Invoking stpd.getConsentMetadata"),R.NO.getConsentMeta()},D.getNoBids=function(){return(0,i.logInfo)("Invoking stpd.getNoBids",arguments),H("getNoBids")},D.getNoBidsForAdUnitCode=function(e){return{bids:l.K.getNoBids().filter((t=>t.adUnitCode===e))}},D.getBidResponses=function(){return(0,i.logInfo)("Invoking stpd.getBidResponses",arguments),H("getBidsReceived")},D.getBidResponsesForAdUnitCode=function(e){return{bids:l.K.getBidsReceived().filter((t=>t.adUnitCode===e))}},D.setTargetingForGPTAsync=function(e,t){if((0,i.logInfo)("Invoking stpd.setTargetingForGPTAsync",arguments),!(0,i.isGptPubadsDefined)())return void(0,i.logError)("window.googletag is not defined on the page");let n=T.q0.getAllTargeting(e);T.q0.resetPresetTargeting(e,t),T.q0.setTargetingForGPT(n,t),Object.keys(n).forEach((e=>{Object.keys(n[e]).forEach((t=>{"hb_adid"===t&&l.K.setStatusForBids(n[e][t],c.BID_STATUS.C)}))})),a.emit($,n)},D.setTargetingForAst=function(e){(0,i.logInfo)("Invoking stpd.setTargetingForAn",arguments),T.q0.isApntagDefined()?(T.q0.setTargetingForAst(e),a.emit($,T.q0.getAllTargeting())):(0,i.logError)("window.apntag is not defined on the page")},D.renderAd=(0,A.z3)("async",(function(e,t,n){(0,i.logInfo)("Invoking stpd.renderAd",arguments),(0,i.logMessage)("Calling renderAd with adId :"+t),(0,_.t)(e,t,n)})),D.removeAdUnit=function(e){if((0,i.logInfo)("Invoking stpd.removeAdUnit",arguments),!e)return void(D.adUnits=[]);let t;t=(0,i.isArray)(e)?e:[e],t.forEach((e=>{for(let t=D.adUnits.length-1;t>=0;t--)D.adUnits[t].code===e&&D.adUnits.splice(t,1)}))},D.requestBids=function(){const e=(0,A.z3)("async",(function(){let{bidsBackHandler:e,timeout:t,adUnits:n,adUnitCodes:r,labels:o,auctionId:s,ttlBuffer:d,ortb2:c,metrics:l,defer:f}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a.emit(P);const g=t||E.config.getConfig("bidderTimeout");(0,i.logInfo)("Invoking stpd.requestBids",arguments),r&&r.length?n=n.filter((e=>(0,u.q9)(r,e.code))):r=n&&n.map((e=>e.code));const p={global:(0,i.mergeDeep)({},E.config.getAnyConfig("ortb2")||{},c||{}),bidder:Object.fromEntries(Object.entries(E.config.getBidderConfig()).map((e=>{let[t,n]=e;return[t,n.ortb2]})).filter((e=>{let[t,n]=e;return null!=n})))};return(0,U.S)(O.Z.resolve(p.global)).then((t=>(p.global=t,Y({bidsBackHandler:e,timeout:g,adUnits:n,adUnitCodes:r,labels:o,auctionId:s,ttlBuffer:d,ortb2Fragments:p,metrics:l,defer:f}))))}),"requestBids");return(0,A.IF)(e,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.adUnits||D.adUnits;return t.adUnits=(0,i.isArray)(n)?n.slice():[n],t.metrics=(0,k.V6)(),t.metrics.checkpoint("requestBids"),t.defer=(0,O.P)({promiseFactory:e=>new Promise(e)}),e.call(this,t),t.defer.promise}))}();const Y=(0,A.z3)("async",(function(){let{bidsBackHandler:e,timeout:t,adUnits:n,ttlBuffer:r,adUnitCodes:o,labels:a,auctionId:d,ortb2Fragments:c,metrics:f,defer:g}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const p=(0,B.uV)(E.config.getConfig("s2sConfig")||[]);function h(t,n,r){if("function"==typeof e)try{e(t,n,r)}catch(e){(0,i.logError)("Error executing bidsBackHandler",null,e)}g.resolve({bids:t,timedOut:n,auctionId:r})}if(function(e){e.forEach((e=>(0,q.cx)(e)))}(n),n=(0,k.Bf)(f).measureTime("requestBids.validate",(()=>V(n))),n.forEach((e=>{const t=Object.keys(e.mediaTypes||{banner:"banner"}),n=e.bids.map((e=>e.bidder)),o=B.ZP.bidderRegistry,a=n.filter((e=>!p.has(e))),d=e.ortb2Imp?.ext?.tid||(0,i.generateUUID)();e.transactionId=d,null==r||e.hasOwnProperty("ttlBuffer")||(e.ttlBuffer=r),(0,s.N)(e,"ortb2Imp.ext.tid",d),a.forEach((n=>{const r=o[n],s=r&&r.getSpec&&r.getSpec(),a=s&&s.supportedMediaTypes||["banner"];t.some((e=>(0,u.q9)(a,e)))?C.f.incrementBidderRequestsCounter(e.code,n):((0,i.logWarn)((0,i.unsupportedBidderMessage)(e,n)),e.bids=e.bids.filter((e=>e.bidder!==n)))})),C.f.incrementRequestsCounter(e.code)})),n&&0!==n.length){const e=l.K.createAuction({adUnits:n,adUnitCodes:o,callback:h,cbTimeout:t,labels:a,auctionId:d,ortb2Fragments:c,metrics:f});let r=n.length;r>15&&(0,i.logInfo)(`Current auction ${e.getAuctionId()} contains ${r} adUnits.`,n),o.forEach((t=>T.q0.setLatestAuctionForAdUnit(t,e.getAuctionId()))),e.callBids()}else(0,i.logMessage)("No adUnits configured. No bids requested."),h()}),"startAuction");D.requestBids.before((function(e,t){function n(e){for(var t;t=e.shift();)t()}n(S.Ld),n(J),e.call(this,t)}),49),D.addAdUnits=function(e){(0,i.logInfo)("Invoking stpd.addAdUnits",arguments),D.adUnits.push.apply(D.adUnits,(0,i.isArray)(e)?e:[e]),a.emit(x)},D.onEvent=function(e,t,n){(0,i.logInfo)("Invoking stpd.onEvent",arguments),(0,i.isFn)(t)?!n||M[e].call(null,n)?a.on(e,t,n):(0,i.logError)('The id provided is not valid for event "'+e+'" and no handler was set.'):(0,i.logError)('The event handler provided is not a function and was not set on event "'+e+'".')},D.offEvent=function(e,t,n){(0,i.logInfo)("Invoking stpd.offEvent",arguments),n&&!M[e].call(null,n)||a.off(e,t,n)},D.getEvents=function(){return(0,i.logInfo)("Invoking stpd.getEvents"),a.getEvents()},D.registerBidAdapter=function(e,t){(0,i.logInfo)("Invoking stpd.registerBidAdapter",arguments);try{B.ZP.registerBidAdapter(e(),t)}catch(e){(0,i.logError)("Error registering bidder adapter : "+e.message)}},D.registerAnalyticsAdapter=function(e){(0,i.logInfo)("Invoking stpd.registerAnalyticsAdapter",arguments);try{B.ZP.registerAnalyticsAdapter(e)}catch(e){(0,i.logError)("Error registering analytics adapter : "+e.message)}},D.createBid=function(e){return(0,i.logInfo)("Invoking stpd.createBid",arguments),(0,I.m)(e)};const J=[],Q=(0,A.z3)("async",(function(e){e&&!(0,i.isEmpty)(e)?((0,i.logInfo)("Invoking stpd.enableAnalytics for: ",e),B.ZP.enableAnalytics(e)):(0,i.logError)("stpd.enableAnalytics should be called with option {}")}),"enableAnalyticsCb");D.enableAnalytics=function(e){J.push(Q.bind(this,e))},D.aliasBidder=function(e,t,n){(0,i.logInfo)("Invoking stpd.aliasBidder",arguments),e&&t?B.ZP.aliasBidAdapter(e,t,n):(0,i.logError)("bidderCode and alias must be passed as arguments","stpd.aliasBidder")},D.aliasRegistry=B.ZP.aliasRegistry,E.config.getConfig("aliasRegistry",(e=>{"private"===e.aliasRegistry&&delete D.aliasRegistry})),D.getAllWinningBids=function(){return l.K.getAllWinningBids()},D.getAllPrebidWinningBids=function(){return l.K.getBidsReceived().filter((e=>e.status===c.BID_STATUS.C))},D.getHighestCpmBids=function(e){return T.q0.getWinningBids(e)},D.markWinningBidAsUsed=function(e){const t=X(e,"Improper use of markWinningBidAsUsed. It needs an adUnitCode or an adId to function.");t.length>0&&l.K.addWinningBid(t[0])};const X=(e,t)=>{let n=[];return e.adUnitCode&&e.adId?n=l.K.getBidsReceived().filter((t=>t.adId===e.adId&&t.adUnitCode===e.adUnitCode)):e.adUnitCode?n=T.q0.getWinningBids(e.adUnitCode):e.adId?n=l.K.getBidsReceived().filter((t=>t.adId===e.adId)):(0,i.logWarn)(t),n};function ee(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){(0,i.logError)("Error processing command :","prebid.js",e)}}))}D.getConfig=E.config.getAnyConfig,D.readConfig=E.config.readAnyConfig,D.mergeConfig=E.config.mergeConfig,D.mergeBidderConfig=E.config.mergeBidderConfig,D.setConfig=E.config.setConfig,D.setBidderConfig=E.config.setBidderConfig,D.que.push((()=>{window.addEventListener("message",b,!1)})),D.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){(0,i.logError)("Error processing command :",e.message,e.stack)}else(0,i.logError)("Commands written into stpd.cmd.push must be wrapped in a function")},D.que.push=D.cmd.push,D.processQueue=function(){A.z3.ready(),ee(D.que),ee(D.cmd)},D.triggerBilling=e=>{const t=X(e,"Improper use of triggerBilling. It requires a bid with at least an adUnitCode or an adId to function."),n=t.find((t=>t.requestId===e.requestId))||t[0];if(t.length>0&&n)try{B.ZP.callBidBillableBidder(n)}catch(e){(0,i.logError)("Error when triggering billing :",e)}else(0,i.logWarn)("The bid provided to triggerBilling did not match any bids received.")}},78640:(e,t,n)=>{n.d(t,{R:()=>o,z:()=>s});const r=window,i=r.stpd=r.stpd||{};function o(){return i}function s(e){i.installedModules.push(e)}i.cmd=i.cmd||[],i.que=i.que||[],r===window&&(r._pbjsGlobals=r._pbjsGlobals||[],r._pbjsGlobals.push("stpd"))},25102:(e,t,n)=>{n.d(t,{hh:()=>s,nH:()=>d});var r=n(3193),i=n(64358);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(!e)return e;if(/\w+:\/\//.exec(e))return e;let n=t.location.protocol;try{n=t.top.location.protocol}catch(e){}return/^\/\//.exec(e)?n+e:`${n}//${e}`}function s(e){let{noLeadingWww:t=!1,noPort:n=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{e=new URL(o(e))}catch(e){return}return e=n?e.hostname:e.host,t&&e.startsWith("www.")&&(e=e.substring(4)),e}function a(e){try{const t=e.querySelector("link[rel='canonical']");if(null!==t)return t.href}catch(e){}return null}const d=function(e){let t,n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return i.top!==i?e:function(){const o=a(i.document),s=i.location.href;return t===o&&s===n||(t=o,n=s,r=e()),r}}((c=window,function(){const e=[],t=function(e){try{if(!e.location.ancestorOrigins)return;return e.location.ancestorOrigins}catch(e){}}(c),n=r.config.getConfig("maxNestedIframes");let d,l,u,f,g=!1,p=0,h=!1,m=!1,b=!1;do{const n=d,r=m;let o,s=!1,f=null;m=!1,d=d?d.parent:c;try{o=d.location.href||null}catch(e){s=!0}if(s)if(r){const e=n.context;try{f=e.sourceUrl,l=f,b=!0,h=!0,d===c.top&&(g=!0),e.canonicalUrl&&(u=e.canonicalUrl)}catch(e){}}else{(0,i.logWarn)("Trying to access cross domain iframe. Continuing without referrer and location");try{const e=n.document.referrer;e&&(f=e,d===c.top&&(g=!0))}catch(e){}!f&&t&&t[p-1]&&(f=t[p-1],d===c.top&&(b=!0)),f&&!h&&(l=f)}else{if(o&&(f=o,l=f,h=!1,d===c.top)){g=!0;const e=a(d.document);e&&(u=e)}d.context&&d.context.sourceUrl&&(m=!0)}e.push(f),p++}while(d!==c.top&&p<n);e.reverse();try{f=c.top.document.referrer}catch(e){}const y=g||b?l:null,v=r.config.getConfig("pageUrl")||u||null;let E=r.config.getConfig("pageUrl")||y||o(v,c);return y&&y.indexOf("?")>-1&&-1===E.indexOf("?")&&(E=`${E}${y.substring(y.indexOf("?"))}`),{reachedTop:g,isAmp:h,numIframes:p-1,stack:e,topmostLocation:l||null,location:y,canonicalUrl:v,page:E,domain:s(E)||null,ref:f||null,legacy:{reachedTop:g,isAmp:h,numIframes:p-1,stack:e,referer:l||null,canonicalUrl:v}}}));var c},15164:(e,t,n)=>{n.d(t,{Dp:()=>f,Ld:()=>p,c$:()=>g,df:()=>m,eA:()=>b});var r=n(64358),i=n(55975),o=n(9633),s=n(50571),a=n(16310),d=n(74947),c=n(3193),l=n(86104),u=n(10286);const f="html5",g="cookie";let p=[];function h(){let{moduleName:e,moduleType:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{isAllowed:n=s.xD}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};function i(r,i){let s=e;const f=c.config.getCurrentBidder();f&&t===o.UL&&l.ZP.aliasRegistry[f]===e&&(s=f);return r({valid:n(d.S1,(0,u.T)(t,s,{[a.bL]:i}))})}function h(e,t,n){if(!n||"function"!=typeof n)return i(e,t);p.push((function(){let r=i(e,t);n(r)}))}const m=function(e){return h((function(e){if(e&&e.valid)try{return!!window.localStorage}catch(e){(0,r.logError)("Local storage api disabled")}return!1}),f,e)};return{setCookie:function(e,t,n,r,i,o){return h((function(o){if(o&&o.valid){const o=i&&""!==i?` ;domain=${encodeURIComponent(i)}`:"",s=n&&""!==n?` ;expires=${n}`:"",a=null!=r&&"none"==r.toLowerCase()?"; Secure":"";document.cookie=`${e}=${encodeURIComponent(t)}${s}; path=/${o}${r?`; SameSite=${r}`:""}${a}`}}),g,o)},getCookie:function(e,t){return h((function(t){if(t&&t.valid){let t=window.document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]*)\\s*(;|$)");return t?decodeURIComponent(t[2]):null}return null}),g,t)},localStorageIsEnabled:function(e){return h((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}),f,e)},cookiesAreEnabled:function(e){return h((function(e){return!(!e||!e.valid)&&(0,r.checkCookieSupport)()}),g,e)},setDataInLocalStorage:function(e,t,n){return h((function(n){n&&n.valid&&m()&&window.localStorage.setItem(e,t)}),f,n)},getDataFromLocalStorage:function(e,t){return h((function(t){return t&&t.valid&&m()?window.localStorage.getItem(e):null}),f,t)},removeDataFromLocalStorage:function(e,t){return h((function(t){t&&t.valid&&m()&&window.localStorage.removeItem(e)}),f,t)},hasLocalStorage:m,findSimilarCookies:function(e,t){return h((function(t){if(t&&t.valid){const t=[];if((0,r.hasDeviceAccess)()){const n=document.cookie.split(";");for(;n.length;){const r=n.pop();let i=r.indexOf("=");i=i<0?r.length:i;decodeURIComponent(r.slice(0,i).replace(/^\s+/,"")).indexOf(e)>=0&&t.push(decodeURIComponent(r.slice(i+1)))}}return t}}),g,t)}}}function m(){let{moduleType:e,moduleName:t,bidderCode:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};function r(){throw new Error("Invalid invocation for getStorageManager: must set either bidderCode, or moduleType + moduleName")}return n?((e&&e!==o.UL||t)&&r(),e=o.UL,t=n):t&&e||r(),h({moduleType:e,moduleName:t})}function b(e){return h({moduleName:e,moduleType:o.wu})}(0,s.oB)(d.S1,"deviceAccess config",(function(){if(!(0,r.hasDeviceAccess)())return{allow:!1}})),(0,s.oB)(d.S1,"bidderSettings.*.storageAllowed",(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.S;if(e[a.$k]!==o.UL)return;let n=t.get(e[a.Ki],"storageAllowed");if(n&&!0!==n){const t=e[a.bL];n=Array.isArray(n)?n.some((e=>e===t)):n===t}else n=!!n;return n?void 0:{allow:n}}))},18621:(e,t,n)=>{n.d(t,{TL:()=>T,bP:()=>w,ol:()=>A,q0:()=>C});var r=n(64358),i=n(20265),o=n(3193),s=n(70059),a=n(78653),d=n(24679),c=n(92797),l=n(55975),u=n(34614),f=n(5644),g=n(31136),p=n(8833),h=[];const m="targetingControls.allowTargetingKeys",b="targetingControls.addTargetingKeys",y=`Only one of "${m}" or "${b}" can be set`,v=Object.keys(f.TARGETING_KEYS).map((e=>f.TARGETING_KEYS[e]));let E={isActualBid:e=>e.getStatusCode()===f.Q_.Q,isBidNotExpired:e=>e.responseTimestamp+1e3*(0,p.N)(e)>(0,r.timestamp)(),isUnusedBid:e=>e&&(e.status&&!(0,u.q9)([f.BID_STATUS.RENDERED],e.status)||!e.status)};function T(e){return!Object.values(E).some((t=>!t(e)))}const A=(0,c.z3)("sync",(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!(arguments.length>3&&void 0!==arguments[3]&&arguments[3])){const i=[],s=o.config.getConfig("sendBidsControl.dealPrioritization");let a=(0,r.groupBy)(e,"adUnitCode");return Object.keys(a).forEach((e=>{let o=[],d=(0,r.groupBy)(a[e],"bidderCode");Object.keys(d).forEach((e=>o.push(d[e].reduce(t)))),n>0?(o=s?o.sort(w(!0)):o.sort(((e,t)=>t.cpm-e.cpm)),i.push(...o.slice(0,n))):i.push(...o)})),i}return e}));function w(){let 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}}const C=function(e){let t={},n={};function a(e,t){return e.adserverTargeting&&t&&((0,r.isArray)(t)&&(0,u.q9)(t,e.adUnitCode)||"string"==typeof t&&e.adUnitCode===t)}function c(t){return"string"==typeof t?[t]:(0,r.isArray)(t)?t:e.getAdUnitCodes()||[]}function p(){let t=e.getBidsReceived();if(o.config.getConfig("useBidCache")){const e=o.config.getConfig("bidCacheFilterFunction");"function"==typeof e&&(t=t.filter((t=>n[t.adUnitCode]===t.auctionId||!!e(t))))}else t=t.filter((e=>n[e.adUnitCode]===e.auctionId));return t=t.filter((e=>(0,i.Z)(e,"video.context")!==d.Oh)).filter(T),t.forEach((e=>(e.latestTargetedAuctionId=n[e.adUnitCode],e))),A(t,g.K$)}function E(e,n){let r=t.getWinningBids(e,n),i=C();return r=r.map((e=>({[e.adUnitCode]:Object.keys(e.adserverTargeting).filter((t=>void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===i.indexOf(t))).reduce(((t,n)=>{const r=[e.adserverTargeting[n]],i={[n.substring(0,20)]:r};if(n===f.TARGETING_KEYS.DEAL){const o={[`${n}_${e.bidderCode}`.substring(0,20)]:r};return[...t,i,o]}return[...t,i]}),[])}))),r}function C(){return e.getStandardBidderAdServerTargeting().map((e=>e.key)).concat(v).filter(r.uniques)}function I(e,t,n,i){return Object.keys(t.adserverTargeting).filter(S()).forEach((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,r.isArray)(n.adserverTargeting[e])||(n.adserverTargeting[e]=[n.adserverTargeting[e]]),n.adserverTargeting[e]=n.adserverTargeting[e].concat(t.adserverTargeting[e]).filter(r.uniques),delete t.adserverTargeting[e]}}(n))})),e.push(t),e}function S(){let e=C();return e=e.concat(s.xc),function(t){return-1===e.indexOf(t)}}function B(e){return{[e.adUnitCode]:Object.keys(e.adserverTargeting).filter(S()).map((t=>({[t.substring(0,20)]:[e.adserverTargeting[t]]})))}}function k(e,t){return t.map((t=>({[`${t}_${e.bidderCode}`.substring(0,20)]:[e.adserverTargeting[t]]})))}return t.setLatestAuctionForAdUnit=function(e,t){n[e]=t},t.resetPresetTargeting=function(t,n){if((0,r.isGptPubadsDefined)()){const i=c(t),o=e.getAdUnits().filter((e=>(0,u.q9)(i,e.code)));let s=h.reduce(((e,t)=>(e[t]=null,e)),{});window.googletag.pubads().getSlots().forEach((e=>{let t=(0,r.isFn)(n)&&n(e);o.forEach((n=>{(n.code===e.getAdUnitPath()||n.code===e.getSlotElementId()||(0,r.isFn)(t)&&t(n.code))&&e.updateTargetingFromMap(s)}))}))}},t.resetPresetTargetingAST=function(e){c(e).forEach((function(e){const t=window.apntag.getTag(e);if(t&&t.keywords){const n=Object.keys(t.keywords),r={};n.forEach((e=>{(0,u.q9)(h,e.toLowerCase())||(r[e]=t.keywords[e])})),window.apntag.modifyTag(e,{keywords:r})}}))},t.getAllTargeting=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p();const d=c(t);var l=E(d,n).concat(function(e,t){return t.filter((t=>(0,u.q9)(e,t.adUnitCode))).map((e=>Object.assign({},e))).reduce(I,[]).map(B).filter((e=>e))}(d,n)).concat(o.config.getConfig("enableSendAllBids")?function(e,t){const n=v.concat(s.xc),r=o.config.getConfig("sendBidsControl.bidLimit"),i=A(t,g.ZH,r),d=o.config.getConfig("targetingControls.allowSendAllBidsTargetingKeys"),c=d?d.map((e=>f.TARGETING_KEYS[e])):n;return i.map((t=>{if(a(t,e))return{[t.adUnitCode]:k(t,n.filter((e=>void 0!==t.adserverTargeting[e]&&-1!==c.indexOf(e))))}})).filter((e=>e))}(d,n):function(e,t){if(!0===o.config.getConfig("targetingControls.alwaysIncludeDeals")){const n=v.concat(s.xc);return A(t,g.ZH).map((t=>{if(t.dealId&&a(t,e))return{[t.adUnitCode]:k(t,n.filter((e=>void 0!==t.adserverTargeting[e])))}})).filter((e=>e))}return[]}(d,n)).concat(function(t){function n(e){return(0,i.Z)(e,f.k2.xn)}function o(e){const t=n(e);return Object.keys(t).map((function(e){return(0,r.isStr)(t[e])&&(t[e]=t[e].split(",").map((e=>e.trim()))),(0,r.isArray)(t[e])||(t[e]=[t[e]]),{[e]:t[e]}}))}return e.getAdUnits().filter((e=>(0,u.q9)(t,e.code)&&n(e))).map((e=>({[e.code]:o(e)})))}(d));l.map((e=>{Object.keys(e).map((t=>{e[t].map((e=>{-1===h.indexOf(Object.keys(e)[0])&&(h=Object.keys(e).concat(h))}))}))}));const T=Object.keys(Object.assign({},f.kF,f.NATIVE_KEYS));let C=o.config.getConfig(m);const S=o.config.getConfig(b);if(null!=S&&null!=C)throw new Error(y);C=null!=S?T.concat(S):C||T,Array.isArray(C)&&C.length>0&&(l=function(e,t){const n=Object.assign({},f.TARGETING_KEYS,f.NATIVE_KEYS),i=Object.keys(n),o={};(0,r.logInfo)(`allowTargetingKeys - allowed keys [ ${t.map((e=>n[e])).join(", ")} ]`),e.map((e=>{const r=Object.keys(e)[0],s=e[r].filter((e=>{const r=Object.keys(e)[0],s=0===i.filter((e=>0===r.indexOf(n[e]))).length||(0,u.sE)(t,(e=>{const t=n[e];return 0===r.indexOf(t)}));return o[r]=!s,s}));e[r]=s}));const s=Object.keys(o).filter((e=>o[e]));return(0,r.logInfo)(`allowTargetingKeys - removed keys [ ${s.join(", ")} ]`),e.filter((e=>e[Object.keys(e)[0]].length>0))}(l,C)),l=function(e){let t=e.map((e=>({[Object.keys(e)[0]]:e[Object.keys(e)[0]].map((e=>({[Object.keys(e)[0]]:e[Object.keys(e)[0]].join(",")}))).reduce(((e,t)=>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}(l);const O=o.config.getConfig("targetingControls.auctionKeyMaxChars");return O&&((0,r.logInfo)(`Detected 'targetingControls.auctionKeyMaxChars' was active for this auction; set with a limit of ${O} characters. Running checks on auction keys...`),l=function(e,t){let n=(0,r.deepClone)(e),i=Object.keys(n).map((e=>({adUnitCode:e,adserverTargeting:n[e]}))).sort(w());return i.reduce((function(e,i,o,s){let a=(d=i.adserverTargeting,Object.keys(d).reduce((function(e,t){return e+`${t}%3d${encodeURIComponent(d[t])}%26`}),""));var d;o+1===s.length&&(a=a.slice(0,-3));let c=i.adUnitCode,l=a.length;return l<=t?(t-=l,(0,r.logInfo)(`AdUnit '${c}' auction keys comprised of ${l} characters. Deducted from running threshold; new limit is ${t}`,n[c]),e[c]=n[c]):(0,r.logWarn)(`The following keys for adUnitCode '${c}' exceeded the current limit of the 'auctionKeyMaxChars' setting.\nThe key-set size was ${l}, the current allotted amount was ${t}.\n`,n[c]),o+1===s.length&&0===Object.keys(e).length&&(0,r.logError)("No auction targeting keys were permitted due to the setting in setConfig(targetingControls.auctionKeyMaxChars). Please review setup and consider adjusting."),e}),{})}(l,O)),d.forEach((e=>{l[e]||(l[e]={})})),l},o.config.getConfig("targetingControls",(function(e){null!=(0,i.Z)(e,m)&&null!=(0,i.Z)(e,b)&&(0,r.logError)(y)})),t.setTargetingForGPT=function(e,t){window.googletag.pubads().getSlots().forEach((n=>{Object.keys(e).filter(t?t(n):(0,r.isAdUnitCodeMatchingSlot)(n)).forEach((t=>{Object.keys(e[t]).forEach((n=>{let r=e[t][n];"string"==typeof r&&-1!==r.indexOf(",")&&(r=r.split(",")),e[t][n]=r})),(0,r.logMessage)(`Attempting to set targeting-map for slot: ${n.getSlotElementId()} with targeting-map:`,e[t]),n.updateTargetingFromMap(e[t])}))}))},t.getWinningBids=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p();const n=c(e);return t.filter((e=>(0,u.q9)(n,e.adUnitCode))).filter((e=>!0===l.S.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0)).map((e=>e.adUnitCode)).filter(r.uniques).map((e=>t.filter((t=>t.adUnitCode===e?t:null)).reduce(g.ZH)))},t.setTargetingForAst=function(e){let n=t.getAllTargeting(e);try{t.resetPresetTargetingAST(e)}catch(e){(0,r.logError)("unable to reset targeting for AST"+e)}Object.keys(n).forEach((e=>Object.keys(n[e]).forEach((t=>{if((0,r.logMessage)(`Attempting to set targeting for targetId: ${e} key: ${t} value: ${n[e][t]}`),(0,r.isStr)(n[e][t])||(0,r.isArray)(n[e][t])){let r={},i=/pt[0-9]/;t.search(i)<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,r.isFn)(window.apntag.setKeywords))return!0},t}(a.K)},11974:(e,t,n)=>{n.d(t,{o:()=>f,userSync:()=>p});var r=n(64358),i=n(3193),o=n(34614),s=n(15164),a=n(50571),d=n(74947),c=n(16310),l=n(9633),u=n(10286);const f={syncEnabled:!0,filterSettings:{image:{bidders:"*",filter:"include"}},syncsPerBidder:5,syncDelay:3e3,auctionDelay:0};i.config.setDefaults({userSync:(0,r.deepClone)(f)});const g=(0,s.eA)("usersync");const p=function(e){let t={},n={image:[],iframe:[]},s=new Set,a={},f={image:!0,iframe:!1},g=e.config;function p(){if(g.syncEnabled&&e.browserSupportsCookies){try{!function(){if(!f.iframe)return;h(n.iframe,(e=>{let[t,i]=e;(0,r.logMessage)(`Invoking iframe user sync for bidder: ${t}`),(0,r.insertUserSyncIframe)(i),function(e,t){e.image=e.image.filter((e=>e[0]!==t))}(n,t)}))}(),function(){if(!f.image)return;h(n.image,(e=>{let[t,n]=e;(0,r.logMessage)(`Invoking image pixel user sync for bidder: ${t}`),(0,r.triggerPixel)(n)}))}()}catch(e){return(0,r.logError)("Error firing user syncs",e)}n={image:[],iframe:[]}}}function h(e,t){(0,r.shuffle)(e).forEach(t)}function m(e,t){let n=g.filterSettings;if(function(e,t){if(e.all&&e[t])return(0,r.logWarn)(`Detected presence of the "filterSettings.all" and "filterSettings.${t}" in userSync config. You cannot mix "all" with "iframe/image" configs; they are mutually exclusive.`),!1;let n=e.all?e.all:e[t],i=e.all?"all":t;if(!n)return!1;let o=n.filter,s=n.bidders;if(o&&"include"!==o&&"exclude"!==o)return(0,r.logWarn)(`UserSync "filterSettings.${i}.filter" setting '${o}' is not a valid option; use either 'include' or 'exclude'.`),!1;if("*"!==s&&!(Array.isArray(s)&&s.length>0&&s.every((e=>(0,r.isStr)(e)&&"*"!==e))))return(0,r.logWarn)(`Detected an invalid setup in userSync "filterSettings.${i}.bidders"; use either '*' (to represent all bidders) or an array of bidders.`),!1;return!0}(n,e)){f[e]=!0;let r=n.all?n.all:n[e],i="*"===r.bidders?[t]:r.bidders;const s={include:(e,t)=>!(0,o.q9)(e,t),exclude:(e,t)=>(0,o.q9)(e,t)};return s[r.filter||"include"](i,t)}return!f[e]}return i.config.getConfig("userSync",(e=>{if(e.userSync){let t=e.userSync.filterSettings;(0,r.isPlainObject)(t)&&(t.image||t.all||(e.userSync.filterSettings.image={bidders:"*",filter:"include"}))}g=Object.assign(g,e.userSync)})),e.regRule(d.K$,"userSync config",(e=>{if(!g.syncEnabled)return{allow:!1,reason:"syncs are disabled"};if(e[c.$k]===l.UL){const n=e[c.cx],r=e[c.bp];if(!t.canBidderRegisterSync(n,r))return{allow:!1,reason:`${n} syncs are not enabled for ${r}`}}})),t.registerSync=(t,i,o)=>s.has(i)?(0,r.logMessage)(`already fired syncs for "${i}", ignoring registerSync call`):g.syncEnabled&&(0,r.isArray)(n[t])?i?0!==g.syncsPerBidder&&Number(a[i])>=g.syncsPerBidder?(0,r.logWarn)(`Number of user syncs exceeded for "${i}"`):void(e.isAllowed(d.K$,(0,u.T)(l.UL,i,{[c.cx]:t,[c.IV]:o}))&&(n[t].push([i,o]),a=function(e,t){return e[t]?e[t]+=1:e[t]=1,e}(a,i))):(0,r.logWarn)("Bidder is required for registering sync"):(0,r.logWarn)(`User sync type "${t}" not supported`),t.bidderDone=s.add.bind(s),t.syncUsers=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(p,Number(e));p()},t.triggerUserSyncs=()=>{g.enableOverride&&t.syncUsers()},t.canBidderRegisterSync=(e,t)=>!g.filterSettings||!m(e,t),t}(Object.defineProperties({config:i.config.getConfig("userSync"),isAllowed:a.xD,regRule:a.oB},{browserSupportsCookies:{get:function(){return!(0,r.isSafariBrowser)()&&g.cookiesAreEnabled()}}}))},64358:(e,t,n)=>{n.r(t),n.d(t,{_each:()=>ce,_map:()=>ue,_setEventEmitter:()=>I,binarySearch:()=>at,buildUrl:()=>et,callBurl:()=>he,checkCookieSupport:()=>xe,cleanObj:()=>Ve,compareCodeAndSlot:()=>ze,contains:()=>le,createInvisibleIframe:()=>Q,createTrackPixelHtml:()=>ye,createTrackPixelIframeHtml:()=>ve,cyrb53Hash:()=>rt,debugTurnedOn:()=>J,deepAccess:()=>l.Z,deepClone:()=>ke,deepEqual:()=>tt,deepSetValue:()=>u.N,delayExecution:()=>Pe,flatten:()=>Te,formatQS:()=>Qe,generateUUID:()=>j,getBidIdParameter:()=>q,getBidRequest:()=>Ae,getBidderCodes:()=>Ce,getDNT:()=>Ke,getDefinedParams:()=>Me,getParameterByName:()=>X,getPerformanceNow:()=>De,getPrebidInternal:()=>O,getUniqueIdentifierStr:()=>_,getUserConfiguredParams:()=>Le,getValue:()=>we,getWindowLocation:()=>K,getWindowSelf:()=>L,getWindowTop:()=>W,groupBy:()=>$e,hasConsoleLogger:()=>Y,hasDeviceAccess:()=>Ne,inIframe:()=>Oe,insertElement:()=>fe,insertHtmlIntoIframe:()=>me,insertUserSyncIframe:()=>be,internal:()=>B,isA:()=>ee,isAdUnitCodeMatchingSlot:()=>Fe,isApnGetTagDefined:()=>Se,isArray:()=>re,isArrayOfNums:()=>Ye,isBoolean:()=>se,isEmpty:()=>ae,isEmptyStr:()=>de,isFn:()=>te,isGptPubadsDefined:()=>Ie,isInteger:()=>Ge,isNumber:()=>ie,isPlainObject:()=>oe,isSafariBrowser:()=>Ue,isStr:()=>ne,isValidMediaTypes:()=>We,logError:()=>G,logInfo:()=>F,logMessage:()=>z,logWarn:()=>Z,memoize:()=>ot,mergeDeep:()=>nt,parseGPTSingleSizeArray:()=>P,parseGPTSingleSizeArrayToRtbSize:()=>$,parseQS:()=>Je,parseQueryStringParameters:()=>D,parseSizesInput:()=>x,parseUrl:()=>Xe,pick:()=>He,prefixLog:()=>V,replaceAuctionPrice:()=>_e,replaceClickThrough:()=>je,replaceMacros:()=>Re,safeJSONParse:()=>it,setScriptAttributes:()=>st,shuffle:()=>Be,timestamp:()=>qe,transformAdServerTargetingObj:()=>N,triggerPixel:()=>pe,uniques:()=>Ee,unsupportedBidderMessage:()=>Ze,waitForElementToLoad:()=>ge});var r=n(3193),i=n(77079),o=n.n(i),s=n(34614),a=n(5644),d=n(68792),c=n(78640),l=n(20265),u=n(96475),f="String",g="Function",p="Number",h="Object",m="Boolean",b=Object.prototype.toString;let y,v=Boolean(window.console),E=Boolean(v&&window.console.log),T=Boolean(v&&window.console.info),A=Boolean(v&&window.console.warn),w=Boolean(v&&window.console.error);const C=(0,c.R)();function I(e){y=e}function S(){null!=y&&y(...arguments)}const B={checkCookieSupport:xe,createTrackPixelIframeHtml:ve,getWindowSelf:L,getWindowTop:W,getWindowLocation:K,insertUserSyncIframe:be,insertElement:fe,isFn:te,triggerPixel:pe,logError:G,logWarn:Z,logMessage:z,logInfo:F,parseQS:Je,formatQS:Qe,deepEqual:tt};let k={};function O(){return k}var U,R=(U=0,function(){return++U});function _(){return R()+Math.random().toString(16).substr(2)}function j(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,j)}function q(e,t){return t?.[e]||""}function D(e){let t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+"="+encodeURIComponent(e[n])+"&");return t=t.replace(/&$/,""),t}function N(e){return e&&Object.getOwnPropertyNames(e).length>0?Object.keys(e).map((t=>`${t}=${encodeURIComponent(e[t])}`)).join("&"):""}function x(e){return"string"==typeof e?e.split(",").filter((e=>e.match(/^(\d)+x(\d)+$/i))):"object"==typeof e?2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]?[P(e)]:e.map(P):[]}function P(e){if(M(e))return e[0]+"x"+e[1]}function $(e){if(M(e))return{w:e[0],h:e[1]}}function M(e){return re(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1])}function W(){return window.top}function L(){return window.self}function K(){return window.location}function z(){J()&&E&&console.log.apply(console,H(arguments,"MESSAGE:"))}function F(){J()&&T&&console.info.apply(console,H(arguments,"INFO:"))}function Z(){J()&&A&&console.warn.apply(console,H(arguments,"WARNING:")),S(a.EVENTS.AUCTION_DEBUG,{type:"WARNING",arguments})}function G(){J()&&w&&console.error.apply(console,H(arguments,"ERROR:")),S(a.EVENTS.AUCTION_DEBUG,{type:"ERROR",arguments})}function V(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(e,...r)}}return{logError:t(G),logWarn:t(Z),logMessage:t(z),logInfo:t(F)}}function H(e,t){e=[].slice.call(e);let n=r.config.getCurrentBidder();return t&&e.unshift(t),n&&e.unshift(i("#aaa")),e.unshift(i("#3b88c3")),e.unshift("%cPrebid"+(n?`%c${n}`:"")),e;function i(e){return`display: inline-block; color: #fff; background: ${e}; padding: 1px 4px; border-radius: 3px;`}}function Y(){return E}function J(){return!!r.config.getConfig("debug")}function Q(){var e=document.createElement("iframe");return e.id=_(),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.style.height="0px",e.style.width="0px",e.allowtransparency="true",e}function X(e){return Je(K().search)[e]||""}function ee(e,t){return b.call(e)==="[object "+t+"]"}function te(e){return ee(e,g)}function ne(e){return ee(e,f)}const re=Array.isArray.bind(Array);function ie(e){return ee(e,p)}function oe(e){return ee(e,h)}function se(e){return ee(e,m)}function ae(e){return!e||(re(e)||ne(e)?!(e.length>0):Object.keys(e).length<=0)}function de(e){return ne(e)&&(!e||0===e.length)}function ce(e,t){if(te(e?.forEach))return e.forEach(t,this);Object.entries(e||{}).forEach((e=>{let[n,r]=e;return t.call(this,r,n)}))}function le(e,t){return te(e?.includes)&&e.includes(t)}function ue(e,t){return te(e?.map)?e.map(t):Object.entries(e||{}).map((n=>{let[r,i]=n;return t(i,r,e)}))}function fe(e,t,n,r){let i;t=t||document,i=n?t.getElementsByTagName(n):t.getElementsByTagName("head");try{if(i=i.length?i:t.getElementsByTagName("body"),i.length){i=i[0];let t=r?null:i.firstChild;return i.insertBefore(e,t)}}catch(e){}}function ge(e,t){let n=null;return new d.Z((r=>{const i=function(){e.removeEventListener("load",i),e.removeEventListener("error",i),null!=n&&window.clearTimeout(n),r()};e.addEventListener("load",i),e.addEventListener("error",i),null!=t&&(n=window.setTimeout(i,t))}))}function pe(e,t,n){const r=new Image;t&&B.isFn(t)&&ge(r,n).then(t),r.src=e}function he(e){let{source:t,burl:n}=e;t===a.os.YZ&&n&&B.triggerPixel(n)}function me(e){if(!e)return;const t=Q();var n;B.insertElement(t,document,"body"),(n=t.contentWindow.document).open(),n.write(e),n.close()}function be(e,t,n){let r=B.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),i=document.createElement("div");i.innerHTML=r;let o=i.firstChild;t&&B.isFn(t)&&ge(o,n).then(t),B.insertElement(o,document,"html",!0)}function ye(e){if(!e)return"";let t='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return t+='<img src="'+encodeURI(e)+'"></div>',t}function ve(e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e?((!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(e=encodeURI(e)),t&&(t=`sandbox="${t}"`),`<iframe ${t} id="${_()}"\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="${e}">\n </iframe>`):""}function Ee(e,t,n){return n.indexOf(e)===t}function Te(e,t){return e.concat(t)}function Ae(e,t){if(e)return t.flatMap((e=>e.bids)).find((t=>["bidId","adId","bid_id"].some((n=>t[n]===e))))}function we(e,t){return e[t]}function Ce(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:C.adUnits).map((e=>e.bids.map((e=>e.bidder)).reduce(Te,[]))).reduce(Te,[]).filter((e=>void 0!==e)).filter(Ee)}function Ie(){if(window.googletag&&te(window.googletag.pubads)&&te(window.googletag.pubads().getSlots))return!0}function Se(){if(window.apntag&&te(window.apntag.getTag))return!0}function Be(e){let t=e.length;for(;t>0;){let n=Math.floor(Math.random()*t);t--;let r=e[t];e[t]=e[n],e[n]=r}return e}function ke(e){return o()(e)}function Oe(){try{return B.getWindowSelf()!==B.getWindowTop()}catch(e){return!0}}function Ue(){return/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent)}function Re(e,t){if(e)return Object.entries(t).reduce(((e,t)=>{let[n,r]=t;return e.replace(new RegExp("\\$\\{"+n+"\\}","g"),r||"")}),e)}function _e(e,t){return Re(e,{AUCTION_PRICE:t})}function je(e,t){if(e&&t&&"string"==typeof t)return e.replace(/\${CLICKTHROUGH}/g,t)}function qe(){return(new Date).getTime()}function De(){return window.performance&&window.performance.now&&window.performance.now()||0}function Ne(){return!1!==r.config.getConfig("deviceAccess")}function xe(){if(window.navigator.cookieEnabled||document.cookie.length)return!0}function Pe(e,t){if(t<1)throw new Error(`numRequiredCalls must be a positive number. Got ${t}`);let n=0;return function(){n++,n===t&&e.apply(this,arguments)}}function $e(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((t=>e[t])).reduce(((t,n)=>Object.assign(t,{[n]:e[n]})),{})}function We(e){const t=["banner","native","video"],n=["instream","outstream","adpod"];return!!Object.keys(e).every((e=>(0,s.q9)(t,e)))&&(!e.video||!e.video.context||(0,s.q9)(n,e.video.context))}function Le(e,t,n){return e.filter((e=>e.code===t)).flatMap((e=>e.bids)).filter((e=>e.bidder===n)).map((e=>e.params||{}))}function Ke(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack}const ze=(e,t)=>e.getAdUnitPath()===t||e.getSlotElementId()===t;function Fe(e){return t=>ze(e,t)}function Ze(e,t){const n=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return`\n ${e.code} is a ${n} ad unit\n containing bidders that don't support ${n}: ${t}.\n This bidder won't fetch demand.\n `}const Ge=Number.isInteger.bind(Number);function Ve(e){return Object.fromEntries(Object.entries(e).filter((e=>{let[t,n]=e;return void 0!==n})))}function He(e,t){return"object"!=typeof e?{}:t.reduce(((n,r,i)=>{if("function"==typeof r)return n;let o=r,s=r.match(/^(.+?)\sas\s(.+?)$/i);s&&(r=s[1],o=s[2]);let a=e[r];return"function"==typeof t[i+1]&&(a=t[i+1](a,n)),void 0!==a&&(n[o]=a),n}),{})}function Ye(e,t){return re(e)&&(!t||e.length===t)&&e.every((e=>Ge(e)))}function Je(e){return e?e.replace(/^\?/,"").split("&").reduce(((e,t)=>{let[n,r]=t.split("=");return/\[\]$/.test(n)?(n=n.replace("[]",""),e[n]=e[n]||[],e[n].push(r)):e[n]=r||"",e}),{}):{}}function Qe(e){return Object.keys(e).map((t=>Array.isArray(e[t])?e[t].map((e=>`${t}[]=${e}`)).join("&"):`${t}=${e[t]}`)).join("&")}function Xe(e,t){let n=document.createElement("a");t&&"noDecodeWholeURL"in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);let 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:B.parseQS(n.search||""),hash:(n.hash||"").replace(/^#/,""),host:n.host||window.location.host}}function et(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?`:${e.port}`:""))+(e.pathname||"")+(e.search?`?${B.formatQS(e.search||"")}`:"")+(e.hash?`#${e.hash}`:"")}function tt(e,t){let{checkTypes:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t||n&&e.constructor!==t.constructor)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){if(!t.hasOwnProperty(r))return!1;if(!tt(e[r],t[r],{checkTypes:n}))return!1}return!0}function nt(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;const i=n.shift();if(oe(e)&&oe(i))for(const t in i)oe(i[t])?(e[t]||Object.assign(e,{[t]:{}}),nt(e[t],i[t])):re(i[t])?e[t]?re(e[t])&&i[t].forEach((n=>{let r=1;for(let i=0;i<e[t].length;i++)if(tt(e[t][i],n)){r=0;break}r&&e[t].push(n)})):Object.assign(e,{[t]:[...i[t]]}):Object.assign(e,{[t]:i[t]});return nt(e,...n)}function rt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=function(e,t){if(te(Math.imul))return Math.imul(e,t);var n=(4194303&e)*(t|=0);return 4290772992&e&&(n+=(4290772992&e)*t|0),0|n},r=3735928559^t,i=1103547991^t;for(let t,o=0;o<e.length;o++)t=e.charCodeAt(o),r=n(r^t,2654435761),i=n(i^t,1597334677);return r=n(r^r>>>16,2246822507)^n(i^i>>>13,3266489909),i=n(i^i>>>16,2246822507)^n(r^r>>>13,3266489909),(4294967296*(2097151&i)+(r>>>0)).toString()}function it(e){try{return JSON.parse(e)}catch(e){}}function ot(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};const n=new Map,r=function(){const 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 st(e,t){Object.entries(t).forEach((t=>{let[n,r]=t;return e.setAttribute(n,r)}))}function at(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e,r=0,i=e.length&&e.length-1;const o=n(t);for(;i-r>1;){const t=r+Math.round((i-r)/2);o>n(e[t])?r=t:i=t}for(;e.length>r&&o>n(e[r]);)r++;return r}},36066:(e,t,n)=>{n.d(t,{O:()=>s});var r=n(78653),i=n(55975),o=n(64358);function s(e,t,n){let{index:s=r.K.index,bs:a=i.S}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n=n||s.getBidRequest(t);const d=t?.adapterCode,c=t?.bidderCode||n?.bidder,l=a.get(t?.adapterCode,"adjustAlternateBids"),u=a.getOwn(c,"bidCpmAdjustment")||a.get(l?d:c,"bidCpmAdjustment");if(u&&"function"==typeof u)try{return u(e,Object.assign({},t),n)}catch(e){(0,o.logError)("Error during bid adjustment",e)}return e}},99128:(e,t,n)=>{n.d(t,{A:()=>b,Bf:()=>g,V6:()=>p,g3:()=>m});var r=n(3193);const i="performanceMetrics",o=window.performance&&window.performance.now?()=>window.performance.now():()=>Date.now(),s=new WeakMap;function a(){let{now:e=o,mkNode:t=l,mkTimer:n=c,mkRenamer:r=(e=>e),nodes:i=s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(){return function o(s){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>({forEach(t){t(e)}});a=r(a);const d=(c="timestamps",function(e){return s.dfWalk({visit(t,n){const r=n[c];if(r.hasOwnProperty(e))return r[e]}})});var c;function l(e,t){const n=a(e);s.dfWalk({follow:(e,t)=>t.propagate&&(!e||!e.stopPropagation),visit(e,r){n.forEach((n=>{null==e?r.metrics[n]=t:(r.groups.hasOwnProperty(n)||(r.groups[n]=[]),r.groups[n].push(t))}))}})}function u(t){return n(e,(e=>l(t,e)))}function f(){let e={};return s.dfWalk({visit(t,n){e=Object.assign({},!t||t.includeGroups?n.groups:null,n.metrics,e)}}),e}const g={startTiming:u,measureTime:function(e,t){return u(e).stopAfter(t)()},measureHookTime:function(e,t,n){const r=u(e);return n(function(e){const t=r.stopBefore(e);return t.bail=e.bail&&r.stopBefore(e.bail),t.stopTiming=r,t.untimed=e,t}(t))},checkpoint:function(t){s.timestamps[t]=e()},timeSince:function(t,n){const r=d(t),i=null!=r?e()-r:null;return null!=n&&l(n,i),i},timeBetween:function(e,t,n){const r=d(e),i=d(t),o=null!=r&&null!=i?i-r:null;return null!=n&&l(n,o),o},setMetric:l,getMetrics:f,fork:function(){let{propagate:e=!0,stopPropagation:n=!1,includeGroups:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o(t([[s,{propagate:e,stopPropagation:n,includeGroups:r}]]),a)},join:function(e){let{propagate:t=!0,stopPropagation:n=!1,includeGroups:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=i.get(e);null!=o&&o.addParent(s,{propagate:t,stopPropagation:n,includeGroups:r})},newMetrics:function(){return o(s.newSibling(),a)},renameWith:function(e){return o(s,e)},toJSON:()=>f()};return i.set(g,s),g}(t([]))}}function d(e,t,n){return function(){t&&t();try{return e.apply(this,arguments)}finally{n&&n()}}}function c(e,t){const n=e();let r=!1;function i(){r||(t(e()-n),r=!0)}return i.stopBefore=e=>d(e,i),i.stopAfter=e=>d(e,null,i),i}function l(e){return{metrics:{},timestamps:{},groups:{},addParent(t,n){e.push([t,n])},newSibling:()=>l(e.slice()),dfWalk(){let t,{visit:n,follow:r=(()=>!0),visited:i=new Set,inEdge:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!i.has(this)){if(i.add(this),t=n(o,this),null!=t)return t;for(const[s,a]of e)if(r(o,a)&&(t=s.dfWalk({visit:n,follow:r,visited:i,inEdge:a}),null!=t))return t}}}}const u=(()=>{const e=function(){},t=()=>({}),n={forEach:e},r=()=>null;r.stopBefore=e=>e,r.stopAfter=e=>e;const i=Object.defineProperties({dfWalk:e,newSibling:()=>i,addParent:e},Object.fromEntries(["metrics","timestamps","groups"].map((e=>[e,{get:t}]))));return a({now:()=>0,mkNode:()=>i,mkRenamer:()=>()=>n,mkTimer:()=>r,nodes:{get:e,set:e}})()})();let f=!0;function g(e){return f&&e||u}r.config.getConfig(i,(e=>{f=!!e[i]}));const p=(()=>{const e=a();return function(){return f?e():u}})();function h(e,t){return function(n,r){return function(i){for(var o=arguments.length,s=new Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];const d=this;return g(t.apply(d,s)).measureHookTime(e+n,i,(function(e){return r.call(d,e,...s)}))}}}const m=h("requestBids.",(e=>e.metrics)),b=h("addBidResponse.",((e,t)=>t.metrics))},68792:(e,t,n)=>{n.d(t,{P:()=>s,Z:()=>o});const r=0,i=1;class o{#d;#c;static timeout(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new o((t=>{0===e?t():setTimeout(t,e)}))}constructor(e){if("function"!=typeof e)throw new Error("resolver not a function");const t=[],n=[];let[o,s]=[r,i].map((e=>function(i){if(e===r&&"function"==typeof i?.then)i.then(o,s);else if(!t.length)for(t.push(e,i);n.length;)n.shift()()}));try{e(o,s)}catch(e){s(e)}this.#d=t,this.#c=n}then(e,t){const n=this.#d;return new this.constructor(((i,o)=>{const s=()=>{let s=n[1],[a,d]=n[0]===r?[e,i]:[t,o];if("function"==typeof a){try{s=a(s)}catch(e){return void o(e)}d=i}d(s)};n.length?s():this.#c.push(s)}))}catch(e){return this.then(null,e)}finally(e){let t;return this.then((n=>(t=n,e())),(n=>(t=this.constructor.reject(n),e()))).then((()=>t))}static#l(e,t,n){let r=e.length;function i(){t.apply(this,arguments),--r<=0&&n&&n()}0===e.length&&n?n():e.forEach(((e,t)=>this.resolve(e).then((e=>i(!0,e,t)),(e=>i(!1,e,t)))))}static race(e){return new this(((t,n)=>{this.#l(e,((e,r)=>e?t(r):n(r)))}))}static all(e){return new this(((t,n)=>{let r=[];this.#l(e,((e,t,i)=>e?r[i]=t:n(t)),(()=>t(r)))}))}static allSettled(e){return new this((t=>{let n=[];this.#l(e,((e,t,r)=>n[r]=e?{status:"fulfilled",value:t}:{status:"rejected",reason:t}),(()=>t(n)))}))}static resolve(e){return new this((t=>t(e)))}static reject(e){return new this(((t,n)=>n(e)))}}function s(){let e,t,{promiseFactory:n=(e=>new o(e))}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};function r(e){return t=>e(t)}return{promise:n(((n,r)=>{e=n,t=r})),resolve:r(e),reject:r(t)}}},31136:(e,t,n)=>{function r(e,t){return e===t?0:e<t?-1:1}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e=>e;return(t,n)=>r(e(t),e(n))}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return(t,n)=>-e(t,n)||0}function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){for(const r of t){const t=r(e,n);if(0!==t)return t}return 0}}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return(t,n)=>e(n,t)<0?n:t}function d(){return a(o(arguments.length>0&&void 0!==arguments[0]?arguments[0]:r))}n.d(t,{K$:()=>f,LT:()=>a,ZH:()=>u,gW:()=>d,xI:()=>i});const c=i((e=>e.cpm)),l=i((e=>e.responseTimestamp)),u=d(s(c,o(i((e=>e.timeToRespond))))),f=d(s(c,o(l)));d(s(c,l))},10613:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(68792),i=n(64358);function o(){let{startTime:e=i.timestamp,ttl:t=(()=>null),monotonic:n=!1,slack:o=5e3}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const s=new Map,a=[],d=n?e=>a.push(e):e=>a.splice((0,i.binarySearch)(a,e,(e=>e.expiry)),0,e);let c,l;function u(){if(l&&clearTimeout(l),a.length>0){const e=(0,i.timestamp)();c=Math.max(e,a[0].expiry+o),l=setTimeout((()=>{const e=(0,i.timestamp)();let t=0;for(const n of a){if(n.expiry>e)break;s.delete(n.item),t++}a.splice(0,t),l=null,u()}),c-e)}else l=null}function f(n){const i={},s=g;let a;const[f,p]=Object.entries({start:e,delta:t}).map((e=>{let t,[f,p]=e;return function(){const e=t={};r.Z.resolve(p(n)).then((n=>{e===t&&(i[f]=n,s===g&&null!=i.start&&null!=i.delta&&(a=i.start+i.delta,d(h),(null==l||c>a+o)&&u()))}))}})),h={item:n,refresh:p,get expiry(){return a}};return f(),p(),h}let g={};return{[Symbol.iterator]:()=>s.keys(),add(e){!s.has(e)&&s.set(e,f(e))},clear(){a.length=0,u(),s.clear(),g={}},toArray:()=>Array.from(s.keys()),refresh(){a.length=0,u();for(const e of s.values())e.refresh()}}}},90154:(e,t,n)=>{n.d(t,{Dn:()=>u,LD:()=>c,cx:()=>l,gZ:()=>d,hD:()=>f});var r=n(20265),i=n(64358),o=n(3193),s=n(92797),a=n(78653);const d="outstream",c="instream";function l(e){const t=e?.mediaTypes?.video;null!=t&&null==t.plcmt&&(t.context===d||[2,3,4].includes(t.placement)?t.plcmt=4:t.context!==d&&[2,6].includes(t.playbackmethod)&&(t.plcmt=2))}function u(e){let{index:t=a.K.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,r.Z)(t.getMediaTypes(e),"video"),i=n&&(0,r.Z)(n,"context"),o=n&&(0,r.Z)(n,"useCacheKey"),s=t.getAdUnit(e);return f(e,s,n,i,o)}const f=(0,s.z3)("sync",(function(e,t,n,r,s){return n&&(s||r!==d)?o.config.getConfig("cache.url")||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):((0,i.logError)('\n This bid contains only vastXml and will not work when a prebid cache url is not specified.\n Try enabling prebid cache with stpd.setConfig({ cache: {url: "..."} });\n '),!1):!(r===d&&!s)||!!(e.renderer||t&&t.renderer||n.renderer)}),"checkVideoBidSetup")},79885:(e,t,n)=>{n.d(t,{h:()=>d,z:()=>c});var r=n(48928),i=n(3193),o=n(78653);const s=15;function a(e){let{index:t=o.K.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e.vastXml?e.vastXml:(r=e.vastUrl,a=e.vastImpUrl,`<VAST version="3.0">\n <Ad>\n <Wrapper>\n <AdSystem>prebid.org wrapper</AdSystem>\n <VASTAdTagURI><![CDATA[${r}]]></VASTAdTagURI>\n <Impression>${a?`<![CDATA[${a}]]>`:""}</Impression>\n <Creatives></Creatives>\n </Wrapper>\n </Ad>\n </VAST>`);var r,a;const d=t.getAuction(e);let c={type:"xml",value:n,ttlseconds:Number(e.ttl)+s};return i.config.getConfig("cache.vasttrack")&&(c.bidder=e.bidder,c.bidid=e.requestId,c.aid=e.auctionId),null!=d&&(c.timestamp=d.getAuctionStart()),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(c.key=e.customCacheKey),c}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.OI;const o={puts:e.map(a)};n(i.config.getConfig("cache.timeout"))(i.config.getConfig("cache.url"),function(e){return{success:function(t){let 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: ${t}: ${JSON.stringify(n)}`),[])}}}(t),JSON.stringify(o),{contentType:"text/plain",withCredentials:!0})}function c(e){return`${i.config.getConfig("cache.url")}?uuid=${e}`}},20265:(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:()=>r})},81432:e=>{ /* * @license MIT * Fun Hooks v0.9.10 * (c) @snapwich */ a.SYNC=1,a.ASYNC=2,a.QUEUE=4;var t="fun-hooks";var 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 s=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 a(e){var d,c={},l=[];function u(e,t){return"function"==typeof e?h.call(null,"sync",e,t):"string"==typeof e&&"function"==typeof t?h.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],s=r[1]||"sync";if(!i[o]){var a=e[o];i[o]=e[o]=h(s,a,n?[n,o]:void 0)}})),e=Object.getPrototypeOf(e)}while(r&&e);return i}function g(e){var n=Array.isArray(e)?e:e.split(".");return i.call(n,(function(r,i,o){var s=r[i],a=!1;return s||(o===n.length-1?(d||l.push((function(){a||console.warn(t+": referenced '"+e+"' but it was never created")})),r[i]=p((function(e){r[i]=e,a=!0}))):r[i]={})}),c)}function p(e){var t=[],n=[],i=function(){},o={before:function(e,n){return d.call(this,t,"before",e,n)},after:function(e,t){return d.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{s(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()}},a={install:function(r,o,s){this.type=r,i=s,s(t,n),e&&e(o)}};return r.set(o.after,a),o;function d(e,r,o,s){var a={hook:o,type:r,priority:s||10,remove:function(){var r=e.indexOf(a);-1!==r&&(e.splice(r,1),i(t,n))}};return e.push(a),e.sort((function(e,t){return t.priority-e.priority})),i(t,n),this}}function h(n,i,c){var u=i.after&&r.get(i.after);if(u){if(u.type!==n)throw t+": recreated hookable with different type";return i}var f,h,m=c?g(c):p(),b={get:function(e,t){return m[t]||Reflect.get.apply(Reflect,arguments)}};return d||l.push(y),e.useProxy&&"function"==typeof Proxy&&Proxy.revocable?h=new Proxy(i,b):(h=function(){return b.apply?b.apply(i,this,o(arguments)):i.apply(this,arguments)},s(h,m)),r.get(h.after).install(n,h,(function(e,t){var r,i=[];e.length||t.length?(e.forEach(s),r=i.push(void 0)-1,t.forEach(s),f=function(e,t,s){var a,d=0,c="async"===n&&"function"==typeof s[s.length-1]&&s.pop();function l(e){"sync"===n?a=e:c&&c.apply(null,arguments)}function u(e){if(i[d]){var r=o(arguments);return u.bail=l,r.unshift(u),i[d++].apply(t,r)}"sync"===n?a=e:c&&c.apply(null,arguments)}return i[r]=function(){var r=o(arguments,1);"async"===n&&c&&(delete u.bail,r.push(u));var i=e.apply(t,r);"sync"===n&&u(i)},u.apply(null,s),a}):f=void 0;function s(e){i.push(e.hook)}y()})),h;function y(){!d&&("sync"!==n||e.ready&a.SYNC)&&("async"!==n||e.ready&a.ASYNC)?"sync"!==n&&e.ready&a.QUEUE?b.apply=function(){var e=arguments;l.push((function(){h.apply(e[1],e[2])}))}:b.apply=function(){throw t+": hooked function not ready"}:b.apply=f}}return(e=s({},n,e)).ready?u.ready=function(){d=!0,function(e){for(var t;t=e.shift();)t()}(l)}:d=!0,u.get=g,u}e.exports=a},77079: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}},96475:(e,t,n)=>{function r(e,t,n){t.split&&(t=t.split("."));for(var r,i,o=0,s=t.length,a=e;o<s&&"__proto__"!==(i=t[o++])&&"constructor"!==i&&"prototype"!==i;)a=a[i]=o===s?n:typeof(r=a[i])==typeof t?r:0*t[o]!=0||~(""+t[o]).indexOf(".")?{}:[]}n.d(t,{N:()=>r})},5644:e=>{e.exports=JSON.parse('{"k2":{"xn":"adserverTargeting","zF":"standard"},"f":"pbjs_debug","Q_":{"Q":1},"EVENTS":{"AUCTION_INIT":"auctionInit","AUCTION_TIMEOUT":"auctionTimeout","AUCTION_END":"auctionEnd","BID_ADJUSTMENT":"bidAdjustment","BID_TIMEOUT":"bidTimeout","BID_REQUESTED":"bidRequested","BID_RESPONSE":"bidResponse","BID_REJECTED":"bidRejected","NO_BID":"noBid","SEAT_NON_BID":"seatNonBid","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_":{"Sn":"preventWritingOnMainDocument","Ex":"noAd","XW":"exception","WT":"cannotFindAd","mb":"missingDocOrAdid"},"aI":{"bidWon":"adUnitCode"},"Ql":{"yE":"low","M2":"medium","lj":"high","B7":"auto","uN":"dense","qN":"custom"},"TARGETING_KEYS":{"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","CRID":"hb_crid","DSP":"hb_dsp"},"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"},"NATIVE_KEYS":{"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"},"BID_STATUS":{"C":"targetingSet","RENDERED":"rendered","G":"bidRejected"},"Gw":{"UI":"Bid has missing or invalid properties","Gp":"Invalid request ID","Dg":"Bidder code is not allowed by allowedAlternateBidderCodes / allowUnknownBidderCodes","pe":"Bid does not meet price floor","Xx":"Unable to convert currency"},"PREBID_NATIVE_DATA_KEYS_TO_ORTB":{"body":"desc","body2":"desc2","sponsoredBy":"sponsored","cta":"ctatext","rating":"rating","address":"address","downloads":"downloads","likes":"likes","phone":"phone","price":"price","salePrice":"saleprice","displayUrl":"displayurl"},"NATIVE_ASSET_TYPES":{"sponsored":1,"desc":2,"rating":3,"likes":4,"downloads":5,"price":6,"saleprice":7,"phone":8,"address":9,"desc2":10,"displayurl":11,"ctatext":12},"NATIVE_IMAGE_TYPES":{"ICON":1,"MAIN":3},"NATIVE_KEYS_THAT_ARE_NOT_ASSETS":["privacyIcon","clickUrl","sendTargetingKeys","adTemplate","rendererUrl","type"],"C_":{"Ot":"noData","Vs":"adUnit","cl":"setConfig","jR":"fetch","MR":"success"}}')}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}};return t[e].call(o.exports,o,o.exports,r),o.exports}r.m=t,e=[],r.O=(t,n,i,o)=>{if(!n){var s=1/0;for(l=0;l<e.length;l++){n=e[l][0],i=e[l][1],o=e[l][2];for(var a=!0,d=0;d<n.length;d++)(!1&o||s>=o)&&Object.keys(r.O).every((e=>r.O[e](n[d])))?n.splice(d--,1):(a=!1,o<s&&(s=o));if(a){e.splice(l--,1);var c=i();void 0!==c&&(t=c)}}return t}o=o||0;for(var l=e.length;l>0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[n,i,o]},r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(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.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={25602:0};r.O.j=t=>0===e[t];var t=(t,n)=>{var i,o,s=n[0],a=n[1],d=n[2],c=0;if(s.some((t=>0!==e[t]))){for(i in a)r.o(a,i)&&(r.m[i]=a[i]);if(d)var l=d(r)}for(t&&t(n);c<s.length;c++)o=s[c],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(l)},n=self.stpdChunk=self.stpdChunk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var i=r.O(void 0,[38409],(()=>r(20327)));i=r.O(i)})();if(findCMP()){(self.stpdChunk=self.stpdChunk||[]).push([[21266],{55630:(n,e,t)=>{var o=t(78640),r=t(64358),s=t(96475),i=t(3193),a=t(34516),c=t(34614),l=t(99128),u=t(26372),d=t(54078),p=t(52712);const g=2;let f,m,b,C,y,P,v=!1;const M={iab:function(n){let{onSuccess:e,onError:t,onEvent:o}=n;const s=(0,p.b6)({apiName:"__tcfapi",apiVersion:g,apiArgs:["command","version","callback","parameter"]});if(!s)return t("TCF2 CMP not found.");s.isDirect?(0,r.logInfo)("Detected CMP API is directly accessible, calling it now..."):(0,r.logInfo)("Detected CMP is outside the current iframe where Prebid.js is located, calling it now...");s({command:"addEventListener",callback:function(n,s){(0,r.logInfo)("Received a response from CMP",n),s?(o(n),!1!==n.gdprApplies&&"tcloaded"!==n.eventStatus&&"useractioncomplete"!==n.eventStatus||A(n,{onSuccess:e,onError:t})):t("CMP unable to register callback function. Please check CMP setup.")}})},static:function(n){let{onSuccess:e,onError:t}=n;A(C,{onSuccess:e,onError:t})}};function S(n){let e,t,o=!1,r=null,s=!1;function i(n){null!=r&&clearTimeout(r),o||null==n||(0===n?e():r=setTimeout(e,n))}function l(e,t,r){if(i(null),o=!0,a.rp.setConsentData(e),"function"==typeof n){for(var s=arguments.length,c=new Array(s>3?s-3:0),l=3;l<s;l++)c[l-3]=arguments[l];n(t,r,...c)}}if(!(0,c.q9)(Object.keys(M),f))return void l(null,!1,`CMP framework (${f}) is not a supported framework. Aborting consentManagement module and resuming auction.`);const u={onSuccess:n=>l(n,!1),onError:function(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),o=1;o<e;o++)t[o-1]=arguments[o];l(null,!0,n,...t)},onEvent:function(n){t=n,s||(s=!0,null!=y&&i(y))}};e=()=>{const n=n=>{l(n,!1,(s?"Timeout waiting for user action on CMP":"CMP did not load")+", continuing auction...")};A(t,{onSuccess:n,onError:()=>n(w(void 0))})},M[f](u),null!=y&&s||i(m)}const h=(0,l.g3)("gdpr",(function(n,e){var t;t=function(t,o){if(o){let n=r.logWarn;t&&(n=r.logError,o=`${o} Canceling auction as per consentManagement config.`);for(var s=arguments.length,i=new Array(s>2?s-2:0),a=2;a<s;a++)i[a-2]=arguments[a];n(o,...i)}t?(n.stopTiming(),"function"==typeof e.bidsBackHandler?e.bidsBackHandler():(0,r.logError)("Error executing bidsBackHandler")):n.call(this,e)},P?((0,r.logInfo)("User consent information already known. Pulling internally stored information..."),t(!1)):S(t)}));function A(n,e){let{onSuccess:t,onError:o}=e;!function(){const e=n&&"boolean"==typeof n.gdprApplies?n.gdprApplies:b,t=n&&n.tcString;return!("boolean"==typeof e&&(!0!==e||t&&(0,r.isStr)(t)))}()?t(w(n)):o("CMP returned unexpected value during lookup process.",n)}function w(n){return P={consentString:n?n.tcString:void 0,vendorData:n||void 0,gdprApplies:n&&"boolean"==typeof n.gdprApplies?n.gdprApplies:b},n&&n.addtlConsent&&(0,r.isStr)(n.addtlConsent)&&(P.addtlConsent=n.addtlConsent),P.apiVersion=g,P}i.config.getConfig("consentManagement",(n=>function(n){(n=n&&(n.gdpr||n.usp||n.gpp?n.gdpr:n))&&"object"==typeof n?((0,r.isStr)(n.cmpApi)?f=n.cmpApi:(f="iab",(0,r.logInfo)("consentManagement config did not specify cmp. Using system default setting (iab).")),(0,r.isNumber)(n.timeout)?m=n.timeout:(m=1e4,(0,r.logInfo)("consentManagement config did not specify timeout. Using system default setting (10000).")),y=(0,r.isNumber)(n.actionTimeout)?n.actionTimeout:null,b=!0===n.defaultGdprScope,(0,r.logInfo)("consentManagement module has been activated..."),"static"===f&&((0,r.isPlainObject)(n.consentData)?(C=n.consentData,null!=C?.getTCData&&(C=C.getTCData),m=0):(0,r.logError)("consentManagement config with cmpApi: 'static' did not specify consentData. No consents will be available to adapters.")),v||(0,o.R)().requestBids.before(h,50),v=!0,a.rp.enable(),S()):(0,r.logWarn)("consentManagement (gdpr) config not defined, exiting consent manager")}(n.consentManagement))),d.S.before((function(n,e){return n(e.then((n=>{const e=a.rp.getConsentData();return e&&("boolean"==typeof e.gdprApplies&&(0,s.N)(n,"regs.ext.gdpr",e.gdprApplies?1:0),(0,s.N)(n,"user.ext.consent",e.consentString)),n})))})),(0,u.f8)({type:u.Z,name:"gdprAddtlConsent",fn:function(n,e){const t=e.gdprConsent?.addtlConsent;t&&"string"==typeof t&&(0,s.N)(n,"user.ext.ConsentedProvidersSettings.consented_providers",t)}}),(0,o.z)("consentManagement")},26372:(n,e,t)=>{t.d(e,{DZ:()=>s,Px:()=>i,TP:()=>c,YC:()=>a,Z:()=>r,f8:()=>d,fP:()=>p,gm:()=>o,md:()=>l});const o=["request","imp","bidResponse","response"],[r,s,i,a]=o,[c,l]=["default","pbs"],u=new Set(o);const{registerOrtbProcessor:d,getProcessors:p}=function(){const n={};return{registerOrtbProcessor(e){let{type:t,name:r,fn:s,priority:i=0,dialects:a=[c]}=e;if(!u.has(t))throw new Error(`ORTB processor type must be one of: ${o.join(", ")}`);a.forEach((e=>{n.hasOwnProperty(e)||(n[e]={}),n[e].hasOwnProperty(t)||(n[e][t]={}),n[e][t][r]={priority:i,fn:s}}))},getProcessors:e=>n[e]||{}}}()}},n=>{n.O(0,[17968,38409],(()=>{return e=55630,n(n.s=e);var e}));n.O()}]);}(self.stpdChunk=self.stpdChunk||[]).push([[39225],{28689:(n,e,i)=>{var s=i(78640),o=i(3193),t=i(86104),r=i(64358),c=i(20265),a=i(96475),f=i(26372);const h="Invalid schain object found: ",d=" should be a string",g=" should be an Integer",l=" should be an object",u=" should be an Array",p={STRICT:"strict",RELAXED:"relaxed",OFF:"off"},b=[];function m(n,e){let i=p.STRICT;if(function(n){return!(void 0===n||!(0,r.isPlainObject)(n)&&((0,r.logError)(h+"the following schain config will not be used as schain is not an object.",n),1))}(n)){if((0,r.isStr)(n.validation)&&-1!=b.indexOf(n.validation)&&(i=n.validation),i===p.OFF)return n.config;if(function(n,e){let i="Detected something wrong within an schain config:",s="";function o(n){s+="\n"+n}function t(){!0===e?(0,r.logError)(i,n,s):(0,r.logWarn)(i,n,s)}if(!(0,r.isPlainObject)(n)&&(o("schain.config"+l),t(),e))return!1;if((0,r.isNumber)(n.complete)&&(0,r.isInteger)(n.complete)||o("schain.config.complete"+g),(0,r.isStr)(n.ver)||o("schain.config.ver"+d),n.hasOwnProperty("ext")&&((0,r.isPlainObject)(n.ext)||o("schain.config.ext"+l)),(0,r.isArray)(n.nodes))n.nodes.forEach(((n,e)=>{(0,r.isStr)(n.asi)||o(`schain.config.nodes[${e}].asi`+d),(0,r.isStr)(n.sid)||o(`schain.config.nodes[${e}].sid`+d),(0,r.isNumber)(n.hp)&&(0,r.isInteger)(n.hp)||o(`schain.config.nodes[${e}].hp`+g),n.hasOwnProperty("rid")&&((0,r.isStr)(n.rid)||o(`schain.config.nodes[${e}].rid`+d)),n.hasOwnProperty("name")&&((0,r.isStr)(n.name)||o(`schain.config.nodes[${e}].name`+d)),n.hasOwnProperty("domain")&&((0,r.isStr)(n.domain)||o(`schain.config.nodes[${e}].domain`+d)),n.hasOwnProperty("ext")&&((0,r.isPlainObject)(n.ext)||o(`schain.config.nodes[${e}].ext`+l))}));else if(o("schain.config.nodes"+u),t(),e)return!1;return!(s.length>0&&(t(),e))}(n.config,!(i!==p.STRICT)))return n.config;(0,r.logError)(h+`due to the 'strict' validation setting, this schain config will not be passed to bidder '${e}'. See above error for details.`)}return null}function O(n,e){const i=o.config.getConfig("schain"),s=o.config.getBidderConfig();e.forEach((n=>{let e=n.bidderCode,o=function(n){return s[n]&&s[n].schain||i}(e);n.bids.forEach((n=>{let i=m(o,e);i&&(n.schain=(0,r.deepClone)(i))}))})),n(e)}(0,r._each)(p,(n=>b.push(n))),t.ZP.makeBidRequests.after(O),(0,f.f8)({type:f.Z,name:"sourceExtSchain",fn:function(n,e,i){if(!(0,c.Z)(n,"source.ext.schain")){const e=(0,c.Z)(i,"bidRequests.0.schain");e&&(0,a.N)(n,"source.ext.schain",e)}}}),(0,s.z)("schain")},26372:(n,e,i)=>{i.d(e,{DZ:()=>t,Px:()=>r,TP:()=>a,YC:()=>c,Z:()=>o,f8:()=>d,fP:()=>g,gm:()=>s,md:()=>f});const s=["request","imp","bidResponse","response"],[o,t,r,c]=s,[a,f]=["default","pbs"],h=new Set(s);const{registerOrtbProcessor:d,getProcessors:g}=function(){const n={};return{registerOrtbProcessor(e){let{type:i,name:o,fn:t,priority:r=0,dialects:c=[a]}=e;if(!h.has(i))throw new Error(`ORTB processor type must be one of: ${s.join(", ")}`);c.forEach((e=>{n.hasOwnProperty(e)||(n[e]={}),n[e].hasOwnProperty(i)||(n[e][i]={}),n[e][i][o]={priority:r,fn:t}}))},getProcessors:e=>n[e]||{}}}()}},n=>{n.O(0,[38409],(()=>{return e=28689,n(n.s=e);var e}));n.O()}]);(self.stpdChunk=self.stpdChunk||[]).push([[9215],{82547:(e,t,n)=>{var o=n(78640),r=n(34614),s=n(3193),i=n(52021),a=n(34516),c=n(86104),u=n(5644),l=n(92797),d=n(64358),g=n(20265);const f=new Map;function m(e){const t={};function n(e){const n=JSON.stringify([e.source?.toLowerCase(),e.ext]);t.hasOwnProperty(n)?t[n].uids.push(...e.uids):t[n]=e}return Object.entries(e).forEach((e=>{let[t,o]=e;o=Array.isArray(o)?o:[o];("pubProvidedId"===t?(0,d.deepClone)(o):o.map((e=>function(e,t){const n=f.get(t);if(n&&e){let t={};t.source=(0,d.isFn)(n.getSource)?n.getSource(e):n.source;const o=(0,d.isFn)(n.getValue)?n.getValue(e):e;if((0,d.isStr)(o)){const r={id:o,atype:n.atype};if((0,d.isFn)(n.getUidExt)){const t=n.getUidExt(e);t&&(r.ext=t)}if(t.uids=[r],(0,d.isFn)(n.getEidExt)){const o=n.getEidExt(e);o&&(t.ext=o)}return t}}return null}(e,t)))).filter((e=>null!=e)).forEach(n)})),Object.values(t)}var b=n(15164),h=n(96475),y=n(7563),p=n(68792),E=n(26372),I=n(99128),w=n(38196),S=n(9633),O=n(50571),D=n(74947),v=n(10286);const j="User ID",P=b.c$,k=b.Dp,$="_pbjs_id_optout",A=(0,b.eA)("userId"),C={isAllowed:O.xD};let N,T,x,U,R,L,_=!1,F=[],Z=[],q={},G=[];const M=(()=>{let e;return()=>(null==e&&(e=(0,I.V6)()),e)})();function B(e){return M().fork().renameWith((t=>[`userId.mod.${t}`,`userId.mods.${e}.${t}`]))}function W(e,t){t=t||e.storageMgr;const n="function"==typeof e.submodule.domainOverride?e.submodule.domainOverride():null,o=e.config.storage.name;return function(e,r,s){t.setCookie(o+(e||""),r,s,"Lax",n)}}function J(e,t){const n=e.config.storage,o=e.storageMgr;try{const r=new Date(Date.now()+864e5*n.expires).toUTCString(),s=(0,d.isPlainObject)(t)?JSON.stringify(t):t;if(n.type===P){const t=W(e);t(null,s,r),t("_cst",ge(),r),"number"==typeof n.refreshInSeconds&&t("_last",(new Date).toUTCString(),r)}else n.type===k&&(o.setDataInLocalStorage(`${n.name}_exp`,r),o.setDataInLocalStorage(`${n.name}_cst`,ge()),o.setDataInLocalStorage(n.name,encodeURIComponent(s)),"number"==typeof n.refreshInSeconds&&o.setDataInLocalStorage(`${n.name}_last`,(new Date).toUTCString()))}catch(e){(0,d.logError)(e)}}function V(e){let t=(0,d.getPrebidInternal)().setEidPermissions;"function"==typeof t&&(0,d.isArray)(e)&&t(function(e){let t=[];return e.filter((e=>(0,d.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length)).forEach((e=>{Object.keys(e.idObj).forEach((n=>{const o=f.get(n)||{};(0,g.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&o.source&&t.push({source:o.source,bidders:e.config.bidders})}))})),t}(e))}function z(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;const n=e.storageMgr,o=e.config.storage,r=t?`${o.name}_${t}`:o.name;let s;try{if(o.type===P)s=n.getCookie(r);else if(o.type===k){const e=n.getDataFromLocalStorage(`${o.name}_exp`);""===e?s=n.getDataFromLocalStorage(r):e&&new Date(e).getTime()-Date.now()>0&&(s=decodeURIComponent(n.getDataFromLocalStorage(r)))}"string"==typeof s&&"{"===s.trim().charAt(0)&&(s=JSON.parse(s))}catch(e){(0,d.logError)(e)}return s}function Y(e,t,n){t=M().fork().startTiming("userId.callbacks.total").stopBefore(t);const o=(0,d.delayExecution)((()=>{clearTimeout(T),t()}),e.length);e.forEach((function(e){const t=B(e.submodule.name).startTiming("callback").stopBefore(o);try{e.callback((function(o){o?(e.config.storage&&J(e,o),e.idObj=e.submodule.decode(o,e.config),me(H(n))):(0,d.logInfo)(`${j}: ${e.submodule.name} - request id responded with an empty value`),t()}),z.bind(null,e))}catch(n){(0,d.logError)(`Error in userID module '${e.submodule.name}':`,n),t()}e.callback=void 0}))}function H(e){return Array.isArray(e)&&e.length?Q(e):{}}function K(e,t,n){return Object.fromEntries(Object.entries(e.reduce(((e,o)=>{const r=t(o);return r&&Object.keys(r).forEach((t=>{const s=q[t]?.indexOf(n(o)),i={priority:(0,d.isNumber)(s)?s:-1,value:r[t]};if(e[t]){const n=i.priority>e[t].priority?i:e[t];e[t]=n}else e[t]=i})),e}),{})).map((e=>{let[t,n]=e;return[t,n.value]})))}function Q(e){return K(e.filter((e=>(0,d.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length)),(e=>e.idObj),(e=>e.submodule.name))}function X(e,t){[e].some((e=>!Array.isArray(e)||!e.length))||e.forEach((e=>{e.bids&&(0,d.isArray)(e.bids)&&e.bids.forEach((e=>{const n=function(e,t){return Array.isArray(e)&&e.length&&t?Q(e.filter((e=>!e.config.bidders||!(0,d.isArray)(e.config.bidders)||(0,r.q9)(e.config.bidders,t)))):{}}(t,e.bidder);Object.keys(n).length&&(e.userId=n,e.userIdAsEids=m(n))}))}))}const ee={};let te;function ne(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:se()||[];const t=R&&e.find((e=>e.source===R));if(t&&"string"==typeof(0,g.Z)(t,"uids.0.id")){const e=t.uids[0].id.replace(/[\W_]/g,"");if(e.length>=32&&e.length<=150)return e;(0,d.logWarn)(`User ID - Googletag Publisher Provided ID for ${R} is not between 32 and 150 characters - ${e}`)}}const oe=(0,I.g3)("userId",(function(e,t){let{delay:n=p.Z.timeout,getIds:r=de}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};p.Z.race([r().catch((()=>null)),n(U)]).then((()=>{X(t.adUnits||(0,o.R)().adUnits,N),M().join((0,I.Bf)(t.metrics),{propagate:!1,includeGroups:!0}),e.call(this,t)}))}));function re(){return H(N)}function se(){return m(re())}function ie(e){return m(function(e,t){if(!Array.isArray(e)||!e.length)return{};const n=Q(e),o=Object.keys(n).find((e=>{const n=f.get(e);return n?.source===t||(0,d.isFn)(n?.getSource)&&n.getSource()===t}));return o?{[o]:n[o]}:[]}(N,e))[0]}function ae(e,t,n){return te().then((()=>{let o={};if((0,d.isFn)(n)){(0,d.logInfo)(`${j} - Getting encrypted signal from custom function : ${n.name} & source : ${e} `);const t=n(e);o[e]=t?ce(t):null}else{const n=ie(e);(0,d.logInfo)(`${j} - Getting encrypted signal for eids :${JSON.stringify(n)}`),(0,d.isEmpty)(n)||(o[n.source]=!0===t?ce(n):n.uids[0].id)}return(0,d.logInfo)(`${j} - Fetching encrypted eids: ${o[e]}`),o[e]}))}function ce(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n="";if(1===t)n="object"==typeof e?window.btoa(JSON.stringify(e)):window.btoa(e);return`${t}||${n}`}function ue(){if(!(0,d.isGptPubadsDefined)())return;window.googletag.secureSignalProviders=window.googletag.secureSignalProviders||[];const e=s.config.getConfig("userSync.encryptedSignalSources");if(e){const t=e.registerDelay||0;setTimeout((()=>{e.sources&&e.sources.forEach((e=>{let{source:t,encrypt:n,customFunc:o}=e;t.forEach((e=>{window.googletag.secureSignalProviders.push({id:e,collectorFunction:()=>ae(e,n,o)})}))}))}),t)}else(0,d.logWarn)(`${j} - ESP : encryptedSignalSources config not defined under userSync Object`)}function le(){let{submoduleNames:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return te({refresh:!0,submoduleNames:e}).then((()=>(t&&(0,d.isFn)(t)&&t(),re())))}function de(){return te().then((()=>re()),(e=>e===ee?Promise.resolve().then(de):((0,d.logError)("Error initializing userId",e),p.Z.reject(e))))}function ge(){let e=Number(a.NO.hash);const t=[];for(;e>0;)t.push(String.fromCharCode(255&e)),e>>>=8;return btoa(t.join())}function fe(e,t,n){const o=a.rp.getConsentData();if(e.config.storage){let n,r=z(e),s=!1;if("number"==typeof e.config.storage.refreshInSeconds){const t=new Date(z(e,"last"));s=t&&Date.now()-t.getTime()>1e3*e.config.storage.refreshInSeconds}!r||s||t||function(e){const t=z(e,"cst");return!t||t!==ge()}(e)?n=e.submodule.getId(e.config,o,r):"function"==typeof e.submodule.extendId&&(n=e.submodule.extendId(e.config,o,r)),(0,d.isPlainObject)(n)&&(n.id&&(J(e,n.id),r=n.id),"function"==typeof n.callback&&(e.callback=n.callback)),r&&(e.idObj=e.submodule.decode(r,e.config))}else if(e.config.value)e.idObj=e.config.value;else{const t=e.submodule.getId(e.config,o,void 0);(0,d.isPlainObject)(t)&&("function"==typeof t.callback&&(e.callback=t.callback),t.id&&(e.idObj=e.submodule.decode(t.id,e.config)))}me(H(n))}function me(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re();if(e&&R){const t=ne(m(e));t&&((0,d.isGptPubadsDefined)()?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 be(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return M().fork().measureTime("userId.init.modules",(function(){if(!t.length)return[];if(!(t=t.filter((e=>(!e.config.storage||function(e){switch(e.config?.storage?.type){case k:if(e.storageMgr.localStorageIsEnabled())return!A.getDataFromLocalStorage($)||((0,d.logInfo)(`${j} - opt-out localStorage found, storage disabled`),!1);break;case P:if(e.storageMgr.cookiesAreEnabled())return!A.getCookie($)||((0,d.logInfo)(`${j} - opt-out cookie found, storage disabled`),!1)}return!1}(e))&&C.isAllowed(D.EL,(0,v.T)(S.y2,e.config.name))))).length)return(0,d.logWarn)(`${j} - no ID module configured`),[];const o=t.reduce(((e,o)=>B(o.submodule.name).measureTime("init",(()=>{try{fe(o,n,t),e.push(o)}catch(e){(0,d.logError)(`Error in userID module '${o.submodule.name}':`,e)}return e}))),[]);return o.length&&V(o),o.forEach(he.bind(null,e)),o}))}function he(e,t){let n=!1;for(let o=0;o<e.length;o++)if(t.config.name.toLowerCase()===e[o].config.name.toLowerCase()){n=!0,e[o]=t;break}n||e.push(t)}const ye=new Set([k,P]);function pe(e){f.clear(),Object.entries(K(e,(e=>e.eids),(e=>e.name))).forEach((e=>{let[t,n]=e;return f.set(t,n)}))}function Ee(){pe(G);const e=function(e,t){return Array.isArray(e)?e.reduce(((e,t)=>(!t||(0,d.isEmptyStr)(t.name)||(t.storage&&!(0,d.isEmptyStr)(t.storage.type)&&!(0,d.isEmptyStr)(t.storage.name)&&ye.has(t.storage.type)||(0,d.isPlainObject)(t.value)?e.push(t):t.storage||t.value||e.push(t)),e)),[]):[]}(Z);if(!e.length)return;const t=G.filter((e=>!(0,r.sE)(F,(t=>t.name===e.name))));F.splice(0,F.length),t.map((t=>{const n=(0,r.sE)(e,(e=>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=w.W,n?{submodule:t,config:n,callback:void 0,idObj:void 0,storageMgr:(0,b.df)({moduleType:S.y2,moduleName:n.name})}:null})).filter((e=>null!==e)).forEach((e=>F.push(e))),!_&&F.length&&((0,o.R)().requestBids.before(oe,40),c.ZP.callDataDeletionRequest.before(Ie),y.G.after((e=>e(ne()))),(0,d.logInfo)(`${j} - usersync config updated for ${F.length} submodules: `,F.map((e=>e.submodule.name))),_=!0)}function Ie(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];(0,d.logInfo)("UserID: received data deletion request; deleting all stored IDs..."),F.forEach((e=>{if("function"==typeof e.submodule.onDataDeletionRequest)try{e.submodule.onDataDeletionRequest(e.config,e.idObj,...n)}catch(t){(0,d.logError)(`Error calling onDataDeletionRequest for ID submodule ${e.submodule.name}`,t)}!function(e){let t,n;switch(e.config?.storage?.type){case P:const o=W(e,A),r=new Date(Date.now()-864e5).toUTCString();t=e=>o(e,"",r),n=["","_last","_cst"];break;case k:t=t=>A.removeDataFromLocalStorage(e.config.storage.name+t),n=["","_last","_exp","_cst"]}t&&n.forEach((e=>{try{t(e)}catch(e){(0,d.logError)(e)}}))}(e)})),e.apply(this,n)}function we(e){return function(){return Promise.resolve(e.apply(this,arguments))}}!function(e){let{delay:t=p.Z.timeout}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};R=void 0,F=[],Z=[],_=!1,N=[],te=function(){let{delay:e=p.Z.timeout}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,p.P)(),n=(0,p.P)();let o,r,s=!1;function c(e){return r=M().fork(),null!=o&&o.reject(ee),o=(0,p.P)(),p.Z.race([e,o.promise]).finally(r.startTiming("userId.total"))}let g=N,f=F;function m(e){return function(){if(g===N&&f===F)return e(...arguments)}}function b(){return a.NO.promise.finally(r.startTiming("userId.init.consent"))}let h=c(p.Z.all([l.Cd,t.promise]).then(b).then(m((()=>{be(g,f)}))).then((()=>n.promise.finally(r.startTiming("userId.callbacks.pending")))).then(m((()=>{const e=g.filter((e=>(0,d.isFn)(e.callback)));if(e.length)return new p.Z((t=>Y(e,t,g)))}))));return function(){let{refresh:o=!1,submoduleNames:r=null,ready:a=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a&&!s&&(s=!0,t.resolve(),U>0?n.resolve():i.on(u.EVENTS.AUCTION_END,(function t(){i.off(u.EVENTS.AUCTION_END,t),e(x).then(n.resolve)}))),o&&s&&(h=c(h.catch((()=>null)).then(b).then(m((()=>{const e=be(g,f.filter((e=>null==r||r.includes(e.submodule.name))),!0).filter((e=>null!=e.callback));if(e.length)return new p.Z((t=>Y(e,t,g)))}))))),h}}({delay:t}),null!=L&&L(),G=[],L=e.getConfig("userSync",(e=>{const t=e.userSync;t&&(R=t.ppid,t.userIds&&(Z=t.userIds,x=(0,d.isNumber)(t.syncDelay)?t.syncDelay:500,U=(0,d.isNumber)(t.auctionDelay)?t.auctionDelay:0,Ee(),function(e,t){if(e){const n={},o=new Map(t.map((e=>e.submodule.aliasName?[e.submodule.aliasName,e.submodule.name]:[])));Object.keys(e).forEach((t=>{const r=(0,d.isArray)(e[t])?[...e[t]].reverse():[];n[t]=r.map((e=>o.has(e)?o.get(e):e))})),q=n}else q={}}(t.idPriority,F),te({ready:!0})))})),(0,o.R)().getUserIds=re,(0,o.R)().getUserIdsAsEids=se,(0,o.R)().getEncryptedEidsForSource=we(ae),(0,o.R)().registerSignalSources=ue,(0,o.R)().refreshUserIds=we(le),(0,o.R)().getUserIdsAsync=we(de),(0,o.R)().getUserIdsAsEidBySource=ie}(s.config),(0,l.bA)("userId",(function(e){(0,r.sE)(G,(t=>t.name===e.name))||(G.push(e),a.qh.register(S.y2,e.name,e.gvlid),Ee(),te({refresh:!0,submoduleNames:[e.name]}))})),(0,E.f8)({type:E.Z,name:"userExtEids",fn:function(e,t,n){const o=(0,g.Z)(n,"bidRequests.0.userIdAsEids");o&&Object.keys(o).length>0&&(0,h.N)(e,"user.ext.eids",o)}}),(0,o.z)("userId")},7563:(e,t,n)=>{n.d(t,{G:()=>o});const o=(0,n(92797).z3)("sync",(()=>{}))},26372:(e,t,n)=>{n.d(t,{DZ:()=>s,Px:()=>i,TP:()=>c,YC:()=>a,Z:()=>r,f8:()=>d,fP:()=>g,gm:()=>o,md:()=>u});const o=["request","imp","bidResponse","response"],[r,s,i,a]=o,[c,u]=["default","pbs"],l=new Set(o);const{registerOrtbProcessor:d,getProcessors:g}=function(){const e={};return{registerOrtbProcessor(t){let{type:n,name:r,fn:s,priority:i=0,dialects:a=[c]}=t;if(!l.has(n))throw new Error(`ORTB processor type must be one of: ${o.join(", ")}`);a.forEach((t=>{e.hasOwnProperty(t)||(e[t]={}),e[t].hasOwnProperty(n)||(e[t][n]={}),e[t][n][r]={priority:i,fn:s}}))},getProcessors:t=>e[t]||{}}}()}},e=>{e.O(0,[38409],(()=>{return t=82547,e(e.s=t);var t}));e.O()}]);(self.stpdChunk=self.stpdChunk||[]).push([[92972],{54834:(e,o,t)=>{var n=t(78640),r=t(64358),d=t(92797),i=t(34516),a=t(15164),u=t(9633),c=t(81694);const l=(0,a.df)({moduleType:u.y2,moduleName:"sharedId"}),s="cookie",m="html5",f="_pubcid_optout",g="PublisherCommonId";function p(e,o){if(o===s)return l.getCookie(e);if(o===m&&l.hasLocalStorage()){const o=l.getDataFromLocalStorage(`${e}_exp`);if(!o)return l.getDataFromLocalStorage(e);if(new Date(o).getTime()-Date.now()>0)return l.getDataFromLocalStorage(e)}}function I(e,o){return function(t,n){o?b(o,e,(()=>{t(n()||e)}))():t(e)}}function b(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2?arguments[2]:void 0;if(!e)return;const n=(0,r.parseUrl)(e);n.search.id=encodeURIComponent("pubcid:"+o);const d=(0,r.buildUrl)(n);return function(){(0,r.triggerPixel)(d,t)}}function h(){return!!(l.cookiesAreEnabled()&&p(f,s)||l.hasLocalStorage()&&p(f,m))}const v={name:"sharedId",aliasName:"pubCommonId",gvlid:i.$P,decode(e,o){if(h())return void(0,r.logInfo)("PubCommonId decode: Has opted-out");(0,r.logInfo)(" Decoded value PubCommonId "+e);return{pubcid:e}},getId:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>2?arguments[2]:void 0;if(h())return void(0,r.logInfo)("PubCommonId: Has opted-out");if(i.VP.getCoppa())return void(0,r.logInfo)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId");const{params:{create:t=!0,pixelUrl:n}={}}=e;let d=o;if(!d){try{"object"==typeof window[g]&&(d=window[g].getId())}catch(e){}d||(d=t&&(0,r.hasDeviceAccess)()?(0,r.generateUUID)():void 0)}return{id:d,callback:I(d,n)}},extendId:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>2?arguments[2]:void 0;if(h())return(0,r.logInfo)("PubCommonId: Has opted-out"),{id:void 0};if(i.VP.getCoppa())return void(0,r.logInfo)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId");const{params:{extend:t=!1,pixelUrl:n}={}}=e;if(t){if(n){return{callback:b(n,o)}}return{id:o}}},domainOverride:(0,c.U)(l,"sharedId"),eids:{pubcid:{source:"pubcid.org",atype:1}}};(0,d.Bx)("userId",v),(0,n.z)("sharedIdSystem")}},e=>{e.O(0,[57748,38409],(()=>{return o=54834,e(e.s=o);var o}));e.O()}]);(self.stpdChunk=self.stpdChunk||[]).push([[61618],{10272:(e,t,r)=>{var n=r(78640),o=r(20265),i=r(64358),a=r(96475),s=r(48928),c=r(92797),u=r(25102),d=r(15164),l=r(34516),g=r(9633);const p=30,f="id5id",h=`${f}_privacy`,m="html5",b="User ID - ID5 submodule: ",v=["pbjs-id5id","id5id.1st","id5id"],y=(0,d.df)({moduleType:g.y2,moduleName:"id5Id"}),D={name:"id5Id",gvlid:131,decode(e,t){let r,n={};if(!e||"string"!=typeof e.universal_uid)return;r=e.universal_uid,n=e.ext||n;let s={id5id:{uid:r,ext:n}};switch((0,o.Z)(e,"ab_testing.result")){case"control":(0,i.logInfo)(b+"A/B Testing - user is in the Control Group: ID5 ID is NOT exposed"),(0,a.N)(s,"id5id.ext.abTestingControlGroup",!0);break;case"error":(0,i.logError)(b+"A/B Testing ERROR! controlGroupPct must be a number >= 0 and <= 1");break;case"normal":(0,i.logInfo)(b+"A/B Testing - user is NOT in the Control Group"),(0,a.N)(s,"id5id.ext.abTestingControlGroup",!1)}return(0,i.logInfo)(b+"Decoded ID",s),s},getId(e,t,r){if(!S(e))return;if(!N(t))return void(0,i.logInfo)(b+"Skipping ID5 local storage write because no consent given.");return{callback:function(n){new I(e,t,r,l.nX.getConsentData()).execute().then((e=>{n(e)})).catch((e=>{(0,i.logError)(b+"getId fetch encountered an error",e),n()}))}}},extendId(e,t,r){if(!N(t))return(0,i.logInfo)(b+"No consent given for ID5 local storage writing, skipping nb increment."),r;return O(S(e)?e.params.partner:0),(0,i.logInfo)(b+"using cached ID",r),r},eids:{id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}}}};class I{constructor(e,t,r,n){this.submoduleConfig=e,this.gdprConsentData=t,this.cacheIdObj=r,this.usPrivacyData=n}execute(){return this.#e(this.submoduleConfig).then((e=>this.#t(e.extensionsCall).then((t=>this.#r(e.fetchCall,t))))).then((e=>{try{x(this.submoduleConfig.params.partner,0),e.privacy&&P(h,JSON.stringify(e.privacy),p)}catch(e){(0,i.logError)(b+e)}return e}))}#n(e,t,r){return new Promise(((n,o)=>{(0,s.hj)(e,{success:function(e){n(e)},error:function(e){o(e)}},t,r)}))}#e(e){let t=e.params.configUrl||"https://id5-sync.com/api/config/prebid";return this.#n(t,JSON.stringify(e),{method:"POST"}).then((e=>{let t=JSON.parse(e);return(0,i.logInfo)(b+"config response received from the server",t),t}))}#t(e){if(void 0===e)return Promise.resolve(void 0);let t=e.url,r=e.method||"GET",n="GET"===r?void 0:JSON.stringify(e.body||{});return this.#n(t,n,{method:r}).then((e=>{let t=JSON.parse(e);return(0,i.logInfo)(b+"extensions response received from the server",t),t}))}#r(e,t){let r=e.url,n=e.overrides||{},o={...this.#o(),...n,extensions:t};return this.#n(r,JSON.stringify(o),{method:"POST",withCredentials:!0}).then((e=>{let t=JSON.parse(e);return(0,i.logInfo)(b+"fetch response received from the server",t),t}))}#o(){const e=this.submoduleConfig.params,t=this.gdprConsentData&&"boolean"==typeof this.gdprConsentData.gdprApplies&&this.gdprConsentData.gdprApplies?1:0,r=(0,u.nH)(),n=this.cacheIdObj&&this.cacheIdObj.signature?this.cacheIdObj.signature:function(){let e;return v.forEach((function(t){y.getCookie(t)&&(e=(0,i.safeJSONParse)(y.getCookie(t))||e)})),e&&e.signature||""}(),o=O(e.partner),a={partner:e.partner,gdpr:t,nbPage:o,o:"pbjs",tml:r.topmostLocation,ref:r.ref,cu:r.canonicalUrl,top:r.reachedTop?1:0,u:r.stack[0]||window.location.href,v:"8.27.0",storage:this.submoduleConfig.storage,localStorage:y.localStorageIsEnabled()?1:0};!t||void 0===this.gdprConsentData.consentString||(0,i.isEmpty)(this.gdprConsentData.consentString)||(0,i.isEmptyStr)(this.gdprConsentData.consentString)||(a.gdpr_consent=this.gdprConsentData.consentString),void 0===this.usPrivacyData||(0,i.isEmpty)(this.usPrivacyData)||(0,i.isEmptyStr)(this.usPrivacyData)||(a.us_privacy=this.usPrivacyData),void 0===n||(0,i.isEmptyStr)(n)||(a.s=n),void 0===e.pd||(0,i.isEmptyStr)(e.pd)||(a.pd=e.pd),void 0===e.provider||(0,i.isEmptyStr)(e.provider)||(a.provider=e.provider);const s=e.abTesting||{enabled:!1};return s.enabled&&(a.ab_testing={enabled:!0,control_group_pct:s.controlGroupPct}),a}}function S(e){if(!e||!e.params||!e.params.partner)return(0,i.logError)(b+"partner required to be defined"),!1;const t=e.params.partner;if("string"==typeof t||t instanceof String){let r=parseInt(t);if(isNaN(r)||r<0)return(0,i.logError)(b+"partner required to be a number or a String parsable to a positive integer"),!1;e.params.partner=r}else if("number"!=typeof t)return(0,i.logError)(b+"partner required to be a number or a String parsable to a positive integer"),!1;return e.storage&&e.storage.type&&e.storage.name?(e.storage.type!==m&&(0,i.logWarn)(b+`storage type recommended to be '${m}'. In a future release this may become a strict requirement`),e.storage.name!==f&&(0,i.logWarn)(b+`storage name recommended to be '${f}'. In a future release this may become a strict requirement`),!0):((0,i.logError)(b+"storage required to be set"),!1)}function C(e){return`${f}_${e}_nb`}function x(e,t){P(C(e),t,p)}function E(e){let t=function(e){const t=y.getDataFromLocalStorage(`${e}_exp`);if(""===t)return y.getDataFromLocalStorage(e);if(t&&new Date(t).getTime()-Date.now()>0)return y.getDataFromLocalStorage(e);return y.removeDataFromLocalStorage(e),null}(C(e));return t?parseInt(t):0}function O(e){const t=E(e)+1;return x(e,t),t}function P(e,t,r){y.setDataInLocalStorage(`${e}_exp`,function(e){return new Date(Date.now()+864e5*e).toUTCString()}(r)),y.setDataInLocalStorage(`${e}`,t)}function N(e){const t=e&&"boolean"==typeof e.gdprApplies&&e.gdprApplies,r=(0,o.Z)(e,"vendorData.purpose.consents.1"),n=(0,o.Z)(e,`vendorData.vendor.consents.${131..toString()}`);return!!(!t||r&&n)}(0,c.Bx)("userId",D),(0,n.z)("id5IdSystem")}},e=>{e.O(0,[38409],(()=>{return t=10272,e(e.s=t);var t}));e.O()}]);(self.stpdChunk=self.stpdChunk||[]).push([[79073],{7713:(e,t,o)=>{var n=o(78640),r=o(64358),i=o(48928),a=o(25102),c=o(92797),s=o(15164),d=o(9633),l=o(34516);const p="criteo",g=(0,s.df)({moduleType:d.y2,moduleName:p}),u="cto_bidid",m="cto_bundle",b="html5",y="cookie",I=new Date(0).toString(),f=new Date((0,r.timestamp)()+33696e6).toString();function h(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=(0,r.parseUrl)(e,{noDecodeWholeURL:!0});return t?`${o.hostname}`:`${o.protocol}://${o.hostname}${o.port?":"+o.port:""}/`}function S(e,t){return e?.storage?.type===b?g.getDataFromLocalStorage(t):e?.storage?.type===y?g.getCookie(t):g.getCookie(t)||g.getDataFromLocalStorage(t)}function C(e,t,o,n){t&&o&&(e?.storage?.type===b?g.setDataInLocalStorage(t,o):(e?.storage?.type===y||g.setDataInLocalStorage(t,o),U(t,o,f,n,!0)))}function U(e,t,o,n,r){const i=n.split(".");for(let n=0;n<i.length;++n){const a=i.slice(i.length-n-1,i.length).join(".");try{if(g.setCookie(e,t,o,null,"."+a),r){const o=g.getCookie(e);if(o&&o===t)break}}catch(e){}}}function v(e,t,o){const n=(void 0===e?.storage?.type||e?.storage?.type===y)&&g.cookiesAreEnabled(),c=(void 0===e?.storage?.type||e?.storage?.type===b)&&g.localStorageIsEnabled(),s=h((0,a.nH)().page),d=h(document.location.href,!0),p="undefined"!=typeof criteo_pubtag,f=function(e,t,o,n,r,i,a){let c="https://gum.criteo.com/sid/json?origin=prebid"+(e?"&topUrl="+encodeURIComponent(e):"")+(t?"&domain="+encodeURIComponent(t):"")+(o?"&bundle="+encodeURIComponent(o):"")+(n?"&info="+encodeURIComponent(n):"")+(r?"&cw=1":"")+(a?"&pbt=1":"")+(i?"&lsw=1":"");const s=l.nX.getConsentData();s&&(c+=`&us_privacy=${encodeURIComponent(s)}`);const d=l.rp.getConsentData();d&&(c=c+""+(d.consentString?"&gdprString="+encodeURIComponent(d.consentString):""),c=c+"&gdpr="+(!0===d.gdprApplies?1:0));const p=l.TJ.getConsentData();return p&&(c=c+""+(p.gppString?"&gpp="+encodeURIComponent(p.gppString):""),c=c+""+(p.applicableSections?"&gpp_sid="+encodeURIComponent(p.applicableSections):"")),c}(s,d,t.bundle,t.dnaBundle,n,c,p),S={success:t=>{const n=JSON.parse(t);if(n.pixels&&n.pixels.forEach((t=>function(e,t,o){o.writeBundleInStorage&&o.bundlePropertyName&&o.storageKeyName?(0,i.hj)(o.pixelUrl,{success:n=>{if(n){const r=JSON.parse(n);r&&r[o.bundlePropertyName]&&C(e,o.storageKeyName,r[o.bundlePropertyName],t)}},error:e=>{(0,r.logError)("criteoIdSystem: unable to sync user id",e)}},void 0,{method:"GET",withCredentials:!0}):(0,r.triggerPixel)(o.pixelUrl)}(e,d,t))),n.acwsUrl){("string"==typeof n.acwsUrl?[n.acwsUrl]:n.acwsUrl).forEach((e=>(0,r.triggerPixel)(e)))}else n.bundle&&C(e,m,n.bundle,d);if(n.bidId){C(e,u,n.bidId,d);const t={criteoId:n.bidId};o(t)}else U(a=u,"",I,d,!0),g.removeDataFromLocalStorage(a),o();var a},error:e=>{(0,r.logError)("criteoIdSystem: unable to sync user id",e),o()}};(0,i.hj)(f,S,void 0,{method:"GET",contentType:"application/json",withCredentials:!0})}const w={name:p,gvlid:91,decode:e=>e,getId(e){let t=function(e){return{bundle:S(e,m),dnaBundle:S(e,"cto_dna_bundle"),bidId:S(e,u)}}(e);return{id:t.bidId?{criteoId:t.bidId}:void 0,callback:o=>v(e,t,o)}},eids:{criteoId:{source:"criteo.com",atype:1}}};(0,c.Bx)("userId",w),(0,n.z)("criteoIdSystem")}},e=>{e.O(0,[38409],(()=>{return t=7713,e(e.s=t);var t}));e.O()}]);(self.stpdChunk=self.stpdChunk||[]).push([[99226],{72663:(e,r,n)=>{var o=n(78640),t=n(64358),c=n(5644),i=n(48928),s=n(3193),u=n(92797),f=n(68792),a=n(26372),l=n(99128),d=n(52021);const y=4;let g,p=[],v={},h=!1,C=!0,b="USD";var $=!1,I={};let R,S={},m=(0,f.P)();function w(e){if(g="https://cdn.jsdelivr.net/gh/prebid/currency-file@1/latest.json?date=$$TODAY$$","object"==typeof e.rates&&(I.conversions=e.rates,h=!0,C=!1),"object"==typeof e.defaultRates&&(R=e.defaultRates,I.conversions=R,h=!0),"string"==typeof e.adServerCurrency){(0,t.logInfo)("enabling currency support",arguments),b=e.adServerCurrency,e.conversionRateFile&&((0,t.logInfo)("currency using override conversionRateFile:",e.conversionRateFile),g=e.conversionRateFile);const r=g.indexOf("$$TODAY$$");if(-1!==r){const e=new Date;let n=`${e.getMonth()+1}`,o=`${e.getDate()}`;n.length<2&&(n=`0${n}`),o.length<2&&(o=`0${o}`);const t=`${e.getFullYear()}${n}${o}`;g=`${g.substring(0,r)}${t}${g.substring(r+9,g.length)}`}!function(){v={},$=!0,(0,t.logInfo)("Installing addBidResponse decorator for currency module",arguments),(0,o.R)().convertCurrency=(e,r,n)=>parseFloat(e)*P(r,n),(0,u.v5)("addBidResponse").before(D,100),(0,u.v5)("responsesReady").before(T),(0,d.on)(c.EVENTS.AUCTION_TIMEOUT,U),(0,d.on)(c.EVENTS.AUCTION_INIT,E),E()}()}else(0,t.logInfo)("disabling currency support"),function(){(0,t.logInfo)("Uninstalling addBidResponse decorator for currency module",arguments),(0,u.v5)("addBidResponse").getHooks({hook:D}).remove(),(0,u.v5)("responsesReady").getHooks({hook:T}).remove(),(0,d.off)(c.EVENTS.AUCTION_TIMEOUT,U),(0,d.off)(c.EVENTS.AUCTION_INIT,E),delete(0,o.R)().convertCurrency,b="USD",v={},$=!1,h=!1,C=!0,I={},S={},m=(0,f.P)()}();"object"==typeof e.bidderCurrencyDefault&&(S=e.bidderCurrencyDefault)}function O(e){R?((0,t.logWarn)(e),(0,t.logWarn)("Currency failed loading rates, falling back to currency.defaultRates")):(0,t.logError)(e)}function E(){C?(C=!1,h=!1,(0,i.hj)(g,{success:function(e){try{I=JSON.parse(e),(0,t.logInfo)("currencyRates set to "+JSON.stringify(I)),v={},h=!0,N()}catch(r){O("Failed to parse currencyRates response: "+e)}},error:function(){O(...arguments),h=!0,N(),C=!0}})):N()}function T(e,r){e(r.then((()=>m.promise)))}s.config.getConfig("currency",(e=>w(e.currency)));const D=(0,l.A)("currency",(function(e,r,n,o){if(!n)return e.call(this,r,n,o);let c=n.bidderCode||n.bidder;if(S[c]){let e=S[c];n.currency&&e!==n.currency?(0,t.logWarn)(`Currency default '${c}: ${e}' ignored. adapter specified '${n.currency}'`):n.currency=e}if(n.currency||((0,t.logWarn)('Currency not specified on bid. Defaulted to "USD"'),n.currency="USD"),n.getCpmInNewCurrency=function(e){return(parseFloat(this.cpm)*P(this.currency,e)).toFixed(3)},n.currency===b)return e.call(this,r,n,o);p.push([e,this,r,n,o]),$&&!h||N()}));function U(e){let{auctionId:r}=e;p=p.filter((e=>{let[n,o,t,i,s]=e;if(i.auctionId!==r)return!0;s(c.Gw.Xx)}))}function N(){for(;p.length>0;){const[e,r,n,o,i]=p.shift();if(void 0!==o&&"currency"in o&&"cpm"in o){let e=o.currency;try{let r=P(e);1!==r&&(o.cpm=(parseFloat(o.cpm)*r).toFixed(4),o.currency=b)}catch(e){(0,t.logWarn)("getCurrencyConversion threw error: ",e),i(c.Gw.Xx);continue}}e.call(r,n,o,i)}m.resolve()}function P(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;var n,o=null;let c=`${e}->${r}`;if(c in v)o=v[c],(0,t.logMessage)("Using conversionCache value "+o+" for "+c);else if(!1===$){if("USD"!==e)throw new Error("Prebid currency support has not been enabled and fromCurrency is not USD");o=1}else if(e===r)o=1;else if(e in I.conversions){if(!(r in(n=I.conversions[e])))throw new Error("Specified adServerCurrency in config '"+r+"' not found in the currency rates file");o=n[r],(0,t.logInfo)("getCurrencyConversion using direct "+e+" to "+r+" conversionRate "+o)}else if(r in I.conversions){if(!(e in(n=I.conversions[r])))throw new Error("Specified fromCurrency '"+e+"' not found in the currency rates file");o=F(1/n[e],y),(0,t.logInfo)("getCurrencyConversion using reciprocal "+e+" to "+r+" conversionRate "+o)}else{var i=Object.keys(I.conversions)[0];if(!(e in I.conversions[i]))throw new Error("Specified fromCurrency '"+e+"' not found in the currency rates file");var s=1/I.conversions[i][e];if(!(r in I.conversions[i]))throw new Error("Specified adServerCurrency in config '"+r+"' not found in the currency rates file");o=F(s*I.conversions[i][r],y),(0,t.logInfo)("getCurrencyConversion using intermediate "+e+" thru "+i+" to "+r+" conversionRate "+o)}return c in v||((0,t.logMessage)("Adding conversionCache value "+o+" for "+c),v[c]=o),o}function F(e,r){var n=1;for(let e=0;e<r;e++)n+="0";return Math.round(e*n)/n}(0,a.f8)({type:a.Z,name:"currency",fn:function(e,r,n){$&&(e.cur=e.cur||[n.currency||b])}}),(0,o.z)("currency")},26372:(e,r,n)=>{n.d(r,{DZ:()=>c,Px:()=>i,TP:()=>u,YC:()=>s,Z:()=>t,f8:()=>l,fP:()=>d,gm:()=>o,md:()=>f});const o=["request","imp","bidResponse","response"],[t,c,i,s]=o,[u,f]=["default","pbs"],a=new Set(o);const{registerOrtbProcessor:l,getProcessors:d}=function(){const e={};return{registerOrtbProcessor(r){let{type:n,name:t,fn:c,priority:i=0,dialects:s=[u]}=r;if(!a.has(n))throw new Error(`ORTB processor type must be one of: ${o.join(", ")}`);s.forEach((r=>{e.hasOwnProperty(r)||(e[r]={}),e[r].hasOwnProperty(n)||(e[r][n]={}),e[r][n][t]={priority:i,fn:c}}))},getProcessors:r=>e[r]||{}}}()}},e=>{e.O(0,[38409],(()=>{return r=72663,e(e.s=r);var r}));e.O()}]);(self.stpdChunk=self.stpdChunk||[]).push([[2355],{95590:(o,n,i)=>{function t(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")}i.d(n,{P:()=>t})}}]);(self.stpdChunk=self.stpdChunk||[]).push([[85279],{24980:(e,t,r)=>{r.d(t,{T:()=>y,x:()=>b});const n=new WeakMap;var i=r(64358),o=r(20265),s=r(24679);function a(e){return(e=(0,i.parseSizesInput)(e)).map((e=>{const[t,r]=e.split("x");return{w:parseInt(t,10),h:parseInt(r,10)}}))}const p=new Set(["pos","placement","plcmt","api","mimes","protocols","playbackmethod","minduration","maxduration","w","h","startdelay","placement","linearity","skip","skipmin","skipafter","minbitrate","maxbitrate","delivery","playbackend"]),d={instream:1};var c=r(15840);var u=r(26372),m=r(83790);const l={[u.Z]:{fpd:{priority:99,fn(e,t){(0,i.mergeDeep)(e,t.ortb2)}},onlyOneClient:{priority:-99,fn:(0,m.A_)("ORTB request")},props:{fn(e,t){Object.assign(e,{id:e.id||(0,i.generateUUID)(),test:e.test||0});const r=parseInt(t.timeout,10);isNaN(r)||(e.tmax=r)}}},[u.DZ]:{fpd:{priority:99,fn(e,t){(0,i.mergeDeep)(e,t.ortb2Imp)}},id:{fn(e,t){e.id=t.bidId}},banner:{fn:function(e,t,r){if(r.mediaType&&r.mediaType!==s.Mk)return;const n=(0,o.Z)(t,"mediaTypes.banner");if(n){const t={topframe:!0===(0,i.inIframe)()?0:1};n.sizes&&(t.format=a(n.sizes)),n.hasOwnProperty("pos")&&(t.pos=n.pos),e.banner=(0,i.mergeDeep)(t,e.banner)}}},pbadslot:{fn(e){const t=e.ext?.data?.pbadslot;t&&"string"==typeof t||delete e.ext?.data?.pbadslot}}},[u.Px]:{mediaType:{priority:99,fn:c.R},banner:{fn:function(){let{createPixel:e=(e=>(0,i.createTrackPixelHtml)(decodeURIComponent(e)))}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,r){t.mediaType===s.Mk&&(r.adm&&r.nurl?(t.ad=r.adm,t.ad+=e(r.nurl)):r.adm?t.ad=r.adm:r.nurl&&(t.adUrl=r.nurl))}}()},props:{fn(e,t,r){Object.entries({requestId:r.bidRequest?.bidId,seatBidId:t.id,cpm:t.price,currency:r.ortbResponse.cur||r.currency,width:t.w,height:t.h,dealId:t.dealid,creative_id:t.crid,creativeId:t.crid,burl:t.burl,ttl:t.exp||r.ttl,netRevenue:r.netRevenue}).filter((e=>{let[t,r]=e;return void 0!==r})).forEach((t=>{let[r,n]=t;return e[r]=n})),e.meta||(e.meta={}),t.adomain&&(e.meta.advertiserDomains=t.adomain)}}}};l[u.DZ].native={fn:function(e,t,r){if(r.mediaType&&r.mediaType!==s.B5)return;let n=t.nativeOrtbRequest;n&&(n=Object.assign({},r.nativeRequest,n),n.assets?.length?e.native=(0,i.mergeDeep)({},{request:JSON.stringify(n),ver:n.ver},e.native):(0,i.logWarn)("mediaTypes.native is set, but no assets were specified. Native request skipped.",t))}},l[u.Px].native={fn:function(e,t){if(e.mediaType===s.B5){let r;if(r="string"==typeof t.adm?JSON.parse(t.adm):t.adm,!(0,i.isPlainObject)(r)||!Array.isArray(r.assets))throw new Error("ORTB native response contained no assets");e.native={ortb:r}}}},l[u.DZ].video={fn:function(e,t,r){if(r.mediaType&&r.mediaType!==s.pX)return;const n=(0,o.Z)(t,"mediaTypes.video");if(!(0,i.isEmpty)(n)){const t=Object.fromEntries(Object.entries(n).filter((e=>{let[t]=e;return p.has(t)})));if(n.playerSize){const e=a(n.playerSize);e.length>1&&(0,i.logWarn)("video request specifies more than one playerSize; all but the first will be ignored"),Object.assign(t,e[0])}const r=d[n.context];null!=r&&(t.placement=r),e.video=(0,i.mergeDeep)(t,e.video)}}},l[u.Px].video={fn:function(e,t,r){e.mediaType===s.pX&&((0,o.Z)(r.imp,"video.w")&&(0,o.Z)(r.imp,"video.h")&&([e.playerWidth,e.playerHeight]=[r.imp.video.w,r.imp.video.h]),t.adm&&(e.vastXml=t.adm),t.nurl&&(e.vastUrl=t.nurl))}};var f=r(61283);function b(){let{context:e={},processors:t=y,overrides:r={},imp:o,request:s,bidResponse:a,response:p}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const d=new WeakMap;function c(e,i,o,s){let a;return function(){return null==a&&(a=function(){let a=o.bind(this,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.has(e)){const t=Object.entries(e);t.sort(((e,t)=>(e=e[1].priority||0)===(t=t[1].priority||0)?0:e>t?-1:1)),n.set(e,t.map((e=>{let[t,r]=e;return[t,r.fn]})))}const r=n.get(e).filter((e=>{let[r]=e;return!t.hasOwnProperty(r)||t[r]})).map((function(e){let[r,n]=e;return t.hasOwnProperty(r)?t[r].bind(this,n):n}));return function(){const e=Array.from(arguments);r.forEach((t=>{t.apply(this,e)}))}}(t()[e]||{},r[e]||{}));return i&&(a=i.bind(this,a)),function(){try{return a.apply(this,arguments)}catch(e){s.call(this,e,...arguments)}}}()),a.apply(this,arguments)}}const m=c(u.DZ,o,(function(e,t,r){const n={};return e(n,t,r),n}),(function(e,t,r){(0,i.logError)("Error while converting bidRequest to ORTB imp; request skipped.",{error:e,bidRequest:t,context:r})})),l=c(u.Z,s,(function(e,t,r,n){const i={imp:t};return e(i,r,n),i}),(function(e,t,r,n){throw(0,i.logError)("Error while converting to ORTB request",{error:e,imps:t,bidderRequest:r,context:n}),e})),f=c(u.Px,a,(function(e,t,r){const n={};return e(n,t,r),n}),(function(e,t,r){(0,i.logError)("Error while converting ORTB seatbid.bid to bidResponse; bid skipped.",{error:e,bid:t,context:r})})),b=c(u.YC,p,(function(e,t,r,n){const i={bids:t};return e(i,r,n),i}),(function(e,t,r,n){throw(0,i.logError)("Error while converting from ORTB response",{error:e,bidResponses:t,ortbResponse:r,context:n}),e}));return{toORTB(t){let{bidderRequest:r,bidRequests:n,context:o={}}=t;n=n||r.bids;const s={req:Object.assign({bidRequests:n},e,o),imp:{}};s.req.impContext=s.imp;const a=n.map((t=>{const n=Object.assign({bidderRequest:r,reqContext:s.req},e,o),a=m(t,n);if(null!=a){if(a.hasOwnProperty("id"))return Object.assign(n,{bidRequest:t,imp:a}),s.imp[a.id]=n,a;(0,i.logError)("Converted ORTB imp does not specify an id, ignoring bid request",t,a)}})).filter(Boolean),p=l(a,r,s.req);return s.req.bidderRequest=r,null!=p&&d.set(p,s),p},fromORTB(e){let{request:t,response:r}=e;const n=d.get(t);if(null==n)throw new Error("ortbRequest passed to `fromORTB` must be the same object returned by `toORTB`");function o(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign(e,{ortbRequest:t},r,e)}const s=Object.fromEntries((t.imp||[]).map((e=>[e.id,e]))),a=(r.seatbid||[]).flatMap((e=>(e.bid||[]).map((t=>{if(s.hasOwnProperty(t.impid)&&n.imp.hasOwnProperty(t.impid))return f(t,o(n.imp[t.impid],{imp:s[t.impid],seatbid:e,ortbResponse:r}));(0,i.logError)("ORTB response seatbid[].bid[].impid does not match any imp in request; ignoring bid",t)})))).filter(Boolean);return b(a,r,o(n.req))}}}const y=(0,i.memoize)((()=>(0,f.F)(l,(0,u.fP)(u.TP))))},61283:(e,t,r)=>{r.d(t,{F:()=>i});var n=r(26372);function i(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const o=t.shift(),s=t.length>1?i(...t):t[0];return Object.fromEntries(n.gm.map((e=>[e,Object.assign({},o[e],s[e])])))}},15840:(e,t,r)=>{r.d(t,{R:()=>o,e:()=>i});var n=r(24679);const i={1:n.Mk,2:n.pX,4:n.B5};function o(e,t,r){if(e.mediaType)return;const n=r.mediaType;if(!n&&!i.hasOwnProperty(t.mtype))throw new Error("Cannot determine mediaType for response");e.mediaType=n||i[t.mtype]}}}]);(self.stpdChunk=self.stpdChunk||[]).push([[70951],{99933:(e,i,t)=>{t.d(i,{X:()=>l});var d=t(61283),r=t(26372),n=t(20265),s=t(64358),a=t(11021),b=t(86104),o=t(96475);var p=t(39702);var c=t(3193),f=t(78640);var g=t(24679);const u={[r.Z]:{extPrebid:{fn:function(e,i){(0,o.N)(e,"ext.prebid",(0,s.mergeDeep)({auctiontimestamp:i.auctionStart,targeting:{includewinners:!0,includebidderkeys:!1}},e.ext?.prebid)),c.config.getConfig("debug")&&(e.ext.prebid.debug=!0)}},extPrebidChannel:{fn:function(e){(0,o.N)(e,"ext.prebid.channel",Object.assign({name:"pbjs",version:(0,f.R)().version},e.ext?.prebid?.channel))}},extPrebidAliases:{fn:function(e,i,t){let{am:d=b.ZP}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(d.aliasRegistry[i.bidderCode]){const t=d.bidderRegistry[i.bidderCode];t&&t.getSpec().skipPbsAliasing||(0,o.N)(e,`ext.prebid.aliases.${i.bidderCode}`,d.aliasRegistry[i.bidderCode])}}}},[r.DZ]:{params:{fn:p.j},adUnitCode:{fn:function(e,i){const t=i.adUnitCode;t&&(0,o.N)(e,"ext.prebid.adunitcode",t)}}},[r.Px]:{mediaType:{fn:a.P,priority:99},videoCache:{fn:function(e,i){if(e.mediaType===g.pX){let{cacheId:t,url:d}=(0,n.Z)(i,"ext.prebid.cache.vastXml")||{};if(!t||!d){const{hb_uuid:e,hb_cache_host:r,hb_cache_path:s}=(0,n.Z)(i,"ext.prebid.targeting")||{};e&&r&&s&&(t=e,d=`https://${r}${s}?uuid=${e}`)}t&&d&&Object.assign(e,{videoCacheKey:t,vastUrl:d})}},priority:-10},bidderCode:{fn(e,i,t){e.bidderCode=t.seatbid.seat,e.adapterCode=(0,n.Z)(i,"ext.prebid.meta.adaptercode")||t.bidRequest?.bidder||e.bidderCode}},pbsBidId:{fn(e,i){const t=(0,n.Z)(i,"ext.prebid.bidid");(0,s.isStr)(t)&&(e.pbsBidId=t)}},adserverTargeting:{fn(e,i){const t=(0,n.Z)(i,"ext.prebid.targeting");(0,s.isPlainObject)(t)&&(e.adserverTargeting=t)}},extPrebidMeta:{fn(e,i){e.meta=(0,s.mergeDeep)({},(0,n.Z)(i,"ext.prebid.meta"),e.meta)}},pbsWurl:{fn(e,i){const t=(0,n.Z)(i,"ext.prebid.events.win");(0,s.isStr)(t)&&(e.pbsWurl=t)}}},[r.YC]:{serverSideStats:{fn(e,i,t){Object.entries({errors:"serverErrors",responsetimemillis:"serverResponseTimeMs"}).forEach((e=>{let[d,r]=e;const s=(0,n.Z)(i,`ext.${d}.${t.bidderRequest.bidderCode}`);s&&(t.bidderRequest[r]=s,t.bidRequests.forEach((e=>e[r]=s)))}))}}}};var m=t(24980);const l=(0,s.memoize)((()=>(0,d.F)((0,m.T)(),u,(0,r.fP)(r.md))))},11021:(e,i,t)=>{t.d(i,{E:()=>n,P:()=>s});var d=t(24679),r=t(15840);const n={[d.Mk]:"banner",[d.B5]:"native",[d.pX]:"video"};function s(e,i,t){let s=t.mediaType;s||(s=r.e.hasOwnProperty(i.mtype)?r.e[i.mtype]:i.ext?.prebid?.type,n.hasOwnProperty(s)||(s=d.Mk)),e.mediaType=s}},39702:(e,i,t)=>{t.d(i,{j:()=>s});var d=t(78653),r=t(86104),n=t(96475);function s(e,i,t){let{adUnit:s,bidderRequests:a,index:b=d.K.index,bidderRegistry:o=r.ZP.bidderRegistry}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},p=i.params;const c=o[i.bidder];c&&c.getSpec().transformBidParams&&(s=s||b.getAdUnit(i),a=a||[t.bidderRequest],p=c.getSpec().transformBidParams(p,!0,s,a)),p&&(0,n.N)(e,`ext.prebid.bidder.${i.bidder}`,p)}}}]);(self.stpdChunk=self.stpdChunk||[]).push([[77635],{99957:(n,t,e)=>{e.d(t,{Nh:()=>u,fe:()=>h});var l=e(78640),r=e(31136);function u(n,t,e){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t===e)return n;let u=n;try{u=(0,l.R)().convertCurrency(n,t,e)}catch(n){if(!r)throw n}return u}function h(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n=>[n.cpm,n.currency],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u;return function(l,r){return null==n&&(n=r),e(l,r,n,t)}}();return(0,r.xI)((e=>t.apply(null,n(e))))}}}]);(self.stpdChunk=self.stpdChunk||[]).push([[17968],{52712:(t,e,n)=>{n.d(e,{b6:()=>s,kX:()=>l,m1:()=>r,sM:()=>c});var a=n(68792);const c=0,l=1,r=2;function s(t){let{apiName:e,apiVersion:n,apiArgs:s=["command","callback","parameter","version"],callbackArgs:o=["returnValue","success"],mode:i=c}=t,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;const f={},d=`${e}Call`,p=`${e}Return`;function b(t){const e="string"==typeof t.data&&t.data.includes(p)?JSON.parse(t.data):t.data;if(e?.[p]?.callId){const t=e[p];f.hasOwnProperty(t.callId)&&f[t.callId](...o.map((e=>t[e])))}}const[k,m]=function(){let t,n=u,a=!1;for(;null!=n;){try{if("function"==typeof n[e]){t=n,a=!0;break}}catch(t){}try{if(n.frames[`${e}Locator`]){t=n;break}}catch(t){}if(n===u.top)break;n=n.parent}return[t,a]}();if(!k)return;function g(t){return t=Object.assign({version:n},t),s.map((e=>[e,t[e]]))}function h(t,e,n,a){const c="function"==typeof t;return function(r,s){if(a&&a(),i!==l){(null==s||s?e:n)(c?void 0:r)}c&&t.apply(this,arguments)}}let v;return m?v=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new a.Z(((n,a)=>{const s=k[e](...g({...t,callback:t.callback||i===r?h(t.callback,n,a):void 0}).map((t=>{let[e,n]=t;return n})));(i===l||null==t.callback&&i===c)&&n(s)}))}:(u.addEventListener("message",b,!1),v=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new a.Z(((n,a)=>{const c=Math.random().toString(),r={[d]:{...Object.fromEntries(g(t).filter((t=>{let[e]=t;return"callback"!==e}))),callId:c}};f[c]=h(t?.callback,n,a,(e||null==t?.callback)&&(()=>{delete f[c]})),k.postMessage(r,"*"),i===l&&n()}))}),Object.assign(v,{isDirect:m,close(){!m&&u.removeEventListener("message",b)}})}}}]);(self.stpdChunk=self.stpdChunk||[]).push([[57748],{81694:(o,n,t)=>{function e(o,n){return function(){const t=document.domain.split("."),e=`_gd${Date.now()}_${n}`;for(let n,i,s=0;s<t.length;s++){const d=t.slice(s).join(".");if(o.setCookie(e,"1",void 0,void 0,d),i=o.getCookie(e),o.setCookie(e,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,d),"1"!==i)return n;n=d}}}t.d(n,{U:()=>e})}}]);(self.stpdChunk=self.stpdChunk||[]).push([[33402],{85370:(e,n,r)=>{r.d(n,{u:()=>t});var s=r(64358);function t(e,n){return Object.keys(e).forEach((r=>{var t,u;n[r]&&((0,s.isFn)(e[r])?n[r]=e[r](n[r]):n[r]=(t=e[r],u=n[r],"string"===t?u&&u.toString():"number"===t?Number(u):u),isNaN(n[r])&&delete n.key)})),n}}}]);(self.stpdChunk=self.stpdChunk||[]).push([[93157],{20676:(r,e,a)=>{a.d(e,{c:()=>o});var t=a(83790),n=a(20265);const s=["user.keywords"].concat(t.Iq.flatMap((r=>["keywords","content.keywords"].map((e=>`${r}.${e}`)))));function o(r){for(var e=arguments.length,a=new Array(e>1?e-1:0),t=1;t<e;t++)a[t-1]=arguments[t];return function(){const r=new Set;for(var e=arguments.length,a=new Array(e),t=0;t<e;t++)a[t]=arguments[t];return a.filter((r=>r)).flatMap((r=>Array.isArray(r)?r:r.split(","))).map((r=>r.replace(/^\s*/,"").replace(/\s*$/,""))).filter((r=>r)).forEach((e=>r.add(e))),Array.from(r.keys())}(...s.map((e=>(0,n.Z)(r,e))),...a)}}}]);(self.stpdChunk=self.stpdChunk||[]).push([[42277],{19050:(e,t,r)=>{r.d(t,{Bq:()=>l,bn:()=>d,cM:()=>f,gw:()=>h});var n=r(64358),s=r(20265),u=r(20676),i=r(83790);const o={526:"1plusX",527:"1plusX",541:"captify_segments",540:"perid"},a=["user.data"].concat(i.Iq.map((e=>`${e}.content.data`)));function c(e,t,r){return null==t?r:(0,n.isStr)(t)?t:(0,n.isNumber)(t)?t.toString():void(0,n.logWarn)("Unsuported type for param: "+e+" required type: String")}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"keywords";const r=[];return(0,n._each)(e,((e,s)=>{if((0,n.isArray)(e)){let r=[];(0,n._each)(e,(e=>{((e=c(t+"."+s,e))||""===e)&&r.push(e)})),e=r}else{if(e=c(t+"."+s,e),!(0,n.isStr)(e))return;e=[e]}e=e.filter((e=>""!==e));const u={key:s};e.length>0&&(u.value=e),r.push(u)})),r}function f(e){return(0,n.isStr)(e)&&""!==e?p(e.split(/\s*(?:,)\s*/)):{}}function p(e){const t={};return e.forEach((e=>{if(-1!==e.indexOf("=")){let r=e.split("="),n=r[0],s=r[1];t.hasOwnProperty(n)?t[n].push(s):t[n]=[s]}else t.hasOwnProperty(e)||(t[e]=[])})),t}function h(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return l((0,n.mergeDeep)(...t.map((e=>Object.fromEntries(Object.entries(e||{}).map((e=>{let[t,r]=e;return[t,(0,n.isNumber)(r)||(0,n.isStr)(r)?[r]:r]})))))))}function d(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return h(function(e){return p((0,u.c)(e))}(e),function(e){let t={};return a.forEach((r=>{((0,s.Z)(e,r)||[]).forEach((e=>{const r=o[(0,s.Z)(e,"ext.segtax")];r&&e.segment.forEach((e=>{t[r]?t[r].push(e.id):t[r]=[e.id]}))}))})),t}(e),...r)}},27374:(e,t,r)=>{r.d(t,{G:()=>s,h:()=>u});var n=r(64358);function s(e){return e.replace(/(?:^|\.?)([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})).replace(/^_/,"")}function u(e,t){let r=[];for(let s=0;s<t;s++){let t=(0,n.isPlainObject)(e)?(0,n.deepClone)(e):e;r.push(t)}return r}}}]);(self.stpdChunk=self.stpdChunk||[]).push([[2284],{26296:(e,t,l)=>{function s(e,t){let l=[];for(let s=0;s<Math.ceil(e.length/t);s++){let h=s*t,n=h+t;l.push(e.slice(h,n))}return l}l.d(t,{y:()=>s})}}]);(self.stpdChunk=self.stpdChunk||[]).push([[86190],{34292:(A,B,I)=>{I.d(B,{m:()=>s});const s={1:"IAB20-3",2:"IAB18-5",3:"IAB10-1",4:"IAB2-3",5:"IAB19-8",6:"IAB22-1",7:"IAB18-1",8:"IAB12-3",9:"IAB5-1",10:"IAB4-5",11:"IAB13-4",12:"IAB8-7",13:"IAB9-7",14:"IAB7-1",15:"IAB20-18",16:"IAB10-7",17:"IAB19-18",18:"IAB13-6",19:"IAB18-4",20:"IAB1-5",21:"IAB1-6",22:"IAB3-4",23:"IAB19-13",24:"IAB22-2",25:"IAB3-9",26:"IAB17-18",27:"IAB19-6",28:"IAB1-7",29:"IAB9-30",30:"IAB20-7",31:"IAB20-17",32:"IAB7-32",33:"IAB16-5",34:"IAB19-34",35:"IAB11-5",36:"IAB12-3",37:"IAB11-4",38:"IAB12-3",39:"IAB9-30",41:"IAB7-44",42:"IAB7-1",43:"IAB7-30",50:"IAB19-30",51:"IAB17-12",52:"IAB19-30",53:"IAB3-1",55:"IAB13-2",56:"IAB19-30",57:"IAB19-30",58:"IAB7-39",59:"IAB22-1",60:"IAB7-39",61:"IAB21-3",62:"IAB5-1",63:"IAB12-3",64:"IAB20-18",65:"IAB11-2",66:"IAB17-18",67:"IAB9-9",68:"IAB9-5",69:"IAB7-44",71:"IAB22-3",73:"IAB19-30",74:"IAB8-5",78:"IAB22-1",85:"IAB12-2",86:"IAB22-3",87:"IAB11-3",112:"IAB7-32",113:"IAB7-32",114:"IAB7-32",115:"IAB7-32",118:"IAB9-5",119:"IAB9-5",120:"IAB9-5",121:"IAB9-5",122:"IAB9-5",123:"IAB9-5",124:"IAB9-5",125:"IAB9-5",126:"IAB9-5",127:"IAB22-1",132:"IAB1-2",133:"IAB19-30",137:"IAB3-9",138:"IAB19-3",140:"IAB2-3",141:"IAB2-1",142:"IAB2-3",143:"IAB17-13",166:"IAB11-4",175:"IAB3-1",176:"IAB13-4",182:"IAB8-9",183:"IAB3-5"}}}]);(self.stpdChunk=self.stpdChunk||[]).push([[29703],{10075:(t,n,e)=>{e.d(n,{CS:()=>s,aE:()=>u,ky:()=>l});var d=e(34614),o=e(64358);function s(t){return n=>(0,o.compareCodeAndSlot)(n,t)}function u(t){let n;return(0,o.isGptPubadsDefined)()&&(n=(0,d.sE)(window.googletag.pubads().getSlots(),s(t))),n}function l(t){const n=u(t);return n?{gptSlot:n.getAdUnitPath(),divId:n.getSlotElementId()}:{}}}}]);(self.stpdChunk=self.stpdChunk||[]).push([[14108],{56896:(s,e,r)=>{function i(s){if(!s)return;let e=[];if(s.mediaTypes&&s.mediaTypes.banner&&Array.isArray(s.mediaTypes.banner.sizes)){let r=s.mediaTypes.banner.sizes;Array.isArray(r[0])?e=r:e.push(r)}else Array.isArray(s.sizes)&&(Array.isArray(s.sizes[0])?e=s.sizes:e.push(s.sizes));return e}r.d(e,{p:()=>i})}}]);(self.stpdChunk=self.stpdChunk||[]).push([[54213],{29865:(n,e,t)=>{function s(n,e,t){return t?n+e+"="+encodeURIComponent(t)+"&":n}t.d(e,{t:()=>s})}}]);(self.stpdChunk=self.stpdChunk||[]).push([[2355],{95590:(o,n,i)=>{function t(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")}i.d(n,{P:()=>t})}}]);(self.stpdChunk=self.stpdChunk||[]).push([[38409],{17007:(e,t,i)=>{i.d(t,{Ex:()=>o,G:()=>s,VX:()=>a,XW:()=>c,ZR:()=>r,u7:()=>n});var d=i(5644);const n="Prebid Native",r="Prebid Request",a="Prebid Response",s="Prebid Event",o=(d.EVENTS.AD_RENDER_SUCCEEDED,d.EVENTS.AD_RENDER_FAILED,d.q_.Ex),c=d.q_.XW},29819:(e,t,i)=>{i.d(t,{t:()=>m});var d=i(13667),n=i(17007);const r={frameBorder:0,scrolling:"no",marginHeight:0,marginWidth:0,topMargin:0,leftMargin:0,allowTransparency:"true"};function a(e,t){let{ad:i,adUrl:d,width:a,height:s}=e,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document;i||d?(d&&!i?function(e,t){const i=e.createElement("iframe");t=Object.assign({},t,r),Object.entries(t).forEach((e=>{let[t,d]=e;return i.setAttribute(t,d)})),e.body.appendChild(i)}(o,{width:a,height:s,src:d}):(o.write(i),o.close()),t()):t({reason:n.Ex,message:"Missing ad markup or URL"})}var s=i(78653),o=i(5644),c=i(64358),l=i(78640);function m(e,t,i){let r;function m(i){null!=i?(0,d.Pm)(Object.assign({id:t,bid:r},i)):(0,d.bL)({doc:e,bid:r,adId:t})}try{if(t&&e){r=s.K.findBidByAdId(t);{const e=r&&s.K.index.getAdUnit(r),t=(0,l.R)().videoModule;if(e?.video&&t)return void t.renderBid(e.video.divId,r)}e!==document||(0,c.inIframe)()?(0,d.XD)((function(t){a(t,m,e),e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t.width,e.defaultView.frameElement.height=t.height);const i=document.createComment(`Creative ${r.creativeId} served by ${r.bidder} Prebid.js Header Bidding`);(0,c.insertElement)(i,e,"html")}),{adId:t,options:{clickUrl:i?.clickThrough},bidResponse:r}):m({reason:o.q_.Sn,message:"renderAd was prevented from writing to the main document."})}else m({reason:o.q_.mb,message:"missing "+(t?"doc":"adId")})}catch(e){m({reason:n.XW,message:e.message})}}}}]);(()=>{var e={395:()=>{(self.stpdChunk=self.stpdChunk||[]).push([[31864],{11962:(e,t,i)=>{var n=i(78640),s=i(20265),r=i(64358),o=i(14699),a=i(25102),d=i(3193),u=i(52021),p=i(24679),c=i(5644);const l={},m={},I=new class{eventNames=[c.EVENTS.BID_TIMEOUT,c.EVENTS.BID_RESPONSE,c.EVENTS.BID_REQUESTED,c.EVENTS.NO_BID,c.EVENTS.BID_WON];disabledSending=!1;enabledSending=!1;auctionIds={};eventHendlers={};initEvents(){this.disabledSending=!!d.config.getBidderConfig()?.setupad?.disabledSendingStatisticData,this.disabledSending?this.removeEvents():this.createEvents()}createEvents(){if(!this.enabledSending){this.enabledSending=!0;for(let e of this.eventNames)this.eventHendlers[e]||(this.eventHendlers[e]=this.eventHandler(e)),u.on(e,this.eventHendlers[e])}}removeEvents(){if(this.enabledSending){this.enabledSending=!1;for(let e of this.eventNames)this.eventHendlers[e]&&u.off(e,this.eventHendlers[e])}}eventHandler(e){return this.getEventHandler(e)}getEventHandler(e){return t=>{if(this.disabledSending)return;if(this.auctionIds[t.auctionId]===t.bidder&&e===c.EVENTS.BID_RESPONSE)return;e===c.EVENTS.BID_RESPONSE&&(this.auctionIds[t.auctionId]=t.bidder);const i=g.getPixelUrl(e,t,Date.now());i&&(0,r.triggerPixel)(i)}}};u.on(c.EVENTS.AUCTION_INIT,(()=>{I.initEvents()}));const g={code:"setupad",supportedMediaTypes:[p.Mk],gvlid:1241,isBidRequestValid:function(e){return!(!e.params.placement_id||!(0,r.isStr)(e.params.placement_id))},buildRequests:function(e,t){const i=[];return window.nmmRefreshCounts=window.nmmRefreshCounts||{},(0,r._each)(e,(function(e){window.nmmRefreshCounts[e.adUnitCode]=window.nmmRefreshCounts[e.adUnitCode]||0;const n=(0,r.getBidIdParameter)("placement_id",e.params),o=(0,r.getBidIdParameter)("account_id",e.params),d=e.auctionId,u=e.bidId,p=function(e){if((0,s.Z)(e,"userIdAsEids"))return e.userIdAsEids}(e)||[];let c=e.sizes;c&&!Array.isArray(c[0])&&(c=[c]);const l=function(){const e=a.nH&&(0,a.nH)()||{};return{page:e.page,ref:e.ref,domain:e.domain}}(),m={w:window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth||0,h:window.innerHeight||window.document.documentElement.clientHeight||window.document.body.clientHeight||0},I={id:e?.bidderRequestId,ext:{prebid:{storedrequest:{id:o||"default"}},setupad:{refresh_count:window.nmmRefreshCounts[e.adUnitCode]++,elOffsets:f(e),scrollTop:window.pageYOffset||document.documentElement.scrollTop}},user:{ext:{eids:p}},device:m,site:l,imp:[]},g={id:e.adUnitCode,ext:{prebid:{storedrequest:{id:n}}}};(0,s.Z)(e,"mediaTypes.banner")&&(g.banner={format:(c||[]).map((e=>({w:e[0],h:e[1]})))}),I.imp.push(g);const j=t&&t.gdprConsent,h=t&&t.uspConsent;(j||h)&&(I.regs={ext:{}},h&&(I.regs.ext.us_privacy=h),j&&(void 0!==j.gdprApplies&&(I.regs.ext.gdpr=j.gdprApplies?1:0),void 0!==j.consentString&&(I.user.ext.consent=j.consentString)));const y=e.params;i.push({method:"POST",url:"https://prebid.setupad.io/openrtb2/auction",data:JSON.stringify(I),options:{contentType:"text/plain",withCredentials:!0},bidId:u,params:y,auctionId:d})})),i},interpretResponse:function(e,t){if(!e||!e.body||"object"!=typeof e.body||0===Object.keys(e.body).length)return(0,r.logWarn)("no response or body is malformed"),[];const i=e.body,n=[];return(0,r._each)(i.seatbid,(e=>{(0,r._each)(e.bid,(o=>{const a=t.bidId,d=t.params,{ad:u,adUrl:p}=function(e){let t,i;return(0,s.Z)(e,"ext.prebid.type"),e.adm&&e.nurl?(t=e.adm,t+=(0,r.createTrackPixelHtml)(decodeURIComponent(e.nurl))):e.adm?t=e.adm:e.nurl&&(i=e.nurl),{ad:t,adUrl:i,vastXml:void 0,vastUrl:void 0}}(o),c={requestId:a,params:d,cpm:o.price,width:o.w,height:o.h,creativeId:o.id,currency:i.cur,netRevenue:!0,ttl:360,meta:{advertiserDomains:o.adomain||[]}};l[e.seat]=c.cpm,m[e.seat]=c.creativeId,c.ad=u,c.adUrl=p,n.push(c)}))})),n},getUserSyncs:function(e,t,i,n){if(!t?.length)return[];const s=[],r=function(e){const t=e.map((e=>Object.keys(e.body.ext.responsetimemillis||[]))).flat(1);if(t.length)return encodeURIComponent(JSON.stringify([...new Set(t)]))}(t);if(e.iframeEnabled&&r){const e=[];e.push(`bidders=${r}`),e.push("gdpr="+ +i.gdprApplies),e.push("gdpr_consent="+i.consentString),e.push("usp_consent="+(n||""));const t=e.join("&");return s.push({type:"iframe",url:"https://cookie.stpd.cloud/sync?"+t+"&type=iframe"}),s}return[]},getPixelUrl:function(e,t,i){let n=t.bidder||t.bidderCode;const s=t.auctionId;if("setupad"!==n)return;let r;if(t.params?r=Array.isArray(t.params)?t.params:[t.params]:Array.isArray(t.bids)&&(r=t.bids.map((e=>e.params))),!r.length)return;const o=[];r.forEach((e=>{e.placement_id&&o.push(e.placement_id)}));const a=o.length&&o.join(";")||"";if(!a)return;let d="";if(e===c.EVENTS.BID_RESPONSE&&(n=JSON.stringify(l),d=`¤cy=${t.originalCurrency}`),e===c.EVENTS.BID_WON){for(const e in m)if(m.hasOwnProperty(e)&&m[e]===t.creativeId){n=e;break}d=`&cpm=${t.originalCpm}¤cy=${t.originalCurrency}`}return`https://adapter-analytics.azurewebsites.net/api/adapter-analytics?event=${e}&bidder=${n}&placementIds=${a}&auctionId=${s}${d}×tamp=${i}`}};function f(e){const t=function(e){const t=window.googletag&&window.googletag.pubads&&window.googletag.pubads().getSlots().find((t=>t.getAdUnitPath()===e.adUnitCode)),i=t&&t.getSlotElementId();return i?document.querySelector("#"+i):null}(e);return t?t.getBoundingClientRect():{}}(0,o.dX)(g),(0,n.z)("setupadBidAdapter")}},e=>{e.O(0,[38409],(()=>e(e.s=11962))),e.O()}])}},t={};function i(n){var s=t[n];if(void 0!==s)return s.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,i),r.exports}i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n={};(()=>{"use strict";i.d(n,{Sf:()=>h,JO:()=>U,_f:()=>D,lM:()=>j,Wd:()=>y,hp:()=>w,hM:()=>v,PA:()=>J,N6:()=>B}),i(395);function e(e){window.location.search.includes("stpd_debug")&&console.log(e)}function t(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;try{if(i===window.top)return;return i.parent===window.top?i.frameElement:t(i.parent)}catch(t){e(t)}}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;try{e.frameElement}catch(e){return[]}return e.frameElement?[e.frameElement,...s(e.parent)]:[]}function r(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{sticky:!1,sizeParentIframes:!1};const r=n.sticky?"100%":`${t}px`,a=`${n.sticky?i+40:i}px`;o(e,r,a,n.sticky),n.sizeParentIframes&&s(e.contentWindow).forEach((e=>{o(e,r,a,n.sticky),-1!==e.id.indexOf("google_ads_iframe")&&""!==e.parentElement.parentElement.style.width&&""!==e.parentElement.parentElement.style.height&&(e.parentElement.parentElement.style.width=r,e.parentElement.parentElement.style.height=a)}))}const o=(e,t,i,n)=>{e.style.width=t,e.style.height=i,n?"stpdwrapper"===e.parentElement.className&&(e.parentElement.style.width="100vw"):"INS"===e.parentElement.tagName&&(e.parentElement.style.width=t,e.parentElement.style.height=i)},a={rubicon:52,adform:50,appnexus:32,pubmatic:76,smartadserver:45,sovrn:13,openx:69,ix:10,onetag:241,eplanning:90,mobfoxpb:311,triplelift:28,nextmillennium:void 0,connectad:138,rise:1043,mediafuse:void 0,medianet:142};function d(e){if("string"!=typeof e)throw new Error("bidderCode must be string for getGvlIdByBidderCode() fn.");return a[e]}function u(e){if("object"!=typeof e)throw new Error("s2sAlias must be object for mapS2sAliasToAliasGvlIds() fn.");const t={};for(const[i,n]of Object.entries(e))t[i]=d(n);return t}const p=function(t){if(void 0===v[t])return e("ERROR: slotOnLoadEnded() fn called for non-existing slot.");if(!v[t].slotRenderEndedEvent)return e("ERROR: slotOnLoadEnded() fn called for slot for which slotRenderEnded event is unavailable");(function(e){v[e].render_count=(v[e]?.render_count||0)+1})(t),"tag"!==stpd.vars.type||stpd.vars.containerSized||r(window.frameElement,v[t].slotRenderEndedEvent.size[0],v[t].slotRenderEndedEvent.size[1],{sticky:v[t].sticky,sizeParentIframes:stpd.vars.creative_settings.sizeParentIframes});const[i,n]=v[t].slotRenderEndedEvent.size;if(v[t].slotSize=v[t].slotRenderEndedEvent.size,v[t].stpd_logged)return;if(stpd.vars.amazon&&v[t].slotRenderEndedEvent.campaignId===stpd.vars.amazon.orderId)return stpdLog("amazon",t);if(stpdLog("google",t),i<1||n<1)return;const s=document.getElementById(t).getElementsByTagName("iframe")[0];stpd.vars.saas.iframeSizeAR&&r(s,i,n)},c=t=>{const i=t.slot.getSlotElementId();if(v[i]){if(t.isEmpty)return async function(t){if(!stpd.vars?.unfilled_refresh)return;if(!document.getElementById(t)||!v[t])return void e(`refreshUnfilledAdUnit() called for slot that does not exist in DOM or slots[]. adUnitCode: ${t}. Slots: ${v}`);const i=stpd.vars.unfilled_refresh?.max_refresh_count,n=stpd.vars.unfilled_refresh?.refresh_timeout||5;var s;void 0!==v[t].unfilledRefreshCount?v[t].unfilledRefreshCount++:v[t].unfilledRefreshCount=0,v[t].unfilledRefreshCount<i&&(await(s=n,new Promise((e=>setTimeout(e,s)))),stpd.refreshAdUnit(t))}(i);v[i].unfilledRefreshCount=0,v[i].slotRenderEndedEvent=t,v[i]?.slotOnLoadEventFired&&p(i)}};function l(e,t){if(!Array.isArray(t)||t.some((e=>"string"!=typeof e)))throw new TypeError("adunits must be an array of strings");if("IFRAME"!==e?.tagName)throw new TypeError("iframeElement must be HTML Iframe element");for(const i of t)if(e.contentDocument.getElementById(i))return i;const i=e.contentDocument.getElementsByTagName("iframe");for(const e of i){const i=l(e,t);if(i)return i}return null}const m=new IntersectionObserver((function(e){e.forEach((function(e){let t;t="tag"===window.stpd.vars.type?l(e.target,Object.keys(v)):e.target.id,e.isIntersecting?(e.target.stpdInView=!0,window.stpd.vars.autorefresh.show_debugging_information&&console.log(t+": just got in view!"),"visible"===top.document.visibilityState&&D(t,v)):(e.target.stpdInView=!1,window.stpd.vars.autorefresh.show_debugging_information&&console.log(t+": is not in view!"),B(t,v))}))}),{threshold:.5});function I(i){if("string"!=typeof i)return void console.warn("AdunitId must be a string for addAutoRefreshObserver f-n (setupad)");if(v[i].refresh_timer_started=!1,v[i].refresh_count=0,!v[i].autoRefresh.auto_refresh_on)return void e(`Trying to register adUnit ${i} for auto refresh, but auto_refresh_on is false for this adUnit. Please enable auto refresh for this adUnit in Prebid Panel.`);if(!v[i].autoRefresh.auto_refresh_inview_on)return e(`Beginning timer for ${i} for auto refresh, auto_refresh_inview_on is false, skipping intersection observer.`),void D(i,v);const n="tag"===window.stpd.vars.type?t():document.getElementById(i);null!==n&&(m.observe(n),g(top.document,"mouseout",function(e){return function(t){var i=(t=t||window.event).relatedTarget||t.toElement;i&&"HTML"!=i.nodeName||(stpd.vars.autorefresh.show_debugging_information&&console.log("Mouse out of window."),window.stpd.vars.mouse_in_window=!1,void 0!==v[e]&&v[e].refresh_timer_started&&B(e,v))}}(i)),g(top.document,"mouseenter",function(e,t){return function(){window.stpd.vars.autorefresh?.show_debugging_information&&console.log("Mouse in window!"),window.stpd.vars.mouse_in_window=!0,null!==e&&e.stpdInView&&(window.stpd.vars.autorefresh?.show_debugging_information&&console.log('Slot "'+t+'" is already in view!'),D(t,v))}}(n,i)))}function g(e,t,i){window.stpd.vars.autorefresh?.show_debugging_information&&console.log("Added "+t+"event!"),e.addEventListener?e.addEventListener(t,i,!1):e.attachEvent&&e.attachEvent("on"+t,i)}window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.stpd=window.stpd||{},stpd.vars={containerSized:!1},stpd.adformPb=stpd.adformPb||{},stpd.adnuntiusPb=stpd.adnuntiusPb||{};var f=[];const j={},h=[],y={},w=[];var b=[],M="eyJtaWNlMTlsbHEwdyI6MC44MSwid2E1N25rIjowLjksImI3MDJrZyI6MC45NiwiMWk3OTR3MCI6MS44MywiY2t5MWhjIjoxLjkyLCIxNXVyN2N3IjoyLjg1LCI3ZzVqd2ciOjMsIjY3N2RvZyI6MC4yOCwiMWs1NmFrZyI6MC4zOSwiN2I1cjdrIjowLjQ0LCIxcXN3anI0IjowLjUxLCJkeXcwZTgiOjAuNTYsIjF0a3Noa3ciOjAuNjcsIjFnOWJ6N2siOjAuNzMsInJ1YnBqNCI6MC44MiwiMTF0eDNiNCI6MS4wMSwiMXd3bm02OCI6MS4wNywiMThobmNocyI6MS4xMywiZGV3dG1vIjoxLjIsInV3NzhxbyI6MS4zLCJzb2Fob2ciOjEuNDYsIjFldmUwYW8iOjEuNTMsIjEybnZ2Z2ciOjEuNjUsInk4MmRjMCI6MS43LCIxb3V6ZTJvIjoxLjc1LCJpb3Azd2ciOjEuODIsIjFtbjJuMGciOjEuOTEsInlzMWszayI6Mi4wMiwiMTl2bGJlbyI6Mi4wOSwiMWlyOGJuayI6Mi4xNSwiYmd6bnk4IjoyLjI0LCJrY21vNzQiOjIuMywiMTZqcTZ0YyI6Mi4zNywicjBjeGRzIjoyLjQyLCIxZDdnZzAwIjoyLjQ5LCIxbTMzZzh3IjoyLjU1LCIxbGU0Z3NnIjoyLjYzLCJxYmR4eGMiOjIuNywiMTFleHA4ZyI6Mi43NywiMWJlajMwZyI6Mi44OSwieTMya240IjoyLjk4LCIxMzJ2OWo0IjozLjI1LCJmcnRkZHMiOjMuNiwibTVrMTZvIjozLjksInVtN25jdyI6MC4wMiwiMXU0cm9jZyI6MC4wMywiMTNodW5scyI6MC4wNSwiaGFyNHprIjowLjA4LCJ6MjE1aGMiOjAuMSwiMXlrbDZndyI6MC4xMSwiMTd4bzVxOCI6MC4xMywiMXBveTY4MCI6MC4xNSwiMWE1a3dzZyI6MC4xNywic2Vhd2FvIjowLjE4LCIxcmR2azAiOjAuMiwiMTE5eHdqayI6MC4yMSwiMWoxN3gxYyI6MC4yMywiZjJ1ZHhjIjowLjI0LCJ3dTRlZjQiOjAuMjYsIjE1cHJlbzAiOjAuMjksIjFuaDFmNXMiOjAuMzEsImJxejljMCI6MC4zMiwidGk5OXRzIjowLjM0LCIydmM5MzQiOjAuMzYsImttbTlrdyI6MC4zOCwiZzZzcmdnIjowLjQsInh5MnJ5OCI6MC40MiwiMTZ0cHM3NCI6MC40NSwiMW9renNvdyI6MC40NywiMTkxbWo5YyI6MC40OSwibmZpMHciOjAuNTIsImllcGlpbyI6MC41NCwiMTBweXBzMCI6MC44NSwiaXlvcGE4IjowLjg2LCIxZTFmODVjIjowLjg5LCI1bjg2d3ciOjAuOTIsIm5laTdlbyI6MC45NCwiMWFwazNrMCI6MC45Nywic3lhMzI4IjowLjk4LCIxamw3M3N3IjoxLjAzLCIxZjVkbG9nIjoxLjA1LCI2cjZrZzAiOjEuMDgsIm9pZ2t4cyI6MS4xLCI4ejNiaTgiOjEuMTIsIjFxOHhjemsiOjEuMTUsInptMGM4dyI6MS4xNywiMWhkYWNxbyI6MS4xOSwiMWN4Z3VtOCI6MS4yMSwidjY2dTRnIjoxLjIyLCI0ajl0ZHMiOjEuMjQsIm1hanR2ayI6MS4yNiwiMWx0M3V2NCI6MS4yNywiMWNuaDk4ZyI6MS4yOSwiNDlhODAwIjoxLjMyLCIxM3J1OHprIjoxLjMzLCIxbGo0OWhjIjoxLjM1LCIxaDNhcmN3IjoxLjM3LCIxeXVrcnVvIjoxLjM5LCI4cDNxNGciOjEuNCwiMTg3bnI0MCI6MS40MSwicWdkcW04IjoxLjQyLCJheDBoNm8iOjEuNDQsIjFzNnVpbzAiOjEuNDcsIjIxZGd4cyI6MS40OCwianNuaGZrIjoxLjUsImZjdHpiNCI6MS41MiwieDQzenN3IjoxLjU0LCI2aDZ6MjgiOjEuNTYsIm84Z3prMCI6MS41OCwiMW5yMTBqayI6MS41OSwidHM4djdrIjoxLjYyLCIzNWJ1Z3ciOjEuNjQsIjFrZjV2eTgiOjEuNjcsIjFmemNkdHMiOjEuNjksIjdsNWNsYyI6MS43MiwiMTczcGRrdyI6MS43MywiOXQyM25rIjoxLjc2LCJya2M0NWMiOjEuNzgsInhmM2VvIjoxLjgsIjEwZno0ZTgiOjEuODEsIjFkcmZtcmsiOjEuODUsIjF2aXBuOWMiOjEuODcsIm40aW0wdyI6MS45LCIxYzNpMmd3IjoxLjkzLCIzcGIxOGciOjEuOTYsIjFrejUycHMiOjEuOTksImgwcmpscyI6MiwiMXlhbGwzNCI6Mi4wMywiMTdub2tjZyI6Mi4wNSwicHdlanVvIjoyLjA2LCJhZDFhZjQiOjIuMDgsIjFybXZid2ciOjIuMTEsIjFoZWE2OCI6Mi4xMiwiajhvYW8wIjoyLjE0LCJlc3VzamsiOjIuMTYsIndrNHQxYyI6Mi4xOCwiNXg3c2FvIjoyLjIsIjE1ZnJ0YTgiOjIuMjEsIjFuNzF0czAiOjIuMjMsIjFhempveHMiOjIuMjUsIjFzcXRwZmsiOjIuMjcsIjEyM3dvb3ciOjIuMjksIjFqdjZwNm8iOjIuMzEsIjFmZmQ3MjgiOjIuMzMsInhvMzZrZyI6Mi4zNCwiNzE2NXRzIjoyLjM2LCIxb2IwN2I0IjoyLjM5LCI5OTJ3dzAiOjIuNCwiMXFpd3lkYyI6Mi40MywienZ6eG1vIjoyLjQ1LCJpNHB4NHciOjIuNDYsImRvd2YwZyI6Mi40OCwiMXV5cWdocyI6Mi41MSwiNHQ5ZXJrIjoyLjUyLCJta2pmOWMiOjIuNTQsImN6eGZrMCI6Mi41NiwidXI3ZzFzIjoyLjU4LCI0NGFmYjQiOjIuNiwibXBqN3k4Ijo1LjEsImg4OThuNCI6NS4yLCJzYnN6eTgiOjUuMywiNjRwaGMwIjo1LjQsImtrNGQ4ZyI6NS41LCI5Z2tseGMiOjUuNiwiMW1hbDVhOCI6NS43NSwiMWc2dTJ2NCI6NS44NSwicGp4MjRnIjo1LjksIjE1M2FiazAiOjYuMDUsIjFqaXA3Z2ciOjYuMTUsImhzOGZlbyI6Ni4zLCIxdW04eXJrIjo2LjM1LCIxM3BjY240Ijo2LjQ1LCIxeXZrbGMiOjYuNiwiMWVzdzN5OCI6Ni42NSwiZ2VhZ2hzIjo2LjgsInJodTdzdyI6Ni45LCIxaTRyOGprIjo2Ljk1LCIxYzEwNjRnIjo3LjA1LCIxeTgzb3FvIjo3LjE1LCIxMHhnZXRjIjo3LjI1LCIxbjRqeGZrIjo3LjM1LCIxZmN2YXBzIjo3LjQ1LCIxcWdmMjB3Ijo3LjU1LCIxNDliamVvIjo3LjY1LCIxbGJta2cwIjo3Ljc1LCIxYTgydDR3Ijo3Ljg1LCJidGg1b2ciOjgsIjRiczRjZyI6OSwid3ZkY2xjIjoxMC41LCJtYnNzMXMiOjExLjUsIjl1YjF0cyI6MTIsImxjdTc3ayI6MTMuNSwieWViNDc0IjoxNC41LCJjOXBoeGMiOjE2LCIzNDJ3YW8iOjE3LCJoZWh6aTgiOjE4LCJ2dHd2ZW8iOjE4LjUsImFnczR4cyI6MjAsImZjN2k4MCI6MjIsImJiZGU2OCI6MjQsIjhsemNvdyI6MjcsIjE5YTQxcyI6MjksImQ1anBjMCI6MzIsImd3ZTgwMCI6MzQsImxxa240MCI6MC4wNiwiMWNkaG51byI6MC4wMSwiM3phbW04IjowLjA0LCIxbDk0bzNrIjowLjA3LCIxZ3RiNXo0IjowLjA5LCI4ZjQ0cW8iOjAuMTIsInE2ZTU4ZyI6MC4xNCwiYW4wdnN3IjowLjE2LCIxcnd1eGE4IjowLjE5LCJqaW53MXMiOjAuMjIsIjFlbGVld3ciOjAuMjUsIjF3Y29mZW8iOjAuMjcsIm55aGU2OCI6MC4zLCIxYjlqYWJrIjowLjMzLCIxdDB0YXRjIjowLjM1LCIxMmR3YTJvIjowLjM3LCIxZnBjc2cwIjowLjQxLCIxeGdtc3hzIjowLjQzLCJwMmZycGMiOjAuNDYsIjlqMmk5cyI6MC40OCwicmFjaXJrIjowLjUsIjEwNXpqMGciOjAuNTMsIjFoeDlqaTgiOjAuNTUsInZxNjB3MCI6MC41OCwiNTM5MDVjIjowLjYsIm11ajBuNCI6MC42MiwiY2F5ZzNrIjowLjY0LCIxYnRpaDM0IjowLjY1LCIzZmJmdW8iOjAuNjgsImw2bGdjZyI6MC43LCJncXJ5ODAiOjAuNzIsInlpMXlwcyI6MC43NCwiN3Y0eHo0IjowLjc2LCJwbWV5Z3ciOjAuNzgsIjFwNHl6Z2ciOjAuNzksIjFkaGcxZHMiOjAuNTcsIjF2OHExdmsiOjAuNTksIjE0bHQxNHciOjAuNjEsIjFtZDMxbW8iOjAuNjMsInUyOGdsYyI6MC42NiwiMTJ4dmd1OCI6MC42OSwiMWtwNWhjMCI6MC43MSwiMXkwbHpwYyI6MC43NSwiMTdkb3l5byI6MC43NywiYTMxcDFjIjowLjgsIjFyY3ZxaW8iOjAuODMsImVpdjc1cyI6MC44OCwiMXZzcDhuNCI6MC45MSwiMW14MjhlOCI6MC45NSwiMmJkMmJrIjoxLCJrMm4ydGMiOjEuMDIsImZtdGtvdyI6MS4wNCwieGUzbDZvIjoxLjA2LCIxNjlxbGZrIjoxLjA5LCIxbzEwbHhjIjoxLjExLCJxcWRjMDAiOjEuMTQsIjNnYjljIjoxLjE2LCJodXFicjQiOjEuMTgsIjF1b3F2NDAiOjEuMjMsIjE0MXR1ZGMiOjEuMjUsImQ0eDg4dyI6MS4yOCwiMXVlcjlxOCI6MS4zMSwibTBrOGhzIjoxLjM0LCJoa3FxZGMiOjEuMzYsInpjMHF2NCI6MS4zOCwiMXB5eHJscyI6MS40MywiMWFma2k2OCI6MS40NSwiMTFqeGh4YyI6MS40OSwiMWpiN2lmNCI6MS41MSwiMXdtbzBzZyI6MS41NSwiMTV6cjAxcyI6MS41NywiYzB5dXBzIjoxLjYsIjFiaml2cGMiOjEuNjEsIjF0YXN3NzQiOjEuNjMsImt3bHV5byI6MS42NiwiMXI3dnh0cyI6NC4zNSwiMWEwbDQzayI6NC42NSwiMW9nMDAwMCI6NC45NSwiMXUyOXMwMCI6NS4xNSwiMWI3MWR6NCI6NS40NSwidm5vNGprIjo1LjcsImVnZGF0YyI6NiwiNm9vbzNrIjo2LjIsIno5aXVpbyI6Ni41LCIxdDhhenVvIjo2Ljc1LCJ3aG13b3ciOjcuMywiZG1laW8wIjo3LjYsImpsNXNlOCI6Ny45LCJmemIyZjQiOjEwLCIxeG1tZjQiOjEzLCJxNTU3MjgiOjE1LjUsIm9jN3UybyI6MTkuNSwiM3RvY3U4IjoyNSwiZWFyMTFjIjozMCwiN3FybWRjIjozNSwieDkzc2hzIjo0LjEsIjNhYm41cyI6NC4yLCJlZHZlZ3ciOjQuNCwiMWw0NHZlbyI6NC41NSwiMXc3b21wcyI6NC43NSwieHQyejljIjo0LjksIjFkY2c4b3ciOjUuMDUsIjE3djY5ZHMiOjUuMjUsIjFpeXEwb3ciOjUuMzUsIjF4ZTR3bGMiOjUuNTUsIjEwM2htbzAiOjUuNjUsIjNjdGppOCI6NS44LCIxcmFkdTY4Ijo1Ljk1LCJzdnM2cHMiOjYuMSwiMThmNWc1YyI6Ni4yNSwiZDJmYndnIjo2LjQsIjFwd2Z2OWMiOjYuNTUsIm81ejM3ayI6Ni43LCIxNzE3aDhnIjo2Ljg1LCI1YXFwNm8iOjcsImxlMzVkcyI6Ny4xLCJhYWplMm8iOjcuMiwiMml1cmN3Ijo3LjQsIm9weTl6NCI6Ny41LCJ1b3BqcGMiOjcuNywiOGhtMTM0Ijo3LjgsIjF3ZjZicjQiOjcuOTUsInJ3dGx2ayI6OC41LCJpcjcwOHciOjkuNSwiN3dkdzVjIjoxMSwidDlpbW04IjoxMi41LCJkbDVraHMiOjE0LCI2M2dqNXMiOjE1LCJxcDRkdHMiOjE2LjUsImo3ZmNocyI6MTcuNSwiNnV4ZXlvIjoxOSwibXQweHMiOjIxLCI0c214b2ciOjIzLCJnM29lMHciOjI2LCI5NXlqZ2ciOjI4LCI2N3R1cmsiOjMxLCIybHo0c2ciOjMzLCIxaWg4cTlzIjowLjg3LCIxc2d1NDFzIjowLjk5LCJ3MDVtOXMiOjEuODYsIjF0dXMyeW8iOjEuOTUsImxnbDFxOCI6MS45OCwid3o0NzQwIjoyLjgyLCJidnoyMHciOjIuODgsIjF0NXQzaTgiOjIuOTEsImtybTI5cyI6Mi45NCwiMWZ1Y2w0dyI6Mi45NywiMTdlb3NnIjowLjg0LCIxNTVzN3dnIjowLjkzLCIxNHZzbWlvIjoxLjg5LCJnZ3NjdTgiOjEuNjgsIjF4cW1lYmsiOjEuNzEsInBjZmQzNCI6MS43NCwiMTlibTRuNCI6MS43NywiMXIydzU0dyI6MS43OSwiZTh2bHMwIjoxLjg0LCI1ZDhsajQiOjEuODgsInVjODF6NCI6MS45NCwiMTM3djI4MCI6MS45NywiMWdqYmtsYyI6Mi4wMSwiODU0amN3IjoyLjA0LCIxcGV5a3U4IjoyLjA3LCJzNGJhd3ciOjIuMSwiMTB6eWI1cyI6Mi4xMywiMWViZXRqNCI6Mi4xNywiMXcyb3UwdyI6Mi4xOSwibm9oc3NnIjoyLjIyLCJ0ODlvZzAiOjIuMjYsIjJsY25wYyI6Mi4yOCwiZnd0NjJvIjoyLjMyLCIxeDZuN2swIjoyLjM1LCJvc2c2YmsiOjIuMzgsIjE4cm14dmsiOjIuNDEsImRmd240IjoyLjQ0LCIxaG45eTRnIjoyLjQ3LCJ2ZzZmaTgiOjIuNSwiMTRidGZyNCI6Mi41MywiMWNpaGdqayI6Mi41NywiMXU5cmgxYyI6Mi41OSwibHZrZnN3IjoyLjYyLCJ6NzB5NjgiOjIuNjYsIjE4Mm55ZjQiOjIuNjksImFzMG9ocyI6Mi43MiwiMXMxdXB6NCI6Mi43NSwiMWo2N3BxOCI6Mi43OSwiMWVxZTdscyI6Mi44MSwibzNoNnY0IjoyLjg2LCIzMGMxczAiOjIuOTIsIjFrYTYzOWMiOjIuOTUsIjE5Nm1ieTgiOjMuMDUsImNmeThzZyI6My4yLCIxcDl5czVjIjozLjM1LCJuamkwM2siOjMuNSwicXZkNG93IjozLjcsIjFjc2gxeGMiOjMuODUsImIyMDl2ayI6NCwiMTNtdWdhbyI6Mi42MSwiaGZxeG9nIjoyLjY0LCIxZ3lheW8wIjoyLjY1LCIxeXBrejVzIjoyLjY3LCI4azN4ZmsiOjIuNjgsIjFwdHh5d3ciOjIuNzEsIjFhYWtwaGMiOjIuNzMsInNqYW96ayI6Mi43NCwiMXdkbzh3IjoyLjc2LCJqbm5vcW8iOjIuNzgsImY3dTZtOCI6Mi44LCIxd2hvODNrIjoyLjgzLCI2Yzc2ZGMiOjIuODQsIjFubTE3dW8iOjIuODcsInRuOTJpbyI6Mi45LCIxMml3MnJrIjoyLjkzLCJnYnNrNWMiOjIuOTYsIjF4bG1sbW8iOjIuOTksImlqcGI3ayI6My4xLCIxdmRwdWtnIjozLjE1LCJ5bjFyZW8iOjMuMywiMWNlaGhjIjozLjQsIjFlNmYwdTgiOjMuNDUsIjFzbHR3cW8iOjMuNTUsIjE2ZXFlNGciOjMuNjUsIjFoaWE1ZmsiOjMuNzUsIjRvOW0ybyI6My44LCIxeXpra2prIjozLjk1LCIxMW94YW04Ijo0LjA1LCIxbncwdDhnIjo0LjE1LCIxZzRjNmlvIjo0LjI1LCJwaGY1czAiOjQuMywiMTUwc2Y3ayI6NC40NSwidWg3dW8wIjo0LjUsIjhhNGMxcyI6NC42LCJqZG8zY3ciOjQuNywiYmx6Z240Ijo0LjgsIjEyOHdoZHMiOjQuODUsImlmcGMwIjo1fQ==";const v={};var N=[],C=0,O=!1,x=!1;try{O=top.location.href}catch(e){}function E(e,t){for(var i in e)t.style[i]=e[i]}function L(e,t){var i,n=e.getElementsByTagName("iframe");for(i=0;i<n.length;++i)-1!==n[i].id.indexOf("stpd")||-1!==n[i].id.indexOf("google_ads_iframe")?null===t||t.stpdSticky?n[i].stpdSticky||n[i].stpdFound||(n[i].stpdFound=!0,b.push(n[i])):t.stpdFound||(t.stpdFound=!0,b.push(t)):null!==n[i].contentDocument&&L(n[i].contentDocument,null!==t?t:n[i])}function z(e,t){if("tag"===stpd.vars.type){var i=window;for(let h=0;h<10&&i!==top&&(n=i.frameElement);h++)i=i.parent;n.stpdSticky=!0,document.getElementById(e).getElementsByTagName("iframe")[0].stpdSticky=!0}else{var n;(n=document.getElementById(e)).getElementsByTagName("iframe")[0].stpdSticky=!0}var s,r=t[e].sticky.attributes.opacity,o=t[e].sticky.attributes.bottom_gap??0,a=t[e].sticky.attributes.top;if("tag"===stpd.vars.type){var d=document.querySelectorAll("[id^="+e+"]")[0],u=document.querySelectorAll("[id^="+e+"] div")[0],p={background:"rgba(255, 255, 255, "+r+")",padding:"5px 0",clear:"both",width:"100%",height:d?u.clientHeight+"px":"100%"};a?p.borderBottom="1px solid rgba(170, 170, 170, "+r+")":p.borderTop="1px solid rgba(170, 170, 170, "+r+")",E(p,d),void 0!==u&&E({margin:"0 auto",position:"absolute",left:"50%",transform:"translateX(-50%)"},u)}if(t[e].sticky.attributes.sticky_hide){var c=top.innerHeight-parseInt(n.clientHeight),l={rootMargin:"-"+(c-o)+"px 0px -"+o+"px 0px"};a&&(l={rootMargin:"-"+o+"px 0px -"+(c-o)+"px 0px"}),L(top.document,null);var m=new IntersectionObserver((function(e){var t=parseInt(n.clientHeight);e.forEach((function(e){if(!e.target.stpdSticky)if(e.isIntersecting)a?n.style.top="-"+t+"px":n.style.bottom="-"+t+"px",e.target.stpdIsIntersecting=!0;else{e.target.stpdIsIntersecting=!1;var i=!1;b.forEach((function(e){e.stpdIsIntersecting&&(i=!0)})),i?a?n.style.top="-"+t+"px":n.style.bottom="-"+t+"px":a?n.style.top=o+"px":n.style.bottom=o+"px"}}))}),l);b.forEach((function(e){m.observe(e)})),top.addEventListener("stpdRendered",(function(e){e.detail.iframe.stpdFound||e.detail.iframe.stpdSticky||(e.detail.iframe.stpdFound=!0,b.push(e.detail.iframe),m.observe(e.detail.iframe))}))}if(t[e].sticky.attributes.sticky_initialy_hidden&&t[e].sticky.attributes.sticky_hide_onscroll&&(o="-"+parseInt(n.clientHeight)),"tag"===stpd.vars.type){if(t[e].sticky.attributes.sticky_close)var I=u.clientHeight+42;else I=u.clientHeight+12;s={position:"fixed",zIndex:2147483647,left:"50%",webkitTransform:"translateX(-50%)",MozTransform:"translateX(-50%)",msTransform:"translateX(-50%)",OTransform:"translateX(-50%)",transform:"translateX(-50%)",width:"100%",height:I+"px",display:"block",visibility:"visible"},a?(s.top=o+"px",s.transition="top 0.3s"):(s.bottom=o+"px",s.transition="bottom 0.3s")}else s={position:"fixed",zIndex:2147483647,left:"50%",webkitTransform:"translateX(-50%)",MozTransform:"translateX(-50%)",msTransform:"translateX(-50%)",OTransform:"translateX(-50%)",transform:"translateX(-50%)",width:"100%",background:"rgba(255, 255, 255, "+r+")",textAlign:"center",padding:"5px 0",display:"block",visibility:"visible"},a?(s.top=o+"px",s.borderBottom="1px solid rgba(170, 170, 170, "+r+")",s.transition="top 0.3s"):(s.bottom=o+"px",s.borderTop="1px solid rgba(170, 170, 170, "+r+")",s.transition="bottom 0.3s");if(o=t[e].sticky.attributes.bottom_gap??0,E(s,n),t[e].sticky.attributes.sticky_hide_onscroll){var g=top.pageYOffset;top.onscroll=function(){var e=parseInt(n.clientHeight),t=top.pageYOffset;g<t?a?n.style.top=o+"px":n.style.bottom=o+"px":a?n.style.top="-"+e+"px":n.style.bottom="-"+e+"px",g=t}}var f=document.createElement("div");f.id="stpd_close";var j={};if("tag"===stpd.vars.type?(j={float:"right",width:"30px",height:"30px",zIndex:2147483647,cursor:"pointer",background:"rgba(255, 255, 255, "+r+")",borderLeft:"1px solid rgba(170, 170, 170, "+r+")"},a?(j.borderRadius="0px 0px 0px 10px",j.borderBottom="1px solid rgba(170, 170, 170, "+r+")",j.marginTop="-1px"):(j.borderRadius="10px 0px 0px",j.borderTop="1px solid rgba(170, 170, 170, "+r+")",j.marginBottom="-1px")):(j={right:"0",width:"30px",height:"30px",position:"absolute",zIndex:2147483647,cursor:"pointer",background:"rgba(255, 255, 255, "+r+")",borderLeft:"1px solid rgba(170, 170, 170, "+r+")"},a?(j.bottom="-30px",j.marginTop="-1px",j.borderRadius="0px 0px 0px 10px",j.borderBottom="1px solid rgba(170, 170, 170, "+r+")"):(j.top="-30px",j.marginBottom="-1px",j.borderRadius="10px 0px 0px",j.borderTop="1px solid rgba(170, 170, 170, "+r+")")),E(j,f),t[e].sticky.attributes.sticky_close){function y(e){e.remove()}f.innerHTML="<?xml version='1.0' encoding='utf-8'?> <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'> <svg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='30px' height='30px' viewBox='0 0 512 512' enable-background='new 0 0 512 512' xml:space='preserve'> <g> <g fill='black'> <polygon points='405,136.798 375.202,107 256,226.202 136.798,107 107,136.798 226.202,256 107,375.202 136.798,405 256,285.798 375.202,405 405,375.202 285.798,256 '/> </g> </g> </svg>","tag"===stpd.vars.type?document.getElementById("stpd_close")||(a?document.body.append(f):document.body.prepend(f)):n.appendChild(f),f.addEventListener("click",y.bind(null,n))}document.getElementById(e).getElementsByTagName("iframe")[0].style.margin="auto"}function S(e){var t=!1;return googletag.pubads().getSlots().forEach((function(i){e==i.getSlotElementId()&&(t=i.getAdUnitPath())})),t}function _(e){return e.autoRefresh.auto_refresh_time_interval_from+Math.floor(Math.random()*(e.autoRefresh.auto_refresh_time_interval_to-e.autoRefresh.auto_refresh_time_interval_from))}function T(e,t){var i;return i=""==e.code&&""!==e.path?t.getSlotElementId():e.code,!0===stpd.vars.saas.adunit_debug&&(console.log("============================="),console.log("adunit.code: "+e.code),console.log("adunit.path: "+e.path),console.log("slot.id: "+t.getSlotElementId()),console.log("slot.path: "+t.getAdUnitPath().split("/").pop()),console.log("=============================")),v[i]={amazon:!1,prebid:!1,amazonbid:{},stpd_logged:!1,render_count:0,refresh_key:0,sticky:e.sticky,refresh_after:_(e),refresh_timer_start:Date.now(),slotRenderEndedEvent:!1,slotOnLoadEventFired:!1,autoRefresh:e.autoRefresh},i}function k(e,t,i){var n={};n.code=t,n.mediaTypes=e.mediaTypes,n.bids=[];var s=i.getAdUnitPath();for(var r in!1!==s&&stpd.vars.amazon&&stpd.vars.amazon.slots.push({slotID:t,sizes:e.mediaTypes.banner.sizes,slotName:s}),e.bidders)if(e.bidders[r]&&e.bidders[r].bidder)if("indexexchange"!==r){if("rubiconS2S"===r&&(e.bidders[r].params.accountId=parseInt(e.bidders[r].params.accountId),e.bidders[r].params.siteId=parseInt(e.bidders[r].params.siteId),e.bidders[r].params.zoneId=parseInt(e.bidders[r].params.zoneId)),"adnuntius"===r&&(e.bidders[r].params.targeting=stpd.adnuntiusPb.hasOwnProperty("targeting")?stpd.adnuntiusPb.targeting:"",stpd.setConfig({bidderSequence:"fixed"})),"adform_publisher"===r&&(e.bidders[r].params.url=window.location.href,stpd.setConfig({bidderSequence:"fixed"})),"adformS2S"===r||"adform"===r||"adform_publisher"===r){let e={site:{}};if(stpd.adformPb.mkw&&(e.site.keywords=stpd.adformPb.mkw),stpd.adformPb.mkv){let t=stpd.adformPb.mkv.split(","),i={};for(var o in t){let e=t[o].split(":");i.hasOwnProperty(e[0])?i[e[0]].push(e[1]):i[e[0]]=[e[1]]}e.site.ext={data:i}}e.cur=["USD"],stpd.setConfig({ortb2:e})}r.includes("adform")&&void 0!==window.clientContinent&&("NA"===window.clientContinent?e.bidders[r].params.adxDomain="adx2.adform.net":e.bidders[r].params.adxDomain="adx.adform.net");let t=e.creative_settings.outstream_sizes,i=e.creative_settings.outstream_publisher_sizes;if(("adform_outstream"===r||"adform_outstream_publisher"===r)&&(t||i)){"adform_outstream_publisher"===r&&stpd.setConfig({bidderSequence:"fixed"});const e=e=>e?e.includes(",")?e.match(/[^,]+,[^,]+/g):e:[],s=e(t),o=e(i),a=s.concat(o).filter(((e,t,i)=>{const n=JSON.stringify(e);return i.findIndex((e=>JSON.stringify(e)===n))===t}));n.mediaTypes.video={playerSize:a[0],context:"outstream",mimes:["video/mp4"],protocols:[1,2,3,4,5,6,7,8,9,10],playbackmethod:[1,2,3,4,5,6]}}n.bids.push(e.bidders[r])}else{const t=e.bidders[r];if(""===t.params.id&&delete t.params.id,""===e.bidders[r][2])for(let i in e.mediaTypes.banner.sizes){t.params.size=e.mediaTypes.banner.sizes[i];var a=JSON.parse(JSON.stringify(t));n.bids.push(a)}else{var d=JSON.parse("["+e.bidders[r][2]+"]");for(let e in d)t.params.size=d[e],a=JSON.parse(JSON.stringify(t)),n.bids.push(a)}}if("fixed"==stpd.getConfig("bidderSequence")){let e=["adform_outstream_publisher","adnuntius","adform_publisher"];n.bids.sort((()=>.5-Math.random())),n.bids.sort((function(t,i){return e.indexOf(i.bidder)-e.indexOf(t.bidder)}))}return n}function A(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};var s=[];"object"!=typeof t&&(t=[t]),t.forEach((function(r){if(!i[r].initAdserverSet){switch(e){case"amazon":i[r].amazon=!0;break;case"prebid":i[r].prebid=!0}(!stpd.vars.amazon||i[r].amazon&&i[r].prebid||"timeout"===e)&&(stpd.vars.containerSized=!1,googletag.cmd.push((function(){stpd.que.push((function(){stpd.vars.amazon&&apstag.setDisplayBids(),stpd.setTargetingForGPTAsync(r),googletag.pubads().getSlots().forEach((function(e){if(r==e.getSlotElementId()){s.push(e);const o=stpd.vars.prebid?.gam_key_prefix||"hb_";0!==googletag.pubads().getTargeting(`${o}rf`).length&&googletag.pubads().clearTargeting(`${o}rf`),e.setTargeting(`${o}rf`,i[r].refresh_key.toString()),s.length===t.length&&googletag.pubads().refresh(s,n)}}))}))})))}}))}function R(e,t){if(stpd.vars.containerSized=!1,t[e].refresh_key=1,t[e].bidValid=!1,t[e].amazon=!1,t[e].prebid=!1,t[e].initAdserverSet=!1,t[e].stpd_logged=!1,t[e].slotRenderEndedEvent=!1,t[e].slotOnLoadEventFired=!1,stpd.vars.amazon){t[e].amazonbid.hasBid=!1;var i=stpd.vars.amazon.slots.filter((function(t){return t.slotID==e}));apstag.fetchBids({slots:i,timeout:stpd.vars.creative_settings.timeout},(function(i){"0x0"!==i[0].amznsz&&(t[e].amazonbid.hasBid=!0,t[e].amazonbid.size=i[0].amznsz.split("x"),t[e].amazonbid.bid=JSON.parse(atob(M))[i[0].amznbid],"tag"===stpd.vars.type&&r(window.frameElement,t[e].amazonbid.size[0],t[e].amazonbid.size[1],{sticky:t[e].sticky,sizeParentIframes:stpd.vars.creative_settings.sizeParentIframes})),t[e].autoRefresh.checkbids||void 0===t[e].autoRefresh.checkbids?function(e,t){!function(e,t){return stpd.vars.autorefresh.show_debugging_information&&(console.log("Amazon CPM: "+t[e].amazonbid.bid),console.log("Minimum CPM set for auto refresh: "+stpd.vars.autorefresh.auto_refresh_minimum_cpm)),t[e].amazonbid.bid>=stpd.vars.autorefresh.auto_refresh_minimum_cpm?(stpd.vars.autorefresh.show_debugging_information&&console.log("Sending the bid to DFP"),!0):(stpd.vars.autorefresh.show_debugging_information&&console.log("Amazon Bid CPM was smaller than set 'Minimum CPM' - AutoRefresh stopped"),!1)}(e,t)?t[e].prebid&&t[e].bidValid?A("amazon",e,t):t[e].amazon=!0:(t[e].bidValid=!0,A("amazon",e,t))}(e,t):A("amazon",e,t)}))}stpd.setConfig({s2sConfig:Z(stpd.vars.autorefresh.timeoutRefresh)}),stpd.requestBids({adUnitCodes:[e],bidsBackHandler:stpd.vars.saas.initAdManagerRequests?function(){t[e].autoRefresh.checkbids||void 0===t[e].autoRefresh.checkbids?function(e,t){!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";t=""===t?stpd.getAdserverTargetingForAdUnitCode(e):t;var i=0;const n=stpd.vars.prebid?.gam_key_prefix||"hb_";return t&&t[`${n}pb`]&&(i=t[`${n}pb`]),stpd.vars.autorefresh.show_debugging_information&&(console.log("Winning Bidder CPM: "+i),console.log("Minimum CPM set for auto refresh: "+stpd.vars.autorefresh.auto_refresh_minimum_cpm)),i>=stpd.vars.autorefresh.auto_refresh_minimum_cpm?(stpd.vars.autorefresh.show_debugging_information&&console.log("Sending the bid to DFP"),!0):(stpd.vars.autorefresh.show_debugging_information&&console.log("Winning Bid CPM was smaller than set 'Minimum CPM' - AutoRefresh stopped"),!1)}(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"")?t[e].amazon&&t[e].bidValid?A("prebid",e,t):t[e].prebid=!0:(t[e].bidValid=!0,A("prebid",e,t))}(e,t):A("prebid",e,t)}:null,timeout:stpd.vars.autorefresh.timeoutRefresh})}function Z(e){return(e-=250)<100&&(e=100),{accountId:"1",bidders:w,timeout:e,adapter:"prebidServer",enabled:!0,endpoint:"https://prebid-stag.setupad.net/openrtb2/auction",syncEndpoint:"https://prebid-stag.setupad.net/cookie_sync",extPrebid:{aliases:y,aliasgvlids:u(y)}}}function D(e,i){if(void 0===i[e]||i[e].refresh_timer_started)return!1;i[e].refresh_timer_started=!0,i[e].refresh_timer_start=Date.now(),stpd.vars.autorefresh.show_debugging_information&&console.log("timeout after "+i[e].refresh_after),(0===stpd.vars.autorefresh.auto_refresh_max||i[e].refresh_count<=stpd.vars.autorefresh.auto_refresh_max)&&(i[e].timeoutId&&clearTimeout(i[e].timeoutId),i[e].timeoutId=setTimeout((function(){let n;stpd.vars.autorefresh.show_debugging_information&&console.log("Refreshing auction for slot: "+e),i[e].refresh_count++,R(e,i),i[e].refresh_after=_(i[e]),i[e].refresh_timer_started=!1,n="tag"===stpd.vars.type?t():document.getElementById(e),stpd.vars.autorefresh.auto_refresh_inview_on?null!==n&&n.stpdInView&&D(e,i):D(e,i)}),i[e].refresh_after))}function U(e){var t;for(t in e)D(t,e)}function J(e){var t;for(t in e)B(t,e)}function B(e,t){if(void 0!==t[e]){t[e].refresh_timer_started=!1;var i=Date.now()-t[e].refresh_timer_start;stpd.vars.autorefresh.show_debugging_information&&console.log("lastRemaining: "+t[e].refresh_after),t[e].refresh_after-=i,stpd.vars.autorefresh.show_debugging_information&&(console.log("elapsed: "+i),console.log("remaining: "+t[e].refresh_after)),t[e].timeoutId=clearTimeout(t[e].timeoutId)}}function G(e){if(!stpd.initAdserverSet){switch(e){case"amazon":stpd.vars.a9prebid.amazon=!0;break;case"prebid":stpd.vars.a9prebid.prebid=!0}(!stpd.vars.amazon||stpd.vars.a9prebid.amazon&&stpd.vars.a9prebid.prebid||"timeout"===e)&&(stpd.vars.containerSized=!1,stpd.initAdserverSet=!0,googletag.cmd.push((function(){stpd.que.push((function(){stpd.vars.amazon&&apstag.setDisplayBids(),stpd.setTargetingForGPTAsync();const e=stpd.vars.prebid?.gam_key_prefix||"hb_";googletag.pubads().setTargeting(`${e}rf`,"0"),googletag.pubads().refresh(f)}))})))}}function W(){G("prebid")}O&&(x=!0),stpd.setConfiguration=function(e){for(const t in e[0].attGroups)e[0].attGroups[t].isSsp||(stpd.vars[t]=e[0].attGroups[t].attributes);stpd.vars.schainID=JSON.stringify(e[0].accountId),stpd.vars.amazon&&(stpd.vars.amazon.slots=[]),stpd.vars.type=stpd.vars.type||"saas",stpd.vars.sentry&&((e,t,i,n,s,r,o,a,d)=>{for(var u=d,p=0;p<document.scripts.length;p++)if(document.scripts[p].src.indexOf(r)>-1){u&&"no"===document.scripts[p].getAttribute("data-lazy")&&(u=!1);break}var c=[];function l(e){return"e"in e}function m(e){return"p"in e}function I(e){return"f"in e}var g=[];function f(e){u&&(l(e)||m(e)||I(e)&&e.f.indexOf("capture")>-1||I(e)&&e.f.indexOf("showReportDialog")>-1)&&b(),g.push(e)}function j(){f({e:[].slice.call(arguments)})}function h(e){f({p:e})}function y(){try{e.SENTRY_SDK_SOURCE="loader";var t=e[s],r=t.init;t.init=function(s){e.removeEventListener(i,j),e.removeEventListener(n,h);var o=a;for(var d in s)Object.prototype.hasOwnProperty.call(s,d)&&(o[d]=s[d]);!function(e,t){var i=e.integrations||[];if(Array.isArray(i)){var n=i.map((function(e){return e.name}));e.tracesSampleRate&&-1===n.indexOf("BrowserTracing")&&(t.browserTracingIntegration?i.push(t.browserTracingIntegration({enableInp:!0})):t.BrowserTracing&&i.push(new t.BrowserTracing)),(e.replaysSessionSampleRate||e.replaysOnErrorSampleRate)&&-1===n.indexOf("Replay")&&(t.replayIntegration?i.push(t.replayIntegration()):t.Replay&&i.push(new t.Replay)),e.integrations=i}}(o,t),r(o)},setTimeout((function(){return function(t){try{"function"==typeof e.sentryOnLoad&&(e.sentryOnLoad(),e.sentryOnLoad=void 0);for(var i=0;i<c.length;i++)"function"==typeof c[i]&&c[i]();for(c.splice(0),i=0;i<g.length;i++)I(r=g[i])&&"init"===r.f&&t.init.apply(t,r.a);M()||t.init();var n=e.onerror,s=e.onunhandledrejection;for(i=0;i<g.length;i++){var r;if(I(r=g[i])){if("init"===r.f)continue;t[r.f].apply(t,r.a)}else l(r)&&n?n.apply(e,r.e):m(r)&&s&&s.apply(e,[r.p])}}catch(e){console.error(e)}}(t)}))}catch(e){console.error(e)}}var w=!1;function b(){if(!w){w=!0;var e=t.scripts[0],i=t.createElement("script");i.src=o,i.crossOrigin="anonymous",i.addEventListener("load",y,{once:!0,passive:!0}),e.parentNode.insertBefore(i,e)}}function M(){var t=e.__SENTRY__;return!(void 0===t||!t.hub||!t.hub.getClient())}e[s]=e[s]||{},e[s].onLoad=function(e){M()?e():c.push(e)},e[s].forceLoad=function(){setTimeout((function(){b()}))},["init","addBreadcrumb","captureMessage","captureException","captureEvent","configureScope","withScope","showReportDialog"].forEach((function(t){e[s][t]=function(){f({f:t,a:arguments})}})),e.addEventListener(i,j),e.addEventListener(n,h),u||setTimeout((function(){b()}))})(window,document,"error","unhandledrejection","Sentry","9b539edb5561cca5d772c5f50ee5e916","https://browser.sentry-cdn.com/7.108.0/bundle.tracing.replay.min.js",{dsn:"https://9b539edb5561cca5d772c5f50ee5e916@o1087437.ingest.sentry.io/4506970356187136",sampleRate:stpd.vars.sentry.sampleRate,tracesSampleRate:stpd.vars.sentry.sampleRate},!1)},stpd.setPlacements=function(e){const t=stpd.vars.prebid?.gam_key_prefix||"hb_";j.standard={alwaysUseBid:!1,adserverTargeting:[{key:`${t}bidder`,val:function(e){return e.bidderCode}},{key:`${t}adid`,val:function(e){return e.adId}},{key:`${t}pb`,val:function(e){return e.pbCg}},{key:`${t}size`,val:function(e){return e.size}},{key:`${t}deal`,val:function(e){return e.dealId}},{key:`${t}format`,val:function(e){return e.mediaType}},{key:`${t}source`,val:function(e){return e.source}},{key:`${t}adomain`,val:function(e){return e.meta?.advertiserDomains?.[0]}},{key:`${t}env`,val:"web"}],storageAllowed:!0};const i=[];return e.forEach((function(e,t){if(e.adunitId){h[t]={},h[t].adunitid=e.adunitId,h[t].mediaTypes={banner:{sizes:e.attGroups.creative_settings.attributes.sizes}},h[t].code=e.attGroups.gam_settings.attributes.code||"",h[t].path=e.attGroups.gam_settings.attributes.path||"",h[t].autoRefresh=e.attGroups.autorefresh?e.attGroups.autorefresh.attributes:null,e.attGroups.sticky&&(h[t].sticky=e.attGroups.sticky||""),h[t].bidders=[],h[t].creative_settings=e.attGroups.creative_settings.attributes;for(const n in e.attGroups)e.attGroups[n].isSsp&&e.attGroups[n].attributes!=={}&&(h[t].bidders[n]={bidder:n,params:e.attGroups[n].attributes},e.attGroups[n].attGroupAliasOf&&("prebidServerBidAdapter"===e.attGroups[n].attGroupModuleName?(y[n]||(y[n]=e.attGroups[n].attGroupAliasOf),w.indexOf(n)<0&&w.push(n)):i.includes(n)||(stpd.aliasBidder(e.attGroups[n].attGroupAliasOf,n),i.push(n))),j[n]={bidCpmAdjustment:function(e){return stpd.vars.bidderAdj[n]=stpd.vars.bidderAdj[n]||1,e*stpd.vars.bidderAdj[n]*stpd.vars.saas.cm}})}})),h},stpd.vars.autorefresh?.auto_refresh_inview_on&&(x?(g(top.document,"visibilitychange",(function(){"hidden"===document.visibilityState?J(v):U(v)})),g(top.document,"mousemove",(function e(){var t,i,n;window.stpd.vars.mouse_in_window=!0,t=top.document,i="mousemove",n=e,window.stpd.vars.autorefresh?.show_debugging_information&&console.log("Removed "+i+" event!"),t.removeEventListener?t.removeEventListener(i,n,!1):t.detachEvent&&t.detachEvent("on"+i,n)}))):console.warn("Top window is not accessible, cannot register global auto refresh listeners for setupad wrapper.")),window.stpdPassback=function(e){e.defaultView.frameElement.parentElement.parentElement.id,e.defaultView.frameElement.style.width="0px",e.defaultView.frameElement.style.height="0px"},stpd.initializeAdUnit=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};stpd.initialize(e,t)},stpd.initialize=function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i&&"object"==typeof i){var s=[];if(i=i.filter(((e,t)=>!(e in v))),!C||i.length<1)return;googletag.pubads().getSlots().forEach((function(e){i.forEach((function(t){h.forEach((function(i){if((i.code==e.getSlotElementId()||i.path==e.getAdUnitPath().split("/").pop()||i.path==e.getAdUnitPath()&&document.getElementById(e.getSlotElementId()))&&t===e.getSlotElementId()){var n=T(i,e),r=k(i,n,e);N.push(JSON.parse(JSON.stringify(r))),stpd.addAdUnits(JSON.parse(JSON.stringify(r))),s.push(n),e.setTargeting("pbsd","1")}}))}))})),o(s,n)}else if(i){if(!C||i in v)return;googletag.pubads().getSlots().forEach((function(e){i===e.getSlotElementId()&&h.forEach((function(t){if(t.code==e.getSlotElementId()||t.path==e.getAdUnitPath().split("/").pop()||t.path==e.getAdUnitPath()&&document.getElementById(e.getSlotElementId())){var i=T(t,e),s=k(t,i,e);N.push(JSON.parse(JSON.stringify(s))),stpd.addAdUnits(JSON.parse(JSON.stringify(s))),o(i,n),e.setTargeting("pbsd","1")}}))}))}else{if(window.stpd.initialized)return;stpd.bidderSettings=j,void 0!==stpd.vars.aL&&stpd.vars.aL&&googletag.cmd.push((function(){var e=document.createElement("script");e.type="text/javascript",e.src="https://tagan.adlightning.com/"+stpd.vars.aL.id+"/op.js",document.head.appendChild(e)})),stpd.vars.a9prebid={prebid:!1,amazon:!1},-1!=navigator.userAgent.indexOf("Firefox")&&(stpd.vars.amazon=!1),window.stpd.initialized=!0,googletag.cmd.push((function(){function i(e){stpd.vars.timers.hasOwnProperty(e)&&clearTimeout(stpd.vars.timers[e]),stpd.vars.timers[e]=setTimeout((function(){i(e),R(e,v)}),stpd.vars.saas.refreshTimeout)}function n(e){var t,i,n=stpd.getBidResponsesForAdUnitCode(e),s=stpd.getAllWinningBids(),r=[],o=[];return n.bids.forEach((function(e){s.find((function(t){return t.adId==e.adId}))||o.push(e.cpm),r.push({bidder:e.bidder,time:e.timeToRespond,cpm:e.cpm,msg:e.statusMessage,winner:!!s.find((function(t){return t.adId==e.adId}))})})),t=Number((i=o).length>0?Math.max.apply(null,i)+.01:.01),{output:r,winner_cpm:t}}function s(t,i){var n=S(i),s=n.replace("/147246189/",""),r={};return r.bids_data=JSON.stringify(t),r.adunitid=((t,i)=>{if(!Array.isArray(i))return e(`getAdUnitIdByPath() called with incorrect type of adUnitsRaw. It should be an array of objects. adUnitsRaw: ${i}`),null;const n=(t.match(/\/[^/]+\/(.*?)$/)||[])[1];for(const e of i)if(e.path===t||e.path===n)return e.adunitid;return e(`getAdUnitIdByPath() did not find any matching ad unit paths. targetPath: ${t} \nadUnitsRaw:`),e(i),null})(n,h),r.ad_placement=s,r.domain=window.location.hostname,r.page_url=window.location.href,r.protocol=window.location.protocol,r}function o(e){var t=new XMLHttpRequest;t.onreadystatechange=function(){4===t.readyState&&t.status},t.open("POST","https://node.setupad.com/node/node.php",!0),t.setRequestHeader("Content-type","application/x-www-form-urlencoded"),t.send("&user_data="+encodeURIComponent(JSON.stringify(e)))}googletag.pubads().addEventListener("slotRenderEnded",(e=>c(e))),googletag.pubads().addEventListener("slotOnload",(e=>(e=>{const t=e.slot.getSlotElementId();v[t]&&(v[t].slotOnLoadEventFired=!0,v[t].slotRenderEndedEvent&&p(t))})(e))),googletag.pubads().getSlots().forEach((function(e){f.push(e)})),h.forEach((function(e){googletag.pubads().getSlots().forEach((function(t){if(e.code===t.getSlotElementId()||e.path===t.getAdUnitPath().split("/").pop()||e.path==t.getAdUnitPath()){var i=t.getSizes(),n=[];i.map((e=>{"string"==typeof e?n.push(JSON.stringify(e)):n.push(JSON.stringify(Object.values(e)))}));var s=e.mediaTypes.banner.sizes.map(JSON.stringify),r=!1,o=s.concat(n).reduce((function(e,t){return e.indexOf(t)<0&&(e.push(t),n.includes(t)||(r=!0)),e}),[]);if(r){o=o.map(JSON.parse);var a=googletag.sizeMapping().addSize([1,1],o).build();t.defineSizeMapping(a)}var d=T(e,t),u=k(e,d,t);N.push(JSON.parse(JSON.stringify(u))),t.setTargeting("pbsd","1")}}))})),C=1,stpd.vars.amazon&&(function(e,t,i,n,s,r,o){function a(i,n){t[e]._Q.push([i,n])}t[e]||(t[e]={init:function(){a("i",arguments)},fetchBids:function(){a("f",arguments)},setDisplayBids:function(){},targetingKeys:function(){return[]},_Q:[]},(r=i.createElement(n)).async=!0,r.src="//c.amazon-adsystem.com/aax2/apstag.js",(o=i.getElementsByTagName(n)[0]).parentNode.insertBefore(r,o))}("apstag",window,document,"script"),apstag.init({pubID:stpd.vars.amazon.pubID,adServer:"googletag",schain:{complete:1,ver:"1.0",nodes:[{asi:"setupad.com",sid:stpd.vars.schainID,hp:1}]}})),window.aax=window.aax||{},window.aax.cmd=window.aax.cmd||[],window.aax.cmd.push((function(){window.aax.getAbpStatus()&&(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){googletag.pubads().refresh()})))})),stpd.vars.timers={},stpd.onEvent("bidWon",(function(e){stpd.vars.containerSized=!0,stpd.vars.saas.refreshEnabled&&!stpd.vars.saas.initAdManagerRequests&&(i(e.adUnitCode),R(e.adUnitCode,v));var t=e.width,n=e.height;v[e.adUnitCode].slotSize=[t,n];var s=document.getElementById(e.adUnitCode).getElementsByTagName("iframe")[0];if(s.style.width=t+"px",s.style.height=n+"px","tag"===stpd.vars.type){let i=!!v[e.adUnitCode].sticky;r(window.frameElement,t,n,{sticky:i,sizeParentIframes:stpd.vars.creative_settings.sizeParentIframes})}stpdLog(e.bidder,e.adUnitCode),v[e.adUnitCode].hasOwnProperty("render_count")?v[e.adUnitCode].render_count++:v[e.adUnitCode].render_count=1})),window.stpdLog=function(e,i){if(v[i].stpd_logged)return;v[i].stpd_logged=!0;var r=stpd.getBidResponsesForAdUnitCode(i),a=stpd.getAllWinningBids(),d=[],u=e,p=S(i);r.bids.forEach((function(e){d.push({bid:e,adunit:i,adId:e.adId,bidder:e.bidder,time:e.timeToRespond,cpm:e.cpm,msg:e.statusMessage,rendered:!!a.find((function(t){return t.adId==e.adId}))})})),stpd.vars.amazon&&v[i].amazonbid.hasBid&&d.push({bid:"",adunit:"",adId:"",bidder:"amazon",time:"",cpm:stpd.vars.amazon.bid,msg:"",rendered:""}),function(e,t){var i;"google"!==e&&"passback"!==e?(i=n(t),"amazon"===e&&i.output.push({bidder:"amazon",time:"",cpm:amazon.bid,msg:"-",winner:!0,rn:v[t].render_count}),i.output.push({bidder:"google",cpm:0,msg:"-",winner:!1,rn:v[t].render_count}),o(s(i.output,t))):"passback"!==e?((i=n(t)).output.push({bidder:"google",cpm:i.winner_cpm,msg:"-",winner:!0,rn:v[t].render_count}),o(s(i.output,t))):((i=n(t)).output.push({bidder:"google-passback",cpm:0,msg:"-",winner:!0,rn:v[t].render_count}),o(s(i.output,t)))}(u,i);var c={detail:{auction:d,winner:u,name:p,iframe:document.getElementById(i).getElementsByTagName("iframe")[0],stpd,googletag}},l=new CustomEvent("stpdRendered",c);top.dispatchEvent(l);let m=!1;if((v[i].slotSize[0]<5||v[i].slotSize[1]<5)&&v[i].sticky){m=!0;const e="tag"===stpd.vars.type?t():document.getElementById(i);e.style.visibility="hidden",e.style.position="fixed",e.style.bottom="0px"}v[i].sticky&&!m&&"passback"!==u&&("tag"===stpd.vars.type&&x||"saas"===stpd.vars.type)&&z(i,v)},stpd.que.push((function(){"tag"===stpd.vars.type&&(stpd.renderAdClone=stpd.renderAd.clone(),stpd.renderAd=function(e,t){try{e.defaultView.inDapIF=!1}catch(e){}stpd.renderAdClone(e,t)}),stpd.addAdUnits(N);let e={};if(stpd.vars.config.currencyFile)e={adServerCurrency:stpd.vars.config.currency,granularityMultiplier:1,defaultRates:{USD:{EUR:stpd.vars.config.ca}}};else{const{currency:t,currencyRate:i}=stpd.vars.config,n=(1/stpd.vars.config.ca).toFixed(2);e={adServerCurrency:stpd.vars.config.currency,granularityMultiplier:1,rates:{EUR:{[t]:i,USD:n}}}}const t="stpd_"===stpd.vars.prebid?.gam_key_prefix?["ADOMAIN"]:["BIDDER","AD_ID","PRICE_BUCKET","SIZE","FORMAT","ADOMAIN","SOURCE","DEAL"];stpd.vars.user_id?.ppid,stpd.setConfig({bidderTimeout:stpd.vars.creative_settings.timeout,consentManagement:{gdpr:{cmpApi:"iab",timeout:3e4,allowAuctionWithoutConsent:!0,defaultGdprScope:!0}},enableSendAllBids:!1,targetingControls:{alwaysIncludeDeals:!0,allowTargetingKeys:t},userSync:{filterSettings:{iframe:{bidders:"*",filter:"include"}},auctionDelay:50,aliasSyncEnabled:!0},improvedigital:{usePrebidSizes:!0},schain:{validation:"strict",config:{ver:"1.0",complete:1,nodes:[{asi:"setupad.com",sid:stpd.vars.schainID,hp:1}]}},ortb2:stpd.getConfig().ortb2?stpd.getConfig().ortb2:{cur:["USD"]},s2sConfig:Z(stpd.vars.creative_settings.timeout),rubicon:{singleRequest:!0},priceGranularity:{buckets:[{precision:2,max:stpd.vars.granularity.b1_price,increment:stpd.vars.granularity.b1_granularity},{max:stpd.vars.granularity.b2_price,increment:stpd.vars.granularity.b2_granularity},{max:stpd.vars.granularity.b3_price,increment:stpd.vars.granularity.b3_granularity}]},currency:e,enableTIDs:!0,useBidCache:!0}),stpd.setBidderConfig({bidders:["adform_publisher"],config:{schain:{validation:"off",config:{ver:"1.0",complete:1}}}});const n=[{name:"id5Id",params:{partner:481},storage:{type:"html5",name:"id5id",expires:90,refreshInSeconds:28800}},{name:"criteo"}];if(!1!==stpd.vars.user_id?.sharedId&&n.push({name:"sharedId",storage:{type:"cookie",name:"_sharedID",expires:365}}),stpd.setConfig({userSync:{userIds:n}}),stpd.vars.user_id?.ppid&&stpd.setConfig({userSync:{ppid:"pubcid.org"}}),Object.entries(y).forEach((e=>{let[t,i]=e;stpd.aliasBidder(i,t,{gvlid:d(i)})})),stpd.vars.config.domain){const e="https://"+stpd.vars.config.domain;stpd.setConfig({pageUrl:e}),googletag.cmd.push((function(){googletag.pubads().set("page_url",e)}))}if(stpd.vars.saas.refreshEnabled&&N.forEach((function(e){i(e.code)})),stpd.vars.amazon&&0!==Object.keys(v).length){var s;for(s in v)v[s].amazonbid.hasBid=!1;apstag.fetchBids({slots:stpd.vars.amazon.slots,timeout:stpd.vars.creative_settings.timeout},(function(e){e.forEach((function(t){"0x0"!==t.amznsz&&(v[t.slotID].amazonbid.hasBid=!0,v[t.slotID].amazonbid.size=e[0].amznsz.split("x"),v[t.slotID].amazonbid.bid=JSON.parse(atob(M))[e[0].amznbid],"tag"===stpd.vars.type&&r(window.frameElement,v[t.slotID].amazonbid.size[0],v[t.slotID].amazonbid.size[1],{sticky:v[t.slotID].sticky,sizeParentIframes:stpd.vars.creative_settings.sizeParentIframes}))})),G("amazon")}))}stpd.requestBids({bidsBackHandler:stpd.vars.saas.initAdManagerRequests?W:null,timeout:stpd.vars.creative_settings.timeout})})),stpd.terminateAdunit=function(e){stpd.removeAdUnit(e),v[e]?.timeoutId&&clearTimeout(v[e].timeoutId),delete v[e]},stpd.vars.mouse_in_window=!1,stpd.refreshAdUnit=function(e){v[e].autoRefresh.auto_refresh_on&&I(e),R(e,v)};for(const e in v)v[e].autoRefresh.auto_refresh_on&&I(e)}))}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};stpd.vars.containerSized=!1;var i=[],n=[];"object"!=typeof e&&(e=[e]),e.forEach((function(s){if(v[s].bidValid=!1,v[s].amazon=!1,v[s].prebid=!1,v[s].initAdserverSet=!1,v[s].stpd_logged=!1,v[s].slotRenderEndedEvent=!1,v[s].slotOnLoadEventFired=!1,v[s].autoRefresh.auto_refresh_on&&I(s),stpd.vars.amazon){v[s].amazonbid.hasBid=!1;var o=stpd.vars.amazon.slots.filter((function(e){return e.slotID==s}));apstag.fetchBids({slots:o,timeout:stpd.vars.creative_settings.timeout},(function(n){"0x0"!==n[0].amznsz&&(v[s].amazonbid.hasBid=!0,v[s].amazonbid.size=n[0].amznsz.split("x"),v[s].amazonbid.bid=JSON.parse(atob(M))[n[0].amznbid],"tag"===stpd.vars.type&&r(window.frameElement,v[s].amazonbid.size[0],v[s].amazonbid.size[1],{sticky:v[s].sticky,sizeParentIframes:stpd.vars.creative_settings.sizeParentIframes})),i.push(s),i.length===e.length&&A("amazon",i,v,t)}))}stpd.setConfig({s2sConfig:Z(stpd.vars.creative_settings.timeout)}),stpd.requestBids({adUnitCodes:[s],bidsBackHandler:stpd.vars.saas.initAdManagerRequests?function(){n.push(s),n.length===e.length&&A("prebid",n,v,t)}:null,timeout:stpd.vars.creative_settings.timeout})}))}},Function.prototype.clone=function(){var e=this,t=function(){return e.apply(this,arguments)};for(var i in this)this.hasOwnProperty(i)&&(t[i]=this[i]);return t}})()})();"use strict";function _defineProperty(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}class stpdCookie{constructor(){var a;_defineProperty(this,"ECT",null!==(a=navigator.connection)&&void 0!==a?a:"undefined"),_defineProperty(this,"doc",void 0),_defineProperty(this,"safeframe",void 0),_defineProperty(this,"social",["facebook.com","twitter.com","instagram.com","reddit.com","linkedin.com"]),_defineProperty(this,"organic",["google.com","bing.com","duckduckgo.com"]);try{this.doc=top.document,this.safeframe=!1}catch(a){this.doc=document,this.safeframe=!0}}stpdInit(){let a="";if(this.checkCookieRef(this.doc.referrer),!this.checkACookieExists())a=this.getOrigin(this.doc.referrer,this.organic,this.social),this.setCookie(a,this.doc.referrer,30);else{try{a=JSON.parse(this.getCookie())}catch(a){return void console.log("bad JSON")}a=a.origin}return"undefined"!==this.ECT&&(this.ECT=this.ECT.effectiveType),this.stpdSetTargetting(a,this.ECT),console.log(a),a}getOrigin(a,b,c){for(let d=0;d<b.length;d++)if(a.includes(b[d])&&a!==this.doc.location.host)return"organic";for(let d=0;d<c.length;d++)if(a.includes(c[d])&&a!==this.doc.location.host)return"social";return!this.checkACookieExists()&&this.doc.referrer.includes(this.doc.location.host)||this.safeframe?"unknown":""===a||a.includes(this.doc.location.host)?"direct":"referral"}checkACookieExists(){return this.doc.cookie.split(";").some(a=>a.trim().startsWith("stpdOrigin="))}setCookie(a,b,c){const e=new Date;e.setTime(e.getTime()+1e3*(60*c));let d="expires="+e.toUTCString();this.doc.cookie="stpdOrigin="+JSON.stringify({origin:a})+";"+d+";path=/"}getCookie(){if(this.checkACookieExists())return this.doc.cookie.split("; ").find(a=>a.startsWith("stpdOrigin=")).split("=")[1]}deleteCookie(){this.checkACookieExists()&&(this.doc.cookie="stpdOrigin=; Max-Age=-99999999;path=/")}stpdSetTargetting(a,b){window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],googletag.cmd.push(function(){0===googletag.pubads().getTargeting("origin").length&&googletag.pubads().setTargeting("origin",a),0===googletag.pubads().getTargeting("ECT").length&&googletag.pubads().setTargeting("ECT",b)})}checkCookieRef(a){if(this.checkACookieExists()){try{var b=JSON.parse(this.getCookie())}catch(a){return void console.log("bad JSON")}a.includes(this.doc.location.host)||b.referrer===a||this.deleteCookie()}}}stpdSource=new stpdCookie,stpdSource.stpdInit();(self.stpdChunk=self.stpdChunk||[]).push([[74645],{3801:(e,t,r)=>{var n=r(78640),s=r(14699),i=r(24679),d=r(64358),a=r(20265),p=r(96475),o=r(3193),u=r(35706);const{getConfig:c}=o.config,m={code:"adf",aliases:[{code:"adformOpenRTB",gvlid:50},{code:"adform",gvlid:50}],gvlid:50,supportedMediaTypes:[i.B5,i.Mk,i.pX],isBidRequestValid:e=>{const t=e.params||{},{mid:r,inv:n,mname:s}=t;return!!(r||n&&s)},buildRequests:(e,t)=>{let r,n;const s=t.ortb2||{};let{user:i}=s;"object"==typeof c("app")?(r=c("app")||{},s.app&&(0,d.mergeDeep)(r,s.app)):(n=c("site")||{},s.site&&(0,d.mergeDeep)(n,s.site),n.page||(n.page=t.refererInfo.page));const u=c("device")||{};u.w=u.w||window.innerWidth,u.h=u.h||window.innerHeight,u.ua=u.ua||navigator.userAgent;const m=l(e,"params.adxDomain")||"adx.adform.net",g=l(e,"params.pt")||l(e,"params.priceType")||"net",f=t.ortb2?.source?.tid,v=l(e,"params.test"),b=c("currency.adServerCurrency"),h=b&&[b],y=l(e,"userIdAsEids"),x=l(e,"schain"),w=e.map(((e,t)=>{e.netRevenue=g;const r=e.getFloor?e.getFloor({currency:b||"USD",size:"*",mediaType:"*"}):{},n=r.floor,s=r.currency,{mid:i,inv:p,mname:o}=e.params,u={id:t+1,tagid:i,bidfloor:n,bidfloorcur:s,ext:{bidder:{inv:p,mname:o}}};if(e.nativeOrtbRequest&&e.nativeOrtbRequest.assets){let t=e.nativeOrtbRequest.assets,r=[];for(let e=0;e<t.length;e++){let n=(0,d.deepClone)(t[e]),s=n.img;if(s){let e=s.ext&&s.ext.aspectratios;if(e){let t=parseInt(e[0].split(":")[0],10),r=parseInt(e[0].split(":")[1],10);s.wmin=s.wmin||0,s.hmin=r*s.wmin/t|0}}r.push(n)}u.native={request:{assets:r}}}const c=(0,a.Z)(e,"mediaTypes.banner");if(c&&c.sizes){const e=(0,d.parseSizesInput)(c.sizes).map((e=>{const[t,r]=e.split("x");return{w:parseInt(t,10),h:parseInt(r,10)}}));u.banner={format:e}}const m=(0,a.Z)(e,"mediaTypes.video");return m&&(u.video=m),u})),C={id:t.bidderRequestId,site:n,app:r,user:i,device:u,source:{tid:f,fd:1},ext:{pt:g},cur:h,imp:w};return v&&(C.is_debug=!!v,C.test=1),o.config.getConfig("coppa")&&(0,p.N)(C,"regs.coppa",1),void 0!==(0,a.Z)(t,"gdprConsent.gdprApplies")&&((0,p.N)(C,"user.ext.consent",t.gdprConsent.consentString),(0,p.N)(C,"regs.ext.gdpr",1&t.gdprConsent.gdprApplies)),t.uspConsent&&(0,p.N)(C,"regs.ext.us_privacy",t.uspConsent),y&&(0,p.N)(C,"user.ext.eids",y),x&&(0,p.N)(C,"source.ext.schain",x),{method:"POST",url:"https://"+m+"/adx/openrtb",data:JSON.stringify(C),bids:e}},interpretResponse:function(e,t){let{bids:r}=t;if(!e.body)return;const{seatbid:n,cur:s}=e.body,d=(p=n.map((e=>e.bid)),[].concat(...p)).reduce(((e,t)=>(e[t.impid-1]=t,e)),[]);var p;return r.map(((e,t)=>{const r=d[t];if(r){const t=(0,a.Z)(r,"ext.prebid.type"),n={requestId:e.bidId,cpm:r.price,creativeId:r.crid,ttl:360,netRevenue:"net"===e.netRevenue,currency:s,mediaType:t,width:r.w,height:r.h,dealId:r.dealid,meta:{mediaType:t,advertiserDomains:r.adomain}};return r.native?n.native={ortb:r.native}:n[t===i.pX?"vastXml":"ad"]=r.adm,e.renderer||t!==i.pX||"outstream"!==(0,a.Z)(e,"mediaTypes.video.context")||(n.renderer=u.Th.install({id:e.bidId,url:"https://s2.adform.net/banners/scripts/video/outstream/render.js",adUnitCode:e.adUnitCode}),n.renderer.setRender(g)),n}})).filter(Boolean)}};function l(e,t){for(let r,n=0;n<e.length;n++)if(r=(0,a.Z)(e[n],t),r)return r}function g(e){e.renderer.push((()=>{window.Adform.renderOutstream(e)}))}(0,s.dX)(m),(0,n.z)("adfBidAdapter")}},e=>{e.O(0,[38409],(()=>{return t=3801,e(e.s=t);var t}));e.O()}]);(self.stpdChunk=self.stpdChunk||[]).push([[55126],{15817:(e,r,t)=>{var a=t(78640),i=t(64358),n=t(20265),s=t(96475),o=t(14699),d=t(24679),p=t(3193),l=t(35706),m=t(55975),c=t(5644),g=t(85370);const u="pubmatic",h="PubMatic: ",f="USD",b=void 0,y="https://pubmatic.bbvms.com/r/".concat("$RENDERER",".js"),v="Video.Placement param missing",w={kadpageurl:"",gender:"",yob:"",lat:"",lon:"",wiid:"",profId:"",verId:""},x={NUMBER:"number",STRING:"string",BOOLEAN:"boolean",ARRAY:"array",OBJECT:"object"},I={mimes:x.ARRAY,minduration:x.NUMBER,maxduration:x.NUMBER,startdelay:x.NUMBER,playbackmethod:x.ARRAY,api:x.ARRAY,protocols:x.ARRAY,w:x.NUMBER,h:x.NUMBER,battr:x.ARRAY,linearity:x.NUMBER,placement:x.NUMBER,plcmt:x.NUMBER,minbitrate:x.NUMBER,maxbitrate:x.NUMBER,skip:x.NUMBER},T={ICON:1,IMAGE:3},E={1:"PMP",5:"PREF",6:"PMPG"},R={bootstrapPlayer:function(e){const r={code:e.adUnitCode};if(e.vastXml?r.vastXml=e.vastXml:e.vastUrl&&(r.vastUrl=e.vastUrl),!e.vastXml&&!e.vastUrl)return void(0,i.logWarn)(`${h}: No vastXml or vastUrl on bid, bailing...`);const t=R.getRendererId("pubmatic",e.rendererCode),a=document.getElementById(e.adUnitCode);let n;for(let e=0;e<window.bluebillywig.renderers.length;e++)if(window.bluebillywig.renderers[e]._id===t){n=window.bluebillywig.renderers[e];break}n?n.bootstrap(r,a):(0,i.logWarn)(`${h}: Couldn't find a renderer with ${t}`)},newRenderer:function(e,r){var t=y.replace("$RENDERER",e);const a=l.Th.install({url:t,loaded:!1,adUnitCode:r});try{a.setRender(R.outstreamRender)}catch(e){(0,i.logWarn)(`${h}: Error tying to setRender on renderer`,e)}return a},outstreamRender:function(e){e.renderer.push((function(){R.bootstrapPlayer(e)}))},getRendererId:function(e,r){return`${e}-${r}`}},O=[d.Mk,d.pX,d.B5];let S=0,N=!1,A=["pubmatic"];const C=["all"];function _(e,r){if(!(0,i.isStr)(r))return r&&(0,i.logWarn)(h+"Ignoring param key: "+e+", expects string-value, found "+typeof r),b;switch(e){case"pmzoneid":return r.split(",").slice(0,50).map((e=>e.trim())).join();case"kadfloor":case"lat":case"lon":return parseFloat(r)||b;case"yob":return parseInt(r)||b;default:return r}}function z(e){var r;e.params.adUnit="",e.params.adUnitIndex="0",e.params.width=0,e.params.height=0,e.params.adSlot=(r=e.params.adSlot,(0,i.isStr)(r)?r.replace(/^\s+/g,"").replace(/\s+$/g,""):(r&&(0,i.logWarn)(u+": adSlot must be a string. Ignoring adSlot"),""));var t=e.params.adSlot,a=t.split(":");if(t=a[0],2==a.length&&(e.params.adUnitIndex=a[1]),a=t.split("@"),e.params.adUnit=a[0],a.length>1){if(2!=(a=a[1].split("x")).length)return void(0,i.logWarn)(h+"AdSlot Error: adSlot not in required format");e.params.width=parseInt(a[0],10),e.params.height=parseInt(a[1],10)}else if(e.hasOwnProperty("mediaTypes")&&e.mediaTypes.hasOwnProperty(d.Mk)&&e.mediaTypes.banner.hasOwnProperty("sizes")){for(var n=0,s=[];n<e.mediaTypes.banner.sizes.length;n++)2===e.mediaTypes.banner.sizes[n].length&&s.push(e.mediaTypes.banner.sizes[n]);e.mediaTypes.banner.sizes=s,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 U(e,r,t){var a,n="Ignoring param key: "+e+", expects "+t+", found "+typeof r;switch(t){case x.BOOLEAN:a=i.isBoolean;break;case x.NUMBER:a=i.isNumber;break;case x.STRING:a=i.isStr;break;case x.ARRAY:a=i.isArray}return a(r)?r:((0,i.logWarn)(h+n),b)}const P={desc:"desc",desc2:"desc2",body:"desc",body2:"desc2",sponsoredBy:"sponsored",cta:"ctatext",rating:"rating",address:"address",downloads:"downloads",likes:"likes",phone:"phone",price:"price",salePrice:"saleprice",displayUrl:"displayurl",saleprice:"saleprice",displayurl:"displayurl"},{NATIVE_IMAGE_TYPES:k,NATIVE_KEYS_THAT_ARE_NOT_ASSETS:B,NATIVE_KEYS:W,NATIVE_ASSET_TYPES:M}=c,$=Object.values(P);function j(e){var r;if(e.ortb){e=e.ortb,r={ver:"1.2",...e,assets:[]};const{assets:t}=e,a=e=>e.title||e.img||e.data||e.video;if(t.length<1||!t.some((e=>a(e))))return(0,i.logWarn)(`${h}: Native assets object is empty or contains some invalid object`),N=!0,r;t.forEach((e=>{var t=e;t.img&&(t.img.type==T.IMAGE?(t.w=t.w||t.width||(t.sizes?t.sizes[0]:b),t.h=t.h||t.height||(t.sizes?t.sizes[1]:b),t.wmin=t.wmin||t.minimumWidth||(t.minsizes?t.minsizes[0]:b),t.hmin=t.hmin||t.minimumHeight||(t.minsizes?t.minsizes[1]:b)):t.img.type==T.ICON&&(t.w=t.w||t.width||(t.sizes?t.sizes[0]:b),t.h=t.h||t.height||(t.sizes?t.sizes[1]:b))),t&&void 0!==t.id&&a(t)&&r.assets.push(t)}))}else r=function(e){if(!e&&!(0,i.isPlainObject)(e))return(0,i.logWarn)(`${h}: Native assets object is empty or not an object: ${e}`),void(N=!0);const r={ver:"1.2",assets:[]};for(let t in e){if(B.includes(t))continue;if(!W.hasOwnProperty(t)&&!$.includes(t)){(0,i.logWarn)(`${h}: Unrecognized native asset code: ${t}. Asset will be ignored.`);continue}const a=e[t];let n=0;a.required&&(0,i.isBoolean)(a.required)&&(n=Number(a.required));const s={id:r.assets.length,required:n};if(t in P)s.data={type:M[P[t]]},(a.len||a.length)&&(s.data.len=a.len||a.length),a.ext&&(s.data.ext=a.ext);else if("icon"===t||"image"===t){if(s.img={type:"icon"===t?k.ICON:k.MAIN},a.aspect_ratios)if((0,i.isArray)(a.aspect_ratios))if(a.aspect_ratios.length){const{min_width:e,min_height:r}=a.aspect_ratios[0];(0,i.isInteger)(e)&&(0,i.isInteger)(r)?(s.img.wmin=e,s.img.hmin=r):(0,i.logWarn)(`${h}: image.aspect_ratios min_width or min_height are invalid: ${e}, ${r}`);const t=a.aspect_ratios.filter((e=>e.ratio_width&&e.ratio_height)).map((e=>`${e.ratio_width}:${e.ratio_height}`));t.length>0&&(s.img.ext={aspectratios:t})}else(0,i.logWarn)(`${h}: image.aspect_ratios was passed, but it's empty: ${a.aspect_ratios}`);else(0,i.logWarn)(`${h}: image.aspect_ratios was passed, but it's not a an array: ${a.aspect_ratios}`);s.img.w=a.w||a.width,s.img.h=a.h||a.height,s.img.wmin=a.wmin||a.minimumWidth||(a.minsizes?a.minsizes[0]:b),s.img.hmin=a.hmin||a.minimumHeight||(a.minsizes?a.minsizes[1]:b),a.sizes&&(2===a.sizes.length&&(0,i.isInteger)(a.sizes[0])&&(0,i.isInteger)(a.sizes[1])?((0,i.logInfo)(`${h}: if asset.sizes exist, by OpenRTB spec we should remove wmin and hmin`),s.img.w=a.sizes[0],s.img.h=a.sizes[1],delete s.img.hmin,delete s.img.wmin):(0,i.logWarn)(`${h}: image.sizes was passed, but its value is not an array of integers: ${a.sizes}`)),a.ext&&(s.img.ext=a.ext),a.mimes&&(s.img.mimes=a.mimes)}else"title"===t?(s.title={len:a.len||a.length||140},a.ext&&(s.title.ext=a.ext)):"ext"===t&&(s.ext=a,delete s.required);r.assets.push(s)}return r.assets.length<1?((0,i.logWarn)(`${h}: Could not find any valid asset`),void(N=!0)):r}(e);return r}function q(e){var r,t=e.mediaTypes.banner.sizes,a=[];if(t!==b&&(0,i.isArray)(t)){if(r={},e.params.width||e.params.height)r.w=e.params.width,r.h=e.params.height;else{if(0===t.length)return r=b,(0,i.logWarn)(h+"Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),r;r.w=parseInt(t[0][0],10),r.h=parseInt(t[0][1],10),t=t.splice(1,t.length-1)}t.length>0&&(a=[],t.forEach((function(e){e.length>1&&a.push({w:e[0],h:e[1]})})),a.length>0&&(r.format=a)),r.pos=0,r.topframe=(0,i.inIframe)()?0:1}else(0,i.logWarn)(h+"Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),r=b;return r}function X(e){var r,t=(0,i.mergeDeep)((0,n.Z)(e.mediaTypes,"video"),e.params.video);if(t!==b){for(var a in r={},function(e,r){(0,n.Z)(e,"placement")||(0,i.logWarn)(v+" for "+r)}(t,e.adUnitCode),I)t.hasOwnProperty(a)&&(r[a]=U(a,t[a],I[a]));(0,i.isArray)(e.mediaTypes.video.playerSize[0])?(r.w=parseInt(e.mediaTypes.video.playerSize[0][0],10),r.h=parseInt(e.mediaTypes.video.playerSize[0][1],10)):(0,i.isNumber)(e.mediaTypes.video.playerSize[0])&&(r.w=parseInt(e.mediaTypes.video.playerSize[0],10),r.h=parseInt(e.mediaTypes.video.playerSize[1],10))}else r=b,(0,i.logWarn)(h+"Error: Video config params missing for adunit: "+e.params.adUnit+" with mediaType set as video. Ignoring video impression in the adunit.");return r}function D(e,r){var t,a,o={},l={},m=e.hasOwnProperty("sizes")?e.sizes:[],c="",g=[],u=r?.fledgeEnabled;if(function(e,r){r.params.deals&&((0,i.isArray)(r.params.deals)?r.params.deals.forEach((function(r){(0,i.isStr)(r)&&r.length>3?(e.pmp||(e.pmp={private_auction:0,deals:[]}),e.pmp.deals.push({id:r})):(0,i.logWarn)(h+"Error: deal-id present in array bid.params.deals should be a strings with more than 3 charaters length, deal-id ignored: "+r)})):(0,i.logWarn)(h+"Error: bid.params.deals should be an array of strings."))}(o={id:e.bidId,tagid:e.params.adUnit||void 0,bidfloor:_("kadfloor",e.params.kadfloor),secure:1,ext:{pmZoneId:_("pmzoneid",e.params.pmzoneid)},bidfloorcur:e.params.currency?_("currency",e.params.currency):f},e),function(e,r){var t,a="";if(r.params.dctr)if(a=r.params.dctr,(0,i.isStr)(a)&&a.length>0){var n=a.split("|");a="",n.forEach((e=>{a+=e.length>0?e.trim()+"|":""})),t=a.length,"|"===a.substring(t,t-1)&&(a=a.substring(0,t-1)),e.ext.key_val=a.trim()}else(0,i.logWarn)(h+"Ignoring param : dctr with value : "+a+", expects string-value, found empty or non-string value")}(o,e),function(e,r){var t=r.rtd&&r.rtd.jwplayer&&r.rtd.jwplayer.targeting||void 0,a="";if(void 0!==t&&""!==t&&t.hasOwnProperty("segments")){var i,n=t.segments.length;a+="jw-id="+t.content.id;for(var s=0;s<n;s++)a+="|jw-"+t.segments[s]+"=1";(i=e.ext)&&void 0===i.key_val?i.key_val=a:i.key_val+="|"+a}}(o,e),e.hasOwnProperty("mediaTypes"))for(c in e.mediaTypes)switch(c){case d.Mk:(t=q(e))!==b&&(o.banner=t);break;case d.B5:l.request=JSON.stringify(j(e.nativeParams)),N?((0,i.logWarn)(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."),N=!1):o.native=l;break;case d.pX:(a=X(e))!==b&&(o.video=a)}else t={pos:0,w:e.params.width,h:e.params.height,topframe:(0,i.inIframe)()?0:1},(0,i.isArray)(m)&&m.length>1&&((m=m.splice(1,m.length-1)).forEach((e=>{g.push({w:e[0],h:e[1]})})),t.format=g),o.banner=t;return function(e,r){const t={...(0,n.Z)(r,"ortb2Imp.ext.data")};Object.keys(t).forEach((r=>{"pbadslot"===r?"string"==typeof t[r]&&t[r]&&(0,s.N)(e,"ext.data.pbadslot",t[r]):"adserver"===r?["name","adslot"].forEach((r=>{const a=(0,n.Z)(t,`adserver.${r}`);"string"==typeof a&&a&&((0,s.N)(e,`ext.data.adserver.${r.toLowerCase()}`,a),"adslot"===r&&(0,s.N)(e,"ext.dfp_ad_unit_code",a))})):(0,s.N)(e,`ext.data.${r}`,t[r])}));const a=(0,n.Z)(r,"ortb2Imp.ext.gpid");a&&(0,s.N)(e,"ext.gpid",a)}(o,e),function(e,r){let t=-1;"function"!=typeof r.getFloor||p.config.getConfig("pubmatic.disableFloors")||[d.Mk,d.pX,d.B5].forEach((a=>{if(e.hasOwnProperty(a)){let n=[];"banner"===a&&(e[a].w&&e[a].h&&n.push([e[a].w,e[a].h]),(0,i.isArray)(e[a].format)&&e[a].format.forEach((e=>n.push([e.w,e.h])))),0===n.length&&n.push("*"),n.forEach((n=>{let s=r.getFloor({currency:e.bidfloorcur,mediaType:a,size:n});if((0,i.logInfo)(h,"floor from floor module returned for mediatype:",a," and size:",n," is: currency",s.currency,"floor",s.floor),"object"==typeof s&&s.currency===e.bidfloorcur&&!isNaN(parseInt(s.floor))){let e=parseFloat(s.floor);(0,i.logInfo)(h,"floor from floor module:",e,"previous floor value",t,"Min:",Math.min(e,t)),t=-1===t?e:Math.min(e,t),(0,i.logInfo)(h,"new floor value:",t)}}))}}));e.bidfloor&&((0,i.logInfo)(h,"floor from floor module:",t,"impObj.bidfloor",e.bidfloor,"Max:",Math.max(t,e.bidfloor)),t=Math.max(t,e.bidfloor));e.bidfloor=!isNaN(t)&&t>0?t:b,(0,i.logInfo)(h,"new impObj.bidfloor value:",e.bidfloor)}(o,e),function(e,r,t){t?(e.ext=e.ext||{},void 0!==r?.ortb2Imp?.ext?.ae&&(e.ext.ae=r.ortb2Imp.ext.ae)):e.ext?.ae&&delete e.ext.ae}(o,e,u),o.hasOwnProperty(d.Mk)||o.hasOwnProperty(d.B5)||o.hasOwnProperty(d.pX)?o:b}function Y(e,r){(r=r.filter((function(e){return"string"==typeof e||((0,i.logWarn)(h+"acat: Each category should be a string, ignoring category: "+e),!1)})).map((e=>e.trim())).filter(((e,r,t)=>t.indexOf(e)===r))).length>0&&((0,i.logWarn)(h+"acat: Selected: ",r),e.ext.acat=r)}function Z(e){return!0===(0,i.isArray)(e)&&e.length>0}const F={code:u,gvlid:76,supportedMediaTypes:[d.Mk,d.pX,d.B5],isBidRequestValid:e=>{if(e&&e.params){if(!(0,i.isStr)(e.params.publisherId))return(0,i.logWarn)(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(d.pX)){let r=(0,n.Z)(e.mediaTypes,"video.mimes"),t=(0,n.Z)(e,"params.video.mimes");if(!1===Z(r)&&!1===Z(t))return(0,i.logWarn)(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[d.pX].hasOwnProperty("context"))return(0,i.logError)(`${h}: no context specified in bid. Rejecting bid: `,e),!1;if("outstream"===e.mediaTypes[d.pX].context&&!(0,i.isStr)(e.params.outstreamAU)&&!e.hasOwnProperty("renderer")&&!e.mediaTypes[d.pX].hasOwnProperty("renderer"))return e.mediaTypes.hasOwnProperty(d.Mk)||e.mediaTypes.hasOwnProperty(d.B5)?(delete e.mediaTypes[d.pX],(0,i.logWarn)(`${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,i.logError)(`${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:(e,r)=>{var t;r&&r.refererInfo&&(t=r.refererInfo);var a,o=function(e){return{pageURL:e?.page||window.location.href,refURL:e?.ref||window.document.referrer}}(t),l=function(e){return{id:""+(new Date).getTime(),at:1,cur:[f],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:{}}}(o),c="",g=[],u=[],y=[];if(e.forEach((e=>{if((a=(0,i.deepClone)(e)).params.adSlot=a.params.adSlot||"",z(a),a.mediaTypes&&a.mediaTypes.hasOwnProperty("video")||a.params.hasOwnProperty("video"));else if(!(a.hasOwnProperty("mediaTypes")&&a.mediaTypes.hasOwnProperty(d.B5)||0!==a.params.width||0!==a.params.height))return void(0,i.logWarn)(h+"Skipping the non-standard adslot: ",a.params.adSlot,JSON.stringify(a));o.pubId=o.pubId||a.params.publisherId,(o=function(e,r){var t,a,n;for(t in r.kadpageurl||(r.kadpageurl=r.pageURL),w)w.hasOwnProperty(t)&&(a=e[t])&&("object"==typeof(n=w[t])&&(a=n.f(a,r)),(0,i.isStr)(a)?r[t]=a:(0,i.logWarn)(h+"Ignoring param : "+t+" with value : "+w[t]+", expects string-value, found "+typeof a));return r}(a.params,o)).transactionId=a.ortb2Imp?.ext?.tid,""===c?c=a.params.currency||b:a.params.hasOwnProperty("currency")&&c!==a.params.currency&&(0,i.logWarn)(h+"Currency specifier ignored. Only one currency permitted."),a.params.currency=c,a.params.hasOwnProperty("dctr")&&(0,i.isStr)(a.params.dctr)&&g.push(a.params.dctr),a.params.hasOwnProperty("bcat")&&(0,i.isArray)(a.params.bcat)&&(u=u.concat(a.params.bcat)),a.params.hasOwnProperty("acat")&&(0,i.isArray)(a.params.acat)&&(y=y.concat(a.params.acat));var t=D(a,r);t&&l.imp.push(t)})),0==l.imp.length)return;l.site.publisher.id=o.pubId.trim(),S=o.pubId.trim(),l.ext.wrapper={},l.ext.wrapper.profile=parseInt(o.profId)||b,l.ext.wrapper.version=parseInt(o.verId)||b,l.ext.wrapper.wiid=o.wiid||r.auctionId,l.ext.wrapper.wv="prebid_prebid_8.27.0",l.ext.wrapper.transactionId=o.transactionId,l.ext.wrapper.wp="pbjs";const v=r?m.S.get(r.bidderCode,"allowAlternateBidderCodes"):void 0;if(void 0!==v){if(l.ext.marketplace={},r&&1==v){let e=m.S.get(r.bidderCode,"allowedAlternateBidderCodes");(0,i.isArray)(e)?(e=e.map((e=>e.trim().toLowerCase())).filter((e=>!!e)).filter(i.uniques),A=e.includes("*")?C:[...A,...e]):A=C}l.ext.marketplace.allowedbidders=A.filter(i.uniques)}l.user.gender=o.gender?o.gender.trim():b,l.user.geo={},l.user.yob=_("yob",o.yob),l.site.page=o.kadpageurl.trim()||l.site.page.trim(),l.site.domain=function(e){let r=document.createElement("a");return r.href=e,r.hostname}(l.site.page),"object"==typeof p.config.getConfig("content")&&(l.site.content=p.config.getConfig("content")),"object"==typeof p.config.getConfig("device")&&(l.device=Object.assign(l.device,p.config.getConfig("device"))),l.device.language=l.device.language&&l.device.language.split("-")[0],(0,s.N)(l,"source.tid",r?.ortb2?.source?.tid),-1!==window.location.href.indexOf("pubmaticTest=true")&&(l.test=1),e[0].schain&&(0,s.N)(l,"source.ext.schain",e[0].schain),r&&r.gdprConsent&&((0,s.N)(l,"user.ext.consent",r.gdprConsent.consentString),(0,s.N)(l,"regs.ext.gdpr",r.gdprConsent.gdprApplies?1:0)),r&&r.uspConsent&&(0,s.N)(l,"regs.ext.us_privacy",r.uspConsent),r?.gppConsent?.gppString?((0,s.N)(l,"regs.gpp",r.gppConsent.gppString),(0,s.N)(l,"regs.gpp_sid",r.gppConsent.applicableSections)):r?.ortb2?.regs?.gpp&&((0,s.N)(l,"regs.gpp",r.ortb2.regs.gpp),(0,s.N)(l,"regs.gpp_sid",r.ortb2.regs.gpp_sid)),!0===p.config.getConfig("coppa")&&(0,s.N)(l,"regs.coppa",1),function(e,r){let t=(0,n.Z)(r,"0.userIdAsEids");(0,i.isArray)(t)&&t.length>0&&(0,s.N)(e,"user.eids",t)}(l,e);const x=r&&r.ortb2||{},{user:I,device:T,site:E,bcat:R}=x;if(E){const{page:e,domain:r,ref:t}=l.site;(0,i.mergeDeep)(l,{site:E}),l.site.page=e,l.site.domain=r,l.site.ref=t}if(I&&(0,i.mergeDeep)(l,{user:I}),R&&(u=u.concat(R)),T?.sua&&(l.device.sua=T?.sua),T?.ext?.cdep&&(0,s.N)(l,"device.ext.cdep",T.ext.cdep),I?.geo&&T?.geo?(l.device.geo={...l.device.geo,...T.geo},l.user.geo={...l.user.geo,...I.geo}):(I?.geo||T?.geo)&&(l.user.geo=l.device.geo=I?.geo?{...l.user.geo,...I.geo}:{...l.user.geo,...T.geo}),x.ext?.prebid?.bidderparams?.[r.bidderCode]?.acat){const e=x.ext.prebid.bidderparams[r.bidderCode].acat;Y(l,e)}else y.length&&Y(l,y);return function(e,r){(r=r.filter((function(e){return"string"==typeof e||((0,i.logWarn)(h+"bcat: Each category should be a string, ignoring category: "+e),!1)})).map((e=>e.trim())).filter((function(e,r,t){if(e.length>3)return t.indexOf(e)===r;(0,i.logWarn)(h+"bcat: Each category should have a value of a length of more than 3 characters, ignoring category: "+e)}))).length>0&&((0,i.logWarn)(h+"bcat: Selected: ",r),e.bcat=r)}(l,u),l.tmax=r?.timeout?r.timeout:window?.PWT?.versionDetails?.timeout,l.ext.epoch=(new Date).getTime(),"object"==typeof p.config.getConfig("app")&&(l.app=p.config.getConfig("app"),l.app.publisher=l.site.publisher,l.app.ext=l.site.ext||b,"object"!=typeof l.app.content&&(l.app.content=l.site.content||b),delete l.site),{method:"POST",url:"https://hbopenbid.pubmatic.com/translator?source=prebid-client",data:JSON.stringify(l),bidderRequest:r}},interpretResponse:(e,r)=>{const t=[];var a=f;let s=JSON.parse(r.data),o=s.site&&s.site.ref?s.site.ref:"";try{e.body&&e.body.seatbid&&(0,i.isArray)(e.body.seatbid)&&(a=e.body.cur||a,e.body.seatbid.forEach((e=>{e.bid&&(0,i.isArray)(e.bid)&&e.bid.forEach((p=>{let l={requestId:p.impid,cpm:parseFloat((p.price||0).toFixed(2)),width:p.w,height:p.h,creativeId:p.crid||p.id,dealId:p.dealid,currency:a,netRevenue:true,ttl:300,referrer:o,ad:p.adm,pm_seat:e.seat||null,pm_dspid:p.ext&&p.ext.dspid?p.ext.dspid:null,partnerImpId:p.id||""};s.imp&&s.imp.length>0&&s.imp.forEach((e=>{if(p.impid===e.id)switch(function(e,r){if(e.ext&&null!=e.ext.bidtype)r.mediaType=O[e.ext.bidtype];else{(0,i.logInfo)(h+"bid.ext.bidtype does not exist, checking alternatively for mediaType");var t=e.adm,a="",n=new RegExp(/VAST\s+version/);if(t.indexOf('span class="PubAPIAd"')>=0)r.mediaType=d.Mk;else if(n.test(t))r.mediaType=d.pX;else try{(a=JSON.parse(t.replace(/\\/g,"")))&&a.native&&(r.mediaType=d.B5)}catch(e){(0,i.logWarn)(h+"Error: Cannot parse native reponse for ad response: "+t)}}}(p,l),l.mediaType){case d.Mk:break;case d.pX:l.width=p.hasOwnProperty("w")?p.w:e.video.w,l.height=p.hasOwnProperty("h")?p.h:e.video.h,l.vastXml=p.adm,function(e,r){let t,a,i;if(r.bidderRequest&&r.bidderRequest.bids){for(let n=0;n<r.bidderRequest.bids.length;n++)r.bidderRequest.bids[n].bidId===e.requestId&&(t=r.bidderRequest.bids[n].params,a=r.bidderRequest.bids[n].mediaTypes[d.pX].context,i=r.bidderRequest.bids[n].adUnitCode);a&&"outstream"===a&&t&&t.outstreamAU&&i&&(e.rendererCode=t.outstreamAU,e.renderer=R.newRenderer(e.rendererCode,i))}}(l,r),function(e,r,t){if(!r?.ext?.prebiddealpriority)return;const a=(0,i.getBidRequest)(e.requestId,[t.bidderRequest]),s=(0,n.Z)(a,"mediaTypes.video");if(s?.context!=d.Oh)return;const o=r?.ext?.video?.duration||s?.maxduration;e.video={context:d.Oh,durationSeconds:o,dealTier:r.ext.prebiddealpriority}}(l,p,r);break;case d.B5:!function(e,r){if(e.hasOwnProperty("adm")){var t="";try{t=JSON.parse(e.adm.replace(/\\/g,""))}catch(e){return void(0,i.logWarn)(h+"Error: Cannot parse native reponse for ad response: "+r.adm)}r.native={ortb:{...t.native}},r.mediaType=d.B5,r.width||(r.width=0),r.height||(r.height=0)}}(p,l)}})),p.ext&&p.ext.deal_channel&&(l.dealChannel=E[p.ext.deal_channel]||null),function(e,r,t){e.meta={},r.ext&&r.ext.dspid&&(e.meta.networkId=r.ext.dspid,e.meta.demandSource=r.ext.dspid),r.ext&&r.ext.dchain&&(e.meta.dchain=r.ext.dchain);const a=t||r.ext&&r.ext.advid;a&&(e.meta.advertiserId=a,e.meta.agencyId=a,e.meta.buyerId=a),r.adomain&&Z(r.adomain)&&(e.meta.advertiserDomains=r.adomain,e.meta.clickUrl=r.adomain[0],e.meta.brandId=r.adomain[0]),r.cat&&Z(r.cat)&&(e.meta.secondaryCatIds=r.cat,e.meta.primaryCatId=r.cat[0])}(l,p,e.seat),e.ext&&e.ext.buyid&&(l.adserverTargeting={hb_buyid_pubmatic:e.ext.buyid}),p.ext&&p.ext.marketplace&&(l.bidderCode=p.ext.marketplace),t.push(l)}))})));let p=(0,n.Z)(e.body,"ext.fledge_auction_configs");if(p)return p=Object.entries(p).map((e=>{let[r,t]=e;return{bidId:r,config:Object.assign({auctionSignals:{}},t)}})),{bids:t,fledgeAuctionConfigs:p}}catch(e){(0,i.logError)(e)}return t},getUserSyncs:(e,r,t,a,i)=>{let n=""+S;return t&&(n+="&gdpr="+(t.gdprApplies?1:0),n+="&gdpr_consent="+encodeURIComponent(t.consentString||"")),a&&(n+="&us_privacy="+encodeURIComponent(a)),i?.gppString&&i?.applicableSections?.length&&(n+="&gpp="+encodeURIComponent(i.gppString),n+="&gpp_sid="+encodeURIComponent(i?.applicableSections?.join(","))),!0===p.config.getConfig("coppa")&&(n+="&coppa=1"),e.iframeEnabled?[{type:"iframe",url:"https://ads.pubmatic.com/AdServer/js/user_sync.html?kdntuid=1&p="+n}]:[{type:"image",url:"https://image8.pubmatic.com/AdServer/ImgSync?p="+n}]},transformBidParams:function(e,r,t,a){return(0,g.u)({publisherId:"string",adSlot:"string"},e)}};(0,o.dX)(F),(0,a.z)("pubmaticBidAdapter")}},e=>{e.O(0,[33402,38409],(()=>{return r=15817,e(e.s=r);var r}));e.O()}]);(self.stpdChunk=self.stpdChunk||[]).push([[31215],{13522:(e,r,t)=>{var a=t(78640),i=t(20265),o=t(64358),s=t(24679),d=t(3193),n=t(14699);const p={code:"smartadserver",gvlid:45,aliases:["smart"],supportedMediaTypes:[s.Mk,s.pX],isBidRequestValid:function(e){return!!(e.params&&e.params.siteId&&e.params.pageId&&e.params.formatId)},serializeSupplyChain:function(e){if(!e||!e.nodes)return null;const r=["asi","sid","hp","rid","name","domain"];return`${e.ver},${e.complete}!`+e.nodes.map((e=>r.map((r=>e[r]?encodeURIComponent(e[r]):"")).join(","))).join("!")},adaptBannerSizes:function(e){return e.map((e=>({w:e[0],h:e[1]})))},fillPayloadForVideoBidRequest:function(e,r,t){const a=r.playerSize[0];e.isVideo="instream"===r.context,e.mediaType=s.pX,e.videoData={videoProtocol:this.getProtocolForVideoBidRequest(r,t),playerWidth:a[0],playerHeight:a[1],adBreak:this.getStartDelayForVideoBidRequest(r,t)}},getProtocolForVideoBidRequest:function(e,r){return void 0!==r&&r.protocol?r.protocol:void 0!==e&&Array.isArray(e.protocols)?Math.max.apply(Math,e.protocols):null},getStartDelayForVideoBidRequest:function(e,r){if(void 0!==r&&r.startDelay)return r.startDelay;if(void 0!==e){if(0==e.startdelay)return 1;if(-1==e.startdelay)return 2;if(-2==e.startdelay)return 3}return 2},createServerRequest:function(e,r){return{method:"POST",url:(void 0!==r?r:"https://prg.smartadserver.com")+"/prebid/v1",data:JSON.stringify(e)}},buildRequests:function(e,r){const t=d.config.getConfig("currency.adServerCurrency"),a=(0,i.Z)(r,"ortb2.user.data",d.config.getAnyConfig("ortb2.user.data")),n=(0,i.Z)(r,"ortb2.site.content.data",d.config.getAnyConfig("ortb2.site.content.data"));return e.reduce(((e,l)=>{let u={siteid:l.params.siteId,pageid:l.params.pageId,formatid:l.params.formatId,currencyCode:t,targeting:l.params.target&&""!==l.params.target?l.params.target:void 0,buid:l.params.buId&&""!==l.params.buId?l.params.buId:void 0,appname:l.params.appName&&""!==l.params.appName?l.params.appName:void 0,ckid:l.params.ckId||0,tagId:l.adUnitCode,pageDomain:r&&r.refererInfo&&r.refererInfo.page?r.refererInfo.page:void 0,transactionId:l.ortb2Imp?.ext?.tid,timeout:d.config.getConfig("bidderTimeout"),bidId:l.bidId,prebidVersion:"8.27.0",schain:p.serializeSupplyChain(l.schain),sda:a,sdc:n};const c=(0,i.Z)(l,"ortb2Imp.ext.gpid",(0,i.Z)(l,"ortb2Imp.ext.data.pbadslot",""));c&&(u.gpid=c),r&&(r.gdprConsent&&(u.addtl_consent=r.gdprConsent.addtlConsent,u.gdpr_consent=r.gdprConsent.consentString,u.gdpr=r.gdprConsent.gdprApplies),r.gppConsent&&(u.gpp=r.gppConsent.gppString,u.gpp_sid=r.gppConsent.applicableSections),r.uspConsent&&(u.us_privacy=r.uspConsent)),l&&l.userIdAsEids&&(u.eids=l.userIdAsEids),r&&r.uspConsent&&(u.us_privacy=r.uspConsent);const m=(0,i.Z)(l,"mediaTypes.banner"),g=(0,i.Z)(l,"mediaTypes.video"),f=g&&("instream"===g.context||"outstream"===g.context);if(m||f){let r;if(m){if(r=s.Mk,u.sizes=p.adaptBannerSizes(m.sizes),f){let r=(0,o.deepClone)(u);p.fillPayloadForVideoBidRequest(r,g,l.params.video),r.bidfloor=l.params.bidfloor||p.getBidFloor(l,t,s.pX),e.push(p.createServerRequest(r,l.params.domain))}}else r=s.pX,p.fillPayloadForVideoBidRequest(u,g,l.params.video);u.bidfloor=l.params.bidfloor||p.getBidFloor(l,t,r),e.push(p.createServerRequest(u,l.params.domain))}else e.push({});return e}),[])},interpretResponse:function(e,r){const t=[];let a=e.body;try{if(a&&!a.isNoAd&&(a.ad||a.adUrl)){const e=JSON.parse(r.data);let i={requestId:e.bidId,cpm:a.cpm,width:a.width,height:a.height,creativeId:a.creativeId,dealId:a.dealId,currency:a.currency,netRevenue:a.isNetCpm,ttl:a.ttl,dspPixels:a.dspPixels,meta:{advertiserDomains:a.adomain?a.adomain:[]}};e.mediaType===s.pX?(i.mediaType=s.pX,i.vastUrl=a.adUrl,i.vastXml=a.ad,i.content=a.ad):(i.adUrl=a.adUrl,i.ad=a.ad),t.push(i)}}catch(e){(0,o.logError)("Error while parsing smart server response",e)}return t},getBidFloor:function(e,r,t){if(!(0,o.isFn)(e.getFloor))return 0;const a=e.getFloor({currency:r||"USD",mediaType:t,size:"*"});return(0,o.isPlainObject)(a)&&!isNaN(a.floor)?a.floor:0},getUserSyncs:function(e,r){const t=[];return e.iframeEnabled&&r.length>0&&null!=r[0].body.cSyncUrl?t.push({type:"iframe",url:r[0].body.cSyncUrl}):e.pixelEnabled&&r.length>0&&void 0!==r[0].body.dspPixels&&r[0].body.dspPixels.forEach((function(e){t.push({type:"image",url:e})})),t}};(0,n.dX)(p),(0,a.z)("smartadserverBidAdapter")}},e=>{e.O(0,[38409],(()=>{return r=13522,e(e.s=r);var r}));e.O()}]);(self.stpdChunk=self.stpdChunk||[]).push([[6406],{60241:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{var _src_prebidGlobal_js__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(78640),_src_utils_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(64358),_src_utils_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(20265),_src_adloader_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(55730),_src_adapters_bidderFactory_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(14699),_src_config_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(3193),_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(24679),criteo_direct_rsa_validate_build_verify_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1582),_src_storageManager_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(15164),_src_refererDetection_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(25102),_src_utils_gpdr_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(17673),_src_Renderer_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(35706),_src_video_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(90154),_src_ajax_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(48928);const GVLID=91,ADAPTER_VERSION=36,BIDDER_CODE="criteo",CDB_ENDPOINT="https://bidder.criteo.com/cdb",PROFILE_ID_INLINE=207,FLEDGE_SELLER_DOMAIN="https://grid-mercury.criteo.com",FLEDGE_SELLER_TIMEOUT=500,FLEDGE_DECISION_LOGIC_URL="https://grid-mercury.criteo.com/fledge/decision",PROFILE_ID_PUBLISHERTAG=185,storage=(0,_src_storageManager_js__WEBPACK_IMPORTED_MODULE_1__.df)({bidderCode:BIDDER_CODE}),LOG_PREFIX="Criteo: ",FAST_BID_VERSION_PLACEHOLDER="%FAST_BID_VERSION%",FAST_BID_VERSION_CURRENT=144,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",PUBLISHER_TAG_OUTSTREAM_SRC="https://static.criteo.net/js/ld/publishertag.renderer.js",FAST_BID_PUBKEY_E=65537,FAST_BID_PUBKEY_N="ztQYwCE5BU7T9CDM5he6rKoabstXRmkzx54zFPZkWbK530dwtLBDeaWBMxHBUT55CYyboR/EZ4efghPi3CoNGfGWezpjko9P6p2EwGArtHEeS4slhu/SpSIFMjG6fdrpRoNuIAMhq1Z+Pr/+HOd1pThFKeGFr2/NhtAg+TXAzaU=",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,r,i){if(canFastBid(_src_config_js__WEBPACK_IMPORTED_MODULE_3__.config.getConfig("criteo.fastBidVersion")))return[];const s=(0,_src_refererDetection_js__WEBPACK_IMPORTED_MODULE_4__.nH)(),o="criteoPrebidAdapter";if(e.iframeEnabled&&(0,_src_utils_gpdr_js__WEBPACK_IMPORTED_MODULE_5__.h)(r)){const e=[];e.push(`origin=${o}`),e.push(`topUrl=${s.domain}`),r&&(r.gdprApplies&&e.push("gdpr="+(1==r.gdprApplies?1:0)),r.consentString&&e.push(`gdpr_consent=${r.consentString}`)),i&&e.push(`us_privacy=${i}`);const t=Math.random().toString(),a={bundle:readFromAllStorages(BUNDLE_COOKIE_NAME),cw:storage.cookiesAreEnabled(),lsw:storage.localStorageIsEnabled(),optoutCookie:readFromAllStorages(OPTOUT_COOKIE_NAME),origin:o,requestId:t,tld:s.domain,topUrl:s.domain,version:"8.27.0".replace(/\./g,"_")};window.addEventListener("message",(function e(r){if(!r.data||"https://gum.criteo.com"!=r.origin)return;if(r.data.requestId!==t)return;this.removeEventListener("message",e),r.stopImmediatePropagation();const i=r.data;i.optout?(deleteFromAllStorages(BUNDLE_COOKIE_NAME),saveOnAllStorages(OPTOUT_COOKIE_NAME,!0,OPTOUT_RETENTION_TIME_HOUR)):i.bundle&&saveOnAllStorages(BUNDLE_COOKIE_NAME,i.bundle,GUID_RETENTION_TIME_HOUR)}),!0);const _=JSON.stringify(a).replace(/"/g,"%22");return[{type:"iframe",url:`https://gum.criteo.com/syncframe?${e.join("&")}#${_}`}]}return[]},isBidRequestValid:e=>!(!e||!e.params||!e.params.zoneId&&!e.params.networkId)&&!(hasVideoMediaType(e)&&!hasValidVideoMediaType(e)),buildRequests:(e,t)=>{let r,i,s=t.ortb2||{};Object.assign(t,{publisherExt:s.site?.ext,userExt:s.user?.ext,ceh:_src_config_js__WEBPACK_IMPORTED_MODULE_3__.config.getConfig("criteo.ceh"),coppa:_src_config_js__WEBPACK_IMPORTED_MODULE_3__.config.getConfig("coppa")});const o=_src_config_js__WEBPACK_IMPORTED_MODULE_3__.config.getConfig("criteo.fastBidVersion"),a=canFastBid(o);if(!publisherTagAvailable()&&a){window.Criteo=window.Criteo||{},window.Criteo.usePrebidEvents=!1,tryGetCriteoFastBid();const e=getFastBidUrl(o);setTimeout((()=>{(0,_src_adloader_js__WEBPACK_IMPORTED_MODULE_6__.B)(e,BIDDER_CODE)}),t.timeout)}if(publisherTagAvailable()){const s=new Criteo.PubTag.Adapters.Prebid(PROFILE_ID_PUBLISHERTAG,ADAPTER_VERSION,e,t,"8.27.0",{createOutstreamVideoRenderer});r=s.buildCdbUrl(),i=s.buildCdbRequest()}else{const s=buildContext(e,t);r=buildCdbUrl(s),i=buildCdbRequest(s,e,t)}if(i)return{method:"POST",url:r,data:i,bidRequests:e}},interpretResponse:(e,t)=>{const r=e.body||e;if(publisherTagAvailable()){const e=Criteo.PubTag.Adapters.Prebid.GetAdapter(t);if(e)return e.interpretResponse(r,t)}const i=[],s=[];if(r&&r.slots&&(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.isArray)(r.slots)&&r.slots.forEach((s=>{const o=getAssociatedBidRequest(t.bidRequests,s);if(o){const t=o.bidId,a={requestId:t,cpm:s.cpm,currency:s.currency,netRevenue:!0,ttl:s.ttl||60,creativeId:s.creativecode,width:s.width,height:s.height,dealId:s.deal};if(r.ext?.paf?.transmission&&s.ext?.paf?.content_id){const t={content_id:s.ext.paf.content_id,transmission:e.ext.paf.transmission};a.meta=Object.assign({},a.meta,{paf:t})}if(s.adomain&&(a.meta=Object.assign({},a.meta,{advertiserDomains:[s.adomain].flat()})),s.ext?.meta?.networkName&&(a.meta=Object.assign({},a.meta,{networkName:s.ext.meta.networkName})),s.native)o.params.nativeCallback?a.ad=createNativeAd(t,s.native,o.params.nativeCallback):(a.native=createPrebidNativeAd(s.native),a.mediaType=_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.B5);else if(s.video){a.vastUrl=s.displayurl,a.mediaType=_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.pX;(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.Z)(o,"mediaTypes.video.context")===_src_video_js__WEBPACK_IMPORTED_MODULE_9__.gZ&&(a.renderer=createOutstreamVideoRenderer(s))}else a.ad=s.creative;i.push(a)}})),(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.isArray)(r.ext?.igbid)){const e=r.ext.seller||FLEDGE_SELLER_DOMAIN,i=r.ext.sellerTimeout||FLEDGE_SELLER_TIMEOUT,o=r.ext.sellerSignals||{};r.ext.igbid.forEach((r=>{const a={};r.igbuyer.forEach((e=>{a[e.origin]=e.buyerdata}));const _=t.bidRequests.find((e=>e.bidId===r.impid));!o.floor&&_.params.bidFloor&&(o.floor=_.params.bidFloor),!o.sellerCurrency&&_.params.bidFloorCur&&(o.sellerCurrency=_.params.bidFloorCur);const n=_.bidId;s.push({bidId:n,config:{seller:e,sellerSignals:o,sellerTimeout:i,perBuyerSignals:a,auctionSignals:{},decisionLogicUrl:FLEDGE_DECISION_LOGIC_URL,interestGroupBuyers:Object.keys(a)}})}))}return s.length?{bids:i,fledgeAuctionConfigs:s}:i},onTimeout:e=>{if(publisherTagAvailable()&&Array.isArray(e)){var t=[];e.forEach((e=>{if(-1===t.indexOf(e.auctionId)){t.push(e.auctionId);Criteo.PubTag.Adapters.Prebid.GetAdapter(e.auctionId).handleBidTimeout()}}))}},onBidWon:e=>{if(publisherTagAvailable()&&e){Criteo.PubTag.Adapters.Prebid.GetAdapter(e.auctionId).handleBidWon(e)}},onSetTargeting:e=>{if(publisherTagAvailable()){Criteo.PubTag.Adapters.Prebid.GetAdapter(e.auctionId).handleSetTargeting(e)}},onDataDeletionRequest:e=>{const t=readFromAllStorages(BUNDLE_COOKIE_NAME);t&&(deleteFromAllStorages(BUNDLE_COOKIE_NAME),(0,_src_ajax_js__WEBPACK_IMPORTED_MODULE_10__.hj)("https://privacy.criteo.com/api/privacy/datadeletionrequest",null,JSON.stringify({publisherUserId:t}),{contentType:"application/json",method:"POST"}))}};function readFromAllStorages(e){const t=storage.getCookie(e),r=storage.getDataFromLocalStorage(e);return t||r||void 0}function saveOnAllStorages(e,t,r){const i=new Date;i.setTime(i.getTime()+60*r*60*1e3);const s=`expires=${i.toUTCString()}`;storage.setCookie(e,t,s),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){let r="";t&&t.refererInfo&&(r=t.refererInfo.page);const i=(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.parseUrl)(t?.refererInfo?.topmostLocation).search,s={url:r,debug:"1"===i.pbt_debug,noLog:"1"===i.pbt_nolog,amp:!1};return e.forEach((e=>{"amp"===e.params.integrationMode&&(s.amp=!0)})),s}function buildCdbUrl(e){let t=CDB_ENDPOINT;t+="?profileId="+PROFILE_ID_INLINE,t+="&av="+String(ADAPTER_VERSION),t+="&wv="+encodeURIComponent("8.27.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");const r=readFromAllStorages(BUNDLE_COOKIE_NAME);r&&(t+=`&bundle=${r}`);return readFromAllStorages(OPTOUT_COOKIE_NAME)&&(t+="&optout=1"),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,r){let i,s,o;const a={id:(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.generateUUID)(),publisher:{url:e.url,ext:r.publisherExt},regs:{coppa:!0===r.coppa?1:!1===r.coppa?0:void 0,gpp:r.ortb2?.regs?.gpp,gpp_sid:r.ortb2?.regs?.gpp_sid},slots:t.map((e=>{o||(o=e.userIdAsEids),i=e.params.networkId||i,s=e.schain||s;const t={slotid:e.bidId,impid:e.adUnitCode,transactionid:e.ortb2Imp?.ext?.tid};if(e.params.zoneId&&(t.zoneid=e.params.zoneId),(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.Z)(e,"ortb2Imp.ext")&&(t.ext=e.ortb2Imp.ext),(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.Z)(e,"ortb2Imp.rwdd")&&(t.rwdd=e.ortb2Imp.rwdd),e.params.ext&&(t.ext=Object.assign({},t.ext,e.params.ext)),e.nativeOrtbRequest?.assets&&(t.ext=Object.assign({},t.ext,{assets:e.nativeOrtbRequest.assets})),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_7__.logWarn)(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_8__.Z)(e,"mediaTypes.banner.sizes"),parseSize):t.sizes=[],hasVideoMediaType(e)){const r={context:e.mediaTypes.video.context,playersizes:parseSizes((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.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,plcmt:e.mediaTypes.video.plcmt,w:e.mediaTypes.video.w,h:e.mediaTypes.video.h,linearity:e.mediaTypes.video.linearity,skipmin:e.mediaTypes.video.skipmin,skipafter:e.mediaTypes.video.skipafter,minbitrate:e.mediaTypes.video.minbitrate,maxbitrate:e.mediaTypes.video.maxbitrate,delivery:e.mediaTypes.video.delivery,pos:e.mediaTypes.video.pos,playbackend:e.mediaTypes.video.playbackend,adPodDurationSec:e.mediaTypes.video.adPodDurationSec,durationRangeSec:e.mediaTypes.video.durationRangeSec},i=e.params.video;void 0!==i&&(r.skip=r.skip||i.skip||0,r.placement=r.placement||i.placement,r.minduration=r.minduration||i.minduration,r.playbackmethod=r.playbackmethod||i.playbackmethod,r.startdelay=r.startdelay||i.startdelay||0),t.video=r}return enrichSlotWithFloors(t,e),!r.fledgeEnabled&&t.ext?.ae&&delete t.ext.ae,t}))};return i&&(a.publisher.networkid=i),a.source={tid:r.ortb2?.source?.tid},s&&(a.source.ext={schain:s}),a.user=r.ortb2?.user||{},a.site=r.ortb2?.site||{},r&&r.ceh&&(a.user.ceh=r.ceh),r&&r.gdprConsent&&(a.gdprConsent={},void 0!==r.gdprConsent.gdprApplies&&(a.gdprConsent.gdprApplies=!!r.gdprConsent.gdprApplies),a.gdprConsent.version=r.gdprConsent.apiVersion,void 0!==r.gdprConsent.consentString&&(a.gdprConsent.consentData=r.gdprConsent.consentString)),r&&r.uspConsent&&(a.user.uspIab=r.uspConsent),r&&r.ortb2?.device?.sua&&(a.user.ext=a.user.ext||{},a.user.ext.sua=r.ortb2?.device?.sua||{}),o&&(a.user.ext=a.user.ext||{},a.user.ext.eids=[...o]),r&&r.ortb2?.bcat&&(a.bcat=r.ortb2.bcat),r&&r.ortb2?.badv&&(a.badv=r.ortb2.badv),r&&r.ortb2?.bapp&&(a.bapp=r.ortb2.bapp),a}function parseSizes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return null==e?[]:Array.isArray(e[0])?e.map((e=>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_8__.Z)(e,"mediaTypes.video")}function hasBannerMediaType(e){return void 0!==(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.Z)(e,"mediaTypes.banner")}function hasNativeMediaType(e){return void 0!==(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.Z)(e,"mediaTypes.native")}function hasValidVideoMediaType(e){let t=!0;if(["mimes","playerSize","maxduration","protocols","api","skip","placement","playbackmethod"].forEach((function(r){void 0===(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.Z)(e,"mediaTypes.video."+r)&&void 0===(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.Z)(e,"params.video."+r)&&(t=!1,(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.logError)("Criteo Bid Adapter: mediaTypes.video."+r+" is required"))})),t){const t=e.mediaTypes.video.placement||e.params.video.placement;if("instream"==e.mediaTypes.video.context&&1===t)return!0;if("outstream"==e.mediaTypes.video.context&&1!==t)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((e=>e.url))}}function createNativeAd(e,t,r){var i="criteo_prebid_native_slots";return window[i]=window[i]||{},window[i][e]={callback:r,payload:t},`\n<script type="text/javascript">\nfor (var i = 0; i < 10; ++i) {\n var slots = window.parent.${i};\n if(!slots){continue;}\n var responseSlot = slots["${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{const t=parseFloat(e.params.bidFloor);return()=>({currency:e.params.bidFloorCur,floor:t})}catch{}}function enrichSlotWithFloors(e,t){try{const r={},i=pickAvailableGetFloorFunc(t);if(i){if(t.mediaTypes?.banner){r.banner={};parseSizes((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.Z)(t,"mediaTypes.banner.sizes")).forEach((e=>r.banner[parseSize(e).toString()]=i.call(t,{size:e,mediaType:_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.Mk})))}if(t.mediaTypes?.video){r.video={};parseSizes((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_8__.Z)(t,"mediaTypes.video.playerSize")).forEach((e=>r.video[parseSize(e).toString()]=i.call(t,{size:e,mediaType:_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.pX})))}t.mediaTypes?.native&&(r.native={},r.native["*"]=i.call(t,{size:"*",mediaType:_src_mediaTypes_js__WEBPACK_IMPORTED_MODULE_2__.B5})),Object.keys(r).length>0&&(e.ext||(e.ext={}),Object.assign(e.ext,{floors:r}))}}catch(e){(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.logError)("Could not parse floors from Prebid: "+e)}}function canFastBid(e){return e!==FAST_BID_VERSION_NONE}function getFastBidUrl(e){let t;if(e===FAST_BID_VERSION_LATEST)t="";else if(e){String(e).split(".")[0]<102&&(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.logWarn)("Specifying a Fastbid version which is not supporting version selection."),t="."+e}else t="."+FAST_BID_VERSION_CURRENT;return PUBLISHER_TAG_URL_TEMPLATE.replace(FAST_BID_VERSION_PLACEHOLDER,t)}function createOutstreamVideoRenderer(e){if(void 0===e.ext.videoPlayerConfig||void 0===e.ext.videoPlayerType)return;const t=_src_Renderer_js__WEBPACK_IMPORTED_MODULE_11__.Th.install({url:PUBLISHER_TAG_OUTSTREAM_SRC,config:{documentResolver:(e,t,r)=>r??t}});return t.setRender(((t,r)=>{let i={slotid:e.impid,vastUrl:e.displayurl,vastXml:e.creative,documentContext:r},s=e.ext.videoPlayerConfig;window.CriteoOutStream[e.ext.videoPlayerType].play(i,s)})),t}function getAssociatedBidRequest(e,t){for(const r of e)if(r.adUnitCode===t.impid){if(r.params.zoneId&&parseInt(r.params.zoneId)===t.zoneid)return r;if(t.native){if(r.mediaTypes?.native||r.nativeParams)return r}else if(t.video){if(r.mediaTypes?.video)return r}else if(r.mediaTypes?.banner||r.sizes)return r}}function tryGetCriteoFastBid(){try{const fastBidStorageKey="criteo_fast_bid",hashPrefix="// Hash: ",fastBidFromStorage=storage.getDataFromLocalStorage(fastBidStorageKey);if(null!==fastBidFromStorage){const firstLineEndPosition=fastBidFromStorage.indexOf("\n"),firstLine=fastBidFromStorage.substr(0,firstLineEndPosition).trim();if(firstLine.substr(0,hashPrefix.length)!==hashPrefix)(0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.logWarn)("No hash found in FastBid"),storage.removeDataFromLocalStorage(fastBidStorageKey);else{const 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_7__.logInfo)("Using Criteo FastBid"),eval(publisherTag)):((0,_src_utils_js__WEBPACK_IMPORTED_MODULE_7__.logWarn)("Invalid Criteo FastBid found"),storage.removeDataFromLocalStorage(fastBidStorageKey))}}}catch(e){}}(0,_src_adapters_bidderFactory_js__WEBPACK_IMPORTED_MODULE_12__.dX)(spec),(0,_src_prebidGlobal_js__WEBPACK_IMPORTED_MODULE_13__.z)("criteoBidAdapter")},17673:(e,t,r)=>{r.d(t,{h:()=>s});var i=r(20265);function s(e){return!e?.gdprApplies||!0===(0,i.Z)(e,"vendorData.purpose.consents.1")}},44611:(e,t)=>{var r;Object.defineProperty(t,"__esModule",{value:!0});var i=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,r="",i=this.t,s=this.DB-i*this.DB%4;if(i-- >0)for(s<this.DB&&(e=this[i]>>s)>0&&(t=!0,r=c(e));i>=0;)s<4?(e=(this[i]&(1<<s)-1)<<4-s,e|=this[--i]>>(s+=this.DB-4)):(e=this[i]>>(s-=4)&15,s<=0&&(s+=this.DB,--i)),e>0&&(t=!0),t&&(r+=c(e));return t?r:"0"},e.prototype.fromHexString=function(t){if(null!==t){this.t=0,this.s=0;for(var r=t.length,i=!1,s=0;--r>=0;){var o=d(t,r);o<0?"-"==t.charAt(r)&&(i=!0):(i=!1,0==s?this[this.t++]=o:s+4>this.DB?(this[this.t-1]|=(o&(1<<this.DB-s)-1)<<s,this[this.t++]=o>>this.DB-s):this[this.t-1]|=o<<s,(s+=4)>=this.DB&&(s-=this.DB))}0,this.clamp(),i&&e.ZERO.subTo(this,this)}},e.prototype.negate=function(){var t=s();return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.mod=function(t){var r=s();return this.abs().divRemTo(t,null,r),this.s<0&&r.compareTo(e.ZERO)>0&&t.subTo(r,r),r},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 r=e%this.DB,i=this.DB-r,s=(1<<i)-1,o=Math.floor(e/this.DB),a=this.s<<r&this.DM,_=this.t-1;_>=0;--_)t[_+o+1]=this[_]>>i|a,a=(this[_]&s)<<r;for(_=o-1;_>=0;--_)t[_]=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 r;for(r=this.t-1;r>=0;--r)t[r+e]=this[r];for(r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s},e.prototype.squareTo=function(e){for(var t=this.abs(),r=e.t=2*t.t;--r>=0;)e[r]=0;for(r=0;r<t.t-1;++r){var i=t.am(r,t[r],e,2*r,0,1);(e[r+t.t]+=t.am(r+1,2*t[r],e,2*r+1,i,t.t-r-1))>=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},e.prototype.multiplyTo=function(t,r){var i=this.abs(),s=t.abs(),o=i.t;for(r.t=o+s.t;--o>=0;)r[o]=0;for(o=0;o<s.t;++o)r[o+i.t]=i.am(0,s[o],r,o,0,i.t);r.s=0,r.clamp(),this.s!=t.s&&e.ZERO.subTo(r,r)},e.prototype.divRemTo=function(t,r,i){var a=t.abs();if(!(a.t<=0)){var _=this.abs();if(_.t<a.t)return null!=r&&r.fromHexString("0"),void(null!=i&&this.copyTo(i));null==i&&(i=s());var n=s(),d=this.s,p=t.s,c=this.DB-o(a[a.t-1]);c>0?(a.lShiftTo(c,n),_.lShiftTo(c,i)):(a.copyTo(n),_.copyTo(i));var l=n.t,u=n[l-1];if(0!=u){var E=u*(1<<this.F1)+(l>1?n[l-2]>>this.F2:0),h=this.FV/E,m=(1<<this.F1)/E,f=1<<this.F2,T=i.t,v=T-l,g=null==r?s():r;for(n.dlShiftTo(v,g),i.compareTo(g)>=0&&(i[i.t++]=1,i.subTo(g,i)),e.ONE.dlShiftTo(l,g),g.subTo(n,n);n.t<l;)n[n.t++]=0;for(;--v>=0;){var O=i[--T]==u?this.DM:Math.floor(i[T]*h+(i[T-1]+f)*m);if((i[T]+=n.am(0,O,i,v,0,l))<O)for(n.dlShiftTo(v,g),i.subTo(g,i);i[T]<--O;)i.subTo(g,i)}null!=r&&(i.drShiftTo(l,r),d!=p&&e.ZERO.subTo(r,r)),i.t=l,i.clamp(),c>0&&i.rShiftTo(c,i),d<0&&e.ZERO.subTo(i,i)}}},e.prototype.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)t.t=0;else{var i=e%this.DB,s=this.DB-i,o=(1<<i)-1;t[0]=this[r]>>i;for(var a=r+1;a<this.t;++a)t[a-r-1]|=(this[a]&o)<<s,t[a-r]=this[a]>>i;i>0&&(t[this.t-r-1]|=(this.s&o)<<s),t.t=this.t-r,t.clamp()}},e.prototype.drShiftTo=function(e,t){for(var r=e;r<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s},e.prototype.subTo=function(e,t){for(var r=0,i=0,s=Math.min(e.t,this.t);r<s;)i+=this[r]-e[r],t[r++]=i&this.DM,i>>=this.DB;if(e.t<this.t){for(i-=e.s;r<this.t;)i+=this[r],t[r++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;r<e.t;)i-=e[r],t[r++]=i&this.DM,i>>=this.DB;i-=e.s}t.s=i<0?-1:0,i<-1?t[r++]=this.DV+i:i>0&&(t[r++]=i),t.t=r,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 r;return r=e<256||t.isEven()?new l(t):new u(t),this.exp(e,r)},e.prototype.exp=function(t,r){if(t>4294967295||t<1)return e.ONE;var i=s(),a=s(),_=r.convert(this),n=o(t)-1;for(_.copyTo(i);--n>=0;)if(r.sqrTo(i,a),(t&1<<n)>0)r.mulTo(a,_,i);else{var d=i;i=a,a=d}return r.revert(i)},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 r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this[r]-e[r]))return t;return 0},e.prototype.am1=function(e,t,r,i,s,o){for(;--o>=0;){var a=t*this[e++]+r[i]+s;s=Math.floor(a/67108864),r[i++]=67108863&a}return s},e.prototype.am2=function(e,t,r,i,s,o){for(var a=32767&t,_=t>>15;--o>=0;){var n=32767&this[e],d=this[e++]>>15,p=_*n+d*a;s=((n=a*n+((32767&p)<<15)+r[i]+(1073741823&s))>>>30)+(p>>>15)+_*d+(s>>>30),r[i++]=1073741823&n}return s},e.prototype.am3=function(e,t,r,i,s,o){for(var a=16383&t,_=t>>14;--o>=0;){var n=16383&this[e],d=this[e++]>>14,p=_*n+d*a;s=((n=a*n+((16383&p)<<14)+r[i]+s)>>28)+(p>>14)+_*d,r[i++]=268435455&n}return s},e}();function s(){return new i(null)}function o(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}t.BigInteger=i,t.nbi=s,t.nbits=o;var a,_,n=[];for(a="0".charCodeAt(0),_=0;_<=9;++_)n[a++]=_;for(a="a".charCodeAt(0),_=10;_<36;++_)n[a++]=_;for(a="A".charCodeAt(0),_=10;_<36;++_)n[a++]=_;function d(e,t){var r=n[e.charCodeAt(t)];return null==r?-1:r}t.intAt=d;var p="0123456789abcdefghijklmnopqrstuvwxyz";function c(e){return p.charAt(e)}t.int2char=c;t.b64toHex=function(e){var t,r="",i=0,s=0;for(t=0;t<e.length&&"="!=e.charAt(t);++t){var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e.charAt(t));o<0||(0==i?(r+=c(o>>2),s=3&o,i=1):1==i?(r+=c(s<<2|o>>4),s=15&o,i=2):2==i?(r+=c(s),r+=c(o>>2),s=3&o,i=3):(r+=c(s<<2|o>>4),r+=c(15&o),i=0))}return 1==i&&(r+=c(s<<2)),r},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,r){e.multiplyTo(t,r),this.reduce(r)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),u=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=s();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(i.ZERO)>0&&this.m.subTo(t,t),t},e.prototype.revert=function(e){var t=s();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 r=32767&e[t],i=r*this.mpl+((r*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[r=t+this.m.t]+=this.m.am(0,i,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}();function E(e){var t=s();return t.fromHexString(e.toString()),t}t.nbv=E,i.ZERO=E(0),i.ONE=E(1),"Microsoft Internet Explorer"==navigator.appName?(i.prototype.am=i.prototype.am2,r=30):"Netscape"!=navigator.appName?(i.prototype.am=i.prototype.am1,r=26):(i.prototype.am=i.prototype.am3,r=28),i.prototype.DB=r,i.prototype.DM=(1<<r)-1,i.prototype.DV=1<<r;i.prototype.FV=Math.pow(2,52),i.prototype.F1=52-r,i.prototype.F2=2*r-52},94950:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.hash=function(t){t=e.utf8Encode(t||"");for(var r=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],i=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],s=(t+=String.fromCharCode(128)).length/4+2,o=Math.ceil(s/16),a=new Array(o),_=0;_<o;_++){a[_]=new Array(16);for(var n=0;n<16;n++)a[_][n]=t.charCodeAt(64*_+4*n)<<24|t.charCodeAt(64*_+4*n+1)<<16|t.charCodeAt(64*_+4*n+2)<<8|t.charCodeAt(64*_+4*n+3)<<0}var d=8*(t.length-1)/Math.pow(2,32),p=8*(t.length-1)>>>0;a[o-1][14]=Math.floor(d),a[o-1][15]=p;for(_=0;_<o;_++){for(var c=new Array(64),l=0;l<16;l++)c[l]=a[_][l];for(l=16;l<64;l++)c[l]=e.q1(c[l-2])+c[l-7]+e.q0(c[l-15])+c[l-16]>>>0;var u=i[0],E=i[1],h=i[2],m=i[3],f=i[4],T=i[5],v=i[6],g=i[7];for(l=0;l<64;l++){var O=g+e.z1(f)+e.Ch(f,T,v)+r[l]+c[l],b=e.z0(u)+e.Maj(u,E,h);g=v,v=T,T=f,f=m+O>>>0,m=h,h=E,E=u,u=O+b>>>0}i[0]=i[0]+u>>>0,i[1]=i[1]+E>>>0,i[2]=i[2]+h>>>0,i[3]=i[3]+m>>>0,i[4]=i[4]+f>>>0,i[5]=i[5]+T>>>0,i[6]=i[6]+v>>>0,i[7]=i[7]+g>>>0}var D=new Array(i.length);for(g=0;g<i.length;g++)D[g]=("00000000"+i[g].toString(16)).slice(-8);return D.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,r){return e&t^~e&r},e.Maj=function(e,t,r){return e&t^e&r^t&r},e}();t.Sha256=r},1582:(e,t,r)=>{var i=r(44611),s=r(94950);t.T=function(e,t,r,o){var a=new i.BigInteger(i.b64toHex(t)),_=new i.BigInteger(i.b64toHex(r)),n=a.modPowInt(o,_);return i.removeExtraSymbols(n.toHexString())===s.Sha256.hash(e)}}},e=>{e.O(0,[38409],(()=>{return t=60241,e(e.s=t);var t}));e.O()}]);(self.stpdChunk=self.stpdChunk||[]).push([[98773],{10067:(e,t,i)=>{var r=i(78640),n=i(64358),s=i(20265),a=i(95590),d=i(24679),o=i(14699),c=i(34614),u=i(70059),p=i(3193);const l=["prebid-eu","prebid-us","prebid-asia"],T=["USD"],g=[d.Mk,d.B5],m={NATIVE:{IMAGE_TYPE:{ICON:1,MAIN:3},ASSET_ID:{TITLE:1,IMAGE:2,ICON:3,BODY:4,SPONSORED:5,CTA:6},DATA_ASSET_TYPE:{SPONSORED:1,DESC:2,CTA_TEXT:12}}},E={code:"rtbhouse",supportedMediaTypes:g,gvlid:16,isBidRequestValid:function(e){return!(!(0,c.q9)(l,e.params.region)||!e.params.publisherId)},buildRequests:function(e,t){e=(0,u.lY)(e);const i={id:t.bidderRequestId,imp:e.map((e=>function(e,t){const i={id:e.bidId,banner:A(e),native:h(e),tagid:e.adUnitCode.toString()},r=function(e){const t=[];"function"==typeof e.getFloor&&Object.keys(e.mediaTypes).forEach((i=>{(0,c.q9)(g,i)&&t.push(e.getFloor({currency:T[0],mediaType:i,size:e.sizes||"*"}).floor)}));return t.length>0?Math.max(...t):parseFloat(e.params.bidfloor)}(e);r&&(i.bidfloor=r);t.fledgeEnabled?(i.ext=i.ext||{},i.ext.ae=e?.ortb2Imp?.ext?.ae):i.ext?.ae&&delete i.ext.ae;const n=(0,s.Z)(e,"ortb2Imp.ext.tid");n&&(i.ext=i.ext||{},i.ext.tid=n);return i}(e,t))),site:f(e,t),cur:T,test:e[0].params.test||0,source:I(e[0],t)};if(t&&t.gdprConsent&&t.gdprConsent.gdprApplies){const e=t.gdprConsent.consentString?t.gdprConsent.consentString.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""):"",r=t.gdprConsent.gdprApplies?1:0;i.regs={ext:{gdpr:r}},i.user={ext:{consent:e}}}if(e[0].schain){const t=function(e){if(!e)return null;if(!function(e){if(!e.nodes)return!1;const t=["asi","sid","hp"];return e.nodes.every((e=>t.every((t=>e[t]))))}(e))return(0,n.logError)("RTB House: required schain params missing"),null;return e}(e[0].schain);t&&(i.ext={schain:t})}if(e[0].userIdAsEids){const t={eids:e[0].userIdAsEids};i.user&&i.user.ext?i.user.ext={...i.user.ext,...t}:i.user={ext:t}}const r=t?.ortb2||{};["site","user","device","bcat","badv"].forEach((e=>{const t=r[e];t&&(0,n.mergeDeep)(i,{[e]:t})}));let a="creativecdn.com/bidder/prebid/bids";if(t.fledgeEnabled){const e=p.config.getConfig("fledgeConfig")||{seller:"https://fledge-ssp.creativecdn.com",decisionLogicUrl:"https://fledge-ssp.creativecdn.com/component-seller-prebid.js",sellerTimeout:500};(0,n.mergeDeep)(i,{ext:{fledge_config:e}}),a="creativecdn.com/bidder/prebidfledge/bids"}return{method:"POST",url:"https://"+e[0].params.region+"."+a,data:JSON.stringify(i)}},interpretOrtbResponse:function(e,t){const i=e.body;if(!(0,n.isArray)(i))return[];const r=[];return i.forEach((e=>{if(!e.price)return;let t;t=0===e.adm.indexOf("{")?function(e){return{requestId:e.impid,mediaType:d.B5,cpm:e.price,creativeId:e.adid,width:1,height:1,ttl:55,meta:{advertiserDomains:e.adomain},netRevenue:!0,currency:"USD",native:y(e.adm)}}(e):function(e){return{requestId:e.impid,mediaType:d.Mk,cpm:e.price,creativeId:e.adid,ad:e.adm,width:e.w,height:e.h,ttl:55,meta:{advertiserDomains:e.adomain},netRevenue:!0,currency:"USD"}}(e),e.ext&&(t.ext=e.ext),r.push(t)})),r},interpretResponse:function(e,t){let i;const r=e.body;let s=null;if(r.bidid&&(0,n.isArray)(r?.ext?.igbid)){i=this.interpretOrtbResponse({body:r.seatbid[0]?.bid},t);const e=r.ext.seller,a=r.ext.decisionLogicUrl,d="sellerTimeout"in r.ext?{sellerTimeout:r.ext.sellerTimeout}:{};r.ext.igbid.forEach((t=>{const i={};t.igbuyer.forEach((e=>{i[e.igdomain]=e.buyersignal})),s=s||{},s[t.impid]=(0,n.mergeDeep)({seller:e,decisionLogicUrl:a,interestGroupBuyers:Object.keys(i),perBuyerSignals:i},d)}))}else i=this.interpretOrtbResponse(e,t);return s?(s=Object.entries(s).map((e=>{let[t,i]=e;return{bidId:t,config:Object.assign({auctionSignals:{}},i)}})),(0,n.logInfo)("Response with FLEDGE:",{bids:i,fledgeAuctionConfigs:s}),{bids:i,fledgeAuctionConfigs:s}):i}};function A(e){if("banner"===e.mediaType||(0,s.Z)(e,"mediaTypes.banner")||!e.mediaType&&!e.mediaTypes){var t=e.sizes||e.mediaTypes.banner.sizes;return{w:t[0][0],h:t[0][1],format:t.map((e=>({w:e[0],h:e[1]})))}}}function f(e,t){let i="unknown",r=null;e&&e.length>0&&(i=e[0].params.publisherId,r=e[0].params.channel&&e[0].params.channel.toString().slice(0,50));let n={publisher:{id:i.toString()},page:t.refererInfo.page,name:(0,a.P)()};return r&&(n.channel=r),n}function I(e,t){return{tid:t?.auctionId||""}}function h(e){if("native"===e.mediaType||(0,s.Z)(e,"mediaTypes.native"))return{request:{assets:b(e)},ver:"1.1"}}function b(e){const t=e.nativeParams||(0,s.Z)(e,"mediaTypes.native"),i=[];return t.title&&i.push({id:m.NATIVE.ASSET_ID.TITLE,required:t.title.required?1:0,title:{len:t.title.len||25}}),t.image&&i.push({id:m.NATIVE.ASSET_ID.IMAGE,required:t.image.required?1:0,img:S(t.image,m.NATIVE.IMAGE_TYPE.MAIN)}),t.icon&&i.push({id:m.NATIVE.ASSET_ID.ICON,required:t.icon.required?1:0,img:S(t.icon,m.NATIVE.IMAGE_TYPE.ICON)}),t.sponsoredBy&&i.push({id:m.NATIVE.ASSET_ID.SPONSORED,required:t.sponsoredBy.required?1:0,data:{type:m.NATIVE.DATA_ASSET_TYPE.SPONSORED,len:t.sponsoredBy.len}}),t.body&&i.push({id:m.NATIVE.ASSET_ID.BODY,required:t.body.request?1:0,data:{type:m.NATIVE.DATA_ASSET_TYPE.DESC,len:t.body.len}}),t.cta&&i.push({id:m.NATIVE.ASSET_ID.CTA,required:t.cta.required?1:0,data:{type:m.NATIVE.DATA_ASSET_TYPE.CTA_TEXT,len:t.cta.len}}),i}function S(e,t){const i={type:t};if(e.aspect_ratios){const t=e.aspect_ratios[0],r=t.min_width||100;i.wmin=r,i.hmin=r/t.ratio_width*t.ratio_height}if(e.sizes){const t=Array.isArray(e.sizes[0])?e.sizes[0]:e.sizes;i.w=t[0],i.h=t[1]}return i}function y(e){const t=JSON.parse(e).native,i={clickUrl:encodeURI(t.link.url),impressionTrackers:t.imptrackers};return t.assets.forEach((e=>{switch(e.id){case m.NATIVE.ASSET_ID.TITLE:i.title=e.title.text;break;case m.NATIVE.ASSET_ID.IMAGE:i.image={url:encodeURI(e.img.url),width:e.img.w,height:e.img.h};break;case m.NATIVE.ASSET_ID.ICON:i.icon={url:encodeURI(e.img.url),width:e.img.w,height:e.img.h};break;case m.NATIVE.ASSET_ID.BODY:i.body=e.data.value;break;case m.NATIVE.ASSET_ID.SPONSORED:i.sponsoredBy=e.data.value;break;case m.NATIVE.ASSET_ID.CTA:i.cta=e.data.value}})),i}(0,o.dX)(E),(0,r.z)("rtbhouseBidAdapter")}},e=>{e.O(0,[2355,38409],(()=>{return t=10067,e(e.s=t);var t}));e.O()}]);(self.stpdChunk=self.stpdChunk||[]).push([[91630],{13507:(e,r,i)=>{var s=i(78640),t=i(64358),n=i(20265),o=i(96475),d=i(14699),a=i(3193),u=i(24679),p=i(48928);const c={PREBID_SERVER:{id:"id",keyv:"keyv"}};var l={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"};(0,t._each)(l,((e,r)=>l[e]=r));const x={code:"luponmedia",supportedMediaTypes:[u.Mk],isBidRequestValid:function(e){return!!(e.params&&e.params.siteId&&e.params.keyId)},buildRequests:function(e,r){const i={method:"POST",url:"https://rtb.adxpremium.services/openrtb2/auction",data:null,options:{},bidderRequest:r};let s=[];for(let t=0,n=e.length;t<n;t++){let n=f(e[t],r,s);s=n.imp,i.data=JSON.stringify(n)}return i},interpretResponse:(e,r)=>{const i=[];var s="USD";let n=JSON.parse(r.data),o=n.site&&n.site.ref?n.site.ref:"";try{e.body&&e.body.seatbid&&(0,t.isArray)(e.body.seatbid)&&(s=e.body.cur||s,e.body.seatbid.forEach((e=>{e.bid&&(0,t.isArray)(e.bid)&&e.bid.forEach((e=>{let r={requestId:e.impid,cpm:(parseFloat(e.price)||0).toFixed(2),width:e.w,height:e.h,creativeId:e.crid||e.id,dealId:e.dealid,currency:s,netRevenue:!1,ttl:300,referrer:o,ad:e.adm};i.push(r)}))})))}catch(e){(0,t.logError)(e)}return i},getUserSyncs:function(e,r,i,s){let n=[];return g||!e.iframeEnabled&&!e.pixelEnabled?(0,t.logWarn)("Luponmedia: Please enable iframe/pixel based user sync."):r.forEach((r=>{if(r.body&&r.body.ext&&r.body.ext.usersyncs)try{let i=r.body.ext.usersyncs.bidder_status;for(let r in i){let s=i[r];if(s.no_cookie){let r=s.usersync.url,i=s.usersync.type;r?"image"!==i&&"redirect"!==i||!e.pixelEnabled?"iframe"==i&&e.iframeEnabled?((0,t.logMessage)("Invoking iframe user sync for luponmedia"),n.push({type:"iframe",url:r})):(0,t.logError)(`User sync type "${i}" not supported for luponmedia`):((0,t.logMessage)("Invoking image pixel user sync for luponmedia"),n.push({type:"image",url:r})):(0,t.logError)("No sync url for bidder luponmedia.")}}}catch(e){(0,t.logError)(e)}})),g=!0,n},onBidWon:e=>{const r=JSON.stringify(e);x.sendWinningsToServer(r)},sendWinningsToServer:e=>{let r=`mutation {createWin(input: {win: {eventData: "${window.btoa(e)}"}}) {win {createTime } } }`,i=JSON.stringify({query:r});(0,p.hj)("https://analytics.adxpremium.services/graphql",null,i,{contentType:"application/json",method:"POST"})}};var g=!1;function f(e,r,i){e.startTime=(new Date).getTime();const s=(0,n.Z)(e,"mediaTypes.banner");let d=[];if(s&&s.sizes){d=(0,t.parseSizesInput)(s.sizes).map((e=>{const[r,i]=e.split("x");return{w:parseInt(r,10),h:parseInt(i,10)}}))}const u={id:r.bidderRequestId,test:a.config.getConfig("debug")?1:0,source:{tid:r.ortb2?.source?.tid},tmax:r.timeout,imp:i.concat([{id:e.bidId,secure:1,ext:{[e.bidder]:e.params},banner:{format:d}}]),ext:{prebid:{targeting:{includewinners:!0,includebidderkeys:!1}}},user:{}};let p;if((0,t.isFn)(e.getFloor)&&!a.config.getConfig("disableFloors")){let r;try{r=e.getFloor({currency:"USD",mediaType:"video",size:m(e,"video")})}catch(e){(0,t.logError)("LuponMedia: getFloor threw an error: ",e)}p="object"!=typeof r||"USD"!==r.currency||isNaN(parseInt(r.floor))?void 0:parseFloat(r.floor)}else p=parseFloat((0,n.Z)(e,"params.floor"));isNaN(p)||(u.imp[0].bidfloor=p),function(e,r,i){if(!e)return;"object"==typeof a.config.getConfig("app")?e.app=a.config.getConfig("app"):e.site={page:y(r,i)};"object"==typeof a.config.getConfig("device")&&(e.device=a.config.getConfig("device"))}(u,e,r);const l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(!r||!c[r])return null;const i=c[r];function s(){const r=(0,n.Z)(e,"userId.digitrustid.data");if(r)return r;let i=window.DigiTrust&&(a.config.getConfig("digiTrustId")||window.DigiTrust.getUser({member:"T9QSFKPDN9"}));return i&&i.success&&i.identity||null}let t=s();if(!t||t.privacy&&t.privacy.optout)return null;const o={[i.id]:t.id,[i.keyv]:t.keyv};i.pref&&(o[i.pref]=0);return o}(e,"PREBID_SERVER");if(l&&(0,o.N)(u,"user.ext.digitrust",l),r.gdprConsent){let e;"boolean"==typeof r.gdprConsent.gdprApplies&&(e=r.gdprConsent.gdprApplies?1:0),(0,o.N)(u,"regs.ext.gdpr",e),(0,o.N)(u,"user.ext.consent",r.gdprConsent.consentString)}r.uspConsent&&(0,o.N)(u,"regs.ext.us_privacy",r.uspConsent),(0,o.N)(u,"user.id",(0,t.generateUUID)()),e.crumbs&&e.crumbs.pubcid?(0,o.N)(u,"user.buyeruid",e.crumbs.pubcid):(0,o.N)(u,"user.buyeruid",(0,t.generateUUID)()),e.userId&&"object"==typeof e.userId&&(e.userId.tdid||e.userId.pubcid||e.userId.lipb||e.userId.idl_env)&&((0,o.N)(u,"user.ext.eids",[]),e.userId.tdid&&u.user.ext.eids.push({source:"adserver.org",uids:[{id:e.userId.tdid,ext:{rtiPartner:"TDID"}}]}),e.userId.pubcid&&u.user.ext.eids.push({source:"pubcommon",uids:[{id:e.userId.pubcid}]}),e.userId.lipb&&e.userId.lipb.lipbid&&(u.user.ext.eids.push({source:"liveintent.com",uids:[{id:e.userId.lipb.lipbid}]}),u.user.ext.tpid={source:"liveintent.com",uid:e.userId.lipb.lipbid},Array.isArray(e.userId.lipb.segments)&&e.userId.lipb.segments.length&&(0,o.N)(u,"rp.target.LIseg",e.userId.lipb.segments)),e.userId.idl_env&&u.user.ext.eids.push({source:"liveramp.com",uids:[{id:e.userId.idl_env}]})),!0===a.config.getConfig("coppa")&&(0,o.N)(u,"regs.coppa",1),e.schain&&function(e){let r=!1;const i=["asi","sid","hp"];return e.nodes?(r=e.nodes.reduce(((e,r)=>e?i.every((e=>r[e])):e),!0),r||(0,t.logError)("LuponMedia: required schain params missing"),r):r}(e.schain)&&(0,o.N)(u,"source.ext.schain",e.schain);const x=Object.assign({},e.params.inventory,a.config.getConfig("fpd.context")),g=Object.assign({},e.params.visitor,a.config.getConfig("fpd.user"));if(!(0,t.isEmpty)(x)||!(0,t.isEmpty)(g)){const e={bidders:[r.bidderCode],config:{fpd:{}}};(0,t.isEmpty)(x)||(e.config.fpd.site=x),(0,t.isEmpty)(g)||(e.config.fpd.user=g),(0,o.N)(u,"ext.prebid.bidderconfig.0",e)}const f=(0,n.Z)(e,"fpd.context.pbAdSlot");return"string"==typeof f&&f&&(0,o.N)(u.imp[0].ext,"context.data.adslot",f),u}function y(e,r){let i=r.refererInfo.page;return e.params.referrer?i=e.params.referrer:i||(i=r.refererInfo.topmostLocation),e.params.secure?i.replace(/^http:/i,"https:"):i}function b(e){return(0,t.parseSizesInput)(e).reduce(((e,r)=>{let i=parseInt(l[r],10);return i&&e.push(i),e}),[])}function m(e,r){let i=e.params;if("video"===r){let r=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?r=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,n.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}let s=[];return Array.isArray(i.sizes)?s=i.sizes:void 0!==(0,n.Z)(e,"mediaTypes.banner.sizes")?s=b(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?s=b(e.sizes):(0,t.logWarn)("LuponMedia: no sizes are setup or found"),function(e){const r=[15,2,9];return e.sort(((e,i)=>{const s=r.indexOf(e),t=r.indexOf(i);return s>-1||t>-1?-1===s?1:-1===t?-1:s-t:e-i}))}(s)}(0,d.dX)(x),(0,s.z)("luponmediaBidAdapter")}},e=>{e.O(0,[38409],(()=>{return r=13507,e(e.s=r);var r}));e.O()}]);(self.stpdChunk=self.stpdChunk||[]).push([[55301],{24041:(e,t,n)=>{var r=n(78640),i=n(14699),s=n(24679),a=n(64358),o=n(20265),d=n(3193);const u=(0,n(15164).df)({bidderCode:"amx"}),l=/\.com?\.\w{2,4}$/,p=/^\s*<\??(?:vast|xml)/i,c="__amuidpb";const m=(e,t)=>e.concat((0,o.Z)(t,`${s.Mk}.sizes`,[])||[]).concat((0,o.Z)(t,`${s.pX}.sizes`,[])||[]).sort(((e,t)=>t[0]*t[1]-e[0]*e[1]))[0];function f(e,t){return null==e?[]:e.map(t).reduce(((e,t)=>null!=t&&e.concat(t)),[])}function g(e){return null!=(t=e.adm)&&p.test(t)?s.pX:s.Mk;var t}const h=(e,t)=>null==e||typeof e===t;function b(e){const t=e.hostname.split("."),n=t.slice(t.length-(l.test(e.hostname)?3:2)).join(".");return btoa(n).replace(/=+$/,"")}const y=encodeURIComponent;function I(){try{return u.getDataFromLocalStorage(c)}catch(e){return null}}function C(e){const t=[];return Object.keys(e||{}).forEach((n=>{t.push(y(n)+"="+y(String(e[n])))})),y(t.join("&"))}function S(e){const t={};return(0,a._each)(e,(e=>{t[e.bidId]=function(e){const t=m(e.sizes,e.mediaTypes)||[0,0],n=e.mediaType===s.pX||s.pX in e.mediaTypes,r=n||t[1]>100,i=(0,o.Z)(e,"params.tagId"),a=null!=e.params&&"string"==typeof e.params.adUnitId&&""!==e.params.adUnitId?e.params.adUnitId:e.adUnitCode,d=[e.sizes,(0,o.Z)(e,`mediaTypes.${s.Mk}.sizes`,[])||[],(0,o.Z)(e,`mediaTypes.${s.pX}.sizes`,[])||[]],u=(0,o.Z)(e,`mediaTypes.${s.pX}`,{})||{},l={au:a,av:r,vd:u,vr:n,ms:d,aw:t[0],ah:t[1],tf:0,sc:e.schain||{},f:T(U(e)),rtb:e.ortb2Imp};"string"==typeof i&&i.length>0&&(l.i=i);return l}(e)})),t}const v=(e,t)=>(0,a.triggerPixel)(`https://1x1.a-mo.net/hbx/g_${e}?${(0,a.formatQS)({...t,ts:Date.now(),eid:(0,a.getUniqueIdentifierStr)()})}`),w=0;function T(e){return"number"==typeof e&&isFinite(e)&&e>0?e:w}function U(e){if(!(0,a.isFn)(e.getFloor))return(0,o.Z)(e,"params.floor",w);try{return e.getFloor({currency:"USD",mediaType:"*",size:"*",bidRequest:e}).floor}catch(e){return(0,a.logError)("call to getFloor failed: ",e),w}}function Z(e,t,n){return(0,o.Z)(e,"refererInfo."+t,n)}function x(e,t){if(null==e)return!1;const n=e[t];return null!=n&&(!!("*"===n.bidders||(0,a.isArray)(n.bidders)&&-1!==n.bidders.indexOf("amx"))&&(null==n.filter||"include"===n.filter))}function k(){const e=d.config.getConfig("userSync");if(null==e)return{d:0,l:0,t:0,e:!0};const t={d:e.syncDelay,l:e.syncsPerBidder,t:0,e:e.syncEnabled};return x(e.filterSettings,"all")?(t.t=0,t):(x(e.filterSettings,"iframe")&&(t.t|=2),x(e.filterSettings,"image")&&(t.t|=1),t)}function q(e){return null!=e?.gppConsent?e.gppConsent:e?.ortb2?.regs?.gpp??{gppString:"",applicableSections:""}}function _(e){if(null==e.refererInfo)return{r:"",t:!1,c:"",l:0,s:[]};const t=e.refererInfo;return{r:t.topmostLocation,t:t.reachedTop,l:t.numIframes,s:t.stack,c:t.canonicalUrl}}const O={code:"amx",gvlid:737,supportedMediaTypes:[s.Mk,s.pX],isBidRequestValid:e=>h((0,o.Z)(e,"params.endpoint",null),"string")&&h((0,o.Z)(e,"params.tagId",null),"string"),buildRequests(e,t){const n=(r=t,(0,a.parseUrl)(r.refererInfo?.topmostLocation||window.location.href));var r;const i=(0,o.Z)(e[0],"params.tagId",null),s=(0,o.Z)(e[0],"params.testMode",0),u=null!=e[0]?e[0]:{bidderRequestsCount:0,bidderWinsCount:0,bidRequestsCount:0};var l,p;return{data:{a:(0,a.generateUUID)(),B:0,b:n.host,brc:u.bidderRequestsCount||0,bwc:u.bidderWinsCount||0,trc:u.bidRequestsCount||0,tm:(p=s,!0===p||1===p||"true"===p),V:"8.27.0",vg:"stpd",i:s&&null!=i?i:b(n),l:{},f:.01,cv:"pba1.3.3",st:"prebid",h:screen.height,w:screen.width,gs:(0,o.Z)(t,"gdprConsent.gdprApplies",""),gc:(0,o.Z)(t,"gdprConsent.consentString",""),gpp:q(t),u:Z(t,"page",n.href),do:Z(t,"site",n.hostname),re:Z(t,"ref"),am:I(),usp:t.uspConsent||"1---",smt:1,d:"",m:S(e),cpp:d.config.getConfig("coppa")?1:0,fpd2:t.ortb2,tmax:t.timeout,amp:Z(t,"isAmp",null),ri:_(t),sync:k(),eids:(l=e.reduce(((e,t)=>(null==t||null==t.userIdAsEids||(0,a._each)(t.userIdAsEids,(t=>{null!=t&&(e[t.source]=t)})),e)),{}),null!=Object.values?Object.values(l):Object.keys(l).map((e=>l[e])))},method:"POST",url:(0,o.Z)(e[0],"params.endpoint","https://prebid.a-mo.net/a/c"),withCredentials:!0}},getUserSyncs(e,t,n,r,i){const s={gdpr_consent:y(n?.consentString||""),gdpr:y(n?.gdprApplies?1:0),us_privacy:y(r||""),gpp:y(i?.gppString||""),gpp_sid:y(i?.applicableSections||"")},o={url:`https://prebid.a-mo.net/isyn?${(0,a.formatQS)(s)}`,type:"iframe"};if(null==t||0===t.length)return e.iframeEnabled?[o]:[];const d=[];let u=!1;return(0,a._each)(t,(function(t){let{body:n}=t;null!=n&&null!=n.p&&n.p.hreq&&(0,a._each)(n.p.hreq,(function(t){const n=-1!==t.indexOf("__st=iframe")?"iframe":"image";(e.iframeEnabled||"image"===n)&&(u=u||"iframe"===n||-1!==t.indexOf("cchain"),d.push({url:t,type:n}))}))})),!u&&d.length<2&&d.push(o),d},interpretResponse(e,t){const n=e.body;return null==n||"string"==typeof n?[]:(n.am&&"string"==typeof n.am&&function(e){try{u.setDataInLocalStorage(c,e)}catch(e){}}(n.am),f(Object.keys(n.r),(e=>f(n.r[e],(n=>n.b.map((n=>{const r=g(n),i=n.adm;if(null==i)return null;const a=function(e,t,n){if(null!=e.w&&e.w>1&&null!=e.h&&e.h>1)return[e.w,e.h];const r=t.m[n];return null==r?[0,0]:[r.aw,r.ah]}(n,t.data,e),o=r===s.Mk?240:300;return{requestId:e,cpm:n.price,width:a[0],height:a[1],creativeId:n.crid,currency:"USD",netRevenue:!0,[r===s.pX?"vastXml":"ad"]:i,meta:{advertiserDomains:n.adomain,mediaType:r},mediaType:r,ttl:"number"==typeof n.exp?n.exp:o}})))).filter((e=>null!=e)))))},onSetTargeting(e){null!=e&&v("pbst",{A:e.bidder,w:e.width,h:e.height,bid:e.adId,c1:e.mediaType,np:e.cpm,aud:e.requestId,a:e.adUnitCode,c2:C(e.adserverTargeting)})},onTimeout(e){null!=e&&v("pbto",{A:e.bidder,bid:e.bidId,a:e.adUnitCode,cn:e.timeout})},onBidWon(e){null!=e&&v("pbwin",{A:e.bidder,w:e.width,h:e.height,bid:e.adId,C:e.mediaType===s.Mk?0:1,np:e.cpm,a:e.adUnitCode})}};(0,i.dX)(O),(0,r.z)("amxBidAdapter")}},e=>{e.O(0,[38409],(()=>{return t=24041,e(e.s=t);var t}));e.O()}]);(self.stpdChunk=self.stpdChunk||[]).push([[65030],{7497:(e,t,s)=>{var n=s(78640),r=s(48525),i=s(64358),o=s(20265),d=s(5644),a=s(86104),c=s(3193),u=s(14699),p=s(52021),b=s(34614);const l={appnexuspsp:{adapter:"prebidServer",enabled:!0,endpoint:{p1Consent:"https://ib.adnxs.com/openrtb2/prebid",noP1Consent:"https://ib.adnxs-simple.com/openrtb2/prebid"},syncEndpoint:{p1Consent:"https://prebid.adnxs.com/pbs/v1/cookie_sync",noP1Consent:"https://prebid.adnxs-simple.com/pbs/v1/cookie_sync"},timeout:1e3},rubicon:{adapter:"prebidServer",enabled:!0,endpoint:{p1Consent:"https://prebid-server.rubiconproject.com/openrtb2/auction",noP1Consent:"https://prebid-server.rubiconproject.com/openrtb2/auction"},syncEndpoint:{p1Consent:"https://prebid-server.rubiconproject.com/cookie_sync",noP1Consent:"https://prebid-server.rubiconproject.com/cookie_sync"},timeout:500},openx:{adapter:"prebidServer",enabled:!0,endpoint:{p1Consent:"https://prebid.openx.net/openrtb2/auction",noP1Consent:"https://prebid.openx.net/openrtb2/auction"},syncEndpoint:{p1Consent:"https://prebid.openx.net/cookie_sync",noP1Consent:"https://prebid.openx.net/cookie_sync"},timeout:1e3},openwrap:{adapter:"prebidServer",enabled:!0,endpoint:{p1Consent:"https://ow.pubmatic.com/openrtb2/auction?source=pbjs",noP1Consent:"https://ow.pubmatic.com/openrtb2/auction?source=pbjs"},timeout:500}};var f=s(48928),g=s(92797),m=s(17673),h=s(24980),C=s(96475),y=s(69626),B=s(99933),v=s(39702),q=s(11021),R=s(26372),E=s(41087),S=s(10286),I=s(9633),P=s(50571),O=s(74947),x=s(99957),j=s(31136);const w=new Set(["bidderCode","bidderRequestId","uniquePbsTid","bids","timeout"]),T=(0,h.x)({processors:B.X,context:{netRevenue:!0},imp(e,t,s){Object.assign(s,t.pbsData);const n=e(t,s);if((t.bids||[]).forEach((e=>{e.ortb2Imp&&Object.keys(e.ortb2Imp).length>0&&(0,C.N)(n,`ext.prebid.imp.${e.bidder}`,e.ortb2Imp)})),Object.values(q.E).some((e=>n[e])))return n.secure=s.s2sBidRequest.s2sConfig.secure,n},request(e,t,s,n){if(t.length){let{s2sBidRequest:r,requestedBidders:o,eidPermissions:d}=n;const a=e(t,s,n);return a.tmax=r.s2sConfig.timeout,[a.app,a.dooh,a.site].forEach((e=>{e&&!e.publisher?.id&&(0,C.N)(e,"publisher.id",r.s2sConfig.accountId)})),(0,i.isArray)(d)&&d.length>0&&(o&&(0,i.isArray)(o)&&(d=d.map((e=>({...e,bidders:e.bidders.filter((e=>o.includes(e)))})))),(0,C.N)(a,"ext.prebid.data.eidpermissions",d)),n.transmitTids||(0,C.N)(a,"ext.prebid.createtids",!1),a}(0,i.logError)("Request to Prebid Server rejected due to invalid media type(s) in adUnit.")},bidResponse(e,t,s){let n=s.actualBidRequests.get(s.seatbid.seat);null==n&&(n=s.actualBidRequests.get(null)),n&&Object.assign(s,{bidRequest:n,bidderRequest:s.actualBidderRequests.find((e=>e.bidderCode===n.bidder))});const r=e(t,s);return r.requestBidder=n?.bidder,r.native?.ortb&&(r.adm=r.native.ortb),r.requestTimestamp=s.requestTimestamp,{bid:Object.assign((0,y.m)(d.Q_.Q,{src:d.os.YZ,bidId:n?n.bidId||n.bid_Id:null,transactionId:s.adUnit.transactionId,auctionId:s.bidderRequest.auctionId}),r),adUnit:s.adUnit.code}},overrides:{[R.DZ]:{id(e,t,s,n){t.id=n.impId},params(e,t,s,n){const r=n.s2sBidRequest.s2sConfig.adapterOptions;for(const e of n.actualBidRequests.values())(0,v.j)(t,e,n,n),r&&r[e.bidder]&&Object.assign(t.ext.prebid.bidder[e.bidder],r[e.bidder])},bidfloor(e,t,s,n){const r=(0,j.LT)((0,x.fe)((e=>[e.bidfloor,e.bidfloorcur])));let i;for(const t of n.actualBidRequests.values()){const s={};if(e(s,t,n),null==s.bidfloorcur||null==s.bidfloor){i=null;break}i=null==i?s:r(i,s)}null!=i&&Object.assign(t,i)}},[R.Z]:{fpd(e,t,s,n){n.transmitTids&&(0,C.N)(t,"source.tid",s.auctionId),(0,i.mergeDeep)(t,n.s2sBidRequest.ortb2Fragments?.global),n.s2sBidRequest.s2sConfig.extPrebid&&"object"==typeof n.s2sBidRequest.s2sConfig.extPrebid&&(0,C.N)(t,"ext.prebid",(0,i.mergeDeep)(t.ext?.prebid||{},n.s2sBidRequest.s2sConfig.extPrebid)),n.getRedactor().ortb2(t);const r=Object.entries(n.s2sBidRequest.ortb2Fragments?.bidder||{}).filter((e=>{let[t]=e;const s=n.s2sBidRequest.s2sConfig.bidders;return n.s2sBidRequest.s2sConfig.allowUnknownBidderCodes||s&&s.includes(t)})).map((e=>{let[t,s]=e;return{bidders:[t],config:{ortb2:n.getRedactor(t).ortb2(s)}}}));r.length&&(0,C.N)(t,"ext.prebid.bidderconfig",r)},extPrebidAliases(e,t,s,n){n.actualBidderRequests.forEach((s=>e(t,s,n)))},sourceExtSchain(e,t,s,n){let r,i=(0,o.Z)(t,"ext.prebid.schains")||[];const d=new Set(i.flatMap((e=>e.bidders)));i=Object.values(i.concat(n.actualBidderRequests.filter((e=>!d.has(e.bidderCode))).map((e=>({bidders:[e.bidderCode],schain:(0,o.Z)(e,"bids.0.schain")})))).filter((e=>{let{bidders:t,schain:s}=e;return t?.length>0&&s})).reduce(((e,t)=>{let{bidders:s,schain:n}=t;const i=JSON.stringify(n);return e.hasOwnProperty(i)||(e[i]={bidders:new Set,schain:n}),s.forEach((t=>e[i].bidders.add(t))),(null==r||e[i].bidders.size>r.bidders.size)&&(r=e[i]),e}),{})).map((e=>{let{bidders:t,schain:s}=e;return{bidders:Array.from(t),schain:s}})),null!=r&&(0,C.N)(t,"source.ext.schain",r.schain),i.length&&(0,C.N)(t,"ext.prebid.schains",i)}},[R.YC]:{serverSideStats(e,t,s,n){n.actualBidderRequests.forEach((r=>e(t,s,{...n,bidderRequest:r,bidRequests:r.bids})))},fledgeAuctionConfigs(e,t,s,n){const r=Object.values(n.impContext).flatMap((e=>(e.fledgeConfigs||[]).map((t=>{const s=e.actualBidderRequests.find((e=>e.bidderCode===t.bidder)),n=e.actualBidRequests.get(t.bidder);return{adUnitCode:e.adUnit.code,ortb2:s?.ortb2,ortb2Imp:n?.ortb2Imp,config:t.config}}))));r.length>0&&(t.fledgeAuctionConfigs=r)}}}});var N=s(99128);const k=c.config.getConfig,U=d.os.YZ;let $,A,D=0;const _={bidders:Object.freeze([]),timeout:1e3,syncTimeout:1e3,maxBids:1,adapter:"prebidServer",allowUnknownBidderCodes:!1,adapterOptions:{},syncUrlModifier:{},ortbNative:{eventtrackers:[{event:1,methods:[1,2]}]}};function Z(e){if(!e)return;const t=Array.isArray(e)?e:[e],s=[];return t.every(((t,n,r)=>{!function(e){["endpoint","syncEndpoint"].forEach((t=>{if((0,i.isStr)(e[t])){let s=e[t];e[t]={p1Consent:s,noP1Consent:s}}!(0,i.isPlainObject)(e[t])||e[t].p1Consent&&e[t].noP1Consent||["p1Consent","noP1Consent"].forEach((s=>{e[t][s]||(0,i.logWarn)(`s2sConfig.${t}.${s} not defined. PBS request will be skipped in some P1 scenarios.`)}))}))}(e);const o=function(e){if(e.defaultVendor){let t=e.defaultVendor,s=Object.keys(e);if(!l[t])return(0,i.logError)("Incorrect or unavailable prebid server default vendor option: "+t),!1;Object.keys(l[t]).forEach((n=>{_[n]!==e[n]&&(0,b.q9)(s,n)||(e[n]=l[t][n])}))}return e.enabled="boolean"==typeof e.enabled&&e.enabled}(t);if(!1!==o){const e=function(e){const t=Object.keys(e);if(["accountId","endpoint"].filter((e=>!(0,b.q9)(t,e)&&((0,i.logError)(e+" missing in server to server config"),!0))).length>0)return!1}(t);if(!1!==e)return Array.isArray(t.bidders)&&(r[n].bidders=t.bidders.filter((e=>-1===s.indexOf(e)&&(s.push(e),!0)))),!0}return(0,i.logWarn)("prebidServer: s2s config is disabled"),!1}))?$=t:void 0}function M(e,t,s,n,r){if($.length===D)return;D++;let o={};const d=k("userSync.filterSettings");if(d){const{all:e,iframe:t,image:s}=d,n=t||e,r=s||e;n&&(o=Object.assign({iframe:n},o)),r&&(o=Object.assign({image:r},o))}const a={uuid:(0,i.generateUUID)(),bidders:e,account:r.accountId,filterSettings:o};let c=r.userSyncLimit;(0,i.isNumber)(c)&&c>0&&(a.limit=c),t&&(a.gdpr=t.gdprApplies?1:0,!1!==t.gdprApplies&&(a.gdpr_consent=t.consentString)),s&&(a.us_privacy=s),n&&(a.gpp_sid=n.applicableSections.join(),a.gpp=n.gppString),"boolean"==typeof r.coopSync&&(a.coopSync=r.coopSync);const u=JSON.stringify(a);(0,f.hj)(z(r.syncEndpoint,t),(e=>{try{W((e=JSON.parse(e)).bidder_status,r)}catch(e){(0,i.logError)(e)}}),u,{contentType:"text/plain",withCredentials:!0})}function W(e,t){if(0===e.length)return;const s=e.shift();s.no_cookie?function(e,t,s,n,r){r.syncUrlModifier&&"function"==typeof r.syncUrlModifier[s]&&(t=r.syncUrlModifier[s](e,t,s));!function(e,t,s,n,r){t?"image"===e||"redirect"===e?((0,i.logMessage)(`Invoking image pixel user sync for bidder: "${s}"`),(0,i.triggerPixel)(t,n,r)):"iframe"===e?((0,i.logMessage)(`Invoking iframe user sync for bidder: "${s}"`),(0,i.insertUserSyncIframe)(t,n,r)):((0,i.logError)(`User sync type "${e}" not supported for bidder: "${s}"`),n()):((0,i.logError)(`No sync url for bidder "${s}": ${t}`),n())}(e,t,s,n,r.syncTimeout)}(s.usersync.type,s.usersync.url,s.bidder,W.bind(null,e,t),t):W(e,t)}c.config.setDefaults({s2sConfig:_}),k("s2sConfig",(e=>{let{s2sConfig:t}=e;return Z(t)}));let J={};function V(e){const t=function(e,t){if([e,t].every(i.isStr))return J[`${e}${t}`]}(e.auctionId,e.adId);var s,n;(0,i.isStr)(t)&&((0,i.logMessage)(`Invoking image pixel for wurl on BID_WIN: "${t}"`),(0,i.triggerPixel)(t),s=e.auctionId,n=e.adId,[s,n].every(i.isStr)&&(J[`${s}${n}`]=void 0))}function z(e,t){return(0,m.h)(t)?e.p1Consent:e.noP1Consent}function F(e){let t,s,n;return Array.isArray(e)&&e.length>0&&(t=e[0].gdprConsent,s=e[0].uspConsent,n=e[0].gppConsent),{gdprConsent:t,uspConsent:s,gppConsent:n}}const Y=(0,g.z3)("sync",(function(e,t,s,n){let{onResponse:r,onError:o,onBid:d,onFledge:u}=n,{gdprConsent:p}=F(t);const l=(0,i.deepClone)(e.ad_units),f=l.map((e=>e.bids.map((e=>e.bidder)).filter(i.uniques))).reduce(i.flatten,[]).filter(i.uniques),g=e.metrics.measureTime("buildRequests",(()=>function(e,t,s,n,r){const o=(0,i.timestamp)(),d=new Set,u=[],p=(0,a.O6)(e.s2sConfig),b=(()=>{const e=(0,E.hb)(p),t={};return s=>null==s?e:(t.hasOwnProperty(s)||(t[s]=(0,E.hb)((0,S.T)(I.UL,s))),t[s])})();(s=s.map((e=>b().bidRequest(e)))).forEach((e=>{const n=new Map;s.bids=e.bids.map((e=>b(e.bidder).bidRequest(e))),e.bids.forEach((s=>{null!=s.mediaTypes&&(0,i.logWarn)(`Prebid Server adapter does not (yet) support bidder-specific mediaTypes for the same adUnit. Size mapping configuration will be ignored for adUnit: ${e.code}, bidder: ${s.bidder}`),n.set(s.bidder,(0,i.getBidRequest)(s.bid_id,t))}));let r=e.code,o=1;for(;d.has(r);)o++,r=`${e.code}-${o}`;d.add(r),u.push({...e,adUnitCode:e.code,...(0,i.getDefinedParams)(n.values().next().value||{},["userId","userIdAsEids","schain"]),pbsData:{impId:r,actualBidRequests:n,adUnit:e}})}));const l={...Object.fromEntries(Object.entries(t[0]).filter((e=>{let[t]=e;return!w.has(t)}))),fledgeEnabled:t.some((e=>e.fledgeEnabled))};return T.toORTB({bidderRequest:l,bidRequests:u,context:{currency:c.config.getConfig("currency.adServerCurrency")||"USD",ttl:e.s2sConfig.defaultTtl||60,requestTimestamp:o,s2sBidRequest:e,requestedBidders:n,actualBidderRequests:t,eidPermissions:r,nativeRequest:e.s2sConfig.ortbNative,getRedactor:b,transmitTids:(0,P.xD)(O.Jt,p)}})}(e,t,l,f,A))),m=g&&JSON.stringify(g);(0,i.logInfo)("BidRequest: "+m);const h=z(e.s2sConfig.endpoint,p);if(g&&m&&h){const t=e.metrics.startTiming("net");s(h,{success:function(s){let n;t();try{n=JSON.parse(s);const{bids:t,fledgeAuctionConfigs:r}=e.metrics.measureTime("interpretResponse",(()=>function(e,t){return T.fromORTB({response:e,request:t})}(n,g)));t.forEach(d),r&&r.forEach(u)}catch(e){(0,i.logError)(e)}!n||n.status&&(0,b.q9)(n.status,"Error")?((0,i.logError)("error parsing response: ",n?n.status:"not valid JSON"),r(!1,f)):r(!0,f,n)},error:function(){t(),o.apply(this,arguments)}},m,{contentType:"text/plain",withCredentials:!0,browsingTopics:(0,P.xD)(O.oK,(0,a.O6)(e.s2sConfig))})}else(0,i.logError)("PBS request not made. Check endpoints.")}),"processPBSRequest");(0,i.getPrebidInternal)().setEidPermissions=function(e){A=e},a.ZP.registerBidAdapter(new function(){const e=new r.Z("prebidServer");return e.callBids=function(e,t,s,n,r){const b=e.metrics=(0,N.Bf)((0,o.Z)(t,"0.metrics")).newMetrics().renameWith((t=>[`adapter.s2s.${t}`,`adapters.s2s.${e.s2sConfig.defaultVendor}.${t}`]));n=b.startTiming("total").stopBefore(n),t.forEach((e=>(0,N.Bf)(e.metrics).join(b,{continuePropagation:!1})));let{gdprConsent:l,uspConsent:f,gppConsent:g}=F(t);if(Array.isArray($)){if(e.s2sConfig&&e.s2sConfig.syncEndpoint&&z(e.s2sConfig.syncEndpoint,l)){M(e.s2sConfig.bidders.map((e=>a.ZP.aliasRegistry[e]||e)).filter(((e,t,s)=>s.indexOf(e)===t)),l,f,g,e.s2sConfig)}Y(e,t,r,{onResponse:function(s,r,i){s&&t.forEach((e=>p.emit(d.EVENTS.BIDDER_DONE,e))),function(e,t){return e?.extPrebid?.returnallbidstatus&&t?.ext?.seatnonbid}(e.s2sConfig,i)&&p.emit(d.EVENTS.SEAT_NON_BID,{seatnonbid:i.ext.seatnonbid,auctionId:t[0].auctionId,requestedBidders:r,response:i,adapterMetrics:b}),n(),function(e,t,s,n){e.forEach((e=>{let r=a.ZP.getBidAdapter(e);r&&r.registerSyncs&&c.config.runWithBidder(e,r.registerSyncs.bind(r,[],t,s,n))}))}(r,l,f,g)},onError(e,s){(0,i.logError)(`Prebid server call failed: '${e}'`,s),t.forEach((e=>p.emit(d.EVENTS.BIDDER_ERROR,{error:s,bidderRequest:e}))),n()},onBid:function(t){let{adUnit:n,bid:r}=t;const o=r.metrics=e.metrics.fork().renameWith();var a,c,p;o.checkpoint("addBidResponse"),null!=r.requestId&&null!=r.requestBidder||e.s2sConfig.allowUnknownBidderCodes?o.measureTime("addBidResponse.validate",(()=>(0,u.JY)(n,r)))?(s(n,r),r.pbsWurl&&(a=r.auctionId,c=r.adId,p=r.pbsWurl,[a,c].every(i.isStr)&&(J[`${a}${c}`]=p))):s.reject(n,r,d.Gw.UI):((0,i.logWarn)(`PBS adapter received bid from unknown bidder (${r.bidder}), but 's2sConfig.allowUnknownBidderCodes' is not set. Ignoring bid.`),s.reject(n,r,d.Gw.Dg))},onFledge:e=>{(0,u.BF)({auctionId:t[0].auctionId,...e},e.config)}})}},p.on(d.EVENTS.BID_WON,V),Object.assign(this,{callBids:e.callBids,setBidderCode:e.setBidderCode,type:U})},"prebidServer"),(0,n.z)("prebidServerBidAdapter")},26372:(e,t,s)=>{s.d(t,{DZ:()=>i,Px:()=>o,TP:()=>a,YC:()=>d,Z:()=>r,f8:()=>p,fP:()=>b,gm:()=>n,md:()=>c});const n=["request","imp","bidResponse","response"],[r,i,o,d]=n,[a,c]=["default","pbs"],u=new Set(n);const{registerOrtbProcessor:p,getProcessors:b}=function(){const e={};return{registerOrtbProcessor(t){let{type:s,name:r,fn:i,priority:o=0,dialects:d=[a]}=t;if(!u.has(s))throw new Error(`ORTB processor type must be one of: ${n.join(", ")}`);d.forEach((t=>{e.hasOwnProperty(t)||(e[t]={}),e[t].hasOwnProperty(s)||(e[t][s]={}),e[t][s][r]={priority:o,fn:i}}))},getProcessors:t=>e[t]||{}}}()},17673:(e,t,s)=>{s.d(t,{h:()=>r});var n=s(20265);function r(e){return!e?.gdprApplies||!0===(0,n.Z)(e,"vendorData.purpose.consents.1")}}},e=>{e.O(0,[85279,70951,77635,38409],(()=>{return t=7497,e(e.s=t);var t}));e.O()}]);(self.stpdChunk=self.stpdChunk||[]).push([[68514],{53934:(t,e,r)=>{var i=r(78640),n=r(34614),a=r(64358),o=r(20265),s=r(3193),d=r(14699),p=r(55730),c=r(1582),u=r(15164),l=r(25102),m=r(24679),f=r(35706),h=r(90154),g=r(70059),y=r(11974),v=r(10075);const b="adagio",T="Adagio:",A=[m.Mk,m.B5,m.pX],I="https://script.4dex.io/localstore.js",w="adagioScript",S=(0,u.df)({bidderCode:b}),D="adagio",O=`https://${D}.bbvms.com/r/$RENDERER.js`,E={mimes:t=>Array.isArray(t)&&t.length>0&&t.every((t=>"string"==typeof t)),minduration:t=>(0,a.isInteger)(t),maxduration:t=>(0,a.isInteger)(t),protocols:t=>(0,a.isArrayOfNums)(t),w:t=>(0,a.isInteger)(t),h:t=>(0,a.isInteger)(t),startdelay:t=>(0,a.isInteger)(t),placement:t=>(0,a.isInteger)(t),linearity:t=>(0,a.isInteger)(t),skip:t=>[1,0].includes(t),skipmin:t=>(0,a.isInteger)(t),skipafter:t=>(0,a.isInteger)(t),sequence:t=>(0,a.isInteger)(t),battr:t=>(0,a.isArrayOfNums)(t),maxextended:t=>(0,a.isInteger)(t),minbitrate:t=>(0,a.isInteger)(t),maxbitrate:t=>(0,a.isInteger)(t),boxingallowed:t=>(0,a.isInteger)(t),playbackmethod:t=>(0,a.isArrayOfNums)(t),playbackend:t=>(0,a.isInteger)(t),delivery:t=>(0,a.isInteger)(t),pos:t=>(0,a.isInteger)(t),api:t=>(0,a.isArrayOfNums)(t)};let R;const C=function(){let t,e={};return{clearFeatures:function(){t=void 0},clearExchangeData:function(){e={}},getOrSetGlobalFeatures:function(){return t||(t={page_dimensions:Z().toString(),viewport_dimensions:j().toString(),user_timestamp:(Math.floor((new Date).getTime()/1e3)-60*(new Date).getTimezoneOffset()).toString(),dom_loading:q().toString()}),t},prepareExchangeData(t){const r=JSON.parse(t,(function(t,e){if("_"!==t.charAt(0)||""===t)return e}));let i=(0,o.Z)(r,"session.rnd"),n=!1;W.isNewSession(r)&&(n=!0,i=Math.random());const s={session:{new:n,rnd:i}};(0,a.mergeDeep)(e,r,s),W.enqueue({action:"session",ts:Date.now(),data:e})},getExchangeData:()=>e}}();function x(){try{if((0,a.getWindowTop)().location.href)return!0}catch(t){return!1}}function U(){return R||(0,a.getWindowSelf)()}function k(){const t=(0,a.getWindowSelf)();return!(!t.$sf||!t.$sf.ext)}const W={enqueue:function(t){const e=W.getCurrentWindow();e.ADAGIO=e.ADAGIO||{},e.ADAGIO.queue=e.ADAGIO.queue||[],e.ADAGIO.queue.push(t)},getPageviewId:function(){const t=W.getCurrentWindow();return t.ADAGIO=t.ADAGIO||{},t.ADAGIO.pageviewId=t.ADAGIO.pageviewId||(0,a.generateUUID)(),t.ADAGIO.pageviewId},getDevice:function(){const t=navigator.language?"language":"userLanguage";return{userAgent:navigator.userAgent,language:navigator[t],dnt:(0,a.getDNT)()?1:0,geo:{},js:1}},getSite:function(t){const{refererInfo:e}=t;return{domain:(0,l.hh)(e.topmostLocation)||"",page:e.topmostLocation||"",referrer:e.ref||(0,a.getWindowSelf)().document.referrer||"",top:e.reachedTop}},getElementFromTopWindow:function t(e,r){try{if((0,a.getWindowTop)()===r)return e.getAttribute("id")||e.setAttribute("id",`adg-${(0,a.getUniqueIdentifierStr)()}`),e;{const i=r.frameElement,n=i.getBoundingClientRect(),a=e.getBoundingClientRect();return n.width===a.width&&n.height===a.height&&t(i,r.parent)}}catch(t){return(0,a.logWarn)(`${T}`,t),!1}},getRefererInfo:l.nH,adagioScriptFromLocalStorageCb:function(t){try{if(!t)return void(0,a.logWarn)(`${T} script not found.`);const e=/^(\/\/ hash: (.+)\n)(.+\n)$/;if(e.test(t)){const r=t.match(e),i=r[2],n=r[3];(0,c.T)(n,i,"AL16XT44Sfp+8SHVF1UdC7hydPSMVLMhsYknKDdwqq+0ToDSJrP0+Qh0ki9JJI2uYm/6VEYo8TJED9WfMkiJ4vf02CW3RvSWwc35bif2SK1L8Nn/GfFYr/2/GG/Rm0vUsv+vBHky6nuuYls20Og0HDhMgaOlXoQ/cxMuiy5QSktp",65537)?((0,a.logInfo)(`${T} start script.`),Function(t)()):((0,a.logWarn)(`${T} invalid script found.`),S.removeDataFromLocalStorage(w))}else(0,a.logWarn)(`${T} no hash found.`),S.removeDataFromLocalStorage(w)}catch(t){(0,a.logError)(T,t)}},getCurrentWindow:U,canAccessTopWindow:x,isRendererPreferredFromPublisher:function(t){const e=(0,o.Z)(t,"renderer"),r=!!(e&&e.url&&e.render),i=(0,o.Z)(t,"mediaTypes.video.renderer"),n=!!(i&&i.url&&i.render);return!!(r&&!0!==e.backupOnly||n&&!0!==i.backupOnly)},isNewSession:function(t){const e=Date.now(),{lastActivityTime:r,vwSmplg:i}=(0,o.Z)(t,"session",{});return!(0,a.isNumber)(r)||!(0,a.isNumber)(i)||e-r>18e5}};function B(t){const e=(0,o.Z)(t,"mediaTypes.video",{}),r=(0,o.Z)(t,"params.video",{}),i={};if(Array.isArray(e.playerSize)){const t=Array.isArray(e.playerSize[0])?e.playerSize[0]:e.playerSize;i.w=t[0],i.h=t[1]}const n={...i,...e,...r};n.context&&n.context===h.gZ&&(t.mediaTypes.video.playerName=function(t){const e=W.isRendererPreferredFromPublisher(t)?"other":"adagio";return"other"===e&&(0,a.logWarn)(`${T} renderer.backupOnly has not been set. Adagio recommends to use its own player to get expected behavior.`),e}(t)),Object.keys(E).forEach((e=>{n.hasOwnProperty(e)&&(E[e](n[e])?t.mediaTypes.video[e]=n[e]:(delete t.mediaTypes.video[e],(0,a.logWarn)(`${T} The OpenRTB video param ${e} has been skipped due to misformating. Please refer to OpenRTB 2.5 spec.`)))}))}function N(t){if(!t.admNative||!Array.isArray(t.admNative.assets))return void(0,a.logError)(`${T} Invalid native response`);const e={};t.admNative.assets.forEach((t=>{if(t.title)e.title=t.title.text;else if(t.data)!function(t){const r={1:"sponsoredBy",2:"body",3:"rating",4:"likes",5:"downloads",6:"price",7:"salePrice",8:"phone",9:"address",10:"body2",11:"displayUrl",12:"cta"};r.hasOwnProperty(t.type)&&"string"==typeof t.value&&(e[r[t.type]]=t.value)}(t.data);else if(t.img)if(1===t.img.type)e.icon={url:t.img.url,width:t.img.w,height:t.img.h};else e.image={url:t.img.url,width:t.img.w,height:t.img.h}})),t.admNative.link&&(t.admNative.link.url&&(e.clickUrl=t.admNative.link.url),Array.isArray(t.admNative.link.clicktrackers)&&(e.clickTrackers=t.admNative.link.clicktrackers)),Array.isArray(t.admNative.eventtrackers)?(e.impressionTrackers=[],t.admNative.eventtrackers.forEach((t=>{if(1===t.event)switch(t.method){case 1:e.impressionTrackers.push(t.url);break;case 2:const r=`<script async src="${t.url}"><\/script>`;e.javascriptTrackers?e.javascriptTrackers+=`\n${r}`:e.javascriptTrackers=r}}))):(e.impressionTrackers=Array.isArray(t.admNative.imptrackers)?t.admNative.imptrackers:[],t.admNative.jstracker&&(e.javascriptTrackers=t.admNative.jstracker)),t.admNative.privacy&&(e.privacyLink=t.admNative.privacy),t.admNative.ext&&(e.ext={},t.admNative.ext.bvw&&(e.ext.adagio_bvw=t.admNative.ext.bvw)),t.native=e}function M(t,e){if(t.params=t.params||{},t.params[e])return;const r=s.config.getConfig("adagio")||{},i=t.ortb2,n=r[e]||(0,o.Z)(i,`site.ext.data.${e}`,null);if(n){if(Array.isArray(n))return void(n.length&&(t.params[e]=n[0].toString()));t.params[e]=n.toString()}}function $(t){const e=s.config.getConfig("adagio")||{};t.params=t.params||{},e.siteId&&(t.params.organizationId=e.siteId.split(":")[0],t.params.site=e.siteId.split(":")[1]),!0!==e.useAdUnitCodeAsPlacement&&!0!==t.params.useAdUnitCodeAsPlacement||(t.params.placement=t.adUnitCode),t.params.adUnitElementId=(0,o.Z)(t,"ortb2Imp.ext.data.elementId",null)||t.params.adUnitElementId,t.params.adUnitElementId||(!0===e.useAdUnitCodeAsAdUnitElementId||!0===t.params.useAdUnitCodeAsAdUnitElementId?t.params.adUnitElementId=t.adUnitCode:t.params.adUnitElementId=function(t){const e=(0,v.ky)(t);if(e.divId)return e.divId}(t.adUnitCode)),M(t,"pagetype"),M(t,"category")}function Z(){if(k()||!x())return"";const t=(0,a.getWindowTop)(),e=t.document.querySelector("body");if(!e)return"";const r=t.document.documentElement;return`${Math.max(e.scrollWidth,e.offsetWidth,r.clientWidth,r.scrollWidth,r.offsetWidth)}x${Math.max(e.scrollHeight,e.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight)}`}function j(){if(!k()&&!x())return"";const t={w:0,h:0};if(k()){const e=(0,a.getWindowSelf)();if("function"!=typeof e.$sf.ext.geom)return(0,a.logWarn)(T,"Unable to compute from safeframe api."),"";const r=e.$sf.ext.geom();if(!r||!r.win)return(0,a.logWarn)(T,"Unable to compute from safeframe api. Missing `geom().win` property"),"";t.w=Math.round(r.w),t.h=Math.round(r.h)}else{const e=(0,a.getWindowTop)();t.w=e.innerWidth,t.h=e.innerHeight}return`${t.w}x${t.h}`}function z(t){if(!t)return"";if(!k()&&!x())return"";const e={x:0,y:0};if(k()){const t=(0,a.getWindowSelf)();if("function"!=typeof t.$sf.ext.geom)return(0,a.logWarn)(T,"Unable to compute from safeframe api."),"";const r=t.$sf.ext.geom();if(!r||!r.self)return(0,a.logWarn)(T,"Unable to compute from safeframe api. Missing `geom().self` property"),"";e.x=Math.round(r.t),e.y=Math.round(r.l)}else{if(!x())return"";try{const r=(0,a.getWindowTop)(),i=r.document;let n;if(!0===(0,a.inIframe)()){const e=(0,a.getWindowSelf)(),r=e.document.getElementById(t);n=W.getElementFromTopWindow(r,e)}else n=r.document.getElementById(t);if(!n)return"";let o=n.getBoundingClientRect();const s=i.documentElement,d=i.body,p=i.clientTop||d.clientTop||0,c=i.clientLeft||d.clientLeft||0,u=r.pageYOffset||s.scrollTop||d.scrollTop,l=r.pageXOffset||s.scrollLeft||d.scrollLeft,m=r.getComputedStyle(n,null).display||"block";if("none"===m){n.style=n.style||{};const t=n.style.display;n.style.display="block",o=n.getBoundingClientRect(),n.style.display=t||null}e.x=Math.round(o.left+l-c),e.y=Math.round(o.top+u-p)}catch(t){return(0,a.logError)(T,t),""}}return`${e.x}x${e.y}`}function G(t,e){if(!e.bids||!e.bids.length)return 1;return(0,n.sE)(e.bids,(e=>e.adUnitCode===t)).bidderRequestsCount||1}function q(){let t,e=-1;if(t=x()?(0,a.getWindowTop)().performance:(0,a.getWindowSelf)().performance,t&&t.timing&&t.timing.navigationStart>0){const r=t.timing.domLoading-t.timing.navigationStart;r>0&&(e=r)}return e}const F={bootstrapPlayer:function(t){const e=t.outstreamRendererCode,r={code:t.adUnitCode};if(t.vastXml?r.vastXml=t.vastXml:t.vastUrl&&(r.vastUrl=t.vastUrl),!t.vastXml&&!t.vastUrl)return void(0,a.logError)(`${T} no vastXml or vastUrl on bid`);if(!window.bluebillywig||!window.bluebillywig.renderers||!window.bluebillywig.renderers.length)return void(0,a.logError)(`${T} no BlueBillywig renderers found!`);const i=this.getRendererId(D,e),n={};t.skipOffset&&(n.skipOffset=t.skipOffset.toString());const o=window.bluebillywig.renderers.find((t=>t._id===i));if(!o)return void(0,a.logError)(`${T} couldn't find a renderer with ID ${i}`);const s=document.getElementById(t.adUnitCode);o.bootstrap(r,s,n)},newRenderer:function(t,e){const r=O.replace("$RENDERER",e),i=f.Th.install({url:r,loaded:!1,adUnitCode:t});try{i.setRender(this.outstreamRender)}catch(t){(0,a.logError)(`${T} error trying to setRender`,t)}return i},outstreamRender:function(t){t.renderer.push((()=>{F.bootstrapPlayer(t)}))},getRendererId:function(t,e){return`${t}-${e}`}},L={code:b,gvlid:617,supportedMediaTypes:A,isBidRequestValid:t=>(t.params=t.params||{},$(t),!!(t.params.organizationId&&t.params.site&&t.params.placement)||((0,a.logWarn)(`${T} at least one required param is missing.`),!1)),buildRequests(t,e){t=(0,g.lY)(t);const r="https:"===location.protocol?1:0,n=W.getDevice(),d=W.getSite(e),p=W.getPageviewId(),c=function(t){if(!(0,o.Z)(t,"gdprConsent"))return!1;const{apiVersion:e,gdprApplies:r,consentString:i,allowAuctionWithoutConsent:n}=t.gdprConsent;return(0,a.cleanObj)({apiVersion:e,consentString:i,consentRequired:r?1:0,allowAuctionWithoutConsent:n?1:0})}(e)||{},u=function(t){return!!(0,o.Z)(t,"uspConsent")&&{uspConsent:t.uspConsent}}(e)||{},l={required:!0===s.config.getConfig("coppa")?1:0},f=function(t){let e=(0,o.Z)(t,"gppConsent.gppString"),r=(0,o.Z)(t,"gppConsent.applicableSections");return e&&r||(e=(0,o.Z)(t,"ortb2.regs.gpp",""),r=(0,o.Z)(t,"ortb2.regs.gpp_sid",[])),{gpp:e,gppSid:r}}(e),h=(v=t[0],(0,o.Z)(v,"schain"));var v;const b=function(t){if((0,o.Z)(t,"userIdAsEids"))return t.userIdAsEids}(t[0])||[],I=(0,o.Z)(s.config.getConfig("userSync"),"syncEnabled")&&y.userSync.canBidderRegisterSync("iframe","adagio"),w=(0,a.generateUUID)(),D=t.map((t=>{const r=(0,a.deepClone)(t);r.auctionId=w;const n={...C.getOrSetGlobalFeatures(),print_number:G(r.adUnitCode,e).toString(),adunit_position:z(r.params.adUnitElementId)};if(r.params.splitKeyword&&((0,a.isStr)(r.params.splitKeyword)||(0,a.isNumber)(r.params.splitKeyword)?r.params.splitKeyword=r.params.splitKeyword.toString():(delete r.params.splitKeyword,(0,a.logWarn)(T,"The splitKeyword param have been removed because the type is invalid, accepted type: number or string."))),r.params.organizationId=r.params.organizationId.toString(),r.params.dataLayer)if((0,a.isStr)(r.params.dataLayer)||(0,a.isNumber)(r.params.dataLayer)||(0,a.isArray)(r.params.dataLayer)||(0,a.isFn)(r.params.dataLayer))(0,a.logWarn)(T,"The dataLayer param is invalid, only object is accepted as a type."),delete r.params.dataLayer;else{let t=!1;r.params.dl=r.params.dataLayer,delete r.params.dataLayer,Object.keys(r.params.dl).forEach((e=>{r.params.dl[e]&&((0,a.isStr)(r.params.dl[e])||(0,a.isNumber)(r.params.dl[e])?r.params.dl[e]=r.params.dl[e].toString():(t=!0,delete r.params.dl[e]))})),t&&(0,a.logWarn)(T,"Some parameters of the dataLayer property have been removed because the type is invalid, accepted type: number or string.")}Object.keys(n).forEach((t=>{""===n[t]&&delete n[t]})),r.features=n,W.enqueue({action:"features",ts:Date.now(),data:{features:r.features,params:r.params,adUnitCode:r.adUnitCode}});const s=function(t){if(!(0,a.isFn)(t.getFloor))return!1;const e=[],r=(r,i)=>{const n=t.getFloor({currency:"USD",mediaType:r,size:i});e.push((0,a.cleanObj)({mt:r,s:(0,a.isArray)(i)?`${i[0]}x${i[1]}`:void 0,f:isNaN(n.floor)||"USD"!==n.currency?void 0:n.floor}))};return Object.keys(t.mediaTypes).forEach((e=>{if(-1!==A.indexOf(e)){const i=e===m.pX?"playerSize":"sizes";t.mediaTypes[e][i]&&t.mediaTypes[e][i].length?(0,a.isArray)(t.mediaTypes[e][i][0])?t.mediaTypes[e][i].forEach((t=>{r(e,[t[0],t[1]])})):r(e,[t.mediaTypes[e][i][0],t.mediaTypes[e][i][1]]):r(e,"*")}})),e}(t);if((0,a.isArray)(s)&&s.length){if(r.floors=s,(0,o.Z)(r,"mediaTypes.banner")){const t=r.mediaTypes.banner,e=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const e={size:t,floor:null},i=r.floors.filter((t=>t.mt===m.Mk)),n=i.find((e=>e.s===t.join("x")));return e.floor=i?n?n.f:i[0].f:null,e};r.mediaTypes.banner.bannerSizes=(0,a.isArray)(t.sizes[0])?t.sizes.map((t=>e(t))):e(t.sizes)}if((0,o.Z)(r,"mediaTypes.video")){const t=r.mediaTypes.video,e=r.floors.filter((t=>t.mt===m.pX)),i=t.playerSize&&(0,a.isArray)(t.playerSize[0])?t.playerSize[0]:t.playerSize,n=i?e.find((t=>t.s===i.join("x"))):void 0;r.mediaTypes.video.floor=e?n?n.f:e[0].f:null}if((0,o.Z)(r,"mediaTypes.native")){const t=r.floors.filter((t=>t.mt===m.B5));t.length&&(r.mediaTypes.native.floor=t[0].f)}}(0,o.Z)(r,"mediaTypes.video")&&B(r);const d=(0,o.Z)(r,"ortb2Imp.ext.gpid")||(0,o.Z)(r,"ortb2Imp.ext.data.pbadslot");d&&(r.gpid=d),function(t){const e=U();let r;e.ADAGIO=e.ADAGIO||{},e.ADAGIO.pbjsAdUnits=e.ADAGIO.pbjsAdUnits.filter((e=>e.code!==t.adUnitCode)),t.features&&t.features.print_number?r=t.features.print_number:t.params.features&&t.params.features.print_number&&(r=t.params.features.print_number),e.ADAGIO.pbjsAdUnits.push({code:t.adUnitCode,mediaTypes:t.mediaTypes||{},sizes:t.mediaTypes&&t.mediaTypes.banner&&Array.isArray(t.mediaTypes.banner.sizes)?t.mediaTypes.banner.sizes:t.sizes,bids:[{bidder:t.bidder,params:t.params}],auctionId:t.auctionId,pageviewId:W.getPageviewId(),printNumber:r,localPbjs:"stpd",localPbjsRef:(0,i.R)()}),e.ADAGIO.adUnits[t.adUnitCode]={auctionId:t.auctionId,pageviewId:W.getPageviewId(),printNumber:r}}(r),delete r.params.siteId;return{adUnitCode:r.adUnitCode,auctionId:r.auctionId,bidder:r.bidder,bidId:r.bidId,params:r.params,features:r.features,gpid:r.gpid,mediaTypes:r.mediaTypes,nativeParams:r.nativeParams,score:r.score,transactionId:r.transactionId}})),O=D.reduce(((t,e)=>{const r=e.params.organizationId;return t[r]=t[r]||[],t[r].push(e),t}),{});t.forEach((t=>{t.params.adagioAuctionId=w,t.params.pageviewId=p}));return Object.keys(O).map((t=>({method:"POST",url:"https://mp.4dex.io/prebid",data:{organizationId:t,secure:r,device:n,site:d,pageviewId:p,adUnits:O[t],data:C.getExchangeData(),regs:{gdpr:c,coppa:l,ccpa:u,gpp:f.gpp,gppSid:f.gppSid},schain:h,user:{eids:b},prebidVersion:"8.27.0",featuresVersion:"1",usIfr:I,adgjs:S.localStorageIsEnabled()},options:{contentType:"text/plain"}})))},interpretResponse(t,e){let r=[];try{const i=t.body;i&&(i.data&&W.enqueue({action:"ssp-data",ts:Date.now(),data:i.data}),i.bids&&i.bids.forEach((t=>{const i=(0,n.sE)(e.data.adUnits,(e=>e.bidId===t.requestId));if(i){if(t.meta=(0,o.Z)(t,"meta",{}),t.meta.mediaType=t.mediaType,t.meta.advertiserDomains=Array.isArray(t.aDomain)&&t.aDomain.length?t.aDomain:[],t.mediaType===m.pX){const e=(0,o.Z)(i,"mediaTypes.video.context");if(!t.vastUrl&&t.vastXml&&(t.vastUrl="data:text/xml;charset=utf-8;base64,"+window.btoa(t.vastXml.replace(/\\"/g,'"'))),e===h.gZ){if(t.outstreamRendererCode=(0,o.Z)(i,"params.rendererCode","renderer"),(0,o.Z)(i,"mediaTypes.video.skip")){const e=(0,o.Z)(i,"mediaTypes.video.skipafter",5);t.skipOffset=e}t.renderer=F.newRenderer(t.adUnitCode,t.outstreamRendererCode)}}t.mediaType===m.B5&&N(t),t.site=i.params.site,t.placement=i.params.placement,t.pagetype=i.params.pagetype,t.category=i.params.category}r.push(t)})))}catch(t){(0,a.logError)(t)}return r},getUserSyncs(t,e){if(!e.length||""===e[0].body||!e[0].body.userSyncs)return!1;return e[0].body.userSyncs.map((t=>({type:"p"===t.t?"image":"iframe",url:t.u})))},transformBidParams:(t,e,r,i)=>t};!function(){x()&&(R=x()?(0,a.getWindowTop)():(0,a.getWindowSelf)());const t=W.getCurrentWindow();t.ADAGIO=t.ADAGIO||{},t.ADAGIO.adUnits=t.ADAGIO.adUnits||{},t.ADAGIO.pbjsAdUnits=t.ADAGIO.pbjsAdUnits||[],t.ADAGIO.queue=t.ADAGIO.queue||[],t.ADAGIO.versions=t.ADAGIO.versions||{},t.ADAGIO.versions.pbjs="8.27.0",t.ADAGIO.isSafeFrameWindow=k(),S.getDataFromLocalStorage("adagio",(t=>{try{C.prepareExchangeData(t)}catch(t){(0,a.logError)(T,t)}})),S.getDataFromLocalStorage(w,(t=>{W.adagioScriptFromLocalStorageCb(t)})),S.localStorageIsEnabled((t=>{if(t)(0,p.B)(I,b);else try{window.localStorage.removeItem(w),window.localStorage.removeItem("adagio")}catch(t){(0,a.logInfo)(`${T} unable to clear Adagio scripts from localstorage.`)}}))}(),(0,d.dX)(L),(0,i.z)("adagioBidAdapter")},44611:(t,e)=>{var r;Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){null!==t&&this.fromHexString(t)}return t.prototype.toHexString=function(){if(this.s<0)return"-"+this.negate().toHexString();var t,e=!1,r="",i=this.t,n=this.DB-i*this.DB%4;if(i-- >0)for(n<this.DB&&(t=this[i]>>n)>0&&(e=!0,r=u(t));i>=0;)n<4?(t=(this[i]&(1<<n)-1)<<4-n,t|=this[--i]>>(n+=this.DB-4)):(t=this[i]>>(n-=4)&15,n<=0&&(n+=this.DB,--i)),t>0&&(e=!0),e&&(r+=u(t));return e?r:"0"},t.prototype.fromHexString=function(e){if(null!==e){this.t=0,this.s=0;for(var r=e.length,i=!1,n=0;--r>=0;){var a=p(e,r);a<0?"-"==e.charAt(r)&&(i=!0):(i=!1,0==n?this[this.t++]=a:n+4>this.DB?(this[this.t-1]|=(a&(1<<this.DB-n)-1)<<n,this[this.t++]=a>>this.DB-n):this[this.t-1]|=a<<n,(n+=4)>=this.DB&&(n-=this.DB))}0,this.clamp(),i&&t.ZERO.subTo(this,this)}},t.prototype.negate=function(){var e=n();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.mod=function(e){var r=n();return this.abs().divRemTo(e,null,r),this.s<0&&r.compareTo(t.ZERO)>0&&e.subTo(r,r),r},t.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},t.prototype.lShiftTo=function(t,e){for(var r=t%this.DB,i=this.DB-r,n=(1<<i)-1,a=Math.floor(t/this.DB),o=this.s<<r&this.DM,s=this.t-1;s>=0;--s)e[s+a+1]=this[s]>>i|o,o=(this[s]&n)<<r;for(s=a-1;s>=0;--s)e[s]=0;e[a]=o,e.t=this.t+a+1,e.s=this.s,e.clamp()},t.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},t.prototype.dlShiftTo=function(t,e){var r;for(r=this.t-1;r>=0;--r)e[r+t]=this[r];for(r=t-1;r>=0;--r)e[r]=0;e.t=this.t+t,e.s=this.s},t.prototype.squareTo=function(t){for(var e=this.abs(),r=t.t=2*e.t;--r>=0;)t[r]=0;for(r=0;r<e.t-1;++r){var i=e.am(r,e[r],t,2*r,0,1);(t[r+e.t]+=e.am(r+1,2*e[r],t,2*r+1,i,e.t-r-1))>=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},t.prototype.multiplyTo=function(e,r){var i=this.abs(),n=e.abs(),a=i.t;for(r.t=a+n.t;--a>=0;)r[a]=0;for(a=0;a<n.t;++a)r[a+i.t]=i.am(0,n[a],r,a,0,i.t);r.s=0,r.clamp(),this.s!=e.s&&t.ZERO.subTo(r,r)},t.prototype.divRemTo=function(e,r,i){var o=e.abs();if(!(o.t<=0)){var s=this.abs();if(s.t<o.t)return null!=r&&r.fromHexString("0"),void(null!=i&&this.copyTo(i));null==i&&(i=n());var d=n(),p=this.s,c=e.s,u=this.DB-a(o[o.t-1]);u>0?(o.lShiftTo(u,d),s.lShiftTo(u,i)):(o.copyTo(d),s.copyTo(i));var l=d.t,m=d[l-1];if(0!=m){var f=m*(1<<this.F1)+(l>1?d[l-2]>>this.F2:0),h=this.FV/f,g=(1<<this.F1)/f,y=1<<this.F2,v=i.t,b=v-l,T=null==r?n():r;for(d.dlShiftTo(b,T),i.compareTo(T)>=0&&(i[i.t++]=1,i.subTo(T,i)),t.ONE.dlShiftTo(l,T),T.subTo(d,d);d.t<l;)d[d.t++]=0;for(;--b>=0;){var A=i[--v]==m?this.DM:Math.floor(i[v]*h+(i[v-1]+y)*g);if((i[v]+=d.am(0,A,i,b,0,l))<A)for(d.dlShiftTo(b,T),i.subTo(T,i);i[v]<--A;)i.subTo(T,i)}null!=r&&(i.drShiftTo(l,r),p!=c&&t.ZERO.subTo(r,r)),i.t=l,i.clamp(),u>0&&i.rShiftTo(u,i),p<0&&t.ZERO.subTo(i,i)}}},t.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var i=t%this.DB,n=this.DB-i,a=(1<<i)-1;e[0]=this[r]>>i;for(var o=r+1;o<this.t;++o)e[o-r-1]|=(this[o]&a)<<n,e[o-r]=this[o]>>i;i>0&&(e[this.t-r-1]|=(this.s&a)<<n),e.t=this.t-r,e.clamp()}},t.prototype.drShiftTo=function(t,e){for(var r=t;r<this.t;++r)e[r-t]=this[r];e.t=Math.max(this.t-t,0),e.s=this.s},t.prototype.subTo=function(t,e){for(var r=0,i=0,n=Math.min(t.t,this.t);r<n;)i+=this[r]-t[r],e[r++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i-=t.s;r<this.t;)i+=this[r],e[r++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;r<t.t;)i-=t[r],e[r++]=i&this.DM,i>>=this.DB;i-=t.s}e.s=i<0?-1:0,i<-1?e[r++]=this.DV+i:i>0&&(e[r++]=i),e.t=r,e.clamp()},t.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},t.prototype.modPowInt=function(t,e){var r;return r=t<256||e.isEven()?new l(e):new m(e),this.exp(t,r)},t.prototype.exp=function(e,r){if(e>4294967295||e<1)return t.ONE;var i=n(),o=n(),s=r.convert(this),d=a(e)-1;for(s.copyTo(i);--d>=0;)if(r.sqrTo(i,o),(e&1<<d)>0)r.mulTo(o,s,i);else{var p=i;i=o,o=p}return r.revert(i)},t.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},t.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var r=this.t;if(0!=(e=r-t.t))return this.s<0?-e:e;for(;--r>=0;)if(0!=(e=this[r]-t[r]))return e;return 0},t.prototype.am1=function(t,e,r,i,n,a){for(;--a>=0;){var o=e*this[t++]+r[i]+n;n=Math.floor(o/67108864),r[i++]=67108863&o}return n},t.prototype.am2=function(t,e,r,i,n,a){for(var o=32767&e,s=e>>15;--a>=0;){var d=32767&this[t],p=this[t++]>>15,c=s*d+p*o;n=((d=o*d+((32767&c)<<15)+r[i]+(1073741823&n))>>>30)+(c>>>15)+s*p+(n>>>30),r[i++]=1073741823&d}return n},t.prototype.am3=function(t,e,r,i,n,a){for(var o=16383&e,s=e>>14;--a>=0;){var d=16383&this[t],p=this[t++]>>14,c=s*d+p*o;n=((d=o*d+((16383&c)<<14)+r[i]+n)>>28)+(c>>14)+s*p,r[i++]=268435455&d}return n},t}();function n(){return new i(null)}function a(t){var e,r=1;return 0!=(e=t>>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}e.BigInteger=i,e.nbi=n,e.nbits=a;var o,s,d=[];for(o="0".charCodeAt(0),s=0;s<=9;++s)d[o++]=s;for(o="a".charCodeAt(0),s=10;s<36;++s)d[o++]=s;for(o="A".charCodeAt(0),s=10;s<36;++s)d[o++]=s;function p(t,e){var r=d[t.charCodeAt(e)];return null==r?-1:r}e.intAt=p;var c="0123456789abcdefghijklmnopqrstuvwxyz";function u(t){return c.charAt(t)}e.int2char=u;e.b64toHex=function(t){var e,r="",i=0,n=0;for(e=0;e<t.length&&"="!=t.charAt(e);++e){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(t.charAt(e));a<0||(0==i?(r+=u(a>>2),n=3&a,i=1):1==i?(r+=u(n<<2|a>>4),n=15&a,i=2):2==i?(r+=u(n),r+=u(a>>2),n=3&a,i=3):(r+=u(n<<2|a>>4),r+=u(15&a),i=0))}return 1==i&&(r+=u(n<<2)),r},e.removeExtraSymbols=function(t){return t.replace(/^1f+00/,"").replace("3031300d060960864801650304020105000420","")};var l=function(){function t(t){this.m=t}return t.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),m=function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}return t.prototype.convert=function(t){var e=n();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(i.ZERO)>0&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=n();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var r=32767&t[e],i=r*this.mpl+((r*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,i,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();function f(t){var e=n();return e.fromHexString(t.toString()),e}e.nbv=f,i.ZERO=f(0),i.ONE=f(1),"Microsoft Internet Explorer"==navigator.appName?(i.prototype.am=i.prototype.am2,r=30):"Netscape"!=navigator.appName?(i.prototype.am=i.prototype.am1,r=26):(i.prototype.am=i.prototype.am3,r=28),i.prototype.DB=r,i.prototype.DM=(1<<r)-1,i.prototype.DV=1<<r;i.prototype.FV=Math.pow(2,52),i.prototype.F1=52-r,i.prototype.F2=2*r-52},94950:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){}return t.hash=function(e){e=t.utf8Encode(e||"");for(var r=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],i=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],n=(e+=String.fromCharCode(128)).length/4+2,a=Math.ceil(n/16),o=new Array(a),s=0;s<a;s++){o[s]=new Array(16);for(var d=0;d<16;d++)o[s][d]=e.charCodeAt(64*s+4*d)<<24|e.charCodeAt(64*s+4*d+1)<<16|e.charCodeAt(64*s+4*d+2)<<8|e.charCodeAt(64*s+4*d+3)<<0}var p=8*(e.length-1)/Math.pow(2,32),c=8*(e.length-1)>>>0;o[a-1][14]=Math.floor(p),o[a-1][15]=c;for(s=0;s<a;s++){for(var u=new Array(64),l=0;l<16;l++)u[l]=o[s][l];for(l=16;l<64;l++)u[l]=t.q1(u[l-2])+u[l-7]+t.q0(u[l-15])+u[l-16]>>>0;var m=i[0],f=i[1],h=i[2],g=i[3],y=i[4],v=i[5],b=i[6],T=i[7];for(l=0;l<64;l++){var A=T+t.z1(y)+t.Ch(y,v,b)+r[l]+u[l],I=t.z0(m)+t.Maj(m,f,h);T=b,b=v,v=y,y=g+A>>>0,g=h,h=f,f=m,m=A+I>>>0}i[0]=i[0]+m>>>0,i[1]=i[1]+f>>>0,i[2]=i[2]+h>>>0,i[3]=i[3]+g>>>0,i[4]=i[4]+y>>>0,i[5]=i[5]+v>>>0,i[6]=i[6]+b>>>0,i[7]=i[7]+T>>>0}var w=new Array(i.length);for(T=0;T<i.length;T++)w[T]=("00000000"+i[T].toString(16)).slice(-8);return w.join("")},t.utf8Encode=function(t){try{return(new TextEncoder).encode(t).reduce((function(t,e){return t+String.fromCharCode(e)}),"")}catch(e){return unescape(encodeURIComponent(t))}},t.ROTR=function(t,e){return e>>>t|e<<32-t},t.z0=function(e){return t.ROTR(2,e)^t.ROTR(13,e)^t.ROTR(22,e)},t.z1=function(e){return t.ROTR(6,e)^t.ROTR(11,e)^t.ROTR(25,e)},t.q0=function(e){return t.ROTR(7,e)^t.ROTR(18,e)^e>>>3},t.q1=function(e){return t.ROTR(17,e)^t.ROTR(19,e)^e>>>10},t.Ch=function(t,e,r){return t&e^~t&r},t.Maj=function(t,e,r){return t&e^t&r^e&r},t}();e.Sha256=r},1582:(t,e,r)=>{var i=r(44611),n=r(94950);e.T=function(t,e,r,a){var o=new i.BigInteger(i.b64toHex(e)),s=new i.BigInteger(i.b64toHex(r)),d=o.modPowInt(a,s);return i.removeExtraSymbols(d.toHexString())===n.Sha256.hash(t)}}},t=>{t.O(0,[29703,38409],(()=>{return e=53934,t(t.s=e);var e}));t.O()}]);(self.stpdChunk=self.stpdChunk||[]).push([[82599],{70789:(e,t,r)=>{var i=r(78640),n=r(64358),o=r(24679),a=r(14699),s=r(3193),d=r(15164),l=r(29865);const c="triplelift";let p=null,u=null;const m=(0,d.df)({bidderCode:c}),f={gvlid:28,code:c,supportedMediaTypes:[o.Mk,o.pX],isBidRequestValid:function(e){return void 0!==e.params.inventoryCode},buildRequests:function(e,t){let r="https://tlx.3lift.com/header/auction?",i=function(e,t){let r={},{schain:i}=e[0];const o=function(e){const t={},r={},i={},o=e.ortb2||{},a=function(){const e=m.getDataFromLocalStorage("opecloud_ctx");if(!e)return null;try{return JSON.parse(e)}catch(e){return(0,n.logError)("Triplelift: error parsing JSON: ",e),null}}(),s=Object.assign({},o.site),d=Object.assign({},o.user);if(a){d.data=d.data||[];try{d.data.push({name:"www.1plusx.com",ext:a})}catch(e){(0,n.logError)("Triplelift: error adding 1plusX segments: ",e)}}v(r,s),v(i,d),(0,n.isEmpty)(r)||(t.context=r);(0,n.isEmpty)(i)||(t.user=i);return t}(t);r.imp=e.map((function(e,t){let r={id:t,tagid:e.params.inventoryCode,floor:h(e)};return g(e)&&(r.video=function(e){let t={...e.params.video,...e.mediaTypes.video};try{t.w||(t.w=t.playerSize[0][0]),t.h||(t.h=t.playerSize[0][1])}catch(e){(0,n.logWarn)("Video size not defined",e)}"instream"===t.context&&(t.placement||(t.placement=1));"outstream"===t.context&&(t.placement?-1===[3,4,5].indexOf(t.placement)&&((0,n.logMessage)(`video.placement value of ${t.placement} is invalid for outstream context. Setting placement to 3`),t.placement=3):t.placement=3);t.playbackmethod&&Number.isInteger(t.playbackmethod)&&(t.playbackmethod=Array.from(String(t.playbackmethod),Number));return delete t.playerSize,t}(e)),e.mediaTypes.banner&&!b(e)&&(r.banner={format:O(e.sizes)}),(0,n.isEmpty)(e.ortb2Imp)||(r.fpd=function(e){const t={},r={};v(r,e.ext),(0,n.isEmpty)(r)||(t.context=r);return t}(e.ortb2Imp),(0,n.isEmpty)(e.ortb2Imp.ext)||(r.ext={...e.ortb2Imp.ext})),r}));let a=[...x([e[0]]),...E([e[0]]),...I([e[0]]),...S([e[0]]),..._(e[0])];a.length>0&&(r.user={ext:{eids:a}});let s=function(e,t){let r={};(0,n.isEmpty)(e)||(r.schain={...e});(0,n.isEmpty)(t)||(r.fpd={...t});return r}(i,o);(0,n.isEmpty)(s)||(r.ext=s);t?.ortb2?.regs?.gpp&&(r.regs=Object.assign({},t.ortb2.regs));t?.ortb2&&(r.ext.ortb2=Object.assign({},t.ortb2));return r}(e,t);if(r=(0,l.t)(r,"lib","prebid"),r=(0,l.t)(r,"v","8.27.0"),t&&t.refererInfo){let e=t.refererInfo.page;r=(0,l.t)(r,"referrer",e)}return t&&t.timeout&&(r=(0,l.t)(r,"tmax",t.timeout)),t&&t.gdprConsent&&(p=void 0===t.gdprConsent.gdprApplies||t.gdprConsent.gdprApplies,r=(0,l.t)(r,"gdpr",p.toString()),void 0!==t.gdprConsent.consentString&&(u=t.gdprConsent.consentString,r=(0,l.t)(r,"cmp_cs",u))),t&&t.uspConsent&&(r=(0,l.t)(r,"us_privacy",t.uspConsent)),t&&t.fledgeEnabled&&(r=(0,l.t)(r,"fledge",t.fledgeEnabled)),!0===s.config.getConfig("coppa")&&(r=(0,l.t)(r,"coppa",!0)),r.lastIndexOf("&")===r.length-1&&(r=r.substring(0,r.length-1)),(0,n.logMessage)("tlCall request built: "+r),{method:"POST",url:r,data:i,bidderRequest:t}},interpretResponse:function(e,t){let{bidderRequest:r}=t,i=e.body.bids||[];const o=e.body.paapi||[];if(i=i.map((e=>function(e,t){let r={},i=t.width||1,n=t.height||1,o=t.deal_id||"",a=t.crid||"",s=e.bids[t.imp_id];0!=t.cpm&&t.ad&&(r={requestId:s.bidId,cpm:t.cpm,width:i,height:n,netRevenue:!0,ad:t.ad,creativeId:a,dealId:o,currency:"USD",ttl:300,tl_source:t.tl_source,meta:{}},g(s)&&"video"===t.media_type&&(r.vastXml=t.ad,r.mediaType="video",r.ttl=3600),t.advertiser_name&&(r.meta.advertiserName=t.advertiser_name),t.adomain&&t.adomain.length&&(r.meta.advertiserDomains=t.adomain),t.tl_source&&"hdx"==t.tl_source&&(g(s)&&"video"===t.media_type?r.meta.mediaType="video":r.meta.mediaType="banner"),t.tl_source&&"tlx"==t.tl_source&&(r.meta.mediaType="native"),a&&(r.meta.networkId=a.slice(0,a.indexOf("_"))));return r}(r,e))),o.length>0){const e=o.map((e=>({bidId:r.bids[e.imp_id].bidId,config:e.auctionConfig})));return(0,n.logMessage)("Response with FLEDGE:",{bids:i,fledgeAuctionConfigs:e}),{bids:i,fledgeAuctionConfigs:e}}return i},getUserSyncs:function(e,t,r,i,n){let o=function(e){if(!e)return;if(e.iframeEnabled)return"iframe";if(e.pixelEnabled)return"image"}(e);if(!o)return;let a="https://eb2.3lift.com/sync?";return"image"===o&&(a=(0,l.t)(a,"px",1),a=(0,l.t)(a,"src","prebid")),(null!==u||p)&&(a=(0,l.t)(a,"gdpr",p),a=(0,l.t)(a,"cmp_cs",u)),i&&(a=(0,l.t)(a,"us_privacy",i)),n&&(n.gppString&&(a=(0,l.t)(a,"gpp",n.gppString)),n.applicableSections&&0!==n.applicableSections.length&&(a=(0,l.t)(a,"gpp_sid",n.applicableSections.filter((e=>Number.isInteger(e))).join(",")))),[{type:o,url:a}]}};function g(e){return y(e)&&(b(e)||function(e){return y(e)&&"outstream"===e.mediaTypes.video.context.toLowerCase()}(e))}function b(e){return y(e)&&"instream"===e.mediaTypes.video.context.toLowerCase()}function y(e){return e.mediaTypes.video&&e.mediaTypes.video.context}function h(e){let t=null;if("function"==typeof e.getFloor)try{const r=e.getFloor({currency:"USD",mediaType:g(e)?"video":"banner",size:"*"});"object"!=typeof r||"USD"!==r.currency||isNaN(parseFloat(r.floor))||(t=parseFloat(r.floor))}catch(e){(0,n.logError)("Triplelift: getFloor threw an error: ",e)}return null!==t?t:e.params.floor}function v(e,t){(0,n.isEmpty)(t)||Object.keys(t).forEach((r=>{null!=t[r]&&(e[r]=t[r])}))}function x(e){return C(e,"tdid","adserver.org","TDID")}function E(e){return C(e,"idl_env","liveramp.com","idl")}function I(e){return C(e,"criteoId","criteo.com","criteoId")}function S(e){return C(e,"pubcid","pubcid.org","pubcid")}function _(e){let t=["adserver.org","liveramp.com","criteo.com","pubcid.org"],r=[];return e.userIdAsEids&&e.userIdAsEids.forEach((e=>{try{if(-1===t.indexOf(e.source)){let t=e.uids.map((t=>({id:t.id,ext:{rtiPartner:e.source}})));r.push({source:e.source,uids:t})}}catch(t){(0,n.logWarn)(`Triplelift: Error attempting to add ${e} to bid request`,t)}})),r}function C(e,t,r,i){return e.map(function(e){return t=>t&&t.userId&&t.userId[e]}(t)).filter(T(t)).map(function(e,t){return r=>({source:e,uids:[{id:r.id?r.id:r,ext:{rtiPartner:t}}]})}(r,i))}const T=e=>(t,r,i)=>{let o=!!t&&((0,n.isStr)(t)?!!t:(0,n.isPlainObject)(t)&&!(0,n.isArray)(t)&&!(0,n.isEmpty)(t)&&t.id&&(0,n.isStr)(t.id)&&!!t.id);return o||void 0===i[0]||(0,n.logWarn)(`Triplelift: invalid ${e} userId format`),o};function O(e){return e.filter(w).map((function(e){return{w:e[0],h:e[1]}}))}function w(e){return 2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]}(0,a.dX)(f),(0,i.z)("tripleliftBidAdapter")}},e=>{e.O(0,[54213,38409],(()=>{return t=70789,e(e.s=t);var t}));e.O()}]);window.clientContinent="EU";__stpdTags=[{"accountId":2514,"accountType":1,"adunitId":52083,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1849765","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_320x100_Mobile_Sticky_Anchor@320x100","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":85654,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[320,100],[320,50],[300,100],[300,50]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1849772,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_320x100_Mobile_Sticky_Anchor_S2S@320x100","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_320x100_Mobile_Sticky_Anchor"}},"sticky":{"attGroupModuleName":"sticky","isSsp":0,"attGroupAliasOf":null,"attributes":{"top":false,"bottom":true,"opacity":0.2,"sticky_hide":false,"sticky_hide_onscroll":false,"sticky_initialy_hidden":false,"sticky_close":false,"bottom_gap":0}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_anchor_ad_responsive","adUnitElementId":"pxfuel_com_anchor_ad_responsive","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_320x50_Prebid","approval":"approved"}},"smartadserverS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"smartadserver","attributes":{"networkId":3527,"approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_320x50_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}},{"accountId":2514,"accountType":1,"adunitId":52084,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1849757","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_320x100_Mobile@320x100","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":85654,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[320,100],[320,50],[300,100],[300,50]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1849758,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_320x100_Mobile_S2S@320x100","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_320x100_Mobile"}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_320x100_Mobile","adUnitElementId":"pxfuel_com_320x100_Mobile","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_320x50_Prebid","approval":"approved"}},"smartadserverS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"smartadserver","attributes":{"networkId":3527,"approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_320x50_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}},{"accountId":2514,"accountType":1,"adunitId":52085,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1849754","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_300x250_Mobile@300x250","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":84779,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[300,250],[300,200],[250,250]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1849756,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_300x250_Mobile_S2S@300x250","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_300x250_Mobile"}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_300x250_responsive","adUnitElementId":"pxfuel_com_300x250_responsive","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid","approval":"approved"}},"smartadserverS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"smartadserver","attributes":{"networkId":3527,"approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}},{"accountId":2514,"accountType":1,"adunitId":52086,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1849749","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_1000x100_Desktop_Sticky_Anchor@1000x100","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":86963,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[1000,100],[970,90],[728,90],[990,90],[970,50],[960,90],[950,90],[980,90],[970,200],[1000,200],[950,200],[850,200]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1849751,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_1000x100_Desktop_Sticky_Anchor_S2S@1000x100","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_1000x100_Desktop_Sticky_Anchor"}},"sticky":{"attGroupModuleName":"sticky","isSsp":0,"attGroupAliasOf":null,"attributes":{"top":false,"bottom":true,"opacity":0.2,"sticky_hide":false,"sticky_hide_onscroll":false,"sticky_initialy_hidden":false,"sticky_close":false,"bottom_gap":0}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_anchor_ad_responsive","adUnitElementId":"pxfuel_com_anchor_ad_responsive","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_970x90_Prebid","approval":"approved"}},"smartadserverS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"smartadserver","attributes":{"networkId":3527,"approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_970x90_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}},{"accountId":2514,"accountType":1,"adunitId":52087,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1849746","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_728x90_Desktop@728x90","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":84780,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[728,90],[468,60]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1849748,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_728x90_Desktop_S2S@728x90","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_728x90_Desktop"}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_728x90_responsive","adUnitElementId":"pxfuel_com_728x90_responsive","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_728x90_Prebid","approval":"approved"}},"smartadserverS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"smartadserver","attributes":{"networkId":3527,"approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_728x90_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}},{"accountId":2514,"accountType":1,"adunitId":52088,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1849742","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_300x600_Desktop@300x600","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":85325,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[300,600],[160,600],[300,250],[300,300]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1849744,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_300x600_Desktop_S2S@300x600","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_300x600_Desktop"}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_300x600_Desktop","adUnitElementId":"pxfuel_com_300x600_Desktop","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_300x600_Prebid","approval":"approved"}},"smartadserverS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"smartadserver","attributes":{"networkId":3527,"approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_300x600_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}},{"accountId":2514,"accountType":1,"adunitId":52089,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1849739","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_300x250_Desktop@300x250","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":84779,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[300,250],[300,200],[250,250]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1849740,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_300x250_Desktop_S2S@300x250","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_300x250_Desktop"}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_300x250_responsive","adUnitElementId":"pxfuel_com_300x250_responsive","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid","approval":"approved"}},"smartadserverS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"smartadserver","attributes":{"networkId":3527,"approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}},{"accountId":2514,"accountType":1,"adunitId":52127,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1851408","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_336x280_Desktop@300x250","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":84779,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[300,250],[336,280],[320,250]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1851409,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_336x280_Desktop_S2S@300x250","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_336x280_Desktop"}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_336x280_responsive","adUnitElementId":"pxfuel_com_336x280_responsive","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid","approval":"approved"}},"smartadserverS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"smartadserver","attributes":{"networkId":3527,"approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}},{"accountId":2514,"accountType":1,"adunitId":52128,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1851410","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_336x280_Mobile@300x250","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":84779,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[300,250],[336,280],[320,250]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1851411,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_336x280_Mobile_S2S@300x250","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_336x280_Mobile"}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_336x280_responsive","adUnitElementId":"pxfuel_com_336x280_responsive","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid","approval":"approved"}},"smartadserverS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"smartadserver","attributes":{"networkId":3527,"approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}},{"accountId":2514,"accountType":1,"adunitId":52810,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1874086","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_336x336_Mobile@300x250","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":84779,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[300,250],[336,336],[336,320],[320,320],[300,300],[336,280],[320,250],[320,336]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1874087,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_336x336_Mobile_S2S@300x250","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_336x336_Mobile"}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_728x90_responsive","adUnitElementId":"pxfuel_com_728x90_responsive","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid","approval":"approved"}},"smartadserverS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"smartadserver","attributes":{"networkId":3527,"approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}},{"accountId":2514,"accountType":1,"adunitId":52811,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1874094","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_1280x250_Desktop_Billboard@970x250","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":85311,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[970,250],[970,90],[1280,250],[980,250],[1200,200],[1100,200],[1000,200],[1000,250],[980,240],[980,120],[970,200],[970,120]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1874095,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_1280x250_Desktop_Billboard_S2S@970x250","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_1280x250_Desktop_Billboard"}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_1280x250_billboard_responsive","adUnitElementId":"pxfuel_com_1280x250_billboard_responsive","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_970x250_Prebid","approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_970x250_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}},{"accountId":2514,"accountType":1,"adunitId":52812,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1874088","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_336x336_Mobile_Billboard_1@300x250","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":84779,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[300,250],[336,336],[336,320],[320,320],[300,300],[336,280],[320,250],[320,336]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1874089,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_336x336_Mobile_Billboard_1_S2S@300x250","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_336x336_Mobile_Billboard_1"}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_1280x250_billboard_responsive","adUnitElementId":"pxfuel_com_1280x250_billboard_responsive","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid","approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}},{"accountId":2514,"accountType":1,"adunitId":52813,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1874096","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_970x250_Desktop_Billboard@970x250","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":85311,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[970,250],[970,90],[728,90],[970,200],[970,120],[950,90],[728,100],[728,250]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1874097,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_970x250_Desktop_Billboard_S2S@970x250","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_970x250_Desktop_Billboard"}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_970x250_billboard_responsive","adUnitElementId":"pxfuel_com_970x250_billboard_responsive","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_970x250_Prebid","approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_970x250_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}},{"accountId":2514,"accountType":1,"adunitId":52814,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1874091","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_336x336_Mobile_Billboard_2@300x250","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":84779,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[300,250],[336,336],[336,320],[320,320],[300,300],[336,280],[320,250],[320,336]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1874092,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_336x336_Mobile_Billboard_2_S2S@300x250","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_336x336_Mobile_Billboard_2"}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_970x250_billboard_responsive","adUnitElementId":"pxfuel_com_970x250_billboard_responsive","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid","approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}},{"accountId":2514,"accountType":1,"adunitId":52815,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1874098","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_300x250_Desktop_Repeatable@300x250","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":84779,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[300,250],[300,200],[250,250]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1874099,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_300x250_Desktop_Repeatable_S2S@300x250","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_300x250_Desktop_Repeatable"}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_300x250_repeatable_responsive","adUnitElementId":"pxfuel_com_300x250_repeatable_responsive","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid","approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}},{"accountId":2514,"accountType":1,"adunitId":52816,"attGroups":{"adform":{"attGroupModuleName":"adfBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"mid":"1874100","approval":"approved"}},"pubmatic":{"attGroupModuleName":"pubmaticBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"publisherId":"156191","adSlot":"pxfuel.com_300x250_Mobile_Repeatable@300x250","approval":"approved"}},"smartadserver":{"attGroupModuleName":"smartadserverBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"domain":"https://prg.smartadserver.com","siteId":642996,"pageId":1944748,"formatId":84779,"networkId":3527,"approval":"approved"}},"criteo":{"attGroupModuleName":"criteoBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"networkId":7048,"approval":"approved"}},"rtbhouse":{"attGroupModuleName":"rtbhouseBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"region":"prebid-eu","publisherId":"d2380d6f45eaac2c7d22","approval":"approved"}},"luponmedia":{"attGroupModuleName":"luponmediaBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"siteId":13408,"keyId":"uid_pxfuelcom-sa","approval":"approved"}},"amx":{"attGroupModuleName":"amxBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"testMode":false,"tagId":"c2V0dXBhZC1yb24uY29t","approval":"approved"}},"creative_settings":{"attGroupModuleName":"creative_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"sizes":[[300,250],[300,200],[250,250]],"sizeParentIframes":true,"use_client_sizes":false,"timeout":2000,"timeout_s2s":750}},"adformS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"adform","attributes":{"mid":1874101,"approval":"approved"}},"pubmaticS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"pubmatic","attributes":{"publisherId":"156191","adSlot":"pxfuel.com_300x250_Mobile_Repeatable_S2S@300x250","approval":"approved"}},"granularity":{"attGroupModuleName":"granularity","isSsp":0,"attGroupAliasOf":null,"attributes":{"b1_price":4,"b1_granularity":0.01,"b2_price":5,"b2_granularity":0.1,"b3_price":99,"b3_granularity":0.5}},"aL":{"attGroupModuleName":"aL","isSsp":0,"attGroupAliasOf":null,"attributes":{"id":"setupad"}},"bidderAdj":{"attGroupModuleName":"bidderAdj","isSsp":0,"attGroupAliasOf":null,"attributes":{"rubicon":0.83,"adform":0.9,"adform_publisher":0.9,"adform_outstream":0.9,"adform_outstream_publisher":0.9,"appnexus":0.85,"openx":1,"pubmatic":0.92,"smartadserver":0.85,"criteo":1,"sovrn":1,"admixer":0.85,"pulsepoint":1,"ix":0.95,"rtbhouse":1,"between":1,"districtm":0.85,"optimera":1,"adyoulike":1,"adnuntius":1,"nobid":1,"luponmedia":0.8,"amx":1,"adocean":0.85,"oftmedia":0.8,"livewrapped":0.7,"holid":0.7,"projectagora":0.8,"goldbach":1,"stailamediaS2S":1,"stroeerCore_publisher":1,"mediafuseS2S":0.8,"conceptx":1,"eskimi":1}},"saas":{"attGroupModuleName":"saas","isSsp":0,"attGroupAliasOf":null,"attributes":{"autoInitialize":true,"adunit_debug":true,"cm":1,"timeoutRefresh":2500,"refreshEnabled":false,"refreshTimeout":50000,"initAdManagerRequests":true,"iframeSizeAR":true,"sizeParentIframes":true,"initOnlySetupadSlots":false}},"config":{"attGroupModuleName":"config","isSsp":0,"attGroupAliasOf":null,"attributes":{"timeout":400,"ca":0.94,"car":0.011,"currency":"EUR","currencyFile":true}},"autorefresh":{"attGroupModuleName":"autorefresh","isSsp":0,"attGroupAliasOf":null,"attributes":{"auto_refresh_on":true,"auto_refresh_max":0,"auto_refresh_minimum_cpm":0.04,"auto_refresh_time_interval_from":25000,"auto_refresh_time_interval_to":33000,"auto_refresh_inview_on":true,"show_debugging_information":false,"checkbids":false,"timeoutRefresh":2000}},"gam_settings":{"attGroupModuleName":"gam_settings","isSsp":0,"attGroupAliasOf":null,"attributes":{"path":"/147246189,23004285444/pxfuel.com_300x250_Mobile_Repeatable"}},"adagio":{"attGroupModuleName":"adagioBidAdapter","isSsp":1,"attGroupAliasOf":null,"attributes":{"organizationId":"1053","site":"pxfuel-com","placement":"pxfuel_com_300x250_repeatable_responsive","adUnitElementId":"pxfuel_com_300x250_repeatable_responsive","approval":"approved"}},"triplelift":{"attGroupModuleName":"tripleliftBidAdapter","isSsp":1,"attGroupAliasOf":"","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid","approval":"approved"}},"targeting":{"attGroupModuleName":"targeting","isSsp":0,"attGroupAliasOf":"","attributes":{"device":0}},"tripleliftS2S":{"attGroupModuleName":"prebidServerBidAdapter","isSsp":1,"attGroupAliasOf":"triplelift","attributes":{"inventoryCode":"SETUPAD_RON_300x250_Prebid_s2s","approval":"approved"}},"prebid":{"attGroupModuleName":"prebid","isSsp":0,"attGroupAliasOf":"","attributes":{"gam_key_prefix":"hb_","version":"8.27.0"}},"user_id":{"attGroupModuleName":"user_id","isSsp":0,"attGroupAliasOf":"","attributes":{"ppid":true,"sharedId":true}}}}];window.stpd.vars.type="saas";stpd.setConfiguration(__stpdTags);stpd.setPlacements(__stpdTags);stpd.processQueue();stpd.initialize();