Files
2026-11-16 01:39:59 +07:00

24 lines
677 KiB
Plaintext

/* prebid.js v7.39.0Updated : 2023-08-10*/!function(){var e,n={35706:function(e,n,t){t.d(n,{Pd:function(){return s},Th:function(){return c},_U:function(){return d}});var r=t(55730),i=t(64358),o=t(20265),a=t(34614),u="outstream";function c(e){var n=this,t=e.url,c=e.config,s=e.id,d=e.callback,f=e.loaded,l=e.adUnitCode,g=e.renderNow;this.url=t,this.config=c,this.handlers={},this.id=s,this.loaded=f,this.cmd=[],this.push=function(e){"function"==typeof e?n.loaded?e.call():n.cmd.push(e):(0,i.logError)("Commands given to Renderer.push must be wrapped in a function")},this.callback=d||function(){n.loaded=!0,n.process()},this.render=function(){var e=this,n=arguments,c=function(){e._render?e._render.apply(e,n):(0,i.logWarn)("No render function was provided, please use .setRender on the renderer")};!function(e){var n=owpbjs.adUnits,t=(0,a.sE)(n,(function(n){return n.code===e}));if(!t)return!1;var r=(0,o.Z)(t,"renderer"),i=!!(r&&r.url&&r.render),u=(0,o.Z)(t,"mediaTypes.video.renderer"),c=!!(u&&u.url&&u.render);return!!(i&&!0!==r.backupOnly||c&&!0!==u.backupOnly)}(l)?g?c():(this.cmd.unshift(c),(0,r.B)(t,u,this.callback,this.documentContext)):((0,i.logWarn)("External Js not loaded by Renderer since renderer url and callback is already defined on adUnit ".concat(l)),c())}.bind(this)}function s(e){return!(!e||!e.url)}function d(e,n,t){var r=null;e.config&&e.config.documentResolver&&(r=e.config.documentResolver(n,document,t)),r||(r=document),e.documentContext=r,e.render(n,e.documentContext)}c.install=function(e){return new c({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded,adUnitCode:e.adUnitCode,renderNow:e.renderNow})},c.prototype.getConfig=function(){return this.config},c.prototype.setRender=function(e){this._render=e},c.prototype.setEventHandlers=function(e){this.handlers=e},c.prototype.handleVideoEvent=function(e){var n=e.id,t=e.eventName;"function"==typeof this.handlers[t]&&this.handlers[t](),(0,i.logMessage)("Prebid Renderer event for id ".concat(n," type ").concat(t))},c.prototype.process=function(){for(;this.cmd.length>0;)try{this.cmd.shift().call()}catch(e){(0,i.logError)("Error processing Renderer command: ",e)}}},875:function(e,n,t){t.d(n,{f:function(){return a}});var r=t(20265),i={};function o(e,n,t){var r=function(e,n){var t=i[e]=i[e]||{bidders:{}};return n?t.bidders[n]=t.bidders[n]||{}:t}(e,t);return r[n]=(r[n]||0)+1,r[n]}var a={incrementRequestsCounter:function(e){return o(e,"requestsCounter")},incrementBidderRequestsCounter:function(e,n){return o(e,"requestsCounter",n)},incrementBidderWinsCounter:function(e,n){return o(e,"winsCounter",n)},getRequestsCounter:function(e){return(0,r.Z)(i,"".concat(e,".requestsCounter"))||0},getBidderRequestsCounter:function(e,n){return(0,r.Z)(i,"".concat(e,".bidders.").concat(n,".requestsCounter"))||0},getBidderWinsCounter:function(e,n){return(0,r.Z)(i,"".concat(e,".bidders.").concat(n,".winsCounter"))||0}}},48525:function(e,n,t){function r(e){var n=e;return{callBids:function(){},setBidderCode:function(e){n=e},getBidderCode:function(){return n}}}t.d(n,{Z:function(){return r}})},51039:function(e,n,t){t.d(n,{qJ:function(){return k},VP:function(){return M},ZP:function(){return H},JO:function(){return _},rp:function(){return Z},uV:function(){return F},TJ:function(){return N},Ct:function(){return z},nX:function(){return x}});var r=t(89062),i=t(93324),o=t(4942),a=t(64358),u=t(20265),c=t(71002),s=t(3193),d=t(34614),f=t(24679),l=[];function g(e,n){return e.labelAll?{labelAll:!0,labels:e.labelAll,activeLabels:n}:{labelAll:!1,labels:e.labelAny,activeLabels:n}}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.labels,t=void 0===n?[]:n,r=e.labelAll,i=void 0!==r&&r,o=e.activeLabels,c=void 0===o?[]:o,s=arguments.length>1?arguments[1]:void 0,g=arguments.length>2?arguments[2]:void 0,p=v(arguments.length>3&&void 0!==arguments[3]?arguments[3]:l);(0,a.isPlainObject)(s)||(s=g?{banner:{sizes:g}}:{});var m=(0,u.Z)(s,"banner.sizes");p.shouldFilter&&m&&((s=(0,a.deepClone)(s)).banner.sizes=m.filter((function(e){return p.sizesSupported[e]})));var h={active:!s.hasOwnProperty(f.Mk)||(0,u.Z)(s,"banner.sizes.length")>0&&(0===t.length||!i&&(t.some((function(e){return p.labels[e]}))||t.some((function(e){return(0,d.q9)(c,e)})))||i&&t.reduce((function(e,n){return e?p.labels[n]||(0,d.q9)(c,n):e}),!0)),mediaTypes:s};return m&&m.length!==s.banner.sizes.length&&(h.filterResults={before:m,after:s.banner.sizes}),h}function v(e){return e.reduce((function(e,n){if("object"===(0,c.Z)(n)&&"string"==typeof n.mediaQuery&&n.mediaQuery.length>0){var t=!1;try{t=(0,a.getWindowTop)().matchMedia(n.mediaQuery).matches}catch(e){(0,a.logWarn)("Unfriendly iFrame blocks sizeConfig from being correctly evaluated"),t=matchMedia(n.mediaQuery).matches}t&&(Array.isArray(n.sizesSupported)&&(e.shouldFilter=!0),["labels","sizesSupported"].forEach((function(t){return(n[t]||[]).forEach((function(n){return e[t][n]=!0}))})))}else(0,a.logWarn)('sizeConfig rule missing required property "mediaQuery"');return e}),{labels:{},sizesSupported:{},shouldFilter:!1})}s.vc.getConfig("sizeConfig",(function(e){return function(e){l=e}(e.sizeConfig)}));var m=t(70059),h=t(14699),y=t(48928),b=t(92797),w=t(875),E=t(25102),C=t(34516),A=t(52021),T=t(5644),I=t(99128),O=t(78653);function S(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function B(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?S(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):S(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var k={CLIENT:"client",SERVER:"server"},j={},U=j.bidderRegistry={},P=j.aliasRegistry={},R=[];s.vc.getConfig("s2sConfig",(function(e){e&&e.s2sConfig&&(R=(0,a.isArray)(e.s2sConfig)?e.s2sConfig:[e.s2sConfig])}));var q={};var D=(0,b.z3)("sync",(function(e){var n=e.bidderCode,t=e.auctionId,r=e.bidderRequestId,i=e.adUnits,o=e.src,c=e.metrics;return i.reduce((function(e,i){var s=i.bids.filter((function(e){return e.bidder===n}));return null==n&&0===s.length&&null!=i.s2sBid&&s.push({bidder:null}),e.push(s.reduce((function(e,n){var s=null==(n=Object.assign({},n,{ortb2Imp:(0,a.mergeDeep)({},i.ortb2Imp,n.ortb2Imp)},(0,a.getDefinedParams)(i,["nativeParams","nativeOrtbRequest","mediaType","renderer"]))).mediaTypes?i.mediaTypes:n.mediaTypes;return(0,a.isValidMediaTypes)(s)?n=Object.assign({},n,{mediaTypes:s}):(0,a.logError)("mediaTypes is not correctly configured for adunit ".concat(i.code)),e.push(Object.assign({},n,{adUnitCode:i.code,transactionId:i.transactionId,sizes:(0,u.Z)(s,"banner.sizes")||(0,u.Z)(s,"video.playerSize")||[],bidId:n.bid_id||(0,a.getUniqueIdentifierStr)(),bidderRequestId:r,auctionId:t,src:o,metrics:c,bidRequestsCount:w.f.getRequestsCounter(i.code),bidderRequestsCount:w.f.getBidderRequestsCounter(i.code,n.bidder),bidderWinsCount:w.f.getBidderWinsCounter(i.code,n.bidder)})),e}),[])),e}),[]).reduce(a.flatten,[]).filter((function(e){return""!==e}))}),"getBids");var _=(0,b.z3)("sync",(function(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).getS2SBidders;if(null==n)return e;var r=(void 0===t?F:t)(n);return e.filter((function(e){return r.has(e.bidder)}))}),"filterBidsForAdUnit");var Z=new C.iK,x=new C.LO,N=new C.$e,M={getCoppa:function(){return!!s.vc.getConfig("coppa")}},W=(0,b.z3)("sync",(function(e,n){return function(e,n){return e.reduce((function(e,t){var r=p(g(t,n),t.mediaTypes,t.sizes),i=r.active,o=r.mediaTypes,u=r.filterResults;return i?(u&&(0,a.logInfo)('Size mapping filtered adUnit "'.concat(t.code,'" banner sizes from '),u.before,"to ",u.after),t.mediaTypes=o,t.bids=t.bids.reduce((function(e,r){var i=p(g(r,n),t.mediaTypes),o=i.active,u=i.mediaTypes,c=i.filterResults;return o?(c&&((0,a.logInfo)('Size mapping filtered adUnit "'.concat(t.code,'" bidder "').concat(r.bidder,'" banner sizes from '),c.before,"to ",c.after),r.mediaTypes=u),e.push(r)):(0,a.logInfo)('Size mapping deactivated adUnit "'.concat(t.code,'" bidder "').concat(r.bidder,'"')),e}),[]),e.push(t)):(0,a.logInfo)('Size mapping disabled adUnit "'.concat(t.code,'"')),e}),[])}(e,n)}),"setupAdUnitMediaTypes");function F(e){(0,a.isArray)(e)||(e=[e]);var n=new Set([null]);return e.filter((function(e){return e&&e.enabled})).flatMap((function(e){return e.bidders})).forEach((function(e){return n.add(e)})),n}var z=(0,b.z3)("sync",(function(e,n){var t,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).getS2SBidders,i=(void 0===r?F:r)(n);return(0,a.getBidderCodes)(e).reduce((function(e,n){return e[i.has(n)?k.SERVER:k.CLIENT].push(n),e}),(t={},(0,o.Z)(t,k.CLIENT,[]),(0,o.Z)(t,k.SERVER,[]),t))}),"partitionBidders");function K(e,n){var t=U[e],r=(null==t?void 0:t.getSpec)&&t.getSpec();if(r&&r[n]&&"function"==typeof r[n])return[r,r[n]]}function L(e,n,t,r){try{(0,a.logInfo)("Invoking ".concat(e,".").concat(n));for(var i=arguments.length,o=new Array(i>4?i-4:0),u=4;u<i;u++)o[u-4]=arguments[u];s.vc.runWithBidder(e,r.bind.apply(r,[t].concat(o)))}catch(t){(0,a.logWarn)("Error calling ".concat(n," of ").concat(e))}}function G(e,n,t){var i=K(e,n);null!=i&&L.apply(void 0,[e,n].concat((0,r.Z)(i),[t]))}j.makeBidRequests=(0,b.z3)("sync",(function(e,n,t,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},u=arguments.length>6?arguments[6]:void 0;u=(0,I.Bf)(u),A.emit(T.FP.BEFORE_REQUEST_BIDS,e),(0,m.Fb)(e),e=W(e,i);var c=z(e,R),f=c[k.CLIENT],l=c[k.SERVER];s.vc.getConfig("bidderSequence")===s.FD&&(f=(0,a.shuffle)(f));var g=(0,E.nH)(),p=[],v=o.global||{},h=o.bidder||{};function y(e){var n=Object.freeze((0,a.mergeDeep)({},v,h[e.bidderCode]));return e.ortb2=n,e.bids.forEach((function(e){return e.ortb2=n})),e}R.forEach((function(r){if(r&&r.enabled){var i=function(e,n){var t=(0,a.deepClone)(e),r=!1;return t.forEach((function(e){var t=e.bids.filter((function(e){var t;return"pbsBidAdapter"===e.module&&(null===(t=e.params)||void 0===t?void 0:t.configName)===n.configName}));1===t.length?(e.s2sBid=t[0],r=!0,e.ortb2Imp=(0,a.mergeDeep)({},e.s2sBid.ortb2Imp,e.ortb2Imp)):t.length>1&&(0,a.logWarn)('Multiple "module" bids for the same s2s configuration; all will be ignored',t),e.bids=_(e.bids,n).map((function(e){return e.bid_id=(0,a.getUniqueIdentifierStr)(),e}))})),{adUnits:t=t.filter((function(e){return 0!==e.bids.length||null!=e.s2sBid})),hasModuleBids:r}}(e,r),o=i.adUnits,c=i.hasModuleBids,s=(0,a.generateUUID)();(0===l.length&&c?[null]:l).forEach((function(e){var i=(0,a.getUniqueIdentifierStr)(),c=u.fork(),d=y({bidderCode:e,auctionId:t,bidderRequestId:i,uniquePbsTid:s,bids:D({bidderCode:e,auctionId:t,bidderRequestId:i,adUnits:(0,a.deepClone)(o),src:T.os.YZ,metrics:c}),auctionStart:n,timeout:r.timeout,src:T.os.YZ,refererInfo:g,metrics:c});0!==d.bids.length&&p.push(d)})),o.forEach((function(e){var n=e.bids.filter((function(e){return(0,d.sE)(p,(function(n){return(0,d.sE)(n.bids,(function(n){return n.bidId===e.bid_id}))}))}));e.bids=n})),p.forEach((function(e){void 0===e.adUnitsS2SCopy&&(e.adUnitsS2SCopy=o.filter((function(e){return e.bids.length>0||null!=e.s2sBid})))}))}}));var b=function(e){var n=(0,a.deepClone)(e);return n.forEach((function(e){e.bids=_(e.bids,null)})),n.filter((function(e){return 0!==e.bids.length}))}(e);return f.forEach((function(e){var o=(0,a.getUniqueIdentifierStr)(),c=u.fork(),s=y({bidderCode:e,auctionId:t,bidderRequestId:o,bids:D({bidderCode:e,auctionId:t,bidderRequestId:o,adUnits:(0,a.deepClone)(b),labels:i,src:"client",metrics:c}),auctionStart:n,timeout:r,refererInfo:g,metrics:c}),d=U[e];d||(0,a.logError)("Trying to make a request for bidder that does not exist: ".concat(e)),d&&s.bids&&0!==s.bids.length&&p.push(s)})),p.forEach((function(e){Z.getConsentData()&&(e.gdprConsent=Z.getConsentData()),x.getConsentData()&&(e.uspConsent=x.getConsentData()),N.getConsentData()&&(e.gppConsent=N.getConsentData())})),p.forEach((function(e){s.vc.runWithBidder(e.bidderCode,(function(){var n=s.vc.getConfig("fledgeEnabled");e.fledgeEnabled=navigator.runAdAuction&&n}))})),p}),"makeBidRequests"),j.callBids=function(e,n,t,r,o,u,c){var d=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{};if(n.length){var f=n.reduce((function(e,n){return e[Number(void 0!==n.src&&n.src===T.os.YZ)].push(n),e}),[[],[]]),l=(0,i.Z)(f,2),g=l[0],p=l[1],v=[];p.forEach((function(e){for(var n=-1,t=0;t<v.length;++t)if(e.uniquePbsTid===v[t].uniquePbsTid){n=t;break}n<=-1&&v.push(e)}));var m=0;R.forEach((function(e){if(e&&v[m]&&F(e).has(v[m].bidderCode)){var n=(0,y.O)(u,o?{request:o.request.bind(null,"s2s"),done:o.done}:void 0),i=e.bidders,c=U[e.adapter],s=v[m].uniquePbsTid,f=v[m].adUnitsS2SCopy,l=p.filter((function(e){return e.uniquePbsTid===s}));if(c){var g={ad_units:f,s2sConfig:e,ortb2Fragments:d};if(g.ad_units.length){var h=l.map((function(e){return e.start=(0,a.timestamp)(),r.bind(e)})),b=(0,a.getBidderCodes)(g.ad_units).filter((function(e){return i.includes(e)}));(0,a.logMessage)("CALLING S2S HEADER BIDDERS ==== ".concat(b.length>0?b.join(", "):'No bidder specified, using "ortb2Imp" definition(s) only')),l.forEach((function(e){A.emit(T.FP.BID_REQUESTED,B(B({},e),{},{tid:e.auctionId}))})),c.callBids(g,p,t,(function(){return h.forEach((function(e){return e()}))}),n)}}else(0,a.logError)("missing "+e.adapter);m++}})),g.forEach((function(e){e.start=(0,a.timestamp)();var n=U[e.bidderCode];s.vc.runWithBidder(e.bidderCode,(function(){(0,a.logMessage)("CALLING BIDDER"),A.emit(T.FP.BID_REQUESTED,e)}));var i=(0,y.O)(u,o?{request:o.request.bind(null,e.bidderCode),done:o.done}:void 0),d=r.bind(e);try{s.vc.runWithBidder(e.bidderCode,a.bind.call(n.callBids,n,e,t,d,i,c,s.vc.callbackWithBidder(e.bidderCode)))}catch(n){(0,a.logError)("".concat(e.bidderCode," Bid Adapter emitted an uncaught error when parsing their bidRequest"),{e:n,bidRequest:e}),d()}}))}else(0,a.logWarn)("callBids executed with no bidRequests. Were they filtered by labels or sizing?")},j.videoAdapters=[],j.registerBidAdapter=function(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,r=void 0===t?[]:t;e&&n?"function"==typeof e.callBids?(U[n]=e,(0,d.q9)(r,"video")&&j.videoAdapters.push(n),(0,d.q9)(r,"native")&&m.Sg.push(n)):(0,a.logError)("Bidder adaptor error for bidder code: "+n+"bidder must implement a callBids() function"):(0,a.logError)("bidAdapter or bidderCode not specified")},j.aliasBidAdapter=function(e,n,t){if(void 0===U[n]){var r=U[e];if(void 0===r){var i=[];R.forEach((function(t){if(t.bidders&&t.bidders.length){var r=t&&t.bidders;t&&(0,d.q9)(r,n)?P[n]=e:i.push(e)}})),i.forEach((function(e){(0,a.logError)('bidderCode "'+e+'" is not an existing bidder.',"adapterManager.aliasBidAdapter")}))}else try{var o,u=function(e){var n=[];return(0,d.q9)(j.videoAdapters,e)&&n.push("video"),(0,d.q9)(m.Sg,e)&&n.push("native"),n}(e);if(r.constructor.prototype!=Object.prototype)(o=new r.constructor).setBidderCode(n);else{var c=r.getSpec(),s=t&&t.gvlid,f=t&&t.skipPbsAliasing;o=(0,h.PZ)(Object.assign({},c,{code:n,gvlid:s,skipPbsAliasing:f})),P[n]=e}j.registerBidAdapter(o,n,{supportedMediaTypes:u})}catch(n){(0,a.logError)(e+" bidder does not currently support aliasing.","adapterManager.aliasBidAdapter")}}else(0,a.logMessage)('alias name "'+n+'" has been already specified.')},j.registerAnalyticsAdapter=function(e){var n=e.adapter,t=e.code,r=e.gvlid;n&&t?"function"==typeof n.enableAnalytics?(n.code=t,q[t]={adapter:n,gvlid:r}):(0,a.logError)('Prebid Error: Analytics adaptor error for analytics "'.concat(t,'"\n analytics adapter must implement an enableAnalytics() function')):(0,a.logError)("Prebid Error: analyticsAdapter or analyticsCode not specified")},j.enableAnalytics=function(e){(0,a.isArray)(e)||(e=[e]),(0,a._each)(e,(function(e){var n=q[e.provider];n&&n.adapter?n.adapter.enableAnalytics(e):(0,a.logError)("Prebid Error: no analytics adapter found in registry for '".concat(e.provider,"'."))}))},j.getBidAdapter=function(e){return U[e]},j.getAnalyticsAdapter=function(e){return q[e]},j.callTimedOutBidders=function(e,n,t){n=n.map((function(n){return n.params=(0,a.getUserConfiguredParams)(e,n.adUnitCode,n.bidder),n.timeout=t,n})),n=(0,a.groupBy)(n,"bidder"),Object.keys(n).forEach((function(e){G(e,"onTimeout",n[e])}))},j.callBidWonBidder=function(e,n,t){n.params=(0,a.getUserConfiguredParams)(t,n.adUnitCode,n.bidder),w.f.incrementBidderWinsCounter(n.adUnitCode,n.bidder),G(e,"onBidWon",n)},j.callSetTargetingBidder=function(e,n){G(e,"onSetTargeting",n)},j.callBidViewableBidder=function(e,n){G(e,"onBidViewable",n)},j.callBidderError=function(e,n,t){G(e,"onBidderError",{error:n,bidderRequest:t})},j.callDataDeletionRequest=(0,b.z3)("sync",(function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];var o="onDataDeletionRequest";Object.keys(U).filter((function(e){return!P.hasOwnProperty(e)})).forEach((function(e){var t=K(e,o);if(null!=t){var i=O.K.getBidsRequested().filter((function(n){return function(e){for(var n=new Set;P.hasOwnProperty(e)&&!n.has(e);)n.add(e),e=P[e];return e}(n.bidderCode)===e}));L.apply(void 0,[e,o].concat((0,r.Z)(t),[i],n))}})),Object.entries(q).forEach((function(e){var t,r=(0,i.Z)(e,2),u=r[0],c=r[1],s=null==c||null===(t=c.adapter)||void 0===t?void 0:t[o];if("function"==typeof s)try{s.apply(c.adapter,n)}catch(e){(0,a.logError)("error calling ".concat(o," of ").concat(u),e)}}))}));var H=j},14699:function(e,n,t){t.d(n,{JY:function(){return P},Ks:function(){return k},PZ:function(){return S},Q1:function(){return U},dX:function(){return O}});var r=t(93324),i=t(71002),o=t(48525),a=t(51039),u=t(3193),c=t(69626),s=t(11974),d=t(70059),f=t(90154),l=t(5644),g=t(52021),p=t(34614),v=t(48928),m=t(64358),h=t(20265),y=t(24679),b=t(92797),w=t(15164),E=t(78653),C=t(55975),A=t(99128),T=(0,w.eA)("bidderFactory"),I=["cpm","ttl","creativeId","netRevenue","currency"];function O(e){var n=Array.isArray(e.supportedMediaTypes)?{supportedMediaTypes:e.supportedMediaTypes}:void 0;function t(e){var t=S(e);a.ZP.registerBidAdapter(t,e.code,n)}t(e),Array.isArray(e.aliases)&&e.aliases.forEach((function(n){var r,i,o=n;(0,m.isPlainObject)(n)&&(o=n.code,r=n.gvlid,i=n.skipPbsAliasing),a.ZP.aliasRegistry[o]=e.code,t(Object.assign({},e,{code:o,gvlid:r,skipPbsAliasing:i}))}))}function S(e){return Object.assign(new o.Z(e.code),{getSpec:function(){return Object.freeze(e)},registerSyncs:n,callBids:function(r,i,o,s,d,f){if(Array.isArray(r.bids)){var p={},v=[],h=R(r).measureTime("validate",(function(){return r.bids.filter(t)}));if(0!==h.length){var y={};h.forEach((function(e){y[e.bidId]=e,e.adUnitCode||(e.adUnitCode=e.placementCode)})),B(e,h,r,s,f,{onRequest:function(e){return g.emit(l.FP.BEFORE_BIDDER_HTTP,r,e)},onResponse:function(n){d(e.code),v.push(n)},onFledgeAuctionConfigs:function(e){e.forEach((function(e){var n=y[e.bidId];n&&j(n,e)}))},onError:function(n,t){d(e.code),a.ZP.callBidderError(e.code,t,r),g.emit(l.FP.BIDDER_ERROR,{error:t,bidderRequest:r}),(0,m.logError)("Server call for ".concat(e.code," failed: ").concat(n," ").concat(t.status,". Continuing without bids."))},onBid:function(n){var t=y[n.requestId];if(t){if(n.adapterCode=t.bidder,function(e,n){var t=C.S.get(n,"allowAlternateBidderCodes")||!1,r=C.S.get(n,"allowedAlternateBidderCodes");if(e&&n&&n!==e&&(r=(0,m.isArray)(r)?r.map((function(e){return e.trim().toLowerCase()})).filter((function(e){return!!e})).filter(m.uniques):r,!t||(0,m.isArray)(r)&&"*"!==r[0]&&!r.includes(e)))return!0;return!1}(n.bidderCode,t.bidder))return(0,m.logWarn)("".concat(n.bidderCode," is not a registered partner or known bidder of ").concat(t.bidder,", hence continuing without bid. If you wish to support this bidder, please mark allowAlternateBidderCodes as true in bidderSettings.")),void i.reject(t.adUnitCode,n,l.Gw.Dg);n.originalCpm=n.cpm,n.originalCurrency=n.currency,n.meta=n.meta||Object.assign({},n[t.bidder]);var r=Object.assign((0,c.m)(l.Q_.GOOD,t),n);!function(e,n){var t=(0,A.Bf)(n.metrics);t.checkpoint("addBidResponse"),p[e]=!0,t.measureTime("addBidResponse.validate",(function(){return P(e,n)}))?i(e,n):i.reject(e,n,l.Gw.UI)}(t.adUnitCode,r)}else(0,m.logWarn)("Bidder ".concat(e.code," made bid for unknown request ID: ").concat(n.requestId,". Ignoring.")),i.reject(null,n,l.Gw.Gp)},onCompletion:b})}else b()}function b(){o(),u.vc.runWithBidder(e.code,(function(){g.emit(l.FP.BIDDER_DONE,r),n(v,r.gdprConsent,r.uspConsent,r.gppConsent)}))}}});function n(n,t,r,i){k(e,n,t,r,i)}function t(n){return!!e.isBidRequestValid(n)||((0,m.logWarn)("Invalid bid sent to bidder ".concat(e.code,": ").concat(JSON.stringify(n))),!1)}}var B=(0,b.z3)("sync",(function(e,n,t,r,o,a){var u=a.onRequest,c=a.onResponse,s=a.onFledgeAuctionConfigs,d=a.onError,f=a.onBid,l=a.onCompletion,g=R(t);l=g.startTiming("total").stopBefore(l);var p=g.measureTime("buildRequests",(function(){return e.buildRequests(n,t)}));if(p&&0!==p.length){Array.isArray(p)||(p=[p]);var v=(0,m.delayExecution)(l,p.length);p.forEach((function(n){var t=g.fork();function a(e){null!=e&&(e.metrics=t.fork().renameWith()),f(e)}var l=o((function(r,i){h();try{r=JSON.parse(r)}catch(e){}r={body:r,headers:{get:i.getResponseHeader.bind(i)}},c(r);try{r=t.measureTime("interpretResponse",(function(){return e.interpretResponse(r,n)}))}catch(n){return(0,m.logError)("Bidder ".concat(e.code," failed to interpret the server's response. Continuing without bids"),null,n),void v()}var o;r&&(0,m.isArray)(r.fledgeAuctionConfigs)?(s(r.fledgeAuctionConfigs),o=r.bids):o=r,o&&((0,m.isArray)(o)?o.forEach(a):a(o)),v()})),p=o((function(e,n){h(),d(e,n),v()}));u(n);var h=t.startTiming("net");switch(n.method){case"GET":r("".concat(n.url).concat(function(e){if(e)return"?".concat("object"===(0,i.Z)(e)?(0,m.parseQueryStringParameters)(e):e);return""}(n.data)),{success:l,error:p},void 0,Object.assign({method:"GET",withCredentials:!0},n.options));break;case"POST":r(n.url,{success:l,error:p},"string"==typeof n.data?n.data:JSON.stringify(n.data),Object.assign({method:"POST",contentType:"text/plain",withCredentials:!0},n.options));break;default:(0,m.logWarn)("Skipping invalid request from ".concat(e.code,". Request type ").concat(n.type," must be GET or POST")),v()}}))}else l()}),"processBidderRequests"),k=(0,b.z3)("async",(function(e,n,t,r,i){var o=u.vc.getConfig("userSync.aliasSyncEnabled");if(e.getUserSyncs&&(o||!a.ZP.aliasRegistry[e.code])){var c=u.vc.getConfig("userSync.filterSettings"),d=e.getUserSyncs({iframeEnabled:!(!c||!c.iframe&&!c.all),pixelEnabled:!(!c||!c.image&&!c.all)},n,t,r,i);d&&(Array.isArray(d)||(d=[d]),d.forEach((function(n){s.k_.registerSync(n.type,e.code,n.url)})))}}),"registerSyncs"),j=(0,b.z3)("sync",(function(e,n){(0,m.logInfo)("bidderFactory.addComponentAuction",n)}),"addComponentAuction");function U(e,n){var t=a.ZP.getBidAdapter(e);if(t.getSpec().getMappingFileInfo){var r=t.getSpec().getMappingFileInfo(),i=r.localStorageKey?r.localStorageKey:t.getBidderCode(),o=T.getDataFromLocalStorage(i);if(o){try{o=JSON.parse(o)}catch(n){(0,m.logError)("Failed to parse ".concat(e," mapping data stored in local storage"))}return o.mapping[n]?o.mapping[n]:null}}}function P(e,n){var t,i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,o=void 0===i?E.K.index:i;function a(e){return"Invalid bid from ".concat(n.bidderCode,". Ignoring bid: ").concat(e)}return e?n?(t=Object.keys(n),I.every((function(e){return(0,p.q9)(t,e)&&!(0,p.q9)([void 0,null],n[e])}))?"native"!==n.mediaType||(0,d.r4)(n,{index:o})?"video"!==n.mediaType||(0,f.Dn)(n,{index:o})?!("banner"===n.mediaType&&!function(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,i=void 0===t?E.K.index:t;if((n.width||0===parseInt(n.width,10))&&(n.height||0===parseInt(n.height,10)))return n.width=parseInt(n.width,10),n.height=parseInt(n.height,10),!0;var o=i.getBidRequest(n),a=i.getMediaTypes(n),u=o&&o.sizes||a&&a.banner&&a.banner.sizes,c=(0,m.parseSizesInput)(u);if(1===c.length){var s=c[0].split("x"),d=(0,r.Z)(s,2),f=d[0],l=d[1];return n.width=parseInt(f,10),n.height=parseInt(l,10),!0}return!1}(e,n,{index:o}))||((0,m.logError)(a("Banner bids require a width and height")),!1):((0,m.logError)(a("Video bid does not have required vastUrl or renderer property")),!1):((0,m.logError)(a("Native bid missing some required properties.")),!1):((0,m.logError)(a("Bidder ".concat(n.bidderCode," is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params."))),!1)):((0,m.logWarn)("Some adapter tried to add an undefined bid for ".concat(e,".")),!1):((0,m.logWarn)("No adUnitCode was supplied to addBidResponse."),!1)}function R(e){return(0,A.Bf)(e.metrics).renameWith((function(n){return["adapter.client.".concat(n),"adapters.client.".concat(e.bidderCode,".").concat(n)]}))}(0,b.v5)("checkAdUnitSetup").before((function(e,n){if(!u.vc.getConfig("adpod.brandCategoryExclusion"))return e.call(this,n);n.filter((function(e){return(0,h.Z)(e,"mediaTypes.video.context")===y.Oh})).map((function(e){return e.bids.map((function(e){return e.bidder}))})).reduce(m.flatten,[]).filter(m.uniques).forEach((function(e){var n=a.ZP.getBidAdapter(e);if(n.getSpec().getMappingFileInfo){var t=n.getSpec().getMappingFileInfo(),r=t.refreshInDays?t.refreshInDays:1,i=t.localStorageKey?t.localStorageKey:n.getSpec().code,o=T.getDataFromLocalStorage(i);try{(!(o=o?JSON.parse(o):void 0)||(0,m.timestamp)()>o.lastUpdated+24*r*60*60*1e3)&&(0,v.h)(t.url,{success:function(n){try{n=JSON.parse(n);var t={lastUpdated:(0,m.timestamp)(),mapping:n.mapping};T.setDataInLocalStorage(i,JSON.stringify(t))}catch(n){(0,m.logError)("Failed to parse ".concat(e," bidder translation mapping file"))}},error:function(){(0,m.logError)("Failed to load ".concat(e," bidder translation file"))}})}catch(n){(0,m.logError)("Failed to parse ".concat(e," bidder translation mapping file"))}}})),e.call(this,n)}))},55730:function(e,n,t){t.d(n,{B:function(){return u}});var r=t(34614),i=t(64358),o=new WeakMap,a=["debugging","adloox","criteo","outstream","adagio","spotx","browsi","brandmetrics","justtag","tncId","akamaidap","ftrackId","inskin","hadron","medianet","improvedigital","aaxBlockmeter","pbjs-debug-ui","confiant","arcspan"];function u(e,n,t,u,c){if(n&&e){if((0,r.q9)(a,n)){u||(u=document);var s=l(u,e);if(s)return t&&"function"==typeof t&&(s.loaded?t():s.callbacks.push(t)),s.tag;var d=o.get(u)||{},f={loaded:!1,tag:null,callbacks:[]};return d[e]=f,o.set(u,d),t&&"function"==typeof t&&f.callbacks.push(t),(0,i.logWarn)("module ".concat(n," is loading external JavaScript")),function(n,t,r,o){r||(r=document);var a=r.createElement("script");a.type="text/javascript",a.async=!0;var u=l(r,e);u&&(u.tag=a);a.readyState?a.onreadystatechange=function(){"loaded"!==a.readyState&&"complete"!==a.readyState||(a.onreadystatechange=null,t())}:a.onload=function(){t()};a.src=n,o&&(0,i.setScriptAttributes)(a,o);return(0,i.insertElement)(a,r),a}(e,(function(){f.loaded=!0;try{for(var e=0;e<f.callbacks.length;e++)f.callbacks[e]()}catch(e){(0,i.logError)("Error executing callback","adloader.js:loadExternalScript",e)}}),u,c)}(0,i.logError)("".concat(n," not whitelisted for loading external JavaScript"))}else(0,i.logError)("cannot load external script without url and moduleCode");function l(e,n){var t=o.get(e);return t&&t[n]?t[n]:null}}},48928:function(e,n,t){t.d(n,{O:function(){return c},h:function(){return u}});var r=t(71002),i=t(3193),o=t(64358),a=4,u=c();function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.request,u=n.done;return function(n,c,s){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var f,l=d.method||(s?"POST":"GET"),g=document.createElement("a");g.href=n;var p="object"===(0,r.Z)(c)&&null!==c?c:{success:function(){(0,o.logMessage)("xhr success")},error:function(e){(0,o.logError)("xhr error",null,e)}};if("function"==typeof c&&(p.success=c),(f=new window.XMLHttpRequest).onreadystatechange=function(){if(f.readyState===a){"function"==typeof u&&u(g.origin);var e=f.status;e>=200&&e<300||304===e?p.success(f.responseText,f):p.error(f.statusText,f)}},i.vc.getConfig("disableAjaxTimeout")||(f.ontimeout=function(){(0,o.logError)(" xhr timeout after ",f.timeout,"ms")}),"GET"===l&&s){var v=(0,o.parseUrl)(n,d);Object.assign(v.search,s),n=(0,o.buildUrl)(v)}f.open(l,n,!0),i.vc.getConfig("disableAjaxTimeout")||(f.timeout=e),d.withCredentials&&(f.withCredentials=!0),(0,o._each)(d.customHeaders,(function(e,n){f.setRequestHeader(n,e)})),d.preflight&&f.setRequestHeader("X-Requested-With","XMLHttpRequest"),f.setRequestHeader("Content-Type",d.contentType||"text/plain"),"function"==typeof t&&t(g.origin),"POST"===l&&s?f.send(s):f.send()}catch(e){(0,o.logError)("xhr construction",e),"object"===(0,r.Z)(c)&&null!==c&&c.error(e)}}}},25686:function(e,n,t){t.d(n,{D$:function(){return L},LX:function(){return X},RH:function(){return H},Yt:function(){return D},Yw:function(){return B},dg:function(){return V},e0:function(){return _},lU:function(){return N},mv:function(){return k},sq:function(){return x},vO:function(){return q}});var r=t(93324),i=t(71002),o=t(64358),a=t(20265),u=t(56463),c=t(70059),s=t(79885),d=t(35706),f=t(3193),l=t(11974),g=t(92797),p=t(34614),v=t(90154),m=t(24679),h=t(78653),y=t(55975),b=t(52021),w=t(51039),E=t(5644),C=t(68792),A=t(99128),T=t(69626),I=t(36066),O=l.k_.syncUsers,S="started",B="inProgress",k="completed";b.on(E.FP.BID_ADJUSTMENT,(function(e){!function(e){var n=(0,I.O)(e.cpm,e);n>=0&&(e.cpm=n)}(e)}));var j=4,U={},P={},R=[];function q(e){var n=e.adUnits,t=e.adUnitCodes,c=e.callback,s=e.cbTimeout,l=e.labels,g=e.auctionId,y=e.ortb2Fragments,I=e.metrics;I=(0,A.Bf)(I);var q,x,M,W,z=n,K=l,H=t,V=g||(0,o.generateUUID)(),Q=s,J=new Set,Y=[],X=c,$=[],ne=[],te=[],re=[],ie=[];function oe(){return{auctionId:V,timestamp:q,auctionEnd:x,auctionStatus:W,adUnits:z,adUnitCodes:H,labels:K,bidderRequests:$,noBids:te,bidsReceived:ne,bidsRejected:Y,winningBids:re,timeout:Q,metrics:I,seatNonBids:ie}}function ae(e,t){if(t&&clearTimeout(M),void 0===x){var r=[];e&&((0,o.logMessage)("Auction ".concat(V," timedOut")),i=J,(r=$.map((function(e){return(e.bids||[]).filter((function(e){return!i.has(e.bidder)}))})).reduce(o.flatten,[])).length&&b.emit(E.FP.BID_TIMEOUT,r)),W=k,x=Date.now(),I.checkpoint("auctionEnd"),I.timeBetween("requestBids","auctionEnd","requestBids.total"),I.timeBetween("callBids","auctionEnd","requestBids.callBids"),b.emit(E.FP.AUCTION_END,oe()),Z(z,(function(){try{if(null!=X){var t=H,i=ne.filter(o.bind.call(o.adUnitsFilter,this,t)).reduce(ee,{});X.apply(owpbjs,[i,e,V]),X=null}}catch(e){(0,o.logError)("Error executing bidsBackHandler",null,e)}finally{r.length&&w.ZP.callTimedOutBidders(n,r,Q);var a=f.vc.getConfig("userSync")||{};a.enableOverride||O(a.syncDelay)}}))}var i}function ue(){f.vc.resetBidder(),(0,o.logInfo)("Bids Received for Auction with id: ".concat(V),ne),W=k,ae(!1,!0)}function ce(e){J.add(e)}function se(e){var n=this;e.forEach((function(e){var n;n=e,$=$.concat(n)}));var t={},c={bidRequests:e,run:function(){var c,g;c=ae.bind(null,!0),g=setTimeout(c,Q),M=g,W=B,b.emit(E.FP.AUCTION_INIT,oe());var A=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=t.index,s=void 0===c?h.K.index:c,l=0,g=!1,y=new Set,w={},A={};function I(e,n){null==A[e]&&(A[e]=C.Z.resolve()),A[e]=A[e].then((function(){return C.Z.resolve(n).catch((function(){}))}))}function O(e,t){var r=e.timeout;(null==r||r>n.getTimeout())&&(r=n.getTimeout());var i=n.getAuctionStart()+r-Date.now(),o=A[e.bidderRequestId],a=A[""];(null!=o||null!=a)&&i>0?C.Z.race([C.Z.timeout(i),C.Z.resolve(a).then((function(){return o}))]).then(t):t()}function S(){l--,g&&0===l&&e()}function B(e,n,t){return w[n.requestId]=!0,function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.index,i=void 0===r?h.K.index:r,a=i.getBidderRequest(e),u=i.getAdUnit(e),c=a&&a.start||e.requestTimestamp;Object.assign(e,{responseTimestamp:e.responseTimestamp||(0,o.timestamp)(),requestTimestamp:e.requestTimestamp||c,cpm:parseFloat(e.cpm)||0,bidder:e.bidder||e.bidderCode,adUnitCode:n}),null!=(null==u?void 0:u.ttlBuffer)&&(e.ttlBuffer=u.ttlBuffer);e.timeToRespond=e.responseTimestamp-e.requestTimestamp}(n,e),l++,t(S)}function k(e,t){B(e,t,(function(e){var r=function(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.index,o=void 0===r?h.K.index:r;b.emit(E.FP.BID_ADJUSTMENT,e);var a=(null===(n=o.getBidRequest(e))||void 0===n?void 0:n.renderer)||o.getAdUnit(e).renderer,c=e.mediaType,s=o.getMediaTypes(e),l=s&&s[c],g=l&&l.renderer,p=null;g&&g.url&&g.render&&(!0!==g.backupOnly||!e.renderer)?p=g:a&&a.url&&a.render&&(!0!==a.backupOnly||!e.renderer)&&(p=a);p&&(e.renderer=d.Th.install({url:p.url,config:p.options}),e.renderer.setRender(p.render));var v=G(e.mediaType,s,f.vc.getConfig("mediaTypePriceGranularity")),m=(0,u.D)(e.cpm,"object"===(0,i.Z)(v)?v:f.vc.getConfig("customPriceBucket"),f.vc.getConfig("currency.granularityMultiplier"));return e.pbLg=m.low,e.pbMg=m.med,e.pbHg=m.high,e.pbAg=m.auto,e.pbDg=m.dense,e.pbCg=m.custom,e}(t);r.mediaType===m.pX?function(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.index,u=void 0===i?h.K.index:i,c=!0,s=(0,a.Z)(u.getMediaTypes({requestId:n.originalRequestId||n.requestId,transactionId:n.transactionId}),"video"),d=s&&(0,a.Z)(s,"context"),l=s&&(0,a.Z)(s,"useCacheKey");f.vc.getConfig("cache.url")&&(l||d!==v.gZ)&&(!n.videoCacheKey||f.vc.getConfig("cache.ignoreBidderCacheKey")?(c=!1,L(e,n,t,s)):n.vastUrl||((0,o.logError)("videoCacheKey specified but not required vastUrl for video bid"),c=!1));c&&(N(e,n),t())}(n,r,e):(null!=r.native&&"object"===(0,i.Z)(r.native)&&F(r),N(n,r),e())}))}function j(e,t,i){return B(e,t,(function(e){var a,u=(0,T.m)(E.Q_.NO_BID,null===(a=t.getIdentifiers)||void 0===a?void 0:a.call(t));return Object.assign(u,Object.fromEntries(Object.entries(t).filter((function(e){var n=(0,r.Z)(e,1)[0];return!u.hasOwnProperty(n)&&!["ad","adUrl","vastXml","vastUrl","native"].includes(n)})))),u.width=t.width,u.height=t.height,u.mediaType=t.mediaType,u.status=E.UE.G9,u.cpm=0,t.rejectionReason=i,(0,o.logWarn)("Bid from ".concat(t.bidder||"unknown bidder"," was rejected: ").concat(i),t),b.emit(E.FP.BID_REJECTED,t),n.addBidRejected(t),e(),u}))}function U(){var t=this,r=n.getBidRequests(),i=f.vc.getConfig("auctionOptions");if(y.add(t),i&&!(0,o.isEmpty)(i)){var a=i.secondaryBidders;a&&!r.every((function(e){return(0,p.q9)(a,e.bidderCode)}))&&(r=r.filter((function(e){return!(0,p.q9)(a,e.bidderCode)})))}g=r.every((function(e){return y.has(e)})),t.bids.forEach((function(e){w[e.bidId]||(n.addNoBid(e),b.emit(E.FP.NO_BID,e))})),g&&0===l&&e()}return{addBidResponse:function(){function e(e,n){var t,r=s.getBidderRequest(n);I(r&&r.bidderRequestId||"",D.call({dispatch:k},e,n,(function(r){return null==t&&(t=j(e,n,r)),t})))}return e.reject=j,e}(),adapterDone:function(){O(this,U.bind(this))}}}(ue,n);w.ZP.callBids(z,e,A.addBidResponse,A.adapterDone,{request:function(e,n){l(U,n),l(t,e),P[e]||(P[e]={SRA:!0,origin:n}),t[e]>1&&(P[e].SRA=!1)},done:function(e){U[e]--,R[0]&&s(R[0])&&R.shift()}},Q,ce,y)}};function s(e){var n=!0,t=f.vc.getConfig("maxRequestsPerOrigin")||j;return e.bidRequests.some((function(e){var r=1,i=void 0!==e.src&&e.src===E.os.YZ?"s2s":e.bidderCode;return P[i]&&(!1===P[i].SRA&&(r=Math.min(e.bids.length,t)),U[P[i].origin]+r>t&&(n=!1)),!n})),n&&e.run(),n}function l(e,n){void 0===e[n]?e[n]=1:e[n]++}s(c)||((0,o.logWarn)("queueing auction due to limited endpoint capacity"),R.push(c))}return b.on(E.FP.SEAT_NON_BID,(function(e){var n;e.auctionId===V&&(n=e.seatnonbid,ie=ie.concat(n))})),{addBidReceived:function(e){ne=ne.concat(e)},addBidRejected:function(e){Y=Y.concat(e)},addNoBid:function(e){te=te.concat(e)},executeCallback:ae,callBids:function(){W=S,q=Date.now();var e=I.measureTime("requestBids.makeRequests",(function(){return w.ZP.makeBidRequests(z,q,V,Q,K,y,I)}));(0,o.logInfo)("Bids Requested for Auction with id: ".concat(V),e),I.checkpoint("callBids"),e.length<1?((0,o.logWarn)("No valid bid requests returned for auction"),ue()):_.call({dispatch:se,context:this},e)},addWinningBid:function(e){re=re.concat(e),w.ZP.callBidWonBidder(e.adapterCode||e.bidder,e,n)},setBidTargeting:function(e){w.ZP.callSetTargetingBidder(e.adapterCode||e.bidder,e)},getWinningBids:function(){return re},getAuctionStart:function(){return q},getTimeout:function(){return Q},getAuctionId:function(){return V},getAuctionStatus:function(){return W},getAdUnits:function(){return z},getAdUnitCodes:function(){return H},getBidRequests:function(){return $},getBidsReceived:function(){return ne},getNoBids:function(){return te},getNonBids:function(){return ie},getFPD:function(){return y},getMetrics:function(){return I}}}var D=(0,g.z3)("sync",(function(e,n,t){this.dispatch.call(null,e,n)}),"addBidResponse"),_=(0,g.z3)("sync",(function(e){this.dispatch.call(this.context,e)}),"addBidderRequests"),Z=(0,g.z3)("async",(function(e,n){n&&n()}),"bidsBackCallback");function x(e,n){n.timeToRespond>e.getTimeout()+f.vc.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function N(e,n){!function(e){var n,t=!0===y.S.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0;e.bidderCode&&(t||e.dealId)&&(n=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.index,i=void 0===r?h.K.index:r;if(!n)return{};var o=i.getBidRequest(n),a={},u=X(n.mediaType,e);$(a,u,n,o),e&&y.S.getOwn(e,E.k2.xn)&&($(a,y.S.ownSettingsFor(e),n,o),n.sendStandardTargeting=y.S.get(e,"sendStandardTargeting"));n.native&&(a=Object.assign({},a,(0,c.Ur)(n)));return a}(e.bidderCode,e));e.adserverTargeting=Object.assign(e.adserverTargeting||{},n)}(n),(0,A.Bf)(n.metrics).timeSince("addBidResponse","addBidResponse.total"),b.emit(E.FP.BID_RESPONSE,n),e.addBidReceived(n),x(e,n)}var M,W,F=function(e){var n,t,r=null===(n=h.K.index.getAdUnit(e))||void 0===n?void 0:n.nativeOrtbRequest,i=null===(t=e.native)||void 0===t?void 0:t.ortb;if(r&&i){var o=(0,c.zq)(i,r);Object.assign(e.native,o)}},z=function(e){(0,s.h)(e.map((function(e){return e.bidResponse})),(function(n,t){t.forEach((function(t,r){var i=e[r],a=i.auctionInstance,u=i.bidResponse,c=i.afterBidAdded;n?((0,o.logWarn)("Failed to save to the video cache: ".concat(n,". Video bid must be discarded.")),x(a,u)):""===t.uuid?((0,o.logWarn)("Supplied video cache key was already in use by Prebid Cache; caching attempt was rejected. Video bid must be discarded."),x(a,u)):(u.videoCacheKey=t.uuid,u.vastUrl||(u.vastUrl=(0,s.z)(u.videoCacheKey)),N(a,u),c())}))}))};f.vc.getConfig("cache",(function(e){M="number"==typeof e.cache.batchSize&&e.cache.batchSize>0?e.cache.batchSize:1,W="number"==typeof e.cache.batchTimeout&&e.cache.batchTimeout>0?e.cache.batchTimeout:0}));var K=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:setTimeout,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z,t=[[]],r=!1,i=function(e){return e()};return function(o,a,u){var c=W>0?e:i;t[t.length-1].length>=M&&t.push([]),t[t.length-1].push({auctionInstance:o,bidResponse:a,afterBidAdded:u}),r||(r=!0,c((function(){t.forEach(n),t=[[]],r=!1}),W))}}(),L=(0,g.z3)("async",(function(e,n,t,r){K(e,n,t)}),"callPrebidCache");function G(e,n,t){if(e&&t){if(e===m.pX){var r=(0,a.Z)(n,"".concat(m.pX,".context"),"instream");if(t["".concat(m.pX,"-").concat(r)])return t["".concat(m.pX,"-").concat(r)]}return t[e]}}var H=function(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,t=void 0===n?h.K.index:n,r=G(e.mediaType,t.getMediaTypes(e),f.vc.getConfig("mediaTypePriceGranularity"));return"string"==typeof e.mediaType&&r?"string"==typeof r?r:"custom":f.vc.getConfig("priceGranularity")},V=function(e){return function(n){var t=e||H(n);return t===E.Ql.B7?n.pbAg:t===E.Ql.uN?n.pbDg:t===E.Ql.yE?n.pbLg:t===E.Ql.M2?n.pbMg:t===E.Ql.lj?n.pbHg:t===E.Ql.qN?n.pbCg:void 0}},Q=function(){return function(e){return e.meta&&e.meta.advertiserDomains&&e.meta.advertiserDomains.length>0?e.meta.advertiserDomains[0]:""}},J=function(){return function(e){return e.meta&&e.meta.primaryCatId?e.meta.primaryCatId:""}};function Y(e,n){return{key:e,val:"function"==typeof n?function(e,t){return n(e,t)}:function(e){return(0,o.getValue)(e,n)}}}function X(e,n){var t=E.TD,r=Object.assign({},y.S.settingsFor(null));if(r[E.k2.xn]||(r[E.k2.xn]=function(){var e=E.TD;return[Y(e.BIDDER,"bidderCode"),Y(e.AD_ID,"adId"),Y(e.PRICE_BUCKET,V()),Y(e.SIZE,"size"),Y(e.DEAL,"dealId"),Y(e.SOURCE,"source"),Y(e.FORMAT,"mediaType"),Y(e.ADOMAIN,Q()),Y(e.ACAT,J())]}()),"video"===e){var i=r[E.k2.xn].slice();if(r[E.k2.xn]=i,[t.UUID,t.CACHE_ID].forEach((function(e){void 0===(0,p.sE)(i,(function(n){return n.key===e}))&&i.push(Y(e,"videoCacheKey"))})),f.vc.getConfig("cache.url")&&(!n||!1!==y.S.get(n,"sendStandardTargeting"))){var u=(0,o.parseUrl)(f.vc.getConfig("cache.url"));void 0===(0,p.sE)(i,(function(e){return e.key===t.CACHE_HOST}))&&i.push(Y(t.CACHE_HOST,(function(e){return(0,a.Z)(e,"adserverTargeting.".concat(t.CACHE_HOST))?e.adserverTargeting[t.CACHE_HOST]:u.hostname})))}}return r}function $(e,n,t,r){var i=n[E.k2.xn];return t.size=t.getSize(),(0,o._each)(i,(function(i){var a=i.key,u=i.val;if(e[a]&&(0,o.logWarn)("The key: "+a+" is being overwritten"),(0,o.isFn)(u))try{u=u(t,r)}catch(e){(0,o.logError)("bidmanager","ERROR",e)}(void 0===n.suppressEmptyKeys||!0!==n.suppressEmptyKeys)&&a!==E.TD.DEAL&&a!==E.TD.ACAT||!(0,o.isEmptyStr)(u)&&null!=u?e[a]=u:(0,o.logInfo)("suppressing empty key '"+a+"' from adserver targeting")})),e}function ee(e,n){return e[n.adUnitCode]||(e[n.adUnitCode]={bids:[]}),e[n.adUnitCode].bids.push(n),e}},78653:function(e,n,t){t.d(n,{K:function(){return s}});var r=t(64358),i=t(25686),o=t(34614);function a(e){Object.assign(this,{getAuction:function(n){var t=n.auctionId;if(null!=t)return e().find((function(e){return e.getAuctionId()===t}))},getAdUnit:function(n){var t=n.transactionId;if(null!=t)return e().flatMap((function(e){return e.getAdUnits()})).find((function(e){return e.transactionId===t}))},getMediaTypes:function(e){var n=e.transactionId,t=e.requestId;if(null!=t){var r=this.getBidRequest({requestId:t});if(null!=r&&(null==n||r.transactionId===n))return r.mediaTypes}else if(null!=n){var i=this.getAdUnit({transactionId:n});if(null!=i)return i.mediaTypes}},getBidderRequest:function(n){var t=n.requestId,r=n.bidderRequestId;if(null!=t||null!=r){var i=e().flatMap((function(e){return e.getBidRequests()}));return null!=r&&(i=i.filter((function(e){return e.bidderRequestId===r}))),null==t?i[0]:i.find((function(e){return e.bids&&null!=e.bids.find((function(e){return e.bidId===t}))}))}},getBidRequest:function(n){var t=n.requestId;if(null!=t)return e().flatMap((function(e){return e.getBidRequests()})).flatMap((function(e){return e.bids})).find((function(e){return e&&e.bidId===t}))}})}var u=t(5644),c=t(99128);var s=function(){var e=[],n={};return n.addWinningBid=function(n){var t=(0,c.Bf)(n.metrics);t.checkpoint("bidWon"),t.timeBetween("auctionEnd","bidWon","render.pending"),t.timeBetween("requestBids","bidWon","render.e2e");var i=(0,o.sE)(e,(function(e){return e.getAuctionId()===n.auctionId}));i?(n.status=u.UE.fe,i.addWinningBid(n)):(0,r.logWarn)("Auction not found when adding winning bid")},n.getAllWinningBids=function(){return e.map((function(e){return e.getWinningBids()})).reduce(r.flatten,[])},n.getBidsRequested=function(){return e.map((function(e){return e.getBidRequests()})).reduce(r.flatten,[])},n.getNoBids=function(){return e.map((function(e){return e.getNoBids()})).reduce(r.flatten,[])},n.getBidsReceived=function(){return e.map((function(e){if(e.getAuctionStatus()===i.mv)return e.getBidsReceived()})).reduce(r.flatten,[]).filter((function(e){return e}))},n.getAllBidsForAdUnitCode=function(n){return e.map((function(e){return e.getBidsReceived()})).reduce(r.flatten,[]).filter((function(e){return e&&e.adUnitCode===n}))},n.getAdUnits=function(){return e.map((function(e){return e.getAdUnits()})).reduce(r.flatten,[])},n.getAdUnitCodes=function(){return e.map((function(e){return e.getAdUnitCodes()})).reduce(r.flatten,[]).filter(r.uniques)},n.createAuction=function(n){var t=(0,i.vO)(n);return function(n){e.push(n)}(t),t},n.findBidByAdId=function(n){return(0,o.sE)(e.map((function(e){return e.getBidsReceived()})).reduce(r.flatten,[]),(function(e){return e.adId===n}))},n.getStandardBidderAdServerTargeting=function(){return(0,i.LX)()[u.k2.xn]},n.setStatusForBids=function(t,r){var i=n.findBidByAdId(t);if(i&&(i.status=r),i&&r===u.UE.CK){var a=(0,o.sE)(e,(function(e){return e.getAuctionId()===i.auctionId}));a&&a.setBidTargeting(i)}},n.getLastAuctionId=function(){return e.length&&e[e.length-1].getAuctionId()},n.clearAllAuctions=function(){e.length=0},n.index=new a((function(){return e})),n}()},55975:function(e,n,t){t.d(n,{S:function(){return g}});var r=t(15671),i=t(43144),o=t(20265),a=t(64358),u=t(78640),c=t(5644);function s(e,n){!function(e,n){if(n.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,n),n.add(e)}function d(e,n,t){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return t}var f=new WeakSet;function l(e){return null==e?this.defaultScope:e}var g=new(function(){function e(n,t){(0,r.Z)(this,e),s(this,f),this.getSettings=n,this.defaultScope=t}return(0,i.Z)(e,[{key:"get",value:function(e,n){var t=this.getOwn(e,n);return void 0===t&&(t=this.getOwn(null,n)),t}},{key:"getOwn",value:function(e,n){return e=d(this,f,l).call(this,e),(0,o.Z)(this.getSettings(),"".concat(e,".").concat(n))}},{key:"getScopes",value:function(){var e=this;return Object.keys(this.getSettings()).filter((function(n){return n!==e.defaultScope}))}},{key:"settingsFor",value:function(e){return(0,a.mergeDeep)({},this.ownSettingsFor(null),this.ownSettingsFor(e))}},{key:"ownSettingsFor",value:function(e){return e=d(this,f,l).call(this,e),this.getSettings()[e]||{}}}]),e}())((function(){return(0,u.R)().bidderSettings||{}}),c.k2.zF)},69626:function(e,n,t){t.d(n,{m:function(){return o}});var r=t(64358);function i(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.src,i=void 0===t?"client":t,o=n.bidder,a=void 0===o?"":o,u=n.bidId,c=n.transactionId,s=n.auctionId,d=i,f=e||0;this.bidderCode=a,this.width=0,this.height=0,this.statusMessage=function(){switch(f){case 0:return"Pending";case 1:return"Bid available";case 2:return"Bid returned empty or error response";case 3:return"Bid timed out"}}(),this.adId=(0,r.getUniqueIdentifierStr)(),this.requestId=u,this.transactionId=c,this.auctionId=s,this.mediaType="banner",this.source=d,this.getStatusCode=function(){return f},this.getSize=function(){return this.width+"x"+this.height},this.getIdentifiers=function(){return{src:this.source,bidder:this.bidderCode,bidId:this.requestId,transactionId:this.transactionId,auctionId:this.auctionId}}}function o(e,n){return new i(e,n)}},3193:function(e,n,t){t.d(n,{FD:function(){return g},vc:function(){return h}});var r=t(4942),i=t(71002),o=t(93324),a=t(56463),u=t(34614),c=t(64358),s=t(20265),d=t(5644);function f(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}var l="TRUE"===(0,c.getParameterByName)(d.f).toUpperCase(),g="random",p={};p[g]=!0,p.fixed=!0;var v=g,m={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"};var h=function(){var e,n,t,d=[],g=null;function h(){e={};var r={_debug:l,get debug(){return this._debug},set debug(e){this._debug=e},_bidderTimeout:3e3,get bidderTimeout(){return this._bidderTimeout},set bidderTimeout(e){this._bidderTimeout=e},_publisherDomain:null,get publisherDomain(){return this._publisherDomain},set publisherDomain(e){(0,c.logWarn)("publisherDomain is deprecated and has no effect since v7 - use pageUrl instead"),this._publisherDomain=e},_priceGranularity:m.MEDIUM,set priceGranularity(e){o(e)&&("string"==typeof e?this._priceGranularity=i(e)?e:m.MEDIUM:(0,c.isPlainObject)(e)&&(this._customPriceBucket=e,this._priceGranularity=m.CUSTOM,(0,c.logMessage)("Using custom price granularity")))},get priceGranularity(){return this._priceGranularity},_customPriceBucket:{},get customPriceBucket(){return this._customPriceBucket},_mediaTypePriceGranularity:{},get mediaTypePriceGranularity(){return this._mediaTypePriceGranularity},set mediaTypePriceGranularity(e){var n=this;this._mediaTypePriceGranularity=Object.keys(e).reduce((function(t,r){return o(e[r])?"string"==typeof e?t[r]=i(e[r])?e[r]:n._priceGranularity:(0,c.isPlainObject)(e)&&(t[r]=e[r],(0,c.logMessage)("Using custom price granularity for ".concat(r))):(0,c.logWarn)("Invalid price granularity for media type: ".concat(r)),t}),{})},_sendAllBids:true,get enableSendAllBids(){return this._sendAllBids},set enableSendAllBids(e){this._sendAllBids=e},_useBidCache:false,get useBidCache(){return this._useBidCache},set useBidCache(e){this._useBidCache=e},_deviceAccess:true,get deviceAccess(){return this._deviceAccess},set deviceAccess(e){this._deviceAccess=e},_bidderSequence:v,get bidderSequence(){return this._bidderSequence},set bidderSequence(e){p[e]?this._bidderSequence=e:(0,c.logWarn)("Invalid order: ".concat(e,". Bidder Sequence was not set."))},_timeoutBuffer:400,get timeoutBuffer(){return this._timeoutBuffer},set timeoutBuffer(e){this._timeoutBuffer=e},_disableAjaxTimeout:false,get disableAjaxTimeout(){return this._disableAjaxTimeout},set disableAjaxTimeout(e){this._disableAjaxTimeout=e},_maxNestedIframes:10,get maxNestedIframes(){return this._maxNestedIframes},set maxNestedIframes(e){this._maxNestedIframes=e},_auctionOptions:{},get auctionOptions(){return this._auctionOptions},set auctionOptions(e){(function(e){if(!(0,c.isPlainObject)(e))return(0,c.logWarn)("Auction Options must be an object"),!1;for(var n=0,t=Object.keys(e);n<t.length;n++){var r=t[n];if("secondaryBidders"!==r&&"suppressStaleRender"!==r)return(0,c.logWarn)("Auction Options given an incorrect param: ".concat(r)),!1;if("secondaryBidders"===r){if(!(0,c.isArray)(e[r]))return(0,c.logWarn)("Auction Options ".concat(r," must be of type Array")),!1;if(!e[r].every(c.isStr))return(0,c.logWarn)("Auction Options ".concat(r," must be only string")),!1}else if("suppressStaleRender"===r&&!(0,c.isBoolean)(e[r]))return(0,c.logWarn)("Auction Options ".concat(r," must be of type boolean")),!1}return!0})(e)&&(this._auctionOptions=e)}};function i(e){return(0,u.sE)(Object.keys(m),(function(n){return e===m[n]}))}function o(e){if(!e)return(0,c.logError)("Prebid Error: no value passed to `setPriceGranularity()`"),!1;if("string"==typeof e)i(e)||(0,c.logWarn)("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.");else if((0,c.isPlainObject)(e)&&!(0,a.t)(e))return(0,c.logError)("Invalid custom price value passed to `setPriceGranularity()`"),!1;return!0}n&&k(Object.keys(n).reduce((function(e,t){return n[t]!==r[t]&&(e[t]=r[t]||{}),e}),{})),n=r,t={}}function y(){if(g&&t&&(0,c.isPlainObject)(t[g])){var e=t[g],r=new Set(Object.keys(n).concat(Object.keys(e)));return(0,u.Oc)(r).reduce((function(t,r){return void 0===e[r]?t[r]=n[r]:void 0===n[r]?t[r]=e[r]:(0,c.isPlainObject)(e[r])?t[r]=(0,c.mergeDeep)({},n[r],e[r]):t[r]=e[r],t}),{})}return Object.assign({},n)}var b=[y,function(){var e=y();return Object.defineProperty(e,"ortb2",{get:function(){throw new Error("invalid access to 'orbt2' config - use request parameters instead")}}),e}].map((function(e){return function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){var n=arguments.length<=0?void 0:arguments[0];return n?(0,s.Z)(e(),n):y()}return B.apply(void 0,arguments)}})),w=(0,o.Z)(b,2),E=w[0],C=w[1],A=[C,E].map((function(e){return function(){var n=e.apply(void 0,arguments);return n&&"object"===(0,i.Z)(n)&&(n=(0,c.deepClone)(n)),n}})),T=(0,o.Z)(A,2),I=T[0],O=T[1];function S(t){if((0,c.isPlainObject)(t)){var r=Object.keys(t),i={};r.forEach((function(r){var o=t[r];(0,c.isPlainObject)(e[r])&&(0,c.isPlainObject)(o)&&(o=Object.assign({},e[r],o));try{i[r]=n[r]=o}catch(e){(0,c.logWarn)("Cannot set config for property ".concat(r," : "),e)}})),k(i)}else(0,c.logError)("setConfig options must be an object")}function B(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n;if("string"!=typeof e&&(i=e,e="*",t=n||{}),"function"==typeof i){var o={topic:e,callback:i};return d.push(o),t.init&&i("*"===e?C():(0,r.Z)({},e,C(e))),function(){d.splice(d.indexOf(o),1)}}(0,c.logError)("listener must be a function")}function k(e){var n=Object.keys(e);d.filter((function(e){return(0,u.q9)(n,e.topic)})).forEach((function(n){n.callback((0,r.Z)({},n.topic,e[n.topic]))})),d.filter((function(e){return"*"===e.topic})).forEach((function(n){return n.callback(e)}))}function j(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{!function(e){if(!(0,c.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,c.isPlainObject)(e.config))throw"setBidderConfig bidder options must contain a config object"}(e),e.bidders.forEach((function(r){t[r]||(t[r]={}),Object.keys(e.config).forEach((function(i){var o=e.config[i];if((0,c.isPlainObject)(o)){var a=n?c.mergeDeep:Object.assign;t[r][i]=a({},t[r][i]||{},o)}else t[r][i]=o}))}))}catch(e){(0,c.logError)(e)}}function U(e,n){g=e;try{return n()}finally{P()}}function P(){g=null}return h(),{getCurrentBidder:function(){return g},resetBidder:P,getConfig:C,getAnyConfig:E,readConfig:I,readAnyConfig:O,setConfig:S,mergeConfig:function(e){if((0,c.isPlainObject)(e)){var n=(0,c.mergeDeep)(y(),e);return S(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?f(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({},n)),n}(0,c.logError)("mergeConfig input must be an object")},setDefaults:function(t){(0,c.isPlainObject)(e)?(Object.assign(e,t),Object.assign(n,t)):(0,c.logError)("defaults must be an object")},resetConfig:h,runWithBidder:U,callbackWithBidder:function(e){return function(n){return function(){if("function"==typeof n){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return U(e,c.bind.call.apply(c.bind,[n,this].concat(r)))}(0,c.logWarn)("config.callbackWithBidder callback is not a function")}}},setBidderConfig:j,getBidderConfig:function(){return t},mergeBidderConfig:function(e){return j(e,!0)}}}()},34516:function(e,n,t){t.d(n,{$P:function(){return h},$e:function(){return S},LO:function(){return I},iK:function(){return O}});var r=t(60136),i=t(82963),o=t(61120),a=t(15671),u=t(43144),c=t(4942),s=t(18916),d=t(42793),f=t(64358),l=t(68792);function g(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=(0,o.Z)(e);if(n){var a=(0,o.Z)(this).constructor;t=Reflect.construct(r,arguments,a)}else t=r.apply(this,arguments);return(0,i.Z)(this,t)}}function p(e,n,t){v(e,n),n.set(e,t)}function v(e,n){if(n.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function m(e,n,t){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return t}var h=Object.freeze({}),y=new WeakMap,b=new WeakMap,w=new WeakMap,E=new WeakMap,C=new WeakSet,A=function(){function e(){var n,t;(0,a.Z)(this,e),v(n=this,t=C),t.add(n),p(this,y,{writable:!0,value:void 0}),p(this,b,{writable:!0,value:void 0}),p(this,w,{writable:!0,value:void 0}),p(this,E,{writable:!0,value:void 0}),(0,c.Z)(this,"generatedTime",void 0),this.reset()}return(0,u.Z)(e,[{key:"reset",value:function(){(0,d.Z)(this,w,(0,l.P)()),(0,d.Z)(this,y,!1),(0,d.Z)(this,b,null),(0,d.Z)(this,E,!1),this.generatedTime=null}},{key:"enable",value:function(){(0,d.Z)(this,y,!0)}},{key:"enabled",get:function(){return(0,s.Z)(this,y)}},{key:"ready",get:function(){return(0,s.Z)(this,E)}},{key:"promise",get:function(){return(0,s.Z)(this,E)?l.Z.resolve((0,s.Z)(this,b)):((0,s.Z)(this,y)||m(this,C,T).call(this,null),(0,s.Z)(this,w).promise)}},{key:"setConsentData",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,f.timestamp)();this.generatedTime=n,m(this,C,T).call(this,e)}},{key:"getConsentData",value:function(){return(0,s.Z)(this,b)}}]),e}();function T(e){(0,d.Z)(this,E,!0),(0,d.Z)(this,b,e),(0,s.Z)(this,w).resolve(e)}var I=function(e){(0,r.Z)(t,e);var n=g(t);function t(){return(0,a.Z)(this,t),n.apply(this,arguments)}return(0,u.Z)(t,[{key:"getConsentMeta",value:function(){var e=this.getConsentData();if(e&&this.generatedTime)return{usp:e,generatedAt:this.generatedTime}}}]),t}(A),O=function(e){(0,r.Z)(t,e);var n=g(t);function t(){return(0,a.Z)(this,t),n.apply(this,arguments)}return(0,u.Z)(t,[{key:"getConsentMeta",value:function(){var e=this.getConsentData();if(e&&e.vendorData&&this.generatedTime)return{gdprApplies:e.gdprApplies,consentStringSize:(0,f.isStr)(e.vendorData.tcString)?e.vendorData.tcString.length:0,generatedAt:this.generatedTime,apiVersion:e.apiVersion}}}]),t}(A),S=function(e){(0,r.Z)(t,e);var n=g(t);function t(){return(0,a.Z)(this,t),n.apply(this,arguments)}return(0,u.Z)(t,[{key:"getConsentMeta",value:function(){if(this.getConsentData()&&this.generatedTime)return{generatedAt:this.generatedTime}}}]),t}(A)},56463:function(e,n,t){t.d(n,{D:function(){return l},t:function(){return p}});var r=t(34614),i=t(64358),o=t(3193),a=2,u={buckets:[{max:5,increment:.5}]},c={buckets:[{max:20,increment:.1}]},s={buckets:[{max:20,increment:.01}]},d={buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5}]},f={buckets:[{max:5,increment:.05},{max:10,increment:.1},{max:20,increment:.5}]};function l(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":g(e,u,t),med:""===r?"":g(e,c,t),high:""===r?"":g(e,s,t),auto:""===r?"":g(e,f,t),dense:""===r?"":g(e,d,t),custom:""===r?"":g(e,n,t)}}function g(e,n,t){var u="";if(!p(n))return u;var c=n.buckets.reduce((function(e,n){return e.max>n.max?e:n}),{max:0}),s=0,d=(0,r.sE)(n.buckets,(function(n){if(e>c.max*t){var r=n.precision;void 0===r&&(r=a),u=(n.max*t).toFixed(r)}else{if(e<=n.max*t&&e>=s*t)return n.min=s,n;s=n.max}}));return d&&(u=function(e,n,t){var r=void 0!==n.precision?n.precision:a,u=n.increment*t,c=n.min*t,s=Math.floor,d=o.vc.getConfig("cpmRoundingFunction");"function"==typeof d&&(s=d);var f,l,g=Math.pow(10,r+2),p=(e*g-c*g)/(u*g);try{f=s(p)*u+c}catch(e){l=!0}(l||"number"!=typeof f)&&((0,i.logWarn)("Invalid rounding function passed in config"),f=Math.floor(p)*u+c);return(f=Number(f.toFixed(10))).toFixed(r)}(e,d,t)),u}function p(e){if((0,i.isEmpty)(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var n=!0;return e.buckets.forEach((function(e){e.max&&e.increment||(n=!1)})),n}},53777:function(e,n,t){t.d(n,{Jc:function(){return d},dF:function(){return p}});var r=t(3193),i=t(92797),o=t(78640),a=t(64358),u=t(69626),c=t(55730),s=t(68792),d="__owpbjs_debugging__";function f(){return(0,o.R)().installedModules.includes("debugging")}function l(e){return new s.Z((function(n){(0,c.B)(e,"debugging",n)}))}var g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.load,t=void 0===n?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.alreadyInstalled,t=void 0===n?f:n,c=e.script,g=void 0===c?l:c,p=null;return function(){return null==p&&(p=new s.Z((function(e,n){setTimeout((function(){if(t())e();else{var c="https://cdn.jsdelivr.net/npm/[email protected]/dist/debugging-standalone.js";(0,a.logMessage)('Debugging module not installed, loading it from "'.concat(c,'"...')),(0,o.R)()._installDebugging=!0,g(c).then((function(){(0,o.R)()._installDebugging({DEBUG_KEY:d,hook:i.z3,config:r.vc,createBid:u.m,logger:(0,a.prefixLog)("DEBUG:")})})).then(e,n)}}))}))),p}}():n,c=e.hook,g=void 0===c?(0,i.v5)("requestBids"):c,p=null,v=!1;function m(e){for(var n=this,t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return(p||s.Z.resolve()).then((function(){return e.apply(n,r)}))}function h(){g.getHooks({hook:m}).remove(),v=!1}return{enable:function(){v||(p=t(),g.before(m,99),v=!0)},disable:h,reset:function(){p=null,h()}}}();g.reset;function p(){var e=null;try{e=window.sessionStorage}catch(e){}if(null!==e){var n=g,t=null;try{t=e.getItem(d)}catch(e){}null!==t&&n.enable()}}r.vc.getConfig("debugging",(function(e){var n=e.debugging;null!=n&&n.enabled?g.enable():g.disable()}))},52021:function(e,n,t){t.r(n),t.d(n,{addEvents:function(){return m},clearEvents:function(){return h},emit:function(){return v},get:function(){return g},getEvents:function(){return p},off:function(){return l},on:function(){return f}});var r=t(64358),i=t(5644),o=Array.prototype.slice,a=Array.prototype.push,u=r._map(i.FP,(function(e){return e})),c=i.aI,s=[],d=function(){var e={},n={};return n.on=function(n,t,i){if(function(e){return r.contains(u,e)}(n)){var o=e[n]||{que:[]};i?(o[i]=o[i]||{que:[]},o[i].que.push(t)):o.que.push(t),e[n]=o}else r.logError("Wrong event name : "+n+" Valid event names :"+u)},n.emit=function(n){!function(n,t){r.logMessage("Emitting event for: "+n);var i=t[0]||{},o=i[c[n]],u=e[n]||{que:[]},d=r._map(u,(function(e,n){return n})),f=[];s.push({eventType:n,args:i,id:o,elapsedTime:r.getPerformanceNow()}),o&&r.contains(d,o)&&a.apply(f,u[o].que),a.apply(f,u.que),r._each(f,(function(e){if(e)try{e.apply(null,t)}catch(e){r.logError("Error executing handler:","events.js",e)}}))}(n,o.call(arguments,1))},n.off=function(n,t,i){var o=e[n];r.isEmpty(o)||r.isEmpty(o.que)&&r.isEmpty(o[i])||i&&(r.isEmpty(o[i])||r.isEmpty(o[i].que))||(i?r._each(o[i].que,(function(e){var n=o[i].que;e===t&&n.splice(n.indexOf(e),1)})):r._each(o.que,(function(e){var n=o.que;e===t&&n.splice(n.indexOf(e),1)})),e[n]=o)},n.get=function(){return e},n.addEvents=function(e){u=u.concat(e)},n.getEvents=function(){var e=[];return r._each(s,(function(n){var t=Object.assign({},n);e.push(t)})),e},n}();r._setEventEmitter(d.emit.bind(d));var f=d.on,l=d.off,g=d.get,p=d.getEvents,v=d.emit,m=d.addEvents;function h(){s.length=0}},98176:function(e,n,t){t.d(n,{S:function(){return g}});var r=t(93324),i=t(92797),o=t(25102),a=t(38196),u=t(64358),c=t(96475),s=t(3193),d=t(27809),f=t(68792),l={getRefererInfo:o.nH,findRootDomain:a.W,getWindowTop:u.getWindowTop,getWindowSelf:u.getWindowSelf,getHighEntropySUA:d.KI,getLowEntropySUA:d.hi},g=(0,i.z3)("sync",(function(e){return f.Z.all([e,(n=s.vc.getConfig("firstPartyData.uaHints"),Array.isArray(n)&&0===n.length?f.Z.resolve(l.getLowEntropySUA()):l.getHighEntropySUA(n)).catch((function(){return null}))]).then((function(e){var n=(0,r.Z)(e,2),t=n[0],i=n[1];return Object.entries(v).forEach((function(e){var n=(0,r.Z)(e,2),i=n[0],o=(0,n[1])();o&&Object.keys(o).length>0&&(t[i]=(0,u.mergeDeep)({},o,t[i]))})),i&&(0,c.N)(t,"device.sua",Object.assign({},i,t.device.sua)),t}));var n}));function p(e){try{return e(l.getWindowTop())}catch(n){return e(l.getWindowSelf())}}var v={site:function(){var e,n,t=l.getRefererInfo(),r=(0,o.hh)(t.page,{noLeadingWww:!0}),i=null===(e=p((function(e){return e.document.querySelector("meta[name='keywords']")})))||void 0===e||null===(e=e.content)||void 0===e||null===(n=e.replace)||void 0===n?void 0:n.call(e,/\s/g,"");return function(e){return(0,u.getDefinedParams)(e,Object.keys(e))}({page:t.page,ref:t.ref,domain:r,keywords:i,publisher:{domain:l.findRootDomain(r)}})},device:function(){return p((function(e){return{w:e.innerWidth||e.document.documentElement.clientWidth||e.document.body.clientWidth,h:e.innerHeight||e.document.documentElement.clientHeight||e.document.body.clientHeight,dnt:(0,u.getDNT)()?1:0,ua:e.navigator.userAgent,language:e.navigator.language.split("-").shift()}}))},regs:function(){var e={};p((function(e){return e.navigator.globalPrivacyControl}))&&(0,c.N)(e,"ext.gpc",1);var n=s.vc.getConfig("coppa");return"boolean"==typeof n&&(e.coppa=n?1:0),e}}},38196:function(e,n,t){t.d(n,{W:function(){return o}});var r=t(64358),i=(0,t(15164).eA)(),o=(0,r.memoize)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.host;if(!i.cookiesAreEnabled())return e;var n,t,o=e.split(".");if(2===o.length)return e;var a=-2,u="_rdc".concat(Date.now()),c="writeable";do{n=o.slice(a).join(".");var s=new Date((0,r.timestamp)()+1e4).toUTCString();i.setCookie(u,c,s,"Lax",n,void 0),i.getCookie(u,void 0)===c?(t=!1,i.setCookie(u,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,n,void 0)):(a+=-1,t=Math.abs(a)<=o.length)}while(t);return n}))},92797:function(e,n,t){t.d(n,{Bx:function(){return p},Cd:function(){return s},IF:function(){return v},bA:function(){return g},o0:function(){return f},v5:function(){return d},z3:function(){return u}});var r=t(89062),i=t(81432),o=t.n(i),a=t(68792),u=o()({useProxy:!1,ready:o().SYNC|o().ASYNC|o().QUEUE}),c=(0,a.P)();u.ready=function(){var e=u.ready;return function(){try{return e.apply(u,arguments)}finally{c.resolve()}}}();var s=c.promise,d=u.get;function f(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:15;0===e.getHooks({hook:n}).length&&e.before(n,t)}var l={};function g(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).postInstallAllowed,i=void 0!==t&&t;u("async",(function(t){t.forEach((function(e){return n.apply(void 0,(0,r.Z)(e))})),i&&(l[e]=n)}),e)([])}function p(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];var i=l[e];if(i)return i.apply(void 0,t);d(e).before((function(e,n){n.push(t),e(n)}))}function v(e,n){return Object.defineProperties(n,Object.fromEntries(["before","after","getHooks","removeAll"].map((function(n){return[n,{get:function(){return e[n]}}]})))),n}},24679:function(e,n,t){t.d(n,{B5:function(){return r},Mk:function(){return o},Oh:function(){return a},pX:function(){return i}});var r="native",i="video",o="banner",a="adpod"},70059:function(e,n,t){t.d(n,{Fb:function(){return k},JL:function(){return _},Sg:function(){return m},Ur:function(){return R},e6:function(){return P},eK:function(){return D},lY:function(){return N},r4:function(){return U},xc:function(){return h},zq:function(){return W}});var r=t(89062),i=t(93324),o=t(4942),a=t(20265),u=t(64358),c=t(34614),s=t(78653),d=t(5644),f=t(24679);function l(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return g(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return g(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function g(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function p(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function v(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?p(Object(t),!0).forEach((function(n){(0,o.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var m=[],h=Object.keys(d.FY).map((function(e){return d.FY[e]})),y={image:{ortb:{ver:"1.2",assets:[{required:1,id:1,img:{type:3,wmin:100,hmin:100}},{required:1,id:2,title:{len:140}},{required:1,id:3,data:{type:1}},{required:0,id:4,data:{type:2}},{required:0,id:5,img:{type:1,wmin:20,hmin:20}}]},image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1}}},b=d.s$,w=d.oF,E=d.V1,C=d.zA,A=d.FY,T=F(E),I=F(b),O={img:1,js:2,1:"img",2:"js"},S={impression:1,"viewable-mrc50":2,"viewable-mrc100":3,"viewable-video50":4};function B(e){if(e&&e.type&&function(e){if(!e||!(0,c.q9)(Object.keys(y),e))return(0,u.logError)("".concat(e," nativeParam is not supported")),!1;return!0}(e.type)&&(e=y[e.type]),!e||!e.ortb||j(e.ortb))return e}function k(e){e.forEach((function(e){var n=e.nativeParams||(0,a.Z)(e,"mediaTypes.native");n&&(e.nativeParams=B(n)),e.nativeParams&&(e.nativeOrtbRequest=e.nativeParams.ortb||function(e){if(!e&&!(0,u.isPlainObject)(e))return void(0,u.logError)("Native assets object is empty or not an object: ",e);var n={ver:"1.2",assets:[]};for(var t in e)if(!C.includes(t))if(A.hasOwnProperty(t)){var r=e[t],i=0;r.required&&(0,u.isBoolean)(r.required)&&(i=Number(r.required));var o={id:n.assets.length,required:i};if(t in E)o.data={type:b[E[t]]},r.len&&(o.data.len=r.len);else if("icon"===t||"image"===t){if(o.img={type:"icon"===t?w.ICON:w.MAIN},r.aspect_ratios)if((0,u.isArray)(r.aspect_ratios))if(r.aspect_ratios.length){var a=r.aspect_ratios[0],c=a.min_width,s=a.min_height;(0,u.isInteger)(c)&&(0,u.isInteger)(s)?(o.img.wmin=c,o.img.hmin=s):(0,u.logError)("image.aspect_ratios min_width or min_height are invalid: ",c,s);var d=r.aspect_ratios.filter((function(e){return e.ratio_width&&e.ratio_height})).map((function(e){return"".concat(e.ratio_width,":").concat(e.ratio_height)}));d.length>0&&(o.img.ext={aspectratios:d})}else(0,u.logError)("image.aspect_ratios was passed, but it's empty:",r.aspect_ratios);else(0,u.logError)("image.aspect_ratios was passed, but it's not a an array:",r.aspect_ratios);r.sizes&&(2===r.sizes.length&&(0,u.isInteger)(r.sizes[0])&&(0,u.isInteger)(r.sizes[1])?(o.img.w=r.sizes[0],o.img.h=r.sizes[1],delete o.img.hmin,delete o.img.wmin):(0,u.logError)("image.sizes was passed, but its value is not an array of integers:",r.sizes))}else"title"===t?o.title={len:r.len||140}:"ext"===t&&(o.ext=r,delete o.required);n.assets.push(o)}else(0,u.logError)("Unrecognized native asset code: ".concat(t,". Asset will be ignored."));return n}(e.nativeParams))}))}function j(e){var n=e.assets;if(!Array.isArray(n)||0===n.length)return(0,u.logError)("assets in mediaTypes.native.ortb is not an array, or it's empty. Assets: ",n),!1;var t=n.map((function(e){return e.id}));return n.length!==new Set(t).size||t.some((function(e){return e!==parseInt(e,10)}))?((0,u.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,u.logError)("ortb.eventtrackers is not an array. Eventtrackers: ",e.eventtrackers),!1):n.every((function(e){return function(e){if(!(0,u.isPlainObject)(e))return(0,u.logError)("asset must be an object. Provided asset: ",e),!1;if(e.img){if(!(0,u.isNumber)(e.img.w)&&!(0,u.isNumber)(e.img.wmin))return(0,u.logError)("for img asset there must be 'w' or 'wmin' property"),!1;if(!(0,u.isNumber)(e.img.h)&&!(0,u.isNumber)(e.img.hmin))return(0,u.logError)("for img asset there must be 'h' or 'hmin' property"),!1}else if(e.title){if(!(0,u.isNumber)(e.title.len))return(0,u.logError)("for title asset there must be 'len' property defined"),!1}else if(e.data){if(!(0,u.isNumber)(e.data.type))return(0,u.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,u.isNumber)(e.video.minduration)&&(0,u.isNumber)(e.video.maxduration)))return(0,u.logError)("video asset is not properly configured"),!1;return!0}(e)}))}function U(e){var n,t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,r=(void 0===t?s.K.index:t).getAdUnit(e);if(!r)return!1;var i=r.nativeOrtbRequest,o=(null===(n=e.native)||void 0===n?void 0:n.ortb)||function(e,n){var t=v(v({},M(e)),{},{assets:[]});function r(e,r){var i=n.assets.find(e);null!=i&&(r(i=(0,u.deepClone)(i)),t.assets.push(i))}return Object.keys(e).filter((function(n){return!!e[n]})).forEach((function(n){var t=e[n];switch(n){case"title":r((function(e){return null!=e.title}),(function(e){e.title={text:t}}));break;case"image":case"icon":var i="image"===n?w.MAIN:w.ICON;r((function(e){return null!=e.img&&e.img.type===i}),(function(e){e.img={url:t}}));break;default:n in E&&r((function(e){return null!=e.data&&e.data.type===b[E[n]]}),(function(e){e.data={value:t}}))}})),t}(e.native,i);return function(e,n){if(!(0,a.Z)(e,"link.url"))return(0,u.logError)("native response doesn't have 'link' property. Ortb response: ",e),!1;var t=n.assets.filter((function(e){return 1===e.required})).map((function(e){return e.id})),r=e.assets.map((function(e){return e.id})),i=t.every((function(e){return(0,c.q9)(r,e)}));i||(0,u.logError)("didn't receive a bid with all required assets. Required ids: ".concat(t,", but received ids in response: ").concat(r));return i}(o,i)}function P(e,n){var t=n.native.ortb||M(n.native);return"click"===e.action?function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.fetchURL,i=void 0===r?u.triggerPixel:r;if(n){var o,a=(e.assets||[]).filter((function(e){return e.link})).reduce((function(e,n){return e[n.id]=n.link,e}),{}),c=(null===(o=e.link)||void 0===o?void 0:o.clicktrackers)||[],s=a[n],d=c;s&&(d=s.clicktrackers||[]),d.forEach((function(e){return i(e)}))}else{var f;((null===(f=e.link)||void 0===f?void 0:f.clicktrackers)||[]).forEach((function(e){return i(e)}))}}(t,null==e?void 0:e.assetId):function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.runMarkup,r=void 0===t?function(e){return(0,u.insertHtmlIntoIframe)(e)}:t,i=n.fetchURL,o=void 0===i?u.triggerPixel:i,a=(e.eventtrackers||[]).filter((function(e){return e.event===S.impression})),c=a.reduce((function(e,n){return O.hasOwnProperty(n.method)&&e[O[n.method]].push(n.url),e}),{img:[],js:[]}),s=c.img,d=c.js;e.imptrackers&&(s=s.concat(e.imptrackers));s.forEach((function(e){return o(e)})),d=d.map((function(e){return'<script async src="'.concat(e,'"><\/script>')})),e.jstracker&&(d=d.concat([e.jstracker]));d.length&&r(d.join("\n"))}(t),e.action}function R(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,t=void 0===n?s.K.index:n,r={},i=t.getAdUnit(e);(0,a.Z)(i,"nativeParams.rendererUrl")?e.native.rendererUrl=Z(i.nativeParams.rendererUrl):(0,a.Z)(i,"nativeParams.adTemplate")&&(e.native.adTemplate=Z(i.nativeParams.adTemplate));var o=!1!==(0,a.Z)(i,"nativeParams.sendTargetingKeys"),u=function(e){var n={};(0,a.Z)(e,"nativeParams.ext")&&Object.keys(e.nativeParams.ext).forEach((function(e){n[e]="hb_native_".concat(e)}));return v(v({},d.FY),n)}(i),c=v(v({},e.native),e.native.ext);return delete c.ext,Object.keys(c).forEach((function(n){var t=u[n],c=Z(e.native[n])||Z((0,a.Z)(e,"native.ext.".concat(n)));if("adTemplate"!==n&&t&&c){var s=(0,a.Z)(i,"nativeParams.".concat(n,".sendId"));if("boolean"!=typeof s&&(s=(0,a.Z)(i,"nativeParams.ext.".concat(n,".sendId"))),s)c="".concat(t,":").concat(e.adId);var d=(0,a.Z)(i,"nativeParams.".concat(n,".sendTargetingKeys"));"boolean"!=typeof d&&(d=(0,a.Z)(i,"nativeParams.ext.".concat(n,".sendTargetingKeys"))),("boolean"==typeof d?d:o)&&(r[t]=c)}})),r}function q(e,n,t){var r={message:"assetResponse",adId:e.adId},i=n.native;return n.native.ortb&&(r.ortb=n.native.ortb),r.assets=[],(null==t?Object.keys(i):t).forEach((function(e){if("adTemplate"===e&&i[e])r.adTemplate=Z(i[e]);else if("rendererUrl"===e&&i[e])r.rendererUrl=Z(i[e]);else if("ext"===e)Object.keys(i[e]).forEach((function(n){if(i[e][n]){var t=Z(i[e][n]);r.assets.push({key:n,value:t})}}));else if(i[e]&&d.FY.hasOwnProperty(e)){var n=Z(i[e]);r.assets.push({key:e,value:n})}})),r}function D(e,n){var t=e.assets.map((function(e){return(0,u.getKeyByValue)(d.FY,e)}));return q(e,n,t)}function _(e,n){return q(e,n,null)}function Z(e){return(null==e?void 0:e.url)||e}function x(e){if(j(e)){var n,t={},r=l(e.assets);try{var i=function(){var e=n.value;if(e.title){var r={required:!!e.required&&Boolean(e.required),len:e.title.len};t.title=r}else if(e.img){var i={required:!!e.required&&Boolean(e.required)};e.img.w&&e.img.h?i.sizes=[e.img.w,e.img.h]:e.img.wmin&&e.img.hmin&&(i.aspect_ratios={min_width:e.img.wmin,min_height:e.img.hmin,ratio_width:e.img.wmin,ratio_height:e.img.hmin}),e.img.type===w.MAIN?t.image=i:t.icon=i}else if(e.data){var o=Object.keys(b).find((function(n){return b[n]===e.data.type})),a=Object.keys(E).find((function(e){return E[e]===o}));t[a]={required:!!e.required&&Boolean(e.required)},e.data.len&&(t[a].len=e.data.len)}};for(r.s();!(n=r.n()).done;)i()}catch(e){r.e(e)}finally{r.f()}return t}}function N(e){if(!e||!(0,u.isArray)(e))return e;if(!e.some((function(e){var n;return null===(n=((null==e?void 0:e.mediaTypes)||{})[f.B5])||void 0===n?void 0:n.ortb})))return e;var n,t=(0,u.deepClone)(e),r=l(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.mediaTypes&&i.mediaTypes[f.B5]&&i.mediaTypes[f.B5].ortb&&(i.mediaTypes[f.B5]=Object.assign((0,u.pick)(i.mediaTypes[f.B5],C),x(i.mediaTypes[f.B5].ortb)),i.nativeParams=B(i.mediaTypes[f.B5]))}}catch(e){r.e(e)}finally{r.f()}return t}function M(e){var n={link:{},eventtrackers:[]};return Object.entries(e).forEach((function(e){var t=(0,i.Z)(e,2),r=t[0],o=t[1];switch(r){case"clickUrl":n.link.url=o;break;case"clickTrackers":n.link.clicktrackers=Array.isArray(o)?o:[o];break;case"impressionTrackers":(Array.isArray(o)?o:[o]).forEach((function(e){n.eventtrackers.push({event:S.impression,method:O.img,url:e})}));break;case"javascriptTrackers":n.jstracker=Array.isArray(o)?o.join(""):o}})),n}function W(e,n){var t={},i=(null==n?void 0:n.assets)||[];t.clickUrl=e.link.url,t.privacyLink=e.privacy;var o,a=l((null==e?void 0:e.assets)||[]);try{var u=function(){var e=o.value,n=i.find((function(n){return e.id===n.id}));e.title?t.title=e.title.text:e.img?t[n.img.type===w.MAIN?"image":"icon"]=e.img.url:e.data&&(t[T[I[n.data.type]]]=e.data.value)};for(a.s();!(o=a.n()).done;)u()}catch(e){a.e(e)}finally{a.f()}t.impressionTrackers=[];var c,s=[];null!=n&&n.imptrackers&&(c=t.impressionTrackers).push.apply(c,(0,r.Z)(n.imptrackers));var d,f=l((null==e?void 0:e.eventtrackers)||[]);try{for(f.s();!(d=f.n()).done;){var g=d.value;g.event===S.impression&&g.method===O.img&&t.impressionTrackers.push(g.url),g.event===S.impression&&g.method===O.js&&s.push(g.url)}}catch(e){f.e(e)}finally{f.f()}return s=s.map((function(e){return'<script async src="'.concat(e,'"><\/script>')})),null!=e&&e.jstracker&&s.push(e.jstracker),s.length&&(t.javascriptTrackers=s.join("\n")),t}function F(e){var n={};for(var t in e)n[e[t]]=t;return n}},34614:function(e,n,t){function r(e,n,t){return e&&e.includes(n,t)||!1}function i(){return Array.from.apply(Array,arguments)}function o(e,n,t){return e&&e.find(n,t)}function a(e,n,t){return e&&e.findIndex(n,t)}t.d(n,{Oc:function(){return i},cx:function(){return a},q9:function(){return r},sE:function(){return o}})},23866:function(e,n,t){t.d(n,{zh:function(){return ae},O5:function(){return ce},ew:function(){return fe}});var r=t(93324),i=t(4942),o=t(78640),a=t(64358),u=t(20265),c=t(96475),s=t(52021),d=t(70059),f=t(5644),l=t(78653),g=t(34614),p=t(35706),v=t(3193),m=f.FP,h=m.AD_RENDER_FAILED,y=m.AD_RENDER_SUCCEEDED;function b(e){var n=e.reason,t=e.message,r=e.bid,i=e.id,o={reason:n,message:t};r&&(o.bid=r),i&&(o.adId=i),(0,a.logError)(t),s.emit(h,o)}function w(e){var n=e.doc,t=e.bid,r=e.id,i={doc:n};t&&(i.bid=t),r&&(i.adId=r),s.emit(y,i)}var E=f.FP.BID_WON,C=f.FP.STALE_RENDER,A=new WeakSet,T={"Prebid Request":function(e,n,t){if(null==t)return void b({reason:f.q_.CANNOT_FIND_AD,message:"Cannot find ad '".concat(n.adId,"' for cross-origin render request"),id:n.adId});if(t.status===f.UE.fe&&((0,a.logWarn)("Ad id ".concat(t.adId," has been rendered before")),s.emit(C,t),(0,u.Z)(v.vc.getConfig("auctionOptions"),"suppressStaleRender")))return;try{!function(e,n){var t=e.adId,r=e.ad,i=e.adUrl,o=e.width,u=e.height,c=e.renderer,s=e.cpm,d=e.originalCpm;(0,p.Pd)(c)?(0,p._U)(c,e):t&&(O(e),n({message:"Prebid Response",ad:(0,a.replaceAuctionPrice)(r,d||s),adUrl:(0,a.replaceAuctionPrice)(i,d||s),adId:t,width:o,height:u}))}(t,e)}catch(e){return void b({reason:f.q_.EXCEPTION,message:e.message,id:n.adId,bid:t})}l.K.addWinningBid(t),s.emit(E,t)},"Prebid Event":function(e,n,t){if(null==t)return void(0,a.logError)("Cannot find ad '".concat(n.adId,"' for x-origin event request"));if(t.status!==f.UE.fe)return void(0,a.logWarn)("Received x-origin event request without corresponding render request for ad '".concat(n.adId,"'"));switch(n.event){case f.FP.AD_RENDER_FAILED:b({bid:t,id:n.adId,reason:n.info.reason,message:n.info.message});break;case f.FP.AD_RENDER_SUCCEEDED:w({doc:null,bid:t,id:n.adId});break;default:(0,a.logError)("Received x-origin event request for unsupported event: '".concat(n.event,"' (adId: '").concat(n.adId,"')"))}}};function I(e){var n=e.message?"message":"data",t={};try{t=JSON.parse(e[n])}catch(e){return}if(t&&t.adId&&t.message){var r=(0,g.sE)(l.K.getBidsReceived(),(function(e){return e.adId===t.adId}));T.hasOwnProperty(t.message)&&T[t.message](function(e){return null==e.origin&&0===e.ports.length?function(){var e="Cannot post message to a frame with null origin. Please update creatives to use MessageChannel, see https://github.com/prebid/Prebid.js/issues/7870";throw(0,a.logError)(e),new Error(e)}:e.ports.length>0?function(n){e.ports[0].postMessage(JSON.stringify(n))}:function(n){e.source.postMessage(JSON.stringify(n),e.origin)}}(e),t,r)}}function O(e){var n=e.adId,t=e.adUnitCode,r=e.width,i=e.height;["div","iframe"].forEach((function(e){var o=function(e){var r=function(e,n){return(0,a.isGptPubadsDefined)()?function(e){var n=(0,g.sE)(window.googletag.pubads().getSlots(),(function(n){return(0,g.sE)(n.getTargetingKeys(),(function(t){return(0,g.q9)(n.getTargeting(t),e)}))}));return n?n.getSlotElementId():null}(e):(0,a.isApnGetTagDefined)()?function(e){var n=window.apntag.getTag(e);return n&&n.targetId}(n):n}(n,t),i=document.getElementById(r);return i&&i.querySelector(e)}(e+':not([style*="display: none"])');if(o){var u=o.style;u.width=r?r+"px":"100%",u.height=i+"px"}else(0,a.logWarn)("Unable to locate matching page element for adUnitCode ".concat(t,". Can't resize it to ad's dimensions. Please review setup."))}))}Object.assign(T,{"Prebid Native":function(e,n,t){if(null==t)return void(0,a.logError)("Cannot find ad '".concat(n.adId,"' for x-origin event request"));A.has(t)||(A.add(t),l.K.addWinningBid(t),s.emit(E,t));switch(n.action){case"assetRequest":e((0,d.eK)(n,t));break;case"allAssetRequest":e((0,d.JL)(n,t));break;case"resizeNativeHeight":t.height=n.height,t.width=n.width,O(t);break;default:(0,d.e6)(n,t)}}});var S=t(11974),B=t(18621),k=t(92797),j=t(53777),U=t(875),P=t(69626),R=t(15164),q=t(51039),D=t(99128),_=t(68792),Z=t(98176),x=(0,o.R)(),N=S.k_.triggerUserSyncs,M=f.FP,W=M.ADD_AD_UNITS,F=M.BID_WON,z=M.REQUEST_BIDS,K=M.SET_TARGETING,L=M.STALE_RENDER,G=f.q_,H=G.PREVENT_WRITING_ON_MAIN_DOCUMENT,V=G.NO_AD,Q=G.EXCEPTION,J=G.CANNOT_FIND_AD,Y=G.MISSING_DOC_OR_ADID,X={bidWon:function(e){var n=l.K.getBidsRequested().map((function(e){return e.bids.map((function(e){return e.adUnitCode}))})).reduce(a.flatten).filter(a.uniques);if(!(0,a.contains)(n,e))return void(0,a.logError)('The "'+e+'" placement is not defined.');return!0}};function $(e,n,t){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=n,e.defaultView.frameElement.height=t)}function ee(e,n){var t=[];return(0,a.isArray)(e)&&(n?e.length===n:e.length>0)&&(e.every((function(e){return(0,a.isArrayOfNums)(e,2)}))?t=e:(0,a.isArrayOfNums)(e,2)&&t.push(e)),t}function ne(e){var n=(0,a.deepClone)(e),t=n.mediaTypes.banner,r=ee(t.sizes);return r.length>0?(t.sizes=r,n.sizes=r):((0,a.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 n.mediaTypes.banner),n}function te(e){var n=(0,a.deepClone)(e),t=n.mediaTypes.video;if(t.playerSize){var r="number"==typeof t.playerSize[0]?2:1,i=ee(t.playerSize,r);i.length>0?(2===r&&(0,a.logInfo)("Transforming video.playerSize from [640,480] to [[640,480]] so it's in the proper format."),t.playerSize=i,n.sizes=i):((0,a.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 n.mediaTypes.video.playerSize)}return n}function re(e){var n=(0,a.deepClone)(e),t=n.mediaTypes.native;if(t.ortb){var r=Object.keys(f.FY).filter((function(e){return f.FY[e].includes("hb_native_")})),i=Object.keys(t).filter((function(e){return r.includes(e)}));i.length>0&&((0,a.logError)("when using native OpenRTB format, you cannot use legacy native properties. Deleting ".concat(i," keys from request.")),i.forEach((function(e){return delete n.mediaTypes.native[e]})))}return t.image&&t.image.sizes&&!Array.isArray(t.image.sizes)&&((0,a.logError)("Please use an array of sizes for native.image.sizes field. Removing invalid mediaTypes.native.image.sizes property from request."),delete n.mediaTypes.native.image.sizes),t.image&&t.image.aspect_ratios&&!Array.isArray(t.image.aspect_ratios)&&((0,a.logError)("Please use an array of sizes for native.image.aspect_ratios field. Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete n.mediaTypes.native.image.aspect_ratios),t.icon&&t.icon.sizes&&!Array.isArray(t.icon.sizes)&&((0,a.logError)("Please use an array of sizes for native.icon.sizes field. Removing invalid mediaTypes.native.icon.sizes property from request."),delete n.mediaTypes.native.icon.sizes),n}function ie(e,n){var t=(0,u.Z)(e,"mediaTypes.".concat(n,".pos"));if(!(0,a.isNumber)(t)||isNaN(t)||!isFinite(t)){var r="Value of property 'pos' on ad unit ".concat(e.code," should be of type: Number");(0,a.logWarn)(r),s.emit(f.FP.AUCTION_DEBUG,{type:"WARNING",arguments:r}),delete e.mediaTypes[n].pos}return e}function oe(e){var n=function(n){return"adUnit.code '".concat(e.code,"' ").concat(n)},t=e.mediaTypes,r=e.bids;return null==r||(0,a.isArray)(r)?null==r&&null==e.ortb2Imp?((0,a.logError)(n("has no 'adUnit.bids' and no 'adUnit.ortb2Imp'. Removing adUnit from auction")),null):t&&0!==Object.keys(t).length?(null==e.ortb2Imp||null!=r&&0!==r.length||(e.bids=[{bidder:null}],(0,a.logMessage)(n("defines 'adUnit.ortb2Imp' with no 'adUnit.bids'; it will be seen only by S2S adapters"))),e):((0,a.logError)(n("does not define a 'mediaTypes' object. This is a required field for the auction, so this adUnit has been removed.")),null):((0,a.logError)(n("defines 'adUnit.bids' that is not an array. Removing adUnit from auction")),null)}(0,j.dF)(),x.bidderSettings=x.bidderSettings||{},x.libLoaded=!0,x.version="v7.39.0",(0,a.logInfo)("Prebid.js v7.39.0 loaded"),x.installedModules=x.installedModules||[],x.adUnits=x.adUnits||[],x.triggerUserSyncs=N;var ae={validateAdUnit:oe,validateBannerMediaType:ne,validateVideoMediaType:te,validateSizes:ee};Object.assign(ae,{validateNativeMediaType:re});var ue,ce=(0,k.z3)("sync",(function(e){var n=[];return e.forEach((function(e){if(null!=(e=oe(e))){var t,r,i,o=e.mediaTypes;o.banner&&(t=ne(e),o.banner.hasOwnProperty("pos")&&(t=ie(t,"banner"))),o.video&&(r=te(t||e),o.video.hasOwnProperty("pos")&&(r=ie(r,"video"))),o.native&&(i=re(r||(t||e)));var a=Object.assign({},t,r,i);n.push(a)}})),n}),"checkAdUnitSetup");function se(e){var n=l.K[e]().filter(a.bind.call(a.adUnitsFilter,this,l.K.getAdUnitCodes())),t=l.K.getLastAuctionId();return n.map((function(e){return e.adUnitCode})).filter(a.uniques).map((function(e){return n.filter((function(n){return n.auctionId===t&&n.adUnitCode===e}))})).filter((function(e){return e&&e[0]&&e[0].adUnitCode})).map((function(e){return(0,i.Z)({},e[0].adUnitCode,{bids:e})})).reduce((function(e,n){return Object.assign(e,n)}),{})}function de(e,n,t){var r=n.querySelector(t);e.parentNode&&e.parentNode===r||(0,a.insertElement)(e,n,t)}x.getAdserverTargetingForAdUnitCodeStr=function(e){if((0,a.logInfo)("Invoking owpbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var n=x.getAdserverTargetingForAdUnitCode(e);return(0,a.transformAdServerTargetingObj)(n)}(0,a.logMessage)("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},x.getHighestUnusedBidResponseForAdUnitCode=function(e){if(e){var n=l.K.getAllBidsForAdUnitCode(e).filter(B.TL);return n.length?n.reduce(a.getHighestCpm):{}}(0,a.logMessage)("Need to call getHighestUnusedBidResponseForAdUnitCode with adunitCode")},x.getAdserverTargetingForAdUnitCode=function(e){return x.getAdserverTargeting(e)[e]},x.getAdserverTargeting=function(e){return(0,a.logInfo)("Invoking owpbjs.getAdserverTargeting",arguments),B.q0.getAllTargeting(e)},x.getConsentMetadata=function(){return(0,a.logInfo)("Invoking owpbjs.getConsentMetadata"),{gdpr:q.rp.getConsentMeta(),usp:q.nX.getConsentMeta(),gpp:q.TJ.getConsentMeta(),coppa:!!v.vc.getConfig("coppa")}},x.getNoBids=function(){return(0,a.logInfo)("Invoking owpbjs.getNoBids",arguments),se("getNoBids")},x.getNoBidsForAdUnitCode=function(e){return{bids:l.K.getNoBids().filter((function(n){return n.adUnitCode===e}))}},x.getBidResponses=function(){return(0,a.logInfo)("Invoking owpbjs.getBidResponses",arguments),se("getBidsReceived")},x.getBidResponsesForAdUnitCode=function(e){return{bids:l.K.getBidsReceived().filter((function(n){return n.adUnitCode===e}))}},x.setTargetingForGPTAsync=function(e,n){if((0,a.logInfo)("Invoking owpbjs.setTargetingForGPTAsync",arguments),(0,a.isGptPubadsDefined)()){var t=B.q0.getAllTargeting(e);B.q0.resetPresetTargeting(e,n),B.q0.setTargetingForGPT(t,n),Object.keys(t).forEach((function(e){Object.keys(t[e]).forEach((function(n){"hb_adid"===n&&l.K.setStatusForBids(t[e][n],f.UE.CK)}))})),s.emit(K,t)}else(0,a.logError)("window.googletag is not defined on the page")},x.setTargetingForAst=function(e){(0,a.logInfo)("Invoking owpbjs.setTargetingForAn",arguments),B.q0.isApntagDefined()?(B.q0.setTargetingForAst(e),s.emit(K,B.q0.getAllTargeting())):(0,a.logError)("window.apntag is not defined on the page")},x.renderAd=(0,k.z3)("async",(function(e,n,t){if((0,a.logInfo)("Invoking owpbjs.renderAd",arguments),(0,a.logMessage)("Calling renderAd with adId :"+n),n)try{var r=l.K.findBidByAdId(n);if(!r){var i="Error trying to write ad. Cannot find ad by given id : ".concat(n);return void b({reason:J,message:i,id:n})}if(r.status===f.UE.fe&&((0,a.logWarn)("Ad id ".concat(r.adId," has been rendered before")),s.emit(L,r),(0,u.Z)(v.vc.getConfig("auctionOptions"),"suppressStaleRender")))return;if(r.ad=(0,a.replaceAuctionPrice)(r.ad,r.originalCpm||r.cpm),r.adUrl=(0,a.replaceAuctionPrice)(r.adUrl,r.originalCpm||r.cpm),t&&t.clickThrough){var o=t.clickThrough;r.ad=(0,a.replaceClickThrough)(r.ad,o),r.adUrl=(0,a.replaceClickThrough)(r.adUrl,o)}l.K.addWinningBid(r),s.emit(F,r);var c=r.height,d=r.width,g=r.ad,m=r.mediaType,h=r.adUrl,y=r.renderer,E=r.adUnitCode,C=x.adUnits.filter((function(e){return e.code===E})),A=x.videoModule;if(C.video&&A)return void A.renderBid(C.video.divId,r);if(!e){var T="Error trying to write ad Id :".concat(n," to the page. Missing document");return void b({reason:Y,message:T,id:n})}var I=document.createComment("Creative ".concat(r.creativeId," served by ").concat(r.bidder," Prebid.js Header Bidding"));if((0,a.insertElement)(I,e,"html"),(0,p.Pd)(y))(0,p._U)(y,r,e),de(I,e,"html"),w({doc:e,bid:r,id:n});else if(e===document&&!(0,a.inIframe)()||"video"===m){var O="Error trying to write ad. Ad render call ad id ".concat(n," was prevented from writing to the main document.");b({reason:H,message:O,bid:r,id:n})}else if(g)e.write(g),e.close(),$(e,d,c),de(I,e,"html"),(0,a.callBurl)(r),w({doc:e,bid:r,id:n});else if(h){var S=(0,a.createInvisibleIframe)();S.height=c,S.width=d,S.style.display="inline",S.style.overflow="hidden",S.src=h,(0,a.insertElement)(S,e,"body"),$(e,d,c),de(I,e,"html"),(0,a.callBurl)(r),w({doc:e,bid:r,id:n})}else{var B="Error trying to write ad. No ad for bid response id: ".concat(n);b({reason:V,message:B,bid:r,id:n})}}catch(e){var k="Error trying to write ad Id :".concat(n," to the page:").concat(e.message);b({reason:Q,message:k,id:n})}else{var j="Error trying to write ad Id :".concat(n," to the page. Missing adId");b({reason:Y,message:j,id:n})}})),x.removeAdUnit=function(e){((0,a.logInfo)("Invoking owpbjs.removeAdUnit",arguments),e)?((0,a.isArray)(e)?e:[e]).forEach((function(e){for(var n=x.adUnits.length-1;n>=0;n--)x.adUnits[n].code===e&&x.adUnits.splice(n,1)})):x.adUnits=[]},x.requestBids=(ue=(0,k.z3)("async",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.bidsBackHandler,t=e.timeout,i=e.adUnits,o=e.adUnitCodes,u=e.labels,c=e.auctionId,d=e.ttlBuffer,f=e.ortb2,l=e.metrics,p=e.defer;s.emit(z);var m=t||v.vc.getConfig("bidderTimeout");(0,a.logInfo)("Invoking owpbjs.requestBids",arguments),o&&o.length?i=i.filter((function(e){return(0,g.q9)(o,e.code)})):o=i&&i.map((function(e){return e.code}));var h={global:(0,a.mergeDeep)({},v.vc.getAnyConfig("ortb2")||{},f||{}),bidder:Object.fromEntries(Object.entries(v.vc.getBidderConfig()).map((function(e){var n=(0,r.Z)(e,2);return[n[0],n[1].ortb2]})).filter((function(e){var n=(0,r.Z)(e,2);return n[0],null!=n[1]})))};return(0,Z.S)(_.Z.resolve(h.global)).then((function(e){return h.global=e,fe({bidsBackHandler:n,timeout:m,adUnits:i,adUnitCodes:o,labels:u,auctionId:c,ttlBuffer:d,ortb2Fragments:h,metrics:l,defer:p})}))}),"requestBids"),(0,k.IF)(ue,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.adUnits||x.adUnits;return e.adUnits=(0,a.isArray)(n)?n.slice():[n],e.metrics=(0,D.V6)(),e.metrics.checkpoint("requestBids"),e.defer=(0,_.P)({promiseFactory:function(e){return new Promise(e)}}),ue.call(this,e),e.defer.promise})));var fe=(0,k.z3)("async",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.bidsBackHandler,t=e.timeout,r=e.adUnits,i=e.ttlBuffer,o=e.adUnitCodes,u=e.labels,s=e.auctionId,d=e.ortb2Fragments,f=e.metrics,p=e.defer,m=(0,q.uV)(v.vc.getConfig("s2sConfig")||[]);function h(e,t,r){if("function"==typeof n)try{n(e,t,r)}catch(e){(0,a.logError)("Error executing bidsBackHandler",null,e)}p.resolve({bids:e,timedOut:t,auctionId:r})}if((r=(0,D.Bf)(f).measureTime("requestBids.validate",(function(){return ce(r)}))).forEach((function(e){var n,t=Object.keys(e.mediaTypes||{banner:"banner"}),r=e.bids.map((function(e){return e.bidder})),o=q.ZP.bidderRegistry,u=r.filter((function(e){return!m.has(e)})),s=(null===(n=e.ortb2Imp)||void 0===n||null===(n=n.ext)||void 0===n?void 0:n.tid)||(0,a.generateUUID)();e.transactionId=s,null==i||e.hasOwnProperty("ttlBuffer")||(e.ttlBuffer=i),(0,c.N)(e,"ortb2Imp.ext.tid",s),u.forEach((function(n){var r=o[n],i=r&&r.getSpec&&r.getSpec(),u=i&&i.supportedMediaTypes||["banner"];t.some((function(e){return(0,g.q9)(u,e)}))?U.f.incrementBidderRequestsCounter(e.code,n):((0,a.logWarn)((0,a.unsupportedBidderMessage)(e,n)),e.bids=e.bids.filter((function(e){return e.bidder!==n})))})),U.f.incrementRequestsCounter(e.code)})),r&&0!==r.length){var y=l.K.createAuction({adUnits:r,adUnitCodes:o,callback:h,cbTimeout:t,labels:u,auctionId:s,ortb2Fragments:d,metrics:f}),b=r.length;b>15&&(0,a.logInfo)("Current auction ".concat(y.getAuctionId()," contains ").concat(b," adUnits."),r),o.forEach((function(e){return B.q0.setLatestAuctionForAdUnit(e,y.getAuctionId())})),y.callBids()}else(0,a.logMessage)("No adUnits configured. No bids requested."),h()}),"startAuction");x.requestBids.before((function(e,n){function t(e){for(var n;n=e.shift();)n()}t(R.Ld),t(le),e.call(this,n)}),49),x.addAdUnits=function(e){(0,a.logInfo)("Invoking owpbjs.addAdUnits",arguments),x.adUnits.push.apply(x.adUnits,(0,a.isArray)(e)?e:[e]),s.emit(W)},x.onEvent=function(e,n,t){(0,a.logInfo)("Invoking owpbjs.onEvent",arguments),(0,a.isFn)(n)?!t||X[e].call(null,t)?s.on(e,n,t):(0,a.logError)('The id provided is not valid for event "'+e+'" and no handler was set.'):(0,a.logError)('The event handler provided is not a function and was not set on event "'+e+'".')},x.offEvent=function(e,n,t){(0,a.logInfo)("Invoking owpbjs.offEvent",arguments),t&&!X[e].call(null,t)||s.off(e,n,t)},x.getEvents=function(){return(0,a.logInfo)("Invoking owpbjs.getEvents"),s.getEvents()},x.registerBidAdapter=function(e,n){(0,a.logInfo)("Invoking owpbjs.registerBidAdapter",arguments);try{q.ZP.registerBidAdapter(e(),n)}catch(e){(0,a.logError)("Error registering bidder adapter : "+e.message)}},x.registerAnalyticsAdapter=function(e){(0,a.logInfo)("Invoking owpbjs.registerAnalyticsAdapter",arguments);try{q.ZP.registerAnalyticsAdapter(e)}catch(e){(0,a.logError)("Error registering analytics adapter : "+e.message)}},x.createBid=function(e){return(0,a.logInfo)("Invoking owpbjs.createBid",arguments),(0,P.m)(e)};var le=[],ge=(0,k.z3)("async",(function(e){e&&!(0,a.isEmpty)(e)?((0,a.logInfo)("Invoking owpbjs.enableAnalytics for: ",e),q.ZP.enableAnalytics(e)):(0,a.logError)("owpbjs.enableAnalytics should be called with option {}")}),"enableAnalyticsCb");function pe(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){(0,a.logError)("Error processing command :","prebid.js",e)}}))}x.enableAnalytics=function(e){le.push(ge.bind(this,e))},x.aliasBidder=function(e,n,t){(0,a.logInfo)("Invoking owpbjs.aliasBidder",arguments),e&&n?q.ZP.aliasBidAdapter(e,n,t):(0,a.logError)("bidderCode and alias must be passed as arguments","owpbjs.aliasBidder")},x.aliasRegistry=q.ZP.aliasRegistry,v.vc.getConfig("aliasRegistry",(function(e){"private"===e.aliasRegistry&&delete x.aliasRegistry})),x.getAllWinningBids=function(){return l.K.getAllWinningBids()},x.getAllPrebidWinningBids=function(){return l.K.getBidsReceived().filter((function(e){return e.status===f.UE.CK}))},x.getHighestCpmBids=function(e){return B.q0.getWinningBids(e)},x.markWinningBidAsUsed=function(e){var n=[];e.adUnitCode&&e.adId?n=l.K.getBidsReceived().filter((function(n){return n.adId===e.adId&&n.adUnitCode===e.adUnitCode})):e.adUnitCode?n=B.q0.getWinningBids(e.adUnitCode):e.adId?n=l.K.getBidsReceived().filter((function(n){return n.adId===e.adId})):(0,a.logWarn)("Improper use of markWinningBidAsUsed. It needs an adUnitCode or an adId to function."),n.length>0&&(n[0].status=f.UE.fe)},x.getConfig=v.vc.getAnyConfig,x.readConfig=v.vc.readAnyConfig,x.mergeConfig=v.vc.mergeConfig,x.mergeBidderConfig=v.vc.mergeBidderConfig,x.setConfig=v.vc.setConfig,x.setBidderConfig=v.vc.setBidderConfig,x.que.push((function(){window.addEventListener("message",I,!1)})),x.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){(0,a.logError)("Error processing command :",e.message,e.stack)}else(0,a.logError)("Commands written into owpbjs.cmd.push must be wrapped in a function")},x.que.push=x.cmd.push,x.processQueue=function(){k.z3.ready(),pe(x.que),pe(x.cmd)}},78640:function(e,n,t){var r;(t.d(n,{R:function(){return i}}),window.owpbjs)&&console.warn("Namespace clash happened, with name: ".concat("window.owpbjs",", now you can provide your custom namespace, by creating new profile version in the UI. Existing PWT version details: ",JSON.stringify(null===(r=window)||void 0===r||null===(r=r.PWT)||void 0===r?void 0:r.versionDetails)));function i(){return window.owpbjs}window.owpbjs=window.owpbjs||{},window.owpbjs.cmd=window.owpbjs.cmd||[],window.owpbjs.que=window.owpbjs.que||[],window._pbjsGlobals=window._pbjsGlobals||[],window._pbjsGlobals.push("owpbjs")},25102:function(e,n,t){t.d(n,{hh:function(){return a},nH:function(){return u}});var r=t(3193),i=t(64358);function o(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(!e)return e;if(/\w+:\/\//.exec(e))return e;var t=n.location.protocol;try{t=n.top.location.protocol}catch(e){}return/^\/\//.exec(e)?t+e:"".concat(t,"//").concat(e)}function a(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.noLeadingWww,r=void 0!==t&&t,i=n.noPort,a=void 0!==i&&i;try{e=new URL(o(e))}catch(e){return}return e=a?e.hostname:e.host,r&&e.startsWith("www.")&&(e=e.substring(4)),e}var u=function(e){function n(e){try{var n=e.querySelector("link[rel='canonical']");if(null!==n)return n.href}catch(e){}return null}return function(){var t,u,c,s,d=[],f=function(e){try{if(!e.location.ancestorOrigins)return;return e.location.ancestorOrigins}catch(e){}}(e),l=r.vc.getConfig("maxNestedIframes"),g=!1,p=0,v=!1,m=!1,h=!1;do{var y=t,b=m,w=void 0,E=!1,C=null;m=!1,t=t?t.parent:e;try{w=t.location.href||null}catch(e){E=!0}if(E)if(b){var A=y.context;try{u=C=A.sourceUrl,h=!0,v=!0,t===e.top&&(g=!0),A.canonicalUrl&&(c=A.canonicalUrl)}catch(e){}}else{(0,i.logWarn)("Trying to access cross domain iframe. Continuing without referrer and location");try{var T=y.document.referrer;T&&(C=T,t===e.top&&(g=!0))}catch(e){}!C&&f&&f[p-1]&&(C=f[p-1],t===e.top&&(h=!0)),C&&!v&&(u=C)}else{if(w&&(u=C=w,v=!1,t===e.top)){g=!0;var I=n(t.document);I&&(c=I)}t.context&&t.context.sourceUrl&&(m=!0)}d.push(C),p++}while(t!==e.top&&p<l);d.reverse();try{s=e.top.document.referrer}catch(e){}var O=g||h?u:null,S=r.vc.getConfig("pageUrl")||c||null,B=r.vc.getConfig("pageUrl")||O||o(S,e);return O&&O.indexOf("?")>-1&&-1===B.indexOf("?")&&(B="".concat(B).concat(O.substring(O.indexOf("?")))),{reachedTop:g,isAmp:v,numIframes:p-1,stack:d,topmostLocation:u||null,location:O,canonicalUrl:S,page:B,domain:a(B)||null,ref:s||null,legacy:{reachedTop:g,isAmp:v,numIframes:p-1,stack:d,referer:u||null,canonicalUrl:S}}}}(window)},15164:function(e,n,t){t.d(n,{Ld:function(){return c},S6:function(){return d},df:function(){return l},eA:function(){return f}});var r=t(92797),i=t(64358),o=t(55975),a=t(34516),u=["core","prebid-module"],c=[];function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.gvlid,t=e.moduleName,r=e.bidderCode,s=e.moduleType,f=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).bidderSettings,l=void 0===f?o.S:f;function g(e){if(function(){if(null==r)return!0;var e=l.get(r,"storageAllowed");return null!=e&&e}()){var o;return d(n,r||t,{hasEnforcementHook:!1},(function(n){if(n&&n.hasEnforcementHook)o=e(n);else{var t={hasEnforcementHook:!1,valid:(0,i.hasDeviceAccess)()};o=e(t)}})),o}(0,i.logInfo)("bidderSettings denied access to device storage for bidder '".concat(r,"'"));return e({valid:!1})}u.includes(s)&&(n=n||a.$P);var p=function(e){var n=function(e){if(e&&e.valid)try{return!!window.localStorage}catch(e){(0,i.logError)("Local storage api disabled")}return!1};if(!e||"function"!=typeof e)return g(n);c.push((function(){var t=g(n);e(t)}))};return{setCookie:function(e,n,t,r,i,o){var a=function(o){if(o&&o.valid){var a=i&&""!==i?" ;domain=".concat(encodeURIComponent(i)):"",u=t&&""!==t?" ;expires=".concat(t):"",c=null!=r&&"none"==r.toLowerCase()?"; Secure":"";document.cookie="".concat(e,"=").concat(encodeURIComponent(n)).concat(u,"; path=/").concat(a).concat(r?"; SameSite=".concat(r):"").concat(c)}};if(!o||"function"!=typeof o)return g(a);c.push((function(){var e=g(a);o(e)}))},getCookie:function(e,n){var t=function(n){if(n&&n.valid){var t=window.document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]*)\\s*(;|$)");return t?decodeURIComponent(t[2]):null}return null};if(!n||"function"!=typeof n)return g(t);c.push((function(){var e=g(t);n(e)}))},localStorageIsEnabled:function(e){var n=function(e){if(e&&e.valid)try{return localStorage.setItem("prebid.cookieTest","1"),"1"===localStorage.getItem("prebid.cookieTest")}catch(e){}finally{try{localStorage.removeItem("prebid.cookieTest")}catch(e){}}return!1};if(!e||"function"!=typeof e)return g(n);c.push((function(){var t=g(n);e(t)}))},cookiesAreEnabled:function(e){var n=function(e){return!(!e||!e.valid)&&(0,i.checkCookieSupport)()};if(!e||"function"!=typeof e)return g(n);c.push((function(){var t=g(n);e(t)}))},setDataInLocalStorage:function(e,n,t){var r=function(t){t&&t.valid&&p()&&window.localStorage.setItem(e,n)};if(!t||"function"!=typeof t)return g(r);c.push((function(){var e=g(r);t(e)}))},getDataFromLocalStorage:function(e,n){var t=function(n){return n&&n.valid&&p()?window.localStorage.getItem(e):null};if(!n||"function"!=typeof n)return g(t);c.push((function(){var e=g(t);n(e)}))},removeDataFromLocalStorage:function(e,n){var t=function(n){n&&n.valid&&p()&&window.localStorage.removeItem(e)};if(!n||"function"!=typeof n)return g(t);c.push((function(){var e=g(t);n(e)}))},hasLocalStorage:p,findSimilarCookies:function(e,n){var t=function(n){if(n&&n.valid){var t=[];if((0,i.hasDeviceAccess)())for(var r=document.cookie.split(";");r.length;){var o=r.pop(),a=o.indexOf("=");a=a<0?o.length:a,decodeURIComponent(o.slice(0,a).replace(/^\s+/,"")).indexOf(e)>=0&&t.push(decodeURIComponent(o.slice(a+1)))}return t}};if(!n||"function"!=typeof n)return g(t);c.push((function(){var e=g(t);n(e)}))}}}var d=(0,r.z3)("async",(function(e,n,t,r){r(t)}),"validateStorageEnforcement");function f(e){return s({moduleName:e,moduleType:"core"})}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.gvlid,t=e.moduleName,r=e.bidderCode;if(arguments.length>1||arguments.length>0&&!(0,i.isPlainObject)(arguments[0]))throw new Error("Invalid invocation for getStorageManager");return s({gvlid:n,moduleName:t,bidderCode:r})}},18621:function(e,n,t){t.d(n,{TL:function(){return C},bP:function(){return T},ol:function(){return A},q0:function(){return I}});var r=t(4942),i=t(89062),o=t(64358),a=t(20265),u=t(3193),c=t(70059),s=t(78653),d=t(24679),f=t(92797),l=t(55975),g=t(34614),p=t(5644),v=[],m=1;u.vc.getConfig("ttlBuffer",(function(e){"number"==typeof e.ttlBuffer?m=e.ttlBuffer:(0,o.logError)("Invalid value for ttlBuffer",e.ttlBuffer)}));var h="targetingControls.allowTargetingKeys",y="targetingControls.addTargetingKeys",b='Only one of "'.concat(h,'" or "').concat(y,'" can be set'),w=Object.keys(p.TD).map((function(e){return p.TD[e]})),E={isActualBid:function(e){return e.getStatusCode()===p.Q_.GOOD},isBidNotExpired:function(e){return e.responseTimestamp+1e3*(e.ttl-(e.hasOwnProperty("ttlBuffer")?e.ttlBuffer:m))>(0,o.timestamp)()},isUnusedBid:function(e){return e&&(e.status&&!(0,g.q9)([p.UE.fe],e.status)||!e.status)}};function C(e){return!Object.values(E).some((function(n){return!n(e)}))}var A=(0,f.z3)("sync",(function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!(arguments.length>3&&void 0!==arguments[3]&&arguments[3])){var r=[],a=u.vc.getConfig("sendBidsControl.dealPrioritization"),c=(0,o.groupBy)(e,"adUnitCode");return Object.keys(c).forEach((function(e){var u=[],s=(0,o.groupBy)(c[e],"bidderCode");Object.keys(s).forEach((function(e){return u.push(s[e].reduce(n))})),t>0?(u=a?u.sort(T(!0)):u.sort((function(e,n){return n.cpm-e.cpm})),r.push.apply(r,(0,i.Z)(u.slice(0,t)))):r.push.apply(r,(0,i.Z)(u))})),r}return e}));function T(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(n,t){return void 0!==n.adserverTargeting.hb_deal&&void 0===t.adserverTargeting.hb_deal?-1:void 0===n.adserverTargeting.hb_deal&&void 0!==t.adserverTargeting.hb_deal?1:e?t.cpm-n.cpm:t.adserverTargeting.hb_pb-n.adserverTargeting.hb_pb}}var I=function(e){var n={},t={};function s(e,n){return e.adserverTargeting&&n&&((0,o.isArray)(n)&&(0,g.q9)(n,e.adUnitCode)||"string"==typeof n&&e.adUnitCode===n)}function f(n){return"string"==typeof n?[n]:(0,o.isArray)(n)?n:e.getAdUnitCodes()||[]}function m(){var n=e.getBidsReceived();if(u.vc.getConfig("useBidCache")){var r=u.vc.getConfig("bidCacheFilterFunction");"function"==typeof r&&(n=n.filter((function(e){return t[e.adUnitCode]===e.auctionId||!!r(e)})))}else n=n.filter((function(e){return t[e.adUnitCode]===e.auctionId}));return n=n.filter((function(e){return(0,a.Z)(e,"video.context")!==d.Oh})).filter(C),A(n,o.getOldestHighestCpmBid)}function E(e,t){var o=n.getWinningBids(e,t),a=I();return o=o.map((function(e){return(0,r.Z)({},e.adUnitCode,Object.keys(e.adserverTargeting).filter((function(n){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===a.indexOf(n)})).reduce((function(n,t){var o=[e.adserverTargeting[t]],a=(0,r.Z)({},t.substring(0,20),o);if(t===p.TD.DEAL){var u="".concat(t,"_").concat(e.bidderCode).substring(0,20),c=(0,r.Z)({},u,o);return[].concat((0,i.Z)(n),[a,c])}return[].concat((0,i.Z)(n),[a])}),[]))})),o}function I(){return e.getStandardBidderAdServerTargeting().map((function(e){return e.key})).concat(w).filter(o.uniques)}function O(e,n,t,r){return Object.keys(n.adserverTargeting).filter(S()).forEach((function(t){e.length&&e.filter(function(e){return function(t){return t.adUnitCode===n.adUnitCode&&t.adserverTargeting[e]}}(t)).forEach(function(e){return function(t){(0,o.isArray)(t.adserverTargeting[e])||(t.adserverTargeting[e]=[t.adserverTargeting[e]]),t.adserverTargeting[e]=t.adserverTargeting[e].concat(n.adserverTargeting[e]).filter(o.uniques),delete n.adserverTargeting[e]}}(t))})),e.push(n),e}function S(){var e=I();return e=e.concat(c.xc),function(n){return-1===e.indexOf(n)}}function B(e){return(0,r.Z)({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(S()).map((function(n){return(0,r.Z)({},n.substring(0,20),[e.adserverTargeting[n]])})))}function k(e,n){return n.map((function(n){return(0,r.Z)({},"".concat(n,"_").concat(e.bidderCode).substring(0,20),[e.adserverTargeting[n]])}))}return n.setLatestAuctionForAdUnit=function(e,n){t[e]=n},n.resetPresetTargeting=function(n,t){if((0,o.isGptPubadsDefined)()){var r=f(n),i=e.getAdUnits().filter((function(e){return(0,g.q9)(r,e.code)})),a=v.reduce((function(e,n){return e[n]=null,e}),{});window.googletag.pubads().getSlots().forEach((function(e){var n=(0,o.isFn)(t)&&t(e);i.forEach((function(t){(t.code===e.getAdUnitPath()||t.code===e.getSlotElementId()||(0,o.isFn)(n)&&n(t.code))&&e.updateTargetingFromMap(a)}))}))}},n.resetPresetTargetingAST=function(e){f(e).forEach((function(e){var n=window.apntag.getTag(e);if(n&&n.keywords){var t=Object.keys(n.keywords),r={};t.forEach((function(e){(0,g.q9)(v,e.toLowerCase())||(r[e]=n.keywords[e])})),window.apntag.modifyTag(e,{keywords:r})}}))},n.getAllTargeting=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m(),i=f(n),d=E(i,t).concat(function(e,n){return n.filter((function(n){return(0,g.q9)(e,n.adUnitCode)})).map((function(e){return Object.assign({},e)})).reduce(O,[]).map(B).filter((function(e){return e}))}(i,t)).concat(u.vc.getConfig("enableSendAllBids")?function(e,n){var t=w.concat(c.xc),i=u.vc.getConfig("sendBidsControl.bidLimit"),a=A(n,o.getHighestCpm,i),d=u.vc.getConfig("targetingControls.allowSendAllBidsTargetingKeys"),f=d?d.map((function(e){return p.TD[e]})):t;return a.map((function(n){if(s(n,e))return(0,r.Z)({},n.adUnitCode,k(n,t.filter((function(e){return void 0!==n.adserverTargeting[e]&&-1!==f.indexOf(e)}))))})).filter((function(e){return e}))}(i,t):function(e,n){if(!0===u.vc.getConfig("targetingControls.alwaysIncludeDeals")){var t=w.concat(c.xc);return A(n,o.getHighestCpm).map((function(n){if(n.dealId&&s(n,e))return(0,r.Z)({},n.adUnitCode,k(n,t.filter((function(e){return void 0!==n.adserverTargeting[e]}))))})).filter((function(e){return e}))}return[]}(i,t)).concat(function(n){function t(e){return(0,a.Z)(e,p.k2.xn)}function i(e){var n=t(e);return Object.keys(n).map((function(e){return(0,o.isStr)(n[e])&&(n[e]=n[e].split(",").map((function(e){return e.trim()}))),(0,o.isArray)(n[e])||(n[e]=[n[e]]),(0,r.Z)({},e,n[e])}))}return e.getAdUnits().filter((function(e){return(0,g.q9)(n,e.code)&&t(e)})).map((function(e){return(0,r.Z)({},e.code,i(e))}))}(i));d.map((function(e){Object.keys(e).map((function(n){e[n].map((function(e){-1===v.indexOf(Object.keys(e)[0])&&(v=Object.keys(e).concat(v))}))}))}));var l=Object.keys(Object.assign({},p.kF,p.FY)),C=u.vc.getConfig(h),I=u.vc.getConfig(y);if(null!=I&&null!=C)throw new Error(b);C=null!=I?l.concat(I):C||l,Array.isArray(C)&&C.length>0&&(d=function(e,n){var t=Object.assign({},p.TD,p.FY),r=Object.keys(t),i={};(0,o.logInfo)("allowTargetingKeys - allowed keys [ ".concat(n.map((function(e){return t[e]})).join(", ")," ]")),e.map((function(e){var o=Object.keys(e)[0],a=e[o].filter((function(e){var o=Object.keys(e)[0],a=0===r.filter((function(e){return 0===o.indexOf(t[e])})).length||(0,g.sE)(n,(function(e){var n=t[e];return 0===o.indexOf(n)}));return i[o]=!a,a}));e[o]=a}));var a=Object.keys(i).filter((function(e){return i[e]}));return(0,o.logInfo)("allowTargetingKeys - removed keys [ ".concat(a.join(", ")," ]")),e.filter((function(e){return e[Object.keys(e)[0]].length>0}))}(d,C)),d=function(e){var n=e.map((function(e){return(0,r.Z)({},Object.keys(e)[0],e[Object.keys(e)[0]].map((function(e){return(0,r.Z)({},Object.keys(e)[0],e[Object.keys(e)[0]].join(","))})).reduce((function(e,n){return Object.assign(n,e)}),{}))})).reduce((function(e,n){var t=Object.keys(n)[0];return e[t]=Object.assign({},e[t],n[t]),e}),{});return n}(d);var S=u.vc.getConfig("targetingControls.auctionKeyMaxChars");return S&&((0,o.logInfo)("Detected 'targetingControls.auctionKeyMaxChars' was active for this auction; set with a limit of ".concat(S," characters. Running checks on auction keys...")),d=function(e,n){var t=(0,o.deepClone)(e),r=Object.keys(t).map((function(e){return{adUnitCode:e,adserverTargeting:t[e]}})).sort(T());return r.reduce((function(e,r,i,a){var u,c=(u=r.adserverTargeting,Object.keys(u).reduce((function(e,n){return e+"".concat(n,"%3d").concat(encodeURIComponent(u[n]),"%26")}),""));i+1===a.length&&(c=c.slice(0,-3));var s=r.adUnitCode,d=c.length;return d<=n?(n-=d,(0,o.logInfo)("AdUnit '".concat(s,"' auction keys comprised of ").concat(d," characters. Deducted from running threshold; new limit is ").concat(n),t[s]),e[s]=t[s]):(0,o.logWarn)("The following keys for adUnitCode '".concat(s,"' exceeded the current limit of the 'auctionKeyMaxChars' setting.\nThe key-set size was ").concat(d,", the current allotted amount was ").concat(n,".\n"),t[s]),i+1===a.length&&0===Object.keys(e).length&&(0,o.logError)("No auction targeting keys were permitted due to the setting in setConfig(targetingControls.auctionKeyMaxChars). Please review setup and consider adjusting."),e}),{})}(d,S)),i.forEach((function(e){d[e]||(d[e]={})})),d},u.vc.getConfig("targetingControls",(function(e){null!=(0,a.Z)(e,h)&&null!=(0,a.Z)(e,y)&&(0,o.logError)(b)})),n.setTargetingForGPT=function(e,n){window.googletag.pubads().getSlots().forEach((function(t){Object.keys(e).filter(n?n(t):(0,o.isAdUnitCodeMatchingSlot)(t)).forEach((function(n){Object.keys(e[n]).forEach((function(t){var r=e[n][t];"string"==typeof r&&-1!==r.indexOf(",")&&(r=r.split(",")),e[n][t]=r})),(0,o.logMessage)("Attempting to set targeting-map for slot: ".concat(t.getSlotElementId()," with targeting-map:"),e[n]),t.updateTargetingFromMap(e[n])}))}))},n.getWinningBids=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m(),t=f(e);return n.filter((function(e){return(0,g.q9)(t,e.adUnitCode)})).filter((function(e){return!0===l.S.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0})).map((function(e){return e.adUnitCode})).filter(o.uniques).map((function(e){return n.filter((function(n){return n.adUnitCode===e?n:null})).reduce(o.getHighestCpm)}))},n.setTargetingForAst=function(e){var t=n.getAllTargeting(e);try{n.resetPresetTargetingAST(e)}catch(e){(0,o.logError)("unable to reset targeting for AST"+e)}Object.keys(t).forEach((function(e){return Object.keys(t[e]).forEach((function(n){if((0,o.logMessage)("Attempting to set targeting for targetId: ".concat(e," key: ").concat(n," value: ").concat(t[e][n])),(0,o.isStr)(t[e][n])||(0,o.isArray)(t[e][n])){var r={};n.search(/pt[0-9]/)<0?r[n.toUpperCase()]=t[e][n]:r[n]=t[e][n],window.apntag.setKeywords(e,r,{overrideKeyValue:!0})}}))}))},n.isApntagDefined=function(){if(window.apntag&&(0,o.isFn)(window.apntag.setKeywords))return!0},n}(s.K)},11974:function(e,n,t){t.d(n,{k_:function(){return s}});var r=t(93324),i=t(64358),o=t(3193),a=t(34614),u=t(15164);o.vc.setDefaults({userSync:(0,i.deepClone)({syncEnabled:!0,filterSettings:{image:{bidders:"*",filter:"include"}},syncsPerBidder:5,syncDelay:3e3,auctionDelay:0})});var c=(0,u.eA)("usersync");var s=function(e){var n={},t={image:[],iframe:[]},u=new Set,c={},s={image:!0,iframe:!1},d=e.config;function f(){if(d.syncEnabled&&e.browserSupportsCookies){try{!function(){if(!s.iframe)return;l(t.iframe,(function(e){var n=(0,r.Z)(e,2),o=n[0],a=n[1];(0,i.logMessage)("Invoking iframe user sync for bidder: ".concat(o)),(0,i.insertUserSyncIframe)(a),function(e,n){e.image=e.image.filter((function(e){return e[0]!==n}))}(t,o)}))}(),function(){if(!s.image)return;l(t.image,(function(e){var n=(0,r.Z)(e,2),t=n[0],o=n[1];(0,i.logMessage)("Invoking image pixel user sync for bidder: ".concat(t)),(0,i.triggerPixel)(o)}))}()}catch(e){return(0,i.logError)("Error firing user syncs",e)}t={image:[],iframe:[]}}}function l(e,n){(0,i.shuffle)(e).forEach((function(e){n(e),u.add(e[0])}))}function g(e,n){var t=d.filterSettings;if(function(e,n){if(e.all&&e[n])return(0,i.logWarn)('Detected presence of the "filterSettings.all" and "filterSettings.'.concat(n,'" in userSync config. You cannot mix "all" with "iframe/image" configs; they are mutually exclusive.')),!1;var t=e.all?e.all:e[n],r=e.all?"all":n;if(!t)return!1;var o=t.filter,a=t.bidders;if(o&&"include"!==o&&"exclude"!==o)return(0,i.logWarn)('UserSync "filterSettings.'.concat(r,".filter\" setting '").concat(o,"' is not a valid option; use either 'include' or 'exclude'.")),!1;if("*"!==a&&!(Array.isArray(a)&&a.length>0&&a.every((function(e){return(0,i.isStr)(e)&&"*"!==e}))))return(0,i.logWarn)('Detected an invalid setup in userSync "filterSettings.'.concat(r,".bidders\"; use either '*' (to represent all bidders) or an array of bidders.")),!1;return!0}(t,e)){s[e]=!0;var r=t.all?t.all:t[e],o="*"===r.bidders?[n]:r.bidders,u={include:function(e,n){return!(0,a.q9)(e,n)},exclude:function(e,n){return(0,a.q9)(e,n)}};return u[r.filter||"include"](o,n)}return!s[e]}return o.vc.getConfig("userSync",(function(e){if(e.userSync){var n=e.userSync.filterSettings;(0,i.isPlainObject)(n)&&(n.image||n.all||(e.userSync.filterSettings.image={bidders:"*",filter:"include"}))}d=Object.assign(d,e.userSync)})),n.registerSync=function(e,r,o){return u.has(r)?(0,i.logMessage)('already fired syncs for "'.concat(r,'", ignoring registerSync call')):d.syncEnabled&&(0,i.isArray)(t[e])?r?0!==d.syncsPerBidder&&Number(c[r])>=d.syncsPerBidder?(0,i.logWarn)('Number of user syncs exceeded for "'.concat(r,'"')):n.canBidderRegisterSync(e,r)?(t[e].push([r,o]),void(c=function(e,n){return e[n]?e[n]+=1:e[n]=1,e}(c,r))):(0,i.logWarn)('Bidder "'.concat(r,'" not permitted to register their "').concat(e,'" userSync pixels.')):(0,i.logWarn)("Bidder is required for registering sync"):(0,i.logWarn)('User sync type "'.concat(e,'" not supported'))},n.syncUsers=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(f,Number(e));f()},n.triggerUserSyncs=function(){d.enableOverride&&n.syncUsers()},n.canBidderRegisterSync=function(e,n){return!d.filterSettings||!g(e,n)},n}(Object.defineProperties({config:o.vc.getConfig("userSync")},{browserSupportsCookies:{get:function(){return!(0,i.isSafariBrowser)()&&c.cookiesAreEnabled()}}}))},64358:function(e,n,t){t.r(n),t.d(n,{_each:function(){return me},_map:function(){return ye},_setEventEmitter:function(){return B},adUnitsFilter:function(){return ze},bind:function(){return D},buildUrl:function(){return Sn},callBurl:function(){return Ae},checkCookieSupport:function(){return Xe},chunk:function(){return wn},cleanObj:function(){return pn},compareOn:function(){return An},contains:function(){return he},convertCamelToUnderscore:function(){return gn},convertTypes:function(){return hn},createInvisibleIframe:function(){return oe},createTrackPixelHtml:function(){return Oe},createTrackPixelIframeHtml:function(){return Se},cyrb53Hash:function(){return jn},debugTurnedOn:function(){return ie},deepAccess:function(){return p.Z},deepClone:function(){return Ke},deepEqual:function(){return Bn},deepSetValue:function(){return v.N},delayExecution:function(){return $e},escapeUnsafeChars:function(){return Zn},fill:function(){return bn},flatten:function(){return je},formatQS:function(){return In},generateUUID:function(){return x},getAdUnitSizes:function(){return z},getBidIdParameter:function(){return N},getBidRequest:function(){return Ue},getBidderCodes:function(){return De},getDNT:function(){return on},getDefinedParams:function(){return nn},getGptSlotForAdUnitCode:function(){return sn},getGptSlotInfoForAdUnitCode:function(){return dn},getHighestCpm:function(){return xe},getKeyByValue:function(){return qe},getKeys:function(){return Pe},getLatestHighestCpmBid:function(){return Me},getMaxValueFromArray:function(){return Cn},getMinValueFromArray:function(){return En},getOldestHighestCpmBid:function(){return Ne},getParameterByName:function(){return ae},getPerformanceNow:function(){return Je},getPrebidInternal:function(){return P},getUniqueIdentifierStr:function(){return Z},getUserConfiguredParams:function(){return rn},getValue:function(){return Re},getValueString:function(){return Be},getWindowFromDocument:function(){return Pn},getWindowLocation:function(){return J},getWindowSelf:function(){return Q},getWindowTop:function(){return V},groupBy:function(){return en},hasConsoleLogger:function(){return re},hasDeviceAccess:function(){return Ye},hasOwn:function(){return be},inIframe:function(){return Le},insertElement:function(){return we},insertHtmlIntoIframe:function(){return Te},insertUserSyncIframe:function(){return Ie},internal:function(){return j},isA:function(){return ue},isAdUnitCodeMatchingSlot:function(){return un},isApnGetTagDefined:function(){return Ze},isArray:function(){return de},isArrayOfNums:function(){return yn},isBoolean:function(){return ge},isEmpty:function(){return pe},isEmptyStr:function(){return ve},isFn:function(){return ce},isGptPubadsDefined:function(){return _e},isInteger:function(){return ln},isNumber:function(){return fe},isPlainObject:function(){return le},isSafariBrowser:function(){return Ge},isSlotMatchingAdUnitCode:function(){return cn},isStr:function(){return se},isValidMediaTypes:function(){return tn},logError:function(){return ee},logInfo:function(){return X},logMessage:function(){return Y},logWarn:function(){return $},memoize:function(){return qn},mergeDeep:function(){return kn},parseGPTSingleSizeArray:function(){return L},parseGPTSingleSizeArrayToRtbSize:function(){return G},parseQS:function(){return Tn},parseQueryStringParameters:function(){return W},parseSizesInput:function(){return K},parseUrl:function(){return On},pick:function(){return vn},prefixLog:function(){return ne},replaceAuctionPrice:function(){return He},replaceClickThrough:function(){return Ve},safeJSONParse:function(){return Rn},setScriptAttributes:function(){return Dn},shuffle:function(){return Fe},skipUndefinedValues:function(){return Un},timestamp:function(){return Qe},transformAdServerTargetingObj:function(){return F},transformBidderParamKeywords:function(){return mn},triggerPixel:function(){return Ce},tryAppendQueryString:function(){return M},uniques:function(){return ke},unsupportedBidderMessage:function(){return fn},waitForElementToLoad:function(){return Ee}});var r,i=t(93324),o=t(89062),a=t(4942),u=t(71002),c=t(3193),s=t(77079),d=t.n(s),f=t(34614),l=t(5644),g=t(68792),p=t(20265),v=t(96475),m="Array",h="String",y="Function",b="Number",w="Object",E="Boolean",C=Object.prototype.toString,A=Boolean(window.console),T=Boolean(A&&window.console.log),I=Boolean(A&&window.console.info),O=Boolean(A&&window.console.warn),S=Boolean(A&&window.console.error);function B(e){r=e}function k(){null!=r&&r.apply(void 0,arguments)}var j={checkCookieSupport:Xe,createTrackPixelIframeHtml:Se,getWindowSelf:Q,getWindowTop:V,getWindowLocation:J,insertUserSyncIframe:Ie,insertElement:we,isFn:ce,triggerPixel:Ce,logError:ee,logWarn:$,logMessage:Y,logInfo:X,parseQS:Tn,formatQS:In,deepEqual:Bn,isEmpty:pe,skipUndefinedValues:Un},U={};function P(){return U}var R,q={},D=function(e,n){return n}.bind(null,1,q)()===q?Function.prototype.bind:function(e){var n=this,t=Array.prototype.slice.call(arguments,1);return function(){return n.apply(e,t.concat(Array.prototype.slice.call(arguments)))}},_=(R=0,function(){return++R});function Z(){return _()+Math.random().toString(16).substr(2)}function x(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,x)}function N(e,n){return n&&n[e]?n[e]:""}function M(e,n,t){return t?e+n+"="+encodeURIComponent(t)+"&":e}function W(e){var n="";for(var t in e)e.hasOwnProperty(t)&&(n+=t+"="+encodeURIComponent(e[t])+"&");return n=n.replace(/&$/,"")}function F(e){return e&&Object.getOwnPropertyNames(e).length>0?Pe(e).map((function(n){return"".concat(n,"=").concat(encodeURIComponent(Re(e,n)))})).join("&"):""}function z(e){if(e){var n=[];if(e.mediaTypes&&e.mediaTypes.banner&&Array.isArray(e.mediaTypes.banner.sizes)){var t=e.mediaTypes.banner.sizes;Array.isArray(t[0])?n=t:n.push(t)}else Array.isArray(e.sizes)&&(Array.isArray(e.sizes[0])?n=e.sizes:n.push(e.sizes));return n}}function K(e){var n=[];if("string"==typeof e){var t=e.split(","),r=/^(\d)+x(\d)+$/i;if(t)for(var i in t)be(t,i)&&t[i].match(r)&&n.push(t[i])}else if("object"===(0,u.Z)(e)){var o=e.length;if(o>0)if(2===o&&"number"==typeof e[0]&&"number"==typeof e[1])n.push(L(e));else for(var a=0;a<o;a++)n.push(L(e[a]))}return n}function L(e){if(H(e))return e[0]+"x"+e[1]}function G(e){if(H(e))return{w:e[0],h:e[1]}}function H(e){return de(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1])}function V(){return window.top}function Q(){return window.self}function J(){return window.location}function Y(){ie()&&T&&console.log.apply(console,te(arguments,"MESSAGE:"))}function X(){ie()&&I&&console.info.apply(console,te(arguments,"INFO:"))}function $(){ie()&&O&&console.warn.apply(console,te(arguments,"WARNING:")),k(l.FP.AUCTION_DEBUG,{type:"WARNING",arguments:arguments})}function ee(){ie()&&S&&console.error.apply(console,te(arguments,"ERROR:")),k(l.FP.AUCTION_DEBUG,{type:"ERROR",arguments:arguments})}function ne(e){function n(n){return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];n.apply(void 0,[e].concat(r))}}return{logError:n(ee),logWarn:n($),logMessage:n(Y),logInfo:n(X)}}function te(e,n){e=[].slice.call(e);var t=c.vc.getCurrentBidder();return n&&e.unshift(n),t&&e.unshift(r("#aaa")),e.unshift(r("#3b88c3")),e.unshift("%cPrebid"+(t?"%c".concat(t):"")),e;function r(e){return"display: inline-block; color: #fff; background: ".concat(e,"; padding: 1px 4px; border-radius: 3px;")}}function re(){return T}function ie(){return!!c.vc.getConfig("debug")}function oe(){var e=document.createElement("iframe");return e.id=Z(),e.height=0,e.width=0,e.border="0px",e.hspace="0",e.vspace="0",e.marginWidth="0",e.marginHeight="0",e.style.border="0",e.scrolling="no",e.frameBorder="0",e.src="about:blank",e.style.display="none",e}function ae(e){return Tn(J().search)[e]||""}function ue(e,n){return C.call(e)==="[object "+n+"]"}function ce(e){return ue(e,y)}function se(e){return ue(e,h)}function de(e){return ue(e,m)}function fe(e){return ue(e,b)}function le(e){return ue(e,w)}function ge(e){return ue(e,E)}function pe(e){if(!e)return!0;if(de(e)||se(e))return!(e.length>0);for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0}function ve(e){return se(e)&&(!e||0===e.length)}function me(e,n){if(!pe(e)){if(ce(e.forEach))return e.forEach(n,this);var t=0,r=e.length;if(r>0)for(;t<r;t++)n(e[t],t,e);else for(t in e)hasOwnProperty.call(e,t)&&n.call(this,e[t],t)}}function he(e,n){if(pe(e))return!1;if(ce(e.indexOf))return-1!==e.indexOf(n);for(var t=e.length;t--;)if(e[t]===n)return!0;return!1}function ye(e,n){if(pe(e))return[];if(ce(e.map))return e.map(n);var t=[];return me(e,(function(r,i){t.push(n(r,i,e))})),t}function be(e,n){return e.hasOwnProperty?e.hasOwnProperty(n):void 0!==e[n]&&e.constructor.prototype[n]!==e[n]}function we(e,n,t,r){var i;n=n||document,i=t?n.getElementsByTagName(t):n.getElementsByTagName("head");try{if((i=i.length?i:n.getElementsByTagName("body")).length){i=i[0];var o=r?null:i.firstChild;return i.insertBefore(e,o)}}catch(e){}}function Ee(e,n){var t=null;return new g.Z((function(r){var i=function n(){e.removeEventListener("load",n),e.removeEventListener("error",n),null!=t&&window.clearTimeout(t),r()};e.addEventListener("load",i),e.addEventListener("error",i),null!=n&&(t=window.setTimeout(i,n))}))}function Ce(e,n,t){var r=new Image;n&&j.isFn(n)&&Ee(r,t).then(n),r.src=e}function Ae(e){var n=e.source,t=e.burl;n===l.os.YZ&&t&&j.triggerPixel(t)}function Te(e){if(e){var n=document.createElement("iframe");n.id=Z(),n.width=0,n.height=0,n.hspace="0",n.vspace="0",n.marginWidth="0",n.marginHeight="0",n.style.display="none",n.style.height="0px",n.style.width="0px",n.scrolling="no",n.frameBorder="0",n.allowtransparency="true",j.insertElement(n,document,"body"),n.contentWindow.document.open(),n.contentWindow.document.write(e),n.contentWindow.document.close()}}function Ie(e,n,t){var r=j.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),i=document.createElement("div");i.innerHTML=r;var o=i.firstChild;n&&j.isFn(n)&&Ee(o,t).then(n),j.insertElement(o,document,"html",!0)}function Oe(e){if(!e)return"";var n='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return n+='<img src="'+encodeURI(e)+'"></div>'}function Se(e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e?((!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(e=encodeURI(e)),n&&(n='sandbox="'.concat(n,'"')),"<iframe ".concat(n,' id="').concat(Z(),'"\n frameborder="0"\n allowtransparency="true"\n marginheight="0" marginwidth="0"\n width="0" hspace="0" vspace="0" height="0"\n style="height:0px;width:0px;display:none;"\n scrolling="no"\n src="').concat(e,'">\n </iframe>')):""}function Be(e,n,t){return null==n?t:se(n)?n:fe(n)?n.toString():void j.logWarn("Unsuported type for param: "+e+" required type: String")}function ke(e,n,t){return t.indexOf(e)===n}function je(e,n){return e.concat(n)}function Ue(e,n){var t;if(e)return n.some((function(n){var r=(0,f.sE)(n.bids,(function(n){return["bidId","adId","bid_id"].some((function(t){return n[t]===e}))}));return r&&(t=r),r})),t}function Pe(e){return Object.keys(e)}function Re(e,n){return e[n]}function qe(e,n){for(var t in e)if(e.hasOwnProperty(t)&&e[t]===n)return t}function De(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:owpbjs.adUnits).map((function(e){return e.bids.map((function(e){return e.bidder})).reduce(je,[])})).reduce(je,[]).filter((function(e){return void 0!==e})).filter(ke)}function _e(){if(window.googletag&&ce(window.googletag.pubads)&&ce(window.googletag.pubads().getSlots))return!0}function Ze(){if(window.apntag&&ce(window.apntag.getTag))return!0}var xe=We("timeToRespond",(function(e,n){return e>n})),Ne=We("responseTimestamp",(function(e,n){return e>n})),Me=We("responseTimestamp",(function(e,n){return e<n}));function We(e,n){return function(t,r){return t.cpm===r.cpm?n(t[e],r[e])?r:t:t.cpm<r.cpm?r:t}}function Fe(e){for(var n=e.length;n>0;){var t=Math.floor(Math.random()*n),r=e[--n];e[n]=e[t],e[t]=r}return e}function ze(e,n){return(0,f.q9)(e,n&&n.adUnitCode)}function Ke(e){return d()(e)}function Le(){try{return j.getWindowSelf()!==j.getWindowTop()}catch(e){return!0}}function Ge(){return/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent)}function He(e,n){if(e)return e.replace(/\$\{AUCTION_PRICE\}/g,n)}function Ve(e,n){if(e&&n&&"string"==typeof n)return e.replace(/\${CLICKTHROUGH}/g,n)}function Qe(){return(new Date).getTime()}function Je(){return window.performance&&window.performance.now&&window.performance.now()||0}function Ye(){return!1!==c.vc.getConfig("deviceAccess")}function Xe(){if(window.navigator.cookieEnabled||document.cookie.length)return!0}function $e(e,n){if(n<1)throw new Error("numRequiredCalls must be a positive number. Got ".concat(n));var t=0;return function(){++t===n&&e.apply(this,arguments)}}function en(e,n){return e.reduce((function(e,t){return(e[t[n]]=e[t[n]]||[]).push(t),e}),{})}function nn(e,n){return n.filter((function(n){return e[n]})).reduce((function(n,t){return Object.assign(n,(0,a.Z)({},t,e[t]))}),{})}function tn(e){var n=["banner","native","video"];return!!Object.keys(e).every((function(e){return(0,f.q9)(n,e)}))&&(!e.video||!e.video.context||(0,f.q9)(["instream","outstream","adpod"],e.video.context))}function rn(e,n,t){return e.filter((function(e){return e.code===n})).map((function(e){return e.bids})).reduce(je,[]).filter((function(e){return e.bidder===t})).map((function(e){return e.params||{}}))}function on(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack}var an=function(e,n){return e.getAdUnitPath()===n||e.getSlotElementId()===n};function un(e){return function(n){return an(e,n)}}function cn(e){return function(n){return an(n,e)}}function sn(e){var n;return _e()&&(n=(0,f.sE)(window.googletag.pubads().getSlots(),cn(e))),n}function dn(e){var n=sn(e);return n?{gptSlot:n.getAdUnitPath(),divId:n.getSlotElementId()}:{}}function fn(e,n){var t=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n ".concat(e.code," is a ").concat(t," ad unit\n containing bidders that don't support ").concat(t,": ").concat(n,".\n This bidder won't fetch demand.\n ")}function ln(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function gn(e){return e.replace(/(?:^|\.?)([A-Z])/g,(function(e,n){return"_"+n.toLowerCase()})).replace(/^_/,"")}function pn(e){return Object.keys(e).reduce((function(n,t){return void 0!==e[t]&&(n[t]=e[t]),n}),{})}function vn(e,n){return"object"!==(0,u.Z)(e)?{}:n.reduce((function(t,r,i){if("function"==typeof r)return t;var o=r,a=r.match(/^(.+?)\sas\s(.+?)$/i);a&&(r=a[1],o=a[2]);var u=e[r];return"function"==typeof n[i+1]&&(u=n[i+1](u,t)),void 0!==u&&(t[o]=u),t}),{})}function mn(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"keywords",t=[];return me(e,(function(e,r){if(de(e)){var i=[];me(e,(function(e){((e=Be(n+"."+r,e))||""===e)&&i.push(e)})),e=i}else{if(!se(e=Be(n+"."+r,e)))return;e=[e]}t.push({key:r,value:e})})),t}function hn(e,n){return Object.keys(e).forEach((function(t){var r,i;n[t]&&(ce(e[t])?n[t]=e[t](n[t]):n[t]=(r=e[t],i=n[t],"string"===r?i&&i.toString():"number"===r?Number(i):i),isNaN(n[t])&&delete n.key)})),n}function yn(e,n){return de(e)&&(!n||e.length===n)&&e.every((function(e){return ln(e)}))}function bn(e,n){for(var t=[],r=0;r<n;r++){var i=le(e)?Ke(e):e;t.push(i)}return t}function wn(e,n){for(var t=[],r=0;r<Math.ceil(e.length/n);r++){var i=r*n,o=i+n;t.push(e.slice(i,o))}return t}function En(e){return Math.min.apply(Math,(0,o.Z)(e))}function Cn(e){return Math.max.apply(Math,(0,o.Z)(e))}function An(e){return function(n,t){return n[e]<t[e]?1:n[e]>t[e]?-1:0}}function Tn(e){return e?e.replace(/^\?/,"").split("&").reduce((function(e,n){var t=n.split("="),r=(0,i.Z)(t,2),o=r[0],a=r[1];return/\[\]$/.test(o)?(e[o=o.replace("[]","")]=e[o]||[],e[o].push(a)):e[o]=a||"",e}),{}):{}}function In(e){return Object.keys(e).map((function(n){return Array.isArray(e[n])?e[n].map((function(e){return"".concat(n,"[]=").concat(e)})).join("&"):"".concat(n,"=").concat(e[n])})).join("&")}function On(e,n){var t=document.createElement("a");n&&"noDecodeWholeURL"in n&&n.noDecodeWholeURL?t.href=e:t.href=decodeURIComponent(e);var r=n&&"decodeSearchAsString"in n&&n.decodeSearchAsString;return{href:t.href,protocol:(t.protocol||"").replace(/:$/,""),hostname:t.hostname,port:+t.port,pathname:t.pathname.replace(/^(?!\/)/,"/"),search:r?t.search:j.parseQS(t.search||""),hash:(t.hash||"").replace(/^#/,""),host:t.host||window.location.host}}function Sn(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":".concat(e.port):""))+(e.pathname||"")+(e.search?"?".concat(j.formatQS(e.search||"")):"")+(e.hash?"#".concat(e.hash):"")}function Bn(e,n){var t=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).checkTypes,r=void 0!==t&&t;if(e===n)return!0;if("object"!==(0,u.Z)(e)||null===e||"object"!==(0,u.Z)(n)||null===n||r&&e.constructor!==n.constructor)return!1;if(Object.keys(e).length!==Object.keys(n).length)return!1;for(var i in e){if(!n.hasOwnProperty(i))return!1;if(!Bn(e[i],n[i],{checkTypes:r}))return!1}return!0}function kn(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];if(!t.length)return e;var i=t.shift();if(le(e)&&le(i)){var u=function(n){le(i[n])?(e[n]||Object.assign(e,(0,a.Z)({},n,{})),kn(e[n],i[n])):de(i[n])?e[n]?de(e[n])&&i[n].forEach((function(t){for(var r=1,i=0;i<e[n].length;i++)if(Bn(e[n][i],t)){r=0;break}r&&e[n].push(t)})):Object.assign(e,(0,a.Z)({},n,(0,o.Z)(i[n]))):Object.assign(e,(0,a.Z)({},n,i[n]))};for(var c in i)u(c)}return kn.apply(void 0,[e].concat(t))}function jn(e){for(var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=function(e,n){if(ce(Math.imul))return Math.imul(e,n);var t=(4194303&e)*(n|=0);return 4290772992&e&&(t+=(4290772992&e)*n|0),0|t},i=3735928559^t,o=1103547991^t,a=0;a<e.length;a++)i=r(i^(n=e.charCodeAt(a)),2654435761),o=r(o^n,1597334677);return i=r(i^i>>>16,2246822507)^r(o^o>>>13,3266489909),(4294967296*(2097151&(o=r(o^o>>>16,2246822507)^r(i^i>>>13,3266489909)))+(i>>>0)).toString()}function Un(e){var n,t={};for(n in e)e[n]&&(t[n]=e[n]);return t}function Pn(e){return e?e.defaultView:null}function Rn(e){try{return JSON.parse(e)}catch(e){}}function qn(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},t=new Map,r=function(){var r=n.apply(this,arguments);return t.has(r)||t.set(r,e.apply(this,arguments)),t.get(r)};return r.clear=t.clear.bind(t),r}function Dn(e,n){for(var t in n)n.hasOwnProperty(t)&&e.setAttribute(t,n[t])}var _n,Zn=(_n={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},function(e){return e.replace(/[<>\b\f\n\r\t\0\u2028\u2029\\]/g,(function(e){return _n[e]}))})},36066:function(e,n,t){t.d(n,{O:function(){return a}});var r=t(78653),i=t(55975),o=t(64358);function a(e,n,t){var a,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=u.index,s=void 0===c?r.K.index:c,d=u.bs,f=void 0===d?i.S:d;t=t||s.getBidRequest(n);var l=f.get((null==n?void 0:n.bidderCode)||(null===(a=t)||void 0===a?void 0:a.bidder),"bidCpmAdjustment");if(l&&"function"==typeof l)try{return l(e,Object.assign({},n),t)}catch(e){(0,o.logError)("Error during bid adjustment",e)}return e}},99128:function(e,n,t){t.d(n,{A:function(){return E},Bf:function(){return m},V6:function(){return y},g3:function(){return w}});var r=t(93324),i=t(3193);function o(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return a(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return a(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return u=e.done,e},e:function(e){c=!0,o=e},f:function(){try{u||null==t.return||t.return()}finally{if(c)throw o}}}}function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var u="performanceMetrics",c=window.performance&&window.performance.now?function(){return window.performance.now()}:function(){return Date.now()},s=new WeakMap;function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.now,t=void 0===n?c:n,r=e.mkNode,i=void 0===r?g:r,o=e.mkTimer,a=void 0===o?l:o,u=e.mkRenamer,d=void 0===u?function(e){return e}:u,f=e.nodes,p=void 0===f?s:f;return function(){return function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return{forEach:function(n){n(e)}}};r=d(r);var o,u=(o="timestamps",function(e){return n.dfWalk({visit:function(n,t){var r=t[o];if(r.hasOwnProperty(e))return r[e]}})});function c(e,t){var i=r(e);n.dfWalk({follow:function(e,n){return n.propagate&&(!e||!e.stopPropagation)},visit:function(e,n){i.forEach((function(r){null==e?n.metrics[r]=t:(n.groups.hasOwnProperty(r)||(n.groups[r]=[]),n.groups[r].push(t))}))}})}function s(e){return a(t,(function(n){return c(e,n)}))}function f(){var e={};return n.dfWalk({visit:function(n,t){e=Object.assign({},!n||n.includeGroups?t.groups:null,t.metrics,e)}}),e}var l={startTiming:s,measureTime:function(e,n){return s(e).stopAfter(n)()},measureHookTime:function(e,n,t){var r=s(e);return t(function(e){var n=r.stopBefore(e);return n.bail=e.bail&&r.stopBefore(e.bail),n.stopTiming=r,n.untimed=e,n}(n))},checkpoint:function(e){n.timestamps[e]=t()},timeSince:function(e,n){var r=u(e),i=null!=r?t()-r:null;return null!=n&&c(n,i),i},timeBetween:function(e,n,t){var r=u(e),i=u(n),o=null!=r&&null!=i?i-r:null;return null!=t&&c(t,o),o},setMetric:c,getMetrics:f,fork:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=t.propagate,a=void 0===o||o,u=t.stopPropagation,c=void 0!==u&&u,s=t.includeGroups;return e(i([[n,{propagate:a,stopPropagation:c,includeGroups:void 0!==s&&s}]]),r)},join:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.propagate,i=void 0===r||r,o=t.stopPropagation,a=void 0!==o&&o,u=t.includeGroups,c=void 0!==u&&u,s=p.get(e);null!=s&&s.addParent(n,{propagate:i,stopPropagation:a,includeGroups:c})},newMetrics:function(){return e(n.newSibling(),r)},renameWith:function(t){return e(n,t)},toJSON:function(){return f()}};return p.set(l,n),l}(i([]))}}function f(e,n,t){return function(){n&&n();try{return e.apply(this,arguments)}finally{t&&t()}}}function l(e,n){var t=e(),r=!1;function i(){r||(n(e()-t),r=!0)}return i.stopBefore=function(e){return f(e,i)},i.stopAfter=function(e){return f(e,null,i)},i}function g(e){return{metrics:{},timestamps:{},groups:{},addParent:function(n,t){e.push([n,t])},newSibling:function(){return g(e.slice())},dfWalk:function(){var n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.visit,a=t.follow,u=void 0===a?function(){return!0}:a,c=t.visited,s=void 0===c?new Set:c,d=t.inEdge;if(!s.has(this)){if(s.add(this),null!=(n=i(d,this)))return n;var f,l=o(e);try{for(l.s();!(f=l.n()).done;){var g=(0,r.Z)(f.value,2),p=g[0],v=g[1];if(u(d,v)&&null!=(n=p.dfWalk({visit:i,follow:u,visited:s,inEdge:v})))return n}}catch(e){l.e(e)}finally{l.f()}}}}}var p=function(){var e=function(){},n=function(){return{}},t={forEach:e},r=function(){return null};r.stopBefore=function(e){return e},r.stopAfter=function(e){return e};var i=Object.defineProperties({dfWalk:e,newSibling:function(){return i},addParent:e},Object.fromEntries(["metrics","timestamps","groups"].map((function(e){return[e,{get:n}]}))));return d({now:function(){return 0},mkNode:function(){return i},mkRenamer:function(){return function(){return t}},mkTimer:function(){return r},nodes:{get:e,set:e}})()}(),v=!0;function m(e){return v&&e||p}i.vc.getConfig(u,(function(e){v=!!e[u]}));var h,y=(h=d(),function(){return v?h():p});function b(e,n){return function(t,r){return function(i){for(var o=arguments.length,a=new Array(o>1?o-1:0),u=1;u<o;u++)a[u-1]=arguments[u];var c=this;return m(n.apply(c,a)).measureHookTime(e+t,i,(function(e){return r.call.apply(r,[c,e].concat(a))}))}}}var w=b("requestBids.",(function(e){return e.metrics})),E=b("addBidResponse.",(function(e,n){return n.metrics}))},68792:function(e,n,t){t.d(n,{P:function(){return w},Z:function(){return b}});var r=t(93324),i=t(15671),o=t(43144),a=t(97326),u=t(88301),c=t(60136),s=t(82963),d=t(61120),f=t(18916),l=t(42793),g=t(78640);function p(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=(0,d.Z)(e);if(n){var i=(0,d.Z)(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return(0,s.Z)(this,t)}}function v(e,n,t){!function(e,n){if(n.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,n),n.set(e,t)}var m=new WeakMap,h=new WeakMap,y=new WeakMap,b=function(e){(0,c.Z)(t,e);var n=p(t);function t(e){var r;(0,i.Z)(this,t);var o=[],u=[];function c(e,n){return function(t){if(!o.length){for(o.push(e,t);u.length;)u.shift()();n(t)}}}return r=n.call(this,"function"!=typeof e?e:function(n,t){var r,i=c(1,t),o=(r=c(0,n),function(e){return"function"==typeof(null==e?void 0:e.then)?e.then(r,i):r(e)});try{e(o,i)}catch(e){i(e)}}),v((0,a.Z)(r),m,{writable:!0,value:void 0}),v((0,a.Z)(r),h,{writable:!0,value:void 0}),v((0,a.Z)(r),y,{writable:!0,value:null}),(0,l.Z)((0,a.Z)(r),m,o),(0,l.Z)((0,a.Z)(r),h,u),r}return(0,o.Z)(t,[{key:"then",value:function(e,n){var i=this;if("function"==typeof n)for(var o=this;o;){(0,u.Z)((0,d.Z)(t.prototype),"then",this).call(o,null,(function(){return null}));var a=(0,f.Z)(o,y);(0,l.Z)(o,y,null),o=a}var c=(0,f.Z)(this,m),s=new t((function(t,o){var a=function(){var i=c[1],a=0===c[0]?[e,t]:[n,o],u=(0,r.Z)(a,2),s=u[0],d=u[1];if("function"==typeof s){try{i=s(i)}catch(e){return void o(e)}d=t}d(i)};c.length?a():(0,f.Z)(i,h).push(a)}));return(0,l.Z)(s,y,this),s}}],[{key:"timeout",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new t((function(n){0===e?n():setTimeout(n,e)}))}},{key:"resolve",value:function(e){return new this((function(n){return n(e)}))}},{key:"reject",value:function(e){return new this((function(n,t){return t(e)}))}}]),t}((0,g.R)().Promise||Promise);function w(){var e,n,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).promiseFactory;function r(e){return function(n){return e(n)}}return{promise:(void 0===t?function(e){return new b(e)}:t)((function(t,r){e=t,n=r})),resolve:r(e),reject:r(n)}}},90154:function(e,n,t){t.d(n,{Dn:function(){return d},LD:function(){return s},gZ:function(){return c},hD:function(){return f}});var r=t(20265),i=t(64358),o=t(3193),a=t(92797),u=t(78653),c="outstream",s="instream";function d(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,t=void 0===n?u.K.index:n,i=(0,r.Z)(t.getMediaTypes(e),"video"),o=i&&(0,r.Z)(i,"context"),a=i&&(0,r.Z)(i,"useCacheKey"),c=t.getAdUnit(e);return f(e,c,i,o,a)}var f=(0,a.z3)("sync",(function(e,n,t,r,a){return t&&(a||r!==c)?o.vc.getConfig("cache.url")||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):((0,i.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 owpbjs.setConfig({ cache: {url: "..."} });\n '),!1):!(r===c&&!a)||!!(e.renderer||n&&n.renderer||t.renderer)}),"checkVideoBidSetup")},79885:function(e,n,t){t.d(n,{h:function(){return c},z:function(){return s}});var r=t(48928),i=t(3193),o=t(78653),a=15;function u(e){var n,t,r,u=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,c=void 0===u?o.K.index:u,s=e.vastXml?e.vastXml:(n=e.vastUrl,t=e.vastImpUrl,r=t?"<![CDATA[".concat(t,"]]>"):"",'<VAST version="3.0">\n <Ad>\n <Wrapper>\n <AdSystem>prebid.org wrapper</AdSystem>\n <VASTAdTagURI><![CDATA['.concat(n,"]]></VASTAdTagURI>\n <Impression>").concat(r,"</Impression>\n <Creatives></Creatives>\n </Wrapper>\n </Ad>\n </VAST>")),d=c.getAuction(e);window&&window.PWT&&(s=window.PWT.UpdateVastWithTracker(e,s));var f={type:"xml",value:s,ttlseconds:Number(e.ttl)+a};return i.vc.getConfig("cache.vasttrack")&&(f.bidder=e.bidder,f.bidid=e.requestId,f.aid=e.auctionId),null!=d&&(f.timestamp=d.getAuctionStart()),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(f.key=e.customCacheKey),f}function c(e,n){var t={puts:e.map(u)};(0,r.h)(i.vc.getConfig("cache.url"),function(e){return{success:function(n){var t;try{t=JSON.parse(n).responses}catch(n){return void e(n,[])}t?e(null,t):e(new Error("The cache server didn't respond with a responses property."),[])},error:function(n,t){e(new Error("Error storing video ad in the cache: ".concat(n,": ").concat(JSON.stringify(t))),[])}}}(n),JSON.stringify(t),{contentType:"text/plain",withCredentials:!0})}function s(e){return"".concat(i.vc.getConfig("cache.url"),"?uuid=").concat(e)}},20265:function(e,n,t){function r(e,n,t,r,i){for(n=n.split?n.split("."):n,r=0;r<n.length;r++)e=e?e[n[r]]:i;return e===i?t:e}t.d(n,{Z:function(){return r}})},81432:function(e){/** @license MIT* Fun Hooks v0.9.10* (c) @snapwich*/u.SYNC=1,u.ASYNC=2,u.QUEUE=4;var n="fun-hooks";var t=Object.freeze({useProxy:!0,ready:0}),r=new WeakMap,i="2,1,0"===[1].reduce((function(e,n,t){return[e,n,t]}),2).toString()?Array.prototype.reduce:function(e,n){var t,r=Object(this),i=r.length>>>0,o=0;if(n)t=n;else{for(;o<i&&!(o in r);)o++;t=r[o++]}for(;o<i;)o in r&&(t=e(t,r[o],o,r)),o++;return t};function o(e,n){return Array.prototype.slice.call(e,n)}var a=Object.assign||function(e){return i.call(o(arguments,1),(function(e,n){return n&&Object.keys(n).forEach((function(t){e[t]=n[t]})),e}),e)};function u(e){var c,s={},d=[];function f(e,n){return"function"==typeof e?v.call(null,"sync",e,n):"string"==typeof e&&"function"==typeof n?v.apply(null,arguments):"object"==typeof e?l.apply(null,arguments):void 0}function l(e,n,t){var r=!0;void 0===n&&(n=Object.getOwnPropertyNames(e),r=!1);var i={},o=["constructor"];do{(n=n.filter((function(n){return!("function"!=typeof e[n]||-1!==o.indexOf(n)||n.match(/^_/))}))).forEach((function(n){var r=n.split(":"),o=r[0],a=r[1]||"sync";if(!i[o]){var u=e[o];i[o]=e[o]=v(a,u,t?[t,o]:void 0)}})),e=Object.getPrototypeOf(e)}while(r&&e);return i}function g(e){var t=Array.isArray(e)?e:e.split(".");return i.call(t,(function(r,i,o){var a=r[i],u=!1;return a||(o===t.length-1?(c||d.push((function(){u||console.warn(n+": referenced '"+e+"' but it was never created")})),r[i]=p((function(e){r[i]=e,u=!0}))):r[i]={})}),s)}function p(e){var n=[],t=[],i=function(){},o={before:function(e,t){return c.call(this,n,"before",e,t)},after:function(e,n){return c.call(this,t,"after",e,n)},getHooks:function(e){var r=n.concat(t);"object"==typeof e&&(r=r.filter((function(n){return Object.keys(e).every((function(t){return n[t]===e[t]}))})));try{a(r,{remove:function(){return r.forEach((function(e){e.remove()})),this}})}catch(e){console.error("error adding `remove` to array, did you modify Array.prototype?")}return r},removeAll:function(){return this.getHooks().remove()}},u={install:function(r,o,a){this.type=r,i=a,a(n,t),e&&e(o)}};return r.set(o.after,u),o;function c(e,r,o,a){var u={hook:o,type:r,priority:a||10,remove:function(){var r=e.indexOf(u);-1!==r&&(e.splice(r,1),i(n,t))}};return e.push(u),e.sort((function(e,n){return n.priority-e.priority})),i(n,t),this}}function v(t,i,s){var f=i.after&&r.get(i.after);if(f){if(f.type!==t)throw n+": recreated hookable with different type";return i}var l,v,m=s?g(s):p(),h={get:function(e,n){return m[n]||Reflect.get.apply(Reflect,arguments)}};return c||d.push(y),e.useProxy&&"function"==typeof Proxy&&Proxy.revocable?v=new Proxy(i,h):(v=function(){return h.apply?h.apply(i,this,o(arguments)):i.apply(this,arguments)},a(v,m)),r.get(v.after).install(t,v,(function(e,n){var r,i=[];e.length||n.length?(e.forEach(a),r=i.push(void 0)-1,n.forEach(a),l=function(e,n,a){var u,c=0,s="async"===t&&"function"==typeof a[a.length-1]&&a.pop();function d(e){"sync"===t?u=e:s&&s.apply(null,arguments)}function f(e){if(i[c]){var r=o(arguments);return f.bail=d,r.unshift(f),i[c++].apply(n,r)}"sync"===t?u=e:s&&s.apply(null,arguments)}return i[r]=function(){var r=o(arguments,1);"async"===t&&s&&(delete f.bail,r.push(f));var i=e.apply(n,r);"sync"===t&&f(i)},f.apply(null,a),u}):l=void 0;function a(e){i.push(e.hook)}y()})),v;function y(){!c&&("sync"!==t||e.ready&u.SYNC)&&("async"!==t||e.ready&u.ASYNC)?"sync"!==t&&e.ready&u.QUEUE?h.apply=function(){var e=arguments;d.push((function(){v.apply(e[1],e[2])}))}:h.apply=function(){throw n+": hooked function not ready"}:h.apply=l}}return(e=a({},t,e)).ready?f.ready=function(){c=!0,function(e){for(var n;n=e.shift();)n()}(d)}:c=!0,f.get=g,f}e.exports=u},77079:function(e){e.exports=function e(n){var t=Array.isArray(n)?[]:{};for(var r in n){var i=n[r];t[r]=i&&"object"==typeof i?e(i):i}return t}},30907:function(e,n,t){function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}t.d(n,{Z:function(){return r}})},83878:function(e,n,t){function r(e){if(Array.isArray(e))return e}t.d(n,{Z:function(){return r}})},45057:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(30907);function i(e){if(Array.isArray(e))return(0,r.Z)(e)}},97326:function(e,n,t){function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.d(n,{Z:function(){return r}})},26983:function(e,n,t){function r(e,n){return n.get?n.get.call(e):n.value}t.d(n,{Z:function(){return r}})},86011:function(e,n,t){function r(e,n,t){if(n.set)n.set.call(e,t);else{if(!n.writable)throw new TypeError("attempted to set read only private field");n.value=t}}t.d(n,{Z:function(){return r}})},15671:function(e,n,t){function r(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}t.d(n,{Z:function(){return r}})},1519:function(e,n,t){function r(e,n,t){if(!n.has(e))throw new TypeError("attempted to "+t+" private field on non-instance");return n.get(e)}t.d(n,{Z:function(){return r}})},18916:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(26983),i=t(1519);function o(e,n){var t=(0,i.Z)(e,n,"get");return(0,r.Z)(e,t)}},42793:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(86011),i=t(1519);function o(e,n,t){var o=(0,i.Z)(e,n,"set");return(0,r.Z)(e,o,t),t}},43144:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(67343);function i(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}function o(e,n,t){return n&&i(e.prototype,n),t&&i(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}},4942:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(67343);function i(e,n,t){return(n=(0,r.Z)(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}},88301:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(18415);function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,n,t){var i=(0,r.Z)(e,n);if(i){var o=Object.getOwnPropertyDescriptor(i,n);return o.get?o.get.call(arguments.length<3?e:t):o.value}},i.apply(this,arguments)}},61120:function(e,n,t){function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}t.d(n,{Z:function(){return r}})},60136:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(89611);function i(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&(0,r.Z)(e,n)}},59199:function(e,n,t){function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}t.d(n,{Z:function(){return r}})},31902:function(e,n,t){function r(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,o,a,u=[],c=!0,s=!1;try{if(o=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;c=!1}else for(;!(c=(r=o.call(t)).done)&&(u.push(r.value),u.length!==n);c=!0);}catch(e){s=!0,i=e}finally{try{if(!c&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}t.d(n,{Z:function(){return r}})},25267:function(e,n,t){function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(n,{Z:function(){return r}})},42786:function(e,n,t){function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.d(n,{Z:function(){return r}})},82963:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(71002),i=t(97326);function o(e,n){if(n&&("object"===(0,r.Z)(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},89611:function(e,n,t){function r(e,n){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},r(e,n)}t.d(n,{Z:function(){return r}})},93324:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(83878),i=t(31902),o=t(40181),a=t(25267);function u(e,n){return(0,r.Z)(e)||(0,i.Z)(e,n)||(0,o.Z)(e,n)||(0,a.Z)()}},18415:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(61120);function i(e,n){for(;!Object.prototype.hasOwnProperty.call(e,n)&&null!==(e=(0,r.Z)(e)););return e}},89062:function(e,n,t){t.d(n,{Z:function(){return u}});var r=t(45057),i=t(59199),o=t(40181),a=t(42786);function u(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,a.Z)()}},35512:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(71002);function i(e,n){if("object"!==(0,r.Z)(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!==(0,r.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}},67343:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(71002),i=t(35512);function o(e){var n=(0,i.Z)(e,"string");return"symbol"===(0,r.Z)(n)?n:String(n)}},71002:function(e,n,t){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.d(n,{Z:function(){return r}})},40181:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(30907);function i(e,n){if(e){if("string"==typeof e)return(0,r.Z)(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?(0,r.Z)(e,n):void 0}}},96475:function(e,n,t){function r(e,n,t){n.split&&(n=n.split("."));for(var r,i,o=0,a=n.length,u=e;o<a&&"__proto__"!==(i=n[o++])&&"constructor"!==i&&"prototype"!==i;)u=u[i]=o===a?t:typeof(r=u[i])==typeof n?r:0*n[o]!=0||~(""+n[o]).indexOf(".")?{}:[]}t.d(n,{N:function(){return r}})},5644:function(e){e.exports=JSON.parse('{"k2":{"xn":"adserverTargeting","zF":"standard"},"f":"pbjs_debug","Q_":{"GOOD":1,"NO_BID":2},"FP":{"AUCTION_INIT":"auctionInit","AUCTION_END":"auctionEnd","BID_ADJUSTMENT":"bidAdjustment","BID_TIMEOUT":"bidTimeout","BID_REQUESTED":"bidRequested","BID_RESPONSE":"bidResponse","BID_REJECTED":"bidRejected","NO_BID":"noBid","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","IH_INIT":"initIdentityHub"},"q_":{"PREVENT_WRITING_ON_MAIN_DOCUMENT":"preventWritingOnMainDocument","NO_AD":"noAd","EXCEPTION":"exception","CANNOT_FIND_AD":"cannotFindAd","MISSING_DOC_OR_ADID":"missingDocOrAdid"},"aI":{"bidWon":"adUnitCode"},"Ql":{"yE":"low","M2":"medium","lj":"high","B7":"auto","uN":"dense","qN":"custom"},"TD":{"STATUS":"pwtbst","BIDDER":"pwtpid","AD_ID":"pwtsid","PRICE_BUCKET":"pwtecp","SIZE":"pwtsz","DEAL":"pwtdeal","DEAL_ID":"pwtdid","SOURCE":"","FORMAT":"pwtplt","UUID":"pwtuuid","CACHE_ID":"pwtcid","CACHE_HOST":"pwtcurl","ADOMAIN":"pwtadomain"},"kF":{"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"},"FY":{"title":"pwt_native_title","body":"pwt_native_body","body2":"pwt_native_body2","privacyLink":"pwt_native_privacy","sponsoredBy":"pwt_native_brand","image":"pwt_native_image","icon":"pwt_native_icon","clickUrl":"pwt_native_linkurl","displayUrl":"pwt_native_displayurl","cta":"pwt_native_cta","rating":"pwt_native_rating","address":"pwt_native_address","downloads":"pwt_native_downloads","likes":"pwt_native_likes","phone":"pwt_native_phone","price":"pwt_native_price","salePrice":"pwt_native_saleprice"},"os":{"YZ":"s2s"},"UE":{"CK":"targetingSet","fe":"rendered","G9":"bidRejected"},"wg":{"X":["id5Id","publinkId","connectId"],"e":["zeotapIdPlus","identityLink","publinkId"]},"Ge":{"id5Id":[{"key":"pd"}],"publinkId":[{"key":"e","hashType":"MD5"}],"connectId":[{"key":"he","hashType":"SHA256"}]},"Gw":{"UI":"Bid has missing or invalid properties","Gp":"Invalid request ID","Dg":"Bidder code is not allowed by allowedAlternateBidderCodes / allowUnknownBidderCodes","pe":"Bid does not meet price floor","Xx":"Unable to convert currency"},"V1":{"body":"desc","body2":"desc2","sponsoredBy":"sponsored","cta":"ctatext","rating":"rating","address":"address","downloads":"downloads","likes":"likes","phone":"phone","price":"price","salePrice":"saleprice","displayUrl":"displayurl"},"s$":{"sponsored":1,"desc":2,"rating":3,"likes":4,"downloads":5,"price":6,"saleprice":7,"phone":8,"address":9,"desc2":10,"displayurl":11,"ctatext":12},"oF":{"ICON":1,"MAIN":3},"zA":["privacyLink","clickUrl","sendTargetingKeys","adTemplate","rendererUrl","type"],"C_":{"Ot":"noData","Vs":"adUnit","cl":"setConfig","jR":"fetch","MR":"success"}}')}},t={};function r(e){var i=t[e];if(void 0!==i)return i.exports;var o=t[e]={exports:{}};return n[e].call(o.exports,o,o.exports,r),o.exports}r.m=n,e=[],r.O=function(n,t,i,o){if(!t){var a=1/0;for(d=0;d<e.length;d++){t=e[d][0],i=e[d][1],o=e[d][2];for(var u=!0,c=0;c<t.length;c++)(!1&o||a>=o)&&Object.keys(r.O).every((function(e){return r.O[e](t[c])}))?t.splice(c--,1):(u=!1,o<a&&(a=o));if(u){e.splice(d--,1);var s=i();void 0!==s&&(n=s)}}return n}o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[t,i,o]},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,{a:n}),n},r.d=function(e,n){for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e={25602:0};r.O.j=function(n){return 0===e[n]};var n=function(n,t){var i,o,a=t[0],u=t[1],c=t[2],s=0;if(a.some((function(n){return 0!==e[n]}))){for(i in u)r.o(u,i)&&(r.m[i]=u[i]);if(c)var d=c(r)}for(n&&n(t);s<a.length;s++)o=a[s],r.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return r.O(d)},t=self.owpbjsChunk=self.owpbjsChunk||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))}();var i=r.O(void 0,[56866],(function(){return r(23866)}));i=r.O(i)}();(self.owpbjsChunk=self.owpbjsChunk||[]).push([[56866],{27809:function(r,n,t){t.d(n,{KI:function(){return a},hi:function(){return u}});var e=t(64358),o=t(68792),i=["architecture","bitness","model","platformVersion","fullVersionList"],u=function(){var r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(r=window.navigator)||void 0===r?void 0:r.userAgentData,t=(0,e.isEmpty)(n)?null:Object.freeze(s(1,n));return function(){return t}}(),a=function(){var r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(r=window.navigator)||void 0===r?void 0:r.userAgentData,t={},u=new WeakMap;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;if(!u.has(r)){var a=Array.from(r);a.sort(),u.set(r,a.join("|"))}var l=u.get(r);if(!t.hasOwnProperty(l))try{t[l]=n.getHighEntropyValues(r).then((function(r){return(0,e.isEmpty)(r)?null:Object.freeze(s(2,r))})).catch((function(){return null}))}catch(r){t[l]=o.Z.resolve(null)}return t[l]}}();function s(r,n){function t(r,n){var t={brand:r};return(0,e.isStr)(n)&&!(0,e.isEmptyStr)(n)&&(t.version=n.split(".")),t}var o={source:r};return n.platform&&(o.platform=t(n.platform,n.platformVersion)),(n.fullVersionList||n.brands)&&(o.browsers=(n.fullVersionList||n.brands).map((function(r){return t(r.brand,r.version)}))),n.hasOwnProperty("mobile")&&(o.mobile=n.mobile?1:0),["model","bitness","architecture"].forEach((function(r){var t=n[r];(0,e.isStr)(t)&&(o[r]=t)})),o}}}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[14861],{64563:function(e,n,t){t.d(n,{ZP:function(){return g},tx:function(){return v}});var a=t(93324),r=t(71002),i=t(5644),o=t(48928),l=t(64358),s=t(52021),c={ajax:o.h},u="endpoint",f="bundle",p=Object.values(i.FP).filter((function(e){return e!==i.FP.AUCTION_DEBUG})),d=100;function v(e){d=e}function g(e){var n,t,o,v,g,y=e.url,b=e.analyticsType,h=e.global,T=e.handler,A=[],j=!1,E=(v=!1,g=function(){if(!v){v=!0;try{for(var e=0,n=0;A.length>0;){e++;var a=A.length;if(A.shift()(),A.length>=a?n++:n=0,n>=10)return(0,l.logError)("Detected probable infinite loop, discarding events",A),void(A.length=0)}(0,l.logMessage)("".concat(t," analytics: processed ").concat(e," events"))}finally{v=!1}}},function(){null!=o&&(clearTimeout(o),o=null),0===d?g():o=setTimeout(g,d)});return Object.defineProperties({track:function(e){var n=e.eventType,t=e.args;this.getAdapterType()===f&&window[h](T,n,t);this.getAdapterType()===u&&m.apply(void 0,arguments)},enqueue:O,enableAnalytics:P,disableAnalytics:function(){Object.entries(n||{}).forEach((function(e){var n=(0,a.Z)(e,2),t=n[0],r=n[1];s.off(t,r)})),this.enableAnalytics=this._oldEnable?this._oldEnable:P,j=!1},getAdapterType:function(){return b},getGlobal:function(){return h},getHandler:function(){return T},getUrl:function(){return y}},{enabled:{get:function(){return j}}});function m(e){var n=e.eventType,t=e.args,a=e.callback;c.ajax(y,a,JSON.stringify({eventType:n,args:t}))}function O(e){var n=this,t=e.eventType,a=e.args;A.push((function(){n.track({eventType:t,args:a})})),E()}function P(e){var a=this;t=null==e?void 0:e.provider;var o,c,u,f,d,v=this;if("object"!==(0,r.Z)(e)||"object"!==(0,r.Z)(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling))){var g=(c=(o=e||{}).includeEvents,u=void 0===c?p:c,f=o.excludeEvents,d=void 0===f?[]:f,new Set(Object.values(i.FP).filter((function(e){return u.includes(e)})).filter((function(e){return!d.includes(e)}))));s.getEvents().forEach((function(e){if(e&&g.has(e.eventType)){var n=e.eventType,t=e.args;O.call(v,{eventType:n,args:t})}})),n=Object.fromEntries(Array.from(g).map((function(n){var t=n===i.FP.AUCTION_INIT?function(t){t.config="object"===(0,r.Z)(e)&&e.options||{},a.enqueue({eventType:n,args:t})}:function(e){return a.enqueue({eventType:n,args:e})};return s.on(n,t),[n,t]})))}else(0,l.logMessage)('Analytics adapter for "'.concat(h,'" disabled by sampling'));this._oldEnable=this.enableAnalytics,this.enableAnalytics=function(){return(0,l.logMessage)('Analytics adapter for "'.concat(h,'" already enabled, unnecessary call to `enableAnalytics`.'))},j=!0}}}}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[3601],{75559:function(e,t,a){var r=a(93324),i=a(71002),n=a(4942),s=a(64358),o=a(96475),d=a(20265),c=a(24679),p=a(14699),u=a(34614),m=a(3193),l=a(70059);function y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}var f=["pos","context","placement","api","mimes","protocols","playbackmethod","minduration","maxduration","startdelay","linearity","skip","skipmin","skipafter","minbitrate","maxbitrate","delivery","playbackend","boxingallowed"],v=["battr","pos"],b=["battr","api"],g=["btype","battr","pos","api"],h=1,T=2,O=Object.freeze({1:"iframe",2:"image"}),k=[{name:"title",assetType:"title"},{name:"icon",assetType:"img",type:1},{name:"image",assetType:"img",type:3},{name:"body",assetType:"data",type:2},{name:"body2",assetType:"data",type:10},{name:"sponsoredBy",assetType:"data",type:1},{name:"phone",assetType:"data",type:8},{name:"address",assetType:"data",type:9},{name:"price",assetType:"data",type:6},{name:"salePrice",assetType:"data",type:7},{name:"cta",assetType:"data",type:12},{name:"rating",assetType:"data",type:3},{name:"downloads",assetType:"data",type:5},{name:"likes",assetType:"data",type:4},{name:"displayUrl",assetType:"data",type:11}],x=k.reduce((function(e,t,a){return e[t.name]=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?y(Object(a),!0).forEach((function(t){(0,n.Z)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):y(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({id:a},t),e}),{}),w={code:"adkernel",gvlid:14,aliases:[{code:"headbidding"},{code:"adsolut"},{code:"oftmediahb"},{code:"audiencemedia"},{code:"waardex_ak"},{code:"roqoon"},{code:"adbite"},{code:"houseofpubs"},{code:"torchad"},{code:"stringads"},{code:"bcm"},{code:"engageadx"},{code:"converge",gvlid:248},{code:"adomega"},{code:"denakop"},{code:"rtbanalytica"},{code:"unibots"},{code:"catapultx"},{code:"ergadx"},{code:"turktelekom"},{code:"felixads"},{code:"motionspots"},{code:"sonic_twist"},{code:"displayioads"},{code:"rtbdemand_com"},{code:"bidbuddy"}],supportedMediaTypes:[c.Mk,c.pX,c.B5],isBidRequestValid:function(e){return"params"in e&&void 0!==e.params.host&&"zoneId"in e.params&&!isNaN(Number(e.params.zoneId))&&e.params.zoneId>0&&e.mediaTypes&&(e.mediaTypes.banner||e.mediaTypes.video||e.mediaTypes.native&&(I((t=e.mediaTypes.native).image)&&I(t.icon)&&!(0,d.Z)(t,"privacyLink.required")&&!(0,d.Z)(t,"privacyIcon.required")));var t},buildRequests:function(e,t){var a=function(e,t){var a,r=t&&0===(null===(a=t.page)||void 0===a?void 0:a.indexOf("https:"));return Object.values(e.map((function(e){return function(e,t){var a,r={id:e.bidId,tagid:e.adUnitCode},n=[];if((0,d.Z)(e,"mediaTypes.banner"))n=(0,s.getAdUnitSizes)(e),r.banner={format:n.map((function(e){return(0,s.parseGPTSingleSizeArrayToRtbSize)(e)})),topframe:0},j(r.banner,e,g),a=c.Mk;else if((0,d.Z)(e,"mediaTypes.video")){var o=(0,d.Z)(e,"mediaTypes.video");r.video=(0,s.getDefinedParams)(o,f),j(r.video,e,v),o.playerSize?(n=o.playerSize[0],r.video=Object.assign(r.video,(0,s.parseGPTSingleSizeArrayToRtbSize)(n)||{})):o.w&&o.h&&(r.video.w=o.w,r.video.h=o.h),a=c.pX}else{if(!(0,d.Z)(e,"mediaTypes.native"))throw new Error("Unsupported bid received");var p=function(e){for(var t={ver:"1.1",assets:[]},a=0,r=Object.keys(e);a<r.length;a++){var i=r[a],n=e[i],o=x[i];if(void 0!==o){var d={id:o.id,required:~~n.required};if("img"===o.assetType)d[o.assetType]=S(o,n);else if("data"===o.assetType)d.data=(0,s.cleanObj)({type:o.type,len:n.len});else{if("title"!==o.assetType)return;d.title={len:n.len||90}}t.assets.push(d)}}return t}(e.mediaTypes.native);r.native={ver:"1.1",request:JSON.stringify(p)},j(r.native,e,b),a=c.B5}var u=function(e,t,a){var r,n=1===a.length?a[0]:"*";if("function"==typeof e.getFloor){var s=e.getFloor({currency:"USD",mediaType:t,size:n});"object"!==(0,i.Z)(s)||"USD"!==s.currency||isNaN(parseFloat(s.floor))||(r=parseFloat(s.floor))}return r}(e,a,n);u&&(r.bidfloor=u);t&&(r.secure=1);return r}(e,r)})).reduce((function(t,a,r){var i=e[r].params,n=i.zoneId,s=i.host,o="".concat(s,"_").concat(n);return t[o]=t[o]||{host:s,zoneId:n,imps:[]},t[o].imps.push(a),t}),{}))}(e=(0,l.lY)(e),t.refererInfo),r=[],n=e[0].schain;return(0,s._each)(a,(function(e){var a=e.host,i=e.zoneId,c=function(e,t,a){var r=t.ortb2||{},i=(0,s.mergeDeep)(function(e,t,a){var r=e.auctionId,i=e.timeout,n={id:r,imp:t,at:1,tmax:parseInt(i)};(0,s.isEmpty)(a.bcat)||(n.bcat=a.bcat);(0,s.isEmpty)(a.badv)||(n.badv=a.badv);return n}(t,e,r),function(e){var t=(0,s.mergeDeep)({ip:"caller",ipv6:"caller",ua:"caller",js:1,language:N()},e.device||{});(0,s.getDNT)()&&(t.dnt=1);return{device:t}}(r),function(e,t){var a=e.refererInfo,r=m.vc.getConfig("app");return(0,s.isEmpty)(r)?{site:z(a,t)}:{app:r}}(t,r),function(e,t){var a=e.gdprConsent,r=t.user||{};a&&void 0!==a.consentString&&(0,o.N)(r,"ext.consent",a.consentString);var i=function(e){var t=(0,d.Z)(e,"bids.0.userIdAsEids");if((0,s.isArray)(t))return t}(e);i&&(0,o.N)(r,"ext.eids",i);if(!(0,s.isEmpty)(r))return{user:r}}(t,r),function(e){var t=e.gdprConsent,a=e.uspConsent,r={};t&&void 0!==t.gdprApplies&&(0,o.N)(r,"regs.ext.gdpr",~~t.gdprApplies);a&&(0,o.N)(r,"regs.ext.us_privacy",a);m.vc.getConfig("coppa")&&(0,o.N)(r,"regs.coppa",1);if(!(0,s.isEmpty)(r))return r}(t),function(e){var t=e.bidderCode,a=function(e){if(!m.vc.getConfig("userSync.syncEnabled"))return;var t=m.vc.getConfig("userSync.filterSettings");if(_(t.all,e)||_(t.iframe,e))return h;if(_(t.image,e))return T}(t);if(a){var r={};return(0,o.N)(r,"ext.adk_usersync",a),r}}(t));a&&(0,o.N)(i,"source.ext.schain",a);return i}(e.imps,t,n);r.push({method:"POST",url:"https://".concat(a,"/hb?zone=").concat(i,"&v=").concat("1.6"),data:JSON.stringify(c)})})),r},interpretResponse:function(e,t){var a=e.body;if(!a.seatbid)return[];var r=JSON.parse(t.data);return a.seatbid.map((function(e){return e.bid})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){var t,i,n,d,p,m,l,y,f=(0,u.sE)(r.imp,(function(t){return t.id===e.impid})),v={requestId:e.impid,cpm:e.price,creativeId:e.crid,currency:a.cur||"USD",ttl:360,netRevenue:!0};return"banner"in f?(v.mediaType=c.Mk,v.width=e.w,v.height=e.h,v.ad=function(e){var t=e.adm;"nurl"in e&&(t+=(0,s.createTrackPixelHtml)("".concat(e.nurl,"&px=1")));return t}(e)):"video"in f?(v.mediaType=c.pX,v.vastUrl=e.nurl,v.width=f.video.w,v.height=f.video.h):"native"in f&&(v.mediaType=c.B5,v.native=(t=JSON.parse(e.adm),i=t.native,n=i.assets,d=i.link,p=i.imptrackers,m=i.jstracker,l=i.privacy,y={clickUrl:d.url,impressionTrackers:p,javascriptTrackers:m?[m]:void 0,privacyLink:l},(0,s._each)(n,(function(e){var t=k[e.id].name,a=k[e.id].assetType;y[t]=e[a].text||e[a].value||(0,s.cleanObj)({url:e[a].url,width:e[a].w,height:e[a].h})})),(0,s.cleanObj)(y))),(0,s.isStr)(e.dealid)&&(v.dealId=e.dealid),(0,s.isArray)(e.adomain)&&(0,o.N)(v,"meta.advertiserDomains",e.adomain),(0,s.isArray)(e.cat)&&(0,o.N)(v,"meta.secondaryCatIds",e.cat),(0,s.isPlainObject)(e.ext)&&((0,s.isNumber)(e.ext.advertiser_id)&&(0,o.N)(v,"meta.advertiserId",e.ext.advertiser_id),(0,s.isStr)(e.ext.advertiser_name)&&(0,o.N)(v,"meta.advertiserName",e.ext.advertiser_name),(0,s.isStr)(e.ext.agency_name)&&(0,o.N)(v,"meta.agencyName",e.ext.agency_name)),v}))},getUserSyncs:function(e,t){return t&&0!==t.length&&(e.iframeEnabled||e.pixelEnabled)?t.filter((function(e){return e.body&&e.body.ext&&e.body.ext.adk_usersync})).map((function(e){return e.body.ext.adk_usersync})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){var t=e.url,a=e.type;return{type:O[a],url:t}})):[]}};function j(e,t,a){void 0!==t.ortb2Imp&&Object.assign(e,(0,s.getDefinedParams)(t.ortb2Imp,a))}function S(e,t){var a={type:e.type};if(t.sizes){var i=(0,r.Z)(t.sizes,2);a.w=i[0],a.h=i[1]}else t.aspect_ratios&&(a.wmin=t.aspect_ratios[0].min_width,a.hmin=t.aspect_ratios[0].min_height);return(0,s.cleanObj)(a)}function _(e,t){if(!e)return!1;var a=(0,s.isArray)(e.bidders)?e.bidders:[t],r="include"===e.filter;return(0,s.contains)(a,t)===r}function N(){var e=navigator.language?"language":"userLanguage";return navigator[e].split("-")[0]}function z(e,t){var a={domain:e.domain,page:e.page};return(0,s.mergeDeep)(a,t.site),null!=e.ref?a.ref=e.ref:delete a.ref,a}function I(e){return!e||(e.sizes?(0,s.isArrayOfNums)(e.sizes,2):!(0,s.isArray)(e.aspect_ratios)||e.aspect_ratios.length>0&&e.aspect_ratios[0].min_height&&e.aspect_ratios[0].min_width)}(0,p.dX)(w),window.owpbjs.installedModules.push("adkernelBidAdapter")}},function(e){e.O(0,[56866],(function(){return t=75559,e(e.s=t);var t}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[63700],{44632:function(e,t,r){var n=r(4942),i=r(89062),a=r(14699),s=r(24679),d=r(64358),o=r(20265),u=r(3193),p=r(15164);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f="adnuntius",m=function(e){return(0,d.isStr)(e)?e:e.id?e.id:void 0},v={code:f,gvlid:855,supportedMediaTypes:[s.Mk,s.pX],isBidRequestValid:function(e){return!!(e.bidId||e.params.member&&e.params.invCode)},buildRequests:function(e,t){var r={},a={},s=[],d=[],c=t.ortb2||{},v=u.vc.getConfig(),b=function(){var e=(0,p.df)({gvlid:855,bidderCode:f}),t=null;return e.localStorageIsEnabled()&&(t=JSON.parse(e.getDataFromLocalStorage("adn.metaData"))),null!==t?t.reduce((function(e,t){return l(l({},e),{},(0,n.Z)({},t.key,t.value))}),{}):{}}(),g=function(e,t,r){var n=!(null===e||!e.usi)&&e.usi;return t&&t.user&&t.user.id&&(n=t.user.id),n}(b,c),h=function(e){var t=(0,o.Z)(e,"user.data"),r=[];return t&&t.forEach((function(e){e.segment&&r.push.apply(r,(0,i.Z)(e.segment.filter(m).map(m)))})),r}(c),y=(new Date).getTimezoneOffset(),O=(0,o.Z)(t,"gdprConsent.gdprApplies"),I=(0,o.Z)(t,"gdprConsent.consentString");d.push("tzo="+y),d.push("format=json"),void 0!==O&&d.push("consentString="+I),h.length>0&&d.push("segments="+h.join(",")),g&&d.push("userId="+g),!1===v.useCookie&&d.push("noCookies=true");for(var j=0;j<e.length;j++){var w=e[j],T=w.params.network||"network",k=w.params.targeting||{};w.mediaTypes&&w.mediaTypes.video&&"outstream"!==w.mediaTypes.video.context&&(T+="_video"),a[T]=a[T]||[],a[T].push(w),r[T]=r[T]||{},r[T].adUnits=r[T].adUnits||[],t&&t.refererInfo&&(r[T].context=t.refererInfo.page),b&&(r[T].metaData=b);var C=l(l({},k),{},{auId:w.params.auId,targetId:w.bidId});w.mediaTypes&&w.mediaTypes.banner&&w.mediaTypes.banner.sizes&&(C.dimensions=w.mediaTypes.banner.sizes),r[T].adUnits.push(C)}for(var S=Object.keys(r),D=0;D<S.length;D++){var P=S[D],U=[].concat(d);P.indexOf("_video")>-1&&U.push("tt=vast4"),s.push({method:"POST",url:"https://ads.adnuntius.delivery/i?"+U.join("&"),data:JSON.stringify(r[P]),bid:a[P]})}return s},interpretResponse:function(e,t){var r=e.body.adUnits.reduce((function(e,t){if(t.matchedAdCount>=1){var r=t.ads[0],i=r.bid?1e3*r.bid.amount:0,a=l(l({},e),{},(0,n.Z)({},t.targetId,{requestId:t.targetId,cpm:i,width:Number(r.creativeWidth),height:Number(r.creativeHeight),creativeId:r.creativeId,currency:r.bid?r.bid.currency:"EUR",dealId:r.dealId||"",meta:{advertiserDomains:r.destinationUrls.destination?[r.destinationUrls.destination.split("/")[2]]:[]},netRevenue:!1,ttl:360}));return t.vastXml?(a[t.targetId].vastXml=t.vastXml,a[t.targetId].mediaType=s.pX):a[t.targetId].ad=t.html,a}return e}),{});return t.bid.map((function(e){return e.bidId})).reduce((function(e,t){return r[t]&&e.push(r[t]),e}),[])}};(0,a.dX)(v),window.owpbjs.installedModules.push("adnuntiusBidAdapter")}},function(e){e.O(0,[56866],(function(){return t=44632,e(e.s=t);var t}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[4871],{28979:function(e,i,t){var n=t(4942),a=t(93324),o=t(89062),r=t(64358),d=t(20265),c=t(25686),u=t(23866),s=t(90154),l=t(92797),f=t(79885),g=t(3193),v=t(24679),h=t(34614),p=t(78653),b=t(5644),m="hb_pb_cat_dur",T="hb_cache_id",y=50,C=5,D=function(){var e={};function i(i){var t,n,a;e[i]={},e[i].bidStorage=new Set,e[i].queueDispatcher=(t=y,a=1,function(e,i,o,r){var d=this,c=function(){E.call(d,e,i,o)};clearTimeout(n),r?a=1:a===C?(a=1,c()):(a++,n=setTimeout(c,t))}),e[i].initialCacheKey=(0,r.generateUUID)()}return{addBid:function(t){e[t.auctionId]||i(t.auctionId),e[t.auctionId].bidStorage.add(t)},removeBid:function(i){e[i.auctionId].bidStorage.delete(i)},getBids:function(i){return e[i.auctionId]&&e[i.auctionId].bidStorage.values()},getQueueDispatcher:function(i){return e[i.auctionId]&&e[i.auctionId].queueDispatcher},setupInitialCacheKey:function(i){e[i.auctionId]||(e[i.auctionId]={},e[i.auctionId].initialCacheKey=(0,r.generateUUID)())},getInitialCacheKey:function(i){return e[i.auctionId]&&e[i.auctionId].initialCacheKey}}}();function S(e,i){var t,n=D.getInitialCacheKey(e),a=(0,d.Z)(e,"video.durationBucket"),o=function(e){var i;if(g.vc.getConfig("adpod.prioritizeDeals")&&(0,d.Z)(e,"video.dealTier")){var t=g.vc.getConfig("adpod.dealTier.".concat(e.bidderCode,".prefix"));i=t?t+(0,d.Z)(e,"video.dealTier"):(0,d.Z)(e,"video.dealTier")}else{var n=(0,c.RH)(e);i=(0,c.dg)(n)(e)}return i}(e);if(i){var r=(0,d.Z)(e,"meta.adServerCatId");t="".concat(o,"_").concat(r,"_").concat(a,"s")}else t="".concat(o,"_").concat(a,"s");e.adserverTargeting||(e.adserverTargeting={}),e.adserverTargeting[m]=t,e.adserverTargeting[T]=n,e.videoCacheKey=n,e.customCacheKey="".concat(t,"_").concat(n)}function E(e,i,t){!function(e){for(var i=0;i<e.length;i++)D.removeBid(e[i])}(i),(0,f.h)(i,(function(n,a){if(n){(0,r.logWarn)("Failed to save to the video cache: ".concat(n,". Video bid(s) must be discarded."));for(var o=0;o<i.length;o++)(0,c.sq)(e,i[o])}else for(var d=0;d<a.length;d++)""!==a[d].uuid?(0,c.lU)(e,i[d]):(0,r.logInfo)("Detected a bid was not cached because the custom key was already registered. Attempted to use key: ".concat(i[d].customCacheKey,". Bid was: "),i[d]),t()}))}function I(e,i,t,n,a){if(a&&a.context===v.Oh){var o=g.vc.getConfig("adpod.brandCategoryExclusion");!(0,d.Z)(t,"meta.adServerCatId")&&o?((0,r.logWarn)("Detected a bid without meta.adServerCatId while setConfig({adpod.brandCategoryExclusion}) was enabled. This bid has been rejected:",t),n()):!1===g.vc.getConfig("adpod.deferCaching")?(D.addBid(t),S(t,o),function(e,i,t){var n=D.getBids(i);if(n){var a=(0,h.Oc)(n),o=D.getQueueDispatcher(i),d=!(e.getAuctionStatus()===c.Yw);o(e,a,t,d)}else(0,r.logWarn)("Attempted to cache a bid from an unknown auction. Bid:",i)}(i,t,n)):(D.setupInitialCacheKey(t),S(t,o),(0,c.lU)(i,t),n())}else e.call(this,i,t,n,a)}function U(e,i){var t=i.filter((function(e){var i=(0,d.Z)(e,"mediaTypes"),t=(0,d.Z)(i,"video");if(t&&t.context===v.Oh){if(Object.keys(i).length>1)return(0,r.logWarn)("Detected more than one mediaType in adUnitCode: ".concat(e.code," while attempting to define an 'adpod' video adUnit. 'adpod' adUnits cannot be mixed with other mediaTypes. This adUnit will be removed from the auction.")),!1;var n="Detected missing or incorrectly setup fields for an adpod adUnit. Please review the following fields of adUnitCode: ".concat(e.code,". This adUnit will be removed from the auction."),a=!!(t.playerSize&&((0,r.isArrayOfNums)(t.playerSize,2)||(0,r.isArray)(t.playerSize)&&t.playerSize.every((function(e){return(0,r.isArrayOfNums)(e,2)})))||t.sizeConfig),o=!!(t.adPodDurationSec&&(0,r.isNumber)(t.adPodDurationSec)&&t.adPodDurationSec>0),c=!!(t.durationRangeSec&&(0,r.isArrayOfNums)(t.durationRangeSec)&&t.durationRangeSec.every((function(e){return e>0})));if(!a||!o||!c)return n+=a?"":"\nmediaTypes.video.playerSize",n+=o?"":"\nmediaTypes.video.adPodDurationSec",n+=c?"":"\nmediaTypes.video.durationRangeSec",(0,r.logWarn)(n),!1}return!0}));i=t,e.call(this,i)}function w(e,i,t,n,a){if(a===v.Oh){var c=!0;if(g.vc.getConfig("adpod.brandCategoryExclusion")&&!(0,d.Z)(i,"meta.primaryCatId")&&(c=!1),(0,d.Z)(i,"video"))if((0,d.Z)(i,"video.context")&&i.video.context===v.Oh||(c=!1),!(0,d.Z)(i,"video.durationSeconds")||i.video.durationSeconds<=0)c=!1;else{var u=function(e,i){var t=(0,d.Z)(i,"video.durationSeconds"),n=e.durationRangeSec;if(n.sort((function(e,i){return e-i})),e.requireExactDuration){if(!(0,h.sE)(n,(function(e){return e===t})))return(0,r.logWarn)("Detected a bid with a duration value not part of the list of accepted ranges specified in adUnit.mediaTypes.video.durationRangeSec. Exact match durations must be used for this adUnit. Rejecting bid: ",i),!1;i.video.durationBucket=t}else{var a=Math.max.apply(Math,(0,o.Z)(n));if(!(t<=a+2))return(0,r.logWarn)("Detected a bid with a duration value outside the accepted ranges specified in adUnit.mediaTypes.video.durationRangeSec. Rejecting bid: ",i),!1;var c=(0,h.sE)(n,(function(e){return e+2>=t}));i.video.durationBucket=c}return!0}(n,i);u||(c=!1)}g.vc.getConfig("cache.url")||!i.vastXml||i.vastUrl||((0,r.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 pbjs.setConfig({ cache: {url: "..."} });\n '),c=!1),e.bail(c)}else e.call(this,i,t,n,a)}function B(e,i){return e.adserverTargeting[b.TD.PRICE_BUCKET]/e.video.durationBucket<i.adserverTargeting[b.TD.PRICE_BUCKET]/i.video.durationBucket?1:e.adserverTargeting[b.TD.PRICE_BUCKET]/e.video.durationBucket>i.adserverTargeting[b.TD.PRICE_BUCKET]/i.video.durationBucket?-1:0}g.vc.getConfig("adpod",(function(e){return function(e){void 0!==e.bidQueueTimeDelay&&("number"==typeof e.bidQueueTimeDelay&&e.bidQueueTimeDelay>0?y=e.bidQueueTimeDelay:(0,r.logWarn)("Detected invalid value for adpod.bidQueueTimeDelay in setConfig; must be a positive number. Using default: ".concat(y))),void 0!==e.bidQueueSizeLimit&&("number"==typeof e.bidQueueSizeLimit&&e.bidQueueSizeLimit>0?C=e.bidQueueSizeLimit:(0,r.logWarn)("Detected invalid value for adpod.bidQueueSizeLimit in setConfig; must be a positive number. Using default: ".concat(C)))}(e.adpod)})),(0,l.o0)(c.D$,I),(0,l.o0)(u.O5,U),(0,l.o0)(s.hD,w);var Z={TARGETING_KEY_PB_CAT_DUR:m,TARGETING_KEY_CACHE_ID:T,getTargeting:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.codes,t=e.callback;if(t){var o=function(e){return p.K.getAdUnits().filter((function(e){return(0,d.Z)(e,"mediaTypes.video.context")===v.Oh})).filter((function(i){return!(e.length>0)||-1!=e.indexOf(i.code)}))}(i=i||[]),c=p.K.getBidsReceived(),u=g.vc.getConfig("adpod.brandCategoryExclusion"),s=g.vc.getConfig("adpod.deferCaching"),l="boolean"!=typeof s||s,h=function(e,i){var t=i.map((function(e){return e.code}));return e.filter((function(e){return-1!=t.indexOf(e.adUnitCode)&&e.video&&e.video.context===v.Oh}))}(c,o);if(h=u||l?function(e){var i=e.map((function(e){return Object.assign({},e,(0,n.Z)({},m,e.adserverTargeting[m]))}));i=(0,r.groupBy)(i,m);var t=[];return Object.keys(i).forEach((function(e){i[e].sort((0,r.compareOn)("responseTimestamp")),t.push(i[e][0])})),t}(h):h,g.vc.getConfig("adpod.prioritizeDeals")){var b=h.reduce((function(e,i){var t=(0,d.Z)(i,"video.dealTier"),n=g.vc.getConfig("adpod.dealTier.".concat(i.bidderCode,".minDealTier"));return n&&t?t>=n?e[1].push(i):e[0].push(i):t?e[1].push(i):e[0].push(i),e}),[[],[]]),y=(0,a.Z)(b,2),C=y[0],D=y[1];D.sort(B),C.sort(B),h=D.concat(C)}else h.sort(B);var S={};if(!1===l)o.forEach((function(e){var i=[],t=(0,d.Z)(e,"mediaTypes.video.adPodDurationSec");h.filter((function(i){return i.adUnitCode===e.code})).forEach((function(e,a,o){e.video.durationBucket<=t&&(i.push((0,n.Z)({},m,e.adserverTargeting[m])),t-=e.video.durationBucket),a===o.length-1&&i.length>0&&i.push((0,n.Z)({},T,e.adserverTargeting[T]))})),S[e.code]=i})),t(null,S);else{var E=[];o.forEach((function(e){var i=(0,d.Z)(e,"mediaTypes.video.adPodDurationSec");h.filter((function(i){return i.adUnitCode===e.code})).forEach((function(e){e.video.durationBucket<=i&&(E.push(e),i-=e.video.durationBucket)}))})),function(e,i){(0,f.h)(e,(function(t,n){if(t)i(t,null);else{for(var a=[],o=0;o<n.length;o++)""!==n[o]&&a.push(e[o]);i(null,a)}}))}(E,(function(e,i){if(e)t(e,null);else{var a=(0,r.groupBy)(i,"adUnitCode");Object.keys(a).forEach((function(e){var i=[];a[e].forEach((function(e,t,a){i.push((0,n.Z)({},m,e.adserverTargeting[m])),t===a.length-1&&i.length>0&&i.push((0,n.Z)({},T,e.adserverTargeting[T]))})),S[e]=i})),t(null,S)}}))}return S}(0,r.logError)("No callback function was defined in the getTargeting call. Aborting getTargeting().")}};Object.freeze(Z),(0,l.bA)("adpod",(function(){(0,r.isPlainObject)(arguments.length<=0?void 0:arguments[0])?function(e,i){for(var t in i)e[t]=i[t]}(arguments.length<=0?void 0:arguments[0],Z):(0,r.logError)("Adpod module needs plain object to share methods with submodule")})),window.owpbjs.installedModules.push("adpod")}},function(e){e.O(0,[56866],(function(){return i=28979,e(e.s=i);var i}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[83864],{46319:function(e,r,a){a.d(r,{p:function(){return q}});var n=a(71002),t=a(89062),i=a(64358),s=a(20265),o=a(35706),d=a(3193),p=a(14699),c=a(24679),u=a(78653),l=a(34614),m=a(90154),f=a(15164),v=a(55975),g=a(17673),b=a(70059),y="appnexus",_="https://ib.adnxs.com/ut/v3/prebid",h="https://ib.adnxs-simple.com/ut/v3/prebid",k=["id","minduration","maxduration","skippable","playback_method","frameworks","context","skipoffset"],w=["minduration","maxduration","skip","skipafter","playbackmethod","api","startdelay"],x=["age","externalUid","external_uid","segments","gender","dnt","language"],C=["geo","device_id"],E=["enabled","dongle","member_id","debug_timeout"],I={apn_debug_dongle:"dongle",apn_debug_member_id:"member_id",apn_debug_timeout:"debug_timeout"},O={playback_method:{unknown:0,auto_play_sound_on:1,auto_play_sound_off:2,click_to_play:3,mouse_over:4,auto_play_sound_unknown:5},context:{unknown:0,pre_roll:1,mid_roll:2,post_roll:3,outstream:4,"in-banner":5}},A={body:"description",body2:"desc2",cta:"ctatext",image:{serverName:"main_image",requiredParams:{required:!0}},icon:{serverName:"icon",requiredParams:{required:!0}},sponsoredBy:"sponsored_by",privacyLink:"privacy_link",salePrice:"saleprice",displayUrl:"displayurl"},S="<script",j=/\/\/cdn\.adnxs\.com\/v|\/\/cdn\.adnxs\-simple\.com\/v/,T="trk.js",U=(0,f.df)({gvlid:32,bidderCode:y}),q={code:y,gvlid:32,aliases:[{code:"appnexusAst",gvlid:32},{code:"emxdigital",gvlid:183},{code:"pagescience"},{code:"defymedia"},{code:"gourmetads"},{code:"matomy"},{code:"featureforward"},{code:"oftmedia"},{code:"adasta"},{code:"beintoo",gvlid:618},{code:"dg"},{code:"gps"},{code:"appnexus2"}],supportedMediaTypes:[c.Mk,c.pX,c.B5],isBidRequestValid:function(e){return!!(e.params.placementId||e.params.placement_id||e.params.member&&(e.params.invCode||e.params.inv_code))},buildRequests:function(e,r){var a,n=(e=(0,b.lY)(e)).map(R),o=(0,l.sE)(e,Z),p={};!0===d.vc.getConfig("coppa")&&(p={coppa:!0}),o&&Object.keys(o.params.user).filter((function(e){return(0,l.q9)(x,e)})).forEach((function(e){var r=(0,i.convertCamelToUnderscore)(e);if("segments"===e&&(0,i.isArray)(o.params.user[e])){var a=[];o.params.user[e].forEach((function(e){(0,i.isNumber)(e)?a.push({id:e}):(0,i.isPlainObject)(e)&&a.push(e)})),p[r]=a}else"segments"!==e&&(p[r]=o.params.user[e])}));var c,u=(0,l.sE)(e,D);u&&u.params&&u.params.app&&(c={},Object.keys(u.params.app).filter((function(e){return(0,l.q9)(C,e)})).forEach((function(e){return c[e]=u.params.app[e]})));var m,f=(0,l.sE)(e,z);f&&f.params&&u.params.app&&u.params.app.id&&(m={appid:f.params.app.id});var v={},y={},k=U.getCookie("apn_prebid_debug")||null;if(k)try{v=JSON.parse(k)}catch(e){(0,i.logError)("AppNexus Debug Auction Cookie Error:\n\n"+e)}else{Object.keys(I).forEach((function(e){var r=(0,i.getParameterByName)(e);(0,i.isStr)(r)&&""!==r&&(v[I[e]]=r,v.enabled=!0)})),v=(0,i.convertTypes)({member_id:"number",debug_timeout:"number"},v);var w=(0,l.sE)(e,X);w&&w.debug&&(v=w.debug)}v&&v.enabled&&Object.keys(v).filter((function(e){return(0,l.q9)(E,e)})).forEach((function(e){y[e]=v[e]}));var O=(0,l.sE)(e,M),A=O?parseInt(O.params.member,10):0,S=e[0].schain,j=(0,l.sE)(e,K),T={tags:(0,t.Z)(n),user:p,sdk:{source:"pbjs",version:"7.39.0"},schain:S};j&&(T.iab_support={omidpn:"Appnexus",omidpv:"7.39.0"}),A>0&&(T.member_id=A),u&&(T.device=c),f&&(T.app=m);var q,P,B=(0,i.deepClone)(r&&r.ortb2),V=(q=B,P=[],["site.keywords","site.content.keywords","user.keywords","app.keywords","app.content.keywords"].forEach((function(e){var r=(0,s.Z)(q,e);(0,i.isStr)(r)&&P.push(r)})),P).map((function(e){return H(e)})),J=(0,i.deepClone)(d.vc.getConfig("appnexusAuctionKeywords"))||{};Object.keys(J).forEach((function(e){((0,i.isStr)(J[e])||(0,i.isNumber)(J[e]))&&(J[e]=[J[e]])}));var W=i.mergeDeep.apply(void 0,[{},J].concat((0,t.Z)(V))),$=(0,i.transformBidderParamKeywords)(W);if($.length>0&&($.forEach(N),T.keywords=$),d.vc.getConfig("adpod.brandCategoryExclusion")&&(T.brand_category_uniqueness=!0),y.enabled&&(T.debug=y,(0,i.logInfo)("AppNexus Debug Auction Settings:\n\n"+JSON.stringify(y,null,4))),r&&r.gdprConsent&&(T.gdpr_consent={consent_string:r.gdprConsent.consentString,consent_required:r.gdprConsent.gdprApplies},r.gdprConsent.addtlConsent&&-1!==r.gdprConsent.addtlConsent.indexOf("~"))){var G=r.gdprConsent.addtlConsent,Q=G.substring(G.indexOf("~")+1);T.gdpr_consent.addtl_consent=Q.split(".").map((function(e){return parseInt(e,10)}))}if(r&&r.uspConsent&&(T.us_privacy=r.uspConsent),null!=r&&r.gppConsent?T.privacy={gpp:r.gppConsent.gppString,gpp_sid:r.gppConsent.applicableSections}:null!=r&&null!==(a=r.ortb2)&&void 0!==a&&null!==(a=a.regs)&&void 0!==a&&a.gpp&&(T.privacy={gpp:r.ortb2.regs.gpp,gpp_sid:r.ortb2.regs.gpp_sid}),r&&r.refererInfo){var Y={rd_ref:encodeURIComponent(r.refererInfo.topmostLocation),rd_top:r.refererInfo.reachedTop,rd_ifs:r.refererInfo.numIframes,rd_stk:r.refererInfo.stack.map((function(e){return encodeURIComponent(e)})).join(",")},ee=r.refererInfo.canonicalUrl;(0,i.isStr)(ee)&&""!==ee&&(Y.rd_can=ee),T.referrer_detection=Y}if((0,l.sE)(e,F)&&e.filter(F).forEach((function(e){var r=function(e,r){var a=r.mediaTypes.video,n=a.durationRangeSec,s=a.requireExactDuration,o=function(e){var r=e.adPodDurationSec,a=e.durationRangeSec,n=e.requireExactDuration,t=(0,i.getMinValueFromArray)(a),s=Math.floor(r/t);return n?Math.max(s,a.length):s}(r.mediaTypes.video),d=(0,i.getMaxValueFromArray)(n),p=e.filter((function(e){return e.uuid===r.bidId})),c=i.fill.apply(void 0,(0,t.Z)(p).concat([o]));if(s){var u=Math.ceil(o/n.length),l=(0,i.chunk)(c,u);n.forEach((function(e,r){l[r].map((function(r){L(r,"minduration",e),L(r,"maxduration",e)}))}))}else c.map((function(e){return L(e,"maxduration",d)}));return c}(n,e),a=T.tags.filter((function(r){return r.uuid!==e.bidId}));T.tags=[].concat((0,t.Z)(a),(0,t.Z)(r))})),e[0].userId){var re=[];e[0].userIdAsEids.forEach((function(e){!e||!e.uids||e.uids.length<1||e.uids.forEach((function(r){var a={source:e.source,id:r.id};"adserver.org"==e.source?a.rti_partner="TDID":"uidapi.com"==e.source&&(a.rti_partner="UID2"),re.push(a)}))})),re.length&&(T.eids=re)}n[0].publisher_id&&(T.publisher_id=n[0].publisher_id);var ae=function(e,r){var a=[],n={withCredentials:!0},t=_;(0,g.h)(null==r?void 0:r.gdprConsent)||(t=h);"TRUE"!==(0,i.getParameterByName)("apn_test").toUpperCase()&&!0!==d.vc.getConfig("apn_test")||(n.customHeaders={"X-Is-Test":1});if(e.tags.length>15){var s=(0,i.deepClone)(e);(0,i.chunk)(e.tags,15).forEach((function(e){s.tags=e;var i=JSON.stringify(s);a.push({method:"POST",url:t,data:i,bidderRequest:r,options:n})}))}else{var o=JSON.stringify(e);a={method:"POST",url:t,data:o,bidderRequest:r,options:n}}return a}(T,r);return ae},interpretResponse:function(e,r){var a=this,n=r.bidderRequest;e=e.body;var t=[];if(!e||e.error){var d="in response for ".concat(n.bidderCode," adapter");return e&&e.error&&(d+=": ".concat(e.error)),(0,i.logError)(d),t}if(e.tags&&e.tags.forEach((function(e){var r,d=(r=e)&&r.ads&&r.ads.length&&(0,l.sE)(r.ads,(function(e){return e.rtb}));if(d&&((!0===v.S.get(n.bidderCode,"allowZeroCpmBids")?d.cpm>=0:d.cpm>0)&&(0,l.q9)(a.supportedMediaTypes,d.ad_type))){var u=function(e,r,a){var n=(0,i.getBidRequest)(e.uuid,[a]),t=(0,i.getUniqueIdentifierStr)(),d={adId:t,requestId:e.uuid,cpm:r.cpm,creativeId:r.creative_id,dealId:r.deal_id,currency:"USD",netRevenue:!0,ttl:300,adUnitCode:n.adUnitCode,appnexus:{buyerMemberId:r.buyer_member_id,dealPriority:r.deal_priority,dealCode:r.deal_code}};r.adomain&&(d.meta=Object.assign({},d.meta,{advertiserDomains:[r.adomain]}));r.advertiser_id&&(d.meta=Object.assign({},d.meta,{advertiserId:r.advertiser_id}));function u(e){return{ver:"1.0",complete:0,nodes:[{bsid:e.buyer_member_id.toString()}]}}r.buyer_member_id&&(d.meta=Object.assign({},d.meta,{dchain:u(r)}));r.brand_id&&(d.meta=Object.assign({},d.meta,{brandId:r.brand_id}));if(r.rtb.video){switch(Object.assign(d,{width:r.rtb.video.player_width,height:r.rtb.video.player_height,vastImpUrl:r.notify_url,ttl:3600}),(0,s.Z)(n,"mediaTypes.video.context")){case c.Oh:var f=(0,p.Q1)(n.bidder,r.brand_category_id);d.meta=Object.assign({},d.meta,{primaryCatId:f});var v=r.deal_priority;d.video={context:c.Oh,durationSeconds:Math.floor(r.rtb.video.duration_ms/1e3),dealTier:v},d.vastUrl=r.rtb.video.asset_url;break;case m.gZ:if(d.adResponse=e,d.adResponse.ad=d.adResponse.ads[0],d.adResponse.ad.video=d.adResponse.ad.rtb.video,d.vastXml=r.rtb.video.content,r.renderer_url){var g=(0,l.sE)(a.bids,(function(r){return r.bidId===e.uuid})),b=(0,s.Z)(g,"mediaTypes.video.renderer.options");b||(b=(0,s.Z)(g,"renderer.options")),d.renderer=function(e,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=o.Th.install({id:r.renderer_id,url:r.renderer_url,config:a,loaded:!1,adUnitCode:e});try{n.setRender(V)}catch(e){(0,i.logWarn)("Prebid Error calling setRender on renderer",e)}return n.setEventHandlers({impression:function(){return(0,i.logMessage)("AppNexus outstream video impression event")},loaded:function(){return(0,i.logMessage)("AppNexus outstream video loaded event")},ended:function(){(0,i.logMessage)("AppNexus outstream renderer video event"),document.querySelector("#".concat(e)).style.display="none"}}),n}(d.adUnitCode,r,b)}break;case m.LD:d.vastUrl=r.notify_url+"&redir="+encodeURIComponent(r.rtb.video.asset_url)}}else if(r.rtb[c.B5]){var y,_=r.rtb[c.B5];if(function(e){if(!e||""===e)return!1;var r=e.match(j),a=null!=r&&r.length>=1,n=e.match(T),t=null!=n&&n.length>=1;return e.startsWith(S)&&t&&a}(r.viewability.config)){var h="pbjs_adid="+t+";pbjs_auc="+n.adUnitCode;y=r.viewability.config.replace("dom_id=%native_dom_id%",h)}var k=_.javascript_trackers;null==k?k=y:(0,i.isStr)(k)?k=[k,y]:k.push(y),d[c.B5]={title:_.title,body:_.desc,body2:_.desc2,cta:_.ctatext,rating:_.rating,sponsoredBy:_.sponsored,privacyLink:_.privacy_link,address:_.address,downloads:_.downloads,likes:_.likes,phone:_.phone,price:_.price,salePrice:_.saleprice,clickUrl:_.link.url,displayUrl:_.displayurl,clickTrackers:_.link.click_trackers,impressionTrackers:_.impression_trackers,video:_.video,javascriptTrackers:k},_.main_img&&(d.native.image={url:_.main_img.url,height:_.main_img.height,width:_.main_img.width}),_.icon&&(d.native.icon={url:_.icon.url,height:_.icon.height,width:_.icon.width})}else{Object.assign(d,{width:r.rtb.banner.width,height:r.rtb.banner.height,ad:r.rtb.banner.content});try{if(r.rtb.trackers)for(var w=0;w<r.rtb.trackers[0].impression_urls.length;w++){var x=r.rtb.trackers[0].impression_urls[w],C=(0,i.createTrackPixelHtml)(x);d.ad+=C}}catch(e){(0,i.logError)("Error appending tracking pixel",e)}}return d}(e,d,n);u.mediaType=function(e){var r=e.ad_type;return r===c.pX?c.pX:r===c.B5?c.B5:c.Mk}(d),t.push(u)}})),e.debug&&e.debug.debug_info){var u="AppNexus Debug Auction for Prebid\n\n"+e.debug.debug_info;u=u.replace(/(<td>|<th>)/gm,"\t").replace(/(<\/td>|<\/th>)/gm,"\n").replace(/^<br>/gm,"").replace(/(<br>\n|<br>)/gm,"\n").replace(/<h1>(.*)<\/h1>/gm,"\n\n===== $1 =====\n\n").replace(/<h[2-6]>(.*)<\/h[2-6]>/gm,"\n\n*** $1 ***\n\n").replace(/(<([^>]+)>)/gim,""),(0,i.logMessage)("https://console.appnexus.com/docs/understanding-the-debug-auction"),(0,i.logMessage)(u)}return t},getMappingFileInfo:function(){return{url:"https://acdn.adnxs-simple.com/prebid/appnexus-mapping/mappings.json",refreshInDays:2}},getUserSyncs:function(e,r,a,n,t){if(e.iframeEnabled&&(0,g.h)(a)&&function(e){return!e||!Array.isArray(e.applicableSections)||e.applicableSections.every((function(e){return"number"==typeof e&&e<=5}))}(t))return[{type:"iframe",url:"https://acdn.adnxs.com/dmp/async_usersync.html"}]},transformBidParams:function(e,r,a,n){var t=i.transformBidderParamKeywords;if(!0===r){var o=null,p=d.vc.getConfig("s2sConfig");(0,i.isPlainObject)(p)?o=(0,s.Z)(p,"endpoint.p1Consent"):(0,i.isArray)(p)&&p.forEach((function(e){(0,l.q9)(e.bidders,a.bids[0].bidder)&&(o=(0,s.Z)(e,"endpoint.p1Consent"))})),o&&o.match("/openrtb2/prebid")&&(t=W)}return e=(0,i.convertTypes)({member:"string",invCode:"string",placementId:"number",keywords:t,publisherId:"number"},e),r&&(P(e.keywords)&&e.keywords.forEach(N),Object.keys(e).forEach((function(r){var a=(0,i.convertCamelToUnderscore)(r);a!==r&&(e[a]=e[r],delete e[r])})),e.use_pmt_rule="boolean"==typeof e.use_payment_rule&&e.use_payment_rule,e.use_payment_rule&&delete e.use_payment_rule),e}};function P(e){return!!((0,i.isArray)(e)&&e.length>0)}function N(e){P(e.value)&&""===e.value[0]&&delete e.value}function R(e){var r={};Object.keys(e.params).forEach((function(r){var a=(0,i.convertCamelToUnderscore)(r);a!==r&&(e.params[a]=e.params[r],delete e.params[r])})),r.sizes=B(e.sizes),r.primary_size=r.sizes[0],r.ad_types=[],r.uuid=e.bidId,e.params.placement_id?r.id=parseInt(e.params.placement_id,10):r.code=e.params.inv_code,r.allow_smaller_sizes=e.params.allow_smaller_sizes||!1,r.use_pmt_rule="boolean"==typeof e.params.use_payment_rule?e.params.use_payment_rule:"boolean"==typeof e.params.use_pmt_rule&&e.params.use_pmt_rule,r.prebid=!0,r.disable_psa=!0;var a=function(e){if(!(0,i.isFn)(e.getFloor))return e.params.reserve?e.params.reserve:null;var r=e.getFloor({currency:"USD",mediaType:"*",size:"*"});if((0,i.isPlainObject)(r)&&!isNaN(r.floor)&&"USD"===r.currency)return r.floor;return null}(e);if(a&&(r.reserve=a),e.params.position)r.position={above:1,below:2}[e.params.position]||0;else{var n=(0,s.Z)(e,"mediaTypes.banner.pos")||(0,s.Z)(e,"mediaTypes.video.pos");0!==n&&1!==n&&3!==n||(r.position=3===n?2:n)}e.params.traffic_source_code&&(r.traffic_source_code=e.params.traffic_source_code),e.params.private_sizes&&(r.private_sizes=B(e.params.private_sizes)),e.params.supply_type&&(r.supply_type=e.params.supply_type),e.params.pub_click&&(r.pubclick=e.params.pub_click),e.params.ext_inv_code&&(r.ext_inv_code=e.params.ext_inv_code),e.params.publisher_id&&(r.publisher_id=parseInt(e.params.publisher_id,10)),e.params.external_imp_id&&(r.external_imp_id=e.params.external_imp_id);var t=(0,s.Z)(e,"ortb2Imp.ext.data.keywords");if((0,i.isStr)(t)&&""!==t||!(0,i.isEmpty)(e.params.keywords)){var o=H(t),d=(0,i.isPlainObject)(e.params.keywords)?(0,i.deepClone)(e.params.keywords):{};Object.keys(d).forEach((function(e){((0,i.isStr)(d[e])||(0,i.isNumber)(d[e]))&&(d[e]=[d[e]])}));var p=(0,i.mergeDeep)({},d,o),m=(0,i.transformBidderParamKeywords)(p);m.length>0&&(m.forEach(N),r.keywords=m)}var f,v,g=(0,s.Z)(e,"ortb2Imp.ext.data.pbadslot");if(g&&(r.gpid=g),(e.mediaType===c.B5||(0,s.Z)(e,"mediaTypes.".concat(c.B5)))&&(r.ad_types.push(c.B5),0===r.sizes.length&&(r.sizes=B([1,1])),e.nativeParams)){var b=(f=e.nativeParams,v={},Object.keys(f).forEach((function(e){var r=A[e]&&A[e].serverName||A[e]||e,a=A[e]&&A[e].requiredParams;if(v[r]=Object.assign({},a,f[e]),(r===A.image.serverName||r===A.icon.serverName)&&v[r].sizes){var n=v[r].sizes;((0,i.isArrayOfNums)(n)||(0,i.isArray)(n)&&n.length>0&&n.every((function(e){return(0,i.isArrayOfNums)(e)})))&&(v[r].sizes=B(v[r].sizes))}r===A.privacyLink&&(v.privacy_supported=!0)})),v);r[c.B5]={layouts:[b]}}var y=(0,s.Z)(e,"mediaTypes.".concat(c.pX)),_=(0,s.Z)(e,"mediaTypes.video.context");r.hb_source=y&&"adpod"===_?7:1,(e.mediaType===c.pX||y)&&r.ad_types.push(c.pX),(e.mediaType===c.pX||y&&"outstream"!==_)&&(r.require_asset_url=!0),e.params.video&&(r.video={},Object.keys(e.params.video).filter((function(e){return(0,l.q9)(k,e)})).forEach((function(a){switch(a){case"context":case"playback_method":var n=e.params.video[a];n=(0,i.isArray)(n)?n[0]:n,r.video[a]=O[a][n];break;case"frameworks":break;default:r.video[a]=e.params.video[a]}})),e.params.video.frameworks&&(0,i.isArray)(e.params.video.frameworks)&&(r.video_frameworks=e.params.video.frameworks)),y&&(r.video=r.video||{},Object.keys(y).filter((function(e){return(0,l.q9)(w,e)})).forEach((function(e){switch(e){case"minduration":case"maxduration":"number"!=typeof r.video[e]&&(r.video[e]=y[e]);break;case"skip":"boolean"!=typeof r.video.skippable&&(r.video.skippable=1===y[e]);break;case"skipafter":"number"!=typeof r.video.skipoffset&&(r.video.skippoffset=y[e]);break;case"playbackmethod":if("number"!=typeof r.video.playback_method){var a=y[e];(a=(0,i.isArray)(a)?a[0]:a)>=1&&a<=4&&(r.video.playback_method=a)}break;case"api":if(!r.video_frameworks&&(0,i.isArray)(y[e])){var n=y[e].map((function(e){var r=4===e?5:5===e?4:e;if(r>=1&&r<=5)return r})).filter((function(e){return e}));r.video_frameworks=n}break;case"startdelay":case"placement":var t="context";if("number"!=typeof r.video[t]){var s=y.placement,o=y.startdelay,d=function(e){if(!e)return;if(2===e)return"in-banner";if(e>2)return"outstream"}(s)||function(e){if(!e)return;if(0===e)return"pre_roll";if(-1===e)return"mid_roll";if(-2===e)return"post_roll"}(o);r.video[t]=O[t][d]}}}))),e.renderer&&(r.video=Object.assign({},r.video,{custom_renderer_present:!0})),e.params.frameworks&&(0,i.isArray)(e.params.frameworks)&&(r.banner_frameworks=e.params.frameworks);var h=(0,l.sE)(u.K.getAdUnits(),(function(r){return e.transactionId===r.transactionId}));return h&&h.mediaTypes&&h.mediaTypes.banner&&r.ad_types.push(c.Mk),0===r.ad_types.length&&delete r.ad_types,r}function B(e){var r=[],a={};if((0,i.isArray)(e)&&2===e.length&&!(0,i.isArray)(e[0]))a.width=parseInt(e[0],10),a.height=parseInt(e[1],10),r.push(a);else if("object"===(0,n.Z)(e))for(var t=0;t<e.length;t++){var s=e[t];(a={}).width=parseInt(s[0],10),a.height=parseInt(s[1],10),r.push(a)}return r}function Z(e){return!!e.params.user}function M(e){return!!parseInt(e.params.member,10)}function D(e){if(e.params)return!!e.params.app}function z(e){return e.params&&e.params.app?!!e.params.app.id:!!e.params.app}function X(e){return!!e.debug}function F(e){return e.mediaTypes&&e.mediaTypes.video&&e.mediaTypes.video.context===c.Oh}function K(e){var r=!1,a=e.params,n=e.params.video;return a.frameworks&&(0,i.isArray)(a.frameworks)&&(r=(0,l.q9)(e.params.frameworks,6)),!r&&n&&n.frameworks&&(0,i.isArray)(n.frameworks)&&(r=(0,l.q9)(e.params.video.frameworks,6)),r}function L(e,r,a){(0,i.isEmpty)(e.video)&&(e.video={}),e.video[r]=a}function V(e,r){!function(e){try{var r=document.getElementById(e).querySelectorAll("div[id^='google_ads']");r[0]&&r[0].style.setProperty("display","none")}catch(e){}}(e.adUnitCode),function(e){try{var r=document.getElementById(e).querySelectorAll("script[id^='sas_script']");r[0].nextSibling&&"iframe"===r[0].nextSibling.localName&&r[0].nextSibling.style.setProperty("display","none")}catch(e){}}(e.adUnitCode),e.renderer.push((function(){((0,i.getWindowFromDocument)(r)||window).ANOutstreamVideo.renderAd({tagId:e.adResponse.tag_id,sizes:[e.getSize().split("x")],targetId:e.adUnitCode,uuid:e.adResponse.uuid,adResponse:e.adResponse,rendererOptions:e.renderer.getConfig()},J.bind(null,e))}))}function J(e,r,a){e.renderer.handleVideoEvent({id:r,eventName:a})}function W(e){var r="";return Object.keys(e).forEach((function(a){(0,i.isStr)(e[a])?""!==e[a]?r+="".concat(a,"=").concat(e[a],","):r+="".concat(a,","):(0,i.isArray)(e[a])&&(""===e[a][0]?r+="".concat(a,","):e[a].forEach((function(e){r+="".concat(a,"=").concat(e,",")})))})),r=r.substring(0,r.length-1)}function H(e){var r={};(0,i.isStr)(e)&&""!==e&&e.split(/\s*(?:,)\s*/).forEach((function(e){if(-1!==e.indexOf("=")){var a=e.split("="),n=a[0],t=a[1];r.hasOwnProperty(n)?r[n].push(t):r[n]=[t]}else r.hasOwnProperty(e)||(r[e]=[""])}));return r}(0,p.dX)(q),window.owpbjs.installedModules.push("appnexusBidAdapter")},17673:function(e,r,a){a.d(r,{h:function(){return i}});var n=a(64358),t=a(20265);function i(e){var r;return(0,n.logWarn)("Privacy - checking purpose1Consent - ".concat(e)),null===e?!(!0===(null===(r=window.owpbjs)||void 0===r||null===(r=r.getConfig().consentManagement)||void 0===r||null===(r=r.gdpr)||void 0===r?void 0:r.defaultGdprScope)):null==e||!e.gdprApplies||!0===(0,t.Z)(e,"vendorData.purpose.consents.1")}}},function(e){e.O(0,[56866],(function(){return r=46319,e(e.s=r);var r}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[19017],{48309:function(e,t,o){var i=o(52021),n=o(5644),a=(0,o(15164).df)({bidderCode:"pubmatic"}),r=window.location.host,d="PROFILE_AUCTION_INFO_",s={},l={pageView:0,slotCnt:0,bidServed:0,impressionServed:0,slotLevelFrquencyDepth:{},viewedSlot:{},timestamp:{date:(new Date).getDate()},userAgentDetails:function(){if(navigator.userAgentData){var e=navigator.userAgentData,t=e.brands,o=e.mobile,i=e.platform;return{browser:t&&t[0]&&t[0].brand,isMobile:o,platform:i}}var n=navigator.userAgent;return{isMobile:!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(n),platform:n.platform,browser:p(n)}}(),lip:[]},c={};function p(e){var t="";return e.match(/chrome|chromium|crios/i)?t="chrome":e.match(/firefox|fxios/i)?t="firefox":e.match(/safari/i)?t="safari":e.match(/opr\//i)?t="opera":e.match(/edg/i)&&(t="edge"),t}function v(e){if(l){s=a.getDataFromLocalStorage(d+r);var t=window.owpbjs.adUnits.length+(null==s?l.slotCnt:0);if(null!==s){var o=function(e){return e!==(new Date).getDate()&&(a.removeDataFromLocalStorage(d+r),!0)}(JSON.parse(s).timestamp.date);o&&(l.viewedSlot=(i=new Date(JSON.parse(s).viewedSlot.timestamp),n=new Date((new Date).toJSON().slice(0,10)),Math.ceil(Math.abs(n-i)/864e5)<=10?JSON.parse(s).viewedSlot:{})),(l=o?l:JSON.parse(s)).pageView=l.pageView+1,l.slotCnt=l.slotCnt+t}else l.pageView=1,l.slotCnt=t;e.adUnits.forEach((function(e){var t,o,i;l.slotLevelFrquencyDepth[e.adUnitId]={slotCnt:((null===(t=l.slotLevelFrquencyDepth[e.adUnitId])||void 0===t?void 0:t.slotCnt)||0)+1,bidServed:((null===(o=l.slotLevelFrquencyDepth[e.adUnitId])||void 0===o?void 0:o.bidServed)||0)+0,impressionServed:((null===(i=l.slotLevelFrquencyDepth[e.adUnitId])||void 0===i?void 0:i.impressionServed)||0)+0},c[e.code]=e.adUnitId})),l.codeAdUnitMap=c}var i,n;return l}window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){window.googletag.pubads().addEventListener("impressionViewable",(function(e){var t;t=e.slot,(l=JSON.parse(a.getDataFromLocalStorage(d+r)))&&(l.viewedSlot.timestamp=l.viewedSlot.timestamp?l.viewedSlot.timestamp:(new Date).toJSON().slice(0,10),l.viewedSlot[l.codeAdUnitMap[t.getSlotId().getDomId()]]=(l.viewedSlot[l.codeAdUnitMap[t.getSlotId().getDomId()]]||0)+1,a.setDataInLocalStorage(d+r,JSON.stringify(l)))}))})),i.on(n.FP.AUCTION_INIT,(function(e){l=v(e)})),i.on(n.FP.AUCTION_END,(function(){var e;l&&(l.lip=(null===(e=window.owpbjs.adUnits[0])||void 0===e||null===(e=e.bids[0])||void 0===e?void 0:e.userId)&&Object.keys(window.owpbjs.adUnits[0].bids[0].userId),a.setDataInLocalStorage(d+r,JSON.stringify(l)))})),i.on(n.FP.BID_RESPONSE,(function(e){l=function(e){return l&&e.cpm>0&&(l.slotLevelFrquencyDepth[c[e.adUnitCode]].bidServed=l.slotLevelFrquencyDepth[c[e.adUnitCode]].bidServed+1,l.bidServed=l.bidServed+1),l}(e)})),i.on(n.FP.BID_WON,(function(e){l=function(e){return(l=JSON.parse(a.getDataFromLocalStorage(d+r)))&&(l.impressionServed=l.impressionServed+1,l.slotLevelFrquencyDepth[c[e.adUnitCode]].impressionServed=l.slotLevelFrquencyDepth[c[e.adUnitCode]].impressionServed+1,a.setDataInLocalStorage(d+r,JSON.stringify(l))),l}(e)})),window.owpbjs.installedModules.push("auctionUserDetails")}},function(e){e.O(0,[56866],(function(){return t=48309,e(e.s=t);var t}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[79073],{7713:function(e,n,o){var t=o(64358),r=o(48928),c=o(25102),i=o(92797),a="criteo",d=(0,o(15164).df)({gvlid:91,moduleName:a}),l="cto_bidid",u="cto_bundle",s=new Date(0).toString(),p=new Date((0,t.timestamp)()+33696e6).toString();function f(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=(0,t.parseUrl)(e,{noDecodeWholeURL:!0});return n?"".concat(o.hostname):"".concat(o.protocol,"://").concat(o.hostname).concat(o.port?":"+o.port:"","/")}function g(e){return d.getCookie(e)||d.getDataFromLocalStorage(e)}function b(e,n,o){e&&n&&(d.setDataInLocalStorage(e,n),m(e,n,p,o,!0))}function m(e,n,o,t,r){for(var c=t.split("."),i=0;i<c.length;++i){var a=c.slice(c.length-i-1,c.length).join(".");try{if(d.setCookie(e,n,o,null,"."+a),r){var l=d.getCookie(e);if(l&&l===n)break}}catch(e){}}}function h(e,n,o){var i=d.cookiesAreEnabled(),a=d.localStorageIsEnabled(),p=f((0,c.nH)().page),g=f(document.location.href,!0),h="undefined"!=typeof criteo_pubtag,v=function(e,n,o,t,r,c,i,a){return"https://gum.criteo.com/sid/json?origin=prebid"+"".concat(e?"&topUrl="+encodeURIComponent(e):"")+"".concat(n?"&domain="+encodeURIComponent(n):"")+"".concat(o?"&bundle="+encodeURIComponent(o):"")+"".concat(t?"&info="+encodeURIComponent(t):"")+"".concat(a?"&gdprString="+encodeURIComponent(a):"")+"".concat(r?"&cw=1":"")+"".concat(i?"&pbt=1":"")+"".concat(c?"&lsw=1":"")}(p,g,e.bundle,e.dnaBundle,i,a,h,n),I={success:function(e){var n,c=JSON.parse(e);(c.pixels&&c.pixels.forEach((function(e){return function(e,n){n.writeBundleInStorage&&n.bundlePropertyName&&n.storageKeyName?(0,r.h)(n.pixelUrl,{success:function(o){if(o){var t=JSON.parse(o);t&&t[n.bundlePropertyName]&&b(n.storageKeyName,t[n.bundlePropertyName],e)}}},void 0,{method:"GET",withCredentials:!0}):(0,t.triggerPixel)(n.pixelUrl)}(g,e)})),c.acwsUrl)?("string"==typeof c.acwsUrl?[c.acwsUrl]:c.acwsUrl).forEach((function(e){return(0,t.triggerPixel)(e)})):c.bundle&&b(u,c.bundle,g);if(c.bidId){b(l,c.bidId,g);var i={criteoId:c.bidId};o(i)}else m(n=l,"",s,g,!0),d.removeDataFromLocalStorage(n),o()},error:function(e){(0,t.logError)("criteoIdSystem: unable to sync user id",e),o()}};(0,r.h)(v,I,void 0,{method:"GET",contentType:"application/json",withCredentials:!0})}var v={name:a,gvlid:91,decode:function(e){return e},getId:function(e,n){var o=n&&"boolean"==typeof n.gdprApplies&&n.gdprApplies?n.consentString:void 0,t={bundle:g(u),dnaBundle:g("cto_dna_bundle"),bidId:g(l)};return{id:t.bidId?{criteoId:t.bidId}:void 0,callback:function(e){return h(t,o,e)}}}};(0,i.Bx)("userId",v),window.owpbjs.installedModules.push("criteoIdSystem")}},function(e){e.O(0,[56866],(function(){return n=7713,e(e.s=n);var n}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[36656],{43642:function(e,r,n){var t=n(4942),a=n(54284),o=n(18621),s=n(64358),i=n(20265),d=n(3193),c=n(92797),p=n(78653),u=n(51039),l=n(52021),_=n(5644),g=n(7563),v={env:"vp",gdfp_req:1,output:"vast",unviewed_position_start:1},f={};function T(e,r,n){if(!d.vc.getConfig("cache.url"))if((0,i.Z)(r,"".concat(n,".description_url")))(0,s.logError)("input cannnot contain description_url");else{var t=e&&e.vastUrl;if(t)return encodeURIComponent(t)}}function b(e,r,n){var a=e&&e.adserverTargeting||{},d={},c=r&&r.adUnit;if(c){var p=o.q0.getAllTargeting(c.code);d=p?p[c.code]:{}}var u=Object.assign({},{hb_uuid:e&&e.videoCacheKey},{hb_cache_id:e&&e.videoCacheKey},d,a);l.emit(_.FP.SET_TARGETING,(0,t.Z)({},c.code,u));var g=(0,i.Z)(r,"params.cust_params"),v={};window.PWT&&window.PWT.getCustomParamsForDFPVideo&&(v=window.PWT.getCustomParamsForDFPVideo(g,e));var f=Object.assign({},a,g,v);return encodeURIComponent((0,s.formatQS)(f))}d.vc.getConfig("brandCategoryTranslation.translationFile")&&(0,c.v5)("registerAdserver").before((function(e){e.call(this,"dfp")})),(0,a.W)("dfp",{buildVideoUrl:function(e){if(e.params||e.url){var r=e.adUnit,n=e.bid||o.q0.getWinningBids(r.code)[0],t={};if(e.url&&(t=(0,s.parseUrl)(e.url,{noDecodeWholeURL:!0}),(0,s.isEmpty)(e.params)))return function(e,r,n){var t=T(r,e,"search");t&&(e.search.description_url=t);return e.search.cust_params=b(r,n,e.search.cust_params),(0,s.buildUrl)(e)}(t,n,e);var a={correlator:Date.now(),sz:(0,s.parseSizesInput)((0,i.Z)(r,"mediaTypes.video.playerSize")).join("|"),url:encodeURIComponent(location.href)},d=t.search,c=d&&d.sz;c&&(a.sz=c+"|"+a.sz);var p=b(n,e,d&&d.cust_params),l=Object.assign({},v,t.search,a,e.params,{cust_params:p}),_=T(n,e,"params");_&&(l.description_url=_);var f=u.rp.getConsentData();f&&("boolean"==typeof f.gdprApplies&&(l.gdpr=Number(f.gdprApplies)),f.consentString&&(l.gdpr_consent=f.consentString),f.addtlConsent&&(l.addtl_consent=f.addtlConsent));var A=u.nX.getConsentData();A&&(l.us_privacy=A);u.TJ.getConsentData();if(!l.ppid){var C=(0,g.G)();null!=C&&(l.ppid=C)}return(0,s.buildUrl)(Object.assign({protocol:"https",host:"securepubads.g.doubleclick.net",pathname:"/gampad/ads"},t,{search:l}))}(0,s.logError)("A params object or a url is required to use owpbjs.adServers.dfp.buildVideoUrl")},buildAdpodVideoUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.code,n=e.params,a=e.callback;if(n&&a){var o={correlator:Date.now(),sz:function(e){var r=p.K.getAdUnits().filter((function(r){return r.code===e})),n=(0,i.Z)(r[0],"mediaTypes.video.playerSize");return(0,s.parseSizesInput)(n).join("|")}(r),url:encodeURIComponent(location.href)};f.getTargeting({codes:[r],callback:function(e,i){var d;if(e)return void a(e,null);var c=(d={},(0,t.Z)(d,f.TARGETING_KEY_PB_CAT_DUR,void 0),(0,t.Z)(d,f.TARGETING_KEY_CACHE_ID,void 0),d),p={};i[r]&&(p=i[r].reduce((function(e,r){return Object.keys(r)[0]===f.TARGETING_KEY_PB_CAT_DUR?e[f.TARGETING_KEY_PB_CAT_DUR]=void 0!==e[f.TARGETING_KEY_PB_CAT_DUR]?e[f.TARGETING_KEY_PB_CAT_DUR]+","+r[f.TARGETING_KEY_PB_CAT_DUR]:r[f.TARGETING_KEY_PB_CAT_DUR]:Object.keys(r)[0]===f.TARGETING_KEY_CACHE_ID&&(e[f.TARGETING_KEY_CACHE_ID]=r[f.TARGETING_KEY_CACHE_ID]),e}),c));var l=encodeURIComponent((0,s.formatQS)(p)),_=Object.assign({},v,o,n,{cust_params:l}),g=u.rp.getConsentData();g&&("boolean"==typeof g.gdprApplies&&(_.gdpr=Number(g.gdprApplies)),g.consentString&&(_.gdpr_consent=g.consentString),g.addtlConsent&&(_.addtl_consent=g.addtlConsent));var T=u.nX.getConsentData();T&&(_.us_privacy=T);var b=(0,s.buildUrl)({protocol:"https",host:"securepubads.g.doubleclick.net",pathname:"/gampad/ads",search:_});a(null,b)}})}else(0,s.logError)("A params object and a callback is required to use pbjs.adServers.dfp.buildAdpodVideoUrl")},getAdpodTargeting:function(e){return f.getTargeting(e)}}),(0,c.Bx)("adpod",f),window.owpbjs.installedModules.push("dfpAdServerVideo")},54284:function(e,r,n){n.d(r,{W:function(){return s}});var t=n(78640),a=n(64358),o=(0,t.R)();function s(e,r){o.adServers=o.adServers||{},o.adServers[e]=o.adServers[e]||{},Object.keys(r).forEach((function(n){o.adServers[e][n]?(0,a.logWarn)("Attempting to add an already registered function property ".concat(n," for AdServer ").concat(e,".")):o.adServers[e][n]=r[n]}))}},7563:function(e,r,n){n.d(r,{G:function(){return t}});var t=(0,n(92797).z3)("sync",(function(){}))}},function(e){e.O(0,[56866],(function(){return r=43642,e(e.s=r);var r}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[88806],{19749:function(){window.owpbjs.installedModules.push("enrichmentFpdModule")}},function(n){n.O(0,[56866],(function(){return s=19749,n(n.s=s);var s}));n.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[58744],{96588:function(t,e,o){var r=o(64358),a=o(48928),n=o(15164);owpbjs.detectLocation=function(t,e){try{(0,a.O)(500)(t,{success:function(t){try{var o=JSON.parse(t);e(o)}catch(t){(0,r.logInfo)("Location data is expected to be an object"),e({error:t})}},error:function(t){e({error:t})}},null,{contentType:"application/x-www-form-urlencoded",method:"GET"})}catch(t){e({error:t})}};var c=(0,n.df)({bidderCode:"pubmatic"});owpbjs.getDataFromLocalStorage=function(t,e){try{var o=c.getDataFromLocalStorage(t);if(o){var r=JSON.parse(o).createdDate,a=(new Date).valueOf();return Math.abs(a-r)>e?void c.removeDataFromLocalStorage(t):o}return}catch(t){return}},owpbjs.setAndStringifyToLocalStorage=function(t,e){try{e.createdDate=(new Date).valueOf(),c.setDataInLocalStorage(t,JSON.stringify(e))}catch(t){(0,r.logError)("Error in setting localstorage ",t)}},window.owpbjs.installedModules.push("geoDetection")}},function(t){t.O(0,[56866],(function(){return e=96588,t(t.s=e);var e}));t.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[65296],{96787:function(t,e,o){var n=o(64358),r=o(20265),a=o(3193),d=o(92797),u=o(34614),i=void 0,c={},s=!1,f=function(t){return(a.vc.getConfig("gptPreAuction")||{}).mcmEnabled?t.replace(/(^\/\d*),\d*\//,"$1/"):t},p=function(t,e){!function(t){var e=c.customGptSlotMatching;if((0,n.isGptPubadsDefined)()){var o=t.reduce((function(t,e){return t[e.code]=e,t}),{});window.googletag.pubads().getSlots().forEach((function(t){var r=(0,u.sE)(Object.keys(o),e?e(t):(0,n.isAdUnitCodeMatchingSlot)(t));if(r){var a=o[r];a.ortb2Imp=a.ortb2Imp||{},a.ortb2Imp.ext=a.ortb2Imp.ext||{},a.ortb2Imp.ext.data=a.ortb2Imp.ext.data||{};var d=a.ortb2Imp.ext.data;d.adserver=d.adserver||{},d.adserver.name="gam",d.adserver.adslot=f(t.getAdUnitPath())}}))}}(e);var o=c,a=o.useDefaultPreAuction,d=o.customPreAuction;e.forEach((function(t){t.ortb2Imp=t.ortb2Imp||{},t.ortb2Imp.ext=t.ortb2Imp.ext||{},t.ortb2Imp.ext.data=t.ortb2Imp.ext.data||{};var e=t.ortb2Imp.ext;if(d||a){var o,u=(0,r.Z)(e,"data.adserver.adslot");d?o=d(t,u):a&&(o=function(t,e){var o=t.ortb2Imp.ext.data;if(o.pbadslot)return o.pbadslot;if((0,n.isGptPubadsDefined)()){var r=window.googletag.pubads().getSlots().filter((function(t){return t.getAdUnitPath()===e}));if(0!==r.length)return 1===r.length?e:"".concat(e,"#").concat(t.code)}}(t,u)),o&&(e.gpid=e.data.pbadslot=o)}else{var i=function(t){var e=t.ortb2Imp.ext.data,o=c.customPbAdSlot;if(!e.pbadslot)if(o)e.pbadslot=o(t.code,(0,r.Z)(e,"adserver.adslot"));else{try{var n=document.getElementById(t.code);if(n.dataset.adslotid)return void(e.pbadslot=n.dataset.adslotid)}catch(t){}if(!(0,r.Z)(e,"adserver.adslot"))return e.pbadslot=t.code,!0;e.pbadslot=e.adserver.adslot}}(t);e.gpid||i||(e.gpid=e.data.pbadslot)}}));for(var s=arguments.length,p=new Array(s>2?s-2:0),l=2;l<s;l++)p[l-2]=arguments[l];return t.call.apply(t,[i,e].concat(p))},l=function(t){(c=(0,n.pick)(t,["enabled",function(t){return!1!==t},"customGptSlotMatching",function(t){return"function"==typeof t&&t},"customPbAdSlot",function(t){return"function"==typeof t&&t},"customPreAuction",function(t){return"function"==typeof t&&t},"useDefaultPreAuction",function(t){return!0===t}])).enabled?s||((0,d.v5)("makeBidRequests").before(p),s=!0):((0,n.logInfo)("".concat("GPT Pre-Auction",": Turning off module")),c={},(0,d.v5)("makeBidRequests").getHooks({hook:p}).remove(),s=!1)};a.vc.getConfig("gptPreAuction",(function(t){return l(t.gptPreAuction)})),l({}),window.owpbjs.installedModules.push("gptPreAuction")}},function(t){t.O(0,[56866],(function(){return e=96787,t(t.s=e);var e}));t.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[61618],{10272:function(e,t,r){var n=r(4942),o=r(15671),i=r(43144),a=r(20265),s=r(64358),c=r(96475),u=r(48928),p=r(92797),d=r(25102),l=r(15164),g=r(51039);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.add(e)}function v(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}var b=30,y="id5id",D="".concat(y,"_privacy"),O="html5",S="User ID - ID5 submodule: ",w=["pbjs-id5id","id5id.1st","id5id"],I=(0,l.df)({gvlid:131,moduleName:"id5Id"}),C={name:"id5Id",gvlid:131,decode:function(e,t){var r=0;if(e&&"string"==typeof e.universal_uid){var n={id5id:{uid:e.universal_uid,ext:{linkType:r=e.link_type||r}}};switch((0,a.Z)(e,"ab_testing.result")){case"control":(0,s.logInfo)(S+"A/B Testing - user is in the Control Group: ID5 ID is NOT exposed"),(0,c.N)(n,"id5id.ext.abTestingControlGroup",!0);break;case"error":(0,s.logError)(S+"A/B Testing ERROR! controlGroupPct must be a number >= 0 and <= 1");break;case"normal":(0,s.logInfo)(S+"A/B Testing - user is NOT in the Control Group"),(0,c.N)(n,"id5id.ext.abTestingControlGroup",!1)}return(0,s.logInfo)(S+"Decoded ID",n),n}},getId:function(e,t,r){if(L(e)){if(U(t)){return{callback:function(n){new N(e,t,r,g.nX.getConsentData()).execute().then((function(e){n(e)})).catch((function(e){(0,s.logError)(S+"getId fetch encountered an error",e),n()}))}}}(0,s.logInfo)(S+"Skipping ID5 local storage write because no consent given.")}},extendId:function(e,t,r){return L(e),U(t)?(B(e&&e.params&&e.params.partner||0),(0,s.logInfo)(S+"using cached ID",r),r):((0,s.logInfo)(S+"No consent given for ID5 local storage writing, skipping nb increment."),r)}},j=new WeakSet,P=new WeakSet,E=new WeakSet,k=new WeakSet,T=new WeakSet,N=function(){function e(t,r,n,i){(0,o.Z)(this,e),m(this,T),m(this,k),m(this,E),m(this,P),m(this,j),this.submoduleConfig=t,this.gdprConsentData=r,this.cacheIdObj=n,this.usPrivacyData=i}return(0,i.Z)(e,[{key:"execute",value:function(){var e=this;return v(this,P,x).call(this,this.submoduleConfig).then((function(t){return v(e,E,G).call(e,t.extensionsCall).then((function(r){return v(e,k,J).call(e,t.fetchCall,r)}))})).then((function(t){try{Z(e.submoduleConfig.params.partner,0),t.privacy&&F(D,JSON.stringify(t.privacy),b)}catch(e){(0,s.logError)(S+e)}return t}))}}]),e}();function _(e,t,r){return new Promise((function(n,o){(0,u.h)(e,{success:function(e){n(e)},error:function(e){o(e)}},t,r)}))}function x(e){var t=e.params.configUrl||"https://id5-sync.com/api/config/prebid";return v(this,j,_).call(this,t,JSON.stringify(e),{method:"POST"}).then((function(e){var t=JSON.parse(e);return(0,s.logInfo)(S+"config response received from the server",t),t}))}function G(e){if(void 0===e)return Promise.resolve(void 0);var t=e.url,r=e.method||"GET",n="GET"===r?void 0:JSON.stringify(e.body||{});return v(this,j,_).call(this,t,n,{method:r}).then((function(e){var t=JSON.parse(e);return(0,s.logInfo)(S+"extensions response received from the server",t),t}))}function J(e,t){var r=e.url,n=e.overrides||{},o=h(h(h({},v(this,T,A).call(this)),n),{},{extensions:t});return v(this,j,_).call(this,r,JSON.stringify(o),{method:"POST",withCredentials:!0}).then((function(e){var t=JSON.parse(e);return(0,s.logInfo)(S+"fetch response received from the server",t),t}))}function A(){var e,t=this.submoduleConfig.params,r=this.gdprConsentData&&"boolean"==typeof this.gdprConsentData.gdprApplies&&this.gdprConsentData.gdprApplies?1:0,n=(0,d.nH)(),o=this.cacheIdObj&&this.cacheIdObj.signature?this.cacheIdObj.signature:(w.forEach((function(t){I.getCookie(t)&&(e=(0,s.safeJSONParse)(I.getCookie(t))||e)})),e&&e.signature||""),i=B(t.partner),a={partner:t.partner,gdpr:r,nbPage:i,o:"pbjs",tml:n.topmostLocation,ref:n.ref,cu:n.canonicalUrl,top:n.reachedTop?1:0,u:n.stack[0]||window.location.href,v:"7.39.0",storage:this.submoduleConfig.storage};!r||void 0===this.gdprConsentData.consentString||(0,s.isEmpty)(this.gdprConsentData.consentString)||(0,s.isEmptyStr)(this.gdprConsentData.consentString)||(a.gdpr_consent=this.gdprConsentData.consentString),void 0===this.usPrivacyData||(0,s.isEmpty)(this.usPrivacyData)||(0,s.isEmptyStr)(this.usPrivacyData)||(a.us_privacy=this.usPrivacyData),void 0===o||(0,s.isEmptyStr)(o)||(a.s=o),void 0===t.pd||(0,s.isEmptyStr)(t.pd)||(a.pd=t.pd),void 0===t.provider||(0,s.isEmptyStr)(t.provider)||(a.provider=t.provider);var c=t.abTesting||{enabled:!1};return c.enabled&&(a.ab_testing={enabled:!0,control_group_pct:c.controlGroupPct}),a}function L(e){return e&&e.params&&e.params.partner&&"number"==typeof e.params.partner?e.storage&&e.storage.type&&e.storage.name?(e.storage.type!==O&&(0,s.logWarn)(S+"storage type recommended to be '".concat(O,"'. In a future release this may become a strict requirement")),e.storage.name!==y&&(0,s.logWarn)(S+"storage name recommended to be '".concat(y,"'. In a future release this may become a strict requirement")),!0):((0,s.logError)(S+"storage required to be set"),!1):((0,s.logError)(S+"partner required to be defined as a number"),!1)}function W(e){return"".concat(y,"_").concat(e,"_nb")}function Z(e,t){F(W(e),t,b)}function q(e){var t=function(e){var t=I.getDataFromLocalStorage("".concat(e,"_exp"));if(""===t)return I.getDataFromLocalStorage(e);if(t&&new Date(t).getTime()-Date.now()>0)return I.getDataFromLocalStorage(e);return I.removeDataFromLocalStorage(e),null}(W(e));return t?parseInt(t):0}function B(e){var t=q(e)+1;return Z(e,t),t}function F(e,t,r){I.setDataInLocalStorage("".concat(e,"_exp"),function(e){return new Date(Date.now()+864e5*e).toUTCString()}(r)),I.setDataInLocalStorage("".concat(e),t)}function U(e){var t=e&&"boolean"==typeof e.gdprApplies&&e.gdprApplies,r=(0,a.Z)(e,"vendorData.purpose.consents.1"),n=(0,a.Z)(e,"vendorData.vendor.consents.".concat(131..toString()));return!!(!t||r&&n)}(0,p.Bx)("userId",C),window.owpbjs.installedModules.push("id5IdSystem")}},function(e){e.O(0,[56866],(function(){return t=10272,e(e.s=t);var t}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[79114],{45407:function(e,n,t){var i=t(64358),o=t(20265),r=t(48928),s=t(92797),d=(0,t(15164).df)(),a={name:"identityLink",gvlid:97,decode:function(e){return{idl_env:e}},getId:function(e,n){var t=e&&e.params||{};if(t&&"string"==typeof t.pid){var r=n&&"boolean"==typeof n.gdprApplies&&n.gdprApplies?1:0,s=r?n.consentString:"",d=2===o.Z(n,"vendorData.tcfPolicyVersion");if(!r||s&&""!==s){var a="https://api.rlcdn.com/api/identity/envelope?pid=".concat(t.pid).concat(r?(d?"&ct=4&cv=":"&ct=1&cv=")+s:"");return{callback:function(e){window.ats?(i.logInfo("identityLink: ATS exists!"),window.ats.retrieveEnvelope((function(n){n?(i.logInfo("identityLink: An envelope can be retrieved from ATS!"),l(!0),e(JSON.parse(n).envelope)):c(a,e,t)}))):c(a,e,t)}}}i.logInfo("identityLink: Consent string is required to call envelope API.")}else i.logError("identityLink: requires partner id to be defined")}};function c(e,n,t){var o,s={success:function(e){var t;if(e)try{t=JSON.parse(e)}catch(e){i.logInfo(e)}n(t&&t.envelope?t.envelope:"")},error:function(e){i.logInfo("identityLink: identityLink: ID fetch encountered an error",e),n()}};t.notUse3P||d.getCookie("_lr_retry_request")||((o=new Date).setTime(o.getTime()+36e5),d.setCookie("_lr_retry_request","true",o.toUTCString()),i.logInfo("identityLink: A 3P retrieval is attempted!"),l(!1),(0,r.h)(e,s,void 0,{method:"GET",withCredentials:!0}))}function l(e){var n=new Date;n.setTime(n.getTime()+2592e6),d.setCookie("_lr_env_src_ats",e,n.toUTCString())}(0,s.Bx)("userId",a),window.owpbjs.installedModules.push("identityLinkIdSystem")}},function(e){e.O(0,[56866],(function(){return n=45407,e(e.s=n);var n}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[98656],{16638:function(e,n,t){var r=t(64358),i=t(20265),o=t(3193),a=t(78653),u=t(90154),f=t(52021),c=t(5644);function s(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return l(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function l(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var d=c.TD,v=d.CACHE_ID,p=d.UUID,y=c.FP,m=y.BID_WON,h=y.AUCTION_END,g=c.UE.fe;o.vc.setDefaults({instreamTracking:(0,r.deepClone)({enabled:!1,maxWindow:6e4,pollingFreq:500})});var w=/video|fetch|xmlhttprequest|other/;f.on(h,(function(e){var n=e.adUnits,t=e.bidsReceived,c=e.bidderRequests,l=o.vc.getConfig("instreamTracking")||{};if(!l.enabled||!window.performance||!window.performance.getEntriesByType)return!1;var d=t.filter((function(e){var n=(0,r.getBidRequest)(e.requestId,c);return n&&(0,i.Z)(n,"mediaTypes.video.context")===u.LD&&e.videoCacheKey}));if(!d.length)return!1;var y={};n.forEach((function(e){y[e.code]||(0,i.Z)(e,"mediaTypes.video.context")!==u.LD||(y[e.code]=!0)}));var h=Object.keys(y).length,b=Date.now(),T=l.maxWindow,x=l.pollingFreq,C=l.urlPattern,D=0,O=0;return setTimeout((function e(){var n,t=window.performance.getEntriesByType("resource").splice(O),r=s(t);try{var i=function(){var e=n.value,t=e.name;if(!w.test(e.initiatorType))return 1;d.forEach((function(e){var n=!(-1!==t.indexOf(v)||-1!==t.indexOf(p))&&-1!==t.indexOf(e.videoCacheKey);C&&C instanceof RegExp&&!C.test(t)||n&&e.status!==g&&(D++,a.K.addWinningBid(e),f.emit(m,e))}))};for(r.s();!(n=r.n()).done;)i()}catch(e){r.e(e)}finally{r.f()}O+=t.length,Date.now()-b<T&&D<h&&setTimeout(e,x)}),x),!0})),window.owpbjs.installedModules.push("instreamTracking")}},function(e){e.O(0,[56866],(function(){return n=16638,e(e.s=n);var n}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[19299],{80057:function(e,t,a){var o,r=a(64358),i=a(48928),n=a(92797),s=a(15164),c=a(51039),d="panoramaId",l="".concat(d,"_expiry"),p="_cc_id",v="lotamePanoramaId",m=(0,s.df)({gvlid:95,moduleName:v});function g(e){var t=null;if(m.cookiesAreEnabled()&&(t=m.getCookie(e,void 0)),m.hasLocalStorage()&&null===t){var a=m.getDataFromLocalStorage("".concat(e,"_exp"),void 0);(""===a||null===a||a&&new Date(parseInt(a,10)).getTime()-Date.now()>0)&&(t=m.getDataFromLocalStorage(e,void 0))}return t}function u(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,r.timestamp)()+6048e5;if(e&&t){var i=new Date(a).toUTCString();m.cookiesAreEnabled()&&m.setCookie(e,t,i,"Lax",o,void 0),m.hasLocalStorage()&&(m.setDataInLocalStorage("".concat(e,"_exp"),String(a),void 0),m.setDataInLocalStorage(e,t,void 0))}}function f(e){if(e){if(m.cookiesAreEnabled()){var t=new Date(0).toUTCString();m.setCookie(e,"",t,"Lax",o,void 0)}m.hasLocalStorage()&&m.removeDataFromLocalStorage(e,void 0)}}var S={name:v,gvlid:95,decode:function(e,t){return(0,r.isStr)(e)?{lotamePanoramaId:e}:void 0},getId:function(e,t,a){o=S.findRootDomain();var n=(e&&e.params||{}).clientId,s=!(0,r.isEmpty)(n),v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t={data:g(d),expiryTimestampMs:0,clientExpiryTimestampMs:0};try{if(e){var a=g("".concat(l,"_").concat(e));(0,r.isStr)(a)&&(t.clientExpiryTimestampMs=parseInt(a,10))}var o=g(l);(0,r.isStr)(o)&&(t.expiryTimestampMs=parseInt(o,10))}catch(e){(0,r.logError)(e)}return t}(n),_=Date.now()>v.expiryTimestampMs;if(s&&Date.now()<v.clientExpiryTimestampMs)return{id:void 0,reason:"NO_CLIENT_CONSENT"};if(!_)return{id:v.data};var h,y,x=(m.cookiesAreEnabled()&&(h=m.getCookie(p,void 0)),!h&&m.hasLocalStorage()&&(h=m.getDataFromLocalStorage(p,void 0)),h),E=c.nX.getConsentData();void 0===E||(0,r.isEmpty)(E)||(0,r.isEmptyStr)(E)||(y=E),y||(y=g("us_privacy"));return{callback:function(e){var a,c={};x&&(c.fp=x),t&&((0,r.isBoolean)(t.gdprApplies)&&(c.gdpr_applies=t.gdprApplies),a=t.consentString),a||(a=g("eupubconsent-v2")),a||(a=g("euconsent-v2")),a&&(c.gdpr_consent=a),y&&(c.us_privacy=y),s&&(c.c=n);var v=(0,r.buildUrl)({protocol:"https",host:navigator.userAgent&&-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome")?"c.ltmsphrcl.net":"id.crwdcntrl.net",pathname:"/id",search:(0,r.isEmpty)(c)?void 0:c});(0,i.h)(v,(function(t){var a;if(t)try{var i=JSON.parse(t),c=!((0,r.isArray)(i.errors)&&-1!==i.errors.indexOf(111));if(s)if(c)f("".concat(l,"_").concat(n));else if((0,r.isStr)(i.no_consent)&&"CLIENT"===i.no_consent)return u("".concat(l,"_").concat(n),i.expiry_ts,i.expiry_ts),void e();u(l,i.expiry_ts,i.expiry_ts),(0,r.isStr)(i.profile_id)?(c&&function(e){if(m.cookiesAreEnabled()){var t=new Date((0,r.timestamp)()+23328e6).toUTCString();m.setCookie(p,e,t,"Lax",o,void 0)}m.hasLocalStorage()&&m.setDataInLocalStorage(p,e,void 0)}(i.profile_id),(0,r.isStr)(i.core_id)?(u(d,i.core_id,i.expiry_ts),a=i.core_id):f(d)):(c&&f(p),f(d))}catch(e){(0,r.logError)(e)}e(a)}),void 0,{method:"GET",withCredentials:!0})}}}};(0,n.Bx)("userId",S),window.owpbjs.installedModules.push("lotamePanoramaIdSystem")}},function(e){e.O(0,[56866],(function(){return t=80057,e(e.s=t);var t}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[8743],{67665:function(n,o,t){var i=t(3193),u=t(52021),s=t(5644),e=t(64358),b=t(55730),c="https://pm-harshad-mane.github.io/pbjs-debug-ui/bundle.js",p=3e3,d="_pbjsDebugUI",a="_auctions",f="_init",j="_end",w="_bidsWon",r="_debug",I="_targeting",_="_tcf2Enforcement",g=!1,O=!1;function P(){!1===O&&(O=!0,(0,b.B)(c,"pbjs-debug-ui"))}function h(){!1===(0,e.isPlainObject)(owpbjs[d])&&(owpbjs[d]={})}function l(){!1===(0,e.isArray)(owpbjs[d][a])&&(owpbjs[d][a]=[])}function E(n){var o=owpbjs[d][a].find((function(o){return o.auctionId===n}));return!1===(0,e.isPlainObject)(o)&&(o={auctionId:n},owpbjs[d][a].push(o)),o}function C(n){h(),l(),E(n.auctionId)[f]=n}function N(n){h(),l(),n.auctionStart=n.timestamp,E(n.auctionId)[j]=n}function T(n){h(),!1===(0,e.isArray)(owpbjs[d][r])&&(owpbjs[d][r]=[]),function(n){owpbjs[d][r].push(n)}(n)}function A(n){h(),!1===(0,e.isPlainObject)(owpbjs[d][_])&&(owpbjs[d][_]={}),function(n){owpbjs[d][_]=n}(n)}function F(n){h(),l(),owpbjs[d][a][owpbjs[d][a].length-1][I]=n}function m(n){h(),l();var o=E(n.auctionId);(0,e.isPlainObject)(o[w])||(o[w]={}),o[w][n.adId]=n}function v(n){!0!==n||g||(u.on(s.FP.AUCTION_INIT,C),u.on(s.FP.AUCTION_END,N),u.on(s.FP.AUCTION_DEBUG,T),u.on(s.FP.SET_TARGETING,F),u.on(s.FP.TCF2_ENFORCEMENT,A),u.on(s.FP.BID_WON,m),g=!0,window.PBJS_NAMESPACE="owpbjs",h(),l(),window.document.addEventListener("DOMContentLoaded",(function(){P()})),setTimeout((function(){P()}),p))}i.vc.getConfig("debug",(function(n){return v(n.debug)})),window.owpbjs.installedModules.push("prebidJSDebugUI")}},function(n){n.O(0,[56866],(function(){return o=67665,n(n.s=o);var o}));n.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[29060],{9171:function(e,o,r){var n=r(71002),t=r(44925),i=r(4942),a=r(64358),c=r(20265),u=r(96475),l=r(78640),d=r(3193),s=r(48928),f=r(52021),p=r(5644),m=r(92797),h=r(34614),v=r(25102),g=r(55975),y=r(78653),b=r(26372),O=r(99128),j=r(16414),C=r(36066),F=["modelGroups"];function k(e,o){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?k(Object(r),!0).forEach((function(o){(0,i.Z)(e,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))}))}return e}var x,R="Price Floors",P=(0,s.O)(1e4),T=["gptSlot","adUnitCode","size","domain","mediaType"],M=!1,w=!1,Z={},D=[],U={};function E(e,o){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).index,n=void 0===r?y.K.index:r;return(null==e?void 0:e.adUnitCode)||n.getAdUnit(o).code}var I={size:function(e,o){return(0,a.parseGPTSingleSizeArray)(o.size)||"*"},mediaType:function(e,o){return o.mediaType||"banner"},gptSlot:function(e,o){return function(e){var o=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).index,r=(void 0===o?y.K.index:o).getAdUnit({transactionId:e});return"gam"===(0,c.Z)(r,"ortb2Imp.ext.data.adserver.name")&&r.ortb2Imp.ext.data.adserver.adslot}((e||o).transactionId)||(0,a.getGptSlotInfoForAdUnitCode)(E(e,o)).gptSlot},domain:function(){return null==x&&(x=(0,a.parseUrl)((0,v.nH)().topmostLocation,{noDecodeWholeURL:!0}).hostname),x},adUnitCode:function(e,o){return E(e,o)}};function A(e,o){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=function(e,o,r){return e.reduce((function(e,n){var t=I[n](o,r)||"*";return e.push("*"===t?["*"]:[t.toLowerCase(),"*"]),e}),[])}((0,c.Z)(e,"schema.fields")||[],o,r);if(!n.length)return{matchingFloor:e.default};var t=n.map((function(e){return e[0]})).join("-"),i=(0,c.Z)(e,"matchingInputs.".concat(t));if(i)return S({},i);var a,l,d=(a=n,l=(0,c.Z)(e,"schema.delimiter")||"|",a.reduce((function(e,o){var r=[];return e.map((function(e){o.map((function(o){r.push(e+l+o)}))})),r})).sort((function(e,o){return e.split("*").length-o.split("*").length}))),s=(0,h.sE)(d,(function(o){return e.values.hasOwnProperty(o)})),f={floorMin:e.floorMin||0,floorRuleValue:isNaN(e.values[s])?e.default:e.values[s],matchingData:d[0],matchingRule:s};return"number"==typeof(0,c.Z)(o,"ortb2Imp.ext.prebid.floorMin")&&(f.floorMin=o.ortb2Imp.ext.prebid.floorMin),f.matchingFloor=Math.max(f.floorMin,f.floorRuleValue),(0,u.N)(e,"matchingInputs.".concat(t),S({},f)),f}function B(e,o,r){return parseFloat((0,C.O)(e,S(S({},o),{},{cpm:e}),r))}var W={banner:function(e){return(0,c.Z)(e,"mediaTypes.banner.sizes")||[]},video:function(e){return(0,c.Z)(e,"mediaTypes.video.playerSize")||[]},native:function(e){return(0,c.Z)(e,"mediaTypes.native.image.sizes")?[(0,c.Z)(e,"mediaTypes.native.image.sizes")]:[]}};function z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{currency:"USD",mediaType:"*",size:"*"},o=this,r=U[o.auctionId];if(!r||r.skipped)return{};e=function(e,o){var r=Object.keys(e.mediaTypes||{});return"*"===o.mediaType&&1===r.length&&(o.mediaType=r[0]),"*"===o.size&&-1!==r.indexOf(o.mediaType)&&W[o.mediaType]&&1===W[o.mediaType](e).length&&(o.size=W[o.mediaType](e)[0]),o}(o,e);var n,t,i,c,u,d=A(r.data,S({},o),{mediaType:e.mediaType,size:e.size}),s=e.currency||r.data.currency;if(d.matchingFloor&&s!==r.data.currency)try{d.matchingFloor=(0,l.R)().convertCurrency(d.matchingFloor,r.data.currency,s)}catch(e){(0,a.logWarn)("".concat(R,": Unable to get currency conversion for getFloor for bidder ").concat(o.bidder,". You must have currency module enabled with defaultRates in your currency config")),s=r.data.currency}if(r.enforcement.bidAdjustment&&d.matchingFloor){var f=g.S.get(o.bidder,"inverseBidAdjustment");if(f)d.matchingFloor=f(d.matchingFloor,o);else{var p=B(d.matchingFloor,null,o);d.matchingFloor=p?(n=d.matchingFloor,t=p,i=Math.pow(10,10),n*i/(t*i)*(n*i)/i):d.matchingFloor}}return d.matchingFloor?{floor:(c=d.matchingFloor,u=4,Math.ceil((parseFloat(c)*Math.pow(10,u)).toFixed(1))/Math.pow(10,u)),currency:s}:{}}function q(e,o){var r=(0,a.deepClone)(e);return r.schema.delimiter=e.schema.delimiter||"|",r.values=function(e,o){var r=e.schema.fields,n=e.schema.delimiter,t=o&&-1===r.indexOf("adUnitCode")&&r.unshift("adUnitCode");return Object.keys(e.values).reduce((function(r,i){return r[(t?"".concat(o).concat(n).concat(i):i).toLowerCase()]=e.values[i],r}),{})}(r,o),r.currency=r.currency||"USD",r}function N(e,o){var r=(0,a.deepClone)(Z);if(2===(0,c.Z)(r,"data.floorsSchemaVersion")){var n=r.data,i=n.modelGroups,u=(0,t.Z)(n,F);r.data=Object.assign(u,function(e,o){for(var r=Math.floor(Math.random()*o+1),n=0;n<e.length;n++)if((r-=e[n].modelWeight)<=0)return e[n]}(i,u.modelWeightSum))}var l=0===Object.keys((0,c.Z)(r,"data.values")||{}).length;if(r.data=l?function(e){return e.reduce((function(e,o){if(H(o.floors))if(e.values){var r=q(o.floors,o.code).values;Object.assign(e.values,r)}else(e=q(o.floors,o.code)).location="adUnit";else null!=o.floors&&(0,a.logWarn)("adUnit '".concat(o.code,"' provides an invalid `floor` definition, it will be ignored for floor calculations"),o);return e}),{})}(e):q(r.data),0===Object.keys((0,c.Z)(r,"data.values")||{}).length)r.skipped=!0;else{var d=(0,a.getParameterByName)("pbjs_skipRate")||r.skipRate,s=100*Math.random()<parseFloat(d);r.skipped=s}return r.hasOwnProperty("floorMin")&&(r.data.floorMin=r.floorMin),function(e,o,r){e.forEach((function(e){e.bids.forEach((function(e){o.skipped?delete e.getFloor:e.getFloor=z,e.auctionId=r,e.floorData={skipped:o.skipped,skipRate:o.skipRate,floorMin:o.floorMin,modelVersion:(0,c.Z)(o,"data.modelVersion"),modelWeight:(0,c.Z)(o,"data.modelWeight"),modelTimestamp:(0,c.Z)(o,"data.modelTimestamp"),location:(0,c.Z)(o,"data.location","noData"),floorProvider:o.floorProvider,fetchStatus:Z.fetchStatus}}))}))}(e,r,o),r}function V(e){e.hasExited||(D=D.filter((function(o){return o.timer!==e.timer})),e.reqBidsConfigObj.auctionId=e.reqBidsConfigObj.auctionId||(0,a.generateUUID)(),U[e.reqBidsConfigObj.auctionId]=N(e.reqBidsConfigObj.adUnits||(0,l.R)().adUnits,e.reqBidsConfigObj.auctionId),e.nextFn.apply(e.context,[e.reqBidsConfigObj]),e.hasExited=!0)}function G(e){return o=(0,c.Z)(e,"schema.fields"),!!(Array.isArray(o)&&o.length>0&&o.every((function(e){return-1!==T.indexOf(e)}))||((0,a.logError)("".concat(R,": Fields recieved do not match allowed fields")),0))&&(r=e,t=e.schema.fields.length,i=e.schema.delimiter||"|","object"===(0,n.Z)(r.values)&&(r.values=Object.keys(r.values).reduce((function(e,o){return function(e,o,r,n){return"string"==typeof e&&e.split(n).length===r&&"number"==typeof o}(o,r.values[o],t,i)&&(e[o]=r.values[o]),e}),{}),Object.keys(r.values).length>0));var o,r,t,i}var L={1:function(e){return G(e)},2:function(e){return!(!Array.isArray(e.modelGroups)||0===e.modelGroups.length)&&(e.modelWeightSum=0,e.modelGroups.every((function(o){return!("number"!=typeof o.modelWeight||!G(o))&&(e.modelWeightSum+=o.modelWeight,!0)})))}};function H(e){return"object"===(0,n.Z)(e)&&(e.floorsSchemaVersion=e.floorsSchemaVersion||1,"function"!=typeof L[e.floorsSchemaVersion]?((0,a.logError)("".concat(R,": Unknown floorsSchemaVersion: "),e.floorsSchemaVersion),!1):L[e.floorsSchemaVersion](e))}function J(e,o){if(e&&"object"===(0,n.Z)(e)&&H(e))return(0,a.logInfo)("".concat(R,": A ").concat(o," set the auction floor data set to "),e),S(S({},e),{},{location:o});(0,a.logError)("".concat(R,": The floors data did not contain correct values"),e)}var K=(0,O.g3)("priceFloors",(function(e,o){var r={reqBidsConfigObj:o,context:this,nextFn:e,haveExited:!1,timer:null};Z.auctionDelay>0&&M?(r.timer=setTimeout((function(){(0,a.logWarn)("".concat(R,": Fetch attempt did not return in time for auction")),Z.fetchStatus="timeout",V(r)}),Z.auctionDelay),D.push(r)):V(r)}));function Y(){D.forEach((function(e){clearTimeout(e.timer),V(e)})),D=[]}function _(e){var o;M=!1,Z.fetchStatus="success";try{o=JSON.parse(e)}catch(r){o=e}var r=J(o,"fetch");r&&(Z.data=r,Z.skipRate=(0,a.isNumber)(r.skipRate)?r.skipRate:Z.skipRate,Z.floorProvider=r.floorProvider||Z.floorProvider),Y()}function Q(e){M=!1,Z.fetchStatus="error",(0,a.logError)("".concat(R,": Fetch errored with: "),e),Y()}function X(e){var o;(Z=(0,a.pick)(e,["floorMin","enabled",function(e){return!1!==e},"auctionDelay",function(e){return e||0},"floorProvider",function(o){return(0,c.Z)(e,"data.floorProvider",o)},"endpoint",function(e){return e||{}},"skipRate",function(){return isNaN((0,c.Z)(e,"data.skipRate"))?e.skipRate||0:e.data.skipRate},"enforcement",function(e){return(0,a.pick)(e||{},["enforceJS",function(e){return!1!==e},"enforcePBS",function(e){return!0===e},"floorDeals",function(e){return!0===e},"bidAdjustment",function(e){return!1!==e}])},"additionalSchemaFields",function(e){return"object"===(0,n.Z)(e)&&Object.keys(e).length>0?(o=e,void Object.keys(o).forEach((function(e){-1===T.indexOf(e)&&"function"==typeof o[e]&&(T.push(e),I[e]=o[e])}))):void 0;var o},"data",function(e){return e&&J(e,"setConfig")||Z.data}])).enabled?((o=Z.endpoint).url&&!M?"GET"!==(o.method||"GET")?(0,a.logError)("".concat(R,": 'GET' is the only request method supported at this time!")):(P(o.url,{success:_,error:Q},null,{method:"GET"}),M=!0):M&&(0,a.logWarn)("".concat(R,": A fetch is already occuring. Skipping.")),w||(f.on(p.FP.AUCTION_END,(function(e){setTimeout((function(){return delete U[e.auctionId]}),3e3)})),(0,l.R)().requestBids.before(K,50),(0,m.v5)("addBidResponse").before($,(0,a.debugTurnedOn)()?4:50),w=!0)):((0,a.logInfo)("".concat(R,": Turning off module")),Z={},U={},(0,m.v5)("addBidResponse").getHooks({hook:$}).remove(),(0,l.R)().requestBids.getHooks({hook:K}).remove(),w=!1)}var $=(0,O.A)("priceFloors",(function(e,o,r,n){var t=U[r.auctionId];if(!t||!r||t.skipped)return e.call(this,o,r,n);var i,u=y.K.index.getBidRequest(r),d=A(t.data,u,S(S({},r),{},{size:[r.width,r.height]}));if(!d.matchingFloor)return(0,a.logWarn)("".concat(R,": unable to determine a matching price floor for bidResponse"),r),e.call(this,o,r,n);var s=t.data.currency.toUpperCase(),f=r.currency||"USD";if(s===f.toUpperCase())i=r.cpm;else if(r.originalCurrency&&s===r.originalCurrency.toUpperCase())i=r.originalCpm;else try{i=(0,l.R)().convertCurrency(r.cpm,f.toUpperCase(),s)}catch(t){return(0,a.logError)("".concat(R,": Unable do get currency conversion for bidResponse to Floor Currency. Do you have Currency module enabled? ").concat(r)),e.call(this,o,r,n)}if(function(e,o,r,n){r.floorData={floorValue:o.matchingFloor,floorRule:o.matchingRule,floorRuleValue:o.floorRuleValue,floorCurrency:e.data.currency,cpmAfterAdjustments:n,enforcements:S({},e.enforcement),matchedFields:{}},e.data.schema.fields.forEach((function(n,t){var i=o.matchingData.split(e.data.schema.delimiter)[t];r.floorData.matchedFields[n]=i}))}(t,d,r,i=B(i,r,u)),function(e,o,r){var n=!1!==(0,c.Z)(e,"enforcement.enforceJS"),t=!0===(0,c.Z)(e,"enforcement.floorDeals")||!r.dealId,i=r.floorData.cpmAfterAdjustments<o.matchingFloor;return n&&i&&t}(t,d,r)){var m,h=n(p.Gw.pe);return(0,a.logWarn)("".concat(R,": ").concat(h.bidderCode,"'s Bid Response for ").concat(o," was rejected due to floor not met (adjusted cpm: ").concat(null==r||null===(m=r.floorData)||void 0===m?void 0:m.cpmAfterAdjustments,", floor: ").concat(null==d?void 0:d.matchingFloor,")"),r),e.call(this,o,h,n)}return e.call(this,o,r,n)}));d.vc.getConfig("floors",(function(e){return X(e.floors)})),(0,b.f8)({type:b.DZ,name:"bidfloor",fn:function(e,o,r){if("function"==typeof o.getFloor){var n,t;try{var i=o.getFloor({currency:r.currency||d.vc.getConfig("currency.adServerCurrency")||"USD",mediaType:r.mediaType||"*",size:"*"});n=i.currency,t=i.floor}catch(e){return void(0,a.logWarn)("Cannot compute floor for bid",o)}t=parseFloat(t),null==n||null==t||isNaN(t)||Object.assign(e,{bidfloor:t,bidfloorcur:n})}}}),(0,b.f8)({type:b.DZ,name:"extPrebidFloors",fn:function(e,o,r){if(null!=e.bidfloor){var n,t,i,a,c=r.reqContext.floorMin||{},l=c.floorMinCur,d=c.floorMin;null==l&&(l=e.bidfloorcur);var s=(null===(n=e.ext)||void 0===n||null===(n=n.prebid)||void 0===n||null===(n=n.floors)||void 0===n?void 0:n.floorMinCur)||(null===(t=e.ext)||void 0===t||null===(t=t.prebid)||void 0===t?void 0:t.floorMinCur)||l,f=(null===(i=e.ext)||void 0===i||null===(i=i.prebid)||void 0===i||null===(i=i.floors)||void 0===i?void 0:i.floorMin)||(null===(a=e.ext)||void 0===a||null===(a=a.prebid)||void 0===a?void 0:a.floorMin),p=(0,j.m)(e.bidfloor,e.bidfloorcur,l),m=!(!f||!s)&&(0,j.m)(f,s,l),h=m&&m<p?m:p;(0,u.N)(e,"ext.prebid.floors.floorMin",h),(null==d||d>h)&&(d=h),r.reqContext.floorMin={floorMin:d,floorMinCur:l}}},dialects:[b.md],priority:-1}),(0,b.f8)({type:b.Z,name:"extPrebidFloors",fn:function(e,o,r){var n;w&&(0,u.N)(e,"ext.prebid.floors.enabled",(null===(n=e.ext)||void 0===n||null===(n=n.prebid)||void 0===n||null===(n=n.floors)||void 0===n?void 0:n.enabled)||!1),null!=r&&r.floorMin&&(0,a.mergeDeep)(e,{ext:{prebid:{floors:r.floorMin}}})},dialects:[b.md]}),window.owpbjs.installedModules.push("priceFloors")},26372:function(e,o,r){r.d(o,{DZ:function(){return a},Px:function(){return c},TP:function(){return l},YC:function(){return u},Z:function(){return i},f8:function(){return m},fP:function(){return h},gm:function(){return n},md:function(){return d}});var n=["request","imp","bidResponse","response"],t=["default","pbs"],i=n[0],a=n[1],c=n[2],u=n[3],l=t[0],d=t[1],s=new Set(n);var f,p=(f={},{registerOrtbProcessor:function(e){var o=e.type,r=e.name,t=e.fn,i=e.priority,a=void 0===i?0:i,c=e.dialects,u=void 0===c?[l]:c;if(!s.has(o))throw new Error("ORTB processor type must be one of: ".concat(n.join(", ")));u.forEach((function(e){f.hasOwnProperty(e)||(f[e]={}),f[e].hasOwnProperty(o)||(f[e][o]={}),f[e][o][r]={priority:a,fn:t}}))},getProcessors:function(e){return f[e]||{}}}),m=p.registerOrtbProcessor,h=p.getProcessors},16414:function(e,o,r){r.d(o,{m:function(){return t}});var n=r(78640);function t(e,o,r){if(o===r)return e;var t=e;if("function"==typeof(0,n.R)().convertCurrency)try{t=(0,n.R)().convertCurrency(e,o,r)}catch(e){}return t}},44925:function(e,o,r){function n(e,o){if(null==e)return{};var r,n,t=function(e,o){if(null==e)return{};var r,n,t={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],o.indexOf(r)>=0||(t[r]=e[r]);return t}(e,o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],o.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}r.d(o,{Z:function(){return n}})}},function(e){e.O(0,[56866],(function(){return o=9171,e(e.s=o);var o}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[29185],{67728:function(e,i,n){var o=n(71002),t=n(64358),d=n(64563),r=n(51039),s=n(5644),a=n(48928),u=n(3193),c=n(78640),p=n(15164),l="pubmatic",b="https://t.pubmatic.com/",m=b+"wl?",f=b+"wt?",v="PubMatic-Analytics: ",g={auctions:{}},I="success",C="no-bid",w="error",R="request-error",h="timeout-error",y="",D="banner",U="USD",T=2,N=window.encodeURIComponent,k={BANNER:0,VIDEO:1,NATIVE:2},P="PROFILE_AUCTION_INFO_",O=0,A=0,F=0,S=[],x=0,q=(0,p.df)({bidderCode:l});function E(e){return{width:e.w||e[0],height:e.h||e[1]}}function _(e){return{banner:1,native:1,video:1}.hasOwnProperty(e)}function L(e){return(0,t.pick)(e,["bidder","bidderCode","adapterCode","bidId","status",function(){return C},"finalSource as source","params","floorData","adUnit",function(){return(0,t.pick)(e,["adUnitCode","transactionId","sizes as dimensions",function(e){return e&&e.map(E)},"mediaTypes",function(i){return function(e,i){return i.mediaType&&_(i.mediaType)?[i.mediaType]:Array.isArray(e)?e.filter(_):"object"===(0,o.Z)(e)?(i.sizes||(i.dimensions=[],(0,t._each)(e,(function(e){return i.dimensions=i.dimensions.concat(e.sizes.map(E))}))),Object.keys(e).filter(_)):[D]}(i,e)}])}])}function W(e){var i=window.document.createElement("a");return i.href=e,i.hostname}function j(){var e=3;try{var i=navigator.userAgent;if(i&&(0,t.isStr)(i)&&""!=i.trim()){i=i.toLowerCase().trim();var n=new RegExp("(mobi|tablet|ios).*");e=i.match(n)?2:1}}catch(e){}return e}function M(e,i){return e.params&&(e.params.regexPattern||e.params.regex_pattern)?e.params.regexPattern||e.params.regex_pattern:e.bidResponse&&e.bidResponse.regexPattern?e.bidResponse.regexPattern:e.params&&e.params.kgpv?B(e.params.kgpv,e.bidResponse):i}function B(e,i){if(i&&i.mediaType&&"video"==i.mediaType){var n=["","0x0"],o=e.split("@");if(o.length>1){if(2==o.length){if(o[1].indexOf(":")>-1){var t=o[1].split(":");n[1]=n[1]+":"+t[1]}n[0]=o[0]}e=n.join("@")}}return e}function z(e){return window.PWT&&(0,t.isFn)(window.PWT.getAdapterNameForAlias)?window.PWT.getAdapterNameForAlias(e):r.ZP.aliasRegistry[e]||e}function G(e){if(e.meta&&e.meta.advertiserDomains&&e.meta.advertiserDomains.length>0){var i=e.meta.advertiserDomains[0];if(i)try{return new URL(i).hostname.replace("www.","")}catch(e){return(0,t.logWarn)(v+"Adomain URL (Not a proper URL):",i),i.split("/")[0].replace("www.","")}}}function V(e){return function(e){return"object"===(0,o.Z)(e)&&null!==e}(e)&&0===Object.keys(e).length}function Z(e){return S.indexOf(e)>-1?1:0}function J(e){if(e&&!V(e)){var i={};if(e.networkId&&(i.nwid=e.networkId),e.advertiserId&&(i.adid=e.advertiserId),e.networkName&&(i.nwnm=e.networkName),e.primaryCatId&&(i.pcid=e.primaryCatId),e.advertiserName&&(i.adnm=e.advertiserName),e.agencyId&&(i.agid=e.agencyId),e.agencyName&&(i.agnm=e.agencyName),e.brandId&&(i.brid=e.brandId),e.brandName&&(i.brnm=e.brandName),e.dchain&&(i.dc=e.dchain),e.demandSource&&(i.ds=e.demandSource),e.secondaryCatIds&&(i.scids=e.secondaryCatIds),!V(i))return i}}function Q(e,i,n){return n=n&&n.length>0?n[0]:null,Object.keys(e.bids).reduce((function(o,t){return e.bids[t].forEach((function(e){var t,d=e.bidResponse&&e.bidResponse.prebidBidId;o.push({pn:z(e.adapterCode||e.bidder),bc:e.bidderCode||e.bidder,bidid:d||e.bidId,origbidid:e.bidId,db:e.bidResponse?0:1,kgpv:M(e,i),kgpsv:e.params&&e.params.kgpv?B(e.params.kgpv,e.bidResponse):i,psz:e.bidResponse?e.bidResponse.dimensions.width+"x"+e.bidResponse.dimensions.height:"0x0",eg:e.bidResponse?e.bidResponse.bidGrossCpmUSD:0,en:e.bidResponse?e.bidResponse.bidPriceUSD:0,di:e.bidResponse&&e.bidResponse.dealId||y,dc:e.bidResponse&&e.bidResponse.dealChannel||y,l1:e.bidResponse?e.clientLatencyTimeMs:0,l2:0,adv:e.bidResponse&&G(e.bidResponse)||void 0,ss:Z(e.bidder),t:e.status==w&&e.error.code==h?1:0,wb:n&&n.adId===e.adId?1:0,mi:e.bidResponse?e.bidResponse.mi:window.matchedimpressions&&window.matchedimpressions[e.bidder],af:e.bidResponse&&e.bidResponse.mediaType||void 0,ocpm:e.bidResponse&&e.bidResponse.originalCpm||0,ocry:e.bidResponse&&e.bidResponse.originalCurrency||U,piid:e.bidResponse&&e.bidResponse.partnerImpId||y,frv:e.bidResponse?null===(t=e.bidResponse.floorData)||void 0===t?void 0:t.floorRuleValue:void 0,md:e.bidResponse?J(e.bidResponse.meta):void 0})})),o}),[])}function H(e,i){var n=Object.values(e.bids).filter((function(e){return!!e.bidResponse&&"native"===e.bidResponse.mediaType}))[0];return n||void 0===n&&0===e.dimensions.length?["1x1"]:e.dimensions.map((function(e){return e[0]+"x"+e[1]}))}function K(e){return e?Object.keys(e.mediaTypes||{}).map((function(e){return k[e.toUpperCase()]})):[]}function X(e,i){return e.filter((function(e){return e.divID&&e.divID==i||e.code==i}))[0]}function Y(){var e=parseInt(u.vc.getConfig("testGroupId")||0);return e<=15&&e>=0?e:0}function $(e,i){var n,o,t=window.location.host,d=q.getDataFromLocalStorage(P+t),r=null!==d?JSON.parse(d):{},c=e.auctionId,p=u.vc.getConfig("pageUrl")||(null===(n=g.auctions[c])||void 0===n?void 0:n.referer)||"",l=g.auctions[c],b=null==l?void 0:l.floorData,f=function(e){if(null==e||!e.floorRequestData)return!1;var i=null==e?void 0:e.floorRequestData,n=i.location,o=i.fetchStatus,t=n!==s.C_.Ot,d=n===s.C_.jR&&o===s.C_.MR,r=n===s.C_.Vs||n===s.C_.cl;return t&&(r||d)}(l.floorData),v={s:[]},I=m;l&&(l.sent||(I+="pubid="+O,v.pubid=""+O,v.iid=""+c,v.to=""+l.timeout,v.purl=p,v.orig=W(p),v.tst=Math.round((new window.Date).getTime()/1e3),v.pid=""+A,v.pdvid=""+F,v.psl=function(e){var i=window.pbsLatency,n=i&&i[e],o=n?0:void 0;return n&&n.startTime&&n.endTime&&(o=n.endTime-n.startTime),o}(c),v.dvc={plt:j()},v.bm=window.PWT&&window.PWT.browserMapping,v.ih=x,v.tgid=Y(),v.tpv=null==r?void 0:r.pageView,v.trc=null==r?void 0:r.slotCnt,v.tbs=null==r?void 0:r.bidServed,v.tis=null==r?void 0:r.impressionServed,v.lip=null==r?void 0:r.lip,b&&f&&(v.fmv=b.floorRequestData&&b.floorRequestData.modelVersion||void 0,v.ft=b.floorResponseData?0==b.floorResponseData.enforcements.enforceJS?0:1:void 0),(null===(o=window.PWT.CC)||void 0===o?void 0:o.cc)&&(v.ctr=window.PWT.CC.cc),v.s=Object.keys(l.adUnitCodes).reduce((function(e,n){var o,t,d,s,a,u=l.adUnitCodes[n],c=X(l.origAdUnits,n)||{},p={sn:n,au:c.adUnitId||n,mt:K(c),sz:H(u),fskp:b&&f&&b.floorRequestData?0==b.floorRequestData.skipped?0:1:void 0,ps:Q(u,n,i.filter((function(e){return e.adUnitCode===n}))),bs:null==r||null===(o=r.slotLevelFrquencyDepth)||void 0===o||null===(o=o[c.adUnitId])||void 0===o?void 0:o.bidServed,is:null==r||null===(t=r.slotLevelFrquencyDepth)||void 0===t||null===(t=t[c.adUnitId])||void 0===t?void 0:t.impressionServed,rc:null==r||null===(d=r.slotLevelFrquencyDepth)||void 0===d||null===(d=d[c.adUnitId])||void 0===d?void 0:d.slotCnt,vw:null==r||null===(s=r.viewedSlot)||void 0===s?void 0:s[c.adUnitId],rf:null!=c&&null!==(a=c.pubmaticAutoRefresh)&&void 0!==a&&a.isRefreshed?1:0};return e.push(p),e}),[]),l.sent=!0,(0,a.h)(I,null,"json="+N(JSON.stringify(v)),{contentType:"application/x-www-form-urlencoded",withCredentials:!0,method:"POST"})))}function ee(e){var i=g.auctions[e.auctionId].adUnitCodes[e.adUnitCode].bids[e.requestId][0];if(i){var n,o;if(i.bidder&&e.bidderCode&&i.bidder!==e.bidderCode||i.bidder===e.bidderCode&&i.status===I)i.params&&(e.params=i.params),null!==(n=i)&&void 0!==n&&null!==(n=n.bidResponse)&&void 0!==n&&n.partnerImpId&&(e.partnerImpId=i.bidResponse.partnerImpId),(i=L(e)).bidId=e.requestId,g.auctions[e.auctionId].adUnitCodes[e.adUnitCode].bids[e.requestId].push(i);e.floorData&&(g.auctions[e.auctionId].floorData.floorResponseData=e.floorData),i.adId=e.adId,i.source=(void 0===(o=i.source||e.source)?o="client":"s2s"===o&&(o="server"),o.toLowerCase()),function(e,i){var n;if((null==e?void 0:e.status)!==w||(null==e||null===(n=e.error)||void 0===n?void 0:n.code)!==h)switch(i.getStatusCode()){case s.Q_.GOOD:e.status=I,delete e.error;break;case s.Q_.NO_BID:e.status=C,delete e.error;break;default:e.status=w,e.error={code:R}}}(i,e),i.clientLatencyTimeMs=Date.now()-g.auctions[e.auctionId].timestamp,i.bidResponse=function(e){return(0,t.pick)(e,["bidPriceUSD",function(){return"string"==typeof e.currency&&e.currency.toUpperCase()===U?window.parseFloat(Number(e.cpm).toFixed(T)):"function"==typeof e.getCpmInNewCurrency?window.parseFloat(Number(e.getCpmInNewCurrency(U)).toFixed(T)):((0,t.logWarn)(v+"Could not determine the Net cpm in USD for the bid thus using bid.cpm",e),e.cpm)},"bidGrossCpmUSD",function(){return"string"==typeof e.originalCurrency&&e.originalCurrency.toUpperCase()===U?window.parseFloat(Number(e.originalCpm).toFixed(T)):"function"==typeof(0,c.R)().convertCurrency?window.parseFloat(Number((0,c.R)().convertCurrency(e.originalCpm,e.originalCurrency,U)).toFixed(T)):((0,t.logWarn)(v+"Could not determine the Gross cpm in USD for the bid, thus using bid.originalCpm",e),e.originalCpm)},"dealId","currency","cpm",function(){return window.parseFloat(Number(e.cpm).toFixed(T))},"originalCpm",function(){return window.parseFloat(Number(e.originalCpm).toFixed(T))},"originalCurrency","dealChannel","meta","status","error","bidId","mediaType","params","floorData","mi","regexPattern",function(){return e.regexPattern||void 0},"partnerImpId","prebidBidId","dimensions",function(){return(0,t.pick)(e,["width","height"])}])}(e)}else(0,t.logError)(v+"Could not find associated bid request for bid response with requestId: ",e.requestId)}function ie(e){var i=g.auctions[e.auctionId];i.adUnitCodes[e.adUnitCode].bidWon=e.requestId,i.adUnitCodes[e.adUnitCode].bidWonAdId=e.adId,function(e,i){var n,o,t,d=g.auctions[e].adUnitCodes[i].bidWon,r=g.auctions[e].adUnitCodes[i].bids[d],s=r[0];r.length>1&&(s=r.filter((function(n){return n.adId===g.auctions[e].adUnitCodes[i].bidWonAdId}))[0]);var c=z(s.adapterCode||s.bidder),p=s.bidResponse&&s.bidResponse.prebidBidId,l=X(g.auctions[e].origAdUnits,i),b=l.adUnitId||i,m=u.vc.getConfig("pageUrl")||g.auctions[e].referer||"",v=g.auctions[e].floorData,I=s.bidResponse&&G(s.bidResponse)||void 0,C=v&&v.floorRequestData?0==v.floorRequestData.skipped?0:1:void 0,w=f;w+="pubid="+O,w+="&purl="+N(m),w+="&tst="+Math.round((new window.Date).getTime()/1e3),w+="&iid="+N(e),w+="&bidid="+N(p||d),w+="&origbidid="+N(d),w+="&pid="+N(A),w+="&pdvid="+N(F),w+="&slot="+N(i),w+="&au="+N(b),w+="&pn="+N(c),w+="&bc="+N(s.bidderCode||s.bidder),w+="&en="+N(s.bidResponse.bidPriceUSD),w+="&eg="+N(s.bidResponse.bidGrossCpmUSD),w+="&kgpv="+N(M(s,i)),w+="&piid="+N(s.bidResponse.partnerImpId||y),w+="&rf="+N(null!=l&&null!==(n=l.pubmaticAutoRefresh)&&void 0!==n&&n.isRefreshed?1:0),w+="&plt="+N(j()),w+="&psz="+N(((null===(o=s)||void 0===o||null===(o=o.bidResponse)||void 0===o||null===(o=o.dimensions)||void 0===o?void 0:o.width)||"0")+"x"+((null===(t=s)||void 0===t||null===(t=t.bidResponse)||void 0===t||null===(t=t.dimensions)||void 0===t?void 0:t.height)||"0")),w+="&tgid="+N(Y()),I&&(w+="&adv="+N(I)),w+="&orig="+N(W(m)),w+="&ss="+N(Z(s.bidder)),null!=C&&(w+="&fskp="+N(C)),w+="&af="+N(s.bidResponse&&s.bidResponse.mediaType||void 0),(0,a.h)(w,null,null,{contentType:"application/x-www-form-urlencoded",withCredentials:!0,method:"GET"})}(e.auctionId,e.adUnitCode)}(0,d.tx)(30);var ne=(0,d.ZP)({analyticsType:"endpoint"}),oe=Object.assign({},ne,{enableAnalytics:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=!1;"object"===(0,o.Z)(e.options)?(e.options.publisherId&&(O=Number(e.options.publisherId)),A=Number(e.options.profileId)||0,F=Number(e.options.profileVersionId)||0,x=Number(e.options.identityOnly)||0):((0,t.logError)(v+"Config not found."),i=!0),O||((0,t.logError)(v+"Missing publisherId(Number)."),i=!0),i?(0,t.logError)(v+"Not collecting data due to error(s)."):ne.enableAnalytics.call(this,e)},disableAnalytics:function(){O=0,A=0,F=0,S=[],ne.disableAnalytics.apply(this,arguments)},track:function(e){var i=e.eventType,n=e.args;switch(i){case s.FP.AUCTION_INIT:!function(e){var i;i=u.vc.getConfig("s2sConfig"),S=i&&(0,t.isArray)(i.bidders)?i.bidders:[];var n=(0,t.pick)(e,["timestamp","timeout","bidderDonePendingCount",function(){return e.bidderRequests.length}]);n.adUnitCodes={},n.floorData={},n.origAdUnits=e.adUnits,n.referer=e.bidderRequests[0].refererInfo.topmostLocation,g.auctions[e.auctionId]=n}(n);break;case s.FP.BID_REQUESTED:!function(e){e.bids.forEach((function(i){g.auctions[e.auctionId].adUnitCodes.hasOwnProperty(i.adUnitCode)||(g.auctions[e.auctionId].adUnitCodes[i.adUnitCode]={bids:{},bidWon:!1,dimensions:i.sizes}),g.auctions[e.auctionId].adUnitCodes[i.adUnitCode].bids[i.bidId]=[L(i)],i.floorData&&(g.auctions[e.auctionId].floorData.floorRequestData=i.floorData)}))}(n);break;case s.FP.BID_RESPONSE:ee(n);break;case s.FP.BIDDER_DONE:!function(e){g.auctions[e.auctionId].bidderDonePendingCount--,e.bids.forEach((function(e){var i=g.auctions[e.auctionId].adUnitCodes[e.adUnitCode].bids[e.bidId||e.requestId];void 0!==e.serverResponseTimeMs&&(i.serverLatencyTimeMs=e.serverResponseTimeMs),i.status||(i.status=C),i.clientLatencyTimeMs||(i.clientLatencyTimeMs=Date.now()-g.auctions[e.auctionId].timestamp)}))}(n);break;case s.FP.BID_WON:ie(n);break;case s.FP.AUCTION_END:!function(e){var i,n=this,o=(0,c.R)().getHighestCpmBids()||[];setTimeout((function(){$.call(n,e,o)}),0===(null===(i=g.auctions[e.auctionId])||void 0===i?void 0:i.bidderDonePendingCount)?500:2e3)}(n);break;case s.FP.BID_TIMEOUT:!function(e){e.forEach((function(e){var i=g.auctions[e.auctionId].adUnitCodes[e.adUnitCode].bids[e.bidId||e.requestId][0];i?(i.status=w,i.error={code:h}):(0,t.logWarn)(v+"bid not found")}))}(n)}}});r.ZP.registerAnalyticsAdapter({adapter:oe,code:l}),window.owpbjs.installedModules.push("pubmaticAnalyticsAdapter")}},function(e){e.O(0,[14861,56866],(function(){return i=67728,e(e.s=i);var i}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[55126],{15817:function(e,r,t){var a=t(89062),i=t(4942),n=t(71002),s=t(64358),o=t(20265),d=t(96475),p=t(14699),l=t(24679),c=t(3193),m=t(35706),u=t(55975),g=t(15164),h=t(5644);function f(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r&&(a=a.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,a)}return t}function y(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?f(Object(t),!0).forEach((function(r){(0,i.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var b,v="pubmatic",w=(0,g.df)({bidderCode:v}),x="PubMatic: ",I="https://hbopenbid.pubmatic.com/translator",O="USD",T=void 0,R="https://pubmatic.bbvms.com/r/".concat("$RENDERER",".js"),E="Video.Placement param missing",S={kadpageurl:"",gender:"",yob:"",lat:"",lon:"",wiid:"",profId:"",verId:""},P={NUMBER:"number",STRING:"string",BOOLEAN:"boolean",ARRAY:"array",OBJECT:"object"},z={mimes:P.ARRAY,minduration:P.NUMBER,maxduration:P.NUMBER,startdelay:P.NUMBER,playbackmethod:P.ARRAY,api:P.ARRAY,protocols:P.ARRAY,w:P.NUMBER,h:P.NUMBER,battr:P.ARRAY,linearity:P.NUMBER,placement:P.NUMBER,plcmt:P.NUMBER,minbitrate:P.NUMBER,maxbitrate:P.NUMBER,skip:P.NUMBER},N={ICON:1,IMAGE:3},C={1:"PMP",5:"PREF",6:"PMPG"},A={bootstrapPlayer:function(e){var r={code:e.adUnitCode};if(e.vastXml?r.vastXml=e.vastXml:e.vastUrl&&(r.vastUrl=e.vastUrl),e.vastXml||e.vastUrl){for(var t,a=A.getRendererId("pubmatic",e.rendererCode),i=document.getElementById(e.adUnitCode),n=0;n<window.bluebillywig.renderers.length;n++)if(window.bluebillywig.renderers[n]._id===a){t=window.bluebillywig.renderers[n];break}t?t.bootstrap(r,i):(0,s.logWarn)("".concat(x,": Couldn't find a renderer with ").concat(a))}else(0,s.logWarn)("".concat(x,": No vastXml or vastUrl on bid, bailing..."))},newRenderer:function(e,r){var t=R.replace("$RENDERER",e),a=m.Th.install({url:t,loaded:!1,adUnitCode:r});try{a.setRender(A.outstreamRender)}catch(e){(0,s.logWarn)("".concat(x,": Error tying to setRender on renderer"),e)}return a},outstreamRender:function(e){e.renderer.push((function(){A.bootstrapPlayer(e)}))},getRendererId:function(e,r){return"".concat(e,"-").concat(r)}},U=[l.Mk,l.pX,l.B5],k=0,M=!1,j=["pubmatic"],W=["all"];function B(e){var r=document.createElement("a");return r.href=e,r.hostname}function _(e,r){if(!(0,s.isStr)(r))return r&&(0,s.logWarn)(x+"Ignoring param key: "+e+", expects string-value, found "+(0,n.Z)(r)),T;switch(e){case"pmzoneid":return r.split(",").slice(0,50).map((function(e){return e.trim()})).join();case"kadfloor":case"lat":case"lon":return parseFloat(r)||T;case"yob":return parseInt(r)||T;default:return r}}function q(e){var r;e.params.adUnit="",e.params.adUnitIndex="0",e.params.width=0,e.params.height=0,e.params.adSlot=(r=e.params.adSlot,(0,s.isStr)(r)?r.replace(/^\s+/g,"").replace(/\s+$/g,""):(r&&(0,s.logWarn)(v+": 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=2==a.length?a[1].split("x"):3==a.length?a[2].split("x"):[]).length)return void(0,s.logWarn)(x+"AdSlot Error: adSlot not in required format");e.params.width=parseInt(a[0],10),e.params.height=parseInt(a[1],10)}if(e.hasOwnProperty("mediaTypes")&&e.mediaTypes.hasOwnProperty(l.Mk)&&e.mediaTypes.banner.hasOwnProperty("sizes")){for(var i=0,n=[];i<e.mediaTypes.banner.sizes.length;i++)2===e.mediaTypes.banner.sizes[i].length&&n.push(e.mediaTypes.banner.sizes[i]);e.mediaTypes.banner.sizes=n,e.mediaTypes.banner.sizes.length>=1&&(e.params.width||e.params.height?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)):(e.params.width=e.mediaTypes.banner.sizes[0][0],e.params.height=e.mediaTypes.banner.sizes[0][1],e.mediaTypes.banner.sizes=e.mediaTypes.banner.sizes.splice(1,e.mediaTypes.banner.sizes.length-1)))}}function Z(e,r,t){var a,i="Ignoring param key: "+e+", expects "+t+", found "+(0,n.Z)(r);switch(t){case P.BOOLEAN:a=s.isBoolean;break;case P.NUMBER:a=s.isNumber;break;case P.STRING:a=s.isStr;break;case P.ARRAY:a=s.isArray}return a(r)?r:((0,s.logWarn)(x+i),T)}var X={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"},D=h.oF,J=h.zA,L=h.FY,V=h.s$,F=Object.values(X);function G(e){var r;if(e.ortb){e=e.ortb,r=y(y({ver:"1.2"},e),{},{assets:[]});var t=e.assets,a=function(e){return e.title||e.img||e.data||e.video};if(t.length<1||!t.some((function(e){return a(e)})))return(0,s.logWarn)("".concat(x,": Native assets object is empty or contains some invalid object")),M=!0,r;t.forEach((function(e){var t=e;t.img&&(t.img.type==N.IMAGE?(t.w=t.w||t.width||(t.sizes?t.sizes[0]:T),t.h=t.h||t.height||(t.sizes?t.sizes[1]:T),t.wmin=t.wmin||t.minimumWidth||(t.minsizes?t.minsizes[0]:T),t.hmin=t.hmin||t.minimumHeight||(t.minsizes?t.minsizes[1]:T)):t.img.type==N.ICON&&(t.w=t.w||t.width||(t.sizes?t.sizes[0]:T),t.h=t.h||t.height||(t.sizes?t.sizes[1]:T))),t&&void 0!==t.id&&a(t)&&r.assets.push(t)}))}else r=function(e){if(!e&&!(0,s.isPlainObject)(e))return(0,s.logWarn)("".concat(x,": Native assets object is empty or not an object: ").concat(e)),void(M=!0);var r={ver:"1.2",assets:[]};for(var t in e)if(!J.includes(t))if(L.hasOwnProperty(t)||F.includes(t)){var a=e[t],i=0;a.required&&(0,s.isBoolean)(a.required)&&(i=Number(a.required));var n={id:r.assets.length,required:i};if(t in X)n.data={type:V[X[t]]},(a.len||a.length)&&(n.data.len=a.len||a.length),a.ext&&(n.data.ext=a.ext);else if("icon"===t||"image"===t){if(n.img={type:"icon"===t?D.ICON:D.MAIN},a.aspect_ratios)if((0,s.isArray)(a.aspect_ratios))if(a.aspect_ratios.length){var o=a.aspect_ratios[0],d=o.min_width,p=o.min_height;(0,s.isInteger)(d)&&(0,s.isInteger)(p)?(n.img.wmin=d,n.img.hmin=p):(0,s.logWarn)("".concat(x,": image.aspect_ratios min_width or min_height are invalid: ").concat(d,", ").concat(p));var l=a.aspect_ratios.filter((function(e){return e.ratio_width&&e.ratio_height})).map((function(e){return"".concat(e.ratio_width,":").concat(e.ratio_height)}));l.length>0&&(n.img.ext={aspectratios:l})}else(0,s.logWarn)("".concat(x,": image.aspect_ratios was passed, but it's empty: ").concat(a.aspect_ratios));else(0,s.logWarn)("".concat(x,": image.aspect_ratios was passed, but it's not a an array: ").concat(a.aspect_ratios));n.img.w=a.w||a.width,n.img.h=a.h||a.height,n.img.wmin=a.wmin||a.minimumWidth||(a.minsizes?a.minsizes[0]:T),n.img.hmin=a.hmin||a.minimumHeight||(a.minsizes?a.minsizes[1]:T),a.sizes&&(2===a.sizes.length&&(0,s.isInteger)(a.sizes[0])&&(0,s.isInteger)(a.sizes[1])?((0,s.logInfo)("".concat(x,": if asset.sizes exist, by OpenRTB spec we should remove wmin and hmin")),n.img.w=a.sizes[0],n.img.h=a.sizes[1],delete n.img.hmin,delete n.img.wmin):(0,s.logWarn)("".concat(x,": image.sizes was passed, but its value is not an array of integers: ").concat(a.sizes))),a.ext&&(n.img.ext=a.ext),a.mimes&&(n.img.mimes=a.mimes)}else"title"===t?(n.title={len:a.len||a.length||140},a.ext&&(n.title.ext=a.ext)):"ext"===t&&(n.ext=a,delete n.required);r.assets.push(n)}else(0,s.logWarn)("".concat(x,": Unrecognized native asset code: ").concat(t,". Asset will be ignored."));return r.assets.length<1?((0,s.logWarn)("".concat(x,": Could not find any valid asset")),void(M=!0)):r}(e);return r}function Y(e){var r,t=e.mediaTypes.banner.sizes,a=[];if(t!==T&&(0,s.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=T,(0,s.logWarn)(x+"Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),r;r.w=parseInt(t[0][0],10),r.h=parseInt(t[0][1],10),t=t.splice(1,t.length-1)}t.length>0&&(a=[],t.forEach((function(e){e.length>1&&a.push({w:e[0],h:e[1]})})),a.length>0&&(r.format=a)),r.pos=0,r.topframe=(0,s.inIframe)()?0:1}else(0,s.logWarn)(x+"Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),r=T;return r}function $(e){var r,t=(0,s.mergeDeep)((0,o.Z)(e.mediaTypes,"video"),e.params.video);if(t!==T){for(var a in r={},function(e,r){(0,o.Z)(e,"placement")||(0,s.logWarn)(E+" for "+r)}(t,e.adUnitCode),z)t.hasOwnProperty(a)&&(r[a]=Z(a,t[a],z[a]));if(e.mediaTypes.video.playerSize)(0,s.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,s.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{if(!e.mediaTypes.video.w||!e.mediaTypes.video.h)return r=T,(0,s.logWarn)(x+"Error: Video size params(playersize or w&h) missing for adunit: "+e.params.adUnit+" with mediaType set as video. Ignoring video impression in the adunit."),r;r.w=parseInt(e.mediaTypes.video.w,10),r.h=parseInt(e.mediaTypes.video.h,10)}}else r=T,(0,s.logWarn)(x+"Error: Video config params missing for adunit: "+e.params.adUnit+" with mediaType set as video. Ignoring video impression in the adunit.");return r}function H(e){var r,t,a={},i={},p=e.hasOwnProperty("sizes")?e.sizes:[],m="",u=[];if(function(e,r){r.params.deals&&((0,s.isArray)(r.params.deals)?r.params.deals.forEach((function(r){(0,s.isStr)(r)&&r.length>3?(e.pmp||(e.pmp={private_auction:0,deals:[]}),e.pmp.deals.push({id:r})):(0,s.logWarn)(x+"Error: deal-id present in array bid.params.deals should be a strings with more than 3 charaters length, deal-id ignored: "+r)})):(0,s.logWarn)(x+"Error: bid.params.deals should be an array of strings."))}(a={id:e.bidId,tagid:e.params.hashedKey||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):O},e),function(e,r){var t,a="";if(r.params.dctr)if(a=r.params.dctr,(0,s.isStr)(a)&&a.length>0){var i=a.split("|");a="",i.forEach((function(e){a+=e.length>0?e.trim()+"|":""})),t=a.length,"|"===a.substring(t,t-1)&&(a=a.substring(0,t-1)),e.ext.key_val=a.trim()}else(0,s.logWarn)(x+"Ignoring param : dctr with value : "+a+", expects string-value, found empty or non-string value")}(a,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}}(a,e),function(e,r){r.bidViewability&&(e.ext.bidViewability=r.bidViewability)}(a,e),e.hasOwnProperty("mediaTypes"))for(m in e.mediaTypes)switch(m){case l.Mk:(r=Y(e))!==T&&(a.banner=r);break;case l.B5:i.request=JSON.stringify(G(e.nativeParams)),M?(0,s.logWarn)(x+"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."):a.native=i,M=!1;break;case l.pX:(t=$(e))!==T&&(a.video=t)}else r={pos:0,w:e.params.width,h:e.params.height,topframe:(0,s.inIframe)()?0:1},(0,s.isArray)(p)&&p.length>1&&((p=p.splice(1,p.length-1)).forEach((function(e){(0,s.isArray)(e)&&2==e.length&&u.push({w:e[0],h:e[1]})})),r.format=u),a.banner=r;return function(e,r){var t=y({},(0,o.Z)(r,"ortb2Imp.ext.data"));Object.keys(t).forEach((function(r){"pbadslot"===r?"string"==typeof t[r]&&t[r]&&(0,d.N)(e,"ext.data.pbadslot",t[r]):"adserver"===r?["name","adslot"].forEach((function(r){var a=(0,o.Z)(t,"adserver.".concat(r));"string"==typeof a&&a&&((0,d.N)(e,"ext.data.adserver.".concat(r.toLowerCase()),a),"adslot"===r&&(0,d.N)(e,"ext.dfp_ad_unit_code",a))})):(0,d.N)(e,"ext.data.".concat(r),t[r])}))}(a,e),function(e,r){var t=-1;"function"!=typeof r.getFloor||c.vc.getConfig("pubmatic.disableFloors")||[l.Mk,l.pX,l.B5].forEach((function(a){if(e.hasOwnProperty(a)){var i=[];"banner"===a&&(e[a].w&&e[a].h&&i.push([e[a].w,e[a].h]),(0,s.isArray)(e[a].format)&&e[a].format.forEach((function(e){return i.push([e.w,e.h])}))),0===i.length&&i.push("*"),i.forEach((function(i){var o=r.getFloor({currency:e.bidfloorcur,mediaType:a,size:i});if((0,s.logInfo)(x,"floor from floor module returned for mediatype:",a," and size:",i," is: currency",o.currency,"floor",o.floor),"object"===(0,n.Z)(o)&&o.currency===e.bidfloorcur&&!isNaN(parseInt(o.floor))){var d=parseFloat(o.floor);(0,s.logInfo)(x,"floor from floor module:",d,"previous floor value",t,"Min:",Math.min(d,t)),t=-1===t?d:Math.min(d,t),(0,s.logInfo)(x,"new floor value:",t)}}))}}));e.bidfloor&&((0,s.logInfo)(x,"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:T,(0,s.logInfo)(x,"new impObj.bidfloor value:",e.bidfloor)}(a,e),a.hasOwnProperty(l.Mk)||a.hasOwnProperty(l.B5)||a.hasOwnProperty(l.pX)?a:T}function K(e,r){(r=r.filter((function(e){return"string"==typeof e||((0,s.logWarn)(x+"acat: Each category should be a string, ignoring category: "+e),!1)})).map((function(e){return e.trim()})).filter((function(e,r,t){return t.indexOf(e)===r}))).length>0&&((0,s.logWarn)(x+"acat: Selected: ",r),e.ext.acat=r)}function Q(e){return!0===(0,s.isArray)(e)&&e.length>0}var ee={code:v,gvlid:76,supportedMediaTypes:[l.Mk,l.pX,l.B5],aliases:["pubmatic2"],isBidRequestValid:function(e){if(e&&e.params){if(!(0,s.isStr)(e.params.publisherId))return(0,s.logWarn)(x+"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(l.pX)){var r=(0,o.Z)(e.mediaTypes,"video.mimes"),t=(0,o.Z)(e,"params.video.mimes");if(!1===Q(r)&&!1===Q(t))return(0,s.logWarn)(x+"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[l.pX].hasOwnProperty("context"))return(0,s.logError)("".concat(x,": no context specified in bid. Rejecting bid: "),e),!1;if("outstream"===e.mediaTypes[l.pX].context&&!(0,s.isStr)(e.params.outstreamAU)&&!e.hasOwnProperty("renderer")&&!e.mediaTypes[l.pX].hasOwnProperty("renderer"))return e.mediaTypes.hasOwnProperty(l.Mk)||e.mediaTypes.hasOwnProperty(l.B5)?(delete e.mediaTypes[l.pX],(0,s.logWarn)("".concat(x,': for "outstream" bids either outstreamAU parameter must be provided or ad unit supplied renderer is required. Rejecting mediatype Video of bid: '),e),!0):((0,s.logError)("".concat(x,': for "outstream" bids either outstreamAU parameter must be provided or ad unit supplied renderer is required. Rejecting bid: '),e),!1)}return!0}return!1},buildRequests:function(e,r){var t,i,p,m,g;r&&r.refererInfo&&(g=r.refererInfo);var h,f=function(e){return{pageURL:(null==e?void 0:e.page)||window.location.href,refURL:(null==e?void 0:e.ref)||window.document.referrer}}(g),y=function(e){return{id:""+(new Date).getTime(),at:1,cur:[O],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:{}}}(f),v="",R=[],E=[],P=[];if(e.forEach((function(e){if((h=(0,s.deepClone)(e)).params.adSlot=h.params.adSlot||"",q(h),h.mediaTypes&&h.mediaTypes.hasOwnProperty("video")||h.params.hasOwnProperty("video"));else if(!(h.hasOwnProperty("mediaTypes")&&h.mediaTypes.hasOwnProperty(l.B5)||0!==h.params.width||0!==h.params.height))return void(0,s.logWarn)(x+"Skipping the non-standard adslot: ",h.params.adSlot,JSON.stringify(h));f.pubId=f.pubId||h.params.publisherId,(f=function(e,r){var t,a,i;for(t in r.kadpageurl||(r.kadpageurl=r.pageURL),S)S.hasOwnProperty(t)&&(a=e[t])&&(i=S[t],"object"===(0,n.Z)(i)&&(a=i.f(a,r)),(0,s.isStr)(a)?r[t]=a:(0,s.logWarn)(x+"Ignoring param : "+t+" with value : "+S[t]+", expects string-value, found "+(0,n.Z)(a)));return r}(h.params,f)).transactionId=h.transactionId,""===v?v=h.params.currency||T:h.params.hasOwnProperty("currency")&&v!==h.params.currency&&(0,s.logWarn)(x+"Currency specifier ignored. Only one currency permitted."),h.params.currency=v,h.params.hasOwnProperty("dctr")&&(0,s.isStr)(h.params.dctr)&&R.push(h.params.dctr),h.params.hasOwnProperty("bcat")&&(0,s.isArray)(h.params.bcat)&&(E=E.concat(h.params.bcat)),h.params.hasOwnProperty("acat")&&(0,s.isArray)(h.params.acat)&&(P=P.concat(h.params.acat));var r=H(h);r&&y.imp.push(r)})),0!=y.imp.length){y.site.publisher.id=f.pubId.trim(),k=f.pubId.trim(),y.ext.wrapper={},y.ext.wrapper.profile=parseInt(f.profId)||T,y.ext.wrapper.version=parseInt(f.verId)||T,y.ext.wrapper.wiid=f.wiid||r.auctionId,y.ext.wrapper.wv="prebid_prebid_7.39.0",y.ext.wrapper.transactionId=f.transactionId,y.ext.wrapper.wp="pbjs";var z,N=r?u.S.get(r.bidderCode,"allowAlternateBidderCodes"):void 0;if(void 0!==N){if(y.ext.marketplace={},r&&1==N){var C=u.S.get(r.bidderCode,"allowedAlternateBidderCodes");(0,s.isArray)(C)?(C=C.map((function(e){return e.trim().toLowerCase()})).filter((function(e){return!!e})).filter(s.uniques),j=C.includes("*")?W:[].concat((0,a.Z)(j),(0,a.Z)(C))):j=W}y.ext.marketplace.allowedbidders=j.filter(s.uniques)}b=w.getDataFromLocalStorage("viewability-data")?JSON.parse(w.getDataFromLocalStorage("viewability-data")):{},Object.keys(b).length&&h.bidViewability&&(delete(z=b[B(y.site.page)]).lastViewStarted,0==z.totalViewTime&&delete z.totalViewTime,y.ext.bidViewability={adDomain:b[B(y.site.page)]}),y.user.gender=f.gender?f.gender.trim():T,y.user.geo={},y.user.geo.lat=_("lat",f.lat),y.user.geo.lon=_("lon",f.lon),y.user.yob=_("yob",f.yob),y.device.geo=y.user.geo,y.site.page=f.kadpageurl.trim()||y.site.page.trim(),y.site.domain=B(y.site.page),"object"===(0,n.Z)(c.vc.getConfig("content"))&&(y.site.content=c.vc.getConfig("content")),"object"===(0,n.Z)(c.vc.getConfig("device"))&&(y.device=Object.assign(y.device,c.vc.getConfig("device"))),y.device.language=y.device.language&&y.device.language.split("-")[0],(0,d.N)(y,"source.tid",f.transactionId),-1!==window.location.href.indexOf("pubmaticTest=true")&&(y.test=1),e[0].schain&&(0,d.N)(y,"source.ext.schain",e[0].schain),r&&r.gdprConsent&&((0,d.N)(y,"user.ext.consent",r.gdprConsent.consentString),(0,d.N)(y,"regs.ext.gdpr",r.gdprConsent.gdprApplies?1:0)),r&&r.uspConsent&&(0,d.N)(y,"regs.ext.us_privacy",r.uspConsent),!0===c.vc.getConfig("coppa")&&(0,d.N)(y,"regs.coppa",1),function(e,r){var t=(0,o.Z)(r,"0.userIdAsEids");(0,s.isArray)(t)&&t.length>0&&(0,d.N)(e,"user.eids",t)}(y,e);var A,U,M=r&&r.ortb2||{};if(M.site){var Z=y.site,X=Z.page,D=Z.domain,J=Z.ref;(0,s.mergeDeep)(y,{site:M.site}),y.site.page=X,y.site.domain=D,y.site.ref=J}if(M.user&&(0,s.mergeDeep)(y,{user:M.user}),M.bcat&&(E=E.concat(M.bcat)),null!==(t=M.device)&&void 0!==t&&t.sua)y.device.sua=null===(A=M.device)||void 0===A?void 0:A.sua;if(null!==(i=M.device)&&void 0!==i&&i.sua&&(y.device.sua=M.device.sua),null!==(p=M.ext)&&void 0!==p&&null!==(p=p.prebid)&&void 0!==p&&null!==(p=p.bidderparams)&&void 0!==p&&null!==(p=p[r.bidderCode])&&void 0!==p&&p.acat){var L=M.ext.prebid.bidderparams[r.bidderCode].acat;K(y,L)}else P.length&&K(y,P);if(function(e,r){(r=r.filter((function(e){return"string"==typeof e||((0,s.logWarn)(x+"bcat: Each category should be a string, ignoring category: "+e),!1)})).map((function(e){return e.trim()})).filter((function(e,r,t){if(e.length>3)return t.indexOf(e)===r;(0,s.logWarn)(x+"bcat: Each category should have a value of a length of more than 3 characters, ignoring category: "+e)}))).length>0&&((0,s.logWarn)(x+"bcat: Selected: ",r),e.bcat=r)}(y,E),null!==(m=r)&&void 0!==m&&m.timeout)y.tmax=r.timeout||c.vc.getConfig("bidderTimeout");else y.tmax=null===(U=window)||void 0===U||null===(U=U.PWT)||void 0===U||null===(U=U.versionDetails)||void 0===U?void 0:U.timeout;y.ext.epoch=(new Date).getTime(),"object"===(0,n.Z)(c.vc.getConfig("app"))&&(y.app=c.vc.getConfig("app"),y.app.publisher=y.site.publisher,y.app.ext=y.site.ext||T,"object"!==(0,n.Z)(y.app.content)&&(y.app.content=y.site.content||T),delete y.site);var V,F=(V=1e3,Math.floor(Math.random()*V)+1),G=I+"?source=ow-client&correlator="+F,Y={method:"POST",url:G,data:JSON.stringify(y),bidderRequest:r};if(!0===c.vc.getConfig("translatorGetRequest.enabled")&&Math.ceil(100*Math.random())<=(c.vc.getConfig("translatorGetRequest.testGroupPercentage")||0)){var $,Q,ee;if(r)(r=r||{}).nwMonitor={},r.nwMonitor.reqMethod="POST",r.nwMonitor.correlator=F,r.nwMonitor.requestUrlPayloadLength=G.length+JSON.stringify(y).length,null!==(Q=r)&&void 0!==Q&&null!==(Q=Q.bids)&&void 0!==Q&&Q.length&&(0,s.isArray)(null===(ee=r)||void 0===ee?void 0:ee.bids)&&r.bids.forEach((function(e){return e.correlator=F}));var re=c.vc.getConfig("translatorGetRequest.maxUrlLength")||63e3,te=c.vc.getConfig("translatorGetRequest.endPoint")||I,ae=(0,s.parseQueryStringParameters)({source:"ow-client",payload:JSON.stringify(y),correlator:F});(null===($=te+"?"+ae)||void 0===$?void 0:$.length)<=re&&(Y={method:"GET",url:te,data:ae,bidderRequest:r,payloadStr:JSON.stringify(y)},r.nwMonitor.reqMethod="GET",r.nwMonitor.requestUrlPayloadLength=te.length+1+ae.length)}return Y}},interpretResponse:function(e,r){var t=[],a=O;null!=r&&r.payloadStr&&(r.data=r.payloadStr);var i=JSON.parse(r.data),n=i.site&&i.site.ref?i.site.ref:"";try{var d=JSON.parse(r.data);if(e.body&&e.body.seatbid&&(0,s.isArray)(e.body.seatbid)&&(t=[],a=e.body.cur||a,e.body.seatbid.forEach((function(d){d.bid&&(0,s.isArray)(d.bid)&&d.bid.forEach((function(p){var c={requestId:p.impid,cpm:parseFloat((p.price||0).toFixed(2)),width:p.w,height:p.h,sspID:p.id||"",creativeId:p.crid||p.id,dealId:p.dealid,currency:a,netRevenue:true,ttl:300,referrer:n,ad:p.adm,pm_seat:d.seat||null,pm_dspid:p.ext&&p.ext.dspid?p.ext.dspid:null,partnerImpId:p.id||""};i.imp&&i.imp.length>0&&i.imp.forEach((function(e){if(p.impid===e.id)switch(function(e,r){if(e.ext&&null!=e.ext.bidtype)r.mediaType=U[e.ext.bidtype];else{(0,s.logInfo)(x+"bid.ext.bidtype does not exist, checking alternatively for mediaType");var t=e.adm,a="",i=new RegExp(/VAST\s+version/);if(t.indexOf('span class="PubAPIAd"')>=0)r.mediaType=l.Mk;else if(i.test(t))r.mediaType=l.pX;else try{(a=JSON.parse(t.replace(/\\/g,"")))&&a.native&&(r.mediaType=l.B5)}catch(e){(0,s.logWarn)(x+"Error: Cannot parse native reponse for ad response: "+t)}}}(p,c),c.mediaType){case l.Mk:break;case l.pX:c.width=p.hasOwnProperty("w")?p.w:e.video.w,c.height=p.hasOwnProperty("h")?p.h:e.video.h,c.vastXml=p.adm,function(e,r){var t,a,i;if(r.bidderRequest&&r.bidderRequest.bids){for(var n=0;n<r.bidderRequest.bids.length;n++)r.bidderRequest.bids[n].bidId===e.requestId&&(t=r.bidderRequest.bids[n].params,a=r.bidderRequest.bids[n].mediaTypes[l.pX].context,i=r.bidderRequest.bids[n].adUnitCode);a&&"outstream"===a&&t&&t.outstreamAU&&i&&(e.rendererCode=t.outstreamAU,e.renderer=A.newRenderer(e.rendererCode,i))}}(c,r),function(e,r,t){var a,i;if(null!=r&&null!==(a=r.ext)&&void 0!==a&&a.prebiddealpriority){var n=(0,s.getBidRequest)(e.requestId,[t.bidderRequest]),d=(0,o.Z)(n,"mediaTypes.video");if((null==d?void 0:d.context)==l.Oh){var p=(null==r||null===(i=r.ext)||void 0===i||null===(i=i.video)||void 0===i?void 0:i.duration)||(null==d?void 0:d.maxduration);e.video={context:l.Oh,durationSeconds:p,dealTier:r.ext.prebiddealpriority}}}}(c,p,r);break;case l.B5:!function(e,r){if(e.hasOwnProperty("adm")){var t="";try{t=JSON.parse(e.adm.replace(/\\/g,""))}catch(e){return void(0,s.logWarn)(x+"Error: Cannot parse native reponse for ad response: "+r.adm)}r.native={ortb:y({},t.native)},r.mediaType=l.B5,r.width||(r.width=0),r.height||(r.height=0)}}(p,c)}})),c.dealId&&(c.dealChannel="PMP"),c.dealId&&p.ext&&p.ext.deal_channel&&(c.dealChannel=C[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);var a=t||r.ext&&r.ext.advid;a&&(e.meta.advertiserId=a,e.meta.agencyId=a,e.meta.buyerId=a),r.adomain&&Q(r.adomain)&&(e.meta.advertiserDomains=r.adomain,e.meta.clickUrl=r.adomain[0],e.meta.brandId=r.adomain[0]),r.cat&&Q(r.cat)&&(e.meta.secondaryCatIds=r.cat,e.meta.primaryCatId=r.cat[0])}(c,p,d.seat),e.body.ext&&(c.ext=e.body.ext),d.ext&&d.ext.buyid&&(c.adserverTargeting={hb_buyid_pubmatic:d.ext.buyid}),p.ext&&p.ext.marketplace&&(c.bidderCode=p.ext.marketplace),t.push(c)}))}))),d&&d.imp&&d.imp.length>0){var p=d.imp.map((function(e){return e.id})),c=t.map((function(e){return e.requestId})).filter((function(e,r,t){return t.indexOf(e)===r}));p.filter((function(e){return!c.includes(e)})).forEach((function(e){d.imp.forEach((function(r){r.id===e&&t.push({requestId:r.id,width:0,height:0,ttl:300,ad:"",creativeId:0,netRevenue:true,cpm:0,currency:a,referrer:n})}))}))}}catch(e){(0,s.logError)(e)}return t},getUserSyncs:function(e,r,t,a){var i=""+k;return t&&(i+="&gdpr="+(t.gdprApplies?1:0),i+="&gdpr_consent="+encodeURIComponent(t.consentString||"")),a&&(i+="&us_privacy="+encodeURIComponent(a)),!0===c.vc.getConfig("coppa")&&(i+="&coppa=1"),e.iframeEnabled?[{type:"iframe",url:"https://ads.pubmatic.com/AdServer/js/user_sync.html?kdntuid=1&p="+i}]:[{type:"image",url:"https://image8.pubmatic.com/AdServer/ImgSync?p="+i}]},transformBidParams:function(e,r,t,a){return(0,s.convertTypes)({publisherId:"string",adSlot:"string"},e)}};(0,p.dX)(ee),window.owpbjs.installedModules.push("pubmaticBidAdapter")}},function(e){e.O(0,[56866],(function(){return r=15817,e(e.s=r);var r}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[31215],{13522:function(e,t,r){var a=r(20265),i=r(64358),n=r(24679),o=r(3193),d=r(4192),s=r(14699),u={code:"smartadserver",gvlid:45,aliases:["smart"],supportedMediaTypes:[n.Mk,n.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;var t=["asi","sid","hp","rid","name","domain"];return"".concat(e.ver,",").concat(e.complete,"!")+e.nodes.map((function(e){return t.map((function(t){return e[t]?encodeURIComponent(e[t]):""})).join(",")})).join("!")},adaptBannerSizes:function(e){return e.map((function(e){return{w:e[0],h:e[1]}}))},fillPayloadForVideoBidRequest:function(e,t,r){var a=t.playerSize[0];e.isVideo="instream"===t.context,e.mediaType=n.pX,e.videoData={videoProtocol:this.getProtocolForVideoBidRequest(t,r),playerWidth:a[0],playerHeight:a[1],adBreak:this.getStartDelayForVideoBidRequest(t,r)}},getProtocolForVideoBidRequest:function(e,t){return void 0!==t&&t.protocol?t.protocol:void 0!==e&&Array.isArray(e.protocols)?Math.max.apply(Math,e.protocols):null},getStartDelayForVideoBidRequest:function(e,t){if(void 0!==t&&t.startDelay)return t.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,t){return{method:"POST",url:(void 0!==t?t:"https://prg.smartadserver.com")+"/prebid/v1",data:JSON.stringify(e)}},buildRequests:function(e,t){var r=o.vc.getConfig("currency.adServerCurrency"),s=(0,a.Z)(t,"ortb2.user.data",o.vc.getAnyConfig("ortb2.user.data")),c=(0,a.Z)(t,"ortb2.site.content.data",o.vc.getAnyConfig("ortb2.site.content.data"));return e.reduce((function(e,p){var l={siteid:p.params.siteId,pageid:p.params.pageId,formatid:p.params.formatId,currencyCode:r,targeting:p.params.target&&""!==p.params.target?p.params.target:void 0,buid:p.params.buId&&""!==p.params.buId?p.params.buId:void 0,appname:p.params.appName&&""!==p.params.appName?p.params.appName:void 0,ckid:p.params.ckId||0,tagId:p.adUnitCode,pageDomain:t&&t.refererInfo&&t.refererInfo.page?t.refererInfo.page:void 0,transactionId:p.transactionId,timeout:o.vc.getConfig("bidderTimeout"),bidId:p.bidId,prebidVersion:"7.39.0",schain:u.serializeSupplyChain(p.schain),sda:s,sdc:c};t&&(t.gdprConsent&&(l.addtl_consent=t.gdprConsent.addtlConsent,l.gdpr_consent=t.gdprConsent.consentString,l.gdpr=t.gdprConsent.gdprApplies),t.gppConsent&&(l.gpp=t.gppConsent.gppString,l.gpp_sid=t.gppConsent.applicableSections),t.uspConsent&&(l.us_privacy=t.uspConsent)),p&&p.userId&&(l.eids=(0,d.HQ)(p.userId)),t&&t.uspConsent&&(l.us_privacy=t.uspConsent);var f=(0,a.Z)(p,"mediaTypes.banner"),m=(0,a.Z)(p,"mediaTypes.video"),g=m&&("instream"===m.context||"outstream"===m.context);if(f||g){var y;if(f){if(y=n.Mk,l.sizes=u.adaptBannerSizes(f.sizes),g){var v=(0,i.deepClone)(l);u.fillPayloadForVideoBidRequest(v,m,p.params.video),v.bidfloor=p.params.bidfloor||u.getBidFloor(p,r,n.pX),e.push(u.createServerRequest(v,p.params.domain))}}else y=n.pX,u.fillPayloadForVideoBidRequest(l,m,p.params.video);l.bidfloor=p.params.bidfloor||u.getBidFloor(p,r,y),e.push(u.createServerRequest(l,p.params.domain))}else e.push({});return e}),[])},interpretResponse:function(e,t){var r=[],a=e.body;try{if(a&&!a.isNoAd&&(a.ad||a.adUrl)){var o=JSON.parse(t.data),d={requestId:o.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:[]}};o.mediaType===n.pX?(d.mediaType=n.pX,d.vastUrl=a.adUrl,d.vastXml=a.ad,d.content=a.ad):(d.adUrl=a.adUrl,d.ad=a.ad),r.push(d)}}catch(e){(0,i.logError)("Error while parsing smart server response",e)}return r},getBidFloor:function(e,t,r){if(!(0,i.isFn)(e.getFloor))return 0;var a=e.getFloor({currency:t||"USD",mediaType:r,size:"*"});return(0,i.isPlainObject)(a)&&!isNaN(a.floor)?a.floor:0},getUserSyncs:function(e,t){var r=[];return e.iframeEnabled&&t.length>0&&null!=t[0].body.cSyncUrl?r.push({type:"iframe",url:t[0].body.cSyncUrl}):e.pixelEnabled&&t.length>0&&void 0!==t[0].body.dspPixels&&t[0].body.dspPixels.forEach((function(e){r.push({type:"image",url:e})})),r}};(0,s.dX)(u),window.owpbjs.installedModules.push("smartadserverBidAdapter")},4192:function(e,t,r){r.d(t,{HQ:function(){return d},Pv:function(){return s},UR:function(){return n}});var a=r(64358),i=r(20265),n={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var t=(0,a.pick)(e,["h1","h2","h3"]);if(Object.keys(t).length)return t}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1,getValue:function(e){return e.RESULT}},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var t="";return e&&e.ext&&e.ext.DeviceID&&(t=e.ext.DeviceID),t},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=(0,a.pick)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(t).length)return t}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(e){var t;return null!=e&&null!==(t=e.ext)&&void 0!==t&&t.ssp?"".concat(e.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1,getValue:function(e){return(0,a.isPlainObject)(e)?e.id:e}},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return void 0===e.snowflake.id?e.snowflake:e.snowflake.id},source:"novatiq.com"},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},czechAdId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:"paf",atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var t=e.identifiers[0];return{version:t.version,type:t.type,source:t.source}}}}};function o(e,t){var r=n[t];if(r&&e){var i={};i.source=(0,a.isFn)(r.getSource)?r.getSource(e):r.source;var o=(0,a.isFn)(r.getValue)?r.getValue(e):e;if((0,a.isStr)(o)){var d={id:o,atype:r.atype};if((0,a.isFn)(r.getUidExt)){var s=r.getUidExt(e);s&&(d.ext=s)}if(i.uids=[d],(0,a.isFn)(r.getEidExt)){var u=r.getEidExt(e);u&&(i.ext=u)}return i}}return null}function d(e){var t=[],r=function(r){if(e.hasOwnProperty(r))if("pubProvidedId"===r)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[r]))e[r].forEach((function(e,a,i){var n=o(e,r);n&&t.push(n)}));else{var a=o(e[r],r);a&&t.push(a)}};for(var a in e)r(a);return t}function s(e){var t=[];return e.filter((function(e){return(0,a.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(r){(0,i.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,i.Z)(n,r+".source")&&t.push({source:n[r].source,bidders:e.config.bidders})}))})),t}}},function(e){e.O(0,[56866],(function(){return t=13522,e(e.s=t);var t}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[73693],{28649:function(e,r,t){var o=t(4942),n=t(71002),i=t(93324),a=t(14699),d=t(24679),u=t(3193),l=t(64358),p=t(20265),s=t(15164),c=t(48928);function g(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function f(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?g(Object(t),!0).forEach((function(r){(0,o.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):g(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var b="taboola",v="USD",m="https://display.bidder.taboola.com/OpenRTB/TaboolaHB/auction",h="user-id",y="taboola global:".concat(h),w={storageManager:(0,s.df)({gvlid:42,bidderCode:b}),getUserId:function(){var e=w.getFromLocalStorage,r=w.getFromCookie,t=w.getFromTRC;try{return e()||r()||t()}catch(e){return 0}},getFromCookie:function(){var e=w.storageManager,r=e.cookiesAreEnabled,t=e.getCookie;if(r()){var o=t("trc_cookie_storage"),n=w.getCookieDataByKey(o,h);if(n)return n}},getCookieDataByKey:function(e,r){var t=e.split("".concat(r,"=")),o=(0,i.Z)(t,2)[1];return void 0===o?"":o},getFromLocalStorage:function(){var e=w.storageManager,r=e.hasLocalStorage,t=e.localStorageIsEnabled,o=e.getDataFromLocalStorage;if(r()&&t())return o(y)},getFromTRC:function(){return window.TRC?window.TRC.user_id:0}},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null==e?void 0:e.page)||(0,l.getWindowSelf)().location.href},C=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(null==e?void 0:e.ref)||(0,l.getWindowSelf)().document.referrer},j={supportedMediaTypes:[d.Mk],gvlid:42,code:b,isBidRequestValid:function(e){return!!(e.sizes&&e.params&&e.params.publisherId&&e.params.tagId)},buildRequests:function(e,r){var t,o,a,l=(0,i.Z)(e,1)[0],s=r.refererInfo,c=r.gdprConsent,g=void 0===c?{}:c,f=r.uspConsent,b=l.params.publisherId,h=function(e,r,t){var o,n,i,a,d=e.publisherId,u=O,l=C;return{id:d,name:d,domain:(null==t||null===(o=t.site)||void 0===o?void 0:o.domain)||(null==r?void 0:r.domain)||(null===(n=window.location)||void 0===n?void 0:n.host),page:(null==t||null===(i=t.site)||void 0===i?void 0:i.page)||u(r),ref:(null==t||null===(a=t.site)||void 0===a?void 0:a.ref)||l(r),publisher:{id:d},content:{language:navigator.language}}}(l.params,s,r.ortb2),y={ua:navigator.userAgent},j=function(e){return e.map((function(e,r){var t=e.params,o=t.tagId,i={id:r+1,banner:I(e,t.position),tagid:o};if("function"==typeof e.getFloor){var a=e.getFloor({currency:v,mediaType:d.Mk,size:"*"});"object"!==(0,n.Z)(a)||a.currency!==v||isNaN(parseFloat(a.floor))||(i.bidfloor=parseFloat(a.floor),i.bidfloorcur=v)}else{var u=e.params,l=u.bidfloor,s=void 0===l?null:l,c=u.bidfloorcur,g=void 0===c?v:c;i.bidfloor=s,i.bidfloorcur=g}return i.ext={gpid:(0,p.Z)(e,"ortb2Imp.ext.gpid")},i}))}(e),S={buyeruid:w.getUserId(g,f),ext:{}},x={coppa:0,ext:{}};g.gdprApplies&&(S.ext.consent=r.gdprConsent.consentString,x.ext.gdpr=1),f&&(x.ext.us_privacy=f),null!==(t=r.ortb2)&&void 0!==t&&null!==(t=t.regs)&&void 0!==t&&t.gpp&&(x.ext.gpp=r.ortb2.regs.gpp,x.ext.gpp_sid=r.ortb2.regs.gpp_sid),u.vc.getConfig("coppa")&&(x.coppa=1);var R=r.ortb2||{bcat:[],badv:[],wlang:[]},k={id:r.auctionId,imp:j,site:h,device:y,source:{fd:1},tmax:r.timeout,bcat:R.bcat||l.params.bcat||[],badv:R.badv||l.params.badv||[],wlang:R.wlang||l.params.wlang||[],user:S,regs:x,ext:{pageType:(null==R||null===(o=R.ext)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.pageType)||(null==R||null===(a=R.ext)||void 0===a||null===(a=a.data)||void 0===a?void 0:a.section)||l.params.pageType}};return{url:[m,b].join("/"),method:"POST",data:JSON.stringify(k),bids:e,options:{withCredentials:!1}}},interpretResponse:function(e,r){var t=r.bids;if(!t)return[];var o=function(e){var r=e.body;if(!r)return[];var t=r.seatbid,o=r.cur;if(!t.length||!t[0].bid||!t[0].bid.length)return[];return{bidResponses:t[0].bid,cur:o}}(e),n=o.bidResponses,i=o.cur;return n?n.map((function(e){return function(e,r,t){if(!t)return;var o=t.price,n=t.nurl,i=t.crid,a=t.adm,u=t.w,l=t.h,p=t.exp,s=t.adomain,c=t.meta,g=void 0===c?{}:c,f=e[t.impid-1].bidId;s&&s.length>0&&(g.advertiserDomains=s);return{requestId:f,ttl:p,mediaType:d.Mk,cpm:o,creativeId:i,currency:r,ad:a,width:u,height:l,meta:g,nurl:n,netRevenue:!0}}(t,i,e)})).filter(Boolean):[]},onBidWon:function(e){if(e.nurl){var r=(0,l.replaceAuctionPrice)(e.nurl,e.originalCpm);(0,c.h)(r)}},getUserSyncs:function(e,r,t,o,n){var i=[],a=[];return t&&a.push("gdpr=".concat(Number(t.gdprApplies&&1),"&gdpr_consent=").concat(encodeURIComponent(t.consentString||""))),o&&a.push("us_privacy="+encodeURIComponent(o)),n&&a.push("gpp="+encodeURIComponent(n)),e.pixelEnabled&&i.push({type:"image",url:"https://trc.taboola.com/sg/prebidJS/1/cm"+(a.length?"?"+a.join("&"):"")}),i}};function I(e,r){return f(f({},{format:e.sizes.map((function(e){return{w:e[0],h:e[1]}}))}),{},{pos:r})}(0,a.dX)(j),window.owpbjs.installedModules.push("taboolaBidAdapter")}},function(e){e.O(0,[56866],(function(){return r=28649,e(e.s=r);var r}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[88029],{76401:function(e,t,r){var n=r(4942),i=r(64358),a=r(20265),o=r(14699),d=r(15164);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u="teads",c=12,g=11,f=0,l=22,I="_tfpvi",m=(0,d.df)({gvlid:132,bidderCode:u}),v={code:u,gvlid:132,supportedMediaTypes:["video","banner"],isBidRequestValid:function(e){var t=!1;if(void 0!==e.params){var r=S((0,i.getValue)(e.params,"placementId")),n=S((0,i.getValue)(e.params,"pageId"));t=r&&n}return t||(0,i.logError)("Teads placementId and pageId parameters are required. Bid aborted."),t},buildRequests:function(e,t){var r,n=e.map(h),i=p(p({referrer:y(t),pageReferrer:document.referrer,networkBandwidth:(r=window.navigator,r&&r.connection&&r.connection.downlink>=0?r.connection.downlink.toString():""),timeToFirstByte:b(window),data:n,deviceWidth:screen.width,hb_version:"7.39.0"},function(e){var t={unifiedId2:"uid2.id",liveRampId:"idl_env",lotamePanoramaId:"lotamePanoramaId",id5Id:"id5id.uid",criteoId:"criteoId",yahooConnectId:"connectId",quantcastId:"quantcastId",epsilonPublisherLinkId:"publinkId",publisherFirstPartyViewerId:"pubcid",merkleId:"merkleId.id",kinessoId:"kpuid"},r={};for(var n in t){var i=t[n],o=(0,a.Z)(e,"0.userId.".concat(i));o&&(r[n]=o)}return r}(e)),function(e){var t=(0,a.Z)(e,"0.userId.teadsId");if(t)return{firstPartyCookieTeadsId:t};if(m.cookiesAreEnabled(null)){var r=m.getCookie(I,null);if(r)return{firstPartyCookieTeadsId:r}}return{}}(e)),o=e[0];o.schain&&(i.schain=o.schain);var d=t.gdprConsent;if(t&&d){var s="boolean"==typeof d.gdprApplies,u="string"==typeof d.consentString,v=s?function(e,t,r){var n=c;e?function(e,t){return e&&1===t?e.hasGlobalScope||e.hasGlobalConsent:!(!e||2!==t)&&!e.isServiceSpecific}(t,r)&&(n=g):n=f;return n}(d.gdprApplies,d.vendorData):l;i.gdpr_iab={consent:u?d.consentString:"",status:v,apiVersion:d.apiVersion}}t&&t.uspConsent&&(i.us_privacy=t.uspConsent);var S=(0,a.Z)(o,"ortb2.device.sua");return S&&(i.userAgentClientHints=S),{method:"POST",url:"https://a.teads.tv/hb/bid-request",data:JSON.stringify(i)}},interpretResponse:function(e,t){var r=[];return(e=e.body).responses&&e.responses.forEach((function(e){var t={cpm:e.cpm,width:e.width,height:e.height,currency:e.currency,netRevenue:!0,ttl:e.ttl,meta:{advertiserDomains:e&&e.adomain?e.adomain:[]},ad:e.ad,requestId:e.bidId,creativeId:e.creativeId,placementId:e.placementId};e.dealId&&(t.dealId=e.dealId),r.push(t)})),r}};function y(e){var t="";return e&&e.refererInfo&&e.refererInfo.page&&(t=e.refererInfo.page),t}function b(e){var t=e.performance||e.webkitPerformance||e.msPerformance||e.mozPerformance,r=t&&"function"==typeof t.getEntriesByType&&"[object Function]"===Object.prototype.toString.call(t.getEntriesByType)&&t.getEntriesByType("navigation")[0]&&t.getEntriesByType("navigation")[0].responseStart&&t.getEntriesByType("navigation")[0].requestStart&&t.getEntriesByType("navigation")[0].responseStart>0&&t.getEntriesByType("navigation")[0].requestStart>0&&Math.round(t.getEntriesByType("navigation")[0].responseStart-t.getEntriesByType("navigation")[0].requestStart);if(r)return r.toString();var n=t&&t.timing.responseStart&&t.timing.requestStart&&t.timing.responseStart>0&&t.timing.requestStart>0&&t.timing.responseStart-t.timing.requestStart;return n?n.toString():""}function h(e){var t,r={},n=(0,i.getValue)(e.params,"placementId"),o=(0,i.getValue)(e.params,"pageId"),d=(0,a.Z)(e,"ortb2Imp.ext.gpid");return r.sizes=function(e){return(0,i.parseSizesInput)(function(e){var t=(0,a.Z)(e,"mediaTypes.video.playerSize"),r=(0,a.Z)(e,"mediaTypes.video.sizes"),n=(0,a.Z)(e,"mediaTypes.banner.sizes");return(0,i.isArray)(n)||(0,i.isArray)(t)||(0,i.isArray)(r)?[n,r,t].reduce((function(e,t){return(0,i.isArray)(t)&&((0,i.isArray)(t[0])?t.forEach((function(t){e.push(t)})):e.push(t)),e}),[]):e.sizes}(e))}(e),r.bidId=(0,i.getBidIdParameter)("bidId",e),r.bidderRequestId=(0,i.getBidIdParameter)("bidderRequestId",e),r.placementId=parseInt(n,10),r.pageId=parseInt(o,10),r.adUnitCode=((t=(t=(0,i.getBidIdParameter)("adUnitCode",e)).toString())&&t.indexOf("@teads")>-1&&(t=t.split("@teads")[0]),t),r.adUnitCode=(0,i.getBidIdParameter)("adUnitCode",e),r.auctionId=(0,i.getBidIdParameter)("auctionId",e),r.transactionId=(0,i.getBidIdParameter)("transactionId",e),d&&(r.gpid=d),r}function S(e){return parseInt(e)>0}(0,o.dX)(v),window.owpbjs.installedModules.push("teadsBidAdapter")}},function(e){e.O(0,[56866],(function(){return t=76401,e(e.s=t);var t}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[34579],{98709:function(r,e,t){var n=t(64358),o=t(48928),i=t(92797),d="unifiedId",u={name:d,gvlid:21,decode:function(r){return r&&"string"==typeof r.TDID?{tdid:r.TDID}:void 0},getId:function(r){var e=r&&r.params||{};if(e&&("string"==typeof e.partner||"string"==typeof e.url)){var t=e.url||"https://match.adsrvr.org/track/rid?ttd_pid=".concat(e.partner,"&fmt=json");return{callback:function(r){var e={success:function(e){var t;if(e)try{t=JSON.parse(e)}catch(r){(0,n.logError)(r)}r(t)},error:function(e){(0,n.logError)("".concat(d,": ID fetch encountered an error"),e),r()}};(0,o.h)(t,e,void 0,{method:"GET",withCredentials:!0})}}}(0,n.logError)("User ID - unifiedId submodule requires either partner or url to be defined")}};(0,i.Bx)("userId",u),window.owpbjs.installedModules.push("unifiedIdSystem")}},function(r){r.O(0,[56866],(function(){return e=98709,r(r.s=e);var e}));r.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[9215],{4192:function(e,n,t){t.d(n,{HQ:function(){return s},Pv:function(){return c},UR:function(){return i}});var r=t(64358),o=t(20265),i={growthCodeId:{getValue:function(e){return e.gc_id},source:"growthcode.io",atype:1,getUidExt:function(e){var n=(0,r.pick)(e,["h1","h2","h3"]);if(Object.keys(n).length)return n}},trustpid:{source:"trustpid.com",atype:1,getValue:function(e){return e}},intentIqId:{source:"intentiq.com",atype:1,getValue:function(e){return e.RESULT}},naveggId:{source:"navegg.com",atype:1},justId:{source:"justtag.com",atype:1},pubcid:{source:"pubcid.org",atype:1},tdid:{source:"adserver.org",atype:1,getUidExt:function(){return{rtiPartner:"TDID"}}},id5id:{getValue:function(e){return e.uid},source:"id5-sync.com",atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:"flashtalking.com",atype:1,getValue:function(e){var n="";return e&&e.ext&&e.ext.DeviceID&&(n=e.ext.DeviceID),n},getUidExt:function(e){return e&&e.ext}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var n=(0,r.pick)(e,["ibaOptout","ccpaOptout"]);if(Object.keys(n).length)return n}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{atype:3,getSource:function(e){var n;return null!=e&&null!==(n=e.ext)&&void 0!==n&&n.ssp?"".concat(e.ext.ssp,".merkleinc.com"):"merkleinc.com"},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:"netid.de",atype:1},IDP:{source:"zeotap.com",atype:1,getValue:function(e){return(0,r.isPlainObject)(e)?e.id:e}},hadronId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return void 0===e.snowflake.id?e.snowflake:e.snowflake.id},source:"novatiq.com"},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3},adtelligentId:{source:"adtelligent.com",atype:3},amxId:{source:"amxdt.net",atype:1},publinkId:{source:"epsilon.com",atype:3},kpuid:{source:"kpuid.com",atype:3},imppid:{source:"ppid.intimatemerger.com",atype:1},imuid:{source:"intimatemerger.com",atype:1},connectId:{source:"yahoo.com",atype:3},qid:{source:"adquery.io",atype:1},dacId:{source:"impact-ad.jp",atype:1},"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}},tncid:{source:"thenewco.it",atype:3},gravitompId:{source:"gravito.net",atype:1},czechAdId:{source:"czechadid.cz",atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:"paf",atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){var n=e.identifiers[0];return{version:n.version,type:n.type,source:n.source}}}}};function a(e,n){var t=i[n];if(t&&e){var o={};o.source=(0,r.isFn)(t.getSource)?t.getSource(e):t.source;var a=(0,r.isFn)(t.getValue)?t.getValue(e):e;if((0,r.isStr)(a)){var s={id:a,atype:t.atype};if((0,r.isFn)(t.getUidExt)){var c=t.getUidExt(e);c&&(s.ext=c)}if(o.uids=[s],(0,r.isFn)(t.getEidExt)){var u=t.getEidExt(e);u&&(o.ext=u)}return o}}return null}function s(e){var n=[],t=function(t){if(e.hasOwnProperty(t))if("pubProvidedId"===t)n=n.concat(e.pubProvidedId);else if(Array.isArray(e[t]))e[t].forEach((function(e,r,o){var i=a(e,t);i&&n.push(i)}));else{var r=a(e[t],t);r&&n.push(r)}};for(var r in e)t(r);return n}function c(e){var n=[];return e.filter((function(e){return(0,r.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).forEach((function(e){Object.keys(e.idObj).forEach((function(t){(0,o.Z)(e,"config.bidders")&&Array.isArray(e.config.bidders)&&(0,o.Z)(i,t+".source")&&n.push({source:i[t].source,bidders:e.config.bidders})}))})),n}},34727:function(e,n,t){var r,o,i,a,s,c,u,d=t(71002),l=t(34614),f=t(3193),g=t(52021),p=t(78640),h=t(51039),v=t(5644),m=t(92797),y=t(4192),w=t(15164),b=t(64358),I=t(20265),S=t(96475),E=t(68214),P=t.n(E),O=t(62783),_=t.n(O),D=t(52153),k=t.n(D),A=t(7563),H=t(68792),x=t(17673),j=t(26372),T=t(99128),R=t(38196),U="User ID",B="cookie",C="html5",W={name:"_pbjs_userid_consent_data",expires:30},F="_pbjs_id_optout",L=(0,w.eA)("userid"),V=!1,z=[],M=!1,Z=[],q=[],N={},G=function(){return null==u&&(u=(0,T.V6)()),u};function J(e){return G().fork().renameWith((function(n){return["userId.mod.".concat(n),"userId.mods.".concat(e,".").concat(n)]}))}var Q=[],Y=[];function $(e){var n="function"==typeof e.submodule.domainOverride?e.submodule.domainOverride():null,t=e.config.storage.name;return function(e,r,o){L.setCookie(t+(e||""),r,o,"Lax",n)}}function K(e,n){var t=e.config.storage;try{var r=new Date(Date.now()+864e5*t.expires).toUTCString(),o=(0,b.isPlainObject)(n)?JSON.stringify(n):n;if(t.type===B){var i=$(e);i(null,o,r),"number"==typeof t.refreshInSeconds&&i("_last",(new Date).toUTCString(),r)}else t.type===C&&(L.setDataInLocalStorage("".concat(t.name,"_exp"),r),L.setDataInLocalStorage(t.name,encodeURIComponent(o)),"number"==typeof t.refreshInSeconds&&L.setDataInLocalStorage("".concat(t.name,"_last"),(new Date).toUTCString()))}catch(e){(0,b.logError)(e)}}function X(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=t?"".concat(e.name,"_").concat(t):e.name;try{if(e.type===B)n=L.getCookie(r);else if(e.type===C){var o=L.getDataFromLocalStorage("".concat(e.name,"_exp"));""===o?n=L.getDataFromLocalStorage(r):o&&new Date(o).getTime()-Date.now()>0&&(n=decodeURIComponent(L.getDataFromLocalStorage(r)))}"string"==typeof n&&"{"===n.trim().charAt(0)&&(n=JSON.parse(n))}catch(e){(0,b.logError)(e)}return n}function ee(e){var n={consentString:"",gdprApplies:!1,apiVersion:0};return e&&(n.consentString=e.consentString,n.gdprApplies=e.gdprApplies,n.apiVersion=e.apiVersion),(0,b.cyrb53Hash)(JSON.stringify(n))}function ne(e,n){n=G().fork().startTiming("userId.callbacks.total").stopBefore(n);var t=(0,b.delayExecution)((function(){clearTimeout(o),n()}),e.length);e.forEach((function(e){var n=J(e.submodule.name).startTiming("callback").stopBefore(t);try{e.callback((function(t){t?(e.config.storage&&K(e,t),e.idObj=e.submodule.decode(t,e.config),Oe(e.idObj)):(0,b.logInfo)("".concat(U,": ").concat(e.submodule.name," - request id responded with an empty value")),n()}))}catch(t){(0,b.logError)("Error in userID module '".concat(e.submodule.name,"':"),t),n()}e.callback=void 0}))}function te(e,n){[e].some((function(e){return!Array.isArray(e)||!e.length}))||e.forEach((function(e){e.bids&&(0,b.isArray)(e.bids)&&e.bids.forEach((function(e){var t=function(e,n){return Array.isArray(e)&&e.length&&n?e.filter((function(e){return!e.config.bidders||!(0,b.isArray)(e.config.bidders)||(0,l.q9)(e.config.bidders,n)})).filter((function(e){return(0,b.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,n){return Object.keys(n.idObj).forEach((function(t){e[t]=n.idObj[t]})),e}),{}):{}}(n,e.bidder);Object.keys(t).length&&(e.userId=t,e.userIdAsEids=(0,y.HQ)(t))}))}))}var re,oe={};function ie(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ce()||[],n=s&&e.find((function(e){return e.source===s}));if(n&&"string"==typeof(0,I.Z)(n,"uids.0.id")){var t=n.uids[0].id.replace(/[\W_]/g,"");if(t.length>=32&&t.length<=150)return t;(0,b.logWarn)("User ID - Googletag Publisher Provided ID for ".concat(s," is not between 32 and 150 characters - ").concat(t))}}var ae=(0,T.g3)("userId",(function(e,n){var t=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.delay,s=void 0===i?H.Z.timeout:i,c=o.getIds,u=void 0===c?pe:c;H.Z.race([u().catch((function(){return null})),s(a)]).then((function(){if(M&&void 0!==r)for(var o in r)z.push(r[o]);te(n.adUnits||(0,p.R)().adUnits,r),G().join((0,T.Bf)(n.metrics),{propagate:!1,includeGroups:!0}),e.call(t,n)}))}));function se(){return function(e){return Array.isArray(e)&&e.length?e.filter((function(e){return(0,b.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length})).reduce((function(e,n){return Object.keys(n.idObj).forEach((function(t){e[t]=n.idObj[t]})),e}),{}):{}}(r)}function ce(){return(0,y.HQ)(se())}function ue(e){return(0,y.HQ)(function(e,n){if(!Array.isArray(e)||!e.length)return{};var t=e.filter((function(e){var t;return(0,b.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length&&(null===(t=y.UR[Object.keys(e.idObj)[0]])||void 0===t?void 0:t.source)===n}));return(0,b.isEmpty)(t)?[]:t[0].idObj}(r,e))[0]}function de(e,n,t){return re().then((function(){var r={};if((0,b.isFn)(t)){(0,b.logInfo)("".concat(U," - Getting encrypted signal from custom function : ").concat(t.name," & source : ").concat(e," "));var o=t(e);r[e]=o?le(o):null}else{var i=ue(e);(0,b.logInfo)("".concat(U," - Getting encrypted signal for eids :").concat(JSON.stringify(i))),(0,b.isEmpty)(i)||(r[i.source]=!0===n?le(i):i.uids[0].id)}return(0,b.logInfo)("".concat(U," - Fetching encrypted eids: ").concat(r[e])),r[e]}))}function le(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t="";if(1===n)t="object"===(0,d.Z)(e)?window.btoa(JSON.stringify(e)):window.btoa(e);return"".concat(n,"||").concat(t)}function fe(){if(window.googletag){window.googletag.encryptedSignalProviders=window.googletag.encryptedSignalProviders||[];var e=f.vc.getConfig("userSync.encryptedSignalSources");if(e){var n=e.registerDelay||0;setTimeout((function(){e.sources&&e.sources.forEach((function(e){var n=e.source,t=e.encrypt,r=e.customFunc;n.forEach((function(e){window.googletag.encryptedSignalProviders.push({id:e,collectorFunction:function(){return de(e,t,r)}})}))}))}),n)}else(0,b.logWarn)("".concat(U," - ESP : encryptedSignalSources config not defined under userSync Object"))}}function ge(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).submoduleNames,n=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;return void 0!==t&&(M=t),re({refresh:!0,submoduleNames:e}).then((function(){return n&&(0,b.isFn)(n)&&n(),se()}))}function pe(){return re().then((function(){return se()}),(function(e){return e===oe?Promise.resolve().then(pe):((0,b.logError)("Error initializing userId",e),H.Z.reject(e))}))}function he(e){if((0,b.isEmpty)(e))N={};else{var n={};e.pubProvidedEmail&&(Se(e.pubProvidedEmail,n),e.pubProvidedEmailHash=n,delete e.pubProvidedEmail),Object.assign(N,e),(window.IHPWT&&window.IHPWT.loginEvent||window.PWT&&window.PWT.loginEvent)&&(me(),(0,p.R)().refreshUserIds({submoduleNames:Q}),function(e){var n=0,t=ye()||{};for(n in e)switch(e[n]){case"zeotapIdPlus":if(window.zeotap&&(0,b.isFn)(window.zeotap.callMethod)){var r={email:t.emailHash.SHA256};window.zeotap.callMethod("setUserIdentities",r,!0)}break;case"identityLink":if(window.ats){var o=window.ats.outputCurrentConfiguration();o.emailHashes=t.emailHash?[t.emailHash.MD5,t.emailHash.SHA1,t.emailHash.SHA256]:void 0,window.ats.start&&(0,b.isFn)(window.ats.start)&&window.ats.start(o),window.ats.setAdditionalData&&(0,b.isFn)(window.ats.setAdditionalData)&&window.ats.setAdditionalData({type:"emailHashes",id:o.emailHashes})}break;case"publinkId":if(window.conversant&&(0,b.isFn)(window.conversant.launch)){var i=window.conversant.getLauncherObject();i.emailHashes=t.emailHash?[t.emailHash.MD5,t.emailHash.SHA256]:void 0,window.conversant.launch("publink","start",i)}}}(Y),window.IHPWT&&(window.IHPWT.loginEvent=!1),window.PWT&&(window.PWT.loginEvent=!1))}}function ve(e){var n=v.Ge[e.name];if(n){var t=ye()||{},r=(window.IHPWT&&window.IHPWT.ssoEnabled||window.PWT&&window.PWT.ssoEnabled||!1)&&t.emailHash?t.emailHash:t.pubProvidedEmailHash?t.pubProvidedEmailHash:void 0;n.forEach((function(n){e.params[n.key]="id5Id"===e.name?function(e,n){var t,r={1:e&&e.SHA256||void 0,5:n?btoa(n):void 0,12:null===(t=navigator)||void 0===t?void 0:t.userAgent},o=Object.keys((0,b.skipUndefinedValues)(r)).map((function(e){return r[e]&&e+"="+r[e]})).join("&");return btoa(o)}(r,t.userID):r?r[n.hashType]:void 0}))}}function me(){var e=window.IHPWT&&window.IHPWT.OVERRIDES_PRIMARY_MODULES||window.PWT&&window.PWT.OVERRIDES_PRIMARY_MODULES||v.wg.X,n=window.IHPWT&&window.IHPWT.OVERRIDES_SCRIPT_BASED_MODULES||window.PWT&&window.PWT.OVERRIDES_SCRIPT_BASED_MODULES||v.wg.e;for(var t in Z){var r=Z[t].name;e.indexOf(r)>=0&&(!Q.includes(r)&&Q.push(r),ve(Z[t])),n.indexOf(r)>=0&&!Y.includes(r)&&Y.push(r)}}function ye(){return N}function we(e,n){var t={};"connected"===n.status?window.FB&&window.FB.api("/me?fields=email&access_token="+n.authResponse.accessToken,(function(n){(0,b.logInfo)("SSO - Data received from FB API"),n.error?(0,b.logInfo)("SSO - User information could not be retrieved by facebook api [",n.error.message,"]"):((0,b.logInfo)("SSO - Information successfully retrieved by Facebook API."),Se(n.email||void 0,t),e.setUserIdentities({emailHash:t}))})):(0,b.logInfo)("SSO - Error fetching login information from facebook")}function be(e){var n,t=this,r={};if(!(window.IHPWT&&!window.IHPWT.ssoEnabled||window.PWT&&!window.PWT.ssoEnabled))switch(e.provider){case void 0:case"facebook":"facebook"===e.provider?window.FB&&window.FB.getLoginStatus((function(e){we(t,e)}),!0):window.FB&&window.FB.Event.subscribe("auth.statusChange",(function(e){we(t,e)}));break;case"google":n=e.googleUserObject.getBasicProfile().getEmail()||void 0,(0,b.logInfo)("SSO - Information successfully retrieved by Google API"),Se(n,r),t.setUserIdentities({emailHash:r})}}function Ie(){this.setUserIdentities({})}function Se(e,n){e=void 0!==e?e.trim().toLowerCase():"",new RegExp(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/).test(e)&&(n.MD5=P()(e).toString(),n.SHA1=_()(e).toString(),n.SHA256=k()(e).toString())}var Ee=(0,m.z3)("sync",(function(e,n){return{userIdModules:e,hasValidated:n&&n.hasValidated}}),"validateGdprEnforcement");function Pe(e,n,t,r){if(e.config.storage){var o,i=X(e.config.storage),a=!1;if("number"==typeof e.config.storage.refreshInSeconds){var s=new Date(X(e.config.storage,"last"));a=s&&Date.now()-s.getTime()>1e3*e.config.storage.refreshInSeconds}!i||a||r||!function(e,n){return null!=e&&e===ee(n)}(t,n)?o=e.submodule.getId(e.config,n,i):"function"==typeof e.submodule.extendId&&(o=e.submodule.extendId(e.config,n,i)),(0,b.isPlainObject)(o)&&(o.id&&(K(e,o.id),i=o.id),"function"==typeof o.callback&&(e.callback=o.callback)),i&&(e.idObj=e.submodule.decode(i,e.config))}else if(e.config.value)e.idObj=e.config.value;else{var c=e.submodule.getId(e.config,n,void 0);(0,b.isPlainObject)(c)&&("function"==typeof c.callback&&(e.callback=c.callback),c.id&&(e.idObj=e.submodule.decode(c.id,e.config)))}Oe(e.idObj)}function Oe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:se();if(e&&s){var n=ie((0,y.HQ)(e));n&&((0,b.isGptPubadsDefined)()?window.googletag.pubads().setPublisherProvidedId(n):(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){window.googletag.pubads().setPublisherProvidedId(n)}))))}}function _e(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return G().fork().measureTime("userId.init.modules",(function(){if(!n.length)return[];var o=function(){var e=[],n=!1;L.localStorageIsEnabled()&&(e.push(C),L.getDataFromLocalStorage(F)&&((0,b.logInfo)("".concat(U," - opt-out localStorage found, storage disabled")),n=!0));L.cookiesAreEnabled()&&(e.push(B),L.getCookie(F)&&((0,b.logInfo)("".concat(U," - opt-out cookie found, storage disabled")),n=!0));return new Set(n?[]:e)}();if(!(n=n.filter((function(e){return!e.config.storage||o.has(e.config.storage.type)}))).length)return(0,b.logWarn)("".concat(U," - no ID module is configured for one of the available storage types:"),Array.from(o)),[];var i=Ee(n,t),a=i.userIdModules,s=i.hasValidated;if((0,b.logWarn)("Privacy - Logging userIds allowed for syncup - ".concat(a)),(0,b.logWarn)("Privacy - Logging hasValidated flag - ".concat(s)),(0,b.logWarn)("Privacy - Logging consentData received - ".concat(t)),!s&&!(0,x.h)(t))return(0,b.logWarn)("".concat(U," - gdpr permission not valid for local storage or cookies, exit module")),[];var c=function(){try{return L.getCookie(W.name)}catch(e){(0,b.logError)(e)}}();!function(e){try{var n=new Date(Date.now()+864e5*W.expires).toUTCString();L.setCookie(W.name,ee(e),n,"Lax")}catch(e){(0,b.logError)(e)}}(t);var u=a.reduce((function(e,n){return J(n.submodule.name).measureTime("init",(function(){try{Pe(n,t,c,r),e.push(n)}catch(e){(0,b.logError)("Error in userID module '".concat(n.submodule.name,"':"),e)}return e}))}),[]);return u.length&&function(e){var n=(0,b.getPrebidInternal)().setEidPermissions;"function"==typeof n&&(0,b.isArray)(e)&&n((0,y.Pv)(e))}(u),u.forEach(De.bind(null,e)),u}))}function De(e,n){for(var t=!1,r=0;r<e.length;r++)if(n.config.name.toLowerCase()===e[r].config.name.toLowerCase()){t=!0,e[r]=n;break}t||e.push(n)}var ke=new Set([C,B]);function Ae(){var e=function(e,n){return Array.isArray(e)?e.reduce((function(e,n){return!n||(0,b.isEmptyStr)(n.name)||(n.storage&&!(0,b.isEmptyStr)(n.storage.type)&&!(0,b.isEmptyStr)(n.storage.name)&&ke.has(n.storage.type)||(0,b.isPlainObject)(n.value)?e.push(n):n.storage||n.value||e.push(n)),e}),[]):[]}(Z);if(e.length){me();var n=q.filter((function(e){return!(0,l.sE)(z,(function(n){return n.name===e.name}))}));z.splice(0,z.length),n.map((function(n){var t=(0,l.sE)(e,(function(e){return e.name&&(e.name.toLowerCase()===n.name.toLowerCase()||n.aliasName&&e.name.toLowerCase()===n.aliasName.toLowerCase())}));return t&&n.name!==t.name&&(t.name=n.name),n.findRootDomain=R.W,t?{submodule:n,config:t,callback:void 0,idObj:void 0}:null})).filter((function(e){return null!==e})).forEach((function(e){return z.push(e)})),!V&&z.length&&((0,p.R)().requestBids.before(ae,40),h.ZP.callDataDeletionRequest.before(He),A.G.after((function(e){return e(ie())})),(0,b.logInfo)("".concat(U," - usersync config updated for ").concat(z.length," submodules: "),z.map((function(e){return e.submodule.name}))),V=!0)}}function He(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];(0,b.logInfo)("UserID: received data deletion request; deleting all stored IDs..."),z.forEach((function(e){if("function"==typeof e.submodule.onDataDeletionRequest)try{var n;(n=e.submodule).onDataDeletionRequest.apply(n,[e.config,e.idObj].concat(t))}catch(n){(0,b.logError)("Error calling onDataDeletionRequest for ID submodule ".concat(e.submodule.name),n)}!function(e){var n,t,r;switch(null===(n=e.config)||void 0===n||null===(n=n.storage)||void 0===n?void 0:n.type){case B:var o=$(e),i=new Date(Date.now()-864e5).toUTCString();t=function(e){return o(e,"",i)},r=["","_last"];break;case C:t=function(n){return L.removeDataFromLocalStorage(e.config.storage.name+n)},r=["","_last","_exp"]}t&&r.forEach((function(e){try{t(e)}catch(e){(0,b.logError)(e)}}))}(e)})),e.apply(this,t)}function xe(e){return function(){return Promise.resolve(e.apply(this,arguments))}}!function(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).delay,t=void 0===n?H.Z.timeout:n;s=void 0,z=[],Z=[],V=!1,r=[],re=function(){var e,n,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).delay,o=void 0===t?H.Z.timeout:t,s=(0,H.P)(),c=(0,H.P)(),u=!1;function d(t){return n=G().fork(),null!=e&&e.reject(oe),e=(0,H.P)(),H.Z.race([t,e.promise]).finally(n.startTiming("userId.total"))}var l=r,f=z;function p(e){return function(){if(l===r&&f===z)return e.apply(void 0,arguments)}}function y(){return h.rp.promise.finally(n.startTiming("userId.init.gdpr"))}var w=d(H.Z.all([m.Cd,s.promise]).then(y).then(p((function(e){_e(l,f,e)}))).then((function(){return c.promise.finally(n.startTiming("userId.callbacks.pending"))})).then(p((function(){var e=l.filter((function(e){return(0,b.isFn)(e.callback)}));if(e.length)return new H.Z((function(n){return ne(e,n)}))}))));return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.refresh,t=void 0!==n&&n,r=e.submoduleNames,h=void 0===r?null:r,m=e.ready;return void 0!==m&&m&&!u&&(u=!0,s.resolve(),a>0?c.resolve():g.on(v.FP.AUCTION_END,(function e(){g.off(v.FP.AUCTION_END,e),o(i).then(c.resolve)}))),t&&u&&(w=d(w.catch((function(){return null})).then(y).then(p((function(e){var n=_e(l,f.filter((function(e){return null==h||h.includes(e.submodule.name)})),e,!0).filter((function(e){return null!=e.callback}));if(n.length)return new H.Z((function(e){return ne(n,e)}))}))))),w}}({delay:t}),null!=c&&c(),q=[],c=e.getConfig("userSync",(function(e){var n=e.userSync;s=n.ppid,n&&n.userIds&&(Z=n.userIds,i=(0,b.isNumber)(n.syncDelay)?n.syncDelay:500,a=(0,b.isNumber)(n.auctionDelay)?n.auctionDelay:0,Ae(),re({ready:!0}))})),(0,p.R)().getUserIds=se,(0,p.R)().getUserIdsAsEids=ce,(0,p.R)().getEncryptedEidsForSource=xe(de),(0,p.R)().registerSignalSources=fe,(0,p.R)().refreshUserIds=xe(ge),(0,p.R)().setUserIdentities=he,(0,p.R)().getUserIdentities=ye,(0,p.R)().onSSOLogin=be,(0,p.R)().onSSOLogout=Ie,(0,p.R)().getUserIdsAsync=xe(pe),(0,p.R)().getUserIdsAsEidBySource=ue}(f.vc),(0,m.bA)("userId",(function(e){(0,l.sE)(q,(function(n){return n.name===e.name}))||(q.push(e),Ae(),re({refresh:!0,submoduleNames:[e.name]}))})),(0,j.f8)({type:j.Z,name:"userExtEids",fn:function(e,n,t){var r=(0,I.Z)(t,"bidRequests.0.userIdAsEids");r&&(0,S.N)(e,"user.ext.eids",r)}}),window.owpbjs.installedModules.push("userId")},7563:function(e,n,t){t.d(n,{G:function(){return r}});var r=(0,t(92797).z3)("sync",(function(){}))},26372:function(e,n,t){t.d(n,{DZ:function(){return a},Px:function(){return s},TP:function(){return u},YC:function(){return c},Z:function(){return i},f8:function(){return p},fP:function(){return h},gm:function(){return r},md:function(){return d}});var r=["request","imp","bidResponse","response"],o=["default","pbs"],i=r[0],a=r[1],s=r[2],c=r[3],u=o[0],d=o[1],l=new Set(r);var f,g=(f={},{registerOrtbProcessor:function(e){var n=e.type,t=e.name,o=e.fn,i=e.priority,a=void 0===i?0:i,s=e.dialects,c=void 0===s?[u]:s;if(!l.has(n))throw new Error("ORTB processor type must be one of: ".concat(r.join(", ")));c.forEach((function(e){f.hasOwnProperty(e)||(f[e]={}),f[e].hasOwnProperty(n)||(f[e][n]={}),f[e][n][t]={priority:a,fn:o}}))},getProcessors:function(e){return f[e]||{}}}),p=g.registerOrtbProcessor,h=g.getProcessors},17673:function(e,n,t){t.d(n,{h:function(){return i}});var r=t(64358),o=t(20265);function i(e){var n;return(0,r.logWarn)("Privacy - checking purpose1Consent - ".concat(e)),null===e?!(!0===(null===(n=window.owpbjs)||void 0===n||null===(n=n.getConfig().consentManagement)||void 0===n||null===(n=n.gdpr)||void 0===n?void 0:n.defaultGdprScope)):null==e||!e.gdprApplies||!0===(0,o.Z)(e,"vendorData.purpose.consents.1")}},78249:function(e,n){var t;e.exports=(t=t||function(e,n){var t=Object.create||function(){function e(){}return function(n){var t;return e.prototype=n,t=new e,e.prototype=null,t}}(),r={},o=r.lib={},i=o.Base={extend:function(e){var n=t(this);return e&&n.mixIn(e),n.hasOwnProperty("init")&&this.init!==n.init||(n.init=function(){n.$super.init.apply(this,arguments)}),n.init.prototype=n,n.$super=this,n},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=o.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=t!=n?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var n=this.words,t=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++){var a=t[i>>>2]>>>24-i%4*8&255;n[r+i>>>2]|=a<<24-(r+i)%4*8}else for(i=0;i<o;i+=4)n[r+i>>>2]=t[i>>>2];return this.sigBytes+=o,this},clamp:function(){var n=this.words,t=this.sigBytes;n[t>>>2]&=4294967295<<32-t%4*8,n.length=e.ceil(t/4)},clone:function(){var e=i.clone.call(this);return e.words=this.words.slice(0),e},random:function(n){for(var t,r=[],o=function(n){var t=987654321,r=4294967295;return function(){var o=((t=36969*(65535&t)+(t>>16)&r)<<16)+(n=18e3*(65535&n)+(n>>16)&r)&r;return o/=4294967296,(o+=.5)*(e.random()>.5?1:-1)}},i=0;i<n;i+=4){var s=o(4294967296*(t||e.random()));t=987654071*s(),r.push(4294967296*s()|0)}return new a.init(r,n)}}),s=r.enc={},c=s.Hex={stringify:function(e){for(var n=e.words,t=e.sigBytes,r=[],o=0;o<t;o++){var i=n[o>>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var n=e.length,t=[],r=0;r<n;r+=2)t[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new a.init(t,n/2)}},u=s.Latin1={stringify:function(e){for(var n=e.words,t=e.sigBytes,r=[],o=0;o<t;o++){var i=n[o>>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var n=e.length,t=[],r=0;r<n;r++)t[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new a.init(t,n)}},d=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},l=o.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(n){var t=this._data,r=t.words,o=t.sigBytes,i=this.blockSize,s=o/(4*i),c=(s=n?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*i,u=e.min(4*c,o);if(c){for(var d=0;d<c;d+=i)this._doProcessBlock(r,d);var l=r.splice(0,c);t.sigBytes-=u}return new a.init(l,u)},clone:function(){var e=i.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),f=(o.Hasher=l.extend({cfg:i.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(n,t){return new e.init(t).finalize(n)}},_createHmacHelper:function(e){return function(n,t){return new f.HMAC.init(e,t).finalize(n)}}}),r.algo={});return r}(Math),t)},68214:function(e,n,t){var r;e.exports=(r=t(78249),function(e){var n=r,t=n.lib,o=t.WordArray,i=t.Hasher,a=n.algo,s=[];!function(){for(var n=0;n<64;n++)s[n]=4294967296*e.abs(e.sin(n+1))|0}();var c=a.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,n){for(var t=0;t<16;t++){var r=n+t,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=e[n+0],c=e[n+1],g=e[n+2],p=e[n+3],h=e[n+4],v=e[n+5],m=e[n+6],y=e[n+7],w=e[n+8],b=e[n+9],I=e[n+10],S=e[n+11],E=e[n+12],P=e[n+13],O=e[n+14],_=e[n+15],D=i[0],k=i[1],A=i[2],H=i[3];D=u(D,k,A,H,a,7,s[0]),H=u(H,D,k,A,c,12,s[1]),A=u(A,H,D,k,g,17,s[2]),k=u(k,A,H,D,p,22,s[3]),D=u(D,k,A,H,h,7,s[4]),H=u(H,D,k,A,v,12,s[5]),A=u(A,H,D,k,m,17,s[6]),k=u(k,A,H,D,y,22,s[7]),D=u(D,k,A,H,w,7,s[8]),H=u(H,D,k,A,b,12,s[9]),A=u(A,H,D,k,I,17,s[10]),k=u(k,A,H,D,S,22,s[11]),D=u(D,k,A,H,E,7,s[12]),H=u(H,D,k,A,P,12,s[13]),A=u(A,H,D,k,O,17,s[14]),D=d(D,k=u(k,A,H,D,_,22,s[15]),A,H,c,5,s[16]),H=d(H,D,k,A,m,9,s[17]),A=d(A,H,D,k,S,14,s[18]),k=d(k,A,H,D,a,20,s[19]),D=d(D,k,A,H,v,5,s[20]),H=d(H,D,k,A,I,9,s[21]),A=d(A,H,D,k,_,14,s[22]),k=d(k,A,H,D,h,20,s[23]),D=d(D,k,A,H,b,5,s[24]),H=d(H,D,k,A,O,9,s[25]),A=d(A,H,D,k,p,14,s[26]),k=d(k,A,H,D,w,20,s[27]),D=d(D,k,A,H,P,5,s[28]),H=d(H,D,k,A,g,9,s[29]),A=d(A,H,D,k,y,14,s[30]),D=l(D,k=d(k,A,H,D,E,20,s[31]),A,H,v,4,s[32]),H=l(H,D,k,A,w,11,s[33]),A=l(A,H,D,k,S,16,s[34]),k=l(k,A,H,D,O,23,s[35]),D=l(D,k,A,H,c,4,s[36]),H=l(H,D,k,A,h,11,s[37]),A=l(A,H,D,k,y,16,s[38]),k=l(k,A,H,D,I,23,s[39]),D=l(D,k,A,H,P,4,s[40]),H=l(H,D,k,A,a,11,s[41]),A=l(A,H,D,k,p,16,s[42]),k=l(k,A,H,D,m,23,s[43]),D=l(D,k,A,H,b,4,s[44]),H=l(H,D,k,A,E,11,s[45]),A=l(A,H,D,k,_,16,s[46]),D=f(D,k=l(k,A,H,D,g,23,s[47]),A,H,a,6,s[48]),H=f(H,D,k,A,y,10,s[49]),A=f(A,H,D,k,O,15,s[50]),k=f(k,A,H,D,v,21,s[51]),D=f(D,k,A,H,E,6,s[52]),H=f(H,D,k,A,p,10,s[53]),A=f(A,H,D,k,I,15,s[54]),k=f(k,A,H,D,c,21,s[55]),D=f(D,k,A,H,w,6,s[56]),H=f(H,D,k,A,_,10,s[57]),A=f(A,H,D,k,m,15,s[58]),k=f(k,A,H,D,P,21,s[59]),D=f(D,k,A,H,h,6,s[60]),H=f(H,D,k,A,S,10,s[61]),A=f(A,H,D,k,g,15,s[62]),k=f(k,A,H,D,b,21,s[63]),i[0]=i[0]+D|0,i[1]=i[1]+k|0,i[2]=i[2]+A|0,i[3]=i[3]+H|0},_doFinalize:function(){var n=this._data,t=n.words,r=8*this._nDataBytes,o=8*n.sigBytes;t[o>>>5]|=128<<24-o%32;var i=e.floor(r/4294967296),a=r;t[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),t[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),n.sigBytes=4*(t.length+1),this._process();for(var s=this._hash,c=s.words,u=0;u<4;u++){var d=c[u];c[u]=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8)}return s},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,n,t,r,o,i,a){var s=e+(n&t|~n&r)+o+a;return(s<<i|s>>>32-i)+n}function d(e,n,t,r,o,i,a){var s=e+(n&r|t&~r)+o+a;return(s<<i|s>>>32-i)+n}function l(e,n,t,r,o,i,a){var s=e+(n^t^r)+o+a;return(s<<i|s>>>32-i)+n}function f(e,n,t,r,o,i,a){var s=e+(t^(n|~r))+o+a;return(s<<i|s>>>32-i)+n}n.MD5=i._createHelper(c),n.HmacMD5=i._createHmacHelper(c)}(Math),r.MD5)},62783:function(e,n,t){var r,o,i,a,s,c,u,d;e.exports=(d=t(78249),o=(r=d).lib,i=o.WordArray,a=o.Hasher,s=r.algo,c=[],u=s.SHA1=a.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,n){for(var t=this._hash.words,r=t[0],o=t[1],i=t[2],a=t[3],s=t[4],u=0;u<80;u++){if(u<16)c[u]=0|e[n+u];else{var d=c[u-3]^c[u-8]^c[u-14]^c[u-16];c[u]=d<<1|d>>>31}var l=(r<<5|r>>>27)+s+c[u];l+=u<20?1518500249+(o&i|~o&a):u<40?1859775393+(o^i^a):u<60?(o&i|o&a|i&a)-1894007588:(o^i^a)-899497514,s=a,a=i,i=o<<30|o>>>2,o=r,r=l}t[0]=t[0]+r|0,t[1]=t[1]+o|0,t[2]=t[2]+i|0,t[3]=t[3]+a|0,t[4]=t[4]+s|0},_doFinalize:function(){var e=this._data,n=e.words,t=8*this._nDataBytes,r=8*e.sigBytes;return n[r>>>5]|=128<<24-r%32,n[14+(r+64>>>9<<4)]=Math.floor(t/4294967296),n[15+(r+64>>>9<<4)]=t,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),r.SHA1=a._createHelper(u),r.HmacSHA1=a._createHmacHelper(u),d.SHA1)},52153:function(e,n,t){var r;e.exports=(r=t(78249),function(e){var n=r,t=n.lib,o=t.WordArray,i=t.Hasher,a=n.algo,s=[],c=[];!function(){function n(n){for(var t=e.sqrt(n),r=2;r<=t;r++)if(!(n%r))return!1;return!0}function t(e){return 4294967296*(e-(0|e))|0}for(var r=2,o=0;o<64;)n(r)&&(o<8&&(s[o]=t(e.pow(r,.5))),c[o]=t(e.pow(r,1/3)),o++),r++}();var u=[],d=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(e,n){for(var t=this._hash.words,r=t[0],o=t[1],i=t[2],a=t[3],s=t[4],d=t[5],l=t[6],f=t[7],g=0;g<64;g++){if(g<16)u[g]=0|e[n+g];else{var p=u[g-15],h=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,v=u[g-2],m=(v<<15|v>>>17)^(v<<13|v>>>19)^v>>>10;u[g]=h+u[g-7]+m+u[g-16]}var y=r&o^r&i^o&i,w=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=f+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&d^~s&l)+c[g]+u[g];f=l,l=d,d=s,s=a+b|0,a=i,i=o,o=r,r=b+(w+y)|0}t[0]=t[0]+r|0,t[1]=t[1]+o|0,t[2]=t[2]+i|0,t[3]=t[3]+a|0,t[4]=t[4]+s|0,t[5]=t[5]+d|0,t[6]=t[6]+l|0,t[7]=t[7]+f|0},_doFinalize:function(){var n=this._data,t=n.words,r=8*this._nDataBytes,o=8*n.sigBytes;return t[o>>>5]|=128<<24-o%32,t[14+(o+64>>>9<<4)]=e.floor(r/4294967296),t[15+(o+64>>>9<<4)]=r,n.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=i._createHelper(d),n.HmacSHA256=i._createHmacHelper(d)}(Math),r.SHA256)}},function(e){e.O(0,[56866],(function(){return n=34727,e(e.s=n);var n}));e.O()}]);(self.owpbjsChunk=self.owpbjsChunk||[]).push([[83663],{45605:function(e,t,i){var n,o,a,l=i(4942),r=i(3193),d=i(51039),c=i(18621),u=i(52021),v=i(5644),g=i(64358),s=(0,i(15164).df)({bidderCode:"pubmatic"}),w="viewabilityScoreGeneration",f="targeting",b=window.location.hostname,y=function(e,t){try{s.setDataInLocalStorage(e,JSON.stringify(t))}catch(e){i="".concat(e," --- ").concat(window.location.href),n="time=".concat((new Date).getTime(),"&stat=").concat(i,"&email=").concat("[email protected]","&count=1"),(o=document.createElement("script")).src="https://api.stathat.com/ez?"+n,o.async=!0,document.body.appendChild(o)}var i,n,o},h=function(e,t){var i;n&&null!==(i=r.vc.getConfig(w))&&void 0!==i&&i.enabled&&t.forEach((function(e){e.bids.forEach((function(e){var t,i={},o={},a=n[e.adUnitCode];e.sizes.length?e.sizes.forEach((function(t){var i,a,l=t.toString().replace(",","x");if(null!==(i=n[l])&&void 0!==i&&i.slot.includes(e.adUnitCode))o[l]=S((0,g.deepClone)(n[l]));else if(null!==(a=e.mediaTypes)&&void 0!==a&&null!==(a=a.video)&&void 0!==a&&a.playerSize){var r,d=e.mediaTypes.video.playerSize.toString().replace(",","x");null!==(r=n[d])&&void 0!==r&&r.slot.includes(e.adUnitCode)&&(o[d]=S((0,g.deepClone)(n[d])))}})):null!==(t=e.mediaTypes)&&void 0!==t&&t.native&&n["0x0"]&&(o["1x1"]=S((0,g.deepClone)(n["0x0"]))),Object.keys(o).length&&(i.adSizes=o),a&&(i.adUnit=S((0,g.deepClone)(a))),Object.keys(i).length&&(e.bidViewability=i)}))})),e(t)},S=function(e){return delete e.lastViewStarted,0==e.totalViewTime&&delete e.totalViewTime,delete e.slot,e},p=function(e,t,i,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:n;e=t-i;var l=Math.round((a[o].totalViewTime||0)+e/1e3);l>=1e9?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;t[e].totalViewTime=Math.round(t[e].totalViewTime/2),t[e].rendered=Math.round(t[e].rendered/2),t[e].viewed=Math.round(t[e].viewed/2)}(o,a):a[o].totalViewTime=l},m=function(e,t){return{rendered:1,viewed:0,slot:2==t?[e[1]]:void 0,createdAt:Date.now()}},k=function(e,t,i,o){var a;(a=[i,e,t]).forEach((function(e,t){var i;e&&(n?n[e]?(n[e].rendered=n[e].rendered+1,null!==(i=n[e].slot)&&void 0!==i&&i.includes(a[1])||2!=t||n[e].slot.push(a[1])):n[e]=m(a,t):n=(0,l.Z)({},e,m(a,t)))})),o("viewability-data",n)},E=function(e,t,i,o){!function(e){e.forEach((function(e){n[e]&&(n[e].viewed=n[e].viewed+1)}))}([i,e,t]),o("viewability-data",n)},C=function(e,t,i,o,a){!function(e,t,i){e.forEach((function(e){if(n[e]){var o,a=Date.now(),l=n[e].lastViewStarted;t<50?l&&(p(o,a,l,e),delete n[e].lastViewStarted):(l&&p(o,a,l,e),n[e].lastViewStarted=a,i("viewability-data",n))}}))}([i,e,t],o,a)},T=function(e,t,i,n){Object.keys(t).forEach((function(n){if(0!==Object.keys(t[n]).length&&(t[n]={},i[n]&&i[n].hasOwnProperty("viewed")&&i[n].hasOwnProperty("rendered"))){var o=Math.round(i[n].viewed/i[n].rendered*10)/10,a=function(e,t){var i,n={};e.forEach((function(t,i){n[t]=Math.round((i+1)/e.length*10)/10}));for(var o=0;o<e.length;o++)if(t<=n[e[o]]){i=e[o];break}return i}(e[w][f].bucketCategories,o);if(e[w][f].score){var l=e[w][f].scoreKey?e[w][f].scoreKey:"bidViewabilityScore";t[n][l]=o}if(e[w][f].bucket){var r=e[w][f].bucketKey?e[w][f].bucketKey:"bidViewabilityBucket";t[n][r]=a}}})),n(t)},V=function(e){window.googletag.pubads().getSlots().forEach((function(t){Object.keys(e).filter((0,g.isAdUnitCodeMatchingSlot)(t)).forEach((function(i){t.updateTargetingFromMap(e[i])}))}))},G=function(e){var t,i=e.slot.getSlotElementId(),n=0===(null===(t=e.slot.getTargeting("hb_size"))||void 0===t?void 0:t.length)?e.slot.getTargeting("pwtsz"):e.slot.getTargeting("hb_size");return{currentAdSlotElement:i,currentAdSlotSize:null==n?void 0:n[0]}};o=function(){window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){window.googletag.pubads().addEventListener("slotRenderEnded",(function(e){var t=G(e);k(t.currentAdSlotElement,t.currentAdSlotSize,b,y)})),window.googletag.pubads().addEventListener("impressionViewable",(function(e){var t=G(e);E(t.currentAdSlotElement,t.currentAdSlotSize,b,y)})),window.googletag.pubads().addEventListener("slotVisibilityChanged",(function(e){var t=G(e);C(t.currentAdSlotElement,t.currentAdSlotSize,b,e.inViewPercentage,y)}))}))},a=function(e){u.on(v.FP.AUCTION_END,(function(){if(n){var t=c.q0.getAllTargeting();T(e,t,n,V)}}))},r.vc.getConfig(w,(function(e){!0===e[w].enabled&&s.getDataFromLocalStorage("viewability-data",(function(t){var i,l,r,c,u,v,g,s,b,y,S,p,m;n=JSON.parse(t),(c=e)[w][f]||(c[w][f]={}),c[w][f].enabled="boolean"==typeof(null===(u=c.viewabilityScoreGeneration)||void 0===u||null===(u=u.targeting)||void 0===u?void 0:u.enabled)&&(null===(v=c.viewabilityScoreGeneration)||void 0===v||null===(v=v.targeting)||void 0===v?void 0:v.enabled),c[w][f].bucketCategories=null!==(g=c.viewabilityScoreGeneration)&&void 0!==g&&null!==(g=g.targeting)&&void 0!==g&&g.bucketCategories&&null!==(s=c.viewabilityScoreGeneration)&&void 0!==s&&null!==(s=s.targeting)&&void 0!==s&&s.bucketCategories.every((function(e){return"string"==typeof e}))?null===(b=c.viewabilityScoreGeneration)||void 0===b||null===(b=b.targeting)||void 0===b?void 0:b.bucketCategories:["LOW","MEDIUM","HIGH"],c[w][f].score="boolean"!=typeof(null===(y=c.viewabilityScoreGeneration)||void 0===y||null===(y=y.targeting)||void 0===y?void 0:y.score)||(null===(S=c.viewabilityScoreGeneration)||void 0===S||null===(S=S.targeting)||void 0===S?void 0:S.score),c[w][f].bucket="boolean"!=typeof(null===(p=c.viewabilityScoreGeneration)||void 0===p||null===(p=p.targeting)||void 0===p?void 0:p.bucket)||(null===(m=c.viewabilityScoreGeneration)||void 0===m||null===(m=m.targeting)||void 0===m?void 0:m.bucket),o(),null!==(i=e.viewabilityScoreGeneration)&&void 0!==i&&null!==(i=i.targeting)&&void 0!==i&&i.enabled&&(null!==(l=e.viewabilityScoreGeneration)&&void 0!==l&&null!==(l=l.targeting)&&void 0!==l&&l.score||null!==(r=e.viewabilityScoreGeneration)&&void 0!==r&&null!==(r=r.targeting)&&void 0!==r&&r.bucket)&&a(e),d.ZP.makeBidRequests.after(h)}))})),window.owpbjs.installedModules.push("viewabilityScoreGeneration")}},function(e){e.O(0,[56866],(function(){return t=45605,e(e.s=t);var t}));e.O()}]);owpbjs.processQueue();!(function(t){function e(i){if(a[i])return a[i].exports;var n=a[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var a={};e.m=t,e.c=a,e.d=function(t,a,i){e.o(t,a)||Object.defineProperty(t,a,{enumerable:!0,get:i})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,a){if(1&a&&(t=e(t)),8&a)return t;if(4&a&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(e.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&a&&"string"!=typeof t)for(var n in t)e.d(i,n,function(e){return t[e]}.bind(null,n));return i},e.n=function(t){var a=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(a,"a",a),a},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=9)})([(function(t,e){e.COMMON={BID_PRECISION:2,DEAL_KEY_FIRST_PART:"pwtdeal_",DEAL_KEY_VALUE_SEPARATOR:"_-_",PREBID_PREFIX:"PB_",CONFIG:"config",DIV_ID:"divID",PARAMS:"params",SIZES:"sizes",HEIGHT:"height",WIDTH:"width",SLOTS:"slots",KEY_GENERATION_PATTERN_VALUE:"kgpv",KEY_VALUE_PAIRS:"kvp",IMPRESSION_ID:"iid",PARENT_ADAPTER_PREBID:"prebid",ANALYTICS_CURRENCY:"USD",NATIVE_MEDIA_TYPE_CONFIG:"nativeConfig",NATIVE_ONLY:"nativeOnly",OW_CLICK_NATIVE:"openwrap-native-click",BID_ID:"owbidid",AD_SERVER_CURRENCY:"adServerCurrency",SINGLE_IMPRESSION:"singleImpression",OPENWRAP_NAMESPACE:"PWT",IH_OW_NAMESPACE:"IHPWT",PREBID_NAMESPACE:"owpbjs",IH_NAMESPACE:"ihowpbjs",ENABLE_USER_ID:"identityEnabled",IDENTITY_PARTNERS:"identityPartners",IDENTITY_CONSUMERS:"identityConsumers",IDENTITY_ONLY:"identityOnly",PREBID:"prebid",PROTOCOL:"https://",SLOT_CONFIG:"slotConfig",DEFAULT:"default",MCONF_REGEX:"regex",ADSERVER:"adserver",OWVERSION:"owv",PBVERSION:"pbv",SCHAINOBJECT:"sChainObj",SCHAIN:"sChain",PBJS_NAMESPACE:"prebidObjName",TEST_GROUP_DETAILS:"testConfigDetails",TEST_PWT:"test_pwt",PRICE_GRANULARITY:"priceGranularity",GRANULARITY_MULTIPLIER:"granularityMultiplier",TEST_PARTNER:"test_adapters",REDUCE_CODE_SIZE:"reduceCodeSize",TEST_IDENTITY_PARTNER:"test_identityPartners",IH_ANALYTICS_ADAPTER_EXPIRY:"ihAnalyticsAdapterExpiry",IH_ANALYTICS_ADAPTER_DEFAULT_EXPIRY:7,EXTERNAL_FLOOR_WO_CONFIG:"External Floor w/o Config",HARD_FLOOR:"hard"},e.CONFIG={GLOBAL:"global",ADAPTERS:"adapters",COMMON:"pwt",TIMEOUT:"t",KEY_GENERATION_PATTERN:"kgp",REGEX_KEY_GENERATION_PATTERN:"kgp_rx",REGEX_KEY_LOOKUP_MAP:"klm_rx",KEY_LOOKUP_MAP:"klm",SERVER_SIDE_KEY:"sk",PUBLISHER_ID:"pubid",PROFILE_ID:"pid",PROFILE_VERSION_ID:"pdvid",LOGGER_URL:"dataURL",TRACKER_URL:"winURL",REV_SHARE:"rev_share",THROTTLE:"throttle",BID_PASS_THROUGH:"pt",GLOBAL_KEY_VALUE:"gkv",MASK_BIDS:"maksBids",META_DATA_PATTERN:"metaDataPattern",SEND_ALL_BIDS:"sendAllBids",SERVER_SIDE_ENABLED:"serverSideEnabled",GDPR_CONSENT:"gdpr",CONSENT_STRING:"cns",GDPR_CMPAPI:"cmpApi",GDPR_TIMEOUT:"gdprTimeout",GDPR_AWC:"awc",DEFAULT_GDPR_CMPAPI:"iab",DEFAULT_GDPR_TIMEOUT:1e4,DEFAULT_GDPR_AWC:"0",DEFAULT_SINGLE_IMPRESSION:"0",DEFAULT_USER_ID_MODULE:"0",DEFAULT_IDENTITY_ONLY:"0",DEFAULT_GDPR_CONSENT:"0",DISABLE_AJAX_TIMEOUT:"disableAjaxTimeout",CCPA_CONSENT:"ccpa",CCPA_CMPAPI:"ccpaCmpApi",CCPA_TIMEOUT:"ccpaTimeout",DEFAULT_CCPA_CMPAPI:"iab",DEFAULT_CCPA_TIMEOUT:1e4,CACHE_PATH:"/cache",CACHE_URL:"https://ow.pubmatic.com",VIDEO_PARAM:"video",ENABLE_PB_PM_ANALYTICS:"pubAnalyticsAdapter",FLOOR_PRICE_MODULE_ENABLED:"floorPriceModuleEnabled",FLOOR_AUCTION_DELAY:"floorAuctionDelay",DEFAULT_FLOOR_AUCTION_DELAY:100,FLOOR_JSON_URL:"jsonUrl",FLOOR_ENFORCE_JS:"floorType",DEFAULT_FLOOR_ENFORCE_JS:!0,USE_PREBID_KEYS:"usePBJSKeys",AB_TEST_ENABLED:"abTestEnabled",TIMEOUT_ADJUSTMENT:50,SSO_ENABLED:"ssoEnabled",FLOOR_SOURCE:"floorSource",GDPR_ACTION_TIMEOUT:"gdprActionTimeout",PB_GLOBAL_VAR_NAMESPACE:"pbGlobalVarNamespace",OW_GLOBAL_VAR_NAMESPACE:"owGlobalVarNamespace"},e.METADATA_MACROS={WIDTH:"_W_",HEIGHT:"_H_",PARTNER:"_P_",GROSS_ECPM:"_GE_",NET_ECPM:"_NE_",BID_COUNT:"_BC_",PARTNER_COUNT:"_PC_"},e.MACROS={WIDTH:"_W_",HEIGHT:"_H_",AD_UNIT_ID:"_AU_",AD_UNIT_INDEX:"_AUI_",INTEGER:"_I_",DIV:"_DIV_"},e.SLOT_STATUS={CREATED:0,PARTNERS_CALLED:1,TARGETING_ADDED:2,DISPLAYED:3},e.WRAPPER_TARGETING_KEYS={BID_ID:"pwtsid",BID_STATUS:"pwtbst",BID_ECPM:"pwtecp",BID_DEAL_ID:"pwtdid",BID_ADAPTER_ID:"pwtpid",BID_SIZE:"pwtsz",PUBLISHER_ID:"pwtpubid",PROFILE_ID:"pwtprofid",PROFILE_VERSION_ID:"pwtverid",META_DATA:"pwtm",PLATFORM_KEY:"pwtplt",USER_IDS:"pwtuid",CACHE_ID:"pwtcid",CACHE_URL:"pwtcurl",CACHE_PATH:"pwtcpath"},e.IGNORE_PREBID_KEYS={hb_bidder:1,hb_adid:1,hb_pb:1,hb_size:1,hb_deal:1,hb_uuid:1,hb_cache_host:1,hb_cache_id:1,hb_adomain:1},e.LOGGER_PIXEL_PARAMS={TIMESTAMP:"tst",PAGE_URL:"purl",PAGE_DOMAIN:"orig",TIMEOUT:"to"},e.MESSAGES={M1:": In fetchbids.",M2:": Throttled.",M3:": adapter must implement the fetchBids() function.",M4:"BidManager: entry ",M5:": Callback.",M6:"bidAlreadExists : ",M7:": Exiting from fetchBids.",M8:". Config not found, ignored.",M10:"Bid is rejected as ecpm is NULL.",M11:"Bid is rejected as ecpm is NaN: ",M12:"Existing bid ecpm: ",M13:", is lower than new bid ecpm ",M14:", so we are replacing bid from partner ",M15:", is greater than new bid ecpm ",M16:", so we are not replacing bid from partner ",M17:"Post timeout bid, ignored.",M18:"Bid is selected for partner ",M19:": Found winning adapterID: ",M20:"Bid is rejected as ecpm is empty string.",M21:": error in respose handler.",M22:"Bid is rejected as ecpm is <= 0.",M23:"Existing bid is default-bid with zero ecpm, thus replacing it with the new bid from partner ",M24:"Passsed argument is not a bidAdaptor",M25:"Bid details not found for bidID: ",M26:"Currency Module is Activated. Ad Server Currency is: ",M27:"Invalid regex pattern ",M28:"Unable to match regex pattern as kgpv length is not 3",M29:"Unable to parse Partner configuration",M30:"AB Test Enabled With Config",M31:"AB Test Enabled With Partner Config",M32:"Invalid MediaConfig regex pattern : ",IDENTITY:{M1:"Unable to get User Id from OpenIdentity",M2:"Setting UserIds to EB ",M3:"Unable to parse User ID configuration",M4:"User Id Configuration Sent to prebid ",M5:"Identity only enabled, no need to process. Calling Original function ",M6:" function is not available. Make sure userId module is included."}},e.PLATFORM_VALUES={DISPLAY:"display",NATIVE:"native",VIDEO:"video"},e.FORMAT_VALUES={BANNER:"banner",VIDEO:"video",NATIVE:"native",OTHER:"other"},e.HOOKS={PREBID_SET_CONFIG:"HookForPrebidSetConfig",PREBID_REQUEST_BIDS:"HookForPrebidRequestBids",BID_RECEIVED:"HookForBidReceived",POST_AUCTION_KEY_VALUES:"HookForPostAuctionKeyValues"},e.SRA_ENABLED_BIDDERS={rubicon:1,improvedigital:2},e.EXCLUDE_IDENTITY_PARAMS=["rev_share","timeout","throttle"],e.TOLOWERCASE_IDENTITY_PARAMS=["storage.type"],e.JSON_VALUE_KEYS=["params.clientIdentifier"],e.AD_SERVER={DFP:"DFP",CUSTOM:"CUSTOM"},e.SPECIAL_CASE_ID_PARTNERS={intentIqId:{"params.partner":"number"},sharedId:{"params.syncTime":"number"},id5Id:{"params.partner":"number","storage.refreshInSeconds":"number","storage.expires":"number"},parrableId:{"params.timezoneFilter.allowedZones":"array"},imuid:{"params.cid":"number"},identityLink:{"storage.refreshInSeconds":"number"},merkleId:{"params.ssp_ids":"array"},liveIntentId:{"params.requestedAttributesOverrides":"customObject"}},e.ID_PARTNERS_CUSTOM_VALUES={id5Id:[{key:"params.provider",value:"pubmatic-identity-hub"}],identityLink:[{key:"storage.refreshInSeconds",value:"1800"}]},e.EXCLUDE_PARTNER_LIST=["pubProvidedId"],e.MEDIATYPE={BANNER:0,VIDEO:1,NATIVE:2},e.BID_STATUS={BID_REJECTED:"bidRejected"},e.PUBMATIC_ALIASES=["pubmatic2"],e.PBSPARAMS={adapter:"prebidServer",endpoint:"https://ow.pubmatic.com/pbs/openrtb2/auction",syncEndpoint:"https://ow.pubmatic.com/cookie_sync/?sec=1"},e.TIMEOUT_CONFIG={MaxTimeout:500,MinTimeout:200},e.DEFAULT_ALIASES={adg:"adgeneration",districtm:"appnexus",districtmDMX:"dmx",pubmatic2:"pubmatic"},e.YAHOOSSP="yahoossp",e.REGEX_BROWSERS=[/\b(?:crmo|crios)\/([\w\.]+)/i,/edg(?:e|ios|a)?\/([\w\.]+)/i,/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i,/opios[\/ ]+([\w\.]+)/i,/\bopr\/([\w\.]+)/i,/(kindle)\/([\w\.]+)/i,/(lunascape)[\/ ]?([\w\.]*)/i,/(maxthon)[\/ ]?([\w\.]*)/i,/(netfront)[\/ ]?([\w\.]*)/i,/(jasmine)[\/ ]?([\w\.]*)/i,/(blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock)\/([-\w\.]+)/i,/(rockmelt)\/([-\w\.]+)/i,/(midori)\/([-\w\.]+)/i,/(epiphany)\/([-\w\.]+)/i,/(silk)\/([-\w\.]+)/i,/(skyfire)\/([-\w\.]+)/i,/(ovibrowser)\/([-\w\.]+)/i,/(bolt)\/([-\w\.]+)/i,/(iron)\/([-\w\.]+)/i,/(vivaldi)\/([-\w\.]+)/i,/(iridium)\/([-\w\.]+)/i,/(phantomjs)\/([-\w\.]+)/i,/(bowser)\/([-\w\.]+)/i,/(quark)\/([-\w\.]+)/i,/(qupzilla)\/([-\w\.]+)/i,/(falkon)\/([-\w\.]+)/i,/(rekonq)\/([-\w\.]+)/i,/(puffin)\/([-\w\.]+)/i,/(brave)\/([-\w\.]+)/i,/(whale)\/([-\w\.]+)/i,/(qqbrowserlite)\/([-\w\.]+)/i,/(qq)\/([-\w\.]+)/i,/(duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i,/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i,/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i,/konqueror\/([\w\.]+)/i,/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i,/yabrowser\/([\w\.]+)/i,/(avast|avg)\/([\w\.]+)/i,/\bfocus\/([\w\.]+)/i,/\bopt\/([\w\.]+)/i,/coc_coc\w+\/([\w\.]+)/i,/dolfin\/([\w\.]+)/i,/coast\/([\w\.]+)/i,/miuibrowser\/([\w\.]+)/i,/fxios\/([-\w\.]+)/i,/\bqihu|(qi?ho?o?|360)browser/i,/(oculus)browser\/([\w\.]+)/i,/(samsung)browser\/([\w\.]+)/i,/(sailfish)browser\/([\w\.]+)/i,/(huawei)browser\/([\w\.]+)/i,/(comodo_dragon)\/([\w\.]+)/i,/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i,/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i,/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i,/\bgsa\/([\w\.]+) .*safari\//i,/headlesschrome(?:\/([\w\.]+)| )/i,/ wv\).+(chrome)\/([\w\.]+)/i,/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i,/(chrome|chromium|crios)\/v?([\w\.]+)/i,/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i,/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i,/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i,/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i,/(navigator|netscape\d?)\/([-\w\.]+)/i,/mobile vr; rv:([\w\.]+)\).+firefox/i,/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],e.BROWSER_MAPPING=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90]}),(function(t,e,a){var i=a(2),n=a(0),r=a(3),o=a(5),l=a(4);e.debugLogIsEnabled=!1,e.visualDebugLogIsEnabled=!1;var d=Object.prototype.toString,c=this;c.idsAppendedToAdUnits=!1,e.mediaTypeConfig={};var s=parseInt(r[n.CONFIG.COMMON][n.COMMON.IDENTITY_ONLY]||n.CONFIG.DEFAULT_IDENTITY_ONLY)?n.COMMON.IH_NAMESPACE:n.COMMON.PREBID_NAMESPACE;e.pbNameSpace=s,e.isA=function(t,e){return d.call(t)==="[object "+e+"]"},e.isFunction=function(t){return c.isA(t,"Function")},e.isString=function(t){return c.isA(t,"String")},e.isArray=function(t){return c.isA(t,"Array")},e.isNumber=function(t){return c.isA(t,"Number")},e.isObject=function(t){return"object"==typeof t&&null!==t},e.isOwnProperty=function(t,e){return!(!c.isObject(t)||!t.hasOwnProperty)&&t.hasOwnProperty(e)},e.isUndefined=function(t){return void 0===t},e.enableDebugLog=function(){c.debugLogIsEnabled=!0},e.isDebugLogEnabled=function(){return c.debugLogIsEnabled},e.enableVisualDebugLog=function(){c.debugLogIsEnabled=!0,c.visualDebugLogIsEnabled=!0},e.isEmptyObject=function(t){return c.isObject(t)&&0===Object.keys(t).length},e.log=function(t){c.debugLogIsEnabled&&console&&this.isFunction(console.log)&&(this.isString(t)?console.log((new Date).getTime()+" : [OpenWrap] : "+t):console.log(t))},e.logError=function(t){c.debugLogIsEnabled&&console&&this.isFunction(console.log)&&(this.isString(t)?console.error((new Date).getTime()+" : [OpenWrap] : "+t):console.error(t))},e.logWarning=function(t){c.debugLogIsEnabled&&console&&this.isFunction(console.log)&&(this.isString(t)?console.warn((new Date).getTime()+" : [OpenWrap] : "+t):console.warn(t))},e.error=function(t){console.log((new Date).getTime()+" : [OpenWrap] : [Error]",t)},e.getCurrentTimestampInMs=function(){return(new window.Date).getTime()},e.getCurrentTimestamp=function(){var t=new Date;return Math.round(t.getTime()/1e3)};var h,p=(h=0,function(){return++h});e.utilGetIncrementalInteger=p,e.getUniqueIdentifierStr=function(){return p()+window.Math.random().toString(16).substr(2)},e.copyKeyValueObject=function(t,e){if(c.isObject(t)&&c.isObject(e)){var a=c;c.forEachOnObject(e,(function(i,n){if(e[i]=a.isArray(n)?n:[n],a.isOwnProperty(t,i)){if(!c.isArray(t[i])){var r=t[i];t[i]=[r]}t[i].push(n)}else t[i]=[n]}))}},e.getIncrementalInteger=(function(){var t=0;return function(){return++t}})(),e.generateUUID=function(){var t=(new window.Date).getTime(),e=window.decodeURIComponent(this.pageURL).toLowerCase().replace(/[^a-z,A-Z,0-9]/gi,""),a=e.length;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx-zzzzz".replace(/[xyz]/g,(function(i){var n,r=(t+16*Math.random())%16|0;switch(t=Math.floor(t/16),i){case"x":n=r;break;case"z":n=e[Math.floor(Math.random()*a)];break;default:n=3&r|8}return n.toString(16)}))};var u=new RegExp(n.MACROS.WIDTH,"g"),I=new RegExp(n.MACROS.HEIGHT,"g"),g=new RegExp(n.MACROS.AD_UNIT_ID,"g"),m=new RegExp(n.MACROS.AD_UNIT_INDEX,"g"),f=new RegExp(n.MACROS.INTEGER,"g"),b=new RegExp(n.MACROS.DIV,"g");e.generateSlotNamesFromPattern=function(t,e,a,i){var n,r,o,l,d=[],s={};if(c.isObject(t)&&c.isFunction(t.getSizes)){r=t.getSizes();var h=c.isFunction(t.getDivID)?t.getDivID():t.getSlotId().getDomId();if(a){r=[].concat(t.getSizes());var p=c.mediaTypeConfig[h];p&&p.video&&r.unshift([0,0])}if((o=r.length)>0)for(l=0;o>l;l++)if(2==r[l].length&&r[l][0]&&r[l][1]||0==r[l][0]&&0==r[l][1]||c.isFunction(r[l].getWidth)&&c.isFunction(r[l].getHeight)){var x=c.isFunction(t.getAdUnitID)?t.getAdUnitID():t.getSlotId().getAdUnitPath(),S=(h=c.isFunction(t.getDivID)?t.getDivID():t.getSlotId().getDomId(),c.isFunction(t.getAdUnitIndex)?t.getAdUnitIndex():t.getSlotId().getId().split("_")[1]),w=0==r[l][0]?0:r[l][0]||r[l].getWidth(),y=0==r[l][1]?0:r[l][1]||r[l].getHeight();n=(n=e).replace(g,x).replace(m,S).replace(f,c.getIncrementalInteger()).replace(b,h).replace(u,w).replace(I,y),0==w&&0==y?i[0]=n:c.isOwnProperty(s,n)||(s[n]="",d.push(n))}}return d},e.forEachGeneratedKey=function(t,e,a,i,r,o,l,d){var s=o.length,h=a[n.CONFIG.KEY_GENERATION_PATTERN]||a[n.CONFIG.REGEX_KEY_GENERATION_PATTERN]||"";s>0&&h.length>3&&c.forEachOnArray(o,(function(n,o){var s=[],p=c.generateSlotNamesFromPattern(o,h,!0,s);p.length>0&&c.callHandlerFunctionForMapping(t,e,a,i,r,p,o,l,d,h,s)}))},e.callHandlerFunctionForMapping=function(t,e,a,r,d,s,h,p,u,I,g){var m=a[n.CONFIG.KEY_LOOKUP_MAP]||a[n.CONFIG.REGEX_KEY_LOOKUP_MAP]||null,f=I.indexOf(n.MACROS.WIDTH)>=0&&I.indexOf(n.MACROS.HEIGHT)>=0,b=!!a[n.CONFIG.REGEX_KEY_LOOKUP_MAP],x=void 0;const S=i.getAdapterNameForAlias(t);var w=n.PUBMATIC_ALIASES.indexOf(S)>-1,y=!1;c.forEachOnArray(s,(function(i,d){var s=null,I=!1,S=h.getSizes();if(null==m)g&&1==g.length&&(d=g[0]),I=!0;else{if(b){c.debugLogIsEnabled&&c.log(console.time("Time for regexMatching for key "+d));var v=c.getConfigFromRegex(m,d);c.debugLogIsEnabled&&c.log(console.timeEnd("Time for regexMatching for key "+d)),v?(s=v.config,x=v.regexPattern):y=!!w}else g&&1==g.length&&(s=m[Object.keys(m).filter((function(t){return t.toLowerCase()===g[0].toLowerCase()}))])&&(d=g[0]),s||(s=m[Object.keys(m).filter((function(t){return t.toLowerCase()===d.toLowerCase()}))]);!s&&!w||y?c.log(t+": "+d+n.MESSAGES.M8):I=!0}if(I){if(1==u){var C=o.createBid(t,d);C.setDefaultBidStatus(1).setReceivedTime(c.getCurrentTimestampInMs()),l.setBidFromBidder(h.getDivID(),C),C.setRegexPattern(x)}p(t,e,a,r,d,f,h,c.getPartnerParams(s),S[i][0],S[i][1],x)}}))},e.resizeWindow=function(t,e,a,i){if(a&&e)try{var n=t.defaultView.frameElement,r=[];if(i){var o=document.getElementById(i),l=o.querySelector("div");r.push(l),r.push(l.querySelector("iframe")),n=o.querySelector("iframe")}r.push(n),r.forEach((function(t){t&&(t.width=""+e,t.height=""+a,t.style.width=e+"px",t.style.height=a+"px")}))}catch(t){c.logError("Creative-Resize; Error in resizing creative")}},e.writeIframe=function(t,e,a,i,n){t.write('<iframe frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" scrolling="no" width="'+a+'" hspace="0" vspace="0" height="'+i+'"'+(n?' style="'+n+'"':"")+' src="'+e+'"></iframe>')},e.displayCreative=function(t,e){e&&e.pbbid&&"video"==e.pbbid.mediaType&&e.renderer&&c.isObject(e.renderer)?c.isFunction(e.renderer.render)&&e.renderer.render(e.getPbBid()):(c.resizeWindow(t,e.width,e.height),e.adHtml?(e.adHtml=c.replaceAuctionPrice(e.adHtml,e.getGrossEcpm()),t.write(e.adHtml)):e.adUrl?(e.adUrl=c.replaceAuctionPrice(e.adUrl,e.getGrossEcpm()),c.writeIframe(t,e.adUrl,e.width,e.height,"")):(c.logError("creative details are not found"),c.logError(e)))},e.forEachOnObject=function(t,e){if(c.isObject(t)&&c.isFunction(e))for(var a in t)c.isOwnProperty(t,a)&&e(a,t[a])},e.forEachOnArray=function(t,e){if(c.isArray(t)&&c.isFunction(e))for(var a=0,i=t.length;i>a;a++)e(a,t[a])},e.trim=function(t){return c.isString(t)?t.replace(/^\s+/g,"").replace(/\s+$/g,""):t},e.getTopFrameOfSameDomain=function(t){try{if(t.parent.document!=t.document)return c.getTopFrameOfSameDomain(t.parent)}catch(t){}return t},e.metaInfo={},e.getMetaInfo=function(t){var e,a={};a.pageURL="",a.refURL="",a.protocol="https://",a.secure=1,a.isInIframe=c.isIframe(t);try{e=c.getTopFrameOfSameDomain(t),a.refURL=(e.refurl||e.document.referrer||"").substr(0,512),a.pageURL=(e!==window.top&&""!=e.document.referrer?e.document.referrer:e.location.href).substr(0,512),a.protocol=(function(t){return"http:"===t.location.protocol?(a.secure=0,"http://"):(a.secure=1,"https://")})(e)}catch(t){}return a.pageDomain=c.getDomainFromURL(a.pageURL),c.metaInfo=a,a},e.isIframe=function(t){try{return t.self!==t.top}catch(t){return!1}},e.findQueryParamInURL=function(t,e){return c.isOwnProperty(c.parseQueryParams(t),e)},e.parseQueryParams=function(t){var e=c.createDocElement(window,"a");e.href=t;var a={};if(e.search){var i=e.search.replace("?","");i=i.split("&"),c.forEachOnArray(i,(function(t,e){var i=(e=e.split("="))[0]||"",n=e[1]||"";a[i]=n}))}return a},e.createDocElement=function(t,e){return t.document.createElement(e)},e.addHookOnFunction=function(t,e,a,i){var n=t;if(t=e?t.__proto__:t,c.isObject(t)&&c.isFunction(t[a])){var r=t[a];t[a]=i(n,r)}else c.logWarning("in assignNewDefination: oldReference is not a function")},e.getBididForPMP=function(t,e){var a=(t=t.split(",")).length,i=e.length,r="",o="";if(0!=a){for(var l=0;i>l;l++){for(var d=0;a>d;d++)if(t[d].indexOf(e[l])>=0){r=t[d];break}if(""!=r)break}""==r?(r=t[0],this.log("No PMP-Deal was found matching PriorityArray, So Selecting first PMP-Deal: "+r)):this.log("Selecting PMP-Deal: "+r);var c=r.split(n.COMMON.DEAL_KEY_VALUE_SEPARATOR);if(3==c.length&&(o=c[2]),o)return o;this.log("Error: bidID not found in PMP-Deal: "+r)}else this.log("Error: Unable to find bidID as values array is empty.")},e.insertHtmlIntoIframe=function(t){if(t){var e=document.createElement("iframe");e.id=c.getUniqueIdentifierStr(),e.width=0,e.height=0,e.hspace="0",e.vspace="0",e.marginWidth="0",e.marginHeight="0",e.style.display="none",e.style.height="0px",e.style.width="0px",e.scrolling="no",e.frameBorder="0",e.allowtransparency="true",(function(t,e,a,i){var n;e=e||document,n=a?e.getElementsByTagName(a):e.getElementsByTagName("head");try{if((n=n.length?n:e.getElementsByTagName("body")).length){n=n[0];var r=i?null:n.firstChild;n.insertBefore(t,r)}}catch(t){}})(e,document,"body"),e.contentWindow.document.open(),e.contentWindow.document.write(t),e.contentWindow.document.close()}},e.createInvisibleIframe=function(){var t=c.createDocElement(window,"iframe");return t.id=c.getUniqueIdentifierStr(),t.height=0,t.width=0,t.border="0px",t.hspace="0",t.vspace="0",t.marginWidth="0",t.marginHeight="0",t.style.border="0",t.scrolling="no",t.frameBorder="0",t.style="display:none",t},e.addMessageEventListener=function(t,e){return"function"!=typeof e?(c.log("EventHandler should be a function"),!1):(t.addEventListener?t.addEventListener("message",e,!1):t.attachEvent("onmessage",e),!0)},e.safeFrameCommunicationProtocol=function(t){try{var e;if(msgData=window.JSON.parse(t.data),!msgData.pwt_type)return;switch(window.parseInt(msgData.pwt_type)){case 1:if(window.PWT.isSafeFrame)return;if(h=e=l.getBidById(msgData.pwt_bidID)){var a=(p=h.bid).getAdapterID(),n=h.slotid,r={pwt_type:2,pwt_bid:p};c.vLogInfo(n,{type:"disp",adapter:a}),l.executeMonetizationPixel(n,p),p&&p.pbbid&&"video"==p.pbbid.mediaType&&p.renderer&&c.isObject(p.renderer)?c.isFunction(p.renderer.render)&&p.renderer.render(p.getPbBid()):(c.resizeWindow(window.document,p.width,p.height,n),t.source.postMessage(window.JSON.stringify(r),msgData.pwt_origin))}break;case 2:if(!window.PWT.isSafeFrame)return;if(msgData.pwt_bid)if((p=msgData.pwt_bid).adHtml)try{var o=c.createInvisibleIframe(window.document);if(!o)throw{message:"Failed to create invisible frame.",name:""};if(o.setAttribute("width",p.width),o.setAttribute("height",p.height),o.style="",window.document.body.appendChild(o),!o.contentWindow)throw{message:"Unable to access frame window.",name:""};var d=o.contentWindow.document;if(!d)throw{message:"Unable to access frame window document.",name:""};var s='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><base target="_top" /><script>inDapIF=true;</script></head>';s+="<body>",s+="<script>var $sf = window.parent.$sf;</script>",s+="<script>setInterval(function(){try{var fr = window.document.defaultView.frameElement;fr.width = window.parent.document.defaultView.innerWidth;fr.height = window.parent.document.defaultView.innerHeight;}catch(e){}}, 200);</script>",s+=p.adHtml,s+="</body></html>",d.write(s),d.close()}catch(t){c.logError("Error in rendering creative in safe frame."),c.log(t),c.log("Rendering synchronously."),c.displayCreative(window.document,msgData.pwt_bid)}else p.adUrl?c.writeIframe(window.document,p.adUrl,p.width,p.height,""):(c.logWarning("creative details are not found"),c.log(p));break;case 3:if(i.isPrebidPubMaticAnalyticsEnabled())t={message:"Prebid Native",adId:msgData.pwt_bidID,action:msgData.pwt_action},window.postMessage(JSON.stringify(t),"*");else{var h;if(h=e=l.getBidById(msgData.pwt_bidID)){var p;a=(p=h.bid).getAdapterID(),n=h.slotid,c.vLogInfo(n,{type:"disp",adapter:a}),msgData.pwt_action&&"imptrackers"==msgData.pwt_action&&l.executeMonetizationPixel(n,p),l.fireTracker(p,msgData.pwt_action)}}}var u=JSON.parse(localStorage.getItem("PROFILE_AUCTION_INFO_"+window.location.hostname))||{};null!==u&&u.slotLevelFrquencyDepth&&(u.slotLevelFrquencyDepth[u.codeAdUnitMap[e&&e.slotid]].impressionServed=u.slotLevelFrquencyDepth[u.codeAdUnitMap[e&&e.slotid]].impressionServed+1,u.impressionServed=u.impressionServed+1),localStorage.setItem("PROFILE_AUCTION_INFO_"+window.location.hostname,JSON.stringify(u))}catch(t){}},e.addMessageEventListenerForSafeFrame=function(t){c.addMessageEventListener(t,c.safeFrameCommunicationProtocol)},e.getElementLocation=function(t){var e,a=0,i=0;if(c.isFunction(t.getBoundingClientRect))e=t.getBoundingClientRect(),a=Math.floor(e.left),i=Math.floor(e.top);else for(;t;)a+=t.offsetLeft,i+=t.offsetTop,t=t.offsetParent;return{x:a,y:i}},e.createVLogInfoPanel=function(t,e){var a,i,n,r=window.document;if(c.visualDebugLogIsEnabled&&(a=r.getElementById(t))&&e.length&&e[0][0]&&e[0][1]&&(n=t+"-pwtc-info",!c.isUndefined(r.getElementById(n)))){var o=c.getElementLocation(a);(i=r.createElement("div")).id=n,i.style="position: absolute; /*top: "+o.y+"px;*/ left: "+o.x+"px; width: "+e[0][0]+"px; height: "+e[0][1]+"px; border: 1px solid rgb(255, 204, 52); padding-left: 11px; background: rgb(247, 248, 224) none repeat scroll 0% 0%; overflow: auto; z-index: 9999997; visibility: hidden;opacity:0.9;font-size:13px;font-family:monospace;";var l=r.createElement("img");l.src=c.metaInfo.protocol+"ads.pubmatic.com/AdServer/js/pwt/close.png",l.style="cursor:pointer; position: absolute; top: 2px; left: "+(o.x+e[0][0]-16-15)+"px; z-index: 9999998;",l.title="close",l.onclick=function(){i.style.display="none"},i.appendChild(l),i.appendChild(r.createElement("br"));for(var d="Slot: "+t+" | ",s=0;s<e.length;s++)d+=(0!=s?", ":"")+e[s][0]+"x"+e[s][1];i.appendChild(r.createTextNode(d)),i.appendChild(r.createElement("br")),a.parentNode.insertBefore(i,a)}},e.realignVLogInfoPanel=function(t){var e,a,i,n=window.document;if(c.visualDebugLogIsEnabled&&(e=n.getElementById(t))&&(i=t+"-pwtc-info",a=n.getElementById(i))){var r=c.getElementLocation(e);a.style.visibility="visible",a.style.left=r.x+"px",a.style.height=e.clientHeight+"px"}},e.vLogInfo=function(t,e){var a,i,n=window.document;if(c.visualDebugLogIsEnabled){var r=t+"-pwtc-info";if(a=n.getElementById(r)){switch(e.type){case"bid":var o=e.latency,l=e.bidDetails,d="";0>o&&(o=0),d=e.hasOwnProperty("adServerCurrency")&&void 0!==e.adServerCurrency?0==e.adServerCurrency?"USD":e.adServerCurrency:"USD",i="Bid: "+e.bidder+(e.s2s?"(s2s)":"")+": "+l.getNetEcpm()+"("+l.getGrossEcpm()+")"+d+" :"+o+"ms",l.getPostTimeoutStatus()&&(i+=": POST-TIMEOUT");break;case"win-bid":l=e.bidDetails,d="",d=e.hasOwnProperty("adServerCurrency")&&void 0!==e.adServerCurrency?0==e.adServerCurrency?"USD":e.adServerCurrency:"USD",i="Winning Bid: "+l.getAdapterID()+": "+l.getNetEcpm()+d;break;case"win-bid-fail":i="There are no bids from PWT";break;case"hr":i="----------------------";break;case"disp":i="Displaying creative from "+e.adapter}a.appendChild(n.createTextNode(i)),a.appendChild(n.createElement("br"))}}},e.getExternalBidderStatus=function(t){var e=!0;return c.forEachOnArray(t,(function(t,a){e=window.OWT.externalBidderStatuses[a]?e&&window.OWT.externalBidderStatuses[a].status:e})),e},e.resetExternalBidderStatus=function(t){c.forEachOnArray(t,(function(t,e){c.log("resetExternalBidderStatus: "+e),window.OWT.externalBidderStatuses[e]=void 0}))},e.ajaxRequest=function(t,e,a,i){try{var n,r=!0,o=(i=i||{}).method||(a?"POST":"GET");if(window.XMLHttpRequest?(n=new window.XMLHttpRequest,c.isUndefined(n.responseType)&&(r=!1)):r=!1,!r)return void c.log("Ajax is not supported");n.onreadystatechange=function(){4===n.readyState&&e&&e(n.responseText,n)},n.open(o,t),i.withCredentials&&(n.withCredentials=!0),i.preflight&&n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.setRequestHeader("Content-Type",i.contentType||"text/plain"),n.send("POST"===o&&a)}catch(t){c.log("Failed in Ajax"),c.log(t)}},e.getAdUnitConfig=function(t,e){function a(){return f?Object.keys(s.config).toString().toLowerCase().indexOf(f.toLowerCase())>-1:void 0}function r(){return!(!s||1!=s[n.COMMON.MCONF_REGEX])}var o,l={},d={},s=i.getSlotConfiguration();if(s)if(s.configPattern&&""!=s.configPattern.trim()||(s.configPattern="_AU_")){var h=s.configPattern,p=!0,u=!0,I=!0,g=void 0,m=c.isFunction(e.getDivID)?e.getDivID():e.getSlotId().getDomId(),f=c.generateSlotNamesFromPattern(e,h,!1)[0];if(c.isOwnProperty(s.config,n.COMMON.DEFAULT)&&(s.config[n.COMMON.DEFAULT].banner&&c.isOwnProperty(s.config[n.COMMON.DEFAULT].banner,"enabled")&&!s.config[n.COMMON.DEFAULT].banner.enabled&&(I=!1),s.config[n.COMMON.DEFAULT].native&&c.isOwnProperty(s.config[n.COMMON.DEFAULT].native,"enabled")&&!s.config[n.COMMON.DEFAULT].native.enabled&&(u=!1),s.config[n.COMMON.DEFAULT].video&&c.isOwnProperty(s.config[n.COMMON.DEFAULT].video,"enabled")&&!s.config[n.COMMON.DEFAULT].video.enabled&&(p=!1),(g=s.config[n.COMMON.DEFAULT]).renderer&&!c.isEmptyObject(g.renderer)&&(l.renderer=g.renderer)),c.isOwnProperty(s.config,f)||a()||r()){const t=a()?s.config[f]:r()?(Object.keys(s.config).forEach((function(t){try{if(t.length>0&&t!=n.COMMON.DEFAULT&&f.match(new RegExp(t,"i")))return void(o=t)}catch(e){c.log(n.MESSAGES.M32+JSON.stringify(t))}})),o?s.config[o]:void 0):void 0;t&&(g=t),g||(g=s.config[Object.keys(s.config).filter((function(t){return t.toLocaleLowerCase()===f.toLowerCase()}))]),c.log("Config"+JSON.stringify(g)+" found for adSlot: "+JSON.stringify(e))}else c.log("Considering Default Config for "+JSON.stringify(e));if(g){if(u&&g.native&&(!c.isOwnProperty(g.native,"enabled")||g.native.enabled)&&(g.native.config?d.native=g.native.config:c.logWarning("Native Config will not be considered as no config has been provided for slot"+JSON.stringify(e)+" or there is no configuration defined in default.")),p&&g.video&&(!c.isOwnProperty(g.video,"enabled")||g.video.enabled)&&(i.getAdServer()!=n.AD_SERVER.DFP?g.video.config?(d.video=g.video.config,g.video.partnerConfig&&(d.partnerConfig=g.video.partnerConfig)):c.logWarning("Video Config will not be considered as no config has been provided for slot"+JSON.stringify(e)+" or there is no configuration defined in default."):c.logWarning("Video Config will not be considered with DFP selected as AdServer.")),g.renderer&&!c.isEmptyObject(g.renderer)&&(l.renderer=g.renderer),!I||g.banner&&c.isOwnProperty(g.banner,"enabled")&&!g.banner.enabled)return c.mediaTypeConfig[m]=d,l.mediaTypeObject=d,l}else c.log("Config not found for adSlot: "+JSON.stringify(e))}else c.logWarning("Slot Type not found in config. Please provide slotType in configuration");return d.banner={sizes:t},c.mediaTypeConfig[m]=d,l.mediaTypeObject=d,l},e.addEventListenerForClass=function(t,e,a,i){if("function"!=typeof i)return c.log("EventHandler should be a function"),!1;var n=c.findElementsByClass(t,a);t.addEventListener||(e="on"+e);for(var r=0;r<n.length;r++)n[r].addEventListener(e,i,!0);return!0},e.findElementsByClass=function(t,e){return t.document.getElementsByClassName(e)||[]},e.getBidFromEvent=function(t){return t&&t.target&&t.target.attributes&&t.target.attributes[n.COMMON.BID_ID]&&t.target.attributes[n.COMMON.BID_ID].value||""},e.getAdFormatFromBidAd=function(t){var e=void 0;if(t&&c.isString(t))try{if(new RegExp(/VAST\s+version/).test(t))e=n.FORMAT_VALUES.VIDEO;else{var a=JSON.parse(t.replace(/\\/g,""));a&&a.native&&(e=n.FORMAT_VALUES.NATIVE)}}catch(t){e=n.FORMAT_VALUES.BANNER}return e},e.handleHook=function(t,e){c.isFunction(window.PWT[t])&&(c.log("For Hook-name: "+t+", calling window.PWT."+t+"function."),window.PWT[t].apply(window.PWT,e))},e.getCurrencyToDisplay=function(){var t=i.getAdServerCurrency();if(0==t&&(t="USD"),i.getAdServerCurrency()&&window[n.COMMON.PREBID_NAMESPACE]&&c.isFunction(window[n.COMMON.PREBID_NAMESPACE].getConfig)){var e=window[n.COMMON.PREBID_NAMESPACE].getConfig();if(e&&e.currency&&e.currency.adServerCurrency)return e.currency.adServerCurrency}return t},e.getConfigFromRegex=function(t,e){for(var a=null,i=e.split("@"),r=0;r<t.length;r++){var o=t[r],l=o.rx;if(3==i.length)try{if(i[0].match(new RegExp(l.AU,"i"))&&i[1].match(new RegExp(l.DIV,"i"))&&i[2].match(new RegExp(l.SIZE,"i"))){a={config:o.rx_config,regexPattern:l.AU+"@"+l.DIV+"@"+l.SIZE};break}}catch(t){c.logError(n.MESSAGES.M27+JSON.stringify(l))}else c.logWarning(n.MESSAGES.M28+e)}return a},e.getUserIdConfiguration=function(){var t=[];return window[s].onSSOLogin({}),c.forEachOnObject(i.getIdentityPartners(),(function(e,a){n.EXCLUDE_PARTNER_LIST.indexOf(e)<0&&t.push(c.getUserIdParams(a))})),c.log(n.MESSAGES.IDENTITY.M4+JSON.stringify(t)),t},e.getUserIds=function(){return c.isFunction(window[n.COMMON.PREBID_NAMESPACE].getUserIds)?window[n.COMMON.PREBID_NAMESPACE].getUserIds():(c.logWarning("getUserIds"+n.MESSAGES.IDENTITY.M6),void 0)},e.getUserIdsAsEids=function(){return c.isFunction(window[n.COMMON.PREBID_NAMESPACE].getUserIdsAsEids)?window[n.COMMON.PREBID_NAMESPACE].getUserIdsAsEids():(c.logWarning("getUserIdsAsEids"+n.MESSAGES.IDENTITY.M6),void 0)},e.getNestedObjectFromArray=function(t,e,a){for(var i=t,n=i,r=0;r<e.length-1;r++)n[e[r]]||(n[e[r]]={}),n=n[e[r]];return n[e[e.length-1]]=a,i},e.getNestedObjectFromString=function(t,e,a,i){var n=a.split(e);return 1==n.length?t[a]=i:t=c.getNestedObjectFromArray(t,n,i),t},e.deleteCustomParams=function(t){return delete t.custom,t},e.getUserIdParams=function(t){var e={};for(var a in c.applyDataTypeChangesIfApplicable(t),c.applyCustomParamValuesfApplicable(t),t)try{-1==n.EXCLUDE_IDENTITY_PARAMS.indexOf(a)&&(n.TOLOWERCASE_IDENTITY_PARAMS.indexOf(a)>-1&&(t[a]=t[a].toLowerCase()),n.JSON_VALUE_KEYS.indexOf(a)>-1&&(t[a]=JSON.parse(t[a])),e=c.getNestedObjectFromString(e,".",a,t[a]))}catch(t){c.logWarning(n.MESSAGES.IDENTITY.M3,t)}return e&&e.params&&"true"==e.params.loadATS&&c.initLiveRampAts(e),e&&e.params&&"true"==e.params.loadIDP&&c.initZeoTapJs(e),e&&e.params&&"true"==e.params.loadLauncher&&c.initLauncherJs(e),e&&e.custom&&"true"==e.custom.loadLaunchPad&&c.initLiveRampLaunchPad(e),c.deleteCustomParams(e)},e.getPartnerParams=function(t){var e={};for(var a in t)try{e=c.getNestedObjectFromString(e,".",a,t[a])}catch(t){c.logWarning(n.MESSAGES.M29,t)}return e},e.getAdDomain=function(t){if(t.meta&&t.meta.advertiserDomains&&t.meta.advertiserDomains.length>0){var e=t.meta.advertiserDomains[0];if(e)try{return new URL(e).hostname.replace("www.","")}catch(t){return c.log("Adomain URL (Not a proper URL):"+e),e.split("/")[0].replace("www.","")}}},e.getTgid=function(){var t=parseInt(PWT.testGroupId||0);return 15>=t&&t>=0?t:0},e.generateMonetizationPixel=function(t,e){var a,r,o,d,s,h,p,u=i.getMonetizationPixelURL(),I=i.getPublisherId(),g="";const m=e.pbbid&&e.pbbid.prebidBidId||e.prebidBidId;if(u){r=c.isFunction(e.getGrossEcpm)?e.getGrossEcpm(!0):i.getAdServerCurrency()&&c.isFunction(e.getCpmInNewCurrency)?window.parseFloat(e.getCpmInNewCurrency(n.COMMON.ANALYTICS_CURRENCY)):i.isPrebidPubMaticAnalyticsEnabled()&&e.originalCpm?e.originalCpm:e.cpm,"pubmaticServer"==(s=c.isFunction(e.getAdapterID)?e.getAdapterID():e.bidderCode)&&(s=e.originalBidder||"pubmatic"),h=i.getAdapterNameForAlias(s),a=c.isFunction(e.getNetEcpm)?e.getNetEcpm(!0):window.parseFloat((r*i.getAdapterRevShare(s)).toFixed(n.COMMON.BID_PRECISION)),d=c.isFunction(e.getBidID)?e.getBidID():i.isPrebidPubMaticAnalyticsEnabled()&&e.adId?e.adId:window.PWT.bidMap[t].adapters[s].bids[Object.keys(window.PWT.bidMap[t].adapters[s].bids)[0]].bidID,o=c.isFunction(e.getKGPV)?e.getKGPV():window.PWT.bidMap[t].adapters[s].bids[Object.keys(window.PWT.bidMap[t].adapters[s].bids)[0]].getKGPV(!1,e.mediaType),g=c.isFunction(e.getsspID)?e.getsspID():e.sspID||"",p=l.getAdUnitInfo(t).adUnitId||t;var f=window.PWT.bidMap[t].getImpressionID(),b=window.PWT.newAdUnits&&window.PWT.newAdUnits[f]&&window.PWT.newAdUnits[f][t]&&window.PWT.newAdUnits[f][t].pubmaticAutoRefresh&&window.PWT.newAdUnits[f][t].pubmaticAutoRefresh.isRefreshed?1:0;const x=c.getAdDomain(e.pbbid||e)||void 0,S=window.PWT.floorData&&window.PWT.floorData[f]&&window.PWT.floorData[f].floorRequestData?0==window.PWT.floorData[f].floorRequestData.skipped?0:1:void 0;return u+="pubid="+I,u+="&purl="+window.encodeURIComponent(c.metaInfo.pageURL),u+="&tst="+c.getCurrentTimestamp(),u+="&iid="+window.encodeURIComponent(window.PWT.bidMap[t].getImpressionID()),u+="&bidid="+(m?window.encodeURIComponent(m):window.encodeURIComponent(d)),u+="&origbidid="+window.encodeURIComponent(d),u+="&pid="+window.encodeURIComponent(i.getProfileID()),u+="&pdvid="+window.encodeURIComponent(i.getProfileDisplayVersionID()),u+="&slot="+window.encodeURIComponent(t),u+="&au="+window.encodeURIComponent(p),u+="&bc="+window.encodeURIComponent(s),u+="&pn="+window.encodeURIComponent(h),u+="&en="+window.encodeURIComponent(a),u+="&eg="+window.encodeURIComponent(r),u+="&kgpv="+window.encodeURIComponent(o),u+="&piid="+window.encodeURIComponent(g),u+="&rf="+window.encodeURIComponent(b),u+="&plt="+window.encodeURIComponent(c.getDevicePlatform()),u+=c.isFunction(e.getWidth)&&c.isFunction(e.getHeight)?"&psz="+window.encodeURIComponent(e.getWidth()+"x"+e.getHeight()):c.isFunction(e.getSize)?"&psz="+window.encodeURIComponent(e.getSize()):"&psz="+window.encodeURIComponent(e.width+"x"+e.height),u+="&tgid="+window.encodeURIComponent(c.getTgid()),x&&(u+="&adv="+window.encodeURIComponent(x)),u+="&orig="+window.encodeURIComponent(c.metaInfo&&c.metaInfo.pageDomain||""),u+="&ss="+window.encodeURIComponent(c.isFunction(e.getServerSideStatus)?e.getServerSideStatus()?1:0:i.isServerSideAdapter(s)?1:0),null!=S&&(u+="&fskp="+window.encodeURIComponent(S)),u+="&af="+window.encodeURIComponent(c.isFunction(e.getAdFormat)?e.getAdFormat():e.mediaType||void 0),n.COMMON.PROTOCOL+u}},e.UpdateVastWithTracker=function(t,e){try{var a=(new DOMParser).parseFromString(e,"application/xml"),n=a.createElement("Impression");return n.innerHTML=i.isPrebidPubMaticAnalyticsEnabled()?"":"<![CDATA["+c.generateMonetizationPixel(t.adUnitCode,t)+"]]>",1==a.getElementsByTagName("Wrapper").length?a.getElementsByTagName("Wrapper")[0].appendChild(n):1==a.getElementsByTagName("InLine").length&&a.getElementsByTagName("InLine")[0].appendChild(n),(new XMLSerializer).serializeToString(a)}catch(t){return e}},e.getDomainFromURL=function(t){var e=window.document.createElement("a");return e.href=t,e.hostname},e.replaceAuctionPrice=function(t,e){return t?t.replace(/\$\{AUCTION_PRICE\}/g,e):void 0},e.getCustomParamsForDFPVideo=function(t,e){const a=e&&e.adserverTargeting||{};var i={};for(var n in a)c.isOwnProperty(a,n)&&(i[n]=c.isArray(a[n])?a[n].join():a[n]);return t=Object.assign({},i,t)},e.getDevicePlatform=function(){var t=3;try{var e=navigator.userAgent;if(e&&c.isString(e)&&""!=e.trim()){e=e.toLowerCase().trim();var a=new RegExp("(mobi|tablet|ios).*");t=e.match(a)?2:1}}catch(t){c.logError("Unable to get device platform",t)}return t},e.getOWConfig=function(){return{timeout:i.getTimeout(),openwrap_version:i[n.COMMON.OWVERSION],prebid_version:i[n.COMMON.PBVERSION],profileId:i.getProfileID(),profileVersionId:i.getProfileDisplayVersionID()}},e.updateAdUnits=function(t){c.isArray(t)?t.forEach((function(t){t.bids.forEach((function(t){c.updateUserIds(t)}))})):c.isEmptyObject(t)||t.bids.forEach((function(t){c.updateUserIds(t)}))},e.updateUserIds=function(t){if(c.isUndefined(t.userId)?t.userId=c.getUserIds():t.userId&&(t.userId=Object.assign(t.userId,c.getUserIds())),c.isUndefined(t.userIdAsEids))t.userIdAsEids=c.getUserIdsAsEids();else if(c.isArray(t.userIdAsEids)){var e=new Set,a=c.getUserIdsAsEids().concat(t.userIdAsEids);c.isArray(a)&&a.length>0&&(a=a.filter((function(t){if(t.source){if(e.has(t.source))return!1;e.add(t.source)}return!0}))),t.userIdAsEids=a}},e.getLiverampParams=function(t){t.params.cssSelectors&&t.params.cssSelectors.length>0&&(t.params.cssSelectors=t.params.cssSelectors.split(","));var e=window[s].getUserIdentities()||{},a=i.isSSOEnabled()||!1,n=t.params.detectionMechanism,r="true"===t.params.enableCustomId,o={placementID:t.params.pid,storageType:t.params.storageType,logging:t.params.logging};switch(r&&(o.accountID=t.params.accountID,o.customerIDRegex=t.params.customerIDRegex,o.detectionSubject="customerIdentifier"),n){case void 0:case"detect":o.detectionType=t.params.detectionType,o.urlParameter=t.params.urlParameter,o.cssSelectors=t.params.cssSelectors,o.detectDynamicNodes=t.params.detectDynamicNodes,o.detectionEventType=t.params.detectionEventType,t.params.triggerElements&&t.params.triggerElements.length>0&&(t.params.triggerElements=t.params.triggerElements.split(","),o.triggerElements=t.params.triggerElements);break;case"direct":if(o.emailHashes=void 0,window.PWT&&window.PWT.OVERRIDES_SCRIPT_BASED_MODULES&&window.PWT.OVERRIDES_SCRIPT_BASED_MODULES.includes("identityLink")||void 0===window.PWT.OVERRIDES_SCRIPT_BASED_MODULES){var l=a&&e.emailHash?e.emailHash:e.pubProvidedEmailHash?e.pubProvidedEmailHash:void 0;o.emailHashes=l&&[l.MD5,l.SHA1,l.SHA256]||void 0}r&&c.isFunction(window[s].getUserIdentities)&&void 0!==window[s].getUserIdentities()&&(o.customerID=window[s].getUserIdentities().customerID||void 0)}return o},e.getEmailHashes=function(){var t=window[s].getUserIdentities()||{},e=i.isSSOEnabled()&&t.emailHash?t.emailHash:t.pubProvidedEmailHash?t.pubProvidedEmailHash:void 0,a=[];return c.forEachOnObject(e,(function(t,e){void 0!==e&&a.push(e)})),a.length>0?a:void 0},e.initLiveRampLaunchPad=function(t){var e,a="https://launchpad-wrapper.privacymanager.io/"+t.custom.configurationId+"/launchpad-liveramp.js";(e=document.createElement("script")).onload=function(){__launchpad("addEventListener",1,(function(){if((!ats.outputCurrentConfiguration().DETECTION_MODULE_INFO||ats.outputCurrentConfiguration().ENVELOPE_MODULE_INFO.ENVELOPE_MODULE_CONFIG.startWithExternalId)&&(window.PWT&&window.PWT.OVERRIDES_SCRIPT_BASED_MODULES&&window.PWT.OVERRIDES_SCRIPT_BASED_MODULES.includes("identityLink")||void 0===window.PWT.OVERRIDES_SCRIPT_BASED_MODULES)){var t=c.getEmailHashes();t&&window.ats.setAdditionalData({type:"emailHashes",id:t})}}),["atsWrapperLoaded"])},e.src=a,document.body.appendChild(e)},e.getPublinkLauncherParams=function(t){t.params.cssSelectors&&t.params.cssSelectors.length>0&&(t.params.cssSelectors=t.params.cssSelectors.split(","));var e=window[s].getUserIdentities()||{},a=i.isSSOEnabled()||!1,n=t.params.detectionMechanism,r={apiKey:t.params.api_key,siteId:t.params.site_id};switch(n){case void 0:case"detect":r.urlParameter=t.params.urlParameter,r.cssSelectors=t.params.cssSelectors,r.detectionSubject="email";break;case"direct":if(window.PWT&&window.PWT.OVERRIDES_SCRIPT_BASED_MODULES&&window.PWT.OVERRIDES_SCRIPT_BASED_MODULES.includes("publinkId")||void 0===window.PWT.OVERRIDES_SCRIPT_BASED_MODULES){var o=a&&e.emailHash?e.emailHash:e.pubProvidedEmailHash?e.pubProvidedEmailHash:void 0;r.emailHashes=o&&[o.MD5,o.SHA256]||void 0}}return r},e.initLiveRampAts=function(t){function e(){var e=document.createElement("script"),a=c.getLiverampParams(t);e.onload=function(){window.ats&&window.ats.start(a)},e.src="https://ats.rlcdn.com/ats.js",document.body.appendChild(e)}"complete"==document.readyState?e():window.addEventListener("load",(function(){setTimeout(e,1e3)}))},e.initZeoTapJs=function(t){function e(){var e=document,a=window,n=window[s].getUserIdentities()||{},r=i.isSSOEnabled()||!1,o={};(window.PWT&&window.PWT.OVERRIDES_SCRIPT_BASED_MODULES&&window.PWT.OVERRIDES_SCRIPT_BASED_MODULES.includes("zeotapIdPlus")||void 0===window.PWT.OVERRIDES_SCRIPT_BASED_MODULES)&&(o={email:r&&n.emailHash?n.emailHash.SHA256:n.pubProvidedEmailHash?n.pubProvidedEmailHash.SHA256:void 0});var l=e.createElement("script");l.type="text/javascript",l.crossorigin="anonymous",l.async=!0,l.src="https://content.zeotap.com/sdk/idp.min.js",l.onload=function(){},e=e.getElementsByTagName("script")[0];var d={partnerId:t.partnerId,allowIDP:!0,useConsent:i.getCCPA()||i.getGdpr(),checkForCMP:i.getCCPA()||i.getGdpr()};e.parentNode.insertBefore(l,e),(function(t,e){for(var a=0;a<e.length;a++)!(function(e){t[e]=function(){t._q.push([e].concat(Array.prototype.slice.call(arguments,0)))}})(e[a])})(e=a.zeotap||{_q:[],_qcmp:[]},["callMethod"]),a.zeotap=e,a.zeotap.callMethod("init",d),a.zeotap.callMethod("setUserIdentities",o,!0)}"complete"==document.readyState?e():window.addEventListener("load",(function(){setTimeout(e,1e3)}))},e.initLauncherJs=function(t){function e(){var e=document.createElement("script"),a=c.getPublinkLauncherParams(t);e.onload=function(){window.conversant.getLauncherObject=function(){return a},window.conversant&&window.conversant.launch("publink","start",a)},e.src="https://secure.cdn.fastclick.net/js/cnvr-launcher/latest/launcher-stub.min.js",document.body.appendChild(e)}window.cnvr_launcher_options={lid:t.params.launcher_id},"complete"==document.readyState?e():window.addEventListener("load",(function(){setTimeout(e,1e3)}))},e.getRandomNumberBelow100=function(){return Math.floor(100*Math.random())},e.getUpdatedKGPVForVideo=function(t,e){if(e==n.FORMAT_VALUES.VIDEO){var a=["","0x0"],i=t.split("@");if(i.length>1){if(2==i.length){if(i[1].indexOf(":")>-1){var r=i[1].split(":");a[1]=a[1]+":"+r[1]}a[0]=i[0]}t=a.join("@")}}return t},e.applyDataTypeChangesIfApplicable=function(t){var e;if(t.name in n.SPECIAL_CASE_ID_PARTNERS)for(partnerName in n.SPECIAL_CASE_ID_PARTNERS)if(partnerName===t.name)for(key in n.SPECIAL_CASE_ID_PARTNERS[partnerName]){var a=t[key];switch(n.SPECIAL_CASE_ID_PARTNERS[partnerName][key]){case"number":a&&"number"!=typeof a&&(e=parseInt(a),isNaN(e)?c.logError(partnerName+": Invalid parameter value '"+a+"' for parameter "+key):t[key]=e);break;case"array":if(a)if("string"==typeof a){var i=a.split(",").map((function(t){return t.trim()}));i.length>0&&(t[key]=i)}else"number"==typeof a&&(t[key]=[a]);break;case"customObject":a&&"params.requestedAttributesOverrides"===key&&(t[key]={uid2:"true"===a||"1"===a});break;default:return}}},e.applyCustomParamValuesfApplicable=function(t){if(t.name in n.ID_PARTNERS_CUSTOM_VALUES)for(var e=n.ID_PARTNERS_CUSTOM_VALUES[t.name],a=0;a<e.length;a++)t[e[a].key]||(t[e[a].key]=e[a].value)},e.getBrowserDetails=function(){return l.getBrowser().toString()},e.getPltForFloor=function(){return c.getDevicePlatform().toString()},e.getGeoInfo=function(){var t="https://ut.pubmatic.com/geo?pubid="+r[n.CONFIG.COMMON][n.CONFIG.PUBLISHER_ID],e=window[s].getDataFromLocalStorage("UINFO",1728e5);e&&JSON.parse(e).cc?window.PWT.CC=JSON.parse(e):window[s].detectLocation(t,(function(t){window[s].setAndStringifyToLocalStorage("UINFO",t),window.PWT.CC=t}))}}),(function(t,e,a){var i,n=a(3),r=a(0),o=a(1);(i=this)[r.COMMON.OWVERSION]=n[r.CONFIG.COMMON][r.COMMON.OWVERSION],i[r.COMMON.PBVERSION]=n[r.CONFIG.COMMON][r.COMMON.PBVERSION],e.getPublisherId=function(){return o.trim(n.pwt.pubid)||"0"},e.getMataDataPattern=function(){return o.isString(n[r.CONFIG.COMMON][r.CONFIG.META_DATA_PATTERN])?n[r.CONFIG.COMMON][r.CONFIG.META_DATA_PATTERN]:null},e.getSendAllBidsStatus=function(){return window.parseInt(n[r.CONFIG.COMMON][r.CONFIG.SEND_ALL_BIDS])||0},e.getTimeout=function(){return window.parseInt(n.pwt.t)||1e3},e.getDisableAjaxTimeout=function(){var t=n.pwt;return!o.isOwnProperty(t,r.CONFIG.DISABLE_AJAX_TIMEOUT)||1==n.pwt.disableAjaxTimeout},e.getAdapterRevShare=function(t){var e=n.adapters;return o.isOwnProperty(e[t],r.CONFIG.REV_SHARE)?1-window.parseFloat(e[t][r.CONFIG.REV_SHARE])/100:1},e.getAdapterThrottle=function(t){var e=n.adapters;return o.isOwnProperty(e[t],r.CONFIG.THROTTLE)?100-window.parseFloat(e[t][r.CONFIG.THROTTLE]):0},e.isServerSideAdapter=function(t){var e=n.adapters;return!(!e[t]||!o.isOwnProperty(e[t],r.CONFIG.SERVER_SIDE_ENABLED))&&1===window.parseInt(e[t][r.CONFIG.SERVER_SIDE_ENABLED])},e.getAdapterMaskBidsStatus=function(t){var e=n.adapters,a={audienceNetwork:1};return o.isOwnProperty(a,t)?a[t]:o.isOwnProperty(e[t],r.CONFIG.MASK_BIDS)&&window.parseInt(e[t][r.CONFIG.MASK_BIDS])||0},e.getBidPassThroughStatus=function(t){var e=n.adapters;return o.isOwnProperty(e[t],r.CONFIG.BID_PASS_THROUGH)?window.parseInt(e[t][r.CONFIG.BID_PASS_THROUGH]):0},e.getProfileID=function(){return o.trim(n.pwt[r.CONFIG.PROFILE_ID])||"0"},e.getProfileDisplayVersionID=function(){return o.trim(n.pwt[r.CONFIG.PROFILE_VERSION_ID])||"0"},e.getAnalyticsPixelURL=function(){return n.pwt[r.CONFIG.LOGGER_URL]||!1},e.getMonetizationPixelURL=function(){return n.pwt[r.CONFIG.TRACKER_URL]||!1},e.forEachAdapter=function(t){o.forEachOnObject(n.adapters,t)},e.getGdpr=function(){return"1"===(n[r.CONFIG.COMMON][r.CONFIG.GDPR_CONSENT]||r.CONFIG.DEFAULT_GDPR_CONSENT)},e.getCmpApi=function(){return n[r.CONFIG.COMMON][r.CONFIG.GDPR_CMPAPI]||r.CONFIG.DEFAULT_GDPR_CMPAPI},e.getGdprTimeout=function(){var t=n[r.CONFIG.COMMON][r.CONFIG.GDPR_TIMEOUT];return t?window.parseInt(t):r.CONFIG.DEFAULT_GDPR_TIMEOUT},e.getAwc=function(){return"1"===(n[r.CONFIG.COMMON][r.CONFIG.GDPR_AWC]||r.CONFIG.DEFAULT_GDPR_AWC)},e.getOverrideNamespace=function(t,e,a){var i=n[r.CONFIG.COMMON][t];return i?i===e?a:i:a},e.addPrebidAdapter=function(){var t=r.COMMON.PARENT_ADAPTER_PREBID;if(!o.isOwnProperty(n.adapters,t)){var e={};e[r.CONFIG.REV_SHARE]="0.0",e[r.CONFIG.THROTTLE]="100",e[r.CONFIG.KEY_GENERATION_PATTERN]="_DIV_",e[r.CONFIG.KEY_LOOKUP_MAP]={},n.adapters[t]=e}},e.initConfig=function(){i.updateABTestConfig(),i.addPrebidAdapter();var t={};o.forEachOnObject(r.CONFIG,(function(e,a){t[a]=""})),o.forEachOnObject(n.adapters,(function(e,a){var i={};o.forEachOnObject(a,(function(e,a){o.isOwnProperty(t,e)||(i[e]=a)})),o.forEachOnObject(a[r.CONFIG.KEY_LOOKUP_MAP],(function(t,e){o.forEachOnObject(i,(function(t,a){e[t]=a}))})),"pubmatic"!=e&&"pubmatic2"!=e&&o.forEachOnObject(a[r.CONFIG.REGEX_KEY_LOOKUP_MAP],(function(t,e){o.forEachOnObject(i,(function(t,a){o.isOwnProperty(e,"rx_config")&&(e.rx_config[t]=a)}))}))}))},e.getNativeConfiguration=function(){return n[r.COMMON.NATIVE_MEDIA_TYPE_CONFIG]},e.getAdServerCurrency=function(){return n[r.CONFIG.COMMON][r.COMMON.AD_SERVER_CURRENCY]},e.isSingleImpressionSettingEnabled=function(){return parseInt(n[r.CONFIG.COMMON][r.COMMON.SINGLE_IMPRESSION]||r.CONFIG.DEFAULT_SINGLE_IMPRESSION)},e.isUserIdModuleEnabled=function(){return parseInt(n[r.CONFIG.COMMON][r.COMMON.ENABLE_USER_ID]||r.CONFIG.DEFAULT_USER_ID_MODULE)},e.getIdentityPartners=function(){return n[r.COMMON.IDENTITY_PARTNERS]},e.isIdentityOnly=function(){return parseInt(n[r.CONFIG.COMMON][r.COMMON.IDENTITY_ONLY]||r.CONFIG.DEFAULT_IDENTITY_ONLY)},e.getIdentityConsumers=function(){return(n[r.CONFIG.COMMON][r.COMMON.IDENTITY_CONSUMERS]||"").toLowerCase()},e.getSlotConfiguration=function(){return n[r.COMMON.SLOT_CONFIG]},e.getAdServer=function(){return n[r.COMMON.ADSERVER]},e.getCCPA=function(){return"1"===(n[r.CONFIG.COMMON][r.CONFIG.CCPA_CONSENT]||r.CONFIG.DEFAULT_CCPA_CONSENT)},e.getCCPACmpApi=function(){return n[r.CONFIG.COMMON][r.CONFIG.CCPA_CMPAPI]||r.CONFIG.DEFAULT_CCPA_CMPAPI},e.getCCPATimeout=function(){var t=n[r.CONFIG.COMMON][r.CONFIG.CCPA_TIMEOUT];return t?window.parseInt(t):r.CONFIG.DEFAULT_CCPA_TIMEOUT},e.getSchainObject=function(){return n[r.CONFIG.COMMON][r.COMMON.SCHAINOBJECT]||{}},e.isSchainEnabled=function(){return window.parseInt(n[r.CONFIG.COMMON][r.COMMON.SCHAIN])||0},e.isFloorPriceModuleEnabled=function(){return 1===window.parseInt(n[r.CONFIG.COMMON][r.CONFIG.FLOOR_PRICE_MODULE_ENABLED])},e.getFloorSource=function(){return n[r.CONFIG.COMMON][r.CONFIG.FLOOR_SOURCE]},e.getFloorJsonUrl=function(){return n[r.CONFIG.COMMON][r.CONFIG.FLOOR_JSON_URL]},e.getFloorAuctionDelay=function(){var t=n[r.CONFIG.COMMON][r.CONFIG.FLOOR_AUCTION_DELAY];return t?window.parseInt(t):r.CONFIG.DEFAULT_FLOOR_AUCTION_DELAY},e.getFloorType=function(){return!(!n[r.CONFIG.COMMON][r.CONFIG.FLOOR_ENFORCE_JS]||n[r.CONFIG.COMMON][r.CONFIG.FLOOR_ENFORCE_JS].toLowerCase()!==r.COMMON.HARD_FLOOR)},e.isPrebidPubMaticAnalyticsEnabled=function(){return 1===parseInt(n[r.CONFIG.COMMON][r.CONFIG.ENABLE_PB_PM_ANALYTICS])},e.isUsePrebidKeysEnabled=function(){return 1===parseInt(n[r.CONFIG.COMMON][r.CONFIG.USE_PREBID_KEYS])},e.PBJS_NAMESPACE=n[r.CONFIG.COMMON][r.COMMON.PBJS_NAMESPACE]||"pbjs",e.isReduceCodeSizeFeatureEnabled=function(){return 1===parseInt(n[r.CONFIG.COMMON][r.COMMON.REDUCE_CODE_SIZE])},e.getPriceGranularity=function(){return n[r.CONFIG.COMMON][r.COMMON.PRICE_GRANULARITY]||null},e.getGranularityMultiplier=function(){return parseFloat(n[r.CONFIG.COMMON][r.COMMON.GRANULARITY_MULTIPLIER])||1},e.isAbTestEnabled=function(){return 1===parseInt(n[r.CONFIG.COMMON][r.CONFIG.AB_TEST_ENABLED])},e.getTestPWTConfig=function(){return n[r.COMMON.TEST_PWT]||{}},e.getTestGroupDetails=function(){return n[r.COMMON.TEST_GROUP_DETAILS]||{}},e.getTestPartnerConfig=function(){return n[r.COMMON.TEST_PARTNER]||{}},e.getTestIdentityPartners=function(){return n[r.COMMON.TEST_IDENTITY_PARTNER]||{}},e.updateABTestConfig=function(){if(i.isAbTestEnabled()){var t=o.getRandomNumberBelow100(),e=i.getTestGroupDetails();e&&e.testGroupSize&&t<e.testGroupSize&&(i.updatePWTConfig(),n.adapters=i.updatePartnerConfig(i.getTestPartnerConfig(),n.adapters),i.getTestIdentityPartners()&&i.getIdentityPartners()&&(Object.keys(i.getTestIdentityPartners()).length>0&&0==Object.keys(i.getIdentityPartners()).length?(o.log(r.MESSAGES.M31,JSON.stringify(i.getTestIdentityPartners())),n.identityPartners=i.getTestIdentityPartners()):0==Object.keys(i.getTestIdentityPartners()).length&&Object.keys(i.getIdentityPartners()).length>0?(o.log(r.MESSAGES.M31,JSON.stringify({})),n.identityPartners={}):n.identityPartners=i.updatePartnerConfig(i.getTestIdentityPartners(),i.getIdentityPartners())),window.PWT.testGroupId=1)}},e.updatePWTConfig=function(){var t=i.getTestPWTConfig();if(t&&Object.keys(t).length>0)for(var e in o.log(r.MESSAGES.M30,JSON.stringify(t)),t)n[r.CONFIG.COMMON][e]&&(n[r.CONFIG.COMMON][e]=t[e])},e.updatePartnerConfig=function(t,e){if(t&&e&&Object.keys(t).length>0&&Object.keys(e).length>0){for(var a in o.log(r.MESSAGES.M31,JSON.stringify(t)),t)o.isOwnProperty(t,a)&&o.isObject(t[a])&&(0==Object.keys(t[a]).length&&e[a]&&Object.keys(e[a]).length>0?t[a]=e[a]:Object.keys(t[a]).length>0&&e[a]&&Object.keys(e[a]).length>0&&(t[a]=i.getMergedConfig(t[a],e[a])));return window.PWT.testGroupId=1,t}return e},e.getTestGroupDetails=function(){return n[r.COMMON.TEST_GROUP_DETAILS]||{}},e.getMergedConfig=function(t,e){for(var a in e)Object.prototype.hasOwnProperty.call(t,a)||(t[a]=o.isObject(e[a])||o.isArray(e[a])?JSON.parse(JSON.stringify(e[a])):e[a]);return t},e.forEachBidderAlias=function(t){o.forEachOnObject(n.alias,t)},e.getAdapterNameForAlias=function(t){return n.alias&&n.alias[t]?n.alias[t]:t},e.isSSOEnabled=function(){return 1===parseInt(n[r.CONFIG.COMMON][r.CONFIG.SSO_ENABLED])},e.getServerEnabledAdaptars=function(){return Object.keys(n.adapters).filter((function(t){return"1"==n.adapters[t].serverSideEnabled?t:void 0}))},e.getTimeoutForPBSRequest=function(){var t=parseInt(n.pwt.ssTimeout),e=r.TIMEOUT_CONFIG.MaxTimeout,a=r.TIMEOUT_CONFIG.MinTimeout;return t>=a&&e>=t?t:t>=a?e:a},e.getPubMaticAndAlias=function(t){return t.filter((function(t){return n.alias&&n.alias[t]&&n.alias[t].includes("pubmatic")||t.includes("pubmatic")?t:void 0}))},e.usePBSAdapter=function(){return"1"==n.pwt.usePBSAdapter},e.createMacros=function(){return{"[PLATFORM]":o.getDevicePlatform().toString(),"[PROFILE_ID]":i.getProfileID().toString(),"[PROFILE_VERSION]":i.getProfileDisplayVersionID().toString()}},e.getMarketplaceBidders=function(){return!!n.pwt.marketplaceBidders&&n.pwt.marketplaceBidders.split(",")}}),(function(t,e){e.pwt={pid:"4473",gcv:"212",pdvid:"49",pubid:"160738",dataURL:"t.pubmatic.com/wl?",winURL:"t.pubmatic.com/wt?",owv:"v26.13.0",pbv:"v7.39.0",usePBSAdapter:"0",reduceCodeSize:"1",metaDataPattern:0,sendAllBids:"0",adserver:"DFP",gdpr:"0",cmp:0,gdprTimeout:0,awc:0,platform:"display",refreshInterval:0,priceGranularity:0,adServerCurrency:0,singleImpression:"1",identityEnabled:"1",identityConsumers:0,ccpa:"0",ccpaCmpApi:0,ccpaTimeout:0,sChain:"0",sChainObj:0,auTimeout:"1000",t:"1000",ssTimeout:0,prebidObjName:0,pubAnalyticsAdapter:"1",usePBJSKeys:"0",abTestEnabled:"0",testGroupSize:0,testType:0,granularityMultiplier:0,floorPriceModuleEnabled:"1",floorSource:"External Floor",floorAuctionDelay:"100",jsonUrl:"https://ads.pubmatic.com/AdServer/js/pwt/floors/160738/4473/floors.json",ssoEnabled:"0",autoRefreshAdslots:"0",videoAdDuration:0,videoAdDurationMatching:0,adPodConfiguration:0,customPriceGranularityConfig:0,marketplaceBidders:0,owRedirectURL:0,topicsFPDModule:0,enableVastUnwrapper:0,floorType:"Soft",pubId:0,zone:0,gdprActionTimeout:0,pbGlobalVarNamespace:"owpbjs",owGlobalVarNamespace:"PWT",globalNamespaceType:"Default",localStorageAccess:"1"},e.adapters={adkernel:{host:"cpm.xrtb.io",kgp:"_W_x_H_@_W_x_H_",rev_share:"0.0",timeout:0,throttle:"100",serverSideEnabled:"0","in-app":0,amp:0,display:0,klm:{"300x250@300x250":{zoneId:"196579"}}},adnuntius:{kgp:"_AU_@_W_x_H_",rev_share:"0.0",timeout:0,throttle:"100",display:0,klm:{"/231599934,9206757/thairath/misc/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/foreign/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/local/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/newspaper/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/food/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/life/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/momandkids/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/auto/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/foreign/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/politic/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/food/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/business/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/culture/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/scoop/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/fashion/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/local/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/auto/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/lottery/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/fashion/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/food/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/healthandbeauty/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/culture/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/life/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/podcast/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/tv/middle@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/lottery/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/crime/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/misc/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/food/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/entertain/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/misc/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/money/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/lifestyle/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/lifestyle/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/healthandbeauty/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/culture/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/entertain/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/momandkids/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/auto/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/local/overlay@728x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/auto/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/horoscope/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/misc/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/newspaper/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/local/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/culture/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/culture/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/crime/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/scoop/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/politic/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/misc/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/fashion/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/healthandbeauty/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/newspaper/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/business/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/column/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/novel/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/tech/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/tv-program/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/video/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/momandkids/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/local/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/food/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/misc/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/tv-live/top@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/sport/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/lottery/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/tags/middle@728x250":{auId:"0000000000148d25"},"/231599934,9206757/thairath/life/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/scoop/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/women/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/tech/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/horoscope/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/crime/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/society/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/foreign/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/politic/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/crime/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/scoop/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/crime/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/tech/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/politic/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/healthandbeauty/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/entertain/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/lottery/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/novel/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/local/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/culture/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/amulet/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/fashion/ inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/women/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/money/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/video/middle@728x250":{auId:"0000000000148d25"},"/231599934,9206757/thairath/sport/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/local/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/healthandbeauty/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/novel/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/crime/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/women/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/momandkids/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/local/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/travel/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/healthandbeauty/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/politic/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/entertain/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/fashion/ inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/auto/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/business/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/multimedia/middle@728x250":{auId:"0000000000148d25"},"/231599934,9206757/thairath/lifestyle/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/auto/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/money/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/lottery/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/amulet/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/sport/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/lottery/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/local/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/food/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/lottery/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/entertain/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/business/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/society/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/fashion/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/fashion/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/travel/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/misc/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/momandkids/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/tech/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/amulet/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/women/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/life/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/newspaper/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/foreign/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/money/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/society/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/newspaper/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/misc/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/society/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/tech/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/women/top@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/culture/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/women/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/crime/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/newspaper/middle@728x250":{auId:"0000000000148d25"},"/231599934,9206757/thairath/news/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/horoscope/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/women/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/auto/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/crime/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/food/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/business/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/business/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/life/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/sport/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/Thairath/women/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/misc/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/life/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/horoscope/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/food/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/covid/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/life/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/lifestyle/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/life/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/lifestyle/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/business/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/food/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/vod/middle@728x250":{auId:"0000000000148d25"},"/231599934,9206757/thairath/sport/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/culture/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/scoop/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/tech/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/crime/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/foreign/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/tags/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/fashion/ inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/tv-program/top@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/scoop/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/society/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/travel/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/money/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/travel/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/tv/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/food/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/entertain/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/politic/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/tech/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/business/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/refresh/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/life/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/misc/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/scoop/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/amulet/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/entertain/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/video/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/search/middle@728x250":{auId:"0000000000148d25"},"/231599934,9206757/thairath/novel/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/foreign/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/podcast/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/women/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/local/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/money/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/women/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/culture/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/amulet/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/travel/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/entertain/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/tv/live@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/fashion/ inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/newspaper/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/business/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/scoop/middle@728x250":{auId:"0000000000148d25"},"/231599934,9206757/thairath/life/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/tv-search/top@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/society/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/sport/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/auto/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/healthandbeauty/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/column/top@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/amulet/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/lottery/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/business/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/healthandbeauty/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/business/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/society/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/life/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/novel/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/momandkids/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/sport/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/newspaper/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/healthandbeauty/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/scoop/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/politic/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/vod/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/culture/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/money/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/lifestyle/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/business/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/travel/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/sport/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/novel/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/lifestyle/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/momandkids/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/food/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/multimedia/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/crime/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/search/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/vod/top@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/tags/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/amulet/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/horoscope/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/newspaper/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/travel/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/podcast/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/momandkids/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/auto/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/newspaper/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/tv/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/money/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/travel/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/newspaper/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/politic/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/news/middle@728x250":{auId:"0000000000148d25"},"/231599934,9206757/thairath/food/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/tech/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/business/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/newspaper/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/society/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/novel/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/horoscope/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/women/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/lottery/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/politic/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/misc/middle@728x250":{auId:"0000000000148d25"},"/231599934,9206757/thairath/politic/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/momandkids/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/lifestyle/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/horoscope/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/local/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/misc/jwplayer@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/tech/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/amulet/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/culture/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/tech/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/amulet/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/lifestyle/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/sport/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/momandkids/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/search/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/life/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/culture/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/tech/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/culture/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/sport/thaileague_top@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/video/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/money/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/travel/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/fashion/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/momandkids/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/scoop/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/news/top@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/fashion/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/culture/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/fashion/ inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/entertain/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/scoop/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/vod/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/sport/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/money/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/amulet/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/sport/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/novel/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/scoop/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/food/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/travel/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/momandkids/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/society/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/amulet/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/misc/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/foreign/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/travel/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/crime/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/entertain/middle@728x250":{auId:"0000000000148d25"},"/231599934,9206757/thairath/business/inarticle4@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/misc/covid@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/misc/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/food/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/lottery/middle@728x250":{auId:"0000000000148d25"},"/231599934,9206757/thairath/healthandbeauty/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/entertain/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/fashion/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/novel/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/healthandbeauty/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/misc/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/auto/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/life/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/politic/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/healthandbeauty/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/entertain/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/lottery/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/horoscope/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/lottery/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/refresh/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/horoscope/middle@728x250":{auId:"0000000000148d25"},"/231599934,9206757/thairath/sport/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/novel/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/novel/middle@728x250":{auId:"0000000000148d25"},"/231599934,9206757/thairath/momandkids/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/crime/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/auto/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/lottery/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/crime/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/auto/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/horoscope/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/business/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/foreign/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/entertain/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/sport/middle@728x250":{auId:"0000000000148d25"},"/231599934,9206757/thairath/news/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/women/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/crime/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/money/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/healthandbeauty/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/scoop/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/money/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/foreign/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/scoop/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/horoscope/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/tech/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/local/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/vod/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/local/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/money/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/covid/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/fashion/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/horoscope/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/amulet/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/society/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/tech/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/misc/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/fashion/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/tech/billboard@970x250":{auId:"0000000000148c72"},"/231599934,9206757/thairath/food/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/culture/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/fashion/ inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/travel/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/entertain/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/lifestyle/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/scoop/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/politic/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/novel/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/horoscope/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/society/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/travel/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/momandkids/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/amulet/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/travel/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/entertain/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/life/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/foreign/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/life/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/lottery/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/lottery/anchor@320x50":{auId:"0000000000148c84"},"/231599934,9206757/thairath/foreign/inarticle4@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/crime/inarticle2@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/money/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/fashion/ top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/momandkids/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/foreign/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/politic/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/tv/bottom@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/misc/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/multimedia/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/horoscope/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/lifestyle/headline@320x100":{auId:"0000000000148d53"},"/231599934,9206757/thairath/healthandbeauty/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/scoop/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/tech/inarticle3@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/foreign/inarticle2@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/entertain/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/sport/inarticle3@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/sport/postarticle@728x250":{auId:"0000000000148c2d"},"/231599934,9206757/thairath/foreign/interstitial@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/money/top@336x280":{auId:"0000000000148d00"},"/231599934,9206757/thairath/amulet/overlay@970x90":{auId:"0000000000148c84"},"/231599934,9206757/thairath/lottery/inarticle@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/women/inarticle@1x1":{auId:"0000000000148c96"},"/231599934,9206757/thairath/fashion/top@336x280":{auId:"0000000000148d14"},"/231599934,9206757/thairath/auto/billboard@970x250":{auId:"0000000000148c72"}}},oftmedia:{kgp:"_W_x_H_@_W_x_H_",rev_share:"0.0",timeout:0,throttle:"100",display:0,klm:{"300x250@300x250":{placementId:"21882265"},"728x90@728x90":{placementId:"21882265"},"970x250@970x250":{placementId:"21882265"},"320x100@320x100":{placementId:"21882265"}}},teads:{kgp:"_AU_@_W_x_H_",rev_share:"0.0",timeout:0,throttle:"100",display:0,klm:{"/231599934,9206757/thairath/foreign/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tech/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/local/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/fashion/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/foreign/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tv/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/auto/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/foreign/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/society/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/novel/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/politic/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/calendar/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/culture/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/fashion/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/auto/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/crime/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/misc/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sustainable/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/travel/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/scoop/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/crime/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/auto/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/lottery/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/misc/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/travel/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/momandkids/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/foreign/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/money/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/culture/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/podcast/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/men/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lottery/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/life/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/business/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/amulet/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/travel/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/momandkids/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/newspaper/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/entertain/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/misc/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tech/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/momandkids/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/novel/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/healthandbeauty/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/culture/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/local/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/healthandbeauty/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/culture/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/misc/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/woman/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/calendar/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/crime/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/food/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/food/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/culture/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/crime/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/scoop/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sport/middle@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/life/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/misc/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/momandkids/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/healthandbeauty/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/podcast/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/entertain/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/misc/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/culture/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/amulet/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/column/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/politic/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/auto/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/misc/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tech/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tv-program/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/misc/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/momandkids/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/newspaper/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/woman/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/food/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/caption/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/misc/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sport/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/horoscope/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/caption/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/woman/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/scoop/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/tech/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/calendar/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/horoscope/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/society/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/fashion/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/horoscope/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/society/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/scoop/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/crime/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/politic/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/crime/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/crime/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/momandkids/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/entertain/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/business/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/food/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lottery/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/auto/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/local/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/local/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/politic/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/local/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/misc/middle@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/local/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/woman/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/men/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/woman/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/healthandbeauty/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/travel/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/tech/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/business/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/momandkids/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/horoscope/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/auto/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/money/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/sustainable/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/sustainable/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/auto/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/horoscope/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/covid/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/money/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/lottery/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sport/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lottery/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/local/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/newspaper/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/food/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/lottery/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/healthandbeauty/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/culture/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/newspaper/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/foreign/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/misc/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/auto/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sustainable/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/food/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/newspaper/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/news/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/life/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/caption/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/money/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/society/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/newspaper/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lifestyle/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/lifestyle/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/men/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/calendar/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/culture/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/horoscope/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/healthandbeauty/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/calendar/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sport/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tv/middle@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/crime/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/politic/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/news/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/horoscope/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/fashion/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/scoop/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/crime/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/food/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/business/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/sport/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sustainable/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/scoop/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/life/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/lottery/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/caption/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/money/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/multimedia/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/entertain/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/food/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/lottery/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/life/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/tech/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/life/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/momandkids/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/auto/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/local/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/business/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/healthandbeauty/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/sport/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/lottery/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/men/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/healthandbeauty/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/newspaper/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/business/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/society/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/culture/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/men/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/scoop/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/food/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tags/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/fashion/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/scoop/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/culture/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/entertain/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/culture/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/caption/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/horoscope/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/travel/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/crime/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/scoop/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/fashion/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/travel/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/business/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/refresh/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/life/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/entertain/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/entertain/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/foreign/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/tech/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/woman/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/local/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/novel/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/scoop/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/horoscope/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/life/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/crime/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/woman/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/amulet/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lifestyle/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/timeline_corona/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/tech/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/food/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/men/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/calendar/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/business/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/amulet/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/auto/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/culture/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/novel/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/travel/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/money/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/video/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/life/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/newspaper/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tech/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lifestyle/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/local/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/society/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/tech/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/video/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/horoscope/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/seagame/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/fashion/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/men/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/local/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/video/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/misc/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tv/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/calendar/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/amulet/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/amulet/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/business/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/life/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/men/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/auto/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/novel/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/momandkids/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/sport/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/scoop/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lottery/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/healthandbeauty/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/scoop/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/auto/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/life/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/lottery/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sustainable/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/culture/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/money/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lifestyle/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/business/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sport/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/novel/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/momandkids/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/calendar/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/local/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/food/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/food/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/multimedia/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/crime/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/search/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/sport/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/scoop/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/search/middle@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/auto/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/amulet/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sport/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/caption/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sport/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/horoscope/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/momandkids/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tv/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/money/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/society/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/local/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/men/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/caption/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/women/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/local/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/culture/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/food/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/tech/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/news/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/newspaper/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/caption/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sport/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/woman/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/momandkids/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/horoscope/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/newspaper/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/amulet/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/business/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/woman/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/amulet/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/timeline/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/healthandbeauty/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/money/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/travel/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/men/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/newspaper/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/lottery/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/life/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/culture/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/caption/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/business/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/caption/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/fashion/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/video/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/entertain/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/travel/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sustainable/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/healthandbeauty/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/scoop/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/fashion/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/men/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/crime/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/foreign/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/travel/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/foreign/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/money/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/search/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/fashion/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/food/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/caption/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/novel/middle@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/sustainable/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/calendar/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/lifestyle/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/entertain/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/scoop/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/horoscope/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/sport/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lottery/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/travel/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/sustainable/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tags/middle@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lifestyle/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/novel/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/novel/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/momandkids/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/misc/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/refresh/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/calendar/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/column/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/caption/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/podcast/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/tv-search/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/amulet/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/calendar/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/life/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/society/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/healthandbeauty/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/corona/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/foreign/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/travel/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/food/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/men/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/money/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/politic/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/men/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tarot/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/business/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/entertain/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/calendar/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/woman/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/food/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/misc/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sustainable/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/amulet/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/healthandbeauty/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/amulet/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/fashion/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/novel/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/foreign/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/society/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/news/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/caption/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/horoscope/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/amulet/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/misc/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/calendar/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/politic/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/woman/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lifestyle/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/entertain/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/woman/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/auto/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/crime/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/caption/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/lottery/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/politic/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/woman/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/woman/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lifestyle/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/fashion/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/money/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/entertain/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/foreign/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/sport/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/lottery/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/sustainable/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/news/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/calendar/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/crime/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/money/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/money/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lifestyle/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/lifestyle/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/foreign/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/newspaper/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/scoop/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/horoscope/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tv-live/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/momandkids/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/covid/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/caption/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lifestyle/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tech/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/society/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/caption/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/foreign/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/money/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/tech/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/life/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/horoscope/middle@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/politic/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/video/middle@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/men/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/foreign/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/fashion/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/culture/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/amulet/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/local/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/tech/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/woman/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/timeline/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/tags/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/travel/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/entertain/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sustainable/middle@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/auto/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lifestyle/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/sustainable/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/travel/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/momandkids/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/amulet/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/healthandbeauty/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/entertain/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/travel/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/lifestyle/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/foreign/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/tv-program/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/newspaper/inarticle3@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/business/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/fashion/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/podcast/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/men/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/money/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/local/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/misc/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lottery/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/activity/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/politic/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/entertain/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/fashion/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/newspaper/inarticle4@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/crime/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/lifestyle/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/healthandbeauty/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/momandkids/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tech/inarticle3@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/foreign/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/tech/postarticle@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/business/right_rail@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/life/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/sustainable/headline@320x100":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/woman/inarticle@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/amulet/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sport/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/calendar/inarticle@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/sustainable/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/novel/tower@300x600":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/business/postarticle@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/newspaper/inarticle2@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/calendar/overlay@728x90":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/men/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/travel/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/fashion/inarticle2@1x1":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/life/top@300x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/auto/billboard@970x250":{placementId:"146115",pageId:"133139"},"/231599934,9206757/thairath/healthandbeauty/inarticle4@300x250":{placementId:"147522",pageId:"134376"},"/231599934,9206757/thairath/lifestyle/inarticle3@300x250":{placementId:"147522",pageId:"134376"}}},appnexus:{kgp:"_AU_@_W_x_H_",rev_share:"0.0",timeout:0,throttle:"100",pt:0,serverSideEnabled:"0",amp:0,video:0,"in-app":0,display:0,klm:{"/231599934,9206757/thairath/misc/postarticle@728x250":{placementId:"24143414"},"/231599934,9206757/thairath/foreign/inarticle3@1x1":{placementId:"24143373"},"/231599934,9206757/thairath/local/headline@320x100":{placementId:"24143397"},"/231599934,9206757/thairath/newspaper/inarticle2@336x280":{placementId:"24143405"},"/231599934,9206757/thairath/food/top@336x280":{placementId:"24143417"},"/231599934,9206757/thairath/life/inarticle3@336x280":{placementId:"24143413"},"/231599934,9206757/thairath/momandkids/postarticle@728x250":{placementId:"24143420"},"/231599934,9206757/thairath/auto/headline@320x100":{placementId:"24143403"},"/231599934,9206757/thairath/foreign/inarticle4@1x1":{placementId:"24143373"},"/231599934,9206757/thairath/politic/inarticle2@336x280":{placementId:"24143400"},"/231599934,9206757/thairath/food/inarticle2@336x280":{placementId:"24143417"},"/231599934,9206757/thairath/business/overlay@970x90":{placementId:"24143398"},"/231599934,9206757/thairath/culture/inarticle2@336x280":{placementId:"24143422"},"/231599934,9206757/thairath/scoop/inarticle4@1x1":{placementId:"24143415"},"/231599934,9206757/thairath/fashion/postarticle@728x250":{placementId:"24143418"},"/231599934,9206757/thairath/local/interstitial@1x1":{placementId:"24143371"},"/231599934,9206757/thairath/auto/inarticle2@1x1":{placementId:"24143377"},"/231599934,9206757/thairath/lottery/headline@320x100":{placementId:"24143409"},"/231599934,9206757/thairath/fashion/inarticle@336x280":{placementId:"24143418"},"/231599934,9206757/thairath/food/postarticle@728x250":{placementId:"24143417"},"/231599934,9206757/thairath/healthandbeauty/inarticle2@336x280":{placementId:"24143421"},"/231599934,9206757/thairath/culture/inarticle2@1x1":{placementId:"24143422"},"/231599934,9206757/thairath/life/postarticle@728x250":{placementId:"24143413"},"/231599934,9206757/thairath/podcast/billboard@970x250":{placementId:"24143427"},"/231599934,9206757/thairath/tv/middle@320x100":{placementId:"24143424"},"/231599934,9206757/thairath/lottery/inarticle4@1x1":{placementId:"24143409"},"/231599934,9206757/thairath/crime/inarticle3@336x280":{placementId:"24143402"},"/231599934,9206757/thairath/misc/overlay@970x90":{placementId:"24143414"},"/231599934,9206757/thairath/food/inarticle4@336x280":{placementId:"24143417"},"/231599934,9206757/thairath/entertain/inarticle@1x1":{placementId:"24143380"},"/231599934,9206757/thairath/misc/inarticle4@1x1":{placementId:"24143414"},"/231599934,9206757/thairath/money/inarticle3@336x280":{placementId:"24143419"},"/231599934,9206757/thairath/lifestyle/inarticle@336x280":{placementId:"24143412"},"/231599934,9206757/thairath/lifestyle/inarticle4@336x280":{placementId:"24143412"},"/231599934,9206757/thairath/healthandbeauty/inarticle4@1x1":{placementId:"24143393"},"/231599934,9206757/thairath/culture/billboard@970x250":{placementId:"24143422"},"/231599934,9206757/thairath/entertain/inarticle2@336x280":{placementId:"24143407"},"/231599934,9206757/thairath/momandkids/top@336x280":{placementId:"24143420"},"/231599934,9206757/thairath/auto/overlay@970x90":{placementId:"24143403"},"/231599934,9206757/thairath/local/overlay@728x90":{placementId:"24143397"},"/231599934,9206757/thairath/auto/inarticle3@336x280":{placementId:"24143415"},"/231599934,9206757/thairath/horoscope/interstitial@1x1":{placementId:"24143381"},"/231599934,9206757/thairath/misc/inarticle@1x1":{placementId:"24143414"},"/231599934,9206757/thairath/newspaper/anchor@320x50":{placementId:"24143405"},"/231599934,9206757/thairath/local/inarticle@336x280":{placementId:"24143397"},"/231599934,9206757/thairath/culture/inarticle4@336x280":{placementId:"24143422"},"/231599934,9206757/thairath/culture/inarticle4@1x1":{placementId:"24143422"},"/231599934,9206757/thairath/crime/inarticle2@1x1":{placementId:"24143376"},"/231599934,9206757/thairath/scoop/inarticle3@1x1":{placementId:"24143415"},"/231599934,9206757/thairath/politic/inarticle2@1x1":{placementId:"24143374"},"/231599934,9206757/thairath/misc/billboard@970x250":{placementId:"24143414"},"/231599934,9206757/thairath/fashion/inarticle4@336x280":{placementId:"24143418"},"/231599934,9206757/thairath/healthandbeauty/headline@320x100":{placementId:"24143421"},"/231599934,9206757/thairath/newspaper/inarticle@336x280":{placementId:"24143405"},"/231599934,9206757/thairath/business/top@336x280":{placementId:"24143398"},"/231599934,9206757/thairath/column/billboard@970x250":{placementId:"24143427"},"/231599934,9206757/thairath/novel/top@336x280":{placementId:"24143410"},"/231599934,9206757/thairath/tech/inarticle@1x1":{placementId:"24143378"},"/231599934,9206757/thairath/tv-program/billboard@970x250":{placementId:"24143424"},"/231599934,9206757/thairath/video/postarticle@728x250":{placementId:"24143426"},"/231599934,9206757/thairath/momandkids/inarticle2@336x280":{placementId:"24143420"},"/231599934,9206757/thairath/local/postarticle@728x250":{placementId:"24143397"},"/231599934,9206757/thairath/food/inarticle3@1x1":{placementId:"24143389"},"/231599934,9206757/thairath/misc/inarticle2@1x1":{placementId:"24143414"},"/231599934,9206757/thairath/tv-live/top@336x280":{placementId:"24143424"},"/231599934,9206757/thairath/sport/billboard@970x250":{placementId:"24143406"},"/231599934,9206757/thairath/lottery/top@336x280":{placementId:"24143409"},"/231599934,9206757/thairath/tags/middle@728x250":{placementId:"24143425"},"/231599934,9206757/thairath/life/anchor@320x50":{placementId:"24143413"},"/231599934,9206757/thairath/scoop/headline@320x100":{placementId:"24143415"},"/231599934,9206757/thairath/women/inarticle2@1x1":{placementId:"24143383"},"/231599934,9206757/thairath/tech/inarticle4@1x1":{placementId:"24143378"},"/231599934,9206757/thairath/horoscope/headline@320x100":{placementId:"24143408"},"/231599934,9206757/thairath/crime/inarticle@336x280":{placementId:"24143402"},"/231599934,9206757/thairath/society/inarticle@1x1":{placementId:"24143375"},"/231599934,9206757/thairath/foreign/anchor@320x50":{placementId:"24143399"},"/231599934,9206757/thairath/politic/inarticle@336x280":{placementId:"24143400"},"/231599934,9206757/thairath/crime/inarticle4@336x280":{placementId:"24143402"},"/231599934,9206757/thairath/scoop/inarticle@1x1":{placementId:"24143415"},"/231599934,9206757/thairath/crime/inarticle3@1x1":{placementId:"24143376"},"/231599934,9206757/thairath/tech/overlay@970x90":{placementId:"24143414"},"/231599934,9206757/thairath/politic/billboard@970x250":{placementId:"24143400"},"/231599934,9206757/thairath/healthandbeauty/anchor@320x50":{placementId:"24143421"},"/231599934,9206757/thairath/entertain/inarticle3@1x1":{placementId:"24143380"},"/231599934,9206757/thairath/lottery/inarticle2@1x1":{placementId:"24143409"},"/231599934,9206757/thairath/novel/inarticle@336x280":{placementId:"24143410"},"/231599934,9206757/thairath/local/inarticle4@336x280":{placementId:"24143397"},"/231599934,9206757/thairath/culture/inarticle@336x280":{placementId:"24143422"},"/231599934,9206757/thairath/amulet/inarticle3@336x280":{placementId:"24143423"},"/231599934,9206757/thairath/fashion/ inarticle3@1x1":{placementId:"24143380"},"/231599934,9206757/thairath/women/postarticle@728x250":{placementId:"24143411"},"/231599934,9206757/thairath/money/postarticle@728x250":{placementId:"24143419"},"/231599934,9206757/thairath/video/middle@728x250":{placementId:"24143426"},"/231599934,9206757/thairath/sport/inarticle4@336x280":{placementId:"24143406"},"/231599934,9206757/thairath/local/billboard@970x250":{placementId:"24143397"},"/231599934,9206757/thairath/healthandbeauty/overlay@970x90":{placementId:"24143421"},"/231599934,9206757/thairath/novel/overlay@970x90":{placementId:"24143410"},"/231599934,9206757/thairath/crime/interstitial@1x1":{placementId:"24143376"},"/231599934,9206757/thairath/women/inarticle2@336x280":{placementId:"24143411"},"/231599934,9206757/thairath/momandkids/anchor@320x50":{placementId:"24143419"},"/231599934,9206757/thairath/local/anchor@320x50":{placementId:"24143397"},"/231599934,9206757/thairath/travel/inarticle4@336x280":{placementId:"24143416"},"/231599934,9206757/thairath/healthandbeauty/interstitial@1x1":{placementId:"24143393"},"/231599934,9206757/thairath/politic/top@336x280":{placementId:"24143400"},"/231599934,9206757/thairath/entertain/inarticle@336x280":{placementId:"24143407"},"/231599934,9206757/thairath/fashion/ inarticle3@336x280":{placementId:"24143418"},"/231599934,9206757/thairath/auto/top@336x280":{placementId:"24143403"},"/231599934,9206757/thairath/business/inarticle@1x1":{placementId:"24143372"},"/231599934,9206757/thairath/multimedia/middle@728x250":{placementId:"24143426"},"/231599934,9206757/thairath/lifestyle/inarticle2@336x280":{placementId:"24143412"},"/231599934,9206757/thairath/auto/inarticle4@1x1":{placementId:"24143377"},"/231599934,9206757/thairath/money/inarticle2@1x1":{placementId:"24143391"},"/231599934,9206757/thairath/lottery/inarticle3@1x1":{placementId:"24143409"},"/231599934,9206757/thairath/amulet/postarticle@728x250":{placementId:"24143423"},"/231599934,9206757/thairath/sport/headline@320x100":{placementId:"24143406"},"/231599934,9206757/thairath/lottery/inarticle@1x1":{placementId:"24143409"},"/231599934,9206757/thairath/local/inarticle@1x1":{placementId:"24143371"},"/231599934,9206757/thairath/food/inarticle@1x1":{placementId:"24143389"},"/231599934,9206757/thairath/lottery/billboard@970x250":{placementId:"24143409"},"/231599934,9206757/thairath/entertain/interstitial@1x1":{placementId:"24143380"},"/231599934,9206757/thairath/business/inarticle3@336x280":{placementId:"24143398"},"/231599934,9206757/thairath/society/inarticle2@336x280":{placementId:"24143401"},"/231599934,9206757/thairath/fashion/inarticle2@336x280":{placementId:"24143418"},"/231599934,9206757/thairath/fashion/overlay@970x90":{placementId:"24143418"},"/231599934,9206757/thairath/travel/postarticle@728x250":{placementId:"24143416"},"/231599934,9206757/thairath/misc/inarticle@336x280":{placementId:"24143414"},"/231599934,9206757/thairath/momandkids/inarticle@336x280":{placementId:"24143420"},"/231599934,9206757/thairath/tech/postarticle@728x250":{placementId:"24143404"},"/231599934,9206757/thairath/amulet/top@336x280":{placementId:"24143423"},"/231599934,9206757/thairath/women/inarticle4@336x280":{placementId:"24143411"},"/231599934,9206757/thairath/life/overlay@970x90":{placementId:"24143413"},"/231599934,9206757/thairath/newspaper/inarticle3@336x280":{placementId:"24143405"},"/231599934,9206757/thairath/foreign/top@336x280":{placementId:"24143399"},"/231599934,9206757/thairath/money/inarticle4@1x1":{placementId:"24143391"},"/231599934,9206757/thairath/society/overlay@970x90":{placementId:"24143401"},"/231599934,9206757/thairath/newspaper/headline@320x100":{placementId:"24143405"},"/231599934,9206757/thairath/misc/inarticle2@336x280":{placementId:"24143414"},"/231599934,9206757/thairath/society/interstitial@1x1":{placementId:"24143375"},"/231599934,9206757/thairath/tech/inarticle4@336x280":{placementId:"24143404"},"/231599934,9206757/thairath/women/top@336x280":{placementId:"24143411"},"/231599934,9206757/thairath/culture/interstitial@1x1":{placementId:"24143394"},"/231599934,9206757/thairath/women/anchor@320x50":{placementId:"24143411"},"/231599934,9206757/thairath/crime/billboard@970x250":{placementId:"24143402"},"/231599934,9206757/thairath/newspaper/middle@728x250":{placementId:"24143405"},"/231599934,9206757/thairath/news/billboard@970x250":{placementId:"24143396"},"/231599934,9206757/thairath/horoscope/billboard@970x250":{placementId:"24143408"},"/231599934,9206757/thairath/women/inarticle3@336x280":{placementId:"24143411"},"/231599934,9206757/thairath/auto/inarticle4@336x280":{placementId:"24143403"},"/231599934,9206757/thairath/crime/inarticle4@1x1":{placementId:"24143376"},"/231599934,9206757/thairath/food/inarticle4@1x1":{placementId:"24143389"},"/231599934,9206757/thairath/business/billboard@970x250":{placementId:"24143398"},"/231599934,9206757/thairath/business/postarticle@728x250":{placementId:"24143398"},"/231599934,9206757/thairath/life/inarticle2@336x280":{placementId:"24143413"},"/231599934,9206757/thairath/sport/inarticle@1x1":{placementId:"24143406"},"/231599934,9206757/Thairath/women/billboard@970x250":{placementId:"24143411"},"/231599934,9206757/thairath/misc/inarticle4@336x280":{placementId:"24143414"},"/231599934,9206757/thairath/life/inarticle@1x1":{placementId:"24143385"},"/231599934,9206757/thairath/horoscope/inarticle3@336x280":{placementId:"24143408"},"/231599934,9206757/thairath/food/inarticle2@1x1":{placementId:"24143389"},"/231599934,9206757/thairath/covid/inarticle@336x280":{placementId:"24143421"},"/231599934,9206757/thairath/life/headline@320x100":{placementId:"24143413"},"/231599934,9206757/thairath/lifestyle/overlay@970x90":{placementId:"24143412"},"/231599934,9206757/thairath/life/billboard@970x250":{placementId:"24143413"},"/231599934,9206757/thairath/lifestyle/top@336x280":{placementId:"24143412"},"/231599934,9206757/thairath/business/inarticle@336x280":{placementId:"24143398"},"/231599934,9206757/thairath/food/overlay@970x90":{placementId:"24143417"},"/231599934,9206757/thairath/vod/middle@728x250":{placementId:"24143426"},"/231599934,9206757/thairath/sport/anchor@320x50":{placementId:"24143406"},"/231599934,9206757/thairath/culture/inarticle3@1x1":{placementId:"24143422"},"/231599934,9206757/thairath/scoop/postarticle@728x250":{placementId:"24143415"},"/231599934,9206757/thairath/tech/anchor@320x50":{placementId:"24143414"},"/231599934,9206757/thairath/crime/postarticle@728x250":{placementId:"24143402"},"/231599934,9206757/thairath/foreign/overlay@970x90":{placementId:"24143399"},"/231599934,9206757/thairath/tags/billboard@970x250":{placementId:"24143425"},"/231599934,9206757/thairath/fashion/ inarticle@1x1":{placementId:"24143380"},"/231599934,9206757/thairath/tv-program/top@336x280":{placementId:"24143424"},"/231599934,9206757/thairath/scoop/overlay@970x90":{placementId:"24143427"},"/231599934,9206757/thairath/society/inarticle@336x280":{placementId:"24143401"},"/231599934,9206757/thairath/travel/anchor@320x50":{placementId:"24143416"},"/231599934,9206757/thairath/money/anchor@320x50":{placementId:"24143419"},"/231599934,9206757/thairath/travel/inarticle3@1x1":{placementId:"24143388"},"/231599934,9206757/thairath/tv/postarticle@728x250":{placementId:"24143424"},"/231599934,9206757/thairath/food/inarticle@336x280":{placementId:"24143417"},"/231599934,9206757/thairath/entertain/postarticle@728x250":{placementId:"24143407"},"/231599934,9206757/thairath/politic/inarticle4@336x280":{placementId:"24143400"},"/231599934,9206757/thairath/tech/inarticle3@336x280":{placementId:"24143404"},"/231599934,9206757/thairath/business/headline@320x100":{placementId:"24143398"},"/231599934,9206757/thairath/refresh/billboard@970x250":{placementId:"24143415"},"/231599934,9206757/thairath/life/inarticle3@1x1":{placementId:"24143385"},"/231599934,9206757/thairath/misc/anchor@320x50":{placementId:"24143427"},"/231599934,9206757/thairath/scoop/anchor@320x50":{placementId:"24143427"},"/231599934,9206757/thairath/amulet/inarticle4@336x280":{placementId:"24143423"},"/231599934,9206757/thairath/entertain/inarticle4@1x1":{placementId:"24143380"},"/231599934,9206757/thairath/video/top@336x280":{placementId:"24143426"},"/231599934,9206757/thairath/search/middle@728x250":{placementId:"24143427"},"/231599934,9206757/thairath/novel/anchor@320x50":{placementId:"24143410"},"/231599934,9206757/thairath/foreign/inarticle2@336x280":{placementId:"24143399"},"/231599934,9206757/thairath/podcast/postarticle@728x250":{placementId:"24143426"},"/231599934,9206757/thairath/women/inarticle4@1x1":{placementId:"24143383"},"/231599934,9206757/thairath/local/inarticle2@1x1":{placementId:"24143371"},"/231599934,9206757/thairath/money/interstitial@1x1":{placementId:"24143391"},"/231599934,9206757/thairath/women/inarticle@336x280":{placementId:"24143411"},"/231599934,9206757/thairath/culture/overlay@970x90":{placementId:"24143422"},"/231599934,9206757/thairath/amulet/billboard@970x250":{placementId:"24143423"},"/231599934,9206757/thairath/travel/overlay@970x90":{placementId:"24143416"},"/231599934,9206757/thairath/entertain/top@336x280":{placementId:"24143407"},"/231599934,9206757/thairath/tv/live@320x100":{placementId:"24143424"},"/231599934,9206757/thairath/fashion/ inarticle2@1x1":{placementId:"24143380"},"/231599934,9206757/thairath/newspaper/inarticle2@1x1":{placementId:"24143405"},"/231599934,9206757/thairath/business/inarticle2@336x280":{placementId:"24143398"},"/231599934,9206757/thairath/scoop/middle@728x250":{placementId:"24143415"},"/231599934,9206757/thairath/life/interstitial@1x1":{placementId:"24143385"},"/231599934,9206757/thairath/tv-search/top@336x280":{placementId:"24143424"},"/231599934,9206757/thairath/society/headline@320x100":{placementId:"24143401"},"/231599934,9206757/thairath/sport/top@336x280":{placementId:"24143406"},"/231599934,9206757/thairath/auto/inarticle2@336x280":{placementId:"24143403"},"/231599934,9206757/thairath/healthandbeauty/inarticle4@336x280":{placementId:"24143421"},"/231599934,9206757/thairath/column/top@336x280":{placementId:"24143427"},"/231599934,9206757/thairath/amulet/inarticle@336x280":{placementId:"24143423"},"/231599934,9206757/thairath/lottery/overlay@970x90":{placementId:"24143409"},"/231599934,9206757/thairath/business/interstitial@1x1":{placementId:"24143372"},"/231599934,9206757/thairath/healthandbeauty/inarticle@336x280":{placementId:"24143421"},"/231599934,9206757/thairath/business/inarticle2@1x1":{placementId:"24143372"},"/231599934,9206757/thairath/society/top@336x280":{placementId:"24143401"},"/231599934,9206757/thairath/life/inarticle2@1x1":{placementId:"24143385"},"/231599934,9206757/thairath/novel/inarticle@1x1":{placementId:"24143382"},"/231599934,9206757/thairath/momandkids/billboard@970x250":{placementId:"24143420"},"/231599934,9206757/thairath/sport/inarticle3@1x1":{placementId:"24143406"},"/231599934,9206757/thairath/newspaper/top@336x280":{placementId:"24143405"},"/231599934,9206757/thairath/healthandbeauty/inarticle@1x1":{placementId:"24143393"},"/231599934,9206757/thairath/scoop/inarticle2@1x1":{placementId:"24143415"},"/231599934,9206757/thairath/politic/overlay@970x90":{placementId:"24143400"},"/231599934,9206757/thairath/vod/inarticle@336x280":{placementId:"24143426"},"/231599934,9206757/thairath/culture/headline@320x100":{placementId:"24143422"},"/231599934,9206757/thairath/money/billboard@970x250":{placementId:"24143419"},"/231599934,9206757/thairath/lifestyle/billboard@970x250":{placementId:"24143412"},"/231599934,9206757/thairath/business/inarticle3@1x1":{placementId:"24143372"},"/231599934,9206757/thairath/travel/inarticle@336x280":{placementId:"24143416"},"/231599934,9206757/thairath/sport/inarticle2@1x1":{placementId:"24143406"},"/231599934,9206757/thairath/novel/headline@320x100":{placementId:"24143410"},"/231599934,9206757/thairath/lifestyle/anchor@320x50":{placementId:"24143412"},"/231599934,9206757/thairath/momandkids/inarticle3@1x1":{placementId:"24143392"},"/231599934,9206757/thairath/food/headline@320x100":{placementId:"24143417"},"/231599934,9206757/thairath/multimedia/billboard@970x250":{placementId:"24143426"},"/231599934,9206757/thairath/crime/inarticle@1x1":{placementId:"24143376"},"/231599934,9206757/thairath/search/billboard@970x250":{placementId:"24143427"},"/231599934,9206757/thairath/vod/top@336x280":{placementId:"24143426"},"/231599934,9206757/thairath/tags/top@336x280":{placementId:"24143425"},"/231599934,9206757/thairath/amulet/inarticle3@1x1":{placementId:"24143395"},"/231599934,9206757/thairath/horoscope/postarticle@728x250":{placementId:"24143408"},"/231599934,9206757/thairath/newspaper/inarticle4@336x280":{placementId:"24143405"},"/231599934,9206757/thairath/travel/inarticle3@336x280":{placementId:"24143416"},"/231599934,9206757/thairath/podcast/top@336x280":{placementId:"24143426"},"/231599934,9206757/thairath/momandkids/inarticle4@1x1":{placementId:"24143392"},"/231599934,9206757/thairath/auto/postarticle@728x250":{placementId:"24143403"},"/231599934,9206757/thairath/newspaper/postarticle@728x250":{placementId:"24143405"},"/231599934,9206757/thairath/tv/billboard@970x250":{placementId:"24143424"},"/231599934,9206757/thairath/money/inarticle3@1x1":{placementId:"24143391"},"/231599934,9206757/thairath/travel/interstitial@1x1":{placementId:"24143388"},"/231599934,9206757/thairath/newspaper/interstitial@1x1":{placementId:"24143405"},"/231599934,9206757/thairath/politic/interstitial@1x1":{placementId:"24143374"},"/231599934,9206757/thairath/news/middle@728x250":{placementId:"24143396"},"/231599934,9206757/thairath/food/billboard@970x250":{placementId:"24143417"},"/231599934,9206757/thairath/tech/inarticle2@1x1":{placementId:"24143378"},"/231599934,9206757/thairath/business/anchor@320x50":{placementId:"24143398"},"/231599934,9206757/thairath/newspaper/billboard@970x250":{placementId:"24143405"},"/231599934,9206757/thairath/society/postarticle@728x250":{placementId:"24143401"},"/231599934,9206757/thairath/novel/inarticle2@336x280":{placementId:"24143410"},"/231599934,9206757/thairath/horoscope/top@336x280":{placementId:"24143408"},"/231599934,9206757/thairath/women/inarticle3@1x1":{placementId:"24143383"},"/231599934,9206757/thairath/lottery/inarticle4@336x280":{placementId:"24143409"},"/231599934,9206757/thairath/politic/inarticle3@336x280":{placementId:"24143400"},"/231599934,9206757/thairath/misc/middle@728x250":{placementId:"24143414"},"/231599934,9206757/thairath/politic/postarticle@728x250":{placementId:"24143400"},"/231599934,9206757/thairath/momandkids/inarticle2@1x1":{placementId:"24143392"},"/231599934,9206757/thairath/lifestyle/interstitial@1x1":{placementId:"24143384"},"/231599934,9206757/thairath/horoscope/inarticle@1x1":{placementId:"24143381"},"/231599934,9206757/thairath/local/inarticle2@336x280":{placementId:"24143397"},"/231599934,9206757/thairath/misc/jwplayer@320x100":{placementId:"24143427"},"/231599934,9206757/thairath/tech/inarticle@336x280":{placementId:"24143404"},"/231599934,9206757/thairath/amulet/headline@320x100":{placementId:"24143423"},"/231599934,9206757/thairath/culture/top@336x280":{placementId:"24143422"},"/231599934,9206757/thairath/tech/inarticle2@336x280":{placementId:"24143404"},"/231599934,9206757/thairath/amulet/inarticle@1x1":{placementId:"24143395"},"/231599934,9206757/thairath/lifestyle/postarticle@728x250":{placementId:"24143412"},"/231599934,9206757/thairath/sport/inarticle@336x280":{placementId:"24143406"},"/231599934,9206757/thairath/momandkids/inarticle4@336x280":{placementId:"24143420"},"/231599934,9206757/thairath/search/top@336x280":{placementId:"24143427"},"/231599934,9206757/thairath/life/inarticle4@1x1":{placementId:"24143385"},"/231599934,9206757/thairath/culture/postarticle@728x250":{placementId:"24143422"},"/231599934,9206757/thairath/tech/interstitial@1x1":{placementId:"24143378"},"/231599934,9206757/thairath/culture/inarticle@1x1":{placementId:"24143422"},"/231599934,9206757/thairath/sport/thaileague_top@336x280":{placementId:"24143406"},"/231599934,9206757/thairath/video/billboard@970x250":{placementId:"24143426"},"/231599934,9206757/thairath/money/overlay@970x90":{placementId:"24143419"},"/231599934,9206757/thairath/travel/inarticle4@1x1":{placementId:"24143388"},"/231599934,9206757/thairath/fashion/anchor@320x50":{placementId:"24143418"},"/231599934,9206757/thairath/momandkids/overlay@970x90":{placementId:"24143419"},"/231599934,9206757/thairath/scoop/inarticle4@336x280":{placementId:"24143415"},"/231599934,9206757/thairath/news/top@336x280":{placementId:"24143396"},"/231599934,9206757/thairath/fashion/inarticle3@336x280":{placementId:"24143418"},"/231599934,9206757/thairath/culture/anchor@320x50":{placementId:"24143422"},"/231599934,9206757/thairath/fashion/ inarticle2@336x280":{placementId:"24143418"},"/231599934,9206757/thairath/entertain/overlay@970x90":{placementId:"24143407"},"/231599934,9206757/thairath/scoop/interstitial@1x1":{placementId:"24143427"},"/231599934,9206757/thairath/vod/postarticle@728x250":{placementId:"24143426"},"/231599934,9206757/thairath/sport/interstitial@1x1":{placementId:"24143379"},"/231599934,9206757/thairath/money/inarticle4@336x280":{placementId:"24143419"},"/231599934,9206757/thairath/amulet/inarticle2@336x280":{placementId:"24143423"},"/231599934,9206757/thairath/sport/overlay@970x90":{placementId:"24143406"},"/231599934,9206757/thairath/novel/postarticle@728x250":{placementId:"24143410"},"/231599934,9206757/thairath/scoop/top@336x280":{placementId:"24143415"},"/231599934,9206757/thairath/food/interstitial@1x1":{placementId:"24143389"},"/231599934,9206757/thairath/travel/top@336x280":{placementId:"24143416"},"/231599934,9206757/thairath/momandkids/headline@320x100":{placementId:"24143420"},"/231599934,9206757/thairath/society/inarticle2@1x1":{placementId:"24143375"},"/231599934,9206757/thairath/amulet/anchor@320x50":{placementId:"24143423"},"/231599934,9206757/thairath/misc/interstitial@1x1":{placementId:"24143427"},"/231599934,9206757/thairath/foreign/inarticle@336x280":{placementId:"24143399"},"/231599934,9206757/thairath/travel/billboard@970x250":{placementId:"24143416"},"/231599934,9206757/thairath/crime/anchor@320x50":{placementId:"24143402"},"/231599934,9206757/thairath/entertain/middle@728x250":{placementId:"24143407"},"/231599934,9206757/thairath/business/inarticle4@1x1":{placementId:"24143372"},"/231599934,9206757/thairath/misc/covid@320x100":{placementId:"24143427"},"/231599934,9206757/thairath/misc/inarticle3@1x1":{placementId:"24143414"},"/231599934,9206757/thairath/food/anchor@320x50":{placementId:"24143417"},"/231599934,9206757/thairath/lottery/middle@728x250":{placementId:"24143409"},"/231599934,9206757/thairath/healthandbeauty/billboard@970x250":{placementId:"24143421"},"/231599934,9206757/thairath/entertain/anchor@320x50":{placementId:"24143407"},"/231599934,9206757/thairath/fashion/billboard@970x250":{placementId:"24143418"},"/231599934,9206757/thairath/novel/billboard@970x250":{placementId:"24143410"},"/231599934,9206757/thairath/healthandbeauty/top@336x280":{placementId:"24143421"},"/231599934,9206757/thairath/misc/headline@320x100":{placementId:"24143414"},"/231599934,9206757/thairath/auto/interstitial@1x1":{placementId:"24143387"},"/231599934,9206757/thairath/life/top@336x280":{placementId:"24143413"},"/231599934,9206757/thairath/politic/headline@320x100":{placementId:"24143400"},"/231599934,9206757/thairath/healthandbeauty/inarticle3@336x280":{placementId:"24143421"},"/231599934,9206757/thairath/entertain/billboard@970x250":{placementId:"24143407"},"/231599934,9206757/thairath/lottery/inarticle2@336x280":{placementId:"24143409"},"/231599934,9206757/thairath/horoscope/inarticle2@336x280":{placementId:"24143408"},"/231599934,9206757/thairath/lottery/postarticle@728x250":{placementId:"24143409"},"/231599934,9206757/thairath/refresh/top@336x280":{placementId:"24143415"},"/231599934,9206757/thairath/horoscope/middle@728x250":{placementId:"24143408"},"/231599934,9206757/thairath/sport/inarticle2@336x280":{placementId:"24143406"},"/231599934,9206757/thairath/novel/inarticle2@1x1":{placementId:"24143382"},"/231599934,9206757/thairath/novel/middle@728x250":{placementId:"24143410"},"/231599934,9206757/thairath/momandkids/interstitial@1x1":{placementId:"24143392"},"/231599934,9206757/thairath/crime/overlay@970x90":{placementId:"24143402"},"/231599934,9206757/thairath/auto/inarticle@336x280":{placementId:"24143415"},"/231599934,9206757/thairath/lottery/inarticle3@336x280":{placementId:"24143409"},"/231599934,9206757/thairath/crime/top@336x280":{placementId:"24143402"},"/231599934,9206757/thairath/auto/anchor@320x50":{placementId:"24143415"},"/231599934,9206757/thairath/horoscope/inarticle4@336x280":{placementId:"24143408"},"/231599934,9206757/thairath/business/inarticle4@336x280":{placementId:"24143398"},"/231599934,9206757/thairath/foreign/postarticle@728x250":{placementId:"24143399"},"/231599934,9206757/thairath/entertain/inarticle4@336x280":{placementId:"24143407"},"/231599934,9206757/thairath/sport/middle@728x250":{placementId:"24143406"},"/231599934,9206757/thairath/news/headline@320x100":{placementId:"24143396"},"/231599934,9206757/thairath/women/headline@320x100":{placementId:"24143411"},"/231599934,9206757/thairath/crime/headline@320x100":{placementId:"24143402"},"/231599934,9206757/thairath/money/headline@320x100":{placementId:"24143419"},"/231599934,9206757/thairath/healthandbeauty/postarticle@728x250":{placementId:"24143421"},"/231599934,9206757/thairath/scoop/inarticle3@336x280":{placementId:"24143415"},"/231599934,9206757/thairath/money/inarticle@336x280":{placementId:"24143419"},"/231599934,9206757/thairath/foreign/billboard@970x250":{placementId:"24143399"},"/231599934,9206757/thairath/scoop/billboard@970x250":{placementId:"24143415"},"/231599934,9206757/thairath/horoscope/inarticle2@1x1":{placementId:"24143381"},"/231599934,9206757/thairath/tech/top@336x280":{placementId:"24143404"},"/231599934,9206757/thairath/local/top@336x280":{placementId:"24143397"},"/231599934,9206757/thairath/vod/inarticle2@336x280":{placementId:"24143426"},"/231599934,9206757/thairath/local/inarticle3@336x280":{placementId:"24143397"},"/231599934,9206757/thairath/money/inarticle2@336x280":{placementId:"24143419"},"/231599934,9206757/thairath/covid/inarticle@1x1":{placementId:"24143393"},"/231599934,9206757/thairath/fashion/interstitial@1x1":{placementId:"24143390"},"/231599934,9206757/thairath/horoscope/anchor@320x50":{placementId:"24143408"},"/231599934,9206757/thairath/amulet/interstitial@1x1":{placementId:"24143395"},"/231599934,9206757/thairath/society/billboard@970x250":{placementId:"24143401"},"/231599934,9206757/thairath/tech/headline@320x100":{placementId:"24143404"},"/231599934,9206757/thairath/misc/top@336x280":{placementId:"24143414"},"/231599934,9206757/thairath/fashion/headline@320x100":{placementId:"24143418"},"/231599934,9206757/thairath/tech/billboard@970x250":{placementId:"24143414"},"/231599934,9206757/thairath/food/inarticle3@336x280":{placementId:"24143417"},"/231599934,9206757/thairath/culture/inarticle3@336x280":{placementId:"24143422"},"/231599934,9206757/thairath/fashion/ inarticle@336x280":{placementId:"24143418"},"/231599934,9206757/thairath/travel/headline@320x100":{placementId:"24143416"},"/231599934,9206757/thairath/entertain/inarticle2@1x1":{placementId:"24143380"},"/231599934,9206757/thairath/lifestyle/inarticle3@336x280":{placementId:"24143412"},"/231599934,9206757/thairath/scoop/inarticle2@336x280":{placementId:"24143415"},"/231599934,9206757/thairath/politic/anchor@320x50":{placementId:"24143400"},"/231599934,9206757/thairath/novel/interstitial@1x1":{placementId:"24143382"},"/231599934,9206757/thairath/horoscope/inarticle@336x280":{placementId:"24143408"},"/231599934,9206757/thairath/society/anchor@320x50":{placementId:"24143401"},"/231599934,9206757/thairath/travel/inarticle@1x1":{placementId:"24143388"},"/231599934,9206757/thairath/momandkids/inarticle@1x1":{placementId:"24143392"},"/231599934,9206757/thairath/amulet/inarticle2@1x1":{placementId:"24143395"},"/231599934,9206757/thairath/travel/inarticle2@336x280":{placementId:"24143416"},"/231599934,9206757/thairath/entertain/headline@320x100":{placementId:"24143407"},"/231599934,9206757/thairath/life/inarticle4@336x280":{placementId:"24143413"},"/231599934,9206757/thairath/foreign/headline@320x100":{placementId:"24143399"},"/231599934,9206757/thairath/life/inarticle@336x280":{placementId:"24143413"},"/231599934,9206757/thairath/lottery/interstitial@1x1":{placementId:"24143409"},"/231599934,9206757/thairath/lottery/anchor@320x50":{placementId:"24143409"},"/231599934,9206757/thairath/foreign/inarticle4@336x280":{placementId:"24143399"},"/231599934,9206757/thairath/crime/inarticle2@336x280":{placementId:"24143402"},"/231599934,9206757/thairath/money/inarticle@1x1":{placementId:"24143391"},"/231599934,9206757/thairath/fashion/ top@336x280":{placementId:"24143418"},"/231599934,9206757/thairath/momandkids/inarticle3@336x280":{placementId:"24143420"},"/231599934,9206757/thairath/foreign/inarticle3@336x280":{placementId:"24143399"},"/231599934,9206757/thairath/politic/inarticle@1x1":{placementId:"24143374"},"/231599934,9206757/thairath/tv/bottom@320x100":{placementId:"24143424"},"/231599934,9206757/thairath/misc/inarticle3@336x280":{placementId:"24143414"},"/231599934,9206757/thairath/multimedia/top@336x280":{placementId:"24143426"},"/231599934,9206757/thairath/horoscope/overlay@970x90":{placementId:"24143408"},"/231599934,9206757/thairath/lifestyle/headline@320x100":{placementId:"24143412"},"/231599934,9206757/thairath/healthandbeauty/inarticle2@1x1":{placementId:"24143393"},"/231599934,9206757/thairath/scoop/inarticle@336x280":{placementId:"24143415"},"/231599934,9206757/thairath/tech/inarticle3@1x1":{placementId:"24143378"},"/231599934,9206757/thairath/foreign/inarticle2@1x1":{placementId:"24143373"},"/231599934,9206757/thairath/entertain/inarticle3@336x280":{placementId:"24143407"},"/231599934,9206757/thairath/sport/inarticle3@336x280":{placementId:"24143406"},"/231599934,9206757/thairath/sport/postarticle@728x250":{placementId:"24143406"},"/231599934,9206757/thairath/foreign/interstitial@1x1":{placementId:"24143373"},"/231599934,9206757/thairath/money/top@336x280":{placementId:"24143419"},"/231599934,9206757/thairath/amulet/overlay@970x90":{placementId:"24143423"},"/231599934,9206757/thairath/lottery/inarticle@336x280":{placementId:"24143409"},"/231599934,9206757/thairath/women/inarticle@1x1":{placementId:"24143383"},"/231599934,9206757/thairath/fashion/top@336x280":{placementId:"24143418"},"/231599934,9206757/thairath/auto/billboard@970x250":{placementId:"24143403"}}},taboola:{publisherId:"1517566",kgp:"_AU_@_W_x_H_",rev_share:"0.0",throttle:"100",display:0,klm:{"/231599934,9206757/thairath/local/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/fashion/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/foreign/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/politic/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/multimedia/middle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/women/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lifestyle/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/auto/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/novel/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/auto/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/crime/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/misc/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lottery/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/money/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/podcast/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tv/middle@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/business/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/amulet/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/travel/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tech/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/fashion/ inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/culture/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/local/overlay@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/healthandbeauty/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/culture/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/crime/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/newspaper/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/sport/middle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/misc/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/healthandbeauty/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/podcast/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/misc/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/culture/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/column/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/politic/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/entertain/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/auto/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/misc/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tv-program/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/momandkids/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tv/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/sport/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/horoscope/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/life/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/scoop/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/horoscope/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/foreign/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/horoscope/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/politic/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/crime/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/healthandbeauty/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/momandkids/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/food/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/newspaper/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/misc/middle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/local/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/momandkids/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/local/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/women/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/healthandbeauty/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/momandkids/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/business/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/foreign/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tech/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/momandkids/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/horoscope/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/covid/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/sport/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lottery/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/auto/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/vod/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/newspaper/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/life/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/newspaper/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/sport/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/women/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/crime/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/politic/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/vod/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/news/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/horoscope/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/fashion/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/scoop/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/life/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/business/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/Thairath/women/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/scoop/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/money/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/multimedia/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/life/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/life/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/momandkids/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/local/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/politic/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/business/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/sport/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lottery/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/sport/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/entertain/middle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/society/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/food/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/food/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tech/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tags/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/fashion/ inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/crime/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/culture/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/travel/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/entertain/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/culture/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/money/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/crime/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/scoop/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/business/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/refresh/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/fashion/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/misc/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/scoop/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/novel/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/novel/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/healthandbeauty/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/sport/thaileague_top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/horoscope/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/amulet/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tech/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/food/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/business/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/auto/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/travel/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/video/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tv/live@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/life/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/vod/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tech/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/society/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tech/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/culture/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/local/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/local/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/misc/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/misc/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/video/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/momandkids/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lottery/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/women/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/life/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lottery/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/culture/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/money/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lifestyle/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/novel/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lifestyle/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/podcast/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/local/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/vod/middle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/food/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/multimedia/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/search/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/travel/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/search/middle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/sport/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/scoop/middle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tv/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/women/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/local/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/food/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/business/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/newspaper/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/sport/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/novel/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/newspaper/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/misc/jwplayer@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/amulet/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/society/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/fashion/ inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/vod/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/newspaper/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lottery/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/fashion/ top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/business/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/video/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/entertain/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lottery/middle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/scoop/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/fashion/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/crime/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/scoop/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/foreign/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/travel/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/money/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/search/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/fashion/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/culture/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/novel/middle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/scoop/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/horoscope/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/sport/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/amulet/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lottery/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/women/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tags/middle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lifestyle/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/novel/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/momandkids/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/refresh/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/column/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tv-search/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/amulet/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/amulet/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/society/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/healthandbeauty/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/foreign/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/travel/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/crime/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/food/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/entertain/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lottery/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/sport/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/food/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/misc/covid@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/women/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/food/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/healthandbeauty/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/entertain/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/fashion/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/novel/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/news/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/amulet/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/misc/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/politic/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/entertain/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/auto/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/society/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/news/middle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/fashion/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/money/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/auto/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/entertain/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/auto/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/news/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/women/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/crime/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/money/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/money/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lifestyle/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/money/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/foreign/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/scoop/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tv-live/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/politic/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lifestyle/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/horoscope/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/society/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/foreign/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/horoscope/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tech/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/life/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/horoscope/middle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/video/middle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/foreign/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/fashion/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/culture/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/amulet/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/local/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tech/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tags/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/travel/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/politic/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/society/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tech/postarticle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/amulet/inarticle2@1x1":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/healthandbeauty/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/entertain/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/travel/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lifestyle/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/foreign/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tv-program/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/newspaper/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/business/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lottery/anchor@320x50":{tagId:"Headline_content_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/newspaper/middle@728x90":{tagId:"Postarticle_content_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/misc/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/entertain/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/fashion/inarticle@300x250":{tagId:"Inarticle_content_1",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/tv/bottom@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lifestyle/headline@320x100":{tagId:"Billboard_All_mobile",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/momandkids/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/politic/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/amulet/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/newspaper/inarticle2@300x250":{tagId:"Inarticle_content_2",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/travel/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/life/top@300x250":{tagId:"Top_section",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/auto/billboard@970x250":{tagId:"Billboard_All_desktop",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/healthandbeauty/inarticle4@300x250":{tagId:"Inarticle_content_4",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]},"/231599934,9206757/thairath/lifestyle/inarticle3@300x250":{tagId:"Inarticle_content_3",bidfloor:0,bcat:["Law","Gov�t & Politics","Religion & Spirituality","Non-Standard Content","Illegal Content"]}}},smartadserver:{domain:"https://prg-apac.smartadserver.com",networkId:"4691",kgp:"_W_x_H_@_W_x_H_",rev_share:"0.0",timeout:0,throttle:"100",serverSideEnabled:"0",video:0,"in-app":0,amp:0,display:0,klm:{"400x300@400x300":{formatId:"123700",siteId:"602418",pageId:"1839373"},"980x250@980x250":{formatId:"123700",siteId:"602418",pageId:"1839373"},"240x400@240x400":{formatId:"123700",siteId:"602418",pageId:"1839373"},"160x600@160x600":{formatId:"123700",siteId:"602418",pageId:"1839373"},"300x100@300x100":{formatId:"123700",siteId:"602418",pageId:"1839373"},"300x250@300x250":{formatId:"123700",siteId:"602418",pageId:"1839373"},"120x600@120x600":{formatId:"123700",siteId:"602418",pageId:"1839373"},"728x90@728x90":{formatId:"123700",siteId:"602418",pageId:"1839373"},"300x600@300x600":{formatId:"123700",siteId:"602418",pageId:"1839373"},"300x50@300x50":{formatId:"123700",siteId:"602418",pageId:"1839373"},"970x250@970x250":{formatId:"123700",siteId:"602418",pageId:"1839373"},"320x100@320x100":{formatId:"123700",siteId:"602418",pageId:"1839373"},"320x50@320x50":{formatId:"123700",siteId:"602418",pageId:"1839373"},"1130x250@1130x250":{formatId:"123700",siteId:"602418",pageId:"1839373"},"300x75@300x75":{formatId:"123700",siteId:"602418",pageId:"1839373"},"480x320@480x320":{formatId:"123700",siteId:"602418",pageId:"1839373"},"970x100@970x100":{formatId:"123700",siteId:"602418",pageId:"1839373"},"1090x250@1090x250":{formatId:"123700",siteId:"602418",pageId:"1839373"},"970x70@970x70":{formatId:"123700",siteId:"602418",pageId:"1839373"},"970x90@970x90":{formatId:"123700",siteId:"602418",pageId:"1839373"},"1x1@1x1":{formatId:"123700",siteId:"602418",pageId:"1839373"},"336x280@336x280":{formatId:"123700",siteId:"602418",pageId:"1839373"}}},pubmatic:{publisherId:"160738",kgp:"_W_x_H_@_W_x_H_:_I_",sk:"true",rev_share:"0.0",timeout:0,throttle:"100",pt:0,serverSideEnabled:"0",amp:0,video:0,"in-app":0,display:0}},e.identityPartners={id5Id:{name:"id5Id","storage.type":"html5","storage.expires":"90","storage.name":"id5_storage","storage.refreshInSeconds":"28800","params.partner":"888","params.abTesting.enabled":0,"params.abTesting.controlGroupPct":0,rev_share:"0.0",timeout:0,throttle:"100",display:0},unifiedId:{name:"unifiedId","storage.type":"cookie","storage.name":"pubmatic-unifiedid","storage.expires":"60","params.url":"//match.adsrvr.org/track/rid?ttd_pid=pubmatic&fmt=json",rev_share:"0.0",timeout:0,throttle:"100",display:0},criteo:{name:"criteo",rev_share:"0.0",timeout:0,throttle:"100",display:0},lotamePanoramaId:{name:"lotamePanoramaId","params.clientId":0,rev_share:"0.0",timeout:0,throttle:"100",display:0},identityLink:{name:"identityLink","storage.type":"cookie","storage.expires":"30","storage.name":"idl_env","params.pid":"1258","params.loadATS":0,"params.storageType":0,"params.detectionType":0,"params.urlParameter":0,"params.cssSelectors":0,"params.logging":0,"params.detectDynamicNodes":0,"params.enableCustomId":0,"params.accountID":0,"params.customerIDRegex":0,"params.detectionMechanism":0,"params.detectionEventType":0,"params.triggerElements":0,rev_share:"0.0",timeout:0,throttle:"100",display:0}},e.testConfigDetails={},e.test_pwt={}}),(function(t,e,a){function i(t,e,a){var i="",r=0,o=0,l=d.METADATA_MACROS;c.forEachOnObject(e.adapters,(function(e,a){""!=a.getLastBidID()&&("pubmaticServer"!==e&&o++,c.forEachOnObject(a.bids,(function(e,a){1!=a.getDefaultBidStatus()&&1!=a.getPostTimeoutStatus()&&0!=a.getGrossEcpm()&&(r++,i+=n(t,a))})))})),0==i.length&&(i=t),i=(i=i.replace(new RegExp(l.BID_COUNT,"g"),r)).replace(new RegExp(l.PARTNER_COUNT,"g"),o),a[d.WRAPPER_TARGETING_KEYS.META_DATA]=encodeURIComponent(i)}function n(t,e){var a=d.METADATA_MACROS;return t.replace(new RegExp(a.PARTNER,"g"),e.getAdapterID()).replace(new RegExp(a.WIDTH,"g"),e.getWidth()).replace(new RegExp(a.HEIGHT,"g"),e.getHeight()).replace(new RegExp(a.GROSS_ECPM,"g"),e.getGrossEcpm()).replace(new RegExp(a.NET_ECPM,"g"),e.getNetEcpm())}var r,o,l=a(2),d=a(0),c=a(1),s=a(10),h=this;const p="PROFILE_AUCTION_INFO_",u={img:1,js:2,1:"img",2:"js"};e.createBidEntry=function(t){c.isOwnProperty(window.PWT.bidMap,t)||(window.PWT.bidMap[t]=s.createBMEntry(t))},e.setSizes=function(t,e){h.createBidEntry(t),window.PWT.bidMap[t].setSizes(e)},e.setCallInitTime=function(t,e){h.createBidEntry(t),window.PWT.bidMap[t].setAdapterEntry(e)},e.setAllPossibleBidsReceived=function(t){window.PWT.bidMap[t].setAllPossibleBidsReceived()},e.setBidFromBidder=function(t,e){var a=e.getAdapterID(),i=(e.getBidID(),window.PWT.bidMap[t]);if(c.isOwnProperty(window.PWT.bidMap,t)){var n=i.getCreationTime()+l.getTimeout()<e.getReceivedTime(),r=e.getReceivedTime()-i.getCreationTime();h.createBidEntry(t),c.log("BdManagerSetBid: divID: "+t+", bidderID: "+a+", ecpm: "+e.getGrossEcpm()+", size: "+e.getWidth()+"x"+e.getHeight()+", postTimeout: "+n+", defaultBid: "+e.getDefaultBidStatus()),!0===n&&e.setPostTimeoutStatus();var o=i.getLastBidIDForAdapter(a);if(""!=o){var s=i.getBid(a,o),p=1===s.getDefaultBidStatus(),u=-1===s.getDefaultBidStatus();p||!n||u?(p&&c.log(d.MESSAGES.M23+a),p||s.getNetEcpm()<e.getNetEcpm()||u?(c.log(d.MESSAGES.M12+s.getNetEcpm()+d.MESSAGES.M13+e.getNetEcpm()+d.MESSAGES.M14+a),h.storeBidInBidMap(t,a,e,r)):c.log(d.MESSAGES.M12+s.getNetEcpm()+d.MESSAGES.M15+e.getNetEcpm()+d.MESSAGES.M16+a)):c.log(d.MESSAGES.M17)}else c.log(d.MESSAGES.M18+a),h.storeBidInBidMap(t,a,e,r);n&&setTimeout(window[d.COMMON.PREBID_NAMESPACE].triggerUserSyncs,10)}else c.logWarning("BidManager is not expecting bid for "+t+", from "+a)},e.storeBidInBidMap=function(t,e,a,i){window.PWT.bidMap[t].setNewBid(e,a),window.PWT.bidIdMap[a.getBidID()]={s:t,a:e},0===a.getDefaultBidStatus()&&"pubmaticServer"!==a.adapterID&&c.vLogInfo(t,{type:"bid",bidder:e+(0!==l.getBidPassThroughStatus(e)?"(Passthrough)":""),bidDetails:a,latency:i,s2s:l.isServerSideAdapter(e),adServerCurrency:c.getCurrencyToDisplay()})},e.resetBid=function(t,e){c.vLogInfo(t,{type:"hr"}),delete window.PWT.bidMap[t],h.createBidEntry(t),window.PWT.bidMap[t].setImpressionID(e)},e.createMetaDataKey=i,e.replaceMetaDataMacros=n,e.auctionBids=function(t){var e=null,a={};return c.forEachOnObject(t.adapters,(function(t,i){var n=h.auctionBidsCallBack(t,i,a,e);e=n.winningBid,a=n.keyValuePairs})),null!==l.getMataDataPattern()&&i(l.getMataDataPattern(),t,a),{wb:e,kvp:a}},e.updateNativeTargtingKeys=function(t){for(var e in t)e.indexOf("native")>=0&&3===e.split("_").length&&delete t[e]},e.auctionBidsCallBack=function(t,e,a,i){var n=this;return""!=e.getLastBidID()?(c.forEachOnObject(e.bids,(function(e,r){if(!0===r.getPostTimeoutStatus())return{winningBid:i,keyValuePairs:a};if(1!==r.getDefaultBidStatus()&&1==l.getSendAllBidsStatus()&&r.setSendAllBidsKeys(),null!==i)if(i.getNetEcpm()<r.getNetEcpm())n.updateNativeTargtingKeys(a);else{var o=r.getKeyValuePairs();n.updateNativeTargtingKeys(o),r.keyValuePairs=o}return c.copyKeyValueObject(a,r.getKeyValuePairs()),0!==l.getBidPassThroughStatus(t)?{winningBid:i,keyValuePairs:a}:((null==i||i.getNetEcpm()<r.getNetEcpm())&&(i=r),void 0)})),{winningBid:i,keyValuePairs:a}):{winningBid:i,keyValuePairs:a}},e.getBid=function(t){var e=null,a=null;if(c.isOwnProperty(window.PWT.bidMap,t)){var i=h.auctionBids(window.PWT.bidMap[t]);e=i.wb,a=i.kvp,window.PWT.bidMap[t].setAnalyticEnabled(),e&&e.getNetEcpm()>0?(e.setStatus(1),e.setWinningBidStatus(),c.vLogInfo(t,{type:"win-bid",bidDetails:e,adServerCurrency:c.getCurrencyToDisplay()})):c.vLogInfo(t,{type:"win-bid-fail"})}return{wb:e,kvp:a}},e.getBidById=function(t){if(!c.isOwnProperty(window.PWT.bidIdMap,t))return c.log(d.MESSAGES.M25+t),null;var e=window.PWT.bidIdMap[t].s,a=window.PWT.bidIdMap[t].a;if(c.isOwnProperty(window.PWT.bidMap,e)){c.log("BidID: "+t+", DivID: "+e+d.MESSAGES.M19+a);var i=window.PWT.bidMap[e].getBid(a,t);return null==i?null:{bid:i,slotid:e}}return c.log(d.MESSAGES.M25+t),null},e.displayCreative=function(t,e){r=localStorage.getItem(p+window.location.hostname);var a=h.getBidById(e);if(a){var i=a.bid,n=a.slotid;c.displayCreative(t,i),c.vLogInfo(n,{type:"disp",adapter:i.getAdapterID()}),h.executeMonetizationPixel(n,i);var o=JSON.parse(localStorage.getItem(p+window.location.hostname))||{};null!==o&&o.slotLevelFrquencyDepth&&(o.slotLevelFrquencyDepth[o.codeAdUnitMap[n]].impressionServed=o.slotLevelFrquencyDepth[o.codeAdUnitMap[n]].impressionServed+1,o.impressionServed=o.impressionServed+1),localStorage.setItem(p+window.location.hostname,JSON.stringify(o))}},e.executeAnalyticsPixel=function(){r=localStorage.getItem(p+window.location.hostname),o=null!==r?JSON.parse(r):{};var t={s:[]},e=l.getPublisherId(),a=l.getAnalyticsPixelURL(),i={};a&&(a=d.COMMON.PROTOCOL+a+"pubid="+e,t[d.CONFIG.PUBLISHER_ID]=l.getPublisherId(),t[d.LOGGER_PIXEL_PARAMS.TIMEOUT]=""+l.getTimeout(),t[d.LOGGER_PIXEL_PARAMS.PAGE_URL]=window.decodeURIComponent(c.metaInfo.pageURL),t[d.LOGGER_PIXEL_PARAMS.PAGE_DOMAIN]=c.metaInfo.pageDomain,t[d.LOGGER_PIXEL_PARAMS.TIMESTAMP]=c.getCurrentTimestamp(),t[d.CONFIG.PROFILE_ID]=l.getProfileID(),t[d.CONFIG.PROFILE_VERSION_ID]=l.getProfileDisplayVersionID(),t.ih=l.isUserIdModuleEnabled()?1:0,t.bm=h.getBrowser(),t.tgid=c.getTgid(),Object.keys(o).length&&(t.tpv=o.pageView,t.trc=o.slotCnt,t.tbs=o.bidServed,t.tis=o.impressionServed,t.lip=o.lip),window.PWT.CC&&window.PWT.CC.cc&&(t.ctr=window.PWT.CC.cc),c.forEachOnObject(window.PWT.bidMap,(function(t,e){h.analyticalPixelCallback(t,e,i)})),c.forEachOnObject(i,(function(e,i){if(i.length>0){if(t.s=i,t[d.COMMON.IMPRESSION_ID]=window.encodeURIComponent(e),l.isFloorPriceModuleEnabled()){var n=window.PWT.floorData[t[d.COMMON.IMPRESSION_ID]];t.fmv=n.floorRequestData&&n.floorRequestData.modelVersion||void 0,t.ft=n.floorResponseData?0==n.floorResponseData.enforcements.enforceJS?0:1:void 0}t.psl=i.psl,t.dvc={plt:c.getDevicePlatform()},c.ajaxRequest(a,(function(){}),"json="+window.encodeURIComponent(JSON.stringify(t)),{contentType:"application/x-www-form-urlencoded",withCredentials:!0})}})))},e.executeMonetizationPixel=function(t,e){var a=c.generateMonetizationPixel(t,e);a&&h.setImageSrcToPixelURL(a)},e.getAdUnitSizes=function(t){return Object.keys(t.adapters).filter((function(e){return 1==Object.keys(t.adapters[e].bids).filter((function(a){return t.adapters[e].bids[a].isWinningBid&&"native"===t.adapters[e].bids[a].adFormat?t.adapters[e].bids[a]:void 0})).length?e:void 0})).length?["1x1"]:t.getSizes()},e.getAdUnitInfo=function(t){return window.PWT.adUnits[t]||t},e.getAdUnitAdFormats=function(t){return(t?Object.keys(t).map((function(t){return d.MEDIATYPE[t.toUpperCase()]})).filter((function(t){return null!=t})):[])||[]},e.getSlotLevelFrequencyDepth=function(t,e,a){var i;return Object.keys(t).length&&t.slotLevelFrquencyDepth&&(i=t.slotLevelFrquencyDepth[a]&&t.slotLevelFrquencyDepth[a][e]),i},e.getMetadata=function(t){if(t&&!c.isEmptyObject(t)){const e={};return t.networkId&&(e.nwid=t.networkId),t.advertiserId&&(e.adid=t.advertiserId),t.networkName&&(e.nwnm=t.networkName),t.primaryCatId&&(e.pcid=t.primaryCatId),t.advertiserName&&(e.adnm=t.advertiserName),t.agencyId&&(e.agid=t.agencyId),t.agencyName&&(e.agnm=t.agencyName),t.brandId&&(e.brid=t.brandId),t.brandName&&(e.brnm=t.brandName),t.dchain&&(e.dc=t.dchain),t.demandSource&&(e.ds=t.demandSource),t.secondaryCatIds&&(e.scids=t.secondaryCatIds),c.isEmptyObject(e)?void 0:e}},e.analyticalPixelCallback=function(t,e,a){var i=null!==(r=localStorage.getItem(p+window.location.hostname))?JSON.parse(r):{},n=l.usePBSAdapter(),o=e.getCreationTime()||0,s=n&&window.pbsLatency?0:void 0,u=e.getImpressionID(),I=h.getAdUnitInfo(t),g={};if(e.getAnalyticEnabledStatus()&&!e.getExpiredStatus()){var m={sn:t,sz:h.getAdUnitSizes(e),au:I.adUnitId||t,fskp:window.PWT.floorData&&window.PWT.floorData[u]&&window.PWT.floorData[u].floorRequestData?0==window.PWT.floorData[u].floorRequestData.skipped?0:1:void 0,mt:h.getAdUnitAdFormats(I.mediaTypes),ps:[],bs:h.getSlotLevelFrequencyDepth(i,"bidServed",I.adUnitId),is:h.getSlotLevelFrequencyDepth(i,"impressionServed",I.adUnitId),rc:h.getSlotLevelFrequencyDepth(i,"slotCnt",I.adUnitId),vw:i&&i.viewedSlot&&i.viewedSlot[I.adUnitId],rf:window.PWT.newAdUnits&&window.PWT.newAdUnits[u]&&window.PWT.newAdUnits[u][t]&&window.PWT.newAdUnits[u][t].pubmaticAutoRefresh&&window.PWT.newAdUnits[u][t].pubmaticAutoRefresh.isRefreshed?1:0};e.setExpired(),a[u]=a[u]||[],c.forEachOnObject(e.adapters,(function(t,e){1!=l.getBidPassThroughStatus(t)&&c.forEachOnObject(e.bids,(function(e,a){n&&((g=window.pbsLatency&&window.pbsLatency[u])&&g.endTime&&g.startTime&&(s=g.endTime-g.startTime),(("pubmatic"===t||"pubmatic2"===t)&&c.isOwnProperty(window.partnersWithoutErrorAndBids,u)&&window.partnersWithoutErrorAndBids[u].includes(t)||c.isOwnProperty(window.partnersWithoutErrorAndBids,u)&&window.partnersWithoutErrorAndBids[u].includes(t)&&l.getAdapterNameForAlias(t).includes("pubmatic"))&&(a.defaultBid=0));var i=a.getReceivedTime();if("pubmaticServer"===t)return c.isOwnProperty(window.PWT.owLatency,u)&&c.isOwnProperty(window.PWT.owLatency[u],"startTime")&&c.isOwnProperty(window.PWT.owLatency[u],"endTime")?s=window.PWT.owLatency[u].endTime-window.PWT.owLatency[u].startTime:(s=0,c.log("Logging pubmaticServer latency as 0 for impressionID: "+u)),void c.log("PSL logging: time logged for id "+u+" is "+s);if((1!=l.getAdapterMaskBidsStatus(t)||!1!==a.getWinningBidStatus())&&!(a.getServerSideStatus()&&-1===a.getDefaultBidStatus()&&-1===a.getServerSideResponseTime()||("pubmatic"===t||"pubmatic2"===t)&&(a.getDefaultBidStatus()||a.getPostTimeoutStatus()&&0==a.getGrossEcpm(!0)))){var r=a.getPbBid();m.ps.push({pn:l.getAdapterNameForAlias(t),bc:t,bidid:r&&r.prebidBidId?r.prebidBidId:e,origbidid:e,db:a.getDefaultBidStatus(),kgpv:a.getKGPV(),kgpsv:a.getKGPV(!0),psz:a.getWidth()+"x"+a.getHeight(),eg:a.getGrossEcpm(!0),en:a.getNetEcpm(!0),di:a.getDealID(),dc:a.getDealChannel(),l1:a.getServerSideStatus()?a.getServerSideResponseTime():i-o,l2:0,adv:r&&c.getAdDomain(r)||void 0,ss:a.getServerSideStatus(),t:!1===a.getPostTimeoutStatus()?0:1,wb:!0===a.getWinningBidStatus()?1:0,mi:a.getServerSideStatus()?a.getMi(t):void 0,af:a.getAdFormat(),ocpm:l.getAdServerCurrency()?a.getOriginalCpm():a.getGrossEcpm(),ocry:l.getAdServerCurrency()?a.getOriginalCurrency():d.COMMON.ANALYTICS_CURRENCY,piid:a.getsspID(),frv:a.getServerSideStatus()?void 0:r&&r.floorData?r.floorData.floorRuleValue:void 0,md:r?h.getMetadata(r.meta):void 0})}}))})),a[u].push(m),n&&l.getServerEnabledAdaptars().length&&null==s&&!window.pbsLatency&&(s=0),void 0!==s&&(a[u].psl=s)}},e.setImageSrcToPixelURL=function(t,e){var a=new window.Image;null==e||e?(String(t).trim().substring(0,8)!=d.COMMON.PROTOCOL&&(t=d.COMMON.PROTOCOL+t),a.src=t):a.src=t},e.getAllPartnersBidStatuses=function(t,e){var a=!0;return c.forEachOnArray(e,(function(e,i){t[i]&&(a=a&&!0===t[i].hasAllPossibleBidsReceived())})),a},e.loadTrackers=function(t){var e=c.getBidFromEvent(t);window.parent.postMessage(JSON.stringify({pwt_type:"3",pwt_bidID:e,pwt_origin:d.COMMON.PROTOCOL+window.location.hostname,pwt_action:"click"}),"*")},e.executeTracker=function(t){window.parent.postMessage(JSON.stringify({pwt_type:"3",pwt_bidID:t,pwt_origin:d.COMMON.PROTOCOL+window.location.hostname,pwt_action:"imptrackers"}),"*")},e.fireTracker=function(t,e){var a;if("click"===e)a=t.native&&t.native.ortb&&t.native.ortb.link&&t.native.ortb.link.clickTrackers;else if("imptrackers"===e){const e=t.native.ortb||t.native,i=(e.eventtrackers||[]).filter((function(t){t.event})),n={img:[],js:[]};i.forEach((function(t){u.hasOwnProperty(t.method)&&n[u[t.method]].push(t.url)})),0==n.img.length&&e.imptrackers&&(n.img=n.img.concat(e.imptrackers)),a=n.img,0==n.js.length&&e.jstracker&&(n.js=n.js.concat([e.jstracker])),n.js.length&&c.insertHtmlIntoIframe(n.js.join("\n"))}(a||[]).forEach((function(t){h.setImageSrcToPixelURL(t,!1)}))},e.setStandardKeys=function(t,e){if(t){e[d.WRAPPER_TARGETING_KEYS.BID_ID]=t.getBidID(),e[d.WRAPPER_TARGETING_KEYS.BID_STATUS]=t.getStatus(),e[d.WRAPPER_TARGETING_KEYS.BID_ECPM]=t.getNetEcpm().toFixed(d.COMMON.BID_PRECISION);var a=t.getDealID();a&&(e[d.WRAPPER_TARGETING_KEYS.BID_DEAL_ID]=a),e[d.WRAPPER_TARGETING_KEYS.BID_ADAPTER_ID]=t.getAdapterID(),e[d.WRAPPER_TARGETING_KEYS.PUBLISHER_ID]=l.getPublisherId(),e[d.WRAPPER_TARGETING_KEYS.PROFILE_ID]=l.getProfileID(),e[d.WRAPPER_TARGETING_KEYS.PROFILE_VERSION_ID]=l.getProfileDisplayVersionID(),e[d.WRAPPER_TARGETING_KEYS.BID_SIZE]=t.width+"x"+t.height,e[d.WRAPPER_TARGETING_KEYS.PLATFORM_KEY]=t.getAdFormat()==d.FORMAT_VALUES.VIDEO&&t.getcacheUUID()?d.PLATFORM_VALUES.VIDEO:t.getNative()?d.PLATFORM_VALUES.NATIVE:d.PLATFORM_VALUES.DISPLAY,t.getAdFormat()==d.FORMAT_VALUES.VIDEO&&t.getcacheUUID()&&(e[d.WRAPPER_TARGETING_KEYS.CACHE_PATH]=d.CONFIG.CACHE_PATH,e[d.WRAPPER_TARGETING_KEYS.CACHE_URL]=d.CONFIG.CACHE_URL,e[d.WRAPPER_TARGETING_KEYS.CACHE_ID]=t.getcacheUUID())}else c.logWarning("Not generating key-value pairs as invalid winningBid object passed. WinningBid: "),c.logWarning(t)},e.getBrowser=function(){var t=d.REGEX_BROWSERS,e=d.BROWSER_MAPPING,a=navigator.userAgent,i=null==a?-1:0;if(a)for(var n=0;n<t.length;n++)if(a.match(t[n])){i=e[n];break}return i}}),(function(t,e,a){function i(t,e){this.adapterID=t,this.kgpv=e,this.bidID=o.getUniqueIdentifierStr(),this.grossEcpm=0,this.netEcpm=0,this.defaultBid=0,this.adHtml="",this.adUrl="",this.height=0,this.width=0,this.creativeID="",this.keyValuePairs={},this.isPostTimeout=!1,this.receivedTime=0,this.isServerSide=n.isServerSideAdapter(t)?1:0,this.dealID="",this.dealChannel="",this.isWinningBid=!1,this.status=0,this.serverSideResponseTime=0,this.mi=void 0,this.originalCpm=0,this.originalCurrency="",this.analyticsGrossCpm=0,this.analyticsNetCpm=0,this.native=void 0,this.adFormat=void 0,this.regexPattern=void 0,this.cacheUUID=void 0,this.sspID="",this.vastUrl=void 0,this.vastCache=void 0,this.renderer=void 0,this.pbBid=void 0}var n=a(2),r=a(0),o=a(1),l=function(t,e){return window.parseFloat((t*n.getAdapterRevShare(e)).toFixed(r.COMMON.BID_PRECISION))};i.prototype.setServerSideResponseTime=function(t){this.serverSideResponseTime=t},i.prototype.getServerSideResponseTime=function(){return this.serverSideResponseTime},i.prototype.getServerSideStatus=function(){return this.isServerSide},i.prototype.setServerSideStatus=function(t){this.isServerSide=t},i.prototype.getAdapterID=function(){return this.adapterID},i.prototype.getBidID=function(){return this.bidID},i.prototype.setGrossEcpm=function(t,e,a,i){if(null===t)return o.log(r.MESSAGES.M10),o.log(this),this;if(o.isString(t)){if(0===(t=t.replace(/\s/g,"")).length)return o.log(r.MESSAGES.M20),o.log(this),this;t=window.parseFloat(t)}return window.isNaN(t)?(o.log(r.MESSAGES.M11+t),o.log(this),this):(n.getAdServerCurrency()&&e&&a&&(o.isFunction(window[r.COMMON.PREBID_NAMESPACE].convertCurrency)||"function"==typeof window[r.COMMON.PREBID_NAMESPACE].convertCurrency)&&(t=window[r.COMMON.PREBID_NAMESPACE].convertCurrency(t,e,a)),t=window.parseFloat(t.toFixed(r.COMMON.BID_PRECISION)),this.grossEcpm=t,this.netEcpm=i==r.BID_STATUS.BID_REJECTED?0:l(this.grossEcpm,this.getAdapterID()),this)},i.prototype.getGrossEcpm=function(t){return n.getAdServerCurrency()&&this.analyticsGrossCpm&&t?this.analyticsGrossCpm:this.grossEcpm},i.prototype.getNetEcpm=function(t){return n.getAdServerCurrency()&&this.analyticsNetCpm&&t?this.analyticsNetCpm:this.netEcpm},i.prototype.setDefaultBidStatus=function(t){return this.defaultBid=t,this},i.prototype.getDefaultBidStatus=function(){return this.defaultBid},i.prototype.setAdHtml=function(t){return this.adHtml=t,this.setAdFormat(t),this},i.prototype.getAdHtml=function(){return this.adHtml},i.prototype.setAdUrl=function(t){return this.adUrl=t,this},i.prototype.getAdUrl=function(){return this.adUrl},i.prototype.setHeight=function(t){return this.height=t,this},i.prototype.getHeight=function(){return this.height},i.prototype.setWidth=function(t){return this.width=t,this},i.prototype.getWidth=function(){return this.width},i.prototype.getKGPV=function(t,e){return!t&&this.regexPattern?this.regexPattern:this.adFormat==r.FORMAT_VALUES.VIDEO||e==r.FORMAT_VALUES.VIDEO?o.getUpdatedKGPVForVideo(this.kgpv,r.FORMAT_VALUES.VIDEO):this.kgpv},i.prototype.setKeyValuePair=function(t,e){return this.keyValuePairs[t.substr(0,20)]=e,this},i.prototype.getKeyValuePairs=function(){return this.keyValuePairs},i.prototype.setPostTimeoutStatus=function(){return this.isPostTimeout=!0,this},i.prototype.getPostTimeoutStatus=function(){return this.isPostTimeout},i.prototype.setReceivedTime=function(t){return this.receivedTime=t,this},i.prototype.getReceivedTime=function(){return this.receivedTime},i.prototype.setDealID=function(t){return t&&(this.dealID=t,this.dealChannel=this.dealChannel||"PMP",this.setKeyValuePair(r.COMMON.DEAL_KEY_FIRST_PART+this.adapterID,this.dealChannel+r.COMMON.DEAL_KEY_VALUE_SEPARATOR+this.dealID+r.COMMON.DEAL_KEY_VALUE_SEPARATOR+this.bidID)),this},i.prototype.getDealID=function(){return this.dealID},i.prototype.setDealChannel=function(t){return this.dealID&&t&&(this.dealChannel=t,this.setKeyValuePair(r.COMMON.DEAL_KEY_FIRST_PART+this.adapterID,this.dealChannel+r.COMMON.DEAL_KEY_VALUE_SEPARATOR+this.dealID+r.COMMON.DEAL_KEY_VALUE_SEPARATOR+this.bidID)),this},i.prototype.getDealChannel=function(){return this.dealChannel},i.prototype.setWinningBidStatus=function(){return this.isWinningBid=!0,this},i.prototype.getWinningBidStatus=function(){return this.isWinningBid},i.prototype.setStatus=function(t){return this.status=t,this},i.prototype.getStatus=function(){return this.status},i.prototype.setSendAllBidsKeys=function(){if(this.setKeyValuePair(r.WRAPPER_TARGETING_KEYS.BID_ID+"_"+this.adapterID,this.bidID),this.setKeyValuePair(r.WRAPPER_TARGETING_KEYS.BID_STATUS+"_"+this.adapterID,this.getNetEcpm()>0?1:0),this.setKeyValuePair(r.WRAPPER_TARGETING_KEYS.BID_ECPM+"_"+this.adapterID,this.getNetEcpm().toFixed(r.COMMON.BID_PRECISION)),this.setKeyValuePair(r.WRAPPER_TARGETING_KEYS.BID_SIZE+"_"+this.adapterID,this.width+"x"+this.height),this.native){var t=this.keyValuePairs,e=this;o.forEachOnObject(t,(function(t,a){t.indexOf("native")>=0&&e.setKeyValuePair(t+"_"+e.adapterID,a)}))}},i.prototype.setMi=function(t){return this.mi=t,this},i.prototype.getMi=function(t){return o.isUndefined(this.mi)&&(this.mi=window.matchedimpressions&&window.matchedimpressions[t]),this.mi},i.prototype.setOriginalCpm=function(t){return this.originalCpm=window.parseFloat(t.toFixed(r.COMMON.BID_PRECISION)),this},i.prototype.getOriginalCpm=function(){return this.originalCpm},i.prototype.setOriginalCurrency=function(t){return this.originalCurrency=t,this},i.prototype.getOriginalCurrency=function(){return this.originalCurrency},i.prototype.setAnalyticsCpm=function(t,e){return this.analyticsGrossCpm=window.parseFloat(t.toFixed(r.COMMON.BID_PRECISION)),this.analyticsNetCpm=e==r.BID_STATUS.BID_REJECTED?0:l(this.analyticsGrossCpm,this.getAdapterID()),this},i.prototype.getAnalyticsCpm=function(){return this.analyticsGrossCpm},i.prototype.getNative=function(){return this.native},i.prototype.setNative=function(t){return this.native=t,this},i.prototype.getAdFormat=function(){return this.adFormat},i.prototype.setAdFormat=function(t,e){return this.adFormat=e||o.getAdFormatFromBidAd(t),this},i.prototype.getRegexPattern=function(){return this.regexPattern},i.prototype.setRegexPattern=function(t){return this.regexPattern=t,this},i.prototype.getcacheUUID=function(){return this.cacheUUID},i.prototype.setcacheUUID=function(t){return this.cacheUUID=t,this.adFormat||(this.adFormat=r.FORMAT_VALUES.VIDEO),this},i.prototype.getsspID=function(){return this.sspID},i.prototype.setsspID=function(t){return this.sspID=t,this},i.prototype.setRenderer=function(t){return o.isEmptyObject(t)||(this.renderer=t),this},i.prototype.getRenderer=function(){return this.renderer},i.prototype.setVastCache=function(t){return o.isString(t)&&(this.vastCache=t),this},i.prototype.getVastCache=function(){return this.vastCache},i.prototype.setVastUrl=function(t){return o.isString(t)&&(this.vastUrl=t),this},i.prototype.getVastUrl=function(){return this.vastUrl},i.prototype.setVastXml=function(t){return o.isString(t)&&(this.vastXml=t),this},i.prototype.getVastXml=function(){return this.vastXml},i.prototype.setPbBid=function(t){return this.pbbid=t,this},i.prototype.getPbBid=function(){return this.pbbid},i.prototype.updateBidId=function(t){if(window.PWT.bidMap[t]&&window.PWT.bidMap[t].adapters&&Object.keys(window.PWT.bidMap[t].adapters).length>0){var e=window.PWT.bidMap[t].adapters[this.adapterID].bids[Object.keys(window.PWT.bidMap[t].adapters[this.adapterID].bids)[0]].bidID;e&&this.adFormat==r.FORMAT_VALUES.VIDEO&&(this.bidID=e)}else o.logWarning("Error in Updating BidId. It might be possible singleImpressionEnabled is false"),console.warn("Setup for video might not be correct. Try setting up Optimize MultiSize AdSlot to true.");return this},t.exports.Bid=i,e.createBid=function(t,e){return new i(t,e)}}),(function(t,e,a){function i(t,e,a){var i=!1;return c.isOwnProperty(t,e)&&t[e].bids.forEach((function(t){t.bidder==a&&(i=!0)})),i}function n(t,e,a,n,r,l,d,s,p,u){var I={},m=s[d].mediaTypes,f=s[d].sizes,x=!1;m&&c.isOwnProperty(m,"video")&&"telaria"!=t&&(I.video=m.video),c.forEachOnObject(n,(function(t,e){I[t]=e})),b&&(I.kgpv=e,I.regexPattern=u),p&&Object.keys(p).length>0&&c.forEachOnObject(p,(function(e,a){e==t&&c.forEachOnObject(a,(function(t,e){I[t]=e}))})),m&&c.isOwnProperty(m,"video")&&"telaria"!=t&&(c.isOwnProperty(I,"video")&&c.isObject(I.video)?c.forEachOnObject(m.video,(function(t,e){c.isOwnProperty(I.video,t)||(I.video[t]=e)})):I.video=m.video),!1===b&&o.usePBSAdapter()&&(I.wiid=a,x=!0);var S=o.getAdapterNameForAlias(t)||t;switch(S){case"pubmaticServer":I.publisherId=r.publisherId,I.adUnitIndex=""+l.getAdUnitIndex(),I.adUnitId=l.getAdUnitID(),I.divId=l.getDivID(),I.adSlot=e,!1===b&&(I.wiid=a),I.profId=o.getProfileID(),window.PWT.udpv&&(I.verId=o.getProfileDisplayVersionID()),s[d].bids.push({bidder:t,params:I});break;case"pubmatic":case"pubmatic2":I.publisherId=r.publisherId,I.adSlot=I.slotName||e,!1===b&&(I.wiid=a),I.profId="pubmatic2"==t||"pubmatic2"==S?r.profileId:o.getProfileID(),"pubmatic2"!=t&&"pubmatic2"!=S&&window.PWT.udpv&&(I.verId=o.getProfileDisplayVersionID()),1==o.usePBSAdapter()&&o.isServerSideAdapter(t)&&(I.wrapper={profile:parseInt(h.pwt.pid),version:parseInt(h.pwt.pdvid)},I.hashedKey&&(I.adSlot=I.hashedKey)),s[d].bids.push({bidder:t,params:I});break;case"pulsepoint":c.forEachOnArray(f,(function(e,i){var r={};c.forEachOnObject(n,(function(t,e){r[t]=e})),r.cf=i[0]+"x"+i[1],x&&(r.wiid=a),s[d].bids.push({bidder:t,params:r})}));break;case"adg":c.forEachOnArray(f,(function(e,r){var o={};c.forEachOnObject(n,(function(t,e){o[t]=e})),o.width=r[0],o.height=r[1],x&&(o.wiid=a),g.isSingleImpressionSettingEnabled&&i(s,d,t)||s[d].bids.push({bidder:t,params:o})}));break;case"yieldlab":c.forEachOnArray(f,(function(e,r){var o={};c.forEachOnObject(n,(function(t,e){o[t]=e})),o.adSize=r[0]+"x"+r[1],x&&(o.wiid=a),g.isSingleImpressionSettingEnabled&&i(s,d,t)||s[d].bids.push({bidder:t,params:o})}));break;case"ix":case"indexExchange":I.siteID&&(I.siteId=I.siteID,delete I.siteID),x&&(I.wiid=a),s[d].bids.push({bidder:t,params:I});break;default:s[d].bids.push({bidder:t,params:I})}}function r(){return[{key:"pwtpid",val:function(t){return t.bidderCode}},{key:"pwtsid",val:function(t){return t.adId}},{key:"pwtecp",val:function(t){return(t.cpm||0).toFixed(l.COMMON.BID_PRECISION)}},{key:"pwtsz",val:function(t){return t.size}},{key:"hb_source",val:function(){return""}},{key:"pwtplt",val:function(t){return"video"==t.mediaType&&t.videoCacheKey?l.PLATFORM_VALUES.VIDEO:t.native?l.PLATFORM_VALUES.NATIVE:l.PLATFORM_VALUES.DISPLAY}},{key:"pwtdid",val:function(t){return t.dealId||""}},{key:"pwtdeal",val:function(t){return t.dealId?(t.dealChannel=t.dealChannel||"PMP",t.dealChannel+l.COMMON.DEAL_KEY_VALUE_SEPARATOR+t.dealId+l.COMMON.DEAL_KEY_VALUE_SEPARATOR+t.adId):""}},{key:"pwtbst",val:function(){return 1}},{key:"pwtpubid",val:function(){return o.getPublisherId()}},{key:"pwtprofid",val:function(){return o.getProfileID()}},{key:"pwtverid",val:function(){return o.getProfileDisplayVersionID()}},{key:"pwtcid",val:function(t){return"video"==t.mediaType&&t.videoCacheKey?t.videoCacheKey:""}},{key:"pwtcurl",val:function(t){return"video"==t.mediaType&&t.videoCacheKey?l.CONFIG.CACHE_URL:""}},{key:"pwtcpath",val:function(t){return"video"==t.mediaType&&t.videoCacheKey?l.CONFIG.CACHE_PATH:""}},{key:"pwtuuid",val:function(){return""}}]}var o=a(2),l=a(0),d=a(5),c=a(1),s=a(4),h=a(3),p=a(7),u=l.COMMON.PARENT_ADAPTER_PREBID,I=l.COMMON.PREBID_NAMESPACE;e.parentAdapterID=u,e.kgpvMap={};var g=this,m=!1,f=!1,b=o.isPrebidPubMaticAnalyticsEnabled(),x=o.isSingleImpressionSettingEnabled(),S=l.DEFAULT_ALIASES;e.isSingleImpressionSettingEnabled=x,e.transformPBBidToOWBid=function(t,e,a){var i=a||t.regexPattern||void 0,n=d.createBid(t.bidderCode,e),r=parseInt(t.pubmaticServerErrorCode);return o.getAdServerCurrency()&&(c.isOwnProperty(t,"originalCpm")||(t.originalCpm=t.cpm),c.isOwnProperty(t,"originalCurrency")||(t.originalCurrency=c.getCurrencyToDisplay())),t.status==l.BID_STATUS.BID_REJECTED?n.setGrossEcpm(t.originalCpm,t.originalCurrency,c.getCurrencyToDisplay(),t.status):n.setGrossEcpm(t.cpm),n.setDealID(t.dealId),n.setDealChannel(t.dealChannel),n.setAdHtml(t.ad||""),n.setAdUrl(t.adUrl||""),n.setWidth(t.width),n.setHeight(t.height),n.setMi(t.mi),t.videoCacheKey&&n.setVastCache(t.videoCacheKey),t.vastUrl&&n.setVastUrl(t.vastUrl),t.vastXml&&n.setVastUrl(t.vastUrl),t.renderer&&n.setRenderer(t.renderer),t.native&&n.setNative(t.native),i&&n.setRegexPattern(i),t.mediaType==l.FORMAT_VALUES.VIDEO&&(t.videoCacheKey&&n.setcacheUUID(t.videoCacheKey),n.updateBidId(t.adUnitCode)),t.mediaType&&(parseFloat(t.cpm)>0||t.status==l.BID_STATUS.BID_REJECTED)&&n.setAdFormat(t.adHtml,t.mediaType),t.sspID&&n.setsspID(t.sspID),n.setReceivedTime(t.responseTimestamp),n.setServerSideResponseTime(t.serverSideResponseTime),o.getAdServerCurrency()&&(n.setOriginalCpm(window.parseFloat(t.originalCpm)),n.setOriginalCurrency(t.originalCurrency),c.isFunction(t.getCpmInNewCurrency)?n.setAnalyticsCpm(window.parseFloat(t.getCpmInNewCurrency(l.COMMON.ANALYTICS_CURRENCY)),t.status):n.setAnalyticsCpm(n.getGrossEcpm(),t.status)),1===r||2===r||6===r||11===r||12===r?(n.setDefaultBidStatus(-1),n.setWidth(0),n.setHeight(0)):3===r||4===r||5===r?(n.setDefaultBidStatus(0),0===n.isServerSide&&n.setPostTimeoutStatus()):r&&n.setDefaultBidStatus(1),c.forEachOnObject(t.adserverTargeting,(function(t,e){"hb_format"!==t&&"hb_source"!==t&&n.setKeyValuePair(t,e)})),n.setPbBid(t),n},e.checkAndModifySizeOfKGPVIfRequired=function(t,e){var a={responseKGPV:"",responseRegex:""};e.kgpvs.length>0&&e.kgpvs.forEach((function(e){t.bidderCode==e.adapterID&&(a.responseKGPV=e.kgpv,a.responseRegex=e.regexPattern)}));var i=a.responseKGPV.split("@"),n=1,r=!1;if(i&&(2==i.length||3==i.length&&(n=2)&&(r=!0))&&"video"!=t.mediaType){var o=i[n],l=null;i[n].indexOf(":")>0&&(o=i[n].split(":")[0],l=i[n].split(":")[1]),t.getSize()&&t.getSize()!=o&&"0X0"!=t.getSize().toUpperCase()&&(i[0].toUpperCase()==o.toUpperCase()&&(i[0]=t.getSize().toLowerCase()),a.responseKGPV=r?i[0]+"@"+i[1]+"@"+t.getSize():i[0]+"@"+t.getSize(),l&&(a.responseKGPV=a.responseKGPV+":"+l))}return a},e.pbBidStreamHandler=function(t){var e=t.adUnitCode||"";if(c.isOwnProperty(g.kgpvMap,e)){if(t.floorData&&(window.PWT.floorData[window.PWT.bidMap[t.adUnitCode].impressionID].floorResponseData=t.floorData),"pubmaticServer"===t.bidderCode&&(t.bidderCode=t.originalBidder),g.isSingleImpressionSettingEnabled){var a=g.checkAndModifySizeOfKGPVIfRequired(t,g.kgpvMap[e]);g.kgpvMap[e].kgpv=a.responseKGPV,g.kgpvMap[e].regexPattern=a.responseRegex}if(t.bidderCode&&o.isServerSideAdapter(t.bidderCode)){var i=g.kgpvMap[e].divID;if(!g.isSingleImpressionSettingEnabled){var n=g.getPBCodeWithWidthAndHeight(i,t.bidderCode,t.width,t.height),r=g.getPBCodeWithoutWidthAndHeight(i,t.bidderCode);if(c.isOwnProperty(g.kgpvMap,n))e=n;else{if(!c.isOwnProperty(g.kgpvMap,r))return void c.logWarning("Failed to find kgpv details for S2S-adapter:"+t.bidderCode);e=r}}t.ss=o.isServerSideAdapter(t.bidderCode)?1:0}t.bidderCode&&(t.timeToRespond<o.getTimeout()-l.CONFIG.TIMEOUT_ADJUSTMENT&&c.handleHook(l.HOOKS.BID_RECEIVED,[g.kgpvMap[e].divID,t]),s.setBidFromBidder(g.kgpvMap[e].divID,g.transformPBBidToOWBid(t,g.kgpvMap[e].kgpv,g.kgpvMap[e].regexPattern)))}else c.logWarning("Failed to find pbBid.adUnitCode in kgpvMap, pbBid.adUnitCode:"+t.adUnitCode)},e.pbBidRequestHandler=function(t){t.bids.forEach((function(t){window.PWT.floorData[window.PWT.bidMap[t.adUnitCode].impressionID]||(window.PWT.floorData[window.PWT.bidMap[t.adUnitCode].impressionID]={}),window.PWT.floorData[window.PWT.bidMap[t.adUnitCode].impressionID].floorRequestData=t.floorData}))},e.pbAuctionEndHandler=function(t){window.PWT.newAdUnits=window.PWT.newAdUnits||{},t.adUnits.forEach((function(t){t.pubmaticAutoRefresh&&(window.PWT.newAdUnits[window.PWT.bidMap[t.code].impressionID]||(window.PWT.newAdUnits[window.PWT.bidMap[t.code].impressionID]={}),window.PWT.newAdUnits[window.PWT.bidMap[t.code].impressionID][t.code]||(window.PWT.newAdUnits[window.PWT.bidMap[t.code].impressionID][t.code]={}),window.PWT.newAdUnits[window.PWT.bidMap[t.code].impressionID][t.code].pubmaticAutoRefresh=t.pubmaticAutoRefresh)}))},e.getPBCodeWithWidthAndHeight=function(t,e,a,i){return t+"@"+e+"@"+a+"X"+i},e.getPBCodeWithoutWidthAndHeight=function(t,e){return t+"@"+e},e.isAdUnitsCodeContainBidder=i,e.generatedKeyCallbackForPbAnalytics=function(t,e,a,r,l,d,s,h,p,u,I){var g,m,f,b,x,S;if(o.isServerSideAdapter(t)&&1!=o.usePBSAdapter())c.log("Not calling adapter: "+t+", for "+l+", as it is serverSideEnabled.");else{f=s.getDivID(),g=s.getDivID(),m=s.getSizes(),b=s.getAdUnitID();var w=c.getAdUnitConfig(m,s);if((x=w.mediaTypeObject).partnerConfig&&(S=x.partnerConfig),c.isOwnProperty(e,g)){if(o.isSingleImpressionSettingEnabled()&&i(e,g,t))return}else e[g]={code:g,mediaTypes:{},sizes:m,adUnitId:b,bids:[],divID:f},x.banner&&(e[g].mediaTypes.banner=x.banner),x.native&&(e[g].mediaTypes.native=x.native),x.video&&(e[g].mediaTypes.video=x.video),w.renderer&&(e[g].renderer=w.renderer),window.PWT.adUnits=window.PWT.adUnits||{},window.PWT.adUnits[g]=e[g];n(t,l,r,h,a,s,g,e,S,I)}},e.generatedKeyCallback=function(t,e,a,r,l,d,s,h,p,u,I){var m,f,b,x,S=s.getDivID(),w=s.getAdUnitID();if(g.isSingleImpressionSettingEnabled){m=s.getDivID(),f=s.getSizes();var y=!1;if(g.kgpvMap[m]&&g.kgpvMap[m].kgpvs&&g.kgpvMap[m].kgpvs.length>0){if(c.forEachOnArray(g.kgpvMap[m].kgpvs,(function(e,a){a.adapterID==t&&(y=!0)})),y&&i(e,m,t))return}else g.kgpvMap[m]={kgpvs:[],divID:S};if(!y){var v={adapterID:t,kgpv:l,regexPattern:I};g.kgpvMap[m].kgpvs.push(v)}}else d?(m=g.getPBCodeWithWidthAndHeight(S,t,p,u),f=[[p,u]]):(m=g.getPBCodeWithoutWidthAndHeight(S,t),f=s.getSizes()),g.kgpvMap[m]={kgpv:l,divID:S,regexPattern:I};if(o.isServerSideAdapter(t)&&1!=o.usePBSAdapter())c.log("Not calling adapter: "+t+", for "+l+", as it is serverSideEnabled.");else{var C=c.getAdUnitConfig(f,s);if((b=C.mediaTypeObject).partnerConfig&&(x=b.partnerConfig),c.isOwnProperty(e,m)){if(g.isSingleImpressionSettingEnabled&&i(e,m,t))return}else e[m]={code:m,mediaTypes:{},sizes:f,adUnitId:w,bids:[],divID:S},b.banner&&(e[m].mediaTypes.banner=b.banner),b.native&&(e[m].mediaTypes.native=b.native),b.video&&(e[m].mediaTypes.video=b.video),C.renderer&&(e[m].renderer=C.renderer),window.PWT.adUnits=window.PWT.adUnits||{},window.PWT.adUnits[m]=e[m];c.isOwnProperty(e,m)&&(b=e[m].mediaTypes),n(t,l,r,h,a,s,m,e,x,I)}},e.pushAdapterParamsInAdunits=n,e.generatePbConf=function(t,e,a,i,n){c.log(t+l.MESSAGES.M1),e&&c.forEachGeneratedKey(t,i,e,n,[],a,b?g.generatedKeyCallbackForPbAnalytics:g.generatedKeyCallback,!0)},e.assignSingleRequestConfigForBidders=function(t){c.forEachOnObject(l.SRA_ENABLED_BIDDERS,(function(e){c.isOwnProperty(h.adapters,e)&&(t[e]={singleRequest:!0})}))},e.assignUserSyncConfig=function(t){var e;t.userSync={enableOverride:!0,syncsPerBidder:0,iframeEnabled:!0,pixelEnabled:!0,filterSettings:{iframe:{bidders:"*",filter:"include"}},enabledBidders:(e=[],o.forEachAdapter((function(t){var a=o.getAdapterNameForAlias(t)||t;-1==e.indexOf(a)&&e.push(a)})),e),syncDelay:2e3,aliasSyncEnabled:!0},o.isUserIdModuleEnabled()&&(t.userSync.userIds=c.getUserIdConfiguration())},e.assignGdprConfigIfRequired=function(t){if(o.getGdpr()){t.consentManagement||(t.consentManagement={}),t.consentManagement.gdpr={cmpApi:o.getCmpApi(),timeout:o.getGdprTimeout(),allowAuctionWithoutConsent:o.getAwc(),defaultGdprScope:!0};var e=p.getGdprActionTimeout();e&&(c.log("GDPR IS ENABLED, TIMEOUT: "+t.consentManagement.gdpr.timeout+", ACTION TIMEOUT: "+e),t.consentManagement.gdpr.actionTimeout=e)}},e.assignCcpaConfigIfRequired=function(t){o.getCCPA()&&(t.consentManagement||(t.consentManagement={}),t.consentManagement.usp={cmpApi:o.getCCPACmpApi(),timeout:o.getCCPATimeout()})},e.assignCurrencyConfigIfRequired=function(t){o.getAdServerCurrency()&&(c.log(l.MESSAGES.M26+o.getAdServerCurrency()),t.currency={adServerCurrency:o.getAdServerCurrency(),granularityMultiplier:o.getGranularityMultiplier()})},e.assignSchainConfigIfRequired=function(t){o.isSchainEnabled()&&(t.schain=o.getSchainObject())},e.configureBidderAliasesIfAvailable=function(){c.isFunction(window[I].aliasBidder)?o.forEachBidderAlias((function(t){window[I].aliasBidder(h.alias[t],t)})):c.logWarning("PreBid js aliasBidder method is not available")},e.enablePrebidPubMaticAnalyticIfRequired=function(){b&&c.isFunction(window[I].enableAnalytics)&&window[I].enableAnalytics({provider:"pubmatic",options:{publisherId:o.getPublisherId(),profileId:o.getProfileID(),profileVersionId:o.getProfileDisplayVersionID(),identityOnly:o.isUserIdModuleEnabled()?1:0}})},e.throttleAdapter=function(t,e){return!(t>=o.getAdapterThrottle(e))},e.generateAdUnitsArray=function(t,e){var a={},i=c.getRandomNumberBelow100();o.forEachAdapter((function(n,r){n!==g.parentAdapterID&&(1==o.usePBSAdapter()&&o.isServerSideAdapter(n)?0==g.throttleAdapter(i,n)?g.generateConfig(n,r,t,a,e):c.log(n+l.MESSAGES.M2):o.isServerSideAdapter(n)||0==g.throttleAdapter(i,n)?g.generateConfig(n,r,t,a,e):c.log(n+l.MESSAGES.M2))}));var n=[];for(var r in a)c.isOwnProperty(a,r)&&n.push(a[r]);return n},e.generateConfig=function(t,e,a,i,n){c.forEachOnObject(a,(function(e,a){s.setCallInitTime(a.getDivID(),t)})),g.generatePbConf(t,e,a,i,n)},e.addOnBidResponseHandler=function(){c.isFunction(window[I].onEvent)?m||(window[I].onEvent("bidResponse",g.pbBidStreamHandler),m=!0):c.logWarning("PreBid js onEvent method is not available")},e.addOnAuctionEndHandler=function(){c.isFunction(window[I].onEvent)?f||(window[I].onEvent("auctionEnd",g.pbAuctionEndHandler),f=!0):c.logWarning("PreBid js onEvent method is not available")},e.addOnBidRequestHandler=function(){c.isFunction(window[I].onEvent)?window[I].onEvent("bidRequested",g.pbBidRequestHandler):c.logWarning("PreBid js onEvent method is not available")},e.setPrebidConfig=function(){if(c.isFunction(window[I].setConfig)||"function"==typeof window[I].setConfig){var t={debug:c.isDebugLogEnabled(),cache:{url:l.CONFIG.CACHE_URL+l.CONFIG.CACHE_PATH,ignoreBidderCacheKey:!0},bidderSequence:"random",disableAjaxTimeout:o.getDisableAjaxTimeout(),enableSendAllBids:o.getSendAllBidsStatus(),targetingControls:{alwaysIncludeDeals:!0},testGroupId:parseInt(window.PWT.testGroupId||0)};o.getPriceGranularity()&&(t.priceGranularity=o.getPriceGranularity()),!0===b&&(t.instreamTracking={enabled:!0}),window.PWT.ssoEnabled=o.isSSOEnabled()||!1,g.getFloorsConfiguration(t),g.assignUserSyncConfig(t),g.assignGdprConfigIfRequired(t),g.assignCcpaConfigIfRequired(t),g.assignCurrencyConfigIfRequired(t),g.assignSchainConfigIfRequired(t),g.assignSingleRequestConfigForBidders(t),g.assignPackagingInventoryConfig(t),o.usePBSAdapter()&&g.gets2sConfig(t),g.checkForYahooSSPBidder(t),c.handleHook(l.HOOKS.PREBID_SET_CONFIG,[t]),window[I].setConfig(t)}else c.logWarning("PreBidJS setConfig method is not available")},e.realignPubmaticAdapters=function(){if(h.adapters&&h.adapters.pubmatic){var t={pubmatic:h.adapters.pubmatic};h.adapters=Object.assign(t,h.adapters)}},e.gets2sConfig=function(t){var e={},a=o.getServerEnabledAdaptars();for(var i in h.alias)S[i]=h.alias[i];var n=o.getPubMaticAndAlias(a);n.length&&n.forEach((function(t){e[t]={}})),t.s2sConfig={accountId:o.getPublisherId(),adapter:l.PBSPARAMS.adapter,enabled:!0,bidders:a,endpoint:l.PBSPARAMS.endpoint,syncEndpoint:l.PBSPARAMS.syncEndpoint,timeout:o.getTimeoutForPBSRequest(),secure:1,extPrebid:{aliases:S,bidderparams:e,targeting:{pricegranularity:o.getPriceGranularity()},isPrebidPubMaticAnalyticsEnabled:o.isPrebidPubMaticAnalyticsEnabled(),isUsePrebidKeysEnabled:o.isUsePrebidKeysEnabled(),macros:o.createMacros()}},o.getMarketplaceBidders()&&(t.s2sConfig.allowUnknownBidderCodes=!0,t.s2sConfig.extPrebid.alternatebiddercodes={enabled:!0,bidders:{pubmatic:{enabled:!0,allowedbiddercodes:o.getMarketplaceBidders()}}})},e.getFloorsConfiguration=function(t){1==o.isFloorPriceModuleEnabled()&&o.getFloorSource()!==l.COMMON.EXTERNAL_FLOOR_WO_CONFIG&&(t.floors={enforcement:{enforceJS:o.getFloorType()},auctionDelay:o.getFloorAuctionDelay(),endpoint:{url:o.getFloorJsonUrl()},additionalSchemaFields:{browser:c.getBrowserDetails,platform_id:c.getPltForFloor}})},e.checkForYahooSSPBidder=function(t){var e=!1,a=h.adapters.hasOwnProperty(l.YAHOOSSP);if(!a)for(var i in h.alias)o.getAdapterNameForAlias(i)==l.YAHOOSSP&&(e=!0);(a||e)&&(t[l.YAHOOSSP]={mode:"all"})},e.assignPackagingInventoryConfig=function(t){t.viewabilityScoreGeneration={enabled:!0}},e.getPbjsAdServerTargetingConfig=r,e.setPbjsBidderSettingsIfRequired=function(){if(!1!==b){var t=window[I].bidderSettings||{};window[I].bidderSettings={standard:{suppressEmptyKeys:!0,storageAllowed:"1"===h.pwt.localStorageAccess||null}},!1===o.isUsePrebidKeysEnabled()&&(window[I].bidderSettings.standard.adserverTargeting=r()),o.forEachAdapter((function(e){!1===window[I].bidderSettings.hasOwnProperty(e)&&(window[I].bidderSettings[e]={},"pubmatic"===e&&o.getMarketplaceBidders()&&(window[I].bidderSettings[e].allowAlternateBidderCodes=!0,window[I].bidderSettings[e].allowedAlternateBidderCodes=o.getMarketplaceBidders()),window[I].bidderSettings[e].bidCpmAdjustment=function(t){return window.parseFloat((t*o.getAdapterRevShare(e)).toFixed(l.COMMON.BID_PRECISION))},t[e]&&(window[I].bidderSettings[e].storageAllowed=t[e].storageAllowed))})),t.standard&&(window[I].bidderSettings.standard.storageAllowed=t.standard.storageAllowed)}else window[I].bidderSettings={standard:{storageAllowed:"1"===h.pwt.localStorageAccess||null}}},e.pbjsBidsBackHandler=function(t,e){function a(){c.forEachOnArray(e,(function(t,e){s.setAllPossibleBidsReceived(e.getDivID())}))}c.log("In PreBid bidsBackHandler with bidResponses: "),c.log(t),setTimeout(window[I].triggerUserSyncs,10),o.getAdServerCurrency()?setTimeout(a,300):a()},e.initPbjsConfig=function(){window[I]?(window[I].logging=c.isDebugLogEnabled(),g.realignPubmaticAdapters(),g.setPrebidConfig(),g.configureBidderAliasesIfAvailable(),g.enablePrebidPubMaticAnalyticIfRequired(),g.setPbjsBidderSettingsIfRequired(),c.getGeoInfo()):c.logError("PreBid js is not loaded")},e.fetchBids=function(t){var e=c.generateUUID();if(window[I]){c.forEachOnArray(t,(function(t,a){var i=a.getDivID();s.resetBid(i,e),s.setSizes(i,c.generateSlotNamesFromPattern(a,"_W_x_H_"))}));var a=g.generateAdUnitsArray(t,e);if(a.length>0&&window[I])try{if(!c.isFunction(window[I].requestBids)&&"function"!=typeof window[I].requestBids)return void c.log("PreBid js requestBids function is not available");c.handleHook(l.HOOKS.PREBID_REQUEST_BIDS,[a]),!1===b&&(g.addOnBidResponseHandler(),g.addOnBidRequestHandler(),g.addOnAuctionEndHandler()),window[I].removeAdUnit(),window[I].addAdUnits(a),window[I].requestBids({bidsBackHandler:function(e){g.pbjsBidsBackHandler(e,t)},timeout:o.getTimeout()-l.CONFIG.TIMEOUT_ADJUSTMENT})}catch(t){c.logError("Error occured in calling PreBid."),c.logError(t)}}else c.logError("PreBid js is not loaded")},e.getBid=function(t){var e=window[I].getHighestCpmBids([t])[0]||null;e&&(e.adHtml=e.ad,e.adapterID=e.bidder,e.netEcpm=e.cpm,e.grossEcpm=e.originalCpm);var a={wb:e,kvp:window[I].getAdserverTargetingForAdUnitCode([t])||null};return b&&a.kvp.pwtdeal&&delete a.kvp.pwtdeal,a}}),(function(t,e,a){var i=a(3),n=a(0);e.getGdprActionTimeout=function(){var t=i[n.CONFIG.COMMON][n.CONFIG.GDPR_ACTION_TIMEOUT];return t?window.parseInt(t):0}}),(function(t,e,a){var i=a(3),n=a(0);this[n.COMMON.OWVERSION]=i[n.CONFIG.COMMON][n.COMMON.OWVERSION],this[n.COMMON.PBVERSION]=i[n.CONFIG.COMMON][n.COMMON.PBVERSION],e.getGdpr=function(){return"1"===(i[n.CONFIG.COMMON][n.CONFIG.GDPR_CONSENT]||n.CONFIG.DEFAULT_GDPR_CONSENT)},e.getCmpApi=function(){return i[n.CONFIG.COMMON][n.CONFIG.GDPR_CMPAPI]||n.CONFIG.DEFAULT_GDPR_CMPAPI},e.getGdprTimeout=function(){var t=i[n.CONFIG.COMMON][n.CONFIG.GDPR_TIMEOUT];return t?window.parseInt(t):n.CONFIG.DEFAULT_GDPR_TIMEOUT},e.getAwc=function(){return"1"===(i[n.CONFIG.COMMON][n.CONFIG.GDPR_AWC]||n.CONFIG.DEFAULT_GDPR_AWC)},e.isUserIdModuleEnabled=function(){return parseInt(i[n.CONFIG.COMMON][n.COMMON.ENABLE_USER_ID]||n.CONFIG.DEFAULT_USER_ID_MODULE)},e.getIdentityPartners=function(){return i[n.COMMON.IDENTITY_PARTNERS]},e.isIdentityOnly=function(){return parseInt(i[n.CONFIG.COMMON][n.COMMON.IDENTITY_ONLY]||n.CONFIG.DEFAULT_IDENTITY_ONLY)},e.getIdentityConsumers=function(){return(i[n.CONFIG.COMMON][n.COMMON.IDENTITY_CONSUMERS]||"").toLowerCase()},e.getCCPA=function(){return"1"===(i[n.CONFIG.COMMON][n.CONFIG.CCPA_CONSENT]||n.CONFIG.DEFAULT_CCPA_CONSENT)},e.getCCPACmpApi=function(){return i[n.CONFIG.COMMON][n.CONFIG.CCPA_CMPAPI]||n.CONFIG.DEFAULT_CCPA_CMPAPI},e.getCCPATimeout=function(){var t=i[n.CONFIG.COMMON][n.CONFIG.CCPA_TIMEOUT];return t?window.parseInt(t):n.CONFIG.DEFAULT_CCPA_TIMEOUT},e.getProfileID=function(){return i.pwt[n.CONFIG.PROFILE_ID]||"0"},e.getProfileDisplayVersionID=function(){return i.pwt[n.CONFIG.PROFILE_VERSION_ID]||"0"},e.isSSOEnabled=function(){return 1===parseInt(i[n.CONFIG.COMMON][n.CONFIG.SSO_ENABLED])},e.getPublisherId=function(){return i.pwt[n.CONFIG.PUBLISHER_ID]||"0"},e.isPubMaticIHAnalyticsEnabled=function(){var t=parseInt(i[n.CONFIG.COMMON][n.CONFIG.ENABLE_PB_IH_ANALYTICS]);return isNaN(t)?1:t},e.getIHAnalyticsAdapterExpiry=function(){return parseInt(i[n.CONFIG.COMMON][n.COMMON.IH_ANALYTICS_ADAPTER_EXPIRY])||n.COMMON.IH_ANALYTICS_ADAPTER_DEFAULT_EXPIRY},e.PBJS_NAMESPACE=i[n.CONFIG.COMMON][n.COMMON.PBJS_NAMESPACE]||"pbjs"}),(function(t,e,a){var i=a(1),n=a(12),r=a(4),o=a(0),l=a(2),d=a(16),c=a(3),s=(a(6),i.getMetaInfo(window));window.PWT=window.PWT||{},window.PWT.bidMap=window.PWT.bidMap||{},window.PWT.bidIdMap=window.PWT.bidIdMap||{},window.PWT.adUnits=window.PWT.adUnits||{},window.PWT.floorData=window.PWT.floorData||{},window.PWT.isIframe=window.PWT.isIframe||s.isInIframe,window.PWT.protocol=window.PWT.protocol||s.protocol,window.PWT.secure=window.PWT.secure||s.secure,window.PWT.pageURL=window.PWT.pageURL||s.pageURL,window.PWT.refURL=window.PWT.refURL||s.refURL,window.PWT.isSafeFrame=window.PWT.isSafeFrame||!1,window.PWT.safeFrameMessageListenerAdded=window.PWT.safeFrameMessageListenerAdded||!1,window.PWT.isSyncAuction=window.PWT.isSyncAuction||!1,window.PWT.udpv=window.PWT.udpv||i.findQueryParamInURL(s.isIframe?s.refURL:s.pageURL,"pwtv"),i.findQueryParamInURL(s.isIframe?s.refURL:s.pageURL,"pwtc")&&i.enableDebugLog(),i.findQueryParamInURL(s.isIframe?s.refURL:s.pageURL,"pwtvc")&&i.enableVisualDebugLog();var h=l.isPrebidPubMaticAnalyticsEnabled();window.PWT.displayCreative=function(t,e){i.log("In displayCreative for: "+e),h?window[o.COMMON.PREBID_NAMESPACE].renderAd(t,e):r.displayCreative(t,e)},window.PWT.displayPMPCreative=function(t,e,a){i.log("In displayPMPCreative for: "+e);var n=i.getBididForPMP(e,a);n&&(h?window[o.COMMON.PREBID_NAMESPACE].renderAd(t,n):r.displayCreative(t,n))},window.PWT.sfDisplayCreative=function(t,e){i.log("In sfDisplayCreative for: "+e),d=window.ucTag||{},this.isSafeFrame=!0,d=window.ucTag||{},h?d.renderAd(t,{adId:e,pubUrl:document.referrer}):window.parent.postMessage(JSON.stringify({pwt_type:"1",pwt_bidID:e,pwt_origin:o.COMMON.PROTOCOL+window.location.hostname}),"*")},window.PWT.sfDisplayPMPCreative=function(t,e,a){i.log("In sfDisplayPMPCreative for: "+e),this.isSafeFrame=!0;var n=i.getBididForPMP(e,a);n&&(l.isPrebidPubMaticAnalyticsEnabled()?d.renderAd(t,{adId:n,pubUrl:document.referrer}):window.parent.postMessage(JSON.stringify({pwt_type:"1",pwt_bidID:n,pwt_origin:o.COMMON.PROTOCOL+window.location.hostname}),"*"))},window.PWT.initNativeTrackers=function(t,e){i.log("In startTrackers for: "+e),i.addEventListenerForClass(window,"click",o.COMMON.OW_CLICK_NATIVE,r.loadTrackers),r.executeTracker(e)},window.PWT.getUserIds=function(){return i.getUserIds()},window.OWT={notifyCount:0,externalBidderStatuses:{}},window.OWT.registerExternalBidders=function(t){return window.OWT.notifyCount++,i.forEachOnArray(t,(function(t,e){i.log("registerExternalBidders: "+e),window.OWT.externalBidderStatuses[e]={id:window.OWT.notifyCount,status:!1}})),window.OWT.notifyCount},window.OWT.notifyExternalBiddingComplete=function(t){i.forEachOnObject(window.OWT.externalBidderStatuses,(function(e,a){a&&a.id===t&&(i.log("notify externalBidding complete: "+e),window.OWT.externalBidderStatuses[e]={id:a.id,status:!0})}))},window.PWT.UpdateVastWithTracker=function(t,e){return i.UpdateVastWithTracker(t,e)},window.PWT.generateDFPURL=function(t,e){t&&i.isObject(t)||i.logError("An AdUnit should be an Object",t),t.bidData&&t.bidData.wb&&t.bidData.kvp?(t.bid=t.bidData.wb,t.bid.adserverTargeting=t.bidData.kvp):i.logWarning("No bid found for given adUnit");var a={adUnit:t,params:{iu:t.adUnitId,cust_params:e,output:"vast"}};return t.bid&&(a.bid=t.bid),window.owpbjs.adServers.dfp.buildVideoUrl(a)},window.PWT.getCustomParamsForDFPVideo=function(t,e){return i.getCustomParamsForDFPVideo(t,e)},window.PWT.setAuctionTimeout=function(t){isNaN(t)||(i.log("updating aution timeout from: "+c.pwt.t+" to: "+t),c.pwt.t=t)},window.PWT.versionDetails=i.getOWConfig(),window.PWT.getAdapterNameForAlias=l.getAdapterNameForAlias,window.PWT.browserMapping=r.getBrowser(),n.init(window)}),(function(t,e,a){function i(t){this.name=t,this.sizes=[],this.adapters={},this.creationTime=r.getCurrentTimestampInMs(),this.impressionID="",this.analyticsEnabled=!1,this.expired=!1,this.allPossibleBidsReceived=!1}var n=a(0),r=a(1),o=a(11).AdapterEntry;i.prototype.setExpired=function(){return this.expired=!0,this},i.prototype.getExpiredStatus=function(){return this.expired},i.prototype.setAnalyticEnabled=function(){return this.analyticsEnabled=!0,this},i.prototype.getAnalyticEnabledStatus=function(){return this.analyticsEnabled},i.prototype.setNewBid=function(t,e){r.isOwnProperty(this.adapters,t)||(this.adapters[t]=new o(t)),this.adapters[t].setNewBid(e)},i.prototype.getBid=function(t,e){return r.isOwnProperty(this.adapters,t)?this.adapters[t].getBid(e):void 0},i.prototype.getName=function(){return this.name},i.prototype.getCreationTime=function(){return this.creationTime},i.prototype.setImpressionID=function(t){return this.impressionID=t,this},i.prototype.getImpressionID=function(){return this.impressionID},i.prototype.setSizes=function(t){return this.sizes=t,this},i.prototype.getSizes=function(){return this.sizes},i.prototype.setAdapterEntry=function(t){return r.isOwnProperty(this.adapters,t)||(this.adapters[t]=new o(t),r.log(n.MESSAGES.M4+this.name+" "+t+" "+this.adapters[t].getCallInitiatedTime())),this},i.prototype.getLastBidIDForAdapter=function(t){return r.isOwnProperty(this.adapters,t)?this.adapters[t].getLastBidID():""},i.prototype.setAllPossibleBidsReceived=function(){return this.allPossibleBidsReceived=!0,this},i.prototype.hasAllPossibleBidsReceived=function(){return this.allPossibleBidsReceived},t.exports.BMEntry=i,e.createBMEntry=function(t){return new i(t)}}),(function(t,e,a){function i(t){this.adapterID=t,this.callInitiatedTime=n.getCurrentTimestampInMs(),this.bids={},this.lastBidID=""}var n=a(1);i.prototype.getCallInitiatedTime=function(){return this.callInitiatedTime},i.prototype.getLastBidID=function(){return this.lastBidID},i.prototype.getBid=function(t){return n.isOwnProperty(this.bids,t)?this.bids[t]:null},i.prototype.setNewBid=function(t){delete this.bids[this.lastBidID];var e=t.getBidID();this.bids[e]=t,this.lastBidID=e},t.exports.AdapterEntry=i}),(function(t,e,a){function i(t){return"object"==typeof t&&"function"==typeof t.getSlotId&&"function"==typeof t.getSlotId().getDomId&&(t=t.getSlotId().getDomId()),d.isOwnProperty(x.slotsMap,t)?x.slotsMap[t].getStatus():l.SLOT_STATUS.DISPLAYED}function n(t){var e=[];return d.forEachOnObject(x.slotsMap,(function(a,i){d.isOwnProperty(t,i.getStatus())&&e.push(a)})),e}function r(t,e){var a,i=[];return a=0==t.length||null==t[0]?e.getSlots():t[0],d.forEachOnArray(a,(function(t,e){var a=x.generateSlotName(e);a.length>0&&(i=i.concat(a))})),i}var o=a(2),l=a(0),d=a(1),c=a(4),s=a(13),h=a(6),p=o.isUsePrebidKeysEnabled(),u=o.isPrebidPubMaticAnalyticsEnabled(),I=a(14);e.displayHookIsAdded=!1;var g=!1;e.wrapperTargetingKeys={};var m={};e.slotsMap=m;var f={},b=null,x=this;e.setWindowReference=function(t){d.isObject(t)&&(b=t)},e.getWindowReference=function(){return b},e.getAdUnitIndex=function(t){var e=0;try{var a=t.getSlotId().getId().split("_");e=parseInt(a[a.length-1])}catch(t){}return e},e.getAdSlotSizesArray=function(t,e){var a=[];return d.isFunction(e.getSizes)&&d.forEachOnArray(e.getSizes(window.innerWidth,window.innerHeight),(function(e,i){d.isFunction(i.getWidth)&&d.isFunction(i.getHeight)?a.push([i.getWidth(),i.getHeight()]):(d.logWarning(t+", size object does not have getWidth and getHeight method. Ignoring: "),d.logWarning(i))})),a},e.setDisplayFunctionCalledIfRequired=function(t,e){d.isObject(t)&&d.isFunction(t.getDivID)&&d.isArray(e)&&e[0]&&e[0]==t.getDivID()&&(t.setDisplayFunctionCalled(!0),t.setArguments(e))},e.storeInSlotsMap=function(t,e,a){if(d.isOwnProperty(x.slotsMap,t))a||x.slotsMap[t].setSizes(x.getAdSlotSizesArray(t,e));else{var i=s.createSlot(t);i.setDivID(t),i.setPubAdServerObject(e),i.setAdUnitID(e.getAdUnitPath()),i.setAdUnitIndex(x.getAdUnitIndex(e)),i.setSizes(x.getAdSlotSizesArray(t,e)),i.setStatus(l.SLOT_STATUS.CREATED),d.isObject(JSON)&&d.isFunction(JSON.stringify)&&d.forEachOnArray(e.getTargetingKeys(),(function(t,a){i.setKeyValue(a,e.getTargeting(a))})),x.slotsMap[t]=i,d.createVLogInfoPanel(t,i.getSizes(window.innerWidth,window.innerHeight))}},e.generateSlotName=function(t){if(d.isObject(t)&&d.isFunction(t.getSlotId)){var e=t.getSlotId();if(e&&d.isFunction(e.getDomId))return e.getDomId()}return""},e.updateSlotsMapFromGoogleSlots=function(t,e,a){d.log("Generating slotsMap"),d.forEachOnArray(t,(function(t,i){var n=x.generateSlotName(i);x.storeInSlotsMap(n,i,a),a&&d.isOwnProperty(x.slotsMap,n)&&x.setDisplayFunctionCalledIfRequired(x.slotsMap[n],e)})),window.PWT.adUnits=window.PWT.adUnits||{},Object.keys(x.slotsMap).forEach((function(t){var e=x.slotsMap[t];window.PWT.adUnits[e.divID]={divID:e.divID,adUnitId:e.adUnitID,mediaTypes:d.getAdUnitConfig(e.sizes,e).mediaTypeObject}})),d.log(x.slotsMap)},e.getStatusOfSlotForDivId=i,e.updateStatusAfterRendering=function(t,e){d.isOwnProperty(x.slotsMap,t)&&x.slotsMap[t].updateStatusAfterRendering(e)},e.getSlotNamesByStatus=n,e.removeDMTargetingFromSlot=function(t){var e,a={};d.isOwnProperty(x.slotsMap,t)&&(e=x.slotsMap[t].getPubAdServerObject(),d.forEachOnArray(e.getTargetingKeys(),(function(t,i){a[i]=e.getTargeting(i)})),e.clearTargeting(),d.forEachOnObject(a,(function(t,a){d.isOwnProperty(x.wrapperTargetingKeys,t)||e.setTargeting(t,a)})))},e.updateStatusOfQualifyingSlotsBeforeCallingAdapters=function(t,e,a){d.forEachOnArray(t,(function(t,i){if(d.isOwnProperty(x.slotsMap,i)){var n=x.slotsMap[i];n.setStatus(l.SLOT_STATUS.PARTNERS_CALLED),a&&(x.removeDMTargetingFromSlot(i),n.setRefreshFunctionCalled(!0),n.setArguments(e))}}))},e.arrayOfSelectedSlots=function(t){var e=[];return d.forEachOnArray(t,(function(t,a){e.push(x.slotsMap[a])})),e},e.defineWrapperTargetingKeys=function(t){var e={};return d.forEachOnObject(t,(function(t,a){e[a]=""})),e},e.findWinningBidAndApplyTargeting=function(t){var e,a=(e=u?h.getBid(t):c.getBid(t)).wb||null,i=e.kvp||{},n=x.slotsMap[t].getPubAdServerObject(),r=p?{}:l.IGNORE_PREBID_KEYS;d.log("DIV: "+t+" winningBid: "),d.log(a),!1===u&&a&&a.getNetEcpm()>0&&(x.slotsMap[t].setStatus(l.SLOT_STATUS.TARGETING_ADDED),c.setStandardKeys(a,i)),d.handleHook(l.HOOKS.POST_AUCTION_KEY_VALUES,[i,n]),d.forEachOnObject(i,(function(t,e){!o.getSendAllBidsStatus()&&a&&"pubmatic"!==a.adapterID&&d.isOwnProperty({hb_buyid_pubmatic:1,pwtbuyid_pubmatic:1},t)?delete i[t]:d.isOwnProperty(r,t)||d.isOwnProperty({pwtpb:1},t)||(n.setTargeting(t,e),x.defineWrapperTargetingKey(t))}))},e.defineWrapperTargetingKey=function(t){d.isObject(x.wrapperTargetingKeys)||(x.wrapperTargetingKeys={}),x.wrapperTargetingKeys[t]=""},e.newDisableInitialLoadFunction=function(t,e){return d.isObject(t)&&d.isFunction(e)?function(){return g=!0,d.log("Disable Initial Load is called"),o.isIdentityOnly()?(d.log(l.MESSAGES.IDENTITY.M5," DisableInitial Load function"),e.apply(t,arguments)):e.apply(t,arguments)}:(d.logError("disableInitialLoad: originalFunction is not a function"),null)},e.newEnableSingleRequestFunction=function(t,e){return d.isObject(t)&&d.isFunction(e)?function(){return d.log("enableSingleRequest is called"),e.apply(t,arguments)}:(d.log("enableSingleRequest: originalFunction is not a function"),null)},e.newSetTargetingFunction=function(t,e){return d.isObject(t)&&d.isFunction(e)?o.isIdentityOnly()?(d.log(l.MESSAGES.IDENTITY.M5," Original Set Targeting function"),function(){return e.apply(t,arguments)}):function(){var a=arguments,i=a[0]?a[0]:null;return null!=i&&(d.isOwnProperty(f,i)||(f[i]=[]),f[i]=f[i].concat(a[1])),e.apply(t,arguments)}:(d.log("setTargeting: originalFunction is not a function"),null)},e.newDestroySlotsFunction=function(t,e){return d.isObject(t)&&d.isFunction(e)?function(){var a=arguments[0]||window.googletag.pubads().getSlots();return d.forEachOnArray(a,(function(t,e){delete m[x.generateSlotName(e)]})),e.apply(t,arguments)}:(d.log("destroySlots: originalFunction is not a function"),null)},e.newAddAdUnitFunction=function(t,e){return d.isObject(t)&&d.isFunction(e)?function(){var a=arguments[0];return d.updateAdUnits(a),e.apply(t,arguments)}:(d.log("newAddAunitfunction: originalFunction is not a function"),null)},e.updateStatusAndCallOriginalFunction_Display=function(t,e,a,i){d.log(t),d.log(i),x.updateStatusAfterRendering(i[0],!1),a.apply(e,i)},e.findWinningBidIfRequired_Display=function(t,e){var a=e.getStatus();a!=l.SLOT_STATUS.DISPLAYED&&a!=l.SLOT_STATUS.TARGETING_ADDED&&x.findWinningBidAndApplyTargeting(t)},e.processDisplayCalledSlot=function(t,e,a){x.getStatusOfSlotForDivId(a[0])!=l.SLOT_STATUS.DISPLAYED?x.updateStatusAndCallOriginalFunction_Display("Calling original display function after timeout with arguments, ",t,e,a):d.log("AdSlot already rendered")},e.executeDisplay=function(t,e,a){var i=0,n=window.setInterval((function(){(d.getExternalBidderStatus(e)&&c.getAllPartnersBidStatuses(window.PWT.bidMap,e)||i>=t)&&(window.clearInterval(n),d.resetExternalBidderStatus(e),a()),i+=10}),10)},e.displayFunctionStatusHandler=function(t,e,a,i){switch(t){case l.SLOT_STATUS.CREATED:case l.SLOT_STATUS.PARTNERS_CALLED:x.executeDisplay(o.getTimeout(),Object.keys(x.slotsMap),(function(){d.forEachOnObject(x.slotsMap,(function(t,e){x.findWinningBidIfRequired_Display(t,e)})),x.processDisplayCalledSlot(e,a,i)}));break;case l.SLOT_STATUS.TARGETING_ADDED:x.updateStatusAndCallOriginalFunction_Display("As DM processing is already done, Calling original display function with arguments",e,a,i);break;case l.SLOT_STATUS.DISPLAYED:x.updateStatusAndCallOriginalFunction_Display("As slot is already displayed, Calling original display function with arguments",e,a,i)}},e.forQualifyingSlotNamesCallAdapters=function(t,e,a){if(t.length>0){x.updateStatusOfQualifyingSlotsBeforeCallingAdapters(t,e,a);var i=x.arrayOfSelectedSlots(t);h.fetchBids(i)}},e.newDisplayFunction=function(t,e){return d.isObject(t)&&d.isFunction(e)?o.isIdentityOnly()?(d.log(l.MESSAGES.IDENTITY.M5," Original Display function"),function(){return e.apply(t,arguments)}):function(){if(d.log("In display function, with arguments: "),d.log(arguments),g)return d.log("DisableInitialLoad was called, Nothing to do"),e.apply(t,arguments);x.updateSlotsMapFromGoogleSlots(t.pubads().getSlots(),arguments,!0),x.displayFunctionStatusHandler(i(arguments[0]),t,e,arguments);var a={};a[l.SLOT_STATUS.CREATED]="",x.forQualifyingSlotNamesCallAdapters(n(a),arguments,!1);var r=arguments[0];setTimeout((function(){d.realignVLogInfoPanel(r),c.executeAnalyticsPixel()}),2e3+o.getTimeout())}:(d.log("display: originalFunction is not a function"),null)},e.newAddHookOnGoogletagDisplay=function(t){x.displayHookIsAdded||(x.displayHookIsAdded=!0,d.log("Adding hook on googletag.display."),d.addHookOnFunction(t,!1,"display",this.newDisplayFunction))},e.findWinningBidIfRequired_Refresh=function(t,e,a){return d.isOwnProperty(x.slotsMap,t)&&!0===x.slotsMap[t].isRefreshFunctionCalled()&&x.slotsMap[t].getStatus()!==l.SLOT_STATUS.DISPLAYED?(x.findWinningBidAndApplyTargeting(e),x.updateStatusAfterRendering(e,!0),!0):a},e.postRederingChores=function(t,e){d.createVLogInfoPanel(t,x.slotsMap[e].getSizes(window.innerWidth,window.innerHeight)),d.realignVLogInfoPanel(t),c.executeAnalyticsPixel()},e.postTimeoutRefreshExecution=function(t,e,a,i){d.log("Executing post timeout events, arguments: "),d.log(i);var n=!1;d.forEachOnArray(t,(function(t,e){var a=x.slotsMap[e].getDivID();n=x.findWinningBidIfRequired_Refresh(e,a,n),window.setTimeout((function(){x.postRederingChores(a,e)}),2e3)})),this.callOriginalRefeshFunction(n,e,a,i)},e.callOriginalRefeshFunction=function(t,e,a,i){!0===t?(d.log("Calling original refresh function post timeout"),a.apply(e,i)):d.log("AdSlot already rendered")},e.getQualifyingSlotNamesForRefresh=r,e.newRefreshFuncton=function(t,e){return d.isObject(t)&&d.isFunction(e)?o.isIdentityOnly()?(d.log("Identity Only Enabled. No Process Need. Calling Original Display function"),function(){return e.apply(t,arguments)}):function(){d.log("In Refresh function"),x.updateSlotsMapFromGoogleSlots(t.getSlots(),arguments,!1);var a=r(arguments,t);x.forQualifyingSlotNamesCallAdapters(a,arguments,!0),d.log("Intiating Call to original refresh function with Timeout: "+o.getTimeout()+" ms");var i=arguments;x.executeDisplay(o.getTimeout(),a,(function(){x.postTimeoutRefreshExecution(a,t,e,i)}))}:(d.log("refresh: originalFunction is not a function"),null)},e.addHooks=function(t){if(d.isObject(t)&&d.isObject(t.googletag)&&d.isFunction(t.googletag.pubads)){var e=t.googletag,a=e.pubads();return!!d.isObject(a)&&(d.addHookOnFunction(a,!1,"disableInitialLoad",x.newDisableInitialLoadFunction),d.addHookOnFunction(a,!1,"enableSingleRequest",x.newEnableSingleRequestFunction),x.newAddHookOnGoogletagDisplay(e),d.addHookOnFunction(a,!1,"refresh",x.newRefreshFuncton),d.addHookOnFunction(a,!1,"setTargeting",x.newSetTargetingFunction),d.addHookOnFunction(e,!1,"destroySlots",x.newDestroySlotsFunction),!0)}return!1},e.defineGPTVariables=function(t){return!!d.isObject(t)&&(t.googletag=t.googletag||{},t.googletag.cmd=t.googletag.cmd||[],!0)},e.addHooksIfPossible=function(t){if(o.isIdentityOnly())return!1;if(d.isObject(t.googletag)&&!t.googletag.apiReady&&d.isArray(t.googletag.cmd)&&d.isFunction(t.googletag.cmd.unshift)){d.log("Succeeded to load before GPT");var e=this;return t.googletag.cmd.unshift((function(){d.log("OpenWrap initialization started"),e.addHooks(t),d.log("OpenWrap initialization completed")})),!0}return d.logError("Failed to load before GPT"),!1},e.initSafeFrameListener=function(t){t.PWT.safeFrameMessageListenerAdded||(d.addMessageEventListenerForSafeFrame(t),t.PWT.safeFrameMessageListenerAdded=!0)},e.init=function(t){return o.initConfig(),!!d.isObject(t)&&(x.setWindowReference(t),x.initSafeFrameListener(t),h.initPbjsConfig(),x.wrapperTargetingKeys=x.defineWrapperTargetingKeys(l.WRAPPER_TARGETING_KEYS),x.defineGPTVariables(t),x.addHooksIfPossible(t),I.initIdHub(t),!0)}}),(function(t,e,a){function i(t){this.name=t,this.status=n.SLOT_STATUS.CREATED,this.divID="",this.adUnitID="",this.adUnitIndex=0,this.sizes=[],this.keyValues={},this.arguments=[],this.pubAdServerObject=null,this.displayFunctionCalled=!1,this.refreshFunctionCalled=!1}var n=a(0);i.prototype.getName=function(){return this.name},i.prototype.setStatus=function(t){return this.status=t,this},i.prototype.getStatus=function(){return this.status},i.prototype.setDivID=function(t){return this.divID=t,this},i.prototype.getDivID=function(){return this.divID},i.prototype.setAdUnitID=function(t){return this.adUnitID=t,this},i.prototype.getAdUnitID=function(){return this.adUnitID},i.prototype.setAdUnitIndex=function(t){return this.adUnitIndex=t,this},i.prototype.getAdUnitIndex=function(){return this.adUnitIndex},i.prototype.setSizes=function(t){return this.sizes=t,this},i.prototype.getSizes=function(){return this.sizes},i.prototype.setKeyValue=function(t,e){return this.keyValues[t]=e,this},i.prototype.setKeyValues=function(t){return this.keyValues=t,this},i.prototype.getkeyValues=function(){return this.keyValues},i.prototype.setArguments=function(t){return this.arguments=t,this},i.prototype.getArguments=function(){return this.arguments},i.prototype.setPubAdServerObject=function(t){return this.pubAdServerObject=t,this},i.prototype.getPubAdServerObject=function(){return this.pubAdServerObject},i.prototype.setDisplayFunctionCalled=function(t){return this.displayFunctionCalled=t,this},i.prototype.isDisplayFunctionCalled=function(){return this.displayFunctionCalled},i.prototype.setRefreshFunctionCalled=function(t){return this.refreshFunctionCalled=t,this},i.prototype.isRefreshFunctionCalled=function(){return this.refreshFunctionCalled},i.prototype.updateStatusAfterRendering=function(t){this.status=n.SLOT_STATUS.DISPLAYED,this.arguments=[],t?this.refreshFunctionCalled=!1:this.displayFunctionCalled=!1},t.exports.Slot=i,e.createSlot=function(t){return new i(t)}}),(function(t,e,a){var i=a(8),n=a(0),r=a(15),o=a(7),l=this,d=i.isIdentityOnly()?n.COMMON.IH_NAMESPACE:n.COMMON.PREBID_NAMESPACE,c=i.isPubMaticIHAnalyticsEnabled();l.enablePubMaticIdentityAnalyticsIfRequired=function(){window.IHPWT.ihAnalyticsAdapterExpiry=i.getIHAnalyticsAdapterExpiry(),c&&r.isFunction(window[d].enableAnalytics)&&window[d].enableAnalytics({provider:"pubmaticIH",options:{publisherId:i.getPublisherId(),profileId:i.getProfileID(),profileVersionId:i.getProfileDisplayVersionID(),identityOnly:i.isUserIdModuleEnabled()?i.isIdentityOnly()?2:1:0,domain:r.getDomainFromURL()}})},l.setConfig=function(){if(r.isFunction(window[d].setConfig)||"function"==typeof window[d].setConfig){if(i.isIdentityOnly()){var t={debug:r.isDebugLogEnabled(),userSync:{syncDelay:2e3,auctionDelay:1}};if(i.getGdpr()){t.consentManagement||(t.consentManagement={}),t.consentManagement.gdpr={cmpApi:i.getCmpApi(),timeout:i.getGdprTimeout(),allowAuctionWithoutConsent:i.getAwc(),defaultGdprScope:!0};var e=o.getGdprActionTimeout();e&&(r.log("GDPR IS ENABLED, TIMEOUT: "+t.consentManagement.gdpr.timeout+", ACTION TIMEOUT: "+e),t.consentManagement.gdpr.actionTimeout=e)}i.getCCPA()&&(t.consentManagement||(t.consentManagement={}),t.consentManagement.usp={cmpApi:i.getCCPACmpApi(),timeout:i.getCCPATimeout()}),window.IHPWT.ssoEnabled=i.isSSOEnabled()||!1,i.isUserIdModuleEnabled()&&(t.userSync.userIds=r.getUserIdConfiguration()),r.handleHook(n.HOOKS.PREBID_SET_CONFIG,[t]),window[d].setConfig(t)}i.isUserIdModuleEnabled()&&i.isIdentityOnly()&&l.enablePubMaticIdentityAnalyticsIfRequired(),r.isFunction(window[d].firePubMaticIHLoggerCall)&&window[d].firePubMaticIHLoggerCall(),window[d].requestBids([])}},e.initIdHub=function(t){i.isUserIdModuleEnabled()&&(l.setConfig(),i.isIdentityOnly()&&(i.getIdentityConsumers().indexOf(n.COMMON.PREBID)>-1&&!r.isUndefined(t[i.PBJS_NAMESPACE])&&!r.isUndefined(t[i.PBJS_NAMESPACE].que)?(t[i.PBJS_NAMESPACE].que.unshift((function(){var e=t[i.PBJS_NAMESPACE].version.split(".");if(3===e.length&&(+e[0].split("v")[1]>3||"v3"===e[0]&&+e[1]>=3))r.log("Adding On Event "+t[i.PBJS_NAMESPACE]+".addAddUnits()"),t[i.PBJS_NAMESPACE].onEvent("addAdUnits",(function(){r.updateAdUnits(t[i.PBJS_NAMESPACE].adUnits)})),t[i.PBJS_NAMESPACE].onEvent("beforeRequestBids",(function(t){r.updateAdUnits(t)}));else{r.log("Adding Hook on"+t[i.PBJS_NAMESPACE]+".addAddUnits()");var a=t[i.PBJS_NAMESPACE];r.addHookOnFunction(a,!1,"addAdUnits",l.newAddAdUnitFunction)}})),r.log("Identity Only Enabled and setting config")):r.logWarning("window.pbjs is undefined")))},e.init=function(t){return!!r.isObject(t)&&(l.initIdHub(t),!0)}}),(function(t,e,a){var i=a(8),n=a(0);e.debugLogIsEnabled=!1;var r=Object.prototype.toString,o=this,l=i.isIdentityOnly()?n.COMMON.IH_NAMESPACE:n.COMMON.PREBID_NAMESPACE;o.idsAppendedToAdUnits=!1,e.isA=function(t,e){return r.call(t)==="[object "+e+"]"},e.isFunction=function(t){return o.isA(t,"Function")},e.isString=function(t){return o.isA(t,"String")},e.isArray=function(t){return o.isA(t,"Array")},e.isNumber=function(t){return o.isA(t,"Number")},e.isObject=function(t){return"object"==typeof t&&null!==t},e.isOwnProperty=function(t,e){return!(!o.isObject(t)||!t.hasOwnProperty)&&Object.prototype.hasOwnProperty.call(t,e)},e.isUndefined=function(t){return void 0===t},e.enableDebugLog=function(){o.debugLogIsEnabled=!0},e.isDebugLogEnabled=function(){return o.debugLogIsEnabled},e.enableVisualDebugLog=function(){o.debugLogIsEnabled=!0,o.visualDebugLogIsEnabled=!0},e.isEmptyObject=function(t){return o.isObject(t)&&0===Object.keys(t).length},e.log=function(t){o.debugLogIsEnabled&&console&&this.isFunction(console.log)&&(this.isString(t)?console.log((new Date).getTime()+" : [OpenWrap] : "+t):console.log(t))},e.logError=function(t){o.debugLogIsEnabled&&console&&this.isFunction(console.log)&&(this.isString(t)?console.error((new Date).getTime()+" : [OpenWrap] : "+t):console.error(t))},e.logWarning=function(t){o.debugLogIsEnabled&&console&&this.isFunction(console.log)&&(this.isString(t)?console.warn((new Date).getTime()+" : [OpenWrap] : "+t):console.warn(t))},e.error=function(t){console.log((new Date).getTime()+" : [OpenWrap] : [Error]",t)},e.forEachOnObject=function(t,e){if(o.isObject(t)&&o.isFunction(e))for(var a in t)o.isOwnProperty(t,a)&&e(a,t[a])},e.getTopFrameOfSameDomain=function(t){try{if(t.parent.document!=t.document)return o.getTopFrameOfSameDomain(t.parent)}catch(t){}return t},e.metaInfo={},e.getMetaInfo=function(t){var e,a={};a.pageURL="",a.refURL="",a.protocol="https://",a.secure=1,a.isInIframe=o.isIframe(t);try{e=o.getTopFrameOfSameDomain(t),a.refURL=(e.refurl||e.document.referrer||"").substr(0,512),a.pageURL=(e!==window.top&&""!=e.document.referrer?e.document.referrer:e.location.href).substr(0,512),a.protocol=(function(t){return"http:"===t.location.protocol?(a.secure=0,"http://"):(a.secure=1,"https://")})(e)}catch(t){}return a.pageDomain=o.getDomainFromURL(a.pageURL),o.metaInfo=a,a},e.isIframe=function(t){try{return t.self!==t.top}catch(t){return!1}},e.findQueryParamInURL=function(t,e){return o.isOwnProperty(o.parseQueryParams(t),e)},e.parseQueryParams=function(t){var e=o.createDocElement(window,"a");e.href=t;var a={};if(e.search){var i=e.search.replace("?","");i=i.split("&"),o.forEachOnArray(i,(function(t,e){var i=(e=e.split("="))[0]||"",n=e[1]||"";a[i]=n}))}return a},e.createDocElement=function(t,e){return t.document.createElement(e)},e.addHookOnFunction=function(t,e,a,i){var n=t;if(t=e?t.__proto__:t,o.isObject(t)&&o.isFunction(t[a])){var r=t[a];t[a]=i(n,r)}else o.logWarning("in assignNewDefination: oldReference is not a function")},e.getUserIdConfiguration=function(){var t=[];return window[l].onSSOLogin({}),o.forEachOnObject(i.getIdentityPartners(),(function(e,a){n.EXCLUDE_PARTNER_LIST.includes(e)||t.push(o.getUserIdParams(a))})),o.log(n.MESSAGES.IDENTITY.M4+JSON.stringify(t)),t},e.deleteCustomParams=function(t){return delete t.custom,t},e.getUserIdParams=function(t){var e={};for(var a in o.applyDataTypeChangesIfApplicable(t),o.applyCustomParamValuesfApplicable(t),t)try{-1==n.EXCLUDE_IDENTITY_PARAMS.indexOf(a)&&(n.TOLOWERCASE_IDENTITY_PARAMS.indexOf(a)>-1&&(t[a]=t[a].toLowerCase()),n.JSON_VALUE_KEYS.indexOf(a)>-1&&(t[a]=JSON.parse(t[a])),e=o.getNestedObjectFromString(e,".",a,t[a]))}catch(t){o.logWarning(n.MESSAGES.IDENTITY.M3,t)}return e&&e.params&&"true"==e.params.loadATS&&o.initLiveRampAts(e),e&&e.params&&"true"==e.params.loadIDP&&o.initZeoTapJs(e),e&&e.params&&"true"==e.params.loadLauncher&&o.initLauncherJs(e),e&&e.custom&&"true"==e.custom.loadLaunchPad&&o.initLiveRampLaunchPad(e),o.deleteCustomParams(e)},e.getUserIds=function(){return o.isFunction(window[l].getUserIds)?window[l].getUserIds():(o.logWarning("getUserIds"+n.MESSAGES.IDENTITY.M6),void 0)},e.getDomainFromURL=function(t){var e=window.document.createElement("a");return e.href=t,e.hostname},e.handleHook=function(t,e){o.isFunction(window.IHPWT[t])&&(o.log("For Hook-name: "+t+", calling window.IHPWT."+t+"function."),window.IHPWT[t].apply(window.IHPWT,e))},e.forEachOnArray=function(t,e){if(o.isArray(t)&&o.isFunction(e))for(var a=0,i=t.length;i>a;a++)e(a,t[a])},e.getUserIdsAsEids=function(){return o.isFunction(window[l].getUserIdsAsEids)?window[l].getUserIdsAsEids():(o.logWarning("getUserIdsAsEids"+n.MESSAGES.IDENTITY.M6),void 0)},e.getNestedObjectFromArray=function(t,e,a){for(var i=t,n=i,r=0;r<e.length-1;r++)n[e[r]]||(n[e[r]]={}),n=n[e[r]];return n[e[e.length-1]]=a,i},e.getNestedObjectFromString=function(t,e,a,i){var n=a.split(e);return 1==n.length?t[a]=i:t=o.getNestedObjectFromArray(t,n,i),t},e.getLiverampParams=function(t){t.params.cssSelectors&&t.params.cssSelectors.length>0&&(t.params.cssSelectors=t.params.cssSelectors.split(","));var e=window[l].getUserIdentities()||{},a=i.isSSOEnabled()||!1,n=t.params.detectionMechanism,r="true"===t.params.enableCustomId,d={placementID:t.params.pid,storageType:t.params.storageType,logging:t.params.logging};switch(r&&(d.accountID=t.params.accountID,d.customerIDRegex=t.params.customerIDRegex,d.detectionSubject="customerIdentifier"),n){case void 0:case"detect":d.detectionType=t.params.detectionType,d.urlParameter=t.params.urlParameter,d.cssSelectors=t.params.cssSelectors,d.detectDynamicNodes=t.params.detectDynamicNodes,d.detectionEventType=t.params.detectionEventType,t.params.triggerElements&&t.params.triggerElements.length>0&&(t.params.triggerElements=t.params.triggerElements.split(","),d.triggerElements=t.params.triggerElements);break;case"direct":if(d.emailHashes=void 0,window.IHPWT&&window.IHPWT.OVERRIDES_SCRIPT_BASED_MODULES&&window.IHPWT.OVERRIDES_SCRIPT_BASED_MODULES.includes("identityLink")||void 0===window.IHPWT.OVERRIDES_SCRIPT_BASED_MODULES){var c=a&&e.emailHash?e.emailHash:e.pubProvidedEmailHash?e.pubProvidedEmailHash:void 0;d.emailHashes=c&&[c.MD5,c.SHA1,c.SHA256]||void 0}r&&o.isFunction(window[l].getUserIdentities)&&void 0!==window[l].getUserIdentities()&&(d.customerID=window[l].getUserIdentities().customerID||void 0)}return d},e.initLiveRampAts=function(t){function e(){var e=document.createElement("script"),a=o.getLiverampParams(t);e.onload=function(){window.ats&&window.ats.start(a)},e.src="https://ats.rlcdn.com/ats.js",document.body.appendChild(e)}"complete"==document.readyState?e():window.addEventListener("load",(function(){setTimeout(e,1e3)}))},e.getEmailHashes=function(){var t=window[l].getUserIdentities()||{},e=i.isSSOEnabled()&&t.emailHash?t.emailHash:t.pubProvidedEmailHash?t.pubProvidedEmailHash:void 0,a=[];return o.forEachOnObject(e,(function(t,e){void 0!==e&&a.push(e)})),a.length>0?a:void 0},e.initLiveRampLaunchPad=function(t){var e,a="https://launchpad-wrapper.privacymanager.io/"+t.custom.configurationId+"/launchpad-liveramp.js";(e=document.createElement("script")).onload=function(){__launchpad("addEventListener",1,(function(){if((!ats.outputCurrentConfiguration().DETECTION_MODULE_INFO||ats.outputCurrentConfiguration().ENVELOPE_MODULE_INFO.ENVELOPE_MODULE_CONFIG.startWithExternalId)&&(window.IHPWT&&window.IHPWT.OVERRIDES_SCRIPT_BASED_MODULES&&window.IHPWT.OVERRIDES_SCRIPT_BASED_MODULES.includes("identityLink")||void 0===window.IHPWT.OVERRIDES_SCRIPT_BASED_MODULES)){var t=o.getEmailHashes();t&&window.ats.setAdditionalData({type:"emailHashes",id:t})}}),["atsWrapperLoaded"])},e.src=a,document.body.appendChild(e)},e.initLauncherJs=function(t){function e(){var e=document.createElement("script"),a=o.getPublinkLauncherParams(t);e.onload=function(){window.conversant.getLauncherObject=function(){return a},window.conversant&&window.conversant.launch("publink","start",a)},e.src="https://secure.cdn.fastclick.net/js/cnvr-launcher/latest/launcher-stub.min.js",document.body.appendChild(e)}window.cnvr_launcher_options={lid:t.params.launcher_id},"complete"==document.readyState?e():window.addEventListener("load",(function(){setTimeout(e,1e3)}))},e.getPublinkLauncherParams=function(t){t.params.cssSelectors&&t.params.cssSelectors.length>0&&(t.params.cssSelectors=t.params.cssSelectors.split(","));var e=window[l].getUserIdentities()||{},a=i.isSSOEnabled()||!1,n=t.params.detectionMechanism,r={apiKey:t.params.api_key,siteId:t.params.site_id};switch(n){case void 0:case"detect":r.urlParameter=t.params.urlParameter,r.cssSelectors=t.params.cssSelectors,r.detectionSubject="email";break;case"direct":if(r.emailHashes=void 0,window.IHPWT&&window.IHPWT.OVERRIDES_SCRIPT_BASED_MODULES&&window.IHPWT.OVERRIDES_SCRIPT_BASED_MODULES.includes("publinkId")||void 0===window.IHPWT.OVERRIDES_SCRIPT_BASED_MODULES){var o=a&&e.emailHash?e.emailHash:e.pubProvidedEmailHash?e.pubProvidedEmailHash:void 0;r.emailHashes=o&&[o.MD5,o.SHA256]||void 0}}return r},e.initZeoTapJs=function(t){function e(){var e=document,a=window,n=window[l].getUserIdentities()||{},r=i.isSSOEnabled()||!1,o={};(window.IHPWT&&window.IHPWT.OVERRIDES_SCRIPT_BASED_MODULES&&window.IHPWT.OVERRIDES_SCRIPT_BASED_MODULES.includes("zeotapIdPlus")||void 0===window.IHPWT.OVERRIDES_SCRIPT_BASED_MODULES)&&(o={email:r&&n.emailHash?n.emailHash.SHA256:n.pubProvidedEmailHash?n.pubProvidedEmailHash.SHA256:void 0});var d=e.createElement("script");d.type="text/javascript",d.crossorigin="anonymous",d.async=!0,d.src="https://content.zeotap.com/sdk/idp.min.js",d.onload=function(){},e=e.getElementsByTagName("script")[0];var c={partnerId:t.partnerId,allowIDP:!0,useConsent:i.getCCPA()||i.getGdpr(),checkForCMP:i.getCCPA()||i.getGdpr()};e.parentNode.insertBefore(d,e),(function(t,e){for(var a=0;a<e.length;a++)!(function(e){t[e]=function(){t._q.push([e].concat(Array.prototype.slice.call(arguments,0)))}})(e[a])})(e=a.zeotap||{_q:[],_qcmp:[]},["callMethod"]),a.zeotap=e,a.zeotap.callMethod("init",c),a.zeotap.callMethod("setUserIdentities",o,!0)}"complete"==document.readyState?e():window.addEventListener("load",(function(){setTimeout(e,1e3)}))},e.updateAdUnits=function(t){o.isArray(t)?t.forEach((function(t){t.bids.forEach((function(t){o.updateUserIds(t)}))})):o.isEmptyObject(t)||t.bids.forEach((function(t){o.updateUserIds(t)}))},e.updateUserIds=function(t){if(o.isUndefined(t.userId)?t.userId=o.getUserIds():t.userId&&(t.userId=Object.assign(t.userId,o.getUserIds())),o.isUndefined(t.userIdAsEids))t.userIdAsEids=o.getUserIdsAsEids();else if(o.isArray(t.userIdAsEids)){var e=new Set,a=t.userIdAsEids.concat(o.getUserIdsAsEids());o.isArray(a)&&a.length>0&&(a=a.filter((function(t){if(t.source){if(e.has(t.source))return!1;e.add(t.source)}return!0}))),t.userIdAsEids=a}},e.applyDataTypeChangesIfApplicable=function(t){var e;if(t.name in n.SPECIAL_CASE_ID_PARTNERS)for(partnerName in n.SPECIAL_CASE_ID_PARTNERS)if(partnerName===t.name)for(key in n.SPECIAL_CASE_ID_PARTNERS[partnerName]){var a=t[key];switch(n.SPECIAL_CASE_ID_PARTNERS[partnerName][key]){case"number":a&&"number"!=typeof a&&(e=parseInt(a),isNaN(e)?o.logError(partnerName+": Invalid parameter value '"+a+"' for parameter "+key):t[key]=e);break;case"array":if(a)if("string"==typeof a){var i=a.split(",").map((function(t){return t.trim()}));i.length>0&&(t[key]=i)}else"number"==typeof a&&(t[key]=[a]);break;case"customObject":a&&"params.requestedAttributesOverrides"===key&&(t[key]={uid2:"true"===a||"1"===a});break;default:return}}},e.applyCustomParamValuesfApplicable=function(t){if(t.name in n.ID_PARTNERS_CUSTOM_VALUES)for(var e=n.ID_PARTNERS_CUSTOM_VALUES[t.name],a=0;a<e.length;a++)t[e[a].key]||(t[e[a].key]=e[a].value)},e.getOWConfig=function(){return{openwrap_version:i[n.COMMON.OWVERSION],prebid_version:i[n.COMMON.PBVERSION],profileId:i.getProfileID(),profileVersionId:i.getProfileDisplayVersionID()}},e.deepMerge=function(t,e,a){if(a=a||"source",o.isArray(t)&&o.isArray(e)){var i=[].concat(t);return e.forEach((function(t){var e=!1;i.forEach((function(n,r){n[a]===t[a]&&(i[r]=o.deepMerge(n,t),e=!0)})),e||i.push(t)})),i}if(o.isObject(t)&&o.isObject(e)){var n=Object.assign({},t);return Object.keys(e).forEach((function(t){n[t]=n[t]&&"object"==typeof n[t]&&"object"==typeof e[t]?o.deepMerge(n[t],e[t]):e[t]})),n}return e}}),(function(){!(function(t){function e(i){if(a[i])return a[i].exports;var n=a[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var a={};e.m=t,e.c=a,e.d=function(t,a,i){e.o(t,a)||Object.defineProperty(t,a,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var a=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(a,"a",a),a},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=1)})([(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEmptyIframe=function(t,e){var a=document.createElement("iframe");return a.setAttribute("frameborder",0),a.setAttribute("scrolling","no"),a.setAttribute("marginheight",0),a.setAttribute("marginwidth",0),a.setAttribute("TOPMARGIN",0),a.setAttribute("LEFTMARGIN",0),a.setAttribute("allowtransparency","true"),a.setAttribute("width",e),a.setAttribute("height",t),a},e.insertElement=function(t,e,a){var i;e=e||document,i=a?e.getElementsByTagName(a):e.getElementsByTagName("head");try{(i=i.length?i:e.getElementsByTagName("body")).length&&(i=i[0]).insertBefore(t,i.firstChild)}catch(t){}}}),(function(t,e,a){"use strict";var i=a(2),n=a(5);window.ucTag=window.ucTag||{};var r=n.newEnvironment(window),o=i.newRenderingManager(window,r);window.ucTag.renderAd=o.renderAd}),(function(t,e,a){"use strict";function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}function n(t){if(t&&t.__esModule)return t;var e=i();if(e&&e.has(t))return e.get(t);var a={};if(null!=t){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var o=n?Object.getOwnPropertyDescriptor(t,r):null;o&&(o.get||o.set)?Object.defineProperty(a,r,o):a[r]=t[r]}}return a.default=t,e&&e.set(t,a),a}Object.defineProperty(e,"__esModule",{value:!0}),e.newRenderingManager=function(t,e){function a(a){if(a){var i=a.split("x").map(Number);!(function(a,i){if(e.isSafeFrame()){var n=t.innerWidth,r=t.innerHeight;n===a&&r===i||(t.$sf.ext.register(a,i,(function(){var e=a-n,o=i-r;t.$sf.ext.expand({r:e,b:o,push:!0})})),t.parent.postMessage({sentinel:"amp",type:"embed-size",width:a,height:i},"*"))}})(i[0],i[1])}else console.log("Targeting key hb_size not found to resize creative")}function i(e,i,o,c,s,h){var p=2<arguments.length&&void 0!==o?o:"",u=3<arguments.length?c:void 0,I=4<arguments.length?s:void 0,g=5<arguments.length?h:void 0,m="Prebid_";if(p.substr(0,m.length)===m)!(function(e){var a=t.localStorage.getItem(e);n(!0)(a)})(p),a(u);else{var f="".concat(function(t,e){var a=void 0===e||""===e?d:e;return"https://".concat(void 0===t||""===t?l:t).concat(a)}(e,i),"?uuid=").concat(p);a(u),r.sendRequest(f,n(g,I))}}function n(e,a){return function(i){var n=(function(t){var e;try{e=JSON.parse(t)}catch(t){console.log("Error parsing response from cache host: ".concat(t))}return e})(i),l=n.price||a,d=r.getCreativeCommentMarkup(n),s=n.width?n.width:n.w,h=n.height?n.height:n.h;if(n.wurl&&r.triggerPixel(decodeURIComponent(n.wurl)),n.adm){if(n.adm=l?n.adm.replace("${AUCTION_PRICE}",l):n.adm.replace("${AUCTION_PRICE}",""),d+=e?c(n.adm,s,h):n.adm,n.nurl&&(d+=r.createTrackPixelHtml(decodeURIComponent(n.nurl))),n.burl){var p=function(){r.triggerPixel(n.burl)};e?r.loadScript(t,"mraid.js",(function(){!(function(e){function a(t){t>0&&(mraid.removeEventListener("exposureChange",a),e())}function i(t){t&&(mraid.removeEventListener("viewableChange",i),e())}function n(){t.MRAID_ENV&&3<=parseFloat(t.MRAID_ENV.version)?mraid.addEventListener("exposureChange",a):t.MRAID_ENV&&parseFloat(t.MRAID_ENV.version)<3&&(mraid.isViewable()?e():mraid.addEventListener("viewableChange",i))}return!(!t.mraid||!t.MRAID_ENV||("loading"==mraid.getState()?mraid.addEventListener("ready",(function r(){mraid.removeEventListener("ready",r),n()})):n(),0))})(p)&&p()}),p):p()}r.writeAdHtml(d)}else if(n.nurl)if(e)d+=c(r.loadScript(t,n.nurl).outerHTML,s,h),r.writeAdHtml(d);else{var u=n.nurl,I=r.getCreativeComment(n);o.insertElement(I,document,"body"),r.writeAdUrl(u,s,h)}}}function c(t,e,a){var i=r.getUUID();return'<div id="'.concat(i,'" style="border-style: none; position: absolute; width:100%; height:100%;">\n <div id="').concat(i,'_inner" style="margin: 0 auto; width:').concat(e,"px; height:").concat(a,'px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">').concat(t,"</div>\n </div>")}return{renderAd:function(a,n){var l=r.transformAuctionTargetingData(n);e.isMobileApp(l.env)?i(l.cacheHost,l.cachePath,l.uuid,l.size,l.hbPb,!0):e.isAmp(l.uuid)?i(l.cacheHost,l.cachePath,l.uuid,l.size,l.hbPb):e.canLocatePrebid()?(function(e,a){for(var i=t,n=0;10>n;n++)if((i=i.parent).pbjs)try{i.pbjs.renderAd(e,a);break}catch(e){continue}})(a,l.adId):(function(e,a,i){function n(a){var i=a.message?"message":"data",n={};try{n=JSON.parse(a[i])}catch(a){return}var r=a.origin||a.originalEvent.origin;if(n.message&&"Prebid Response"===n.message&&p===r&&n.adId===e&&(n.ad||n.adUrl)){var l=t.document.body,d=n.ad,c=n.adUrl,s=n.width,h=n.height;if("video"===n.mediaType)console.log("Error trying to write ad.");else if(d){var u=o.getEmptyIframe(n.height,n.width);l.appendChild(u),u.contentDocument.open(),u.contentDocument.write(d),u.contentDocument.close()}else if(c){var I=o.getEmptyIframe(h,s);I.style.display="inline",I.style.overflow="hidden",I.src=c,o.insertElement(I,document,"body")}else console.log("Error trying to write ad. No ad for bid response id: ".concat(id))}}var l,d=1<arguments.length&&void 0!==a?a:"",c=2<arguments.length?i:void 0,s=t.location,h=r.parseUrl(c),p=h.protocol+"://"+h.host,u=d||t.location.hostname,I=s.protocol+"//"+u;t.addEventListener("message",n,!1),l=JSON.stringify({message:"Prebid Request",adId:e,adServerDomain:I}),t.parent.postMessage(l,p)})(l.adId,l.adServerDomain,l.pubUrl)}}};var r=n(a(3)),o=n(a(0)),l="prebid.adnxs.com",d="/pbc/v1/cache"}),(function(t,e,a){"use strict";function i(t,e){return Object.prototype.toString.call(t)==="[object "+e+"]"}function n(t){return i(t,"String")}Object.defineProperty(e,"__esModule",{value:!0}),e.triggerPixel=function(t,e){var a=new Image;e&&"function"==typeof e&&(a.addEventListener("load",e),a.addEventListener("error",e)),a.src=t},e.createTrackPixelHtml=function(t){if(!t)return"";var e=encodeURI(t);return'<div style="position:absolute;left:0px;top:0px;visibility:hidden;"><img src="'.concat(e,'"></div>')},e.writeAdUrl=function(t,e,a){var i=r.getEmptyIframe(a,e);i.src=t,document.body.appendChild(i)},e.writeAdHtml=function(t){o(document.body,t,{error:console.error})},e.sendRequest=function(t,e){var a=new XMLHttpRequest;a.addEventListener("load",(function(){e(a.responseText)})),a.open("GET",t),a.send()},e.getUUID=function(){var t=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var a=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?a:3&a|8).toString(16)}))},e.loadScript=function(t,e,a,i){var n=t.document,r=n.createElement("script");r.type="text/javascript",a&&"function"==typeof a&&(r.readyState?r.onreadystatechange=function(){"loaded"!==r.readyState&&"complete"!==r.readyState||(r.onreadystatechange=null,a())}:r.onload=function(){a()}),i&&"function"==typeof i&&(r.onerror=function(){i()}),r.src=e;var o=n.getElementsByTagName("head");return(o=o.length?o:n.getElementsByTagName("body")).length&&(o=o[0]).insertBefore(r,o.firstChild),r},e.getCreativeComment=function(t){return document.createComment("Creative ".concat(t.crid," served by Prebid.js Header Bidding"))},e.getCreativeCommentMarkup=function(t){var a=e.getCreativeComment(t),i=document.createElement("div");return i.appendChild(a),i.innerHTML},e.transformAuctionTargetingData=function(t){function e(e){return!(!t[e]||!(function(t){return i(t,"Object")}(t[e])&&0<Object.keys(t[e]).length||n(t[e])&&""!==t[e]))}var a={hb_adid:"adId",hb_cache_host:"cacheHost",hb_cache_path:"cachePath",hb_cache_id:"uuid",hb_format:"mediaType",hb_env:"env",hb_size:"size",hb_pb:"hbPb"},r={},o={};return e("targetingMap")?o=(function(t){var e={};return Object.keys(t).forEach((function(a){Array.isArray(t[a])&&0<t[a].length&&(e[a]=t[a][0])})),e})(t.targetingMap):e("targetingKeywords")&&(o=(function(t){var e={},a=t.split(",");return 0<a.length&&a.forEach((function(t){var a=t.split(":");if(2===a.length){var i=a[0],n=a[1];e[i]=n}})),e})(t.targetingKeywords)),(function(t){Object.keys(t).forEach((function(e){r[a[e]||e]=t[e]}))})(o),Object.keys(t).forEach((function(e){"targetingMap"!==e&&"targetingKeywords"!==e&&n(t[e])&&""!==t[e]&&(r[e]=t[e])})),r},e.parseUrl=function(t){var e=document.createElement("a");return e.href=decodeURIComponent(t),{href:e.href,protocol:(e.protocol||"").replace(/:$/,""),hostname:e.hostname,port:+e.port,pathname:e.pathname.replace(/^(?!\/)/,"/"),hash:(e.hash||"").replace(/^#/,""),host:(e.host||window.location.host).replace(/:(443|80)$/,"")}};var r=(function(t){if(t&&t.__esModule)return t;var e=(function(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return t})();if(e&&e.has(t))return e.get(t);var a={};if(null!=t){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=i?Object.getOwnPropertyDescriptor(t,n):null;r&&(r.get||r.set)?Object.defineProperty(a,n,r):a[n]=t[n]}}return a.default=t,e&&e.set(t,a),a})(a(0)),o=a(4)}),(function(t){var e;e=function(){function t(i){if(a[i])return a[i].exports;var n=a[i]={exports:{},id:i,loaded:!1};return e[i].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}return a={},t.m=e=[function(t,e,a){"use strict";var i,n=(i=a(1))&&i.__esModule?i:{"default":i};t.exports=n.default},function(t,e,a){"use strict";function i(){}function n(t,e,a){if(d.isFunction(a))a={done:a};else if("clear"===a)return h=[],p=null,void(s=0);a=d.defaults(a,c);var o=[t=/^#/.test(t)?window.document.getElementById(t.substr(1)):t.jquery?t[0]:t,e,a];return t.postscribe={cancel:function(){o.stream?o.stream.abort():o[1]=i}},a.beforeEnqueue(o),h.push(o),p||(function u(){var t=h.shift();if(t){var e=d.last(t);e.afterDequeue(),t.stream=function(t,e,a){function o(t){t=a.beforeWrite(t),p.write(t),a.afterWrite(t)}(p=new l.default(t,a)).id=s++,p.name=a.name||p.id,n.streams[p.name]=p;var d=t.ownerDocument,c={close:d.close,open:d.open,write:d.write,writeln:d.writeln};r(d,{close:i,open:i,write:function(){for(var t=arguments.length,e=Array(t),a=0;t>a;a++)e[a]=arguments[a];return o(e.join(""))},writeln:function(){for(var t=arguments.length,e=Array(t),a=0;t>a;a++)e[a]=arguments[a];return o(e.join("")+"\n")}});var h=p.win.onerror||i;return p.win.onerror=function(t,e,i){a.error({msg:t+" - "+e+": "+i}),h.apply(p.win,[t,e,i])},p.write(e,(function(){r(d,c),p.win.onerror=h,a.done(),p=null,u()})),p}.apply(void 0,t),e.afterStreamStart()}})(),t.postscribe}e.__esModule=!0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t};e.default=n;var o,l=(o=a(2))&&o.__esModule?o:{"default":o},d=(function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e.default=t,e})(a(4)),c={afterAsync:i,afterDequeue:i,afterStreamStart:i,afterWrite:i,autoFix:!0,beforeEnqueue:i,beforeWriteToken:function(t){return t},beforeWrite:function(t){return t},done:i,error:function(t){throw new Error(t.msg)},releaseAsync:!1},s=0,h=[],p=null;r(n,{streams:{},queue:h,WriteStream:l.default})},function(t,e,a){"use strict";function i(t,e){var a=s+e,i=t.getAttribute(a);return c.existy(i)?String(i):i}function n(t,e,a){var i=2<arguments.length&&void 0!==a?a:null,n=s+e;c.existy(i)&&""!==i?t.setAttribute(n,i):t.removeAttribute(n)}function r(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};!(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,r),this.root=t,this.options=e,this.doc=t.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new d.default("",{autoFix:e.autoFix}),this.actuals=[t],this.proxyHistory="",this.proxyRoot=this.doc.createElement(t.nodeName),this.scriptStack=[],this.writeQueue=[],n(this.proxyRoot,"proxyof",0)}e.__esModule=!0;var o,l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},d=(o=a(3))&&o.__esModule?o:{"default":o},c=(function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e.default=t,e})(a(4)),s="data-ps-",h="ps-style",p="ps-script",u=(r.prototype.write=function(){var t;for((t=this.writeQueue).push.apply(t,arguments);!this.deferredRemote&&this.writeQueue.length;){var e=this.writeQueue.shift();c.isFunction(e)?this._callFunction(e):this._writeImpl(e)}},r.prototype._callFunction=function(t){var e={type:"function",value:t.name||t.toString()};this._onScriptStart(e),t.call(this.win,this.doc),this._onScriptDone(e)},r.prototype._writeImpl=function(t){this.parser.append(t);for(var e=void 0,a=void 0,i=void 0,n=[];(e=this.parser.readToken())&&!(a=c.isScript(e))&&!(i=c.isStyle(e));)(e=this.options.beforeWriteToken(e))&&n.push(e);0<n.length&&this._writeStaticTokens(n),a&&this._handleScriptToken(e),i&&this._handleStyleToken(e)},r.prototype._writeStaticTokens=function(t){var e=this._buildChunk(t);return e.actual?(e.html=this.proxyHistory+e.actual,this.proxyHistory+=e.proxy,this.proxyRoot.innerHTML=e.html,this._walkChunk(),e):null},r.prototype._buildChunk=function(t){for(var e=this.actuals.length,a=[],i=[],n=[],r=t.length,o=0;r>o;o++){var l=t[o],d=l.toString();if(a.push(d),l.attrs){if(!/^noscript$/i.test(l.tagName)){var c=e++;i.push(d.replace(/(\/?>)/," "+s+"id="+c+" $1")),l.attrs.id!==p&&l.attrs.id!==h&&n.push("atomicTag"===l.type?"":"<"+l.tagName+" "+s+"proxyof="+c+(l.unary?" />":">"))}}else i.push(d),n.push("endTag"===l.type?d:"")}return{tokens:t,raw:a.join(""),actual:i.join(""),proxy:n.join("")}},r.prototype._walkChunk=function(){for(var t=void 0,e=[this.proxyRoot];c.existy(t=e.shift());){var a=1===t.nodeType;if(!a||!i(t,"proxyof")){a&&n(this.actuals[i(t,"id")]=t,"id");var r=t.parentNode&&i(t.parentNode,"proxyof");r&&this.actuals[r].appendChild(t)}e.unshift.apply(e,c.toArray(t.childNodes))}},r.prototype._handleScriptToken=function(t){var e=this,a=this.parser.clear();a&&this.writeQueue.unshift(a),t.src=t.attrs.src||t.attrs.SRC,(t=this.options.beforeWriteToken(t))&&(t.src&&this.scriptStack.length?this.deferredRemote=t:this._onScriptStart(t),this._writeScriptToken(t,(function(){e._onScriptDone(t)})))},r.prototype._handleStyleToken=function(t){var e=this.parser.clear();e&&this.writeQueue.unshift(e),t.type=t.attrs.type||t.attrs.TYPE||"text/css",(t=this.options.beforeWriteToken(t))&&this._writeStyleToken(t),e&&this.write()},r.prototype._writeStyleToken=function(t){var e=this._buildStyle(t);this._insertCursor(e,h),t.content&&(e.styleSheet&&!e.sheet?e.styleSheet.cssText=t.content:e.appendChild(this.doc.createTextNode(t.content)))},r.prototype._buildStyle=function(t){var e=this.doc.createElement(t.tagName);return e.setAttribute("type",t.type),c.eachKey(t.attrs,(function(t,a){e.setAttribute(t,a)})),e},r.prototype._insertCursor=function(t,e){this._writeImpl('<span id="'+e+'"/>');var a=this.doc.getElementById(e);a&&a.parentNode.replaceChild(t,a)},r.prototype._onScriptStart=function(t){t.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(t)},r.prototype._onScriptDone=function(t){t===this.scriptStack[0]?(this.scriptStack.shift(),this.write.apply(this,t.outerWrites),!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)):this.options.error({msg:"Bad script nesting or script finished twice"})},r.prototype._writeScriptToken=function(t,e){var a=this._buildScript(t),i=this._shouldRelease(a),n=this.options.afterAsync;t.src&&(a.src=t.src,this._scriptLoadHandler(a,i?n:function(){e(),n()}));try{this._insertCursor(a,p),a.src&&!i||e()}catch(t){this.options.error(t),e()}},r.prototype._buildScript=function(t){var e=this.doc.createElement(t.tagName);return c.eachKey(t.attrs,(function(t,a){e.setAttribute(t,a)})),t.content&&(e.text=t.content),e},r.prototype._scriptLoadHandler=function(t,e){function a(){t=t.onload=t.onreadystatechange=t.onerror=null}function i(){a(),null!=e&&e(),e=null}function n(t){a(),o(t),null!=e&&e(),e=null}function r(t,e){var a=t["on"+e];null!=a&&(t["_on"+e]=a)}var o=this.options.error;r(t,"load"),r(t,"error"),l(t,{onload:function(){if(t._onload)try{t._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){n({msg:"onload handler failed "+e+" @ "+t.src})}i()},onerror:function(){if(t._onerror)try{t._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){return void n({msg:"onerror handler failed "+e+" @ "+t.src})}n({msg:"remote script failed "+t.src})},onreadystatechange:function(){/^(loaded|complete)$/.test(t.readyState)&&i()}})},r.prototype._shouldRelease=function(t){return!/^script$/i.test(t.nodeName)||!!(this.options.releaseAsync&&t.src&&t.hasAttribute("async"))},r);e.default=u},function(t){var e;e=function(){function t(i){if(a[i])return a[i].exports;var n=a[i]={exports:{},id:i,loaded:!1};return e[i].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}return a={},t.m=e=[function(t,e,a){"use strict";var i,n=(i=a(1))&&i.__esModule?i:{"default":i};t.exports=n.default},function(t,e,a){"use strict";function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e.default=t,e}function n(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};!(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,n),this.stream=e;var i=!1,r={};for(var l in o)o.hasOwnProperty(l)&&(a.autoFix&&(r[l+"Fix"]=!0),i=i||r[l+"Fix"]);i?(this._readToken=d.default(this,r,(function(){return t._readTokenImpl()})),this._peekToken=d.default(this,r,(function(){return t._peekTokenImpl()}))):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}e.__esModule=!0;var r,o=i(a(2)),l=i(a(3)),d=(r=a(6))&&r.__esModule?r:{"default":r},c=a(5),s={comment:/^<!--/,endTag:/^<\//,atomicTag:/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,startTag:/^</,chars:/^[^<]/},h=(n.prototype.append=function(t){this.stream+=t},n.prototype.prepend=function(t){this.stream=t+this.stream},n.prototype._readTokenImpl=function(){var t=this._peekTokenImpl();return t?(this.stream=this.stream.slice(t.length),t):void 0},n.prototype._peekTokenImpl=function(){for(var t in s)if(s.hasOwnProperty(t)&&s[t].test(this.stream)){var e=l[t](this.stream);if(e)return"startTag"===e.type&&/script|style/i.test(e.tagName)?null:(e.text=this.stream.substr(0,e.length),e)}},n.prototype.peekToken=function(){return this._peekToken()},n.prototype.readToken=function(){return this._readToken()},n.prototype.readTokens=function(t){for(var e=void 0;e=this.readToken();)if(t[e.type]&&!1===t[e.type](e))return},n.prototype.clear=function(){var t=this.stream;return this.stream="",t},n.prototype.rest=function(){return this.stream},n);for(var p in(e.default=h).tokenToString=function(t){return t.toString()},h.escapeAttributes=function(t){var e={};for(var a in t)t.hasOwnProperty(a)&&(e[a]=c.escapeQuotes(t[a],null));return e},h.supports=o)o.hasOwnProperty(p)&&(h.browserHasFlaw=h.browserHasFlaw||!o[p]&&p)},function(t,e){"use strict";var a=!(e.__esModule=!0),i=!1,n=window.document.createElement("div");try{var r="<P><I></P></I>";n.innerHTML=r,e.tagSoup=a=n.innerHTML!==r}catch(t){e.tagSoup=a=!1}try{n.innerHTML="<P><i><P></P></i></P>",e.selfClose=i=2===n.childNodes.length}catch(t){e.selfClose=i=!1}n=null,e.tagSoup=a,e.selfClose=i},function(t,e,a){"use strict";function i(t){var e,a,i;if(-1!==t.indexOf(">")){var l=t.match(o.startTag);if(l){var d=(e={},a={},i=l[2],l[2].replace(o.attr,(function(t,n){arguments[2]||arguments[3]||arguments[4]||arguments[5]?arguments[5]?(e[arguments[5]]="",a[arguments[5]]=!0):e[n]=arguments[2]||arguments[3]||arguments[4]||o.fillAttr.test(n)&&n||"":e[n]="",i=i.replace(t,"")})),{v:new r.StartTagToken(l[1],l[0].length,e,a,!!l[3],i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))});if("object"===(void 0===d?"undefined":n(d)))return d.v}}}e.__esModule=!0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.comment=function(t){var e=t.indexOf("-->");return e>=0?new r.CommentToken(t.substr(4,e-1),e+3):void 0},e.chars=function(t){var e=t.indexOf("<");return new r.CharsToken(e>=0?e:t.length)},e.startTag=i,e.atomicTag=function(t){var e=i(t);if(e){var a=t.slice(e.length);if(a.match(new RegExp("</\\s*"+e.tagName+"\\s*>","i"))){var n=a.match(new RegExp("([\\s\\S]*?)</\\s*"+e.tagName+"\\s*>","i"));if(n)return new r.AtomicTagToken(e.tagName,n[0].length+e.length,e.attrs,e.booleanAttrs,n[1])}}},e.endTag=function(t){var e=t.match(o.endTag);return e?new r.EndTagToken(e[1],e[0].length):void 0};var r=a(4),o={startTag:/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag:/^<\/([\-A-Za-z0-9_]+)[^>]*>/,attr:/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,fillAttr:/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i}},function(t,e,a){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){i(this,n),this.type="comment",this.length=e||(t?t.length:0),this.text="",this.content=t}function r(t){i(this,r),this.type="chars",this.length=t,this.text=""}function o(t,e,a,n,r){i(this,o),this.type=t,this.length=a,this.text="",this.tagName=e,this.attrs=n,this.booleanAttrs=r,this.unary=!1,this.html5Unary=!1}function l(t,e,a,n,r,o){i(this,l),this.type="startTag",this.length=e,this.text="",this.tagName=t,this.attrs=a,this.booleanAttrs=n,this.html5Unary=!1,this.unary=r,this.rest=o}function d(t,e,a,n,r){i(this,d),this.type="atomicTag",this.length=e,this.text="",this.tagName=t,this.attrs=a,this.booleanAttrs=n,this.unary=!1,this.html5Unary=!1,this.content=r}function c(t,e){i(this,c),this.type="endTag",this.length=e,this.text="",this.tagName=t}e.__esModule=!0,e.EndTagToken=e.AtomicTagToken=e.StartTagToken=e.TagToken=e.CharsToken=e.CommentToken=e.Token=void 0;var s=a(5);e.Token=function p(t,e){i(this,p),this.type=t,this.length=e,this.text=""},e.CommentToken=(n.prototype.toString=function(){return"<!--"+this.content},n),e.CharsToken=(r.prototype.toString=function(){return this.text},r);var h=e.TagToken=(o.formatTag=function(t,e){var a=1<arguments.length&&void 0!==e?e:null,i="<"+t.tagName;for(var n in t.attrs)if(t.attrs.hasOwnProperty(n)){i+=" "+n;var r=t.attrs[n];void 0!==t.booleanAttrs&&void 0!==t.booleanAttrs[n]||(i+='="'+s.escapeQuotes(r)+'"')}return t.rest&&(i+=" "+t.rest),i+=t.unary&&!t.html5Unary?"/>":">",null!=a&&(i+=a+"</"+t.tagName+">"),i},o);e.StartTagToken=(l.prototype.toString=function(){return h.formatTag(this)},l),e.AtomicTagToken=(d.prototype.toString=function(){return h.formatTag(this,this.content)},d),e.EndTagToken=(c.prototype.toString=function(){return"</"+this.tagName+">"},c)},function(t,e){"use strict";e.__esModule=!0,e.escapeQuotes=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";return t?t.replace(/([^"]*)"/g,(function(t,e){return/\\/.test(e)?e+'"':e+'\\"'})):e}},function(t,e){"use strict";function a(t){return t&&"startTag"===t.type&&(t.unary=n.test(t.tagName)||t.unary,t.html5Unary=!/\/>$/.test(t.text)),t}function i(t,e){var a=e.pop();t.prepend("</"+a.tagName+">")}e.__esModule=!0,e.default=function(t,e,n){function o(){var e=(function(t,e){var i=t.stream,n=a(e());return t.stream=i,n})(t,n);e&&d[e.type]&&d[e.type](e)}var l=(function(){var t=[];return t.last=function(){return this[this.length-1]},t.lastTagNameEq=function(t){var e=this.last();return e&&e.tagName&&e.tagName.toUpperCase()===t.toUpperCase()},t.containsTagName=function(t){for(var e,a=0;e=this[a];a++)if(e.tagName===t)return!0;return!1},t})(),d={startTag:function(a){var n=a.tagName;"TR"===n.toUpperCase()&&l.lastTagNameEq("TABLE")?(t.prepend("<TBODY>"),o()):e.selfCloseFix&&r.test(n)&&l.containsTagName(n)?l.lastTagNameEq(n)?i(t,l):(t.prepend("</"+a.tagName+">"),o()):a.unary||l.push(a)},endTag:function(a){l.last()?e.tagSoupFix&&!l.lastTagNameEq(a.tagName)?i(t,l):l.pop():e.tagSoupFix&&(n(),o())}};return function(){return o(),a(n())}};var n=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,r=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i}],t.c=a,t.p="",t(0);var e,a},t.exports=e()},function(t,e){"use strict";function a(t){return null!=t}function i(t,e,a){var i=void 0,n=t&&t.length||0;for(i=0;n>i;i++)e.call(a,t[i],i)}function n(t,e,a){for(var i in t)t.hasOwnProperty(i)&&e.call(a,i,t[i])}function r(t,e){return!(!t||"startTag"!==t.type&&"atomicTag"!==t.type||!("tagName"in t)||!~t.tagName.toLowerCase().indexOf(e))}e.__esModule=!0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.existy=a,e.isFunction=function(t){return"function"==typeof t},e.each=i,e.eachKey=n,e.defaults=function(t,e){return t=t||{},n(e,(function(e,i){a(t[e])||(t[e]=i)})),t},e.toArray=function(t){try{return Array.prototype.slice.call(t)}catch(e){var a=(function(){var e=[];return i(t,(function(t){e.push(t)})),{v:e}})();if("object"===(void 0===a?"undefined":o(a)))return a.v}},e.last=function(t){return t[t.length-1]},e.isTag=r,e.isScript=function(t){return r(t,"script")},e.isStyle=function(t){return r(t,"style")}}],t.c=a,t.p="",t(0);var e,a},t.exports=e()}),(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.newEnvironment=function(t){function e(){return t.top!==t&&!(function(t){try{return t.top.location.toString(),!0}catch(t){return!1}})(t)}return{isMobileApp:function(t){return t&&"mobile-app"===t},isCrossDomain:e,isSafeFrame:function(){return!(!t.$sf||!t.$sf.ext)},isAmp:function(t){return"string"==typeof t&&""!==t&&e()},canLocatePrebid:function(){for(var e=!1,a=t;!e;){try{if(a.pbjs){e=!0;break}}catch(e){}if(a===window.top)break;a=a.parent}return e}}}})])})]);if(typeof window.PWT === "object" && typeof window.PWT.jsLoaded === "function"){ window.PWT.jsLoaded();}
//Custom code by publisher starts
(function() {
var owpbjs = window.owpbjs || {};
var localBidderSettings = owpbjs.bidderSettings;
var newBidderSettings = Object.assign({}, localBidderSettings);
if(!newBidderSettings['teads']){
newBidderSettings['teads'] = {};
}
newBidderSettings['teads']['storageAllowed'] = true;
owpbjs.bidderSettings=newBidderSettings;
owpbjs.setConfig({ deviceAccess: true });
})();
(function(){
var floorObj = owpbjs.getConfig('floors');
var newFloorObj = Object.assign({}, floorObj);
newFloorObj['enforcement']['enforceJS'] = false;
owpbjs.setConfig({
'floors': newFloorObj
});
})();
//Custom code by publisher ends