bmad.xyz
Open in
urlscan Pro
34.95.64.249
Public Scan
URL:
https://bmad.xyz/prebid_7e25718a459d26530942035b8bc8ce5c.js
Submission: On July 01 via manual from FR — Scanned from FR
Submission: On July 01 via manual from FR — Scanned from FR
Form analysis
0 forms found in the DOMText Content
/* prebid.js v4.43.4 Updated : 2021-08-04*/ !function(u){var s=window.pbjsChunk;window.pbjsChunk=function(e,t,n){for(var r,i,o,a=0,c=[];a<e.length;a++)i=e[a],d[i]&&c.push(d[i][0]),d[i]=0;for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(u[r]=t[r]);for(s&&s(e,t,n);c.length;)c.shift()();if(n)for(a=0;a<n.length;a++)o=f(f.s=n[a]);return o};var n={},d={423:0};function f(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return u[e].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.m=u,f.c=n,f.d=function(e,t,n){f.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},f.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(t,"a",t),t},f.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},f.p="",f.oe=function(e){throw console.error(e),e},f(f.s=1025)}({0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"internal",function(){return R}),t.getPrebidInternal=function(){return D},n.d(t,"bind",function(){return P}),t.getUniqueIdentifierStr=q,t.generateUUID=function e(t){return t?(t^G()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},t.getBidIdParameter=function(e,t){if(t&&t[e])return t[e];return""},t.tryAppendQueryString=function(e,t,n){if(n)return e+t+"="+encodeURIComponent(n)+"&";return e},t.parseQueryStringParameters=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+"="+encodeURIComponent(e[n])+"&");return t=t.replace(/&$/,"")},t.transformAdServerTargetingObj=function(t){return t&&0<Object.getOwnPropertyNames(t).length?ge(t).map(function(e){return"".concat(e,"=").concat(encodeURIComponent(t[e]))}).join("&"):""},t.getAdUnitSizes=function(e){if(!e)return;var t=[];{var n;e.mediaTypes&&e.mediaTypes.banner&&Array.isArray(e.mediaTypes.banner.sizes)?(n=e.mediaTypes.banner.sizes,Array.isArray(n[0])?t=n:t.push(n)):Array.isArray(e.sizes)&&(Array.isArray(e.sizes[0])?t=e.sizes:t.push(e.sizes))}return t},t.parseSizesInput=function(e){var t=[];if("string"==typeof e){var n=e.split(","),r=/^(\d)+x(\d)+$/i;if(n)for(var i in n)ae(n,i)&&n[i].match(r)&&t.push(n[i])}else if("object"===h(e)){var o=e.length;if(0<o)if(2===o&&"number"==typeof e[0]&&"number"==typeof e[1])t.push(W(e));else for(var a=0;a<o;a++)t.push(W(e[a]))}return t},t.parseGPTSingleSizeArray=W,t.parseGPTSingleSizeArrayToRtbSize=function(e){if(L(e))return{w:e[0],h:e[1]}},t.getWindowTop=F,t.getWindowSelf=z,t.getWindowLocation=V,t.logMessage=H,t.logInfo=K,t.logWarn=J,t.logError=Y,t.hasConsoleLogger=function(){return w},t.debugTurnedOn=$,t.createInvisibleIframe=function(){var e=document.createElement("iframe");return e.id=q(),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},t.getParameterByName=function(e){return Ce(V().search)[e]||""},t.isA=X,t.isFn=Z,t.isStr=ee,t.isArray=te,t.isNumber=ne,t.isPlainObject=re,t.isBoolean=function(e){return X(e,I)},t.isEmpty=ie,t.isEmptyStr=function(e){return ee(e)&&(!e||0===e.length)},t._each=oe,t.contains=function(e,t){if(ie(e))return!1;if(Z(e.indexOf))return-1!==e.indexOf(t);var n=e.length;for(;n--;)if(e[n]===t)return!0;return!1},t._map=function(n,r){if(ie(n))return[];if(Z(n.map))return n.map(r);var i=[];return oe(n,function(e,t){i.push(r(e,t,n))}),i},t.hasOwn=ae,t.insertElement=ce,t.triggerPixel=ue,t.callBurl=function(e){var t=e.source,n=e.burl;t===m.S2S.SRC&&n&&R.triggerPixel(n)},t.insertHtmlIntoIframe=function(e){if(!e)return;var t=document.createElement("iframe");t.id=q(),t.width=0,t.height=0,t.hspace="0",t.vspace="0",t.marginWidth="0",t.marginHeight="0",t.style.display="none",t.style.height="0px",t.style.width="0px",t.scrolling="no",t.frameBorder="0",t.allowtransparency="true",R.insertElement(t,document,"body"),t.contentWindow.document.open(),t.contentWindow.document.write(e),t.contentWindow.document.close()},t.insertUserSyncIframe=se,t.createTrackPixelHtml=function(e){if(!e)return"";var t=encodeURI(e),n='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return n+='<img src="'+t+'"></div>'},t.createTrackPixelIframeHtml=de,t.getValueString=fe,t.uniques=le,t.flatten=pe,t.getBidRequest=function(n,e){return n?(e.some(function(e){var t=c()(e.bids,function(t){return["bidId","adId","bid_id"].some(function(e){return t[e]===n})});return t&&(r=t),t}),r):void 0;var r},t.getKeys=ge,t.getValue=be,t.getKeyByValue=function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&e[n]===t)return n},t.getBidderCodes=function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:pbjs.adUnits).map(function(e){return e.bids.map(function(e){return e.bidder}).reduce(pe,[])}).reduce(pe).filter(le)},t.isGptPubadsDefined=ve,n.d(t,"getHighestCpm",function(){return ye}),n.d(t,"getOldestHighestCpmBid",function(){return he}),n.d(t,"getLatestHighestCpmBid",function(){return me}),t.shuffle=function(e){var t=e.length;for(;0<t;){var n=Math.floor(Math.random()*t),r=e[--t];e[t]=e[n],e[n]=r}return e},t.adUnitsFilter=function(e,t){return s()(e,t&&t.adUnitCode)},t.deepClone=Ae,t.inIframe=function(){try{return R.getWindowSelf()!==R.getWindowTop()}catch(e){return!0}},t.isSafariBrowser=function(){return/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent)},t.replaceAuctionPrice=function(e,t){if(!e)return;return e.replace(/\$\{AUCTION_PRICE\}/g,t)},t.replaceClickThrough=function(e,t){if(!e||!t||"string"!=typeof t)return;return e.replace(/\${CLICKTHROUGH}/g,t)},t.timestamp=function(){return(new Date).getTime()},t.getPerformanceNow=function(){return window.performance&&window.performance.now&&window.performance.now()||0},t.hasDeviceAccess=function(){return!1!==i.b.getConfig("deviceAccess")},t.checkCookieSupport=Ee,t.delayExecution=function(e,t){if(t<1)throw new Error("numRequiredCalls must be a positive number. Got ".concat(t));var n=0;return function(){++n===t&&e.apply(this,arguments)}},t.groupBy=function(e,n){return e.reduce(function(e,t){return(e[t[n]]=e[t[n]]||[]).push(t),e},{})},t.getDefinedParams=function(n,e){return e.filter(function(e){return n[e]}).reduce(function(e,t){return y(e,v({},t,n[t]))},{})},t.isValidMediaTypes=function(e){var t=["banner","native","video"];if(!Object.keys(e).every(function(e){return s()(t,e)}))return!1;if(e.video&&e.video.context)return s()(["instream","outstream","adpod"],e.video.context);return!0},t.getBidderRequest=function(e,t,n){return c()(e,function(e){return 0<e.bids.filter(function(e){return e.bidder===t&&e.adUnitCode===n}).length})||{start:null,auctionId:null}},t.getUserConfiguredParams=function(e,t,n){return e.filter(function(e){return e.code===t}).map(function(e){return e.bids}).reduce(pe,[]).filter(function(e){return e.bidder===n}).map(function(e){return e.params||{}})},t.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")},t.getDNT=function(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack},t.isAdUnitCodeMatchingSlot=function(t){return function(e){return Oe(t,e)}},t.isSlotMatchingAdUnitCode=Te,t.getGptSlotInfoForAdUnitCode=function(e){var t;ve()&&(t=c()(window.googletag.pubads().getSlots(),Te(e)));if(t)return{gptSlot:t.getAdUnitPath(),divId:t.getSlotElementId()};return{}},t.unsupportedBidderMessage=function(e,t){var n=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n ".concat(e.code," is a ").concat(n," ad unit\n containing bidders that don't support ").concat(n,": ").concat(t,".\n This bidder won't fetch demand.\n ")},t.isInteger=Ie,t.convertCamelToUnderscore=function(e){return e.replace(/(?:^|\.?)([A-Z])/g,function(e,t){return"_"+t.toLowerCase()}).replace(/^_/,"")},t.cleanObj=function(n){return Object.keys(n).reduce(function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e},{})},t.pick=function(a,c){return"object"===h(a)?c.reduce(function(e,t,n){if("function"==typeof t)return e;var r=t,i=t.match(/^(.+?)\sas\s(.+?)$/i);i&&(t=i[1],r=i[2]);var o=a[t];return"function"==typeof c[n+1]&&(o=c[n+1](o,e)),void 0!==o&&(e[r]=o),e},{}):{}},t.transformBidderParamKeywords=function(e){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"keywords",i=[];return oe(e,function(e,t){if(te(e)){var n=[];oe(e,function(e){!(e=fe(r+"."+t,e))&&""!==e||n.push(e)}),e=n}else{if(!ee(e=fe(r+"."+t,e)))return;e=[e]}i.push({key:t,value:e})}),i},t.convertTypes=function(r,i){return Object.keys(r).forEach(function(e){var t,n;i[e]&&(Z(r[e])?i[e]=r[e](i[e]):i[e]=(t=r[e],n=i[e],"string"===t?n&&n.toString():"number"===t?Number(n):n),isNaN(i[e])&&delete i.key)}),i},t.isArrayOfNums=function(e,t){return te(e)&&(!t||e.length===t)&&e.every(Ie)},t.fill=function(e,t){for(var n=[],r=0;r<t;r++){var i=re(e)?Ae(e):e;n.push(i)}return n},t.chunk=function(e,t){for(var n=[],r=0;r<Math.ceil(e.length/t);r++){var i=r*t,o=i+t;n.push(e.slice(i,o))}return n},t.getMinValueFromArray=function(e){return Math.min.apply(Math,p(e))},t.getMaxValueFromArray=function(e){return Math.max.apply(Math,p(e))},t.compareOn=function(n){return function(e,t){return e[n]<t[n]?1:e[n]>t[n]?-1:0}},t.parseQS=Ce,t.formatQS=je,t.parseUrl=function(e,t){var n=document.createElement("a");t&&"noDecodeWholeURL"in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);var r=t&&"decodeSearchAsString"in t&&t.decodeSearchAsString;return{href:n.href,protocol:(n.protocol||"").replace(/:$/,""),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!\/)/,"/"),search:r?n.search:R.parseQS(n.search||""),hash:(n.hash||"").replace(/^#/,""),host:n.host||window.location.host}},t.buildUrl=function(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":".concat(e.port):""))+(e.pathname||"")+(e.search?"?".concat(R.formatQS(e.search||"")):"")+(e.hash?"#".concat(e.hash):"")},t.deepEqual=we,t.mergeDeep=_e,t.cyrb53Hash=function(e){for(var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,r=function(e,t){if(Z(Math.imul))return Math.imul(e,t);var n=(4194303&e)*(t|=0);return 4290772992&e&&(n+=(4290772992&e)*t|0),0|n},i=3735928559^n,o=1103547991^n,a=0;a<e.length;a++)t=e.charCodeAt(a),i=r(i^t,2654435761),o=r(o^t,1597334677);return i=r(i^i>>>16,2246822507)^r(o^o>>>13,3266489909),(4294967296*(2097151&(o=r(o^o>>>16,2246822507)^r(i^i>>>13,3266489909)))+(i>>>0)).toString()};var i=n(3),r=n(162),o=n.n(r),a=n(10),c=n.n(a),u=n(13),s=n.n(u),d=n(163);n.d(t,"deepAccess",function(){return d.a});var f=n(164);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function h(e){return(h="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})(e)}n.d(t,"deepSetValue",function(){return f.a});var m=n(5),S="Array",A="String",E="Function",O="Number",T="Object",I="Boolean",C=Object.prototype.toString,j=Boolean(window.console),w=Boolean(j&&window.console.log),_=Boolean(j&&window.console.info),B=Boolean(j&&window.console.warn),U=Boolean(j&&window.console.error),x=n(9),R={checkCookieSupport:Ee,createTrackPixelIframeHtml:de,getWindowSelf:z,getWindowTop:F,getWindowLocation:V,insertUserSyncIframe:se,insertElement:ce,isFn:Z,triggerPixel:ue,logError:Y,logWarn:J,logMessage:H,logInfo:K,parseQS:Ce,formatQS:je,deepEqual:we},D={};var k,N={},P=function(e,t){return t}.bind(null,1,N)()===N?Function.prototype.bind:function(e){var t=this,n=Array.prototype.slice.call(arguments,1);return function(){return t.apply(e,n.concat(Array.prototype.slice.call(arguments)))}},M=(k=0,function(){return++k});function q(){return M()+Math.random().toString(16).substr(2)}function G(){return window&&window.crypto&&window.crypto.getRandomValues?crypto.getRandomValues(new Uint8Array(1))[0]%16:16*Math.random()}function W(e){if(L(e))return e[0]+"x"+e[1]}function L(e){return te(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1])}function F(){return window.top}function z(){return window.self}function V(){return window.location}function H(){$()&&w&&console.log.apply(console,Q(arguments,"MESSAGE:"))}function K(){$()&&_&&console.info.apply(console,Q(arguments,"INFO:"))}function J(){$()&&B&&console.warn.apply(console,Q(arguments,"WARNING:")),x.emit(m.EVENTS.AUCTION_DEBUG,{type:"WARNING",arguments:arguments})}function Y(){$()&&U&&console.error.apply(console,Q(arguments,"ERROR:")),x.emit(m.EVENTS.AUCTION_DEBUG,{type:"ERROR",arguments:arguments})}function Q(e,t){e=[].slice.call(e);var n=i.b.getCurrentBidder();return t&&e.unshift(t),n&&e.unshift(r("#aaa")),e.unshift(r("#3b88c3")),e.unshift("%cPrebid"+(n?"%c".concat(n):"")),e;function r(e){return"display: inline-block; color: #fff; background: ".concat(e,"; padding: 1px 4px; border-radius: 3px;")}}function $(){return!!i.b.getConfig("debug")}function X(e,t){return C.call(e)==="[object "+t+"]"}function Z(e){return X(e,E)}function ee(e){return X(e,A)}function te(e){return X(e,S)}function ne(e){return X(e,O)}function re(e){return X(e,T)}function ie(e){if(!e)return!0;if(te(e)||ee(e))return!(0<e.length);for(var t in e)if(hasOwnProperty.call(e,t))return!1;return!0}function oe(e,t){if(!ie(e)){if(Z(e.forEach))return e.forEach(t,this);var n=0,r=e.length;if(0<r)for(;n<r;n++)t(e[n],n,e);else for(n in e)hasOwnProperty.call(e,n)&&t.call(this,e[n],n)}}function ae(e,t){return e.hasOwnProperty?e.hasOwnProperty(t):void 0!==e[t]&&e.constructor.prototype[t]!==e[t]}function ce(e,t,n,r){var i;t=t||document,i=n?t.getElementsByTagName(n):t.getElementsByTagName("head");try{if((i=i.length?i:t.getElementsByTagName("body")).length){i=i[0];var o=r?null:i.firstChild;return i.insertBefore(e,o)}}catch(e){}}function ue(e,t){var n=new Image;t&&R.isFn(t)&&(n.addEventListener("load",t),n.addEventListener("error",t)),n.src=e}function se(e,t){var n=R.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),r=document.createElement("div");r.innerHTML=n;var i=r.firstChild;t&&R.isFn(t)&&(i.addEventListener("load",t),i.addEventListener("error",t)),R.insertElement(i,document,"html",!0)}function de(e){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"";return e?((!(1<arguments.length&&void 0!==arguments[1])||arguments[1])&&(e=encodeURI(e)),t=t&&'sandbox="'.concat(t,'"'),"<iframe ".concat(t,' id="').concat(q(),'"\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 fe(e,t,n){return null==t?n:ee(t)?t:ne(t)?t.toString():void R.logWarn("Unsuported type for param: "+e+" required type: String")}function le(e,t,n){return n.indexOf(e)===t}function pe(e,t){return e.concat(t)}function ge(e){return Object.keys(e)}function be(e,t){return e[t]}function ve(){if(window.googletag&&Z(window.googletag.pubads)&&Z(window.googletag.pubads().getSlots))return!0}var ye=Se("timeToRespond",function(e,t){return t<e}),he=Se("responseTimestamp",function(e,t){return t<e}),me=Se("responseTimestamp",function(e,t){return e<t});function Se(n,r){return function(e,t){return e.cpm===t.cpm?r(e[n],t[n])?t:e:e.cpm<t.cpm?t:e}}function Ae(e){return o()(e)}function Ee(){if(window.navigator.cookieEnabled||document.cookie.length)return!0}var Oe=function(e,t){return e.getAdUnitPath()===t||e.getSlotElementId()===t};function Te(t){return function(e){return Oe(e,t)}}function Ie(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function Ce(e){return e?e.replace(/^\?/,"").split("&").reduce(function(e,t){var n=l(t.split("="),2),r=n[0],i=n[1];return/\[\]$/.test(r)?(e[r=r.replace("[]","")]=e[r]||[],e[r].push(i)):e[r]=i||"",e},{}):{}}function je(e){return Object.keys(e).map(function(t){return Array.isArray(e[t])?e[t].map(function(e){return"".concat(t,"[]=").concat(e)}).join("&"):"".concat(t,"=").concat(e[t])}).join("&")}function we(e,t){if(e===t)return!0;if("object"!==h(e)||null===e||"object"!==h(t)||null===t)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!we(e[n],t[n]))return!1}return!0}function _e(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(!n.length)return e;var i=n.shift();if(re(e)&&re(i))for(var o in i)re(i[o])?(e[o]||y(e,v({},o,{})),_e(e[o],i[o])):te(i[o])&&e[o]?te(e[o])&&(e[o]=e[o].concat(i[o])):y(e,v({},o,i[o]));return _e.apply(void 0,[e].concat(n))}},1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"storage",function(){return I}),t.registerBidder=function(i){var n=Array.isArray(i.supportedMediaTypes)?{supportedMediaTypes:i.supportedMediaTypes}:void 0;function o(e){var t=w(e);c.default.registerBidAdapter(t,e.code,n)}o(i),Array.isArray(i.aliases)&&i.aliases.forEach(function(e){var t,n,r=e;Object(S.isPlainObject)(e)&&(r=e.code,t=e.gvlid,n=e.skipPbsAliasing),c.default.aliasRegistry[r]=i.code,o(T({},i,{code:r,gvlid:t,skipPbsAliasing:n}))})},t.newBidder=w,n.d(t,"registerSyncInner",function(){return _}),t.preloadBidderMappingFile=B,t.getIabSubCategory=function(t,e){var n=c.default.getBidAdapter(t);if(n.getSpec().getMappingFileInfo){var r=n.getSpec().getMappingFileInfo(),i=r.localStorageKey?r.localStorageKey:n.getBidderCode(),o=I.getDataFromLocalStorage(i);if(o){try{o=JSON.parse(o)}catch(e){Object(S.logError)("Failed to parse ".concat(t," mapping data stored in local storage"))}return o.mapping[e]?o.mapping[e]:null}}},t.isValid=U;var r=n(95),c=n(8),v=n(3),y=n(35),u=n(43),o=n(38),a=n(24),i=n(5),h=n.n(i),s=n(9),m=n.n(s),d=n(13),f=n.n(d),l=n(4),S=n(0),p=n(2),g=n(11),b=n(7);function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function O(e){return(O="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})(e)}function T(){return(T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var I=Object(b.a)("bidderFactory"),C=["requestId","cpm","ttl","creativeId","netRevenue","currency"],j=1;function w(p){return T(new r.a(p.code),{getSpec:function(){return Object.freeze(p)},registerSyncs:g,callBids:function(o,a,e,n,c,r){var u,s,t,d,i,f;function l(){e(),v.b.runWithBidder(p.code,function(){m.a.emit(h.a.EVENTS.BIDDER_DONE,o),g(s,o.gdprConsent,o.uspConsent)})}Array.isArray(o.bids)&&(u={},s=[],0!==(t=o.bids.filter(b)).length?(d={},t.forEach(function(e){(d[e.bidId]=e).adUnitCode||(e.adUnitCode=e.placementCode)}),(i=p.buildRequests(t,o))&&0!==i.length?(Array.isArray(i)||(i=[i]),f=Object(S.delayExecution)(r(l),i.length),i.forEach(function(i){switch(i.method){case"GET":n("".concat(i.url).concat(function(e){if(e)return"?".concat("object"===O(e)?Object(S.parseQueryStringParameters)(e):e);return""}(i.data)),{success:r(e),error:t},void 0,T({method:"GET",withCredentials:!0},i.options));break;case"POST":n(i.url,{success:r(e),error:t},"string"==typeof i.data?i.data:JSON.stringify(i.data),T({method:"POST",contentType:"text/plain",withCredentials:!0},i.options));break;default:Object(S.logWarn)("Skipping invalid request from ".concat(p.code,". Request type ").concat(i.type," must be GET or POST")),f()}function e(e,t){c(p.code);try{e=JSON.parse(e)}catch(e){}var n;e={body:e,headers:{get:t.getResponseHeader.bind(t)}},s.push(e);try{n=p.interpretResponse(e,i)}catch(e){return Object(S.logError)("Bidder ".concat(p.code," failed to interpret the server's response. Continuing without bids"),null,e),void f()}function r(e){var t,n,r,i=d[e.requestId];i?(e.originalCpm=e.cpm,e.originalCurrency=e.currency,e.meta=e.meta||T({},e[i.bidder]),t=T(Object(y.a)(h.a.STATUS.GOOD,i),e),n=i.adUnitCode,r=t,u[n]=!0,U(n,r,[o])&&a(n,r)):Object(S.logWarn)("Bidder ".concat(p.code," made bid for unknown request ID: ").concat(e.requestId,". Ignoring."))}n&&(Object(S.isArray)(n)?n.forEach(r):r(n)),f(n)}function t(e){c(p.code),Object(S.logError)("Server call for ".concat(p.code," failed: ").concat(e,". Continuing without bids.")),f()}})):l()):l())}});function g(e,t,n){_(p,e,t,n)}function b(e){return!!p.isBidRequestValid(e)||(Object(S.logWarn)("Invalid bid sent to bidder ".concat(p.code,": ").concat(JSON.stringify(e))),!1)}}var _=Object(g.b)("async",function(t,e,n,r){var i,o,a=v.b.getConfig("userSync.aliasSyncEnabled");!t.getUserSyncs||!a&&c.default.aliasRegistry[t.code]||(i=v.b.getConfig("userSync.filterSettings"),(o=t.getUserSyncs({iframeEnabled:!(!i||!i.iframe&&!i.all),pixelEnabled:!(!i||!i.image&&!i.all)},e,n,r))&&(Array.isArray(o)||(o=[o]),o.forEach(function(e){u.a.registerSync(e.type,t.code,e.url)})))},"registerSyncs");function B(e,t){if(!v.b.getConfig("adpod.brandCategoryExclusion"))return e.call(this,t);t.filter(function(e){return Object(S.deepAccess)(e,"mediaTypes.video.context")===p.a}).map(function(e){return e.bids.map(function(e){return e.bidder})}).reduce(S.flatten,[]).filter(S.uniques).forEach(function(n){var e=c.default.getBidAdapter(n);if(e.getSpec().getMappingFileInfo){var t=e.getSpec().getMappingFileInfo(),r=t.refreshInDays?t.refreshInDays:j,i=t.localStorageKey?t.localStorageKey:e.getSpec().code,o=I.getDataFromLocalStorage(i);try{(!(o=o?JSON.parse(o):void 0)||Object(S.timestamp)()>o.lastUpdated+24*r*60*60*1e3)&&Object(l.a)(t.url,{success:function(e){try{e=JSON.parse(e);var t={lastUpdated:Object(S.timestamp)(),mapping:e.mapping};I.setDataInLocalStorage(i,JSON.stringify(t))}catch(e){Object(S.logError)("Failed to parse ".concat(n," bidder translation mapping file"))}},error:function(){Object(S.logError)("Failed to load ".concat(n," bidder translation file"))}})}catch(e){Object(S.logError)("Failed to parse ".concat(n," bidder translation mapping file"))}}}),e.call(this,t)}function U(e,t,n){function r(e){return"Invalid bid from ".concat(t.bidderCode,". Ignoring bid: ").concat(e)}return e?t?(i=Object.keys(t),C.every(function(e){return f()(i,e)&&!f()([void 0,null],t[e])})?"native"!==t.mediaType||Object(o.g)(t,n)?"video"!==t.mediaType||Object(a.d)(t,n)?!("banner"===t.mediaType&&!function(e,t,n){if((t.width||0===parseInt(t.width,10))&&(t.height||0===parseInt(t.height,10)))return t.width=parseInt(t.width,10),t.height=parseInt(t.height,10),1;var r=Object(S.getBidderRequest)(n,t.bidderCode,e),i=r&&r.bids&&r.bids[0]&&r.bids[0].sizes,o=Object(S.parseSizesInput)(i);if(1===o.length){var a=A(o[0].split("x"),2),c=a[0],u=a[1];return t.width=parseInt(c,10),t.height=parseInt(u,10),1}}(e,t,n))||(Object(S.logError)(r("Banner bids require a width and height")),!1):(Object(S.logError)(r("Video bid does not have required vastUrl or renderer property")),!1):(Object(S.logError)(r("Native bid missing some required properties.")),!1):(Object(S.logError)(r("Bidder ".concat(t.bidderCode," is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params."))),!1)):(Object(S.logWarn)("Some adapter tried to add an undefined bid for ".concat(e,".")),!1):(Object(S.logWarn)("No adUnitCode was supplied to addBidResponse."),!1);var i}Object(g.a)("checkAdUnitSetup").before(B)},10:function(e,t,n){var r=n(100);e.exports=r},100:function(e,t,n){n(101);var r=n(52);e.exports=r("Array","find")},101:function(e,t,n){"use strict";var r=n(14),i=n(56).find,o=n(51),a=n(60),c="find",u=!0,s=a(c);c in[]&&Array(1)[c](function(){u=!1}),r({target:"Array",proto:!0,forced:u||!s},{find:function(e,t){return i(this,e,1<arguments.length?t:void 0)}}),o(c)},102:function(e,t,n){var r=n(29),i=n(103),o=n(45),a=n(46),c=n(55),u=n(27),s=n(76),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=a(e),t=c(t,!0),s)try{return d(e,t)}catch(e){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},1025:function(e,t,n){e.exports=n(72)},103:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},104:function(e,t,n){function r(e,t){var n=c[a(e)];return n==s||n!=u&&("function"==typeof t?i(t):!!t)}var i=n(30),o=/#|\.prototype\./,a=r.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=r.data={},u=r.NATIVE="N",s=r.POLYFILL="P";e.exports=r},105:function(e,t,n){var r=n(31),i=n(106),o=n(22)("species");e.exports=function(e,t){var n;return i(e)&&("function"==typeof(n=e.constructor)&&(n===Array||i(n.prototype))||r(n)&&null===(n=n[o]))&&(n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},106:function(e,t,n){var r=n(47);e.exports=Array.isArray||function(e){return"Array"==r(e)}},107:function(e,t,n){var r=n(26),i=n(32);e.exports=function(t,n){try{i(r,t,n)}catch(e){r[t]=n}return n}},108:function(e,t,n){var r=n(80);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},109:function(e,t,n){n(110);var r=n(52);e.exports=r("Array","includes")},11:function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return c}),t.d=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:15;0===e.getHooks({hook:t}).length&&e.before(t,n)},t.c=function(e,n){a("async",function(e){e.forEach(function(e){return n.apply(void 0,function(e){if(Array.isArray(e))return o(e)}(t=e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var t})},e)([])},t.e=function(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];c(e).before(function(e,t){t.push(n),e(t)})};var r=n(165),i=n.n(r);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=i()({ready:i.a.SYNC|i.a.ASYNC|i.a.QUEUE}),c=a.get},110:function(e,t,n){"use strict";var r=n(14),i=n(81).includes,o=n(51);r({target:"Array",proto:!0,forced:!n(60)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e,t){return i(this,e,1<arguments.length?t:void 0)}}),o("includes")},111:function(e,t,n){var r=n(58),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},112:function(e,t,n){n(113),n(130),n(92),n(132);var r=n(49);e.exports=r.Set},113:function(e,t,n){"use strict";var r=n(114),i=n(119);e.exports=r("Set",function(t){return function(e){return t(this,arguments.length?e:void 0)}},i)},114:function(e,t,n){"use strict";var f=n(14),l=n(26),p=n(83),g=n(30),b=n(32),v=n(18),y=n(86),h=n(31),m=n(64),S=n(34).f,A=n(56).forEach,E=n(29),r=n(54),O=r.set,T=r.getterFor;e.exports=function(n,e,t){var r,a,i=-1!==n.indexOf("Map"),c=-1!==n.indexOf("Weak"),o=i?"set":"add",u=l[n],s=u&&u.prototype,d={};return E&&"function"==typeof u&&(c||s.forEach&&!g(function(){(new u).entries().next()}))?(r=e(function(e,t){O(y(e,r,n),{type:n,collection:new u}),null!=t&&v(t,e[o],e,i)}),a=T(n),A(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(i){var o="add"==i||"set"==i;i in s&&(!c||"clear"!=i)&&b(r.prototype,i,function(e,t){var n=a(this).collection;if(!o&&c&&!h(e))return"get"==i&&void 0;var r=n[i](0===e?0:e,t);return o?this:r})}),c||S(r.prototype,"size",{configurable:!0,get:function(){return a(this).collection.size}})):(r=t.getConstructor(e,n,i,o),p.REQUIRED=!0),m(r,n,!1,!0),d[n]=r,f({global:!0,forced:!0},d),c||t.setStrong(r,n,i),r}},115:function(e,t,n){var r=n(30);e.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},116:function(e,t,n){"use strict";var r=n(63),i=n(62);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},117:function(e,t,n){var r=n(26),i=n(118),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},118:function(e,t,n){var r=n(79),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},119:function(e,t,n){"use strict";var s=n(34).f,d=n(87),f=n(124),l=n(25),p=n(86),g=n(18),a=n(66),c=n(129),b=n(29),v=n(83).fastKey,r=n(54),y=r.set,h=r.getterFor;e.exports={getConstructor:function(e,n,r,i){function o(e,t,n){var r,i,o=c(e),a=u(e,t);return a?a.value=n:(o.last=a={index:i=v(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),b?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e}var a=e(function(e,t){p(e,a,n),y(e,{type:n,index:d(null),first:void 0,last:void 0,size:0}),b||(e.size=0),null!=t&&g(t,e[i],e,r)}),c=h(n),u=function(e,t){var n,r=c(e),i=v(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return f(a.prototype,{clear:function(){for(var e=c(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,b?e.size=0:this.size=0},delete:function(e){var t,n,r=c(this),i=u(this,e);return i&&(t=i.next,n=i.previous,delete r.index[i.index],i.removed=!0,n&&(n.next=t),t&&(t.previous=n),r.first==i&&(r.first=t),r.last==i&&(r.last=n),b?r.size--:this.size--),!!i},forEach:function(e,t){for(var n,r=c(this),i=l(e,1<arguments.length?t:void 0,3);n=n?n.next:r.first;)for(i(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!u(this,e)}}),f(a.prototype,r?{get:function(e){var t=u(this,e);return t&&t.value},set:function(e,t){return o(this,0===e?0:e,t)}}:{add:function(e){return o(this,e=0===e?0:e,e)}}),b&&s(a.prototype,"size",{get:function(){return c(this).size}}),a},setStrong:function(e,t,n){var r=t+" Iterator",i=h(t),o=h(r);a(e,t,function(e,t){y(this,{type:r,target:e,state:i(e),kind:t,last:void 0})},function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:{value:e.target=void 0,done:!0}},n?"entries":"values",!n,!0),c(t)}}},12:function(e,t,n){"use strict";t.a=i,t.c=function(e){return!(!e||!e.url)},t.b=function(e,t){e.render(t)};var u=n(39),s=n(0),r=n(10),d=n.n(r),f="outstream";function i(e){var t=this,r=e.url,n=e.config,i=e.id,o=e.callback,a=e.loaded,c=e.adUnitCode;this.url=r,this.config=n,this.handlers={},this.id=i,this.loaded=a,this.cmd=[],this.push=function(e){"function"==typeof e?t.loaded?e.call():t.cmd.push(e):s.logError("Commands given to Renderer.push must be wrapped in a function")},this.callback=o||function(){t.loaded=!0,t.process()},this.render=function(){function e(){t._render?t._render.apply(t,n):s.logWarn("No render function was provided, please use .setRender on the renderer")}var t=this,n=arguments;!function(t){var e=pbjs.adUnits,n=d()(e,function(e){return e.code===t});if(!n)return!1;var r=s.deepAccess(n,"renderer"),i=!!(r&&r.url&&r.render),o=s.deepAccess(n,"mediaTypes.video.renderer"),a=!!(o&&o.url&&o.render);return!!(i&&!0!==r.backupOnly||a&&!0!==o.backupOnly)}(c)?(this.cmd.unshift(e),Object(u.a)(r,f,this.callback)):(s.logWarn("External Js not loaded by Renderer since renderer url and callback is already defined on adUnit ".concat(c)),e())}.bind(this)}i.install=function(e){return new i({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded,adUnitCode:e.adUnitCode})},i.prototype.getConfig=function(){return this.config},i.prototype.setRender=function(e){this._render=e},i.prototype.setEventHandlers=function(e){this.handlers=e},i.prototype.handleVideoEvent=function(e){var t=e.id,n=e.eventName;"function"==typeof this.handlers[n]&&this.handlers[n](),s.logMessage("Prebid Renderer event for id ".concat(t," type ").concat(n))},i.prototype.process=function(){for(;0<this.cmd.length;)try{this.cmd.shift().call()}catch(e){s.logError("Error processing Renderer command: ",e)}}},120:function(e,t,n){var r=n(29),a=n(34),c=n(15),u=n(121);e.exports=r?Object.defineProperties:function(e,t){c(e);for(var n,r=u(t),i=r.length,o=0;o<i;)a.f(e,n=r[o++],t[n]);return e}},121:function(e,t,n){var r=n(122),i=n(88);e.exports=Object.keys||function(e){return r(e,i)}},122:function(e,t,n){var a=n(27),c=n(46),u=n(81).indexOf,s=n(53);e.exports=function(e,t){var n,r=c(e),i=0,o=[];for(n in r)!a(s,n)&&a(r,n)&&o.push(n);for(;t.length>i;)a(r,n=t[i++])&&(~u(o,n)||o.push(n));return o}},123:function(e,t,n){var r=n(28);e.exports=r("document","documentElement")},124:function(e,t,n){var i=n(89);e.exports=function(e,t,n){for(var r in t)n&&n.unsafe&&e[r]?e[r]=t[r]:i(e,r,t[r],n);return e}},125:function(e,t,n){"use strict";function i(){return this}var o=n(90).IteratorPrototype,a=n(87),c=n(45),u=n(64),s=n(40);e.exports=function(e,t,n){var r=t+" Iterator";return e.prototype=a(o,{next:c(1,n)}),u(e,r,!1,!0),s[r]=i,e}},126:function(e,t,n){var r=n(30);e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},127:function(e,t,n){var i=n(15),o=n(128);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var n,r=!1,e={};try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),r=e instanceof Array}catch(e){}return function(e,t){return i(e),o(t),r?n.call(e,t):e.__proto__=t,e}}():void 0)},128:function(e,t,n){var r=n(31);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},129:function(e,t,n){"use strict";var r=n(28),i=n(34),o=n(22),a=n(29),c=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},13:function(e,t,n){var r=n(109);e.exports=r},130:function(e,t){},131:function(e,t,n){function r(c){return function(e,t){var n,r,i=String(s(e)),o=u(t),a=i.length;return o<0||a<=o?c?"":void 0:(n=i.charCodeAt(o))<55296||56319<n||o+1===a||(r=i.charCodeAt(o+1))<56320||57343<r?c?i.charAt(o):n:c?i.slice(o,o+2):r-56320+(n-55296<<10)+65536}}var u=n(58),s=n(48);e.exports={codeAt:r(!1),charAt:r(!0)}},132:function(e,t,n){n(133);var r=n(134),i=n(26),o=n(62),a=n(32),c=n(40),u=n(22)("toStringTag");for(var s in r){var d=i[s],f=d&&d.prototype;f&&o(f)!==u&&a(f,u,s),c[s]=c.Array}},133:function(e,t,n){"use strict";var r=n(46),i=n(51),o=n(40),a=n(54),c=n(66),u="Array Iterator",s=a.set,d=a.getterFor(u);e.exports=c(Array,"Array",function(e,t){s(this,{type:u,target:r(e),index:0,kind:t})},function(){var e=d(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?{value:e.target=void 0,done:!0}:"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},134:function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},135:function(e,t,n){n(14)({target:"Set",stat:!0},{from:n(136)})},136:function(e,t,n){"use strict";var s=n(21),d=n(25),f=n(18);e.exports=function(e,t,n){var r,i,o,a,c=arguments.length,u=1<c?t:void 0;return s(this),(r=void 0!==u)&&s(u),null==e?new this:(i=[],r?(o=0,a=d(u,2<c?n:void 0,2),f(e,function(e){i.push(a(e,o++))})):f(e,i.push,i),new this(i))}},137:function(e,t,n){n(14)({target:"Set",stat:!0},{of:n(138)})},138:function(e,t,n){"use strict";e.exports=function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}},139:function(e,t,n){"use strict";var r=n(14),i=n(17),o=n(140);r({target:"Set",proto:!0,real:!0,forced:i},{addAll:function(){return o.apply(this,arguments)}})},14:function(e,t,n){"use strict";function y(r){function e(e,t,n){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(e);case 2:return new r(e,t)}return new r(e,t,n)}return r.apply(this,arguments)}return e.prototype=r.prototype,e}var h=n(26),m=n(102).f,S=n(104),A=n(49),E=n(25),O=n(32),T=n(27);e.exports=function(e,t){var n,r,i,o,a,c,u,s,d=e.target,f=e.global,l=e.stat,p=e.proto,g=f?h:l?h[d]:(h[d]||{}).prototype,b=f?A:A[d]||(A[d]={}),v=b.prototype;for(i in t)n=!S(f?i:d+(l?".":"#")+i,e.forced)&&g&&T(g,i),a=b[i],n&&(c=e.noTargetGet?(s=m(g,i))&&s.value:g[i]),o=n&&c?c:t[i],n&&typeof a==typeof o||(u=e.bind&&n?E(o,h):e.wrap&&n?y(o):p&&"function"==typeof o?E(Function.call,o):o,(e.sham||o&&o.sham||a&&a.sham)&&O(u,"sham",!0),b[i]=u,p&&(T(A,r=d+"Prototype")||O(A,r,{}),A[r][i]=o,e.real&&v&&!v[i]&&O(v,i,o)))}},140:function(e,t,n){"use strict";var i=n(15),o=n(21);e.exports=function(){for(var e=i(this),t=o(e.add),n=0,r=arguments.length;n<r;n++)t.call(e,arguments[n]);return e}},141:function(e,t,n){"use strict";var r=n(14),i=n(17),o=n(142);r({target:"Set",proto:!0,real:!0,forced:i},{deleteAll:function(){return o.apply(this,arguments)}})},142:function(e,t,n){"use strict";var a=n(15),c=n(21);e.exports=function(){for(var e,t=a(this),n=c(t.delete),r=!0,i=0,o=arguments.length;i<o;i++)e=n.call(t,arguments[i]),r=r&&e;return!!r}},143:function(e,t,n){"use strict";var r=n(14),i=n(17),o=n(15),a=n(25),c=n(37),u=n(18);r({target:"Set",proto:!0,real:!0,forced:i},{every:function(e,t){var n=o(this),r=c(n),i=a(e,1<arguments.length?t:void 0,3);return!u(r,function(e){if(!i(e,e,n))return u.stop()},void 0,!1,!0).stopped}})},144:function(e,t,n){"use strict";var r=n(14),i=n(17),o=n(28),a=n(15),c=n(21),u=n(41),s=n(18);r({target:"Set",proto:!0,real:!0,forced:i},{difference:function(e){var t=a(this),n=new(u(t,o("Set")))(t),r=c(n.delete);return s(e,function(e){r.call(n,e)}),n}})},145:function(e,t,n){"use strict";var r=n(14),i=n(17),c=n(28),u=n(15),s=n(21),d=n(25),f=n(41),l=n(37),p=n(18);r({target:"Set",proto:!0,real:!0,forced:i},{filter:function(e,t){var n=u(this),r=l(n),i=d(e,1<arguments.length?t:void 0,3),o=new(f(n,c("Set"))),a=s(o.add);return p(r,function(e){i(e,e,n)&&a.call(o,e)},void 0,!1,!0),o}})},146:function(e,t,n){"use strict";var r=n(14),i=n(17),o=n(15),a=n(25),c=n(37),u=n(18);r({target:"Set",proto:!0,real:!0,forced:i},{find:function(e,t){var n=o(this),r=c(n),i=a(e,1<arguments.length?t:void 0,3);return u(r,function(e){if(i(e,e,n))return u.stop(e)},void 0,!1,!0).result}})},147:function(e,t,n){"use strict";var r=n(14),i=n(17),o=n(28),a=n(15),c=n(21),u=n(41),s=n(18);r({target:"Set",proto:!0,real:!0,forced:i},{intersection:function(e){var t=a(this),n=new(u(t,o("Set"))),r=c(t.has),i=c(n.add);return s(e,function(e){r.call(t,e)&&i.call(n,e)}),n}})},148:function(e,t,n){"use strict";var r=n(14),i=n(17),o=n(15),a=n(21),c=n(18);r({target:"Set",proto:!0,real:!0,forced:i},{isDisjointFrom:function(e){var t=o(this),n=a(t.has);return!c(e,function(e){if(!0===n.call(t,e))return c.stop()}).stopped}})},149:function(e,t,n){"use strict";var r=n(14),i=n(17),o=n(28),a=n(15),c=n(21),u=n(93),s=n(18);r({target:"Set",proto:!0,real:!0,forced:i},{isSubsetOf:function(e){var t=u(this),n=a(e),r=n.has;return"function"!=typeof r&&(n=new(o("Set"))(e),r=c(n.has)),!s(t,function(e){if(!1===r.call(n,e))return s.stop()},void 0,!1,!0).stopped}})},15:function(e,t,n){var r=n(31);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},150:function(e,t,n){"use strict";var r=n(14),i=n(17),o=n(15),a=n(21),c=n(18);r({target:"Set",proto:!0,real:!0,forced:i},{isSupersetOf:function(e){var t=o(this),n=a(t.has);return!c(e,function(e){if(!1===n.call(t,e))return c.stop()}).stopped}})},151:function(e,t,n){"use strict";var r=n(14),i=n(17),o=n(15),a=n(37),c=n(18);r({target:"Set",proto:!0,real:!0,forced:i},{join:function(e){var t=o(this),n=a(t),r=void 0===e?",":String(e),i=[];return c(n,i.push,i,!1,!0),i.join(r)}})},152:function(e,t,n){"use strict";var r=n(14),i=n(17),c=n(28),u=n(15),s=n(21),d=n(25),f=n(41),l=n(37),p=n(18);r({target:"Set",proto:!0,real:!0,forced:i},{map:function(e,t){var n=u(this),r=l(n),i=d(e,1<arguments.length?t:void 0,3),o=new(f(n,c("Set"))),a=s(o.add);return p(r,function(e){a.call(o,i(e,e,n))},void 0,!1,!0),o}})},153:function(e,t,n){"use strict";var r=n(14),i=n(17),a=n(15),c=n(21),u=n(37),s=n(18);r({target:"Set",proto:!0,real:!0,forced:i},{reduce:function(t,e){var n=a(this),r=u(n),i=arguments.length<2,o=i?void 0:e;if(c(t),s(r,function(e){o=i?(i=!1,e):t(o,e,e,n)},void 0,!1,!0),i)throw TypeError("Reduce of empty set with no initial value");return o}})},154:function(e,t,n){"use strict";var r=n(14),i=n(17),o=n(15),a=n(25),c=n(37),u=n(18);r({target:"Set",proto:!0,real:!0,forced:i},{some:function(e,t){var n=o(this),r=c(n),i=a(e,1<arguments.length?t:void 0,3);return u(r,function(e){if(i(e,e,n))return u.stop()},void 0,!1,!0).stopped}})},155:function(e,t,n){"use strict";var r=n(14),i=n(17),o=n(28),a=n(15),c=n(21),u=n(41),s=n(18);r({target:"Set",proto:!0,real:!0,forced:i},{symmetricDifference:function(e){var t=a(this),n=new(u(t,o("Set")))(t),r=c(n.delete),i=c(n.add);return s(e,function(e){r.call(n,e)||i.call(n,e)}),n}})},156:function(e,t,n){"use strict";var r=n(14),i=n(17),o=n(28),a=n(15),c=n(21),u=n(41),s=n(18);r({target:"Set",proto:!0,real:!0,forced:i},{union:function(e){var t=a(this),n=new(u(t,o("Set")))(t);return s(e,c(n.add),n),n}})},157:function(e,t,n){n(92),n(158);var r=n(49);e.exports=r.Array.from},158:function(e,t,n){var r=n(14),i=n(159);r({target:"Array",stat:!0,forced:!n(161)(function(e){Array.from(e)})},{from:i})},159:function(e,t,n){"use strict";var v=n(25),y=n(57),h=n(85),m=n(84),S=n(50),A=n(160),E=n(61);e.exports=function(e,t,n){var r,i,o,a,c,u,s=y(e),d="function"==typeof this?this:Array,f=arguments.length,l=1<f?t:void 0,p=void 0!==l,g=E(s),b=0;if(p&&(l=v(l,2<f?n:void 0,2)),null==g||d==Array&&m(g))for(i=new d(r=S(s.length));b<r;b++)u=p?l(s[b],b):s[b],A(i,b,u);else for(c=(a=g.call(s)).next,i=new d;!(o=c.call(a)).done;b++)u=p?h(a,l,[o.value,b],!0):o.value,A(i,b,u);return i.length=b,i}},16:function(e,t,n){"use strict";t.a=function(){return window.pbjs},window.pbjs=window.pbjs||{},window.pbjs.cmd=window.pbjs.cmd||[],window.pbjs.que=window.pbjs.que||[],window._pbjsGlobals=window._pbjsGlobals||[],window._pbjsGlobals.push("pbjs")},160:function(e,t,n){"use strict";var i=n(55),o=n(34),a=n(45);e.exports=function(e,t,n){var r=i(t);r in e?o.f(e,r,a(0,n)):e[r]=n}},161:function(e,t,n){var i=n(22)("iterator"),o=!1;try{var r=0,a={next:function(){return{done:!!r++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}},162:function(e,t){e.exports=function e(t){var n=Array.isArray(t)?[]:{};for(var r in t){var i=t[r];n[r]=i&&"object"==typeof i?e(i):i}return n}},163:function(e,t,n){"use strict";t.a=function(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}},164:function(e,t,n){"use strict";t.a=function(e,t,n){t.split&&(t=t.split("."));for(var r,i=0,o=t.length,a=e;i<o;++i)r=a[t[i]],a=a[t[i]]=i===o-1?n:null!=r?r:!~t[i+1].indexOf(".")&&-1<+t[i+1]?[]:{}}},165:function(e,t){h.SYNC=1,h.ASYNC=2,h.QUEUE=4;var g="fun-hooks";var n=Object.freeze({useProxy:!0,ready:0}),b=new WeakMap,r="2,1,0"===[1].reduce(function(e,t,n){return[e,t,n]},2).toString()?Array.prototype.reduce:function(e,t){var n,r=Object(this),i=r.length>>>0,o=0;if(t)n=t;else{for(;o<i&&!(o in r);)o++;n=r[o++]}for(;o<i;)o in r&&(n=e(n,r[o],o,r)),o++;return n};function v(e,t){return Array.prototype.slice.call(e,t)}var y=Object.assign||function(e){return r.call(v(arguments,1),function(t,n){return n&&Object.keys(n).forEach(function(e){t[e]=n[e]}),t},e)};function h(u){var s,e={},d=[];function t(e,t){return"function"==typeof e?f.call(null,"sync",e,t):"string"==typeof e&&"function"==typeof t?f.apply(null,arguments):"object"==typeof e?function(o,e,a){var t=!0;void 0===e&&(e=Object.getOwnPropertyNames(o),t=!1);var c={},n=["constructor"];for(;(e=e.filter(function(e){return!("function"!=typeof o[e]||-1!==n.indexOf(e)||e.match(/^_/))})).forEach(function(e){var t,n=e.split(":"),r=n[0],i=n[1]||"sync";c[r]||(t=o[r],c[r]=o[r]=f(i,t,a?[a,r]:void 0))}),o=Object.getPrototypeOf(o),t&&o;);return c}.apply(null,arguments):void 0}function l(o){var a=Array.isArray(o)?o:o.split(".");return r.call(a,function(t,n,e){var r=t[n],i=!1;return r||(e===a.length-1?(s||d.push(function(){i||console.warn(g+": referenced '"+o+"' but it was never created")}),t[n]=p(function(e){t[n]=e,i=!0})):t[n]={})},e)}function p(r){var o=[],a=[],c=function(){},e={before:function(e,t){return n.call(this,o,"before",e,t)},after:function(e,t){return n.call(this,a,"after",e,t)},getHooks:function(n){var e=o.concat(a);"object"==typeof n&&(e=e.filter(function(t){return Object.keys(n).every(function(e){return t[e]===n[e]})}));try{y(e,{remove:function(){return e.forEach(function(e){e.remove()}),this}})}catch(e){console.error("error adding `remove` to array, did you modify Array.prototype?")}return e},removeAll:function(){return this.getHooks().remove()}},t={install:function(e,t,n){this.type=e,(c=n)(o,a),r&&r(t)}};return b.set(e.after,t),e;function n(t,e,n,r){var i={hook:n,type:e,priority:r||10,remove:function(){var e=t.indexOf(i);-1!==e&&(t.splice(e,1),c(o,a))}};return t.push(i),t.sort(function(e,t){return t.priority-e.priority}),c(o,a),this}}function f(f,e,t){var n=e.after&&b.get(e.after);if(n){if(n.type!==f)throw g+": recreated hookable with different type";return e}var r,i,o=t?l(t):p(),a={get:function(e,t){return o[t]||Reflect.get.apply(Reflect,arguments)}};return s||d.push(c),u.useProxy&&"function"==typeof Proxy&&Proxy.revocable?i=new Proxy(e,a):y(i=function(){return a.apply?a.apply(e,this,v(arguments)):e.apply(this,arguments)},o),b.get(i.after).install(f,i,function(e,t){var s,d=[];r=e.length||t.length?(e.forEach(n),s=d.push(void 0)-1,t.forEach(n),function(n,r,e){var i,o=0,a="async"===f&&"function"==typeof e[e.length-1]&&e.pop();function c(e){"sync"===f?i=e:a&&a.apply(null,arguments)}function u(e){if(d[o]){var t=v(arguments);return u.bail=c,t.unshift(u),d[o++].apply(r,t)}"sync"===f?i=e:a&&a.apply(null,arguments)}return d[s]=function(){var e=v(arguments,1);"async"===f&&a&&(delete u.bail,e.push(u));var t=n.apply(r,e);"sync"===f&&u(t)},u.apply(null,e),i}):void 0;function n(e){d.push(e.hook)}c()}),i;function c(){!s&&("sync"!==f||u.ready&h.SYNC)&&("async"!==f||u.ready&h.ASYNC)?"sync"!==f&&u.ready&h.QUEUE?a.apply=function(){var e=arguments;d.push(function(){i.apply(e[1],e[2])})}:a.apply=function(){throw g+": hooked function not ready"}:a.apply=r}}return(u=y({},n,u)).ready?t.ready=function(){s=!0,function(e){for(var t;t=e.shift();)t()}(d)}:s=!0,t.get=l,t}e.exports=h},17:function(e,t){e.exports=!0},18:function(e,t,n){function p(e,t){this.stopped=e,this.result=t}var g=n(15),b=n(84),v=n(50),y=n(25),h=n(61),m=n(85);(e.exports=function(e,t,n,r,i){var o,a,c,u,s,d,f,l=y(t,n,r?2:1);if(i)o=e;else{if("function"!=typeof(a=h(e)))throw TypeError("Target is not iterable");if(b(a)){for(c=0,u=v(e.length);c<u;c++)if((s=r?l(g(f=e[c])[0],f[1]):l(e[c]))&&s instanceof p)return s;return new p(!1)}o=a.call(e)}for(d=o.next;!(f=d.call(o)).done;)if("object"==typeof(s=m(o,l,f.value,r))&&s&&s instanceof p)return s;return new p(!1)}).stop=function(e){return new p(!0,e)}},19:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var h=n(3),m=n(0);var S,r=(S=window,function(){var e,t=[],n=function(e){try{if(!e.location.ancestorOrigins)return;return e.location.ancestorOrigins}catch(e){}}(S),r=h.b.getConfig("maxNestedIframes"),i=!1,o=0,a=!1,c=!1;do{var u,s,d=b,f=c,l=void 0,p=!1,g=null,c=!1,b=b?b.parent:S;try{l=b.location.href||null}catch(e){p=!0}if(p)if(f){var v=d.context;try{s=g=v.sourceUrl,a=!0,b===S.top&&(i=!0),v.canonicalUrl&&(e=v.canonicalUrl)}catch(e){}}else{Object(m.logWarn)("Trying to access cross domain iframe. Continuing without referrer and location");try{var y=d.document.referrer;y&&(g=y,b===S.top&&(i=!0))}catch(e){}!g&&n&&n[o-1]&&(g=n[o-1]),g&&!a&&(s=g)}else l&&(s=g=l,a=!1,b===S.top&&(i=!0,(u=function(e){try{var t=e.querySelector("link[rel='canonical']");if(null!==t)return t.href}catch(e){}return null}(b.document))&&(e=u))),b.context&&b.context.sourceUrl&&(c=!0);t.push(g),o++}while(b!==S.top&&o<r);return t.reverse(),{referer:s||null,reachedTop:i,isAmp:a,numIframes:o-1,stack:t,canonicalUrl:e||null}})},2:function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"d",function(){return i}),n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});var r="native",i="video",o="banner",a="adpod"},21:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},22:function(e,t,n){var r=n(26),i=n(78),o=n(27),a=n(59),c=n(80),u=n(108),s=i("wks"),d=r.Symbol,f=u?d:d&&d.withoutSetter||a;e.exports=function(e){return o(s,e)||(c&&o(d,e)?s[e]=d[e]:s[e]=f("Symbol."+e)),s[e]}},23:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n(0),s=n(33),i=n(10),o=n.n(i),a=n(5);var d,c,u=(d=[],(c={}).addWinningBid=function(t){var e=o()(d,function(e){return e.getAuctionId()===t.auctionId});e?(t.status=a.BID_STATUS.RENDERED,e.addWinningBid(t)):Object(r.logWarn)("Auction not found when adding winning bid")},c.getAllWinningBids=function(){return d.map(function(e){return e.getWinningBids()}).reduce(r.flatten,[])},c.getBidsRequested=function(){return d.map(function(e){return e.getBidRequests()}).reduce(r.flatten,[])},c.getNoBids=function(){return d.map(function(e){return e.getNoBids()}).reduce(r.flatten,[])},c.getBidsReceived=function(){return d.map(function(e){if(e.getAuctionStatus()===s.a)return e.getBidsReceived()}).reduce(r.flatten,[]).filter(function(e){return e})},c.getAllBidsForAdUnitCode=function(t){return d.map(function(e){return e.getBidsReceived()}).reduce(r.flatten,[]).filter(function(e){return e&&e.adUnitCode===t})},c.getAdUnits=function(){return d.map(function(e){return e.getAdUnits()}).reduce(r.flatten,[])},c.getAdUnitCodes=function(){return d.map(function(e){return e.getAdUnitCodes()}).reduce(r.flatten,[]).filter(r.uniques)},c.createAuction=function(e){var t,n=e.adUnits,r=e.adUnitCodes,i=e.callback,o=e.cbTimeout,a=e.labels,c=e.auctionId,u=Object(s.k)({adUnits:n,adUnitCodes:r,callback:i,cbTimeout:o,labels:a,auctionId:c});return t=u,d.push(t),u},c.findBidByAdId=function(t){return o()(d.map(function(e){return e.getBidsReceived()}).reduce(r.flatten,[]),function(e){return e.adId===t})},c.getStandardBidderAdServerTargeting=function(){return Object(s.j)()[a.JSON_MAPPING.ADSERVER_TARGETING]},c.setStatusForBids=function(e,t){var n,r=c.findBidByAdId(e);r&&(r.status=t),!r||t!==a.BID_STATUS.BID_TARGETING_SET||(n=o()(d,function(e){return e.getAuctionId()===r.auctionId}))&&n.setBidTargeting(r)},c.getLastAuctionId=function(){return d.length&&d[d.length-1].getAuctionId()},c.clearAllAuctions=function(){d.length=0},c)},232:function(e,t,n){n(233);var r=n(52);e.exports=r("Array","findIndex")},233:function(e,t,n){"use strict";var r=n(14),i=n(56).findIndex,o=n(51),a=n(60),c="findIndex",u=!0,s=a(c);c in[]&&Array(1)[c](function(){u=!1}),r({target:"Array",proto:!0,forced:u||!s},{findIndex:function(e,t){return i(this,e,1<arguments.length?t:void 0)}}),o(c)},24:function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"a",function(){return u}),t.d=function(e,t){var n=Object(o.getBidRequest)(e.requestId,t),r=n&&Object(o.deepAccess)(n,"mediaTypes.video"),i=r&&Object(o.deepAccess)(r,"context");return s(e,n,r,i)},n.d(t,"c",function(){return s});n(8);var o=n(0),i=n(3),r=n(13),a=(n.n(r),n(11)),c="outstream",u="instream";var s=Object(a.b)("sync",function(e,t,n,r){return!t||n&&r!==c?i.b.getConfig("cache.url")||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):(Object(o.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 '),!1):r!==c||!!(e.renderer||t.renderer||n.renderer)},"checkVideoBidSetup")},240:function(e,t,n){"use strict";t.a=function(){window.addEventListener("message",c,!1)};var r=n(9),b=n.n(r),v=n(38),i=n(5),y=n.n(i),h=n(0),m=n(23),o=n(10),S=n.n(o),A=n(12),a=n(13),d=n.n(a),E=n(3),O=y.a.EVENTS.BID_WON,T=y.a.EVENTS.STALE_RENDER;function c(e){var t,n,r,i,o,a,c,u,s,d=e.message?"message":"data",f={};try{f=JSON.parse(e[d])}catch(e){return}if(f&&f.adId){var l,p=S()(m.a.getBidsReceived(),function(e){return e.adId===f.adId});if(p&&"Prebid Request"===f.message){if(p.status===y.a.BID_STATUS.RENDERED&&(Object(h.logWarn)("Ad id ".concat(p.adId," has been rendered before")),b.a.emit(T,p),Object(h.deepAccess)(E.b.getConfig("auctionOptions"),"suppressStaleRender")))return;n=e,r=(t=p).adId,i=t.ad,o=t.adUrl,a=t.width,c=t.height,u=t.renderer,s=t.cpm,Object(A.c)(u)?Object(A.b)(u,t):r&&(I(t),n.source.postMessage(JSON.stringify({message:"Prebid Response",ad:Object(h.replaceAuctionPrice)(i,s),adUrl:Object(h.replaceAuctionPrice)(o,s),adId:r,width:a,height:c}),n.origin)),m.a.addWinningBid(p),b.a.emit(O,p)}if(p&&"Prebid Native"===f.message){if("assetRequest"===f.action){var g=Object(v.d)(f,p);return void e.source.postMessage(JSON.stringify(g),e.origin)}if("allAssetRequest"===f.action?(l=Object(v.c)(f,p),e.source.postMessage(JSON.stringify(l),e.origin)):"resizeNativeHeight"===f.action&&(p.height=f.height,p.width=f.width,I(p)),"click"===Object(v.b)(f,p))return;m.a.addWinningBid(p),b.a.emit(O,p)}}}function I(e){var a=e.adId,c=e.adUnitCode,u=e.width,s=e.height;["div","iframe"].forEach(function(e){var t,n,r,i,o=(t=e+':not([style*="display: none"])',n=function(e,t){return window.googletag?function(n){return S()(window.googletag.pubads().getSlots(),function(t){return S()(t.getTargetingKeys(),function(e){return d()(t.getTargeting(e),n)})}).getSlotElementId()}(e):window.apntag?function(e){var t=window.apntag.getTag(e);return t&&t.targetId}(t):t}(a,c),(r=document.getElementById(n))&&r.querySelector(t));o?((i=o.style).width=u+"px",i.height=s+"px"):Object(h.logWarn)("Unable to locate matching page element for adUnitCode ".concat(c,". Can't resize it to ad's dimensions. Please review setup."))})}},241:function(e,t,n){"use strict";t.a=function(e){var t;try{e=e||window.sessionStorage,t=JSON.parse(e.getItem(u))}catch(e){}t&&p(t,!0)};var r,i,o=n(3),a=n(0),c=n(33),u="pbjs:debugging";function s(e){Object(a.logMessage)("DEBUG: "+e)}function d(e){Object(a.logWarn)("DEBUG: "+e)}function f(e){r=function(e,t,n){if(b(this.bidders,n.bidderCode))return void d("bidder '".concat(n.bidderCode,"' excluded from auction by bidder overrides"));Array.isArray(this.bids)&&this.bids.forEach(function(e){g(e,n.bidderCode,t)||v(e,n,"bidder")});e(t,n)}.bind(e),c.c.before(r,5),i=function(e,t){var r=this,n=t.filter(function(e){return!b(r.bidders,e.bidderCode)||(d("bidRequest '".concat(e.bidderCode,"' excluded from auction by bidder overrides")),!1)});Array.isArray(r.bidRequests)&&n.forEach(function(n){r.bidRequests.forEach(function(t){n.bids.forEach(function(e){g(t,n.bidderCode,e.adUnitCode)||v(t,e,"bidRequest")})})});e(n)}.bind(e),c.e.before(i,5)}function l(){c.c.getHooks({hook:r}).remove(),c.e.getHooks({hook:i}).remove()}function p(e,t){var n=1<arguments.length&&void 0!==t&&t;o.b.setConfig({debug:!0}),l(),f(e),s("bidder overrides enabled".concat(n?" from session":""))}function g(e,t,n){return e.bidder&&e.bidder!==t||!(!e.adUnitCode||e.adUnitCode===n)}function b(e,t){return Array.isArray(e)&&-1===e.indexOf(t)}function v(n,e,r){return Object.keys(n).filter(function(e){return-1===["adUnitCode","bidder"].indexOf(e)}).reduce(function(e,t){return s("bidder overrides changed '".concat(e.adUnitCode,"/").concat(e.bidderCode,"' ").concat(r,".").concat(t," from '").concat(e[t],".js' to '").concat(n[t],"'")),e[t]=n[t],e},e)}function y(e){if(e.enabled){try{window.sessionStorage.setItem(u,JSON.stringify(e))}catch(e){}p(e)}else{l(),s("bidder overrides disabled");try{window.sessionStorage.removeItem(u)}catch(e){}}}o.b.getConfig("debugging",function(e){return y(e.debugging)})},25:function(e,t,n){var o=n(21);e.exports=function(r,i,e){if(o(r),void 0===i)return r;switch(e){case 0:return function(){return r.call(i)};case 1:return function(e){return r.call(i,e)};case 2:return function(e,t){return r.call(i,e,t)};case 3:return function(e,t,n){return r.call(i,e,t,n)}}return function(){return r.apply(i,arguments)}}},26:function(n,e,t){(function(e){function t(e){return e&&e.Math==Math&&e}n.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof e&&e)||Function("return this")()}).call(e,t(36))},27:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},28:function(e,t,n){function r(e){return"function"==typeof e?e:void 0}var i=n(49),o=n(26);e.exports=function(e,t){return arguments.length<2?r(i[e])||r(o[e]):i[e]&&i[e][t]||o[e]&&o[e][t]}},29:function(e,t,n){var r=n(30);e.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},3:function(e,t,n){"use strict";n.d(t,"a",function(){return S}),n.d(t,"b",function(){return _});var r=n(44),i=n(10),a=n.n(i),o=n(13),c=n.n(o),u=n(82),s=n.n(u),d=n(0);function f(e,t){if(null==e)return{};var n,r=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],0<=t.indexOf(n)||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols)for(var i=Object.getOwnPropertySymbols(e),o=0;o<i.length;o++)n=i[o],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n]);return r}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){return(p="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})(e)}function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var b=n(94),v=n(0),y=n(5),h="TRUE"===v.getParameterByName(y.DEBUG_MODE).toUpperCase(),m=window.location.origin,S="random",A={};A[S]=!0,A.fixed=!0;var E=S,O={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"};var T,I,C,j,w,_=(j=[],w=null,B(),{getCurrentBidder:function(){return w},resetBidder:N,getConfig:function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){var e=arguments.length<=0?void 0:arguments[0];return e?v.deepAccess(U(),e):U()}return function(e,t){var n=t;if("string"!=typeof e&&(n=e,e="*"),"function"==typeof n){var r={topic:e,callback:n};return j.push(r),function(){j.splice(j.indexOf(r),1)}}v.logError("listener must be a function")}.apply(void 0,arguments)},setConfig:function(r){var e,i;v.isPlainObject(r)?(e=Object.keys(r),i={},e.forEach(function(e){var t="fpd"===e?"ortb2":e,n="fpd"===e?x(r[e]):r[e];v.isPlainObject(T[t])&&v.isPlainObject(n)&&(n=g({},T[t],n)),i[t]=I[t]=n}),D(i)):v.logError("setConfig options must be an object")},setDefaults:function(e){v.isPlainObject(T)?(g(T,e),g(I,e)):v.logError("defaults must be an object")},resetConfig:B,runWithBidder:k,callbackWithBidder:function(o){return function(i){return function(){if("function"==typeof i){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return k(o,(e=v.bind).call.apply(e,[i,this].concat(n)))}v.logWarn("config.callbackWithBidder callback is not a function")}}},setBidderConfig:function(i){try{!function(e){if(!v.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(!v.isPlainObject(e.config))throw"setBidderConfig bidder options must contain a config object"}(i),i.bidders.forEach(function(r){C[r]||(C[r]={}),Object.keys(i.config).forEach(function(e){var t="fpd"===e?"ortb2":e,n="fpd"===e?x(i.config[e]):i.config[e];v.isPlainObject(n)?C[r][t]=g({},C[r][t]||{},n):C[r][t]=n})})}catch(e){v.logError(e)}},getBidderConfig:function(){return C},convertAdUnitFpd:function(e){var t=[];return e.forEach(function(e){e.fpd?(e.ortb2Imp?v.mergeDeep(e.ortb2Imp,R(e.fpd)):e.ortb2Imp=R(e.fpd),t.push((e.fpd,f(e,["fpd"])))):t.push(e)}),t},getLegacyFpd:function(r){if("object"===p(r)){var t={};return Object.keys(r).forEach(function(n){var e="site"===n?"context":n;t[e]="context"===e||"user"===e?Object.keys(r[n]).filter(function(e){return"data"!==e}).reduce(function(e,t){return"ext"===t?v.mergeDeep(e,r[n][t]):v.mergeDeep(e,l({},t,r[n][t])),e},{}):r[n]}),t}},getLegacyImpFpd:function(t){if("object"===p(t)){var n={};return v.deepAccess(t,"ext.data")&&Object.keys(t.ext.data).forEach(function(e){"pbadslot"===e?v.mergeDeep(n,{context:{pbAdSlot:t.ext.data[e]}}):"adserver"===e?v.mergeDeep(n,{context:{adServer:t.ext.data[e]}}):v.mergeDeep(n,{context:{data:l({},e,t.ext.data[e])}})}),n}}});function B(){T={};var n={_debug:h,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:m,get publisherDomain(){return this._publisherDomain},set publisherDomain(e){this._publisherDomain=e},_priceGranularity:O.MEDIUM,set priceGranularity(e){o(e)&&("string"==typeof e?this._priceGranularity=i(e)?e:O.MEDIUM:v.isPlainObject(e)&&(this._customPriceBucket=e,this._priceGranularity=O.CUSTOM,v.logMessage("Using custom price granularity")))},get priceGranularity(){return this._priceGranularity},_customPriceBucket:{},get customPriceBucket(){return this._customPriceBucket},_mediaTypePriceGranularity:{},get mediaTypePriceGranularity(){return this._mediaTypePriceGranularity},set mediaTypePriceGranularity(n){var r=this;this._mediaTypePriceGranularity=Object.keys(n).reduce(function(e,t){return o(n[t])?"string"==typeof n?e[t]=i(n[t])?n[t]:r._priceGranularity:v.isPlainObject(n)&&(e[t]=n[t],v.logMessage("Using custom price granularity for ".concat(t))):v.logWarn("Invalid price granularity for media type: ".concat(t)),e},{})},_sendAllBids:!0,get enableSendAllBids(){return this._sendAllBids},set enableSendAllBids(e){this._sendAllBids=e},_useBidCache:!1,get useBidCache(){return this._useBidCache},set useBidCache(e){this._useBidCache=e},_deviceAccess:!0,get deviceAccess(){return this._deviceAccess},set deviceAccess(e){this._deviceAccess=e},_bidderSequence:E,get bidderSequence(){return this._bidderSequence},set bidderSequence(e){A[e]?this._bidderSequence=e:v.logWarn("Invalid order: ".concat(e,". Bidder Sequence was not set."))},_timeoutBuffer:400,get timeoutBuffer(){return this._timeoutBuffer},set timeoutBuffer(e){this._timeoutBuffer=e},_disableAjaxTimeout:!1,get disableAjaxTimeout(){return this._disableAjaxTimeout},set disableAjaxTimeout(e){this._disableAjaxTimeout=e},_maxNestedIframes:10,get maxNestedIframes(){return this._maxNestedIframes},set maxNestedIframes(e){this._maxNestedIframes=e},_auctionOptions:{},get auctionOptions(){return this._auctionOptions},set auctionOptions(e){!function(e){if(!v.isPlainObject(e))return v.logWarn("Auction Options must be an object"),!1;for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];if("secondaryBidders"!==r&&"suppressStaleRender"!==r)return v.logWarn("Auction Options given an incorrect param: ".concat(r)),!1;if("secondaryBidders"===r){if(!v.isArray(e[r]))return v.logWarn("Auction Options ".concat(r," must be of type Array")),!1;if(!e[r].every(v.isStr))return v.logWarn("Auction Options ".concat(r," must be only string")),!1}else if("suppressStaleRender"===r&&!v.isBoolean(e[r]))return v.logWarn("Auction Options ".concat(r," must be of type boolean")),!1}return!0}(e)||(this._auctionOptions=e)}};function i(t){return a()(Object.keys(O),function(e){return t===O[e]})}function o(e){if(e){if("string"==typeof e)i(e)||v.logWarn("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.");else if(v.isPlainObject(e)&&!Object(r.b)(e))return void v.logError("Invalid custom price value passed to `setPriceGranularity()`");return 1}v.logError("Prebid Error: no value passed to `setPriceGranularity()`")}I&&D(Object.keys(I).reduce(function(e,t){return I[t]!==n[t]&&(e[t]=n[t]||{}),e},{})),I=n,C={}}function U(){if(w&&C&&v.isPlainObject(C[w])){var n=C[w],e=new s.a(Object.keys(I).concat(Object.keys(n)));return b(e).reduce(function(e,t){return void 0===n[t]?e[t]=I[t]:void 0!==I[t]&&v.isPlainObject(n[t])?e[t]=Object(d.mergeDeep)({},I[t],n[t]):e[t]=n[t],e},{})}return g({},I)}function x(r){var t={};return Object.keys(r).forEach(function(n){var e="context"===n?"site":n;t[e]="site"===e||"user"===e?Object.keys(r[n]).reduce(function(e,t){return"data"===t?v.mergeDeep(e,{ext:{data:r[n][t]}}):v.mergeDeep(e,l({},t,r[n][t])),e},{}):r[n]}),t}function R(r){var i={};return Object.keys(r).filter(function(e){return"context"===e}).forEach(function(n){Object.keys(r[n]).forEach(function(t){"data"===t?v.mergeDeep(i,{ext:{data:r[n][t]}}):"object"!==p(r[n][t])||Array.isArray(r[n][t])?v.mergeDeep(i,{ext:{data:l({},t.toLowerCase(),r[n][t])}}):Object.keys(r[n][t]).forEach(function(e){v.mergeDeep(i,{ext:{data:l({},t.toLowerCase(),l({},e.toLowerCase(),r[n][t][e]))}})})})}),i}function D(t){var n=Object.keys(t);j.filter(function(e){return c()(n,e.topic)}).forEach(function(e){e.callback(l({},e.topic,t[e.topic]))}),j.filter(function(e){return"*"===e.topic}).forEach(function(e){return e.callback(t)})}function k(e,t){w=e;try{return t()}finally{N()}}function N(){w=null}},30:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},31:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},32:function(e,t,n){var r=n(29),i=n(34),o=n(45);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},33:function(e,t,n){"use strict";n.d(t,"b",function(){return L}),n.d(t,"a",function(){return F}),t.k=function(e){var t,i,b,v,o=e.adUnits,n=e.adUnitCodes,r=e.callback,a=e.cbTimeout,c=e.labels,u=e.auctionId,y=o,s=c,d=n,h=[],f=[],l=[],p=u||P.generateUUID(),g=r,m=a,S=[],A=new Set;function E(){return{auctionId:p,timestamp:t,auctionEnd:i,auctionStatus:b,adUnits:y,adUnitCodes:d,labels:s,bidderRequests:h,noBids:l,bidsReceived:f,winningBids:S,timeout:m}}function O(n,e){var r,t;e&&clearTimeout(v),void 0===i&&(r=[],n&&(P.logMessage("Auction ".concat(p," timedOut")),t=A,(r=h.map(function(e){return(e.bids||[]).filter(function(e){return!t.has(e.bidder)})}).reduce(j.flatten,[]).map(function(e){return{bidId:e.bidId,bidder:e.bidder,adUnitCode:e.adUnitCode,auctionId:e.auctionId}})).length&&q.emit(G.EVENTS.BID_TIMEOUT,r)),b=F,i=Date.now(),q.emit(G.EVENTS.AUCTION_END,E()),Q(y,function(){try{var e;null!=g&&(e=f.filter(P.bind.call(j.adUnitsFilter,this,d)).reduce(ee,{}),g.apply(pbjs,[e,n,p]),g=null)}catch(e){P.logError("Error executing bidsBackHandler",null,e)}finally{r.length&&M.callTimedOutBidders(o,r,m);var t=B.b.getConfig("userSync")||{};t.enableOverride||N(t.syncDelay)}}))}function T(){B.b.resetBidder(),P.logInfo("Bids Received for Auction with id: ".concat(p),f),b=F,O(!1,!0)}function I(e){A.add(e)}function C(n){var f=this;n.forEach(function(e){var t;t=e,h=h.concat(t)});var l={},e={bidRequests:n,run:function(){var e,t;e=O.bind(null,!0),t=setTimeout(e,m),v=t,b=L,q.emit(G.EVENTS.AUCTION_INIT,E());var r,i,o,a,c,u,s=(r=T,i=f,o=0,a=!1,c=new Set,u={},{addBidResponse:function(e,t){u[t.requestId]=!0,o++;var n=function(e){var t=e.adUnitCode,n=e.bid,r=e.bidderRequest,i=e.auctionId,o=r.start,a=k({},n,{auctionId:i,responseTimestamp:Object(j.timestamp)(),requestTimestamp:o,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:t});a.timeToRespond=a.responseTimestamp-a.requestTimestamp,q.emit(G.EVENTS.BID_ADJUSTMENT,a);var c=r.bids&&U()(r.bids,function(e){return e.adUnitCode==t&&e.bidId==a.requestId}),u=c&&c.renderer,s=a.mediaType,d=c&&c.mediaTypes&&c.mediaTypes[s],f=d&&d.renderer,l=null;f&&f.url&&f.render&&(!0!==f.backupOnly||!n.renderer)?l=f:u&&u.url&&u.render&&(!0!==u.backupOnly||!n.renderer)&&(l=u),l&&(a.renderer=_.a.install({url:l.url}),a.renderer.setRender(l.render));var p=Z(n.mediaType,c,B.b.getConfig("mediaTypePriceGranularity")),g=Object(w.a)(a.cpm,"object"===D(p)?p:B.b.getConfig("customPriceBucket"),B.b.getConfig("currency.granularityMultiplier"));return a.pbLg=g.low,a.pbMg=g.med,a.pbHg=g.high,a.pbAg=g.auto,a.pbDg=g.dense,a.pbCg=g.custom,a}({adUnitCode:e,bid:t,bidderRequest:this,auctionId:i.getAuctionId()});"video"===n.mediaType?function(e,t,n,r){var i=!0,o=Object(j.getBidRequest)(t.originalRequestId||t.requestId,[n]),a=o&&Object(j.deepAccess)(o,"mediaTypes.video"),c=a&&Object(j.deepAccess)(a,"context");B.b.getConfig("cache.url")&&c!==R.b&&(!t.videoCacheKey||B.b.getConfig("cache.ignoreBidderCacheKey")?(i=!1,X(e,t,r,o)):t.vastUrl||(P.logError("videoCacheKey specified but not required vastUrl for video bid"),i=!1)),i&&($(e,t),r())}(i,n,this,d):($(i,n),d())},adapterDone:function(){var t,e=i.getBidRequests(),n=B.b.getConfig("auctionOptions");c.add(this),!n||P.isEmpty(n)||(t=n.secondaryBidders)&&!e.every(function(e){return x()(t,e.bidderCode)})&&(e=e.filter(function(e){return!x()(t,e.bidderCode)})),a=e.every(function(e){return c.has(e)}),this.bids.forEach(function(e){u[e.bidId]||(i.addNoBid(e),q.emit(G.EVENTS.NO_BID,e))}),a&&0===o&&r()}});function d(){o--,a&&0===o&&r()}M.callBids(y,n,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];J.apply({dispatch:s.addBidResponse,bidderRequest:this},t)},s.adapterDone,{request:function(e,t){g(V,t),g(l,e),H[e]||(H[e]={SRA:!0,origin:t}),1<l[e]&&(H[e].SRA=!1)},done:function(e){V[e]--,K[0]&&p(K[0])&&K.shift()}},m,I)}};function p(e){var r=!0,i=B.b.getConfig("maxRequestsPerOrigin")||z;return e.bidRequests.some(function(e){var t=1,n=void 0!==e.src&&e.src===G.S2S.SRC?"s2s":e.bidderCode;return H[n]&&(!1===H[n].SRA&&(t=Math.min(e.bids.length,i)),V[H[n].origin]+t>i&&(r=!1)),!r}),r&&e.run(),r}function g(e,t){void 0===e[t]?e[t]=1:e[t]++}p(e)||(P.logWarn("queueing auction due to limited endpoint capacity"),K.push(e))}return{addBidReceived:function(e){f=f.concat(e)},addNoBid:function(e){l=l.concat(e)},executeCallback:O,callBids:function(){b=W,t=Date.now();var e=M.makeBidRequests(y,t,p,m,s);P.logInfo("Bids Requested for Auction with id: ".concat(p),e),e.length<1?(P.logWarn("No valid bid requests returned for auction"),T()):Y.call({dispatch:C,context:this},e)},addWinningBid:function(e){S=S.concat(e),M.callBidWonBidder(e.bidder,e,o)},setBidTargeting:function(e){M.callSetTargetingBidder(e.bidder,e)},getWinningBids:function(){return S},getTimeout:function(){return m},getAuctionId:function(){return p},getAuctionStatus:function(){return b},getAdUnits:function(){return y},getAdUnitCodes:function(){return d},getBidRequests:function(){return h},getBidsReceived:function(){return f},getNoBids:function(){return l}}},n.d(t,"c",function(){return J}),n.d(t,"e",function(){return Y}),t.g=d,t.d=$,n.d(t,"f",function(){return X}),n.d(t,"i",function(){return f}),n.d(t,"h",function(){return l}),t.j=g;var j=n(0),w=n(44),a=n(38),o=n(97),_=n(12),B=n(3),r=n(43),i=n(11),c=n(10),U=n.n(c),u=n(13),x=n.n(u),R=n(24),s=n(2);function D(e){return(D="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})(e)}function k(){return(k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var N=r.a.syncUsers,P=n(0),M=n(8).default,q=n(9),G=n(5),W="started",L="inProgress",F="completed";q.on(G.EVENTS.BID_ADJUSTMENT,function(e){!function(e){var t,n=e.bidderCode,r=e.cpm;if(pbjs.bidderSettings&&(n&&pbjs.bidderSettings[n]&&"function"==typeof pbjs.bidderSettings[n].bidCpmAdjustment?t=pbjs.bidderSettings[n].bidCpmAdjustment:pbjs.bidderSettings[G.JSON_MAPPING.BD_SETTING_STANDARD]&&"function"==typeof pbjs.bidderSettings[G.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment&&(t=pbjs.bidderSettings[G.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),t))try{r=t(e.cpm,k({},e))}catch(e){P.logError("Error during bid adjustment","bidmanager.js",e)}0<=r&&(e.cpm=r)}(e)});var z=4,V={},H={},K=[];var J=Object(i.b)("async",function(e,t){this.dispatch.call(this.bidderRequest,e,t)},"addBidResponse"),Y=Object(i.b)("sync",function(e){this.dispatch.call(this.context,e)},"addBidderRequests"),Q=Object(i.b)("async",function(e,t){t&&t()},"bidsBackCallback");function d(e,t){t.timeToRespond>e.getTimeout()+B.b.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function $(e,t){var n=e.getBidRequests(),r=U()(n,function(e){return e.bidderCode===t.bidderCode});!function(t,e){var n;{var r;t.bidderCode&&(0<t.cpm||t.dealId)&&(r=U()(e.bids,function(e){return e.adUnitCode===t.adUnitCode}),n=function(e,t,n){if(!t)return{};var r={},i=pbjs.bidderSettings;{var o;i&&(o=g(t.mediaType,e,n),b(r,o,t),e&&i[e]&&i[e][G.JSON_MAPPING.ADSERVER_TARGETING]&&(b(r,i[e],t),t.sendStandardTargeting=i[e].sendStandardTargeting))}t.native&&(r=k({},r,Object(a.e)(t,n)));return r}(t.bidderCode,t,r))}t.adserverTargeting=k(t.adserverTargeting||{},n)}(t,r),q.emit(G.EVENTS.BID_RESPONSE,t),e.addBidReceived(t),d(e,t)}var X=Object(i.b)("async",function(n,r,i,e){Object(o.b)([r],function(e,t){e?(P.logWarn("Failed to save to the video cache: ".concat(e,". Video bid must be discarded.")),d(n,r)):""===t[0].uuid?(P.logWarn("Supplied video cache key was already in use by Prebid Cache; caching attempt was rejected. Video bid must be discarded."),d(n,r)):(r.videoCacheKey=t[0].uuid,r.vastUrl||(r.vastUrl=Object(o.a)(r.videoCacheKey)),$(n,r),i())},e)},"callPrebidCache");function Z(e,t,n){if(e&&n){if(e===s.d){var r=Object(j.deepAccess)(t,"mediaTypes.".concat(s.d,".context"),"instream");if(n["".concat(s.d,"-").concat(r)])return n["".concat(s.d,"-").concat(r)]}return n[e]}}var f=function(e,t){var n=Z(e,t,B.b.getConfig("mediaTypePriceGranularity"));return"string"==typeof e&&n?"string"==typeof n?n:"custom":B.b.getConfig("priceGranularity")},l=function(t){return function(e){return t===G.GRANULARITY_OPTIONS.AUTO?e.pbAg:t===G.GRANULARITY_OPTIONS.DENSE?e.pbDg:t===G.GRANULARITY_OPTIONS.LOW?e.pbLg:t===G.GRANULARITY_OPTIONS.MEDIUM?e.pbMg:t===G.GRANULARITY_OPTIONS.HIGH?e.pbHg:t===G.GRANULARITY_OPTIONS.CUSTOM?e.pbCg:void 0}},p=function(){return function(e){return e.meta&&e.meta.advertiserDomains&&0<e.meta.advertiserDomains.length?e.meta.advertiserDomains[0]:""}};function g(e,t,n){function r(e,t){return{key:e,val:"function"==typeof t?function(e){return t(e)}:function(e){return Object(j.getValue)(e,t)}}}var i,o,a=G.TARGETING_KEYS,c=f(e,n),u=pbjs.bidderSettings;return u[G.JSON_MAPPING.BD_SETTING_STANDARD]||(u[G.JSON_MAPPING.BD_SETTING_STANDARD]={}),u[G.JSON_MAPPING.BD_SETTING_STANDARD][G.JSON_MAPPING.ADSERVER_TARGETING]||(u[G.JSON_MAPPING.BD_SETTING_STANDARD][G.JSON_MAPPING.ADSERVER_TARGETING]=[r(a.BIDDER,"bidderCode"),r(a.AD_ID,"adId"),r(a.PRICE_BUCKET,l(c)),r(a.SIZE,"size"),r(a.DEAL,"dealId"),r(a.SOURCE,"source"),r(a.FORMAT,"mediaType"),r(a.ADOMAIN,p())]),"video"===e&&(i=u[G.JSON_MAPPING.BD_SETTING_STANDARD][G.JSON_MAPPING.ADSERVER_TARGETING],[a.UUID,a.CACHE_ID].forEach(function(t){void 0===U()(i,function(e){return e.key===t})&&i.push(r(t,"videoCacheKey"))}),!B.b.getConfig("cache.url")||t&&!1===P.deepAccess(u,"".concat(t,".sendStandardTargeting"))||(o=Object(j.parseUrl)(B.b.getConfig("cache.url")),void 0===U()(i,function(e){return e.key===a.CACHE_HOST})&&i.push(r(a.CACHE_HOST,function(e){return P.deepAccess(e,"adserverTargeting.".concat(a.CACHE_HOST))?e.adserverTargeting[a.CACHE_HOST]:o.hostname})))),u[G.JSON_MAPPING.BD_SETTING_STANDARD]}function b(r,i,o){var e=i[G.JSON_MAPPING.ADSERVER_TARGETING];return o.size=o.getSize(),P._each(e,function(e){var t=e.key,n=e.val;if(r[t]&&P.logWarn("The key: "+t+" is getting ovewritten"),P.isFn(n))try{n=n(o)}catch(e){P.logError("bidmanager","ERROR",e)}(void 0===i.suppressEmptyKeys||!0!==i.suppressEmptyKeys)&&t!==G.TARGETING_KEYS.DEAL||!P.isEmptyStr(n)&&null!=n?r[t]=n:P.logInfo("suppressing empty key '"+t+"' from adserver targeting")}),r}function ee(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}},34:function(e,t,n){var r=n(29),i=n(76),o=n(15),a=n(55),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},35:function(e,t,n){"use strict";t.a=function(e,t){return new r(e,t)};var i=n(0);function r(e,t){var n=t&&t.src||"client",r=e||0;this.bidderCode=t&&t.bidder||"",this.width=0,this.height=0,this.statusMessage=function(){switch(r){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=i.getUniqueIdentifierStr(),this.requestId=t&&t.bidId,this.mediaType="banner",this.source=n,this.getStatusCode=function(){return r},this.getSize=function(){return this.width+"x"+this.height}}},36:function(e,t){var n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},37:function(e,t,n){var r=n(17),i=n(93);e.exports=r?i:function(e){return Set.prototype.values.call(e)}},378:function(e,t,n){n(379);var r=n(52);e.exports=r("String","includes")},379:function(e,t,n){"use strict";var r=n(14),i=n(380),o=n(48);r({target:"String",proto:!0,forced:!n(382)("includes")},{includes:function(e,t){return!!~String(o(this)).indexOf(i(e),1<arguments.length?t:void 0)}})},38:function(e,t,n){"use strict";n.d(t,"f",function(){return o}),n.d(t,"a",function(){return u}),t.h=function(e){if(e&&e.type&&function(e){return!(!e||!a()(Object.keys(s),e))||(Object(d.logError)("".concat(e," nativeParam is not supported")),!1)}(e.type))return s[e.type];return e},t.g=function(t,e){var n=Object(d.getBidRequest)(t.requestId,e);if(!n)return!1;if(!Object(d.deepAccess)(t,"native.clickUrl"))return!1;var r=n.nativeParams;if(!r)return!0;var i=Object.keys(r).filter(function(e){return r[e].required}),o=Object.keys(t.native).filter(function(e){return t.native[e]});return i.every(function(e){return a()(o,e)})},t.b=function(e,t){var n;"click"===e.action?n=t.native&&t.native.clickTrackers:(n=t.native&&t.native.impressionTrackers,t.native&&t.native.javascriptTrackers&&Object(d.insertHtmlIntoIframe)(t.native.javascriptTrackers));return(n||[]).forEach(d.triggerPixel),e.action},t.e=function(o,a){var c={};Object(d.deepAccess)(a,"nativeParams.rendererUrl")?o.native.rendererUrl=p(a.nativeParams.rendererUrl):Object(d.deepAccess)(a,"nativeParams.adTemplate")&&(o.native.adTemplate=p(a.nativeParams.adTemplate));var u=!1!==Object(d.deepAccess)(a,"nativeParams.sendTargetingKeys"),s=function(e){var t={};Object(d.deepAccess)(e,"nativeParams.ext")&&Object.keys(e.nativeParams.ext).forEach(function(e){t[e]="hb_native_".concat(e)});return f(f({},l.NATIVE_KEYS),t)}(a),e=f(f({},o.native),o.native.ext);return delete e.ext,Object.keys(e).forEach(function(e){var t,n,r=s[e],i=p(o.native[e])||p(Object(d.deepAccess)(o,"native.ext.".concat(e)));"adTemplate"!==e&&r&&i&&("boolean"!=typeof(t=Object(d.deepAccess)(a,"nativeParams.".concat(e,".sendId")))&&(t=Object(d.deepAccess)(a,"nativeParams.ext.".concat(e,".sendId"))),t&&(i="".concat(r,":").concat(o.adId)),"boolean"!=typeof(n=Object(d.deepAccess)(a,"nativeParams.".concat(e,".sendTargetingKeys")))&&(n=Object(d.deepAccess)(a,"nativeParams.ext.".concat(e,".sendTargetingKeys"))),("boolean"==typeof n?n:u)&&(c[r]=i))}),c},t.d=function(e,r){var i={message:"assetResponse",adId:e.adId,assets:[]};r.native.hasOwnProperty("adTemplate")&&(i.adTemplate=p(r.native.adTemplate));r.native.hasOwnProperty("rendererUrl")&&(i.rendererUrl=p(r.native.rendererUrl));return e.assets.forEach(function(e){var t=Object(d.getKeyByValue)(l.NATIVE_KEYS,e),n=p(r.native[t]);i.assets.push({key:t,value:n})}),i},t.c=function(e,r){var i={message:"assetResponse",adId:e.adId,assets:[]};return Object.keys(r.native).forEach(function(n,e){var t;"adTemplate"===n&&r.native[n]?i.adTemplate=p(r.native[n]):"rendererUrl"===n&&r.native[n]?i.rendererUrl=p(r.native[n]):"ext"===n?Object.keys(r.native[n]).forEach(function(e){var t;r.native[n][e]&&(t=p(r.native[n][e]),i.assets.push({key:e,value:t}))}):r.native[n]&&l.NATIVE_KEYS.hasOwnProperty(n)&&(t=p(r.native[n]),i.assets.push({key:n,value:t}))}),i};var d=n(0),r=n(13),a=n.n(r);function i(e){return(i="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})(e)}function c(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function f(i){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?c(Object(o),!0).forEach(function(e){var t,n,r;t=i,r=o[n=e],n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(o,e))})}return i}var l=n(5),o=[],u=Object.keys(l.NATIVE_KEYS).map(function(e){return l.NATIVE_KEYS[e]}),s={image:{image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1}}};function p(e){return"object"===i(e)&&e.url?e.url:e}},380:function(e,t,n){var r=n(381);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},381:function(e,t,n){var r=n(31),i=n(47),o=n(22)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},382:function(e,t,n){var r=n(22)("match");e.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r]=!1,"/./"[t](n)}catch(e){}}return!1}},39:function(e,t,n){"use strict";t.a=function(r,e,t){if(!e||!r)return void o.logError("cannot load external script without url and moduleCode");if(!i()(c,e))return void o.logError("".concat(e," not whitelisted for loading external JavaScript"));if(a[r])return t&&"function"==typeof t&&(a[r].loaded?t():a[r].callbacks.push(t)),a[r].tag;a[r]={loaded:!1,tag:null,callbacks:[]},t&&"function"==typeof t&&a[r].callbacks.push(t);return o.logWarn("module ".concat(e," is loading external JavaScript")),function(e,t){var n=document.createElement("script");n.type="text/javascript",n.async=!0,(a[r].tag=n).readyState?n.onreadystatechange=function(){"loaded"!==n.readyState&&"complete"!==n.readyState||(n.onreadystatechange=null,t())}:n.onload=function(){t()};return n.src=e,o.insertElement(n),n}(r,function(){a[r].loaded=!0;try{for(var e=0;e<a[r].callbacks.length;e++)a[r].callbacks[e]()}catch(e){o.logError("Error executing callback","adloader.js:loadExternalScript",e)}})};var r=n(13),i=n.n(r),o=n(0),a={},c=["adloox","criteo","outstream","adagio","browsi"]},4:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),t.b=i;var l=n(3);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function g(e){return(g="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})(e)}var b=n(0),v=4,r=i();function i(){var s=0<arguments.length&&void 0!==arguments[0]?arguments[0]:3e3,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},d=e.request,f=e.done;return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};try{var i,o=r.method||(n?"POST":"GET"),a=document.createElement("a");a.href=e;var c,u="object"===g(t)&&null!==t?t:{success:function(){b.logMessage("xhr success")},error:function(e){b.logError("xhr error",null,e)}};"function"==typeof t&&(u.success=t),(i=new window.XMLHttpRequest).onreadystatechange=function(){var e;i.readyState===v&&("function"==typeof f&&f(a.origin),200<=(e=i.status)&&e<300||304===e?u.success(i.responseText,i):u.error(i.statusText,i))},l.b.getConfig("disableAjaxTimeout")||(i.ontimeout=function(){b.logError(" xhr timeout after ",i.timeout,"ms")}),"GET"===o&&n&&(p((c=b.parseUrl(e,r)).search,n),e=b.buildUrl(c)),i.open(o,e,!0),l.b.getConfig("disableAjaxTimeout")||(i.timeout=s),r.withCredentials&&(i.withCredentials=!0),b._each(r.customHeaders,function(e,t){i.setRequestHeader(t,e)}),r.preflight&&i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.setRequestHeader("Content-Type",r.contentType||"text/plain"),"function"==typeof d&&d(a.origin),"POST"===o&&n?i.send(n):i.send()}catch(e){b.logError("xhr construction",e)}}}},40:function(e,t){e.exports={}},41:function(e,t,n){var i=n(15),o=n(21),a=n(22)("species");e.exports=function(e,t){var n,r=i(e).constructor;return void 0===r||null==(n=i(r)[a])?t:o(n)}},42:function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return N}),t.c=P,n.d(t,"d",function(){return l});var T=n(0),I=n(3),C=n(38),r=n(23),i=n(96),o=n(2),a=n(11),c=n(13),j=n.n(c),u=n(10),w=n.n(u);function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var x=n(0),R=n(5),D=[],k=Object.keys(R.TARGETING_KEYS).map(function(e){return R.TARGETING_KEYS[e]}),d={isBidNotExpired:function(e){return e.responseTimestamp+1e3*e.ttl-1e3>Object(T.timestamp)()},isUnusedBid:function(e){return e&&(e.status&&!j()([R.BID_STATUS.RENDERED],e.status)||!e.status)}},N=Object(a.b)("sync",function(e,r){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:0;if(3<arguments.length&&void 0!==arguments[3]&&arguments[3])return e;var o=[],a=I.b.getConfig("sendBidsControl.dealPrioritization"),c=Object(T.groupBy)(e,"adUnitCode");return Object.keys(c).forEach(function(e){var t=[],n=Object(T.groupBy)(c[e],"bidderCode");Object.keys(n).forEach(function(e){return t.push(n[e].reduce(r))}),0<i?(t=a?t.sort(P(!0)):t.sort(function(e,t){return t.cpm-e.cpm}),o.push.apply(o,U(t.slice(0,i)))):o.push.apply(o,U(t))}),o});function P(){var n=0<arguments.length&&void 0!==arguments[0]&&arguments[0];return function(e,t){return void 0!==e.adserverTargeting.hb_deal&&void 0===t.adserverTargeting.hb_deal?-1:void 0===e.adserverTargeting.hb_deal&&void 0!==t.adserverTargeting.hb_deal?1:n?t.cpm-e.cpm:t.adserverTargeting.hb_pb-e.adserverTargeting.hb_pb}}var M,q,f,l=(M=r.a,f={},(q={}).setLatestAuctionForAdUnit=function(e,t){f[e]=t},q.resetPresetTargeting=function(e,t){var n,i;Object(T.isGptPubadsDefined)()&&(n=W(e),i=M.getAdUnits().filter(function(e){return j()(n,e.code)}),window.googletag.pubads().getSlots().forEach(function(n){var r=x.isFn(t)&&t(n);D.forEach(function(t){i.forEach(function(e){(e.code===n.getAdUnitPath()||e.code===n.getSlotElementId()||x.isFn(r)&&r(e.code))&&n.setTargeting(t,null)})})}))},q.resetPresetTargetingAST=function(e){W(e).forEach(function(e){var t,n,r=window.apntag.getTag(e);r&&r.keywords&&(t=Object.keys(r.keywords),n={},t.forEach(function(e){j()(D,e.toLowerCase())||(n[e]=r.keywords[e])}),window.apntag.modifyTag(e,{keywords:n}))})},q.getAllTargeting=function(e){var t,n,r,i,o,a,c,u,s,d,f,l,p,g=1<arguments.length&&void 0!==arguments[1]?arguments[1]:L(),b=W(e),v=(d=b,f=g,l=q.getWinningBids(d,f),p=F(),(l=l.map(function(o){return B({},o.adUnitCode,Object.keys(o.adserverTargeting).filter(function(e){return void 0===o.sendStandardTargeting||o.sendStandardTargeting||-1===p.indexOf(e)}).reduce(function(e,t){var n=[o.adserverTargeting[t]],r=B({},t.substring(0,20),n);if(t!==R.TARGETING_KEYS.DEAL)return[].concat(U(e),[r]);var i=B({},"".concat(t,"_").concat(o.bidderCode).substring(0,20),n);return[].concat(U(e),[r,i])},[]))})).concat((s=b,g.filter(function(e){return j()(s,e.adUnitCode)}).map(function(e){return _({},e)}).reduce(z,[]).map(V).filter(function(e){return e}))).concat(I.b.getConfig("enableSendAllBids")?(n=b,r=g,i=k.concat(C.a),o=I.b.getConfig("sendBidsControl.bidLimit"),a=N(r,T.getHighestCpm,o),c=I.b.getConfig("targetingControls.allowSendAllBidsTargetingKeys"),u=c?c.map(function(e){return R.TARGETING_KEYS[e]}):i,a.map(function(t){if(G(t,n))return B({},t.adUnitCode,H(t,i.filter(function(e){return void 0!==t.adserverTargeting[e]&&-1!==u.indexOf(e)})))}).filter(function(e){return e})):function(e,t){if(!0!==I.b.getConfig("targetingControls.alwaysIncludeDeals"))return[];var n=k.concat(C.a);return N(t,T.getHighestCpm).map(function(t){if(t.dealId&&G(t,e))return B({},t.adUnitCode,H(t,n.filter(function(e){return void 0!==t.adserverTargeting[e]})))}).filter(function(e){return e})}(b,g)).concat((t=b,M.getAdUnits().filter(function(e){return j()(t,e.code)&&y(e)}).map(function(e){return B({},e.code,(t=y(e),Object.keys(t).map(function(e){return B({},e,x.isArray(t[e])?t[e]:t[e].split(","))})));var t}))));function y(e){return Object(T.deepAccess)(e,R.JSON_MAPPING.ADSERVER_TARGETING)}v.map(function(t){Object.keys(t).map(function(e){t[e].map(function(e){-1===D.indexOf(Object.keys(e)[0])&&(D=Object.keys(e).concat(D))})})});var h=Object.keys(_({},R.DEFAULT_TARGETING_KEYS,R.NATIVE_KEYS)),m=I.b.getConfig("targetingControls.allowTargetingKeys")||h;Array.isArray(m)&&0<m.length&&(v=function(e,r){var i=_({},R.TARGETING_KEYS,R.NATIVE_KEYS),o=Object.keys(i),a={};Object(T.logInfo)("allowTargetingKeys - allowed keys [ ".concat(r.map(function(e){return i[e]}).join(", ")," ]")),e.map(function(e){var t=Object.keys(e)[0],n=e[t].filter(function(e){var n=Object.keys(e)[0],t=0===o.filter(function(e){return 0===n.indexOf(i[e])}).length||w()(r,function(e){var t=i[e];return 0===n.indexOf(t)});return a[n]=!t,t});e[t]=n});var t=Object.keys(a).filter(function(e){return a[e]});return Object(T.logInfo)("allowTargetingKeys - removed keys [ ".concat(t.join(", ")," ]")),e.filter(function(e){return 0<e[Object.keys(e)[0]].length})}(v,m)),v=v.map(function(e){return B({},Object.keys(e)[0],e[Object.keys(e)[0]].map(function(e){return B({},Object.keys(e)[0],e[Object.keys(e)[0]].join(", "))}).reduce(function(e,t){return _(t,e)},{}))}).reduce(function(e,t){var n=Object.keys(t)[0];return e[n]=_({},e[n],t[n]),e},{});var S,A,E,O=I.b.getConfig("targetingControls.auctionKeyMaxChars");return O&&(Object(T.logInfo)("Detected 'targetingControls.auctionKeyMaxChars' was active for this auction; set with a limit of ".concat(O," characters. Running checks on auction keys...")),S=v,A=O,E=Object(T.deepClone)(S),v=Object.keys(E).map(function(e){return{adUnitCode:e,adserverTargeting:E[e]}}).sort(P()).reduce(function(e,t,n,r){var i,o=(i=t.adserverTargeting,Object.keys(i).reduce(function(e,t){return e+"".concat(t,"%3d").concat(encodeURIComponent(i[t]),"%26")},""));n+1===r.length&&(o=o.slice(0,-3));var a=t.adUnitCode,c=o.length;return c<=A?(A-=c,Object(T.logInfo)("AdUnit '".concat(a,"' auction keys comprised of ").concat(c," characters. Deducted from running threshold; new limit is ").concat(A),E[a]),e[a]=E[a]):Object(T.logWarn)("The following keys for adUnitCode '".concat(a,"' exceeded the current limit of the 'auctionKeyMaxChars' setting.\nThe key-set size was ").concat(c,", the current allotted amount was ").concat(A,".\n"),E[a]),n+1===r.length&&0===Object.keys(e).length&&Object(T.logError)("No auction targeting keys were permitted due to the setting in setConfig(targetingControls.auctionKeyMaxChars). Please review setup and consider adjusting."),e},{})),b.forEach(function(e){v[e]||(v[e]={})}),v},q.setTargetingForGPT=function(i,e){window.googletag.pubads().getSlots().forEach(function(r){Object.keys(i).filter((e||Object(T.isAdUnitCodeMatchingSlot))(r)).forEach(function(n){return Object.keys(i[n]).forEach(function(t){var e=i[n][t];"string"==typeof e&&(e=e.split(",")),(e=1<e.length?[e]:e).map(function(e){return x.logMessage("Attempting to set key value for slot: ".concat(r.getSlotElementId()," key: ").concat(t," value: ").concat(e)),e}).forEach(function(e){r.setTargeting(t,e)})})})})},q.getWinningBids=function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:L(),t=W(e);return n.filter(function(e){return j()(t,e.adUnitCode)}).filter(function(e){return 0<e.cpm}).map(function(e){return e.adUnitCode}).filter(T.uniques).map(function(t){return n.filter(function(e){return e.adUnitCode===t?e:null}).reduce(T.getHighestCpm)})},q.setTargetingForAst=function(e){var r=q.getAllTargeting(e);try{q.resetPresetTargetingAST(e)}catch(e){x.logError("unable to reset targeting for AST"+e)}Object.keys(r).forEach(function(n){return Object.keys(r[n]).forEach(function(e){var t;x.logMessage("Attempting to set targeting for targetId: ".concat(n," key: ").concat(e," value: ").concat(r[n][e])),(x.isStr(r[n][e])||x.isArray(r[n][e]))&&(t={},e.search(/pt[0-9]/)<0?t[e.toUpperCase()]=r[n][e]:t[e]=r[n][e],window.apntag.setKeywords(n,t,{overrideKeyValue:!0}))})})},q.isApntagDefined=function(){if(window.apntag&&x.isFn(window.apntag.setKeywords))return!0},q);function G(e,t){return e.adserverTargeting&&t&&(x.isArray(t)&&j()(t,e.adUnitCode)||"string"==typeof t&&e.adUnitCode===t)}function W(e){return"string"==typeof e?[e]:x.isArray(e)?e:M.getAdUnitCodes()||[]}function L(){var e=M.getBidsReceived();return I.b.getConfig("useBidCache")||(e=e.filter(function(e){return f[e.adUnitCode]===e.auctionId})),e=e.filter(function(e){return Object(T.deepAccess)(e,"video.context")!==o.a}).filter(function(e){return"banner"!==e.mediaType||Object(i.c)([e.width,e.height])}).filter(d.isUnusedBid).filter(d.isBidNotExpired),N(e,T.getOldestHighestCpmBid)}function F(){return M.getStandardBidderAdServerTargeting().map(function(e){return e.key}).concat(k).filter(T.uniques)}function z(r,i,e,t){return Object.keys(i.adserverTargeting).filter(p()).forEach(function(e){var t,n;r.length&&r.filter((n=e,function(e){return e.adUnitCode===i.adUnitCode&&e.adserverTargeting[n]})).forEach((t=e,function(e){x.isArray(e.adserverTargeting[t])||(e.adserverTargeting[t]=[e.adserverTargeting[t]]),e.adserverTargeting[t]=e.adserverTargeting[t].concat(i.adserverTargeting[t]).filter(T.uniques),delete i.adserverTargeting[t]}))}),r.push(i),r}function p(){var t=F().concat(C.a);return function(e){return-1===t.indexOf(e)}}function V(t){return B({},t.adUnitCode,Object.keys(t.adserverTargeting).filter(p()).map(function(e){return B({},e.substring(0,20),[t.adserverTargeting[e]])}))}function H(t,e){return e.map(function(e){return B({},"".concat(e,"_").concat(t.bidderCode).substring(0,20),[t.adserverTargeting[e]])})}},43:function(e,t,n){"use strict";n.d(t,"a",function(){return S});var a=n(0),r=n(3),i=n(13),o=n.n(i),c=n(7);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}r.b.setDefaults({userSync:a.deepClone({syncEnabled:!0,filterSettings:{image:{bidders:"*",filter:"include"}},syncsPerBidder:5,syncDelay:3e3,auctionDelay:0})});var f=Object(c.a)("usersync");var l,p,g,b,v,y,h,m=!a.isSafariBrowser()&&f.cookiesAreEnabled(),S=(l={config:r.b.getConfig("userSync"),browserSupportsCookies:m},p={},g=A(),b=new Set,y={image:!0,iframe:!(v={})},h=l.config,r.b.getConfig("userSync",function(e){var t;e.userSync&&(t=e.userSync.filterSettings,a.isPlainObject(t)&&(t.image||t.all||(e.userSync.filterSettings.image={bidders:"*",filter:"include"}))),h=d(h,e.userSync)}),p.registerSync=function(e,t,n){return b.has(t)?a.logMessage('already fired syncs for "'.concat(t,'", ignoring registerSync call')):h.syncEnabled&&a.isArray(g[e])?t?0!==h.syncsPerBidder&&Number(v[t])>=h.syncsPerBidder?a.logWarn('Number of user syncs exceeded for "'.concat(t,'"')):p.canBidderRegisterSync(e,t)?(g[e].push([t,n]),(r=v)[i=t]?r[i]+=1:r[i]=1,void(v=r)):a.logWarn('Bidder "'.concat(t,'" not permitted to register their "').concat(e,'" userSync pixels.')):a.logWarn("Bidder is required for registering sync"):a.logWarn('User sync type "'.concat(e,'" not supported'));var r,i},p.syncUsers=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(E,Number(e));E()},p.triggerUserSyncs=function(){h.enableOverride&&p.syncUsers()},p.canBidderRegisterSync=function(e,t){return!h.filterSettings||!T(e,t)},p);function A(){return{image:[],iframe:[]}}function E(){if(h.syncEnabled&&l.browserSupportsCookies){try{!function(){if(!y.image)return;O(g.image,function(e){var t=u(e,2),n=t[0],r=t[1];a.logMessage("Invoking image pixel user sync for bidder: ".concat(n)),a.triggerPixel(r)})}(),function(){if(!y.iframe)return;O(g.iframe,function(e){var t=u(e,2),n=t[0],r=t[1];a.logMessage("Invoking iframe user sync for bidder: ".concat(n)),a.insertUserSyncIframe(r)})}()}catch(e){return a.logError("Error firing user syncs",e)}g=A()}}function O(e,t){a.shuffle(e).forEach(function(e){t(e),b.add(e[0])})}function T(e,t){var n=h.filterSettings;if(function(e,t){if(e.all&&e[t])return a.logWarn('Detected presence of the "filterSettings.all" and "filterSettings.'.concat(t,'" in userSync config. You cannot mix "all" with "iframe/image" configs; they are mutually exclusive.')),!1;var n=e.all?e.all:e[t],r=e.all?"all":t;if(!n)return!1;var i=n.filter,o=n.bidders;if(i&&"include"!==i&&"exclude"!==i)return a.logWarn('UserSync "filterSettings.'.concat(r,".filter\" setting '").concat(i,"' is not a valid option; use either 'include' or 'exclude'.")),!1;return!!("*"===o||Array.isArray(o)&&0<o.length&&o.every(function(e){return a.isStr(e)&&"*"!==e}))||(a.logWarn('Detected an invalid setup in userSync "filterSettings.'.concat(r,".bidders\"; use either '*' (to represent all bidders) or an array of bidders.")),!1)}(n,e)){y[e]=!0;var r=n.all?n.all:n[e],i="*"===r.bidders?[t]:r.bidders;return{include:function(e,t){return!o()(e,t)},exclude:function(e,t){return o()(e,t)}}[r.filter||"include"](i,t)}return!y[e]}},44:function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return h});var r=n(10),v=n.n(r),i=n(0),y=2,o={buckets:[{max:5,increment:.5}]},a={buckets:[{max:20,increment:.1}]},c={buckets:[{max:20,increment:.01}]},u={buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5}]},s={buckets:[{max:5,increment:.05},{max:10,increment:.1},{max:20,increment:.5}]};function d(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":f(e,o,n),med:""===r?"":f(e,a,n),high:""===r?"":f(e,c,n),auto:""===r?"":f(e,s,n),dense:""===r?"":f(e,u,n),custom:""===r?"":f(e,t,n)}}function f(n,e,r){var i="";if(!h(e))return i;var t,o,a,c,u,s,d,f,l,p=e.buckets.reduce(function(e,t){return e.max>t.max?e:t},{max:0}),g=0,b=v()(e.buckets,function(e){if(n>p.max*r){var t=e.precision;void 0===t&&(t=y),i=(e.max*r).toFixed(t)}else{if(n<=e.max*r&&g*r<=n)return e.min=g,e;g=e.max}});return b&&(t=n,a=r,c=void 0!==(o=b).precision?o.precision:y,u=o.increment*a,s=o.min*a,d=Math.pow(10,c+2),f=(t*d-s*d)/(u*d),l=Math.floor(f)*u+s,i=(l=Number(l.toFixed(10))).toFixed(c)),i}function h(e){if(i.isEmpty(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach(function(e){e.max&&e.increment||(t=!1)}),t}},45:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},46:function(e,t,n){var r=n(75),i=n(48);e.exports=function(e){return r(i(e))}},47:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},48:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},49:function(e,t){e.exports={}},5:function(e,t){e.exports={JSON_MAPPING:{PL_CODE:"code",PL_SIZE:"sizes",PL_BIDS:"bids",BD_BIDDER:"bidder",BD_ID:"paramsd",BD_PL_ID:"placementId",ADSERVER_TARGETING:"adserverTargeting",BD_SETTING_STANDARD:"standard"},DEBUG_MODE:"pbjs_debug",STATUS:{GOOD:1,NO_BID:2},CB:{TYPE:{ALL_BIDS_BACK:"allRequestedBidsBack",AD_UNIT_BIDS_BACK:"adUnitBidsBack",BID_WON:"bidWon",REQUEST_BIDS:"requestBids"}},EVENTS:{AUCTION_INIT:"auctionInit",AUCTION_END:"auctionEnd",BID_ADJUSTMENT:"bidAdjustment",BID_TIMEOUT:"bidTimeout",BID_REQUESTED:"bidRequested",BID_RESPONSE:"bidResponse",NO_BID:"noBid",BID_WON:"bidWon",BIDDER_DONE:"bidderDone",SET_TARGETING:"setTargeting",BEFORE_REQUEST_BIDS:"beforeRequestBids",REQUEST_BIDS:"requestBids",ADD_AD_UNITS:"addAdUnits",AD_RENDER_FAILED:"adRenderFailed",TCF2_ENFORCEMENT:"tcf2Enforcement",AUCTION_DEBUG:"auctionDebug",BID_VIEWABLE:"bidViewable",STALE_RENDER:"staleRender"},AD_RENDER_FAILED_REASON:{PREVENT_WRITING_ON_MAIN_DOCUMENT:"preventWritingOnMainDocument",NO_AD:"noAd",EXCEPTION:"exception",CANNOT_FIND_AD:"cannotFindAd",MISSING_DOC_OR_ADID:"missingDocOrAdid"},EVENT_ID_PATHS:{bidWon:"adUnitCode"},GRANULARITY_OPTIONS:{LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},TARGETING_KEYS:{BIDDER:"hb_bidder",AD_ID:"hb_adid",PRICE_BUCKET:"hb_pb",SIZE:"hb_size",DEAL:"hb_deal",SOURCE:"hb_source",FORMAT:"hb_format",UUID:"hb_uuid",CACHE_ID:"hb_cache_id",CACHE_HOST:"hb_cache_host",ADOMAIN:"hb_adomain"},DEFAULT_TARGETING_KEYS:{BIDDER:"hb_bidder",AD_ID:"hb_adid",PRICE_BUCKET:"hb_pb",SIZE:"hb_size",DEAL:"hb_deal",SOURCE:"hb_source",FORMAT:"hb_format",UUID:"hb_uuid",CACHE_ID:"hb_cache_id",CACHE_HOST:"hb_cache_host"},NATIVE_KEYS:{title:"hb_native_title",body:"hb_native_body",body2:"hb_native_body2",privacyLink:"hb_native_privacy",privacyIcon:"hb_native_privicon",sponsoredBy:"hb_native_brand",image:"hb_native_image",icon:"hb_native_icon",clickUrl:"hb_native_linkurl",displayUrl:"hb_native_displayurl",cta:"hb_native_cta",rating:"hb_native_rating",address:"hb_native_address",downloads:"hb_native_downloads",likes:"hb_native_likes",phone:"hb_native_phone",price:"hb_native_price",salePrice:"hb_native_saleprice",rendererUrl:"hb_renderer_url",adTemplate:"hb_adTemplate"},S2S:{SRC:"s2s",DEFAULT_ENDPOINT:"https://prebid.adnxs.com/pbs/v1/openrtb2/auction",SYNCED_BIDDERS_KEY:"pbjsSyncs"},BID_STATUS:{BID_TARGETING_SET:"targetingSet",RENDERED:"rendered",BID_REJECTED:"bidRejected"}}},50:function(e,t,n){var r=n(58),i=Math.min;e.exports=function(e){return 0<e?i(r(e),9007199254740991):0}},51:function(e,t){e.exports=function(){}},52:function(e,t,n){var r=n(28);e.exports=r},53:function(e,t){e.exports={}},54:function(e,t,n){var r,i,o,a,c,u,s,d,f=n(117),l=n(26),p=n(31),g=n(32),b=n(27),v=n(65),y=n(53),h=l.WeakMap;s=f?(r=new h,i=r.get,o=r.has,a=r.set,c=function(e,t){return a.call(r,e,t),t},u=function(e){return i.call(r,e)||{}},function(e){return o.call(r,e)}):(y[d=v("state")]=!0,c=function(e,t){return g(e,d,t),t},u=function(e){return b(e,d)?e[d]:{}},function(e){return b(e,d)}),e.exports={set:c,get:u,has:s,enforce:function(e){return s(e)?u(e):c(e,{})},getterFor:function(n){return function(e){var t;if(!p(e)||(t=u(e)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return t}}}},55:function(e,t,n){var i=n(31);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},56:function(e,t,n){function r(p){var g=1==p,b=2==p,v=3==p,y=4==p,h=6==p,m=5==p||h;return function(e,t,n,r){for(var i,o,a=E(e),c=A(a),u=S(t,n,3),s=O(c.length),d=0,f=r||T,l=g?f(e,s):b?f(e,0):void 0;d<s;d++)if((m||d in c)&&(o=u(i=c[d],d,a),p))if(g)l[d]=o;else if(o)switch(p){case 3:return!0;case 5:return i;case 6:return d;case 2:I.call(l,i)}else if(y)return!1;return h?-1:v||y?y:l}}var S=n(25),A=n(75),E=n(57),O=n(50),T=n(105),I=[].push;e.exports={forEach:r(0),map:r(1),filter:r(2),some:r(3),every:r(4),find:r(5),findIndex:r(6)}},57:function(e,t,n){var r=n(48);e.exports=function(e){return Object(r(e))}},58:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?r:n)(e)}},59:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},60:function(e,t,n){function a(e){throw e}var c=n(29),u=n(30),s=n(27),d=Object.defineProperty,f={};e.exports=function(e,t){if(s(f,e))return f[e];var n=[][e],r=!!s(t=t||{},"ACCESSORS")&&t.ACCESSORS,i=s(t,0)?t[0]:a,o=s(t,1)?t[1]:void 0;return f[e]=!!n&&!u(function(){if(r&&!c)return!0;var e={length:-1};r?d(e,1,{enumerable:!0,get:a}):e[1]=1,n.call(e,i,o)})}},61:function(e,t,n){var r=n(62),i=n(40),o=n(22)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},62:function(e,t,n){var r=n(63),i=n(47),o=n(22)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:a?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},63:function(e,t,n){var r={};r[n(22)("toStringTag")]="z",e.exports="[object z]"===String(r)},64:function(e,t,n){var o=n(63),a=n(34).f,c=n(32),u=n(27),s=n(116),d=n(22)("toStringTag");e.exports=function(e,t,n,r){var i;e&&(i=n?e:e.prototype,u(i,d)||a(i,d,{configurable:!0,value:t}),r&&!o&&c(i,"toString",s))}},65:function(e,t,n){var r=n(78),i=n(59),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},66:function(e,t,n){"use strict";function y(){return this}var h=n(14),m=n(125),S=n(91),A=n(127),E=n(64),O=n(32),T=n(89),r=n(22),I=n(17),C=n(40),i=n(90),j=i.IteratorPrototype,w=i.BUGGY_SAFARI_ITERATORS,_=r("iterator"),B="values",U="entries";e.exports=function(e,t,n,r,i,o,a){m(n,t,r);function c(e){if(e===i&&b)return b;if(!w&&e in p)return p[e];switch(e){case"keys":case B:case U:return function(){return new n(this,e)}}return function(){return new n(this)}}var u,s,d,f=t+" Iterator",l=!1,p=e.prototype,g=p[_]||p["@@iterator"]||i&&p[i],b=!w&&g||c(i),v="Array"==t&&p.entries||g;if(v&&(u=S(v.call(new e)),j!==Object.prototype&&u.next&&(I||S(u)===j||(A?A(u,j):"function"!=typeof u[_]&&O(u,_,y)),E(u,f,!0,!0),I&&(C[f]=y))),i==B&&g&&g.name!==B&&(l=!0,b=function(){return g.call(this)}),I&&!a||p[_]===b||O(p,_,b),C[t]=b,i)if(s={values:c(B),keys:o?b:c("keys"),entries:c(U)},a)for(d in s)!w&&!l&&d in p||T(p,d,s[d]);else h({target:t,proto:!0,forced:w||l},s);return s}},67:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(0),c={};function i(e,t,n){var r,i,o,a=(i=n,o=c[r=e]=c[r]||{bidders:{}},i?o.bidders[i]=o.bidders[i]||{}:o);return a[t]=(a[t]||0)+1,a[t]}var o={incrementRequestsCounter:function(e){return i(e,"requestsCounter")},incrementBidderRequestsCounter:function(e,t){return i(e,"requestsCounter",t)},incrementBidderWinsCounter:function(e,t){return i(e,"winsCounter",t)},getRequestsCounter:function(e){return Object(r.deepAccess)(c,"".concat(e,".requestsCounter"))||0},getBidderRequestsCounter:function(e,t){return Object(r.deepAccess)(c,"".concat(e,".bidders.").concat(t,".requestsCounter"))||0},getBidderWinsCounter:function(e,t){return Object(r.deepAccess)(c,"".concat(e,".bidders.").concat(t,".winsCounter"))||0}}},7:function(e,t,n){"use strict";n.d(t,"c",function(){return l}),n.d(t,"d",function(){return p}),t.a=function(e){return o({moduleName:e,moduleType:"core"})},t.b=function(e,t){return o({gvlid:e,moduleName:t})};var r=n(11),u=n(0),i=n(13),d=n.n(i),f=["core","prebid-module"],l=[];function o(e){var t=0<arguments.length&&void 0!==e?e:{},i=t.gvlid,o=t.moduleName,a=t.moduleType;function s(n){if(d()(f,a)){return n({valid:!0})}var r;return p(i,o,{hasEnforcementHook:!1},function(e){var t;r=e&&e.hasEnforcementHook?n(e):(t={hasEnforcementHook:!1,valid:u.hasDeviceAccess()},n(t))}),r}var c=function(t){function n(e){if(e&&e.valid)try{return!!window.localStorage}catch(e){u.logError("Local storage api disabled")}return!1}if(!t||"function"!=typeof t)return s(n);l.push(function(){var e=s(n);t(e)})};return{setCookie:function(i,o,a,c,u,t){function n(e){var t,n,r;e&&e.valid&&(t=u&&""!==u?" ;domain=".concat(encodeURIComponent(u)):"",n=a&&""!==a?" ;expires=".concat(a):"",r=null!=c&&"none"==c.toLowerCase()?"; Secure":"",document.cookie="".concat(i,"=").concat(encodeURIComponent(o)).concat(n,"; path=/").concat(t).concat(c?"; SameSite=".concat(c):"").concat(r))}if(!t||"function"!=typeof t)return s(n);l.push(function(){var e=s(n);t(e)})},getCookie:function(n,t){function r(e){if(e&&e.valid){var t=window.document.cookie.match("(^|;)\\s*"+n+"\\s*=\\s*([^;]*)\\s*(;|$)");return t?decodeURIComponent(t[2]):null}return null}if(!t||"function"!=typeof t)return s(r);l.push(function(){var e=s(r);t(e)})},localStorageIsEnabled:function(t){function n(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(!t||"function"!=typeof t)return s(n);l.push(function(){var e=s(n);t(e)})},cookiesAreEnabled:function(t){function n(e){return!(!e||!e.valid)&&(!!u.checkCookieSupport()||(window.document.cookie="prebid.cookieTest",-1!==window.document.cookie.indexOf("prebid.cookieTest")))}if(!t||"function"!=typeof t)return s(n);l.push(function(){var e=s(n);t(e)})},setDataInLocalStorage:function(t,n,r){function i(e){e&&e.valid&&c()&&window.localStorage.setItem(t,n)}if(!r||"function"!=typeof r)return s(i);l.push(function(){var e=s(i);r(e)})},getDataFromLocalStorage:function(t,n){function r(e){return e&&e.valid&&c()?window.localStorage.getItem(t):null}if(!n||"function"!=typeof n)return s(r);l.push(function(){var e=s(r);n(e)})},removeDataFromLocalStorage:function(t,n){function r(e){e&&e.valid&&c()&&window.localStorage.removeItem(t)}if(!n||"function"!=typeof n)return s(r);l.push(function(){var e=s(r);n(e)})},hasLocalStorage:c,findSimilarCookies:function(o,t){function n(e){if(e&&e.valid){var t=[];if(u.hasDeviceAccess())for(var n=document.cookie.split(";");n.length;){var r=n.pop(),i=(i=r.indexOf("="))<0?r.length:i;0<=decodeURIComponent(r.slice(0,i).replace(/^\s+/,"")).indexOf(o)&&t.push(decodeURIComponent(r.slice(i+1)))}return t}}if(!t||"function"!=typeof t)return s(n);l.push(function(){var e=s(n);t(e)})}}}var p=Object(r.b)("async",function(e,t,n,r){r(n)},"validateStorageEnforcement")},71:function(e,t,n){var r=n(232);e.exports=r},72:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"adUnitSetupChecks",function(){return H}),n.d(t,"checkAdUnitSetup",function(){return K}),t.executeCallbacks=Q;var r=n(16),i=n(0),o=n(240),a=n(43),S=n(3),A=n(23),l=n(42),c=n(11),u=n(241),s=n(13),p=n.n(s),g=n(67),E=n(12),d=n(35),f=n(7);function b(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var h=Object(r.a)(),O=n(5),T=n(0),m=n(8).default,I=n(9),C=a.a.triggerUserSyncs,j=O.EVENTS,w=j.ADD_AD_UNITS,_=j.BID_WON,B=j.REQUEST_BIDS,U=j.SET_TARGETING,x=j.AD_RENDER_FAILED,R=j.STALE_RENDER,D=O.AD_RENDER_FAILED_REASON,k=D.PREVENT_WRITING_ON_MAIN_DOCUMENT,N=D.NO_AD,P=D.EXCEPTION,M=D.CANNOT_FIND_AD,q=D.MISSING_DOC_OR_ADID,G={bidWon:function(e){var t=A.a.getBidsRequested().map(function(e){return e.bids.map(function(e){return e.adUnitCode})}).reduce(i.flatten).filter(i.uniques);return!!T.contains(t,e)||void T.logError('The "'+e+'" placement is not defined.')}};function W(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function L(e,t){var n=[];return T.isArray(e)&&(t?e.length===t:0<e.length)&&(e.every(function(e){return Object(i.isArrayOfNums)(e,2)})?n=e:Object(i.isArrayOfNums)(e,2)&&n.push(e)),n}function F(e){var t=T.deepClone(e),n=t.mediaTypes.banner,r=L(n.sizes);return 0<r.length?(n.sizes=r,t.sizes=r):(T.logError("Detected a mediaTypes.banner object without a proper sizes field. Please ensure the sizes are listed like: [[300, 250], ...]. Removing invalid mediaTypes.banner object from request."),delete t.mediaTypes.banner),t}function z(e){var t,n,r=T.deepClone(e),i=r.mediaTypes.video;return i.playerSize&&(t="number"==typeof i.playerSize[0]?2:1,0<(n=L(i.playerSize,t)).length?(2==t&&T.logInfo("Transforming video.playerSize from [640,480] to [[640,480]] so it's in the proper format."),i.playerSize=n,r.sizes=n):(T.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 r.mediaTypes.video.playerSize)),r}function V(e){var t=T.deepClone(e),n=t.mediaTypes.native;return n.image&&n.image.sizes&&!Array.isArray(n.image.sizes)&&(T.logError("Please use an array of sizes for native.image.sizes field. Removing invalid mediaTypes.native.image.sizes property from request."),delete t.mediaTypes.native.image.sizes),n.image&&n.image.aspect_ratios&&!Array.isArray(n.image.aspect_ratios)&&(T.logError("Please use an array of sizes for native.image.aspect_ratios field. Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete t.mediaTypes.native.image.aspect_ratios),n.icon&&n.icon.sizes&&!Array.isArray(n.icon.sizes)&&(T.logError("Please use an array of sizes for native.icon.sizes field. Removing invalid mediaTypes.native.icon.sizes property from request."),delete t.mediaTypes.native.icon.sizes),t}Object(u.a)(),h.bidderSettings=h.bidderSettings||{},h.libLoaded=!0,h.version="v4.43.4",T.logInfo("Prebid.js v4.43.4 loaded"),h.installedModules=[],h.adUnits=h.adUnits||[],h.triggerUserSyncs=C;var H={validateBannerMediaType:F,validateVideoMediaType:z,validateNativeMediaType:V,validateSizes:L},K=Object(c.b)("sync",function(e){var c=[];return e.forEach(function(e){var t,n,r,i,o=e.mediaTypes,a=e.bids;a&&T.isArray(a)?o&&0!==Object.keys(o).length?(o.banner&&(t=F(e)),o.video&&(n=z(t||e)),o.native&&(r=V(n||(t||e))),i=y({},t,n,r),c.push(i)):T.logError("Detected adUnit.code '".concat(e.code,"' did not have a 'mediaTypes' object defined. This is a required field for the auction, so this adUnit has been removed.")):T.logError("Detected adUnit.code '".concat(e.code,"' did not have 'adUnit.bids' defined or 'adUnit.bids' is not an array. Removing adUnit from auction."))}),c},"checkAdUnitSetup");function J(e){var n=A.a[e]().filter(T.bind.call(i.adUnitsFilter,this,A.a.getAdUnitCodes())),r=A.a.getLastAuctionId();return n.map(function(e){return e.adUnitCode}).filter(i.uniques).map(function(t){return n.filter(function(e){return e.auctionId===r&&e.adUnitCode===t})}).filter(function(e){return e&&e[0]&&e[0].adUnitCode}).map(function(e){return t={},n=e[0].adUnitCode,r={bids:e},n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t;var t,n,r}).reduce(function(e,t){return y(e,t)},{})}function Y(e){var t=e.reason,n=e.message,r=e.bid,i=e.id,o={reason:t,message:n};r&&(o.bid=r),i&&(o.adId=i),T.logError(n),I.emit(x,o)}function Q(e,t){function n(e){for(var t;t=e.shift();)t()}n(f.c),n($),e.call(this,t)}h.getAdserverTargetingForAdUnitCodeStr=function(e){if(T.logInfo("Invoking pbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=h.getAdserverTargetingForAdUnitCode(e);return T.transformAdServerTargetingObj(t)}T.logMessage("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},h.getHighestUnusedBidResponseForAdUnitCode=function(e){if(e){var t=A.a.getAllBidsForAdUnitCode(e).filter(l.a.isUnusedBid).filter(l.a.isBidNotExpired);return t.length?t.reduce(i.getHighestCpm):{}}T.logMessage("Need to call getHighestUnusedBidResponseForAdUnitCode with adunitCode")},h.getAdserverTargetingForAdUnitCode=function(e){return h.getAdserverTargeting(e)[e]},h.getAdserverTargeting=function(e){return T.logInfo("Invoking pbjs.getAdserverTargeting",arguments),l.d.getAllTargeting(e)},h.getNoBids=function(){return T.logInfo("Invoking pbjs.getNoBids",arguments),J("getNoBids")},h.getNoBidsForAdUnitCode=function(t){return{bids:A.a.getNoBids().filter(function(e){return e.adUnitCode===t})}},h.getBidResponses=function(){return T.logInfo("Invoking pbjs.getBidResponses",arguments),J("getBidsReceived")},h.getBidResponsesForAdUnitCode=function(t){return{bids:A.a.getBidsReceived().filter(function(e){return e.adUnitCode===t})}},h.setTargetingForGPTAsync=function(e,t){var n;T.logInfo("Invoking pbjs.setTargetingForGPTAsync",arguments),Object(i.isGptPubadsDefined)()?(n=l.d.getAllTargeting(e),l.d.resetPresetTargeting(e,t),l.d.setTargetingForGPT(n,t),Object.keys(n).forEach(function(t){Object.keys(n[t]).forEach(function(e){"hb_adid"===e&&A.a.setStatusForBids(n[t][e],O.BID_STATUS.BID_TARGETING_SET)})}),I.emit(U,n)):T.logError("window.googletag is not defined on the page")},h.setTargetingForAst=function(e){T.logInfo("Invoking pbjs.setTargetingForAn",arguments),l.d.isApntagDefined()?(l.d.setTargetingForAst(e),I.emit(U,l.d.getAllTargeting())):T.logError("window.apntag is not defined on the page")},h.renderAd=function(e,t,n){if(T.logInfo("Invoking pbjs.renderAd",arguments),T.logMessage("Calling renderAd with adId :"+t),e&&t)try{var r,i,o,a,c,u,s,d,f,l,p,g,b,v,y=A.a.findBidByAdId(t);y?(r=!0,y&&y.status===O.BID_STATUS.RENDERED&&(T.logWarn("Ad id ".concat(y.adId," has been rendered before")),I.emit(R,y),T.deepAccess(S.b.getConfig("auctionOptions"),"suppressStaleRender")&&(r=!1)),r&&(y.ad=T.replaceAuctionPrice(y.ad,y.cpm),y.adUrl=T.replaceAuctionPrice(y.adUrl,y.cpm),n&&n.clickThrough&&(i=n.clickThrough,y.ad=T.replaceClickThrough(y.ad,i),y.adUrl=T.replaceClickThrough(y.adUrl,i)),A.a.addWinningBid(y),I.emit(_,y),o=y.height,a=y.width,c=y.ad,u=y.mediaType,s=y.adUrl,d=y.renderer,f=document.createComment("Creative ".concat(y.creativeId," served by ").concat(y.bidder," Prebid.js Header Bidding")),T.insertElement(f,e,"body"),Object(E.c)(d)?Object(E.b)(d,y):e===document&&!T.inIframe()||"video"===u?(l="Error trying to write ad. Ad render call ad id ".concat(t," was prevented from writing to the main document."),Y({reason:k,message:l,bid:y,id:t})):c?(navigator.userAgent&&-1<navigator.userAgent.toLowerCase().indexOf("firefox/")&&((p=navigator.userAgent.toLowerCase().match(/firefox\/([\d\.]+)/)[1])&&parseInt(p,10)<67&&e.open("text/html","replace")),e.write(c),e.close(),W(e,a,o),T.callBurl(y)):s?((g=T.createInvisibleIframe()).height=o,g.width=a,g.style.display="inline",g.style.overflow="hidden",g.src=s,T.insertElement(g,e,"body"),W(e,a,o),T.callBurl(y)):(b="Error trying to write ad. No ad for bid response id: ".concat(t),Y({reason:N,message:b,bid:y,id:t})))):(v="Error trying to write ad. Cannot find ad by given id : ".concat(t),Y({reason:M,message:v,id:t}))}catch(e){var h="Error trying to write ad Id :".concat(t," to the page:").concat(e.message);Y({reason:P,message:h,id:t})}else{var m="Error trying to write ad Id :".concat(t," to the page. Missing document or adId");Y({reason:q,message:m,id:t})}},h.removeAdUnit=function(e){T.logInfo("Invoking pbjs.removeAdUnit",arguments),e?(T.isArray(e)?e:[e]).forEach(function(e){for(var t=h.adUnits.length-1;0<=t;t--)h.adUnits[t].code===e&&h.adUnits.splice(t,1)}):h.adUnits=[]},h.requestBids=Object(c.b)("async",function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,i=e.adUnitCodes,o=e.labels,a=e.auctionId;I.emit(B);var c=n||S.b.getConfig("bidderTimeout"),r=r&&S.b.convertAdUnitFpd(T.isArray(r)?r:[r])||h.adUnits;T.logInfo("Invoking pbjs.requestBids",arguments);var u=[],s=[];if(S.b.getConfig("s2sConfig",function(e){e&&e.s2sConfig&&(u=Array.isArray(e.s2sConfig)?e.s2sConfig:[e.s2sConfig])}),u.forEach(function(e){s.push.apply(s,b(e.bidders))}),r=K(r),i&&i.length?r=r.filter(function(e){return p()(i,e.code)}):i=r&&r.map(function(e){return e.code}),r.forEach(function(i){var o=Object.keys(i.mediaTypes||{banner:"banner"}),e=i.bids.map(function(e){return e.bidder}),a=m.bidderRegistry,t=s?e.filter(function(e){return!p()(s,e)}):e;i.transactionId=T.generateUUID(),t.forEach(function(t){var e=a[t],n=e&&e.getSpec&&e.getSpec(),r=n&&n.supportedMediaTypes||["banner"];o.some(function(e){return p()(r,e)})?g.a.incrementBidderRequestsCounter(i.code,t):(T.logWarn(T.unsupportedBidderMessage(i,t)),i.bids=i.bids.filter(function(e){return e.bidder!==t}))}),g.a.incrementRequestsCounter(i.code)}),r&&0!==r.length){var d=A.a.createAuction({adUnits:r,adUnitCodes:i,callback:t,cbTimeout:c,labels:o,auctionId:a}),f=r.length;15<f&&T.logInfo("Current auction ".concat(d.getAuctionId()," contains ").concat(f," adUnits."),r),i.forEach(function(e){return l.d.setLatestAuctionForAdUnit(e,d.getAuctionId())}),d.callBids()}else if(T.logMessage("No adUnits configured. No bids requested."),"function"==typeof t)try{t()}catch(e){T.logError("Error executing bidsBackHandler",null,e)}}),h.requestBids.before(Q,49),h.addAdUnits=function(e){T.logInfo("Invoking pbjs.addAdUnits",arguments),h.adUnits.push.apply(h.adUnits,S.b.convertAdUnitFpd(T.isArray(e)?e:[e])),I.emit(w)},h.onEvent=function(e,t,n){T.logInfo("Invoking pbjs.onEvent",arguments),T.isFn(t)?!n||G[e].call(null,n)?I.on(e,t,n):T.logError('The id provided is not valid for event "'+e+'" and no handler was set.'):T.logError('The event handler provided is not a function and was not set on event "'+e+'".')},h.offEvent=function(e,t,n){T.logInfo("Invoking pbjs.offEvent",arguments),n&&!G[e].call(null,n)||I.off(e,t,n)},h.getEvents=function(){return T.logInfo("Invoking pbjs.getEvents"),I.getEvents()},h.registerBidAdapter=function(e,t){T.logInfo("Invoking pbjs.registerBidAdapter",arguments);try{m.registerBidAdapter(e(),t)}catch(e){T.logError("Error registering bidder adapter : "+e.message)}},h.registerAnalyticsAdapter=function(e){T.logInfo("Invoking pbjs.registerAnalyticsAdapter",arguments);try{m.registerAnalyticsAdapter(e)}catch(e){T.logError("Error registering analytics adapter : "+e.message)}},h.createBid=function(e){return T.logInfo("Invoking pbjs.createBid",arguments),Object(d.a)(e)};var $=[],X=Object(c.b)("async",function(e){e&&!T.isEmpty(e)?(T.logInfo("Invoking pbjs.enableAnalytics for: ",e),m.enableAnalytics(e)):T.logError("pbjs.enableAnalytics should be called with option {}")},"enableAnalyticsCb");function Z(e){e.forEach(function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){T.logError("Error processing command :","prebid.js",e)}})}h.enableAnalytics=function(e){$.push(X.bind(this,e))},h.aliasBidder=function(e,t,n){T.logInfo("Invoking pbjs.aliasBidder",arguments),e&&t?m.aliasBidAdapter(e,t,n):T.logError("bidderCode and alias must be passed as arguments","pbjs.aliasBidder")},h.getAllWinningBids=function(){return A.a.getAllWinningBids()},h.getAllPrebidWinningBids=function(){return A.a.getBidsReceived().filter(function(e){return e.status===O.BID_STATUS.BID_TARGETING_SET})},h.getHighestCpmBids=function(e){return l.d.getWinningBids(e)},h.markWinningBidAsUsed=function(t){var e=[];t.adUnitCode&&t.adId?e=A.a.getBidsReceived().filter(function(e){return e.adId===t.adId&&e.adUnitCode===t.adUnitCode}):t.adUnitCode?e=l.d.getWinningBids(t.adUnitCode):t.adId?e=A.a.getBidsReceived().filter(function(e){return e.adId===t.adId}):T.logWarn("Improper use of markWinningBidAsUsed. It needs an adUnitCode or an adId to function."),0<e.length&&(e[0].status=O.BID_STATUS.RENDERED)},h.getConfig=S.b.getConfig,h.setConfig=S.b.setConfig,h.setBidderConfig=S.b.setBidderConfig,h.que.push(function(){return Object(o.a)()}),h.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){T.logError("Error processing command :",e.message,e.stack)}else T.logError("Commands written into pbjs.cmd.push must be wrapped in a function")},h.que.push=h.cmd.push,h.processQueue=function(){c.b.ready(),Z(h.que),Z(h.cmd)},t.default=h},73:function(e,t,n){var r=n(378);e.exports=r},74:function(e,t,n){"use strict";t.a=function(t,n){o.adServers=o.adServers||{},o.adServers[t]=o.adServers[t]||{},Object.keys(n).forEach(function(e){o.adServers[t][e]?Object(i.logWarn)("Attempting to add an already registered function property ".concat(e," for AdServer ").concat(t,".")):o.adServers[t][e]=n[e]})};var r=n(16),i=n(0),o=Object(r.a)()},75:function(e,t,n){var r=n(30),i=n(47),o="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},76:function(e,t,n){var r=n(29),i=n(30),o=n(77);e.exports=!r&&!i(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},77:function(e,t,n){var r=n(26),i=n(31),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},78:function(e,t,n){var r=n(17),i=n(79);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},79:function(e,t,n){var r=n(26),i=n(107),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"gdprDataHandler",function(){return U}),n.d(t,"uspDataHandler",function(){return x}),n.d(t,"coppaDataHandler",function(){return R}),n.d(t,"clientTestAdapters",function(){return D}),n.d(t,"allS2SBidders",function(){return k}),t.getAllS2SBidders=N,t.setS2STestingModule=function(e){A=e};var h=n(0),p=n(96),g=n(38),l=n(1),y=n(4),a=n(3),r=n(11),i=n(13),m=n.n(i),o=n(10),S=n.n(o),b=n(67),c=n(19);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(e,t)||d(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var A,E=n(0),O=n(5),T=n(9),I={},C=I.bidderRegistry={},j=I.aliasRegistry={},w=[];a.b.getConfig("s2sConfig",function(e){e&&e.s2sConfig&&(w=Array.isArray(e.s2sConfig)?e.s2sConfig:[e.s2sConfig])});var _={};var B=Object(r.b)("sync",function(e){var i=e.bidderCode,s=e.auctionId,d=e.bidderRequestId,t=e.adUnits,f=e.labels,l=e.src;return t.reduce(function(e,c){var t=Object(p.b)(Object(p.a)(c,f),c.mediaTypes,c.sizes),n=t.active,u=t.mediaTypes,r=t.filterResults;return n?r&&E.logInfo('Size mapping filtered adUnit "'.concat(c.code,'" banner sizes from '),r.before,"to ",r.after):E.logInfo('Size mapping disabled adUnit "'.concat(c.code,'"')),n&&e.push(c.bids.filter(function(e){return e.bidder===i}).reduce(function(e,t){var n=c.nativeParams||E.deepAccess(c,"mediaTypes.native");n&&(t=v({},t,{nativeParams:Object(g.h)(n)})),t=v({},t,Object(h.getDefinedParams)(c,["ortb2Imp","mediaType","renderer","storedAuctionResponse"]));var r=Object(p.b)(Object(p.a)(t,f),u),i=r.active,o=r.mediaTypes,a=r.filterResults;return i?a&&E.logInfo('Size mapping filtered adUnit "'.concat(c.code,'" bidder "').concat(t.bidder,'" banner sizes from '),a.before,"to ",a.after):E.logInfo('Size mapping deactivated adUnit "'.concat(c.code,'" bidder "').concat(t.bidder,'"')),E.isValidMediaTypes(o)?t=v({},t,{mediaTypes:o}):E.logError("mediaTypes is not correctly configured for adunit ".concat(c.code)),i&&e.push(v({},t,{adUnitCode:c.code,transactionId:c.transactionId,sizes:E.deepAccess(o,"banner.sizes")||E.deepAccess(o,"video.playerSize")||[],bidId:t.bid_id||E.getUniqueIdentifierStr(),bidderRequestId:d,auctionId:s,src:l,bidRequestsCount:b.a.getRequestsCounter(c.code),bidderRequestsCount:b.a.getBidderRequestsCounter(c.code,t.bidder),bidderWinsCount:b.a.getBidderWinsCounter(c.code,t.bidder)})),e},[])),e},[]).reduce(h.flatten,[]).filter(function(e){return""!==e})},"getBids");var U={consentData:null,setConsentData:function(e){U.consentData=e},getConsentData:function(){return U.consentData}},x={consentData:null,setConsentData:function(e){x.consentData=e},getConsentData:function(){return x.consentData}},R={getCoppa:function(){return!!a.b.getConfig("coppa")}},D=[],k=[];function N(){I.s2STestingEnabled=!1,w.forEach(function(e){e&&e.enabled&&e.bidders&&e.bidders.length&&k.push.apply(k,s(e.bidders))})}function P(e){return e&&e.enabled&&e.testing&&A}function M(t,n,e){try{var r=C[t].getSpec();r&&r[n]&&"function"==typeof r[n]&&(E.logInfo("Invoking ".concat(t,".").concat(n)),a.b.runWithBidder(t,h.bind.call(r[n],r,e)))}catch(e){E.logWarn("Error calling ".concat(n," of ").concat(t))}}I.makeBidRequests=Object(r.b)("sync",function(d,f,l,i,p){T.emit(O.EVENTS.BEFORE_REQUEST_BIDS,d);var e=Object(h.getBidderCodes)(d);a.b.getConfig("bidderSequence")===a.a&&(e=Object(h.shuffle)(e));var g=Object(c.a)(),b=e,v=[];0===k.length&&N(),w.forEach(function(e){e&&e.enabled&&P(e)&&(A.calculateBidSources(e),A.getSourceBidderMap(d,k)[A.CLIENT].forEach(function(e){m()(D,e)||D.push(e)}))}),b=e.filter(function(e){return!m()(k,e)||m()(D,e)});var y=k;w.forEach(function(r){var i,o,e,t,n,a,c,u,s;r&&r.enabled&&(s=r,Boolean(P(s)&&s.testServerOnly)&&(c=d,u=r,Boolean(S()(c,function(e){return S()(e.bids,function(e){return(e.bidSource||u.bidderControl&&u.bidderControl[e.bidder])&&e.finalSource===A.SERVER})})))&&(E.logWarn("testServerOnly: True. All client requests will be suppressed."),b.length=0),e=d,n=(t=r).bidders,(a=E.deepClone(e)).forEach(function(e){e.bids=e.bids.filter(function(e){return m()(n,e.bidder)&&(!P(t)||e.finalSource!==A.CLIENT)}).map(function(e){return e.bid_id=E.getUniqueIdentifierStr(),e})}),i=a=a.filter(function(e){return 0!==e.bids.length}),o=E.generateUUID(),y.forEach(function(e){var t=E.getUniqueIdentifierStr(),n={bidderCode:e,auctionId:l,bidderRequestId:t,tid:o,bids:B({bidderCode:e,auctionId:l,bidderRequestId:t,adUnits:E.deepClone(i),labels:p,src:O.S2S.SRC}),auctionStart:f,timeout:r.timeout,src:O.S2S.SRC,refererInfo:g};0!==n.bids.length&&v.push(n)}),i.forEach(function(e){var t=e.bids.filter(function(t){return S()(v,function(e){return S()(e.bids,function(e){return e.bidId===t.bid_id})})});e.bids=t}),v.forEach(function(e){void 0===e.adUnitsS2SCopy&&(e.adUnitsS2SCopy=i.filter(function(e){return 0<e.bids.length}))}))});var t,n,o=(t=d,(n=E.deepClone(t)).forEach(function(e){e.bids=e.bids.filter(function(e){return!D.length||e.finalSource!==A.SERVER})}),n=n.filter(function(e){return 0!==e.bids.length}));return b.forEach(function(e){var t=E.getUniqueIdentifierStr(),n={bidderCode:e,auctionId:l,bidderRequestId:t,bids:B({bidderCode:e,auctionId:l,bidderRequestId:t,adUnits:E.deepClone(o),labels:p,src:"client"}),auctionStart:f,timeout:i,refererInfo:g},r=C[e];r||E.logError("Trying to make a request for bidder that does not exist: ".concat(e)),r&&n.bids&&0!==n.bids.length&&v.push(n)}),U.getConsentData()&&v.forEach(function(e){e.gdprConsent=U.getConsentData()}),x.getConsentData()&&v.forEach(function(e){e.uspConsent=x.getConsentData()}),v},"makeBidRequests"),I.callBids=function(e,t,d,f,l,p,i){var n,r,g,b,v;t.length?(r=(n=u(t.reduce(function(e,t){return e[Number(void 0!==t.src&&t.src===O.S2S.SRC)].push(t),e},[[],[]]),2))[0],g=n[1],b=[],g.forEach(function(e){for(var t=-1,n=0;n<b.length;++n)if(e.tid===b[n].tid){t=n;break}t<=-1&&b.push(e)}),v=0,w.forEach(function(e){var t,n,r,i,o,a,c,u,s;e&&b[v]&&m()(e.bidders,b[v].bidderCode)&&(t=Object(y.b)(p,l?{request:l.request.bind(null,"s2s"),done:l.done}:void 0),n=e.bidders,r=C[e.adapter],i=b[v].tid,o=b[v].adUnitsS2SCopy,a=g.filter(function(e){return e.tid===i}),r?(c={tid:i,ad_units:o,s2sConfig:e}).ad_units.length&&(u=a.map(function(e){return e.start=Object(h.timestamp)(),f.bind(e)}),s=c.ad_units.reduce(function(e,t){return e.concat((t.bids||[]).reduce(function(e,t){return e.concat(t.bidder)},[]))},[]),E.logMessage("CALLING S2S HEADER BIDDERS ==== ".concat(n.filter(function(e){return m()(s,e)}).join(","))),a.forEach(function(e){T.emit(O.EVENTS.BID_REQUESTED,e)}),r.callBids(c,g,function(e,t){var n=Object(h.getBidderRequest)(g,t.bidderCode,e);n&&d.call(n,e,t)},function(){return u.forEach(function(e){return e()})},t)):E.logError("missing "+e.adapter),v++)}),r.forEach(function(t){t.start=Object(h.timestamp)();var e=C[t.bidderCode];a.b.runWithBidder(t.bidderCode,function(){E.logMessage("CALLING BIDDER"),T.emit(O.EVENTS.BID_REQUESTED,t)});var n=Object(y.b)(p,l?{request:l.request.bind(null,t.bidderCode),done:l.done}:void 0),r=f.bind(t);try{a.b.runWithBidder(t.bidderCode,h.bind.call(e.callBids,e,t,d.bind(t),r,n,i,a.b.callbackWithBidder(t.bidderCode)))}catch(e){E.logError("".concat(t.bidderCode," Bid Adapter emitted an uncaught error when parsing their bidRequest"),{e:e,bidRequest:t}),r()}})):E.logWarn("callBids executed with no bidRequests. Were they filtered by labels or sizing?")},I.videoAdapters=[],I.registerBidAdapter=function(e,t){var n=(2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,r=void 0===n?[]:n;e&&t?"function"==typeof e.callBids?(C[t]=e,m()(r,"video")&&I.videoAdapters.push(t),m()(r,"native")&&g.f.push(t)):E.logError("Bidder adaptor error for bidder code: "+t+"bidder must implement a callBids() function"):E.logError("bidAdapter or bidderCode not specified")},I.aliasBidAdapter=function(n,r,e){var t,i;if(void 0===C[r]){var o=C[n];if(void 0===o){var a=[];w.forEach(function(e){var t;e.bidders&&e.bidders.length&&(t=e&&e.bidders,e&&m()(t,r)?j[r]=n:a.push(n))}),a.forEach(function(e){E.logError('bidderCode "'+e+'" is not an existing bidder.',"adapterManager.aliasBidAdapter")})}else try{var c,u,s,d,f=(t=n,i=[],m()(I.videoAdapters,t)&&i.push("video"),m()(g.f,t)&&i.push("native"),i);o.constructor.prototype!=Object.prototype?(d=new o.constructor).setBidderCode(r):(c=o.getSpec(),u=e&&e.gvlid,s=e&&e.skipPbsAliasing,d=Object(l.newBidder)(v({},c,{code:r,gvlid:u,skipPbsAliasing:s})),j[r]=n),I.registerBidAdapter(d,r,{supportedMediaTypes:f})}catch(e){E.logError(n+" bidder does not currently support aliasing.","adapterManager.aliasBidAdapter")}}else E.logMessage('alias name "'+r+'" has been already specified.')},I.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code,r=e.gvlid;t&&n?"function"==typeof t.enableAnalytics?(t.code=n,_[n]={adapter:t,gvlid:r}):E.logError('Prebid Error: Analytics adaptor error for analytics "'.concat(n,'"\n analytics adapter must implement an enableAnalytics() function')):E.logError("Prebid Error: analyticsAdapter or analyticsCode not specified")},I.enableAnalytics=function(e){E.isArray(e)||(e=[e]),E._each(e,function(e){var t=_[e.provider].adapter;t?t.enableAnalytics(e):E.logError("Prebid Error: no analytics adapter found in registry for\n ".concat(e.provider,"."))})},I.getBidAdapter=function(e){return C[e]},I.getAnalyticsAdapter=function(e){return _[e]},I.callTimedOutBidders=function(t,n,r){n=n.map(function(e){return e.params=E.getUserConfiguredParams(t,e.adUnitCode,e.bidder),e.timeout=r,e}),n=E.groupBy(n,"bidder"),Object.keys(n).forEach(function(e){M(e,"onTimeout",n[e])})},I.callBidWonBidder=function(e,t,n){t.params=E.getUserConfiguredParams(n,t.adUnitCode,t.bidder),b.a.incrementBidderWinsCounter(t.adUnitCode,t.bidder),M(e,"onBidWon",t)},I.callSetTargetingBidder=function(e,t){M(e,"onSetTargeting",t)},I.callBidViewableBidder=function(e,t){M(e,"onBidViewable",t)},t.default=I},80:function(e,t,n){var r=n(30);e.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},81:function(e,t,n){function r(c){return function(e,t,n){var r,i=u(e),o=s(i.length),a=d(n,o);if(c&&t!=t){for(;a<o;)if((r=i[a++])!=r)return!0}else for(;a<o;a++)if((c||a in i)&&i[a]===t)return c||a||0;return!c&&-1}}var u=n(46),s=n(50),d=n(111);e.exports={includes:r(!0),indexOf:r(!1)}},82:function(e,t,n){var r=n(112);n(135),n(137),n(139),n(141),n(143),n(144),n(145),n(146),n(147),n(148),n(149),n(150),n(151),n(152),n(153),n(154),n(155),n(156),e.exports=r},83:function(e,t,n){function r(e){c(e,d,{value:{objectID:"O"+ ++f,weakData:{}}})}var i=n(53),o=n(31),a=n(27),c=n(34).f,u=n(59),s=n(115),d=u("meta"),f=0,l=Object.isExtensible||function(){return!0},p=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,d)){if(!l(e))return"F";if(!t)return"E";r(e)}return e[d].objectID},getWeakData:function(e,t){if(!a(e,d)){if(!l(e))return!0;if(!t)return!1;r(e)}return e[d].weakData},onFreeze:function(e){return s&&p.REQUIRED&&l(e)&&!a(e,d)&&r(e),e}};i[d]=!0},84:function(e,t,n){var r=n(22),i=n(40),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},85:function(e,t,n){var o=n(15);e.exports=function(t,e,n,r){try{return r?e(o(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&o(i.call(t)),e}}},86:function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},87:function(e,t,n){function r(){}function i(e){return"<script>"+e+"</"+g+">"}var o,a=n(15),c=n(120),u=n(88),s=n(53),d=n(123),f=n(77),l=n(65),p="prototype",g="script",b=l("IE_PROTO"),v=function(){try{o=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;v=o?function(e){e.write(i("")),e.close();var t=e.parentWindow.Object;return e=null,t}(o):((t=f("iframe")).style.display="none",d.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(i("document.F=Object")),e.close(),e.F);for(var n=u.length;n--;)delete v[p][u[n]];return v()};s[b]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(r[p]=a(e),n=new r,r[p]=null,n[b]=e):n=v(),void 0===t?n:c(n,t)}},88:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},89:function(e,t,n){var i=n(32);e.exports=function(e,t,n,r){r&&r.enumerable?e[t]=n:i(e,t,n)}},9:function(e,t,n){function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var c,i,u=n(0),o=n(5),a=Array.prototype.slice,s=Array.prototype.push,d=u._map(o.EVENTS,function(e){return e}),f=o.EVENT_ID_PATHS,l=[];e.exports=(c={},(i={}).on=function(e,t,n){var r,i;i=e,u.contains(d,i)?(r=c[e]||{que:[]},n?(r[n]=r[n]||{que:[]},r[n].que.push(t)):r.que.push(t),c[e]=r):u.logError("Wrong event name : "+e+" Valid event names :"+d)},i.emit=function(e){!function(e,t){u.logMessage("Emitting event for: "+e);var n=t[0]||{},r=n[f[e]],i=c[e]||{que:[]},o=u._map(i,function(e,t){return t}),a=[];l.push({eventType:e,args:n,id:r,elapsedTime:u.getPerformanceNow()}),r&&u.contains(o,r)&&s.apply(a,i[r].que),s.apply(a,i.que),u._each(a,function(e){if(e)try{e.apply(null,t)}catch(e){u.logError("Error executing handler:","events.js",e)}})}(e,a.call(arguments,1))},i.off=function(e,n,r){var i=c[e];u.isEmpty(i)||u.isEmpty(i.que)&&u.isEmpty(i[r])||r&&(u.isEmpty(i[r])||u.isEmpty(i[r].que))||(r?u._each(i[r].que,function(e){var t=i[r].que;e===n&&t.splice(t.indexOf(e),1)}):u._each(i.que,function(e){var t=i.que;e===n&&t.splice(t.indexOf(e),1)}),c[e]=i)},i.get=function(){return c},i.getEvents=function(){var n=[];return u._each(l,function(e){var t=r({},e);n.push(t)}),n},i)},90:function(e,t,n){"use strict";var r,i,o,a=n(91),c=n(32),u=n(27),s=n(22),d=n(17),f=s("iterator"),l=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):l=!0),null==r&&(r={}),d||u(r,f)||c(r,f,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:l}},91:function(e,t,n){var r=n(27),i=n(57),o=n(65),a=n(126),c=o("IE_PROTO"),u=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},92:function(e,t,n){"use strict";var i=n(131).charAt,r=n(54),o=n(66),a="String Iterator",c=r.set,u=r.getterFor(a);o(String,"String",function(e){c(this,{type:a,string:String(e),index:0})},function(){var e,t=u(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=i(n,r),t.index+=e.length,{value:e,done:!1})})},93:function(e,t,n){var r=n(15),i=n(61);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},94:function(e,t,n){var r=n(157);e.exports=r},95:function(e,t,n){"use strict";t.a=function(e){var t=e;return{callBids:function(){},setBidderCode:function(e){t=e},getBidderCode:function(){return t}}}},96:function(e,t,n){"use strict";t.a=function(e,t){if(e.labelAll)return{labelAll:!0,labels:e.labelAll,activeLabels:t};return{labelAll:!1,labels:e.labelAny,activeLabels:t}},t.c=function(e){var t=v(1<arguments.length&&void 0!==arguments[1]?arguments[1]:b);return!t.shouldFilter||!!t.sizesSupported[e]},t.b=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.labels,n=void 0===t?[]:t,r=e.labelAll,i=void 0!==r&&r,o=e.activeLabels,a=void 0===o?[]:o,c=1<arguments.length?arguments[1]:void 0,u=2<arguments.length?arguments[2]:void 0,s=v(3<arguments.length&&void 0!==arguments[3]?arguments[3]:b);c=Object(p.isPlainObject)(c)?Object(p.deepClone)(c):u?{banner:{sizes:u}}:{};var d=Object(p.deepAccess)(c,"banner.sizes");s.shouldFilter&&d&&(c.banner.sizes=d.filter(function(e){return s.sizesSupported[e]}));var f=Object.keys(c),l={active:f.every(function(e){return"banner"!==e})||f.some(function(e){return"banner"===e})&&0<Object(p.deepAccess)(c,"banner.sizes.length")&&(0===n.length||!i&&(n.some(function(e){return s.labels[e]})||n.some(function(e){return g()(a,e)}))||i&&n.reduce(function(e,t){return e?s.labels[t]||g()(a,t):e},!0)),mediaTypes:c};d&&d.length!==c.banner.sizes.length&&(l.filterResults={before:d,after:c.banner.sizes});return l};var r=n(3),p=n(0),i=n(13),g=n.n(i);function o(e){return(o="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})(e)}var b=[];function v(e){return e.reduce(function(n,r){if("object"===o(r)&&"string"==typeof r.mediaQuery){var t=!1;if(""===r.mediaQuery)t=!0;else try{t=Object(p.getWindowTop)().matchMedia(r.mediaQuery).matches}catch(e){Object(p.logWarn)("Unfriendly iFrame blocks sizeConfig from being correctly evaluated"),t=matchMedia(r.mediaQuery).matches}t&&(Array.isArray(r.sizesSupported)&&(n.shouldFilter=!0),["labels","sizesSupported"].forEach(function(t){return(r[t]||[]).forEach(function(e){return n[t][e]=!0})}))}else Object(p.logWarn)('sizeConfig rule missing required property "mediaQuery"');return n},{labels:{},sizesSupported:{},shouldFilter:!1})}r.b.getConfig("sizeConfig",function(e){return t=e.sizeConfig,void(b=t);var t})},97:function(e,t,n){"use strict";t.b=function(e,t,n){var r={puts:e.map(c,n)};Object(i.a)(o.b.getConfig("cache.url"),function(n){return{success:function(e){var t;try{t=JSON.parse(e).responses}catch(e){return void n(e,[])}t?n(null,t):n(new Error("The cache server didn't respond with a responses property."),[])},error:function(e,t){n(new Error("Error storing video ad in the cache: ".concat(e,": ").concat(JSON.stringify(t))),[])}}}(t),JSON.stringify(r),{contentType:"text/plain",withCredentials:!0})},t.a=function(e){return"".concat(o.b.getConfig("cache.url"),"?uuid=").concat(e)};var i=n(4),o=n(3),a=n(0);function c(e){var t,n,r,i={type:"xml",value:e.vastXml?e.vastXml:(t=e.vastUrl,n=e.vastImpUrl,r=n?"<![CDATA[".concat(n,"]]>"):"",'<VAST version="3.0">\n <Ad>\n <Wrapper>\n <AdSystem>prebid.org wrapper</AdSystem>\n <VASTAdTagURI><![CDATA['.concat(t,"]]></VASTAdTagURI>\n <Impression>").concat(r,"</Impression>\n <Creatives></Creatives>\n </Wrapper>\n </Ad>\n </VAST>")),ttlseconds:Number(e.ttl)};return o.b.getConfig("cache.vasttrack")&&(i.bidder=e.bidder,i.bidid=e.requestId,i.aid=e.auctionId,a.isPlainObject(this)&&this.hasOwnProperty("auctionStart")&&(i.timestamp=this.auctionStart)),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(i.key=e.customCacheKey),i}}}); pbjsChunk([0],{182:function(e,t,r){e.exports=r(183)},183:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"VERSION",function(){return O}),r.d(t,"ENDPOINT",function(){return I}),r.d(t,"storage",function(){return S}),r.d(t,"RENDERER_URL",function(){return x}),r.d(t,"ORTB_VIDEO_PARAMS",function(){return U}),t.adagioScriptFromLocalStorageCb=P,t.getAdagioScript=W,t.prepareExchange=N,r.d(t,"_features",function(){return M}),r.d(t,"internal",function(){return B}),r.d(t,"spec",function(){return V});var n=r(10),o=r.n(n),A=r(0),m=r(3),i=r(1),a=r(39),s=r(68),c=(r.n(s),r(7)),u=r(19),h=r(20),d=r(2),p=r(12),g=r(24);function f(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function v(i){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?f(Object(o),!0).forEach(function(e){var t,r,n;t=i,n=o[r=e],r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(o,e))})}return i}var l,y="adagio",b="Adagio:",O="2.11.0",I="https://mp.4dex.io/prebid",D=[d.b,d.c,d.d],T="https://script.4dex.io/localstore.js",w="adagioScript",S=Object(c.b)(617,"adagio"),x="https://script.4dex.io/outstream-player.js",E="AL16XT44Sfp+8SHVF1UdC7hydPSMVLMhsYknKDdwqq+0ToDSJrP0+Qh0ki9JJI2uYm/6VEYo8TJED9WfMkiJ4vf02CW3RvSWwc35bif2SK1L8Nn/GfFYr/2/GG/Rm0vUsv+vBHky6nuuYls20Og0HDhMgaOlXoQ/cxMuiy5QSktp",k=65537,U={mimes:function(e){return Array.isArray(e)&&0<e.length&&e.every(function(e){return"string"==typeof e})},minduration:function(e){return A.isInteger(e)},maxduration:function(e){return A.isInteger(e)},protocols:function(e){return Array.isArray(e)&&e.every(function(e){return-1!==[1,2,3,4,5,6,7,8,9,10].indexOf(e)})},w:function(e){return A.isInteger(e)},h:function(e){return A.isInteger(e)},startdelay:function(e){return A.isInteger(e)},placement:function(e){return Array.isArray(e)&&e.every(function(e){return-1!==[1,2,3,4,5].indexOf(e)})},linearity:function(e){return-1!==[1,2].indexOf(e)},skip:function(e){return-1!==[0,1].indexOf(e)},skipmin:function(e){return A.isInteger(e)},skipafter:function(e){return A.isInteger(e)},sequence:function(e){return A.isInteger(e)},battr:function(e){return Array.isArray(e)&&e.every(function(e){return-1!==Array.from({length:17},function(e,t){return t+1}).indexOf(e)})},maxextended:function(e){return A.isInteger(e)},minbitrate:function(e){return A.isInteger(e)},maxbitrate:function(e){return A.isInteger(e)},boxingallowed:function(e){return-1!==[0,1].indexOf(e)},playbackmethod:function(e){return Array.isArray(e)&&e.every(function(e){return-1!==[1,2,3,4,5,6].indexOf(e)})},playbackend:function(e){return-1!==[1,2,3].indexOf(e)},delivery:function(e){return-1!==[1,2,3].indexOf(e)},pos:function(e){return-1!==[0,1,2,3,4,5,6,7].indexOf(e)},api:function(e){return Array.isArray(e)&&e.every(function(e){return-1!==[1,2,3,4,5,6].indexOf(e)})}},R={};function P(e){try{if(!e)return void A.logWarn("".concat(b," script not found."));var t,r,n,i=/^(\/\/ hash: (.+)\n)(.+\n)$/;i.test(e)?(r=(t=e.match(i))[2],n=t[3],Object(s.verify)(n,r,E,k)?(A.logInfo("".concat(b," start script.")),Function(e)()):(A.logWarn("".concat(b," invalid script found.")),S.removeDataFromLocalStorage(w))):(A.logWarn("".concat(b," no hash found.")),S.removeDataFromLocalStorage(w))}catch(e){A.logError(b,e)}}function W(){S.getDataFromLocalStorage(w,function(e){B.adagioScriptFromLocalStorageCb(e)}),S.localStorageIsEnabled(function(e){if(e)Object(a.a)(T,y);else try{window.localStorage.removeItem(w),window.localStorage.removeItem("adagio")}catch(e){A.logInfo("".concat(b," unable to clear Adagio scripts from localstorage."))}})}function C(){try{if(A.getWindowTop().location.href)return!0}catch(e){return!1}}function j(){var e=A.getWindowSelf();return!(!e.$sf||!e.$sf.ext)}function N(e){var t=JSON.parse(e,function(e,t){if(!e.startsWith("_")||""===e)return t}),r=A.deepAccess(t,"session.rnd"),n=!1;B.isNewSession(t)&&(n=!0,r=Math.random());var i={session:{new:n,rnd:r}};A.mergeDeep(R,t,i),B.enqueue({action:"session",ts:Date.now(),data:R})}var M={getPrintNumber:function(e){return B.getOrAddAdagioAdUnit(e).printNumber||1},getPageDimensions:function(){if(j()||!C())return"";var e=A.getWindowTop(),t=e.document.querySelector("body");if(!t)return"";var r=e.document.documentElement,n=Math.max(t.scrollWidth,t.offsetWidth,r.clientWidth,r.scrollWidth,r.offsetWidth),i=Math.max(t.scrollHeight,t.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight);return"".concat(n,"x").concat(i)},getViewPortDimensions:function(){if(!j()&&!C())return"";var e={w:0,h:0};if(j()){var t=A.getWindowSelf();if("function"!=typeof t.$sf.ext.geom)return A.logWarn("".concat(b," cannot use the $sf.ext.geom() safeFrame API method")),"";var r=t.$sf.ext.geom().win;e.w=Math.round(r.w),e.h=Math.round(r.h)}else{var n=A.getWindowTop();if(n.innerWidth)e.w=n.innerWidth,e.h=n.innerHeight;else{var i=n.document;if(!i.querySelector("body"))return"";e.w=i.querySelector("body").clientWidth,e.h=i.querySelector("body").clientHeight}}return"".concat(e.w,"x").concat(e.h)},getDomLoadingDuration:function(){var e,t=-1,r=C()?A.getWindowTop().performance:A.getWindowSelf().performance;return r&&r.timing&&0<r.timing.navigationStart&&(0<(e=r.timing.domLoading-r.timing.navigationStart)&&(t=e)),t},getSlotPosition:function(e){var t=e.adUnitElementId,r=e.postBid;if(!t)return"";if(!j()&&!C())return"";var n={x:0,y:0};if(j()){var i=A.getWindowSelf();if("function"!=typeof i.$sf.ext.geom)return A.logWarn("".concat(b," cannot use the $sf.ext.geom() safeFrame API method")),"";var o=i.$sf.ext.geom().self;n.x=Math.round(o.t),n.y=Math.round(o.l)}else{if(!C())return"";var a,s,c,u=A.getWindowTop(),d=u.document;if(!(c=!0===r?(s=(a=A.getWindowSelf()).document.getElementById(t),B.getElementFromTopWindow(s,a)):u.document.getElementById(t)))return"";var p=c.getBoundingClientRect(),f=d.documentElement,l=d.body,m=d.clientTop||l.clientTop||0,h=d.clientLeft||l.clientLeft||0,g=u.pageYOffset||f.scrollTop||l.scrollTop,v=u.pageXOffset||f.scrollLeft||l.scrollLeft,y=u.getComputedStyle(c,null).display||"block";"none"===y&&(c.style=c.style||{},c.style.display="block",p=c.getBoundingClientRect(),c.style.display=y),n.x=Math.round(p.left+v-h),n.y=Math.round(p.top+g-m)}return"".concat(n.x,"x").concat(n.y)},getTimestampUTC:function(){return Math.floor((new Date).getTime()/1e3)-60*(new Date).getTimezoneOffset()},getDevice:function(){var e=A.getWindowSelf().navigator.userAgent;return/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(e)?5:/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/.test(e)?4:2},getBrowser:function(){var e=A.getWindowSelf(),t=e.navigator.userAgent,r=t.toLowerCase();return/Edge\/\d./i.test(t)?"edge":0<r.indexOf("chrome")?"chrome":0<r.indexOf("firefox")?"firefox":0<r.indexOf("safari")?"safari":0<r.indexOf("opera")?"opera":0<r.indexOf("msie")||e.MSStream?"ie":"unknow"},getOS:function(){var e=A.getWindowSelf().navigator.userAgent.toLowerCase();return 0<e.indexOf("linux")?"linux":0<e.indexOf("mac")?"mac":0<e.indexOf("win")?"windows":""},getUrl:function(e){if(e.reachedTop)return e.referer},getUrlFromParams:function(e){var t=e.postBidOptions;if(t&&t.url)return t.url}};var B={enqueue:function(e){var t=B.getCurrentWindow();t.ADAGIO=t.ADAGIO||{},t.ADAGIO.queue=t.ADAGIO.queue||[],t.ADAGIO.queue.push(e)},getOrAddAdagioAdUnit:function(e){var t=B.getCurrentWindow();return t.ADAGIO=t.ADAGIO||{},t.ADAGIO.adUnits[e]?t.ADAGIO.adUnits[e]:t.ADAGIO.adUnits[e]={}},getPageviewId:function(){var e=B.getCurrentWindow();return e.ADAGIO=e.ADAGIO||{},e.ADAGIO.pageviewId=e.ADAGIO.pageviewId||A.generateUUID(),e.ADAGIO.pageviewId},computePrintNumber:function(e){var t=1,r=B.getCurrentWindow();return r.ADAGIO&&r.ADAGIO.adUnits&&r.ADAGIO.adUnits[e]&&r.ADAGIO.adUnits[e].pageviewId===B.getPageviewId()&&r.ADAGIO.adUnits[e].printNumber&&(t=parseInt(r.ADAGIO.adUnits[e].printNumber,10)+1),t},getDevice:function(){var e=navigator.language?"language":"userLanguage";return{userAgent:navigator.userAgent,language:navigator[e],deviceType:M.getDevice(),dnt:A.getDNT()?1:0,geo:{},js:1}},getSite:function(e){var t,r="",n="",i="",o=e.refererInfo;return C()?(r=(t=A.getWindowTop()).location.hostname,n=t.location.href,i=t.document.referrer||""):o.reachedTop?(r=A.parseUrl(o.referer).hostname,n=o.referer):o.stack&&o.stack.length&&o.stack[0]&&(r=A.parseUrl(o.stack[0]).hostname),{domain:r,page:n,referrer:i}},getElementFromTopWindow:function e(t,r){try{if(A.getWindowTop()===r)return t.getAttribute("id")||t.setAttribute("id","adg-".concat(A.getUniqueIdentifierStr())),t;var n=r.frameElement,i=n.getBoundingClientRect(),o=t.getBoundingClientRect();return i.width===o.width&&i.height===o.height&&e(n,r.parent)}catch(e){return A.logWarn("".concat(b),e),!1}},autoDetectAdUnitElementId:function(e){var t=A.getGptSlotInfoForAdUnitCode(e),r=null;return t&&t.divId&&(r=t.divId),r},autoDetectEnvironment:function(){return{2:"desktop",4:"mobile",5:"tablet"}[M.getDevice()]||"unknown"},getFeatures:function(e,t){var r=e.adUnitCode,n=e.params,i=n.adUnitElementId,o=t.refererInfo;i||A.logWarn("".concat(b," unable to get params.adUnitElementId. Continue without tiv."));var a={print_number:M.getPrintNumber(r).toString(),page_dimensions:M.getPageDimensions().toString(),viewport_dimensions:M.getViewPortDimensions().toString(),dom_loading:M.getDomLoadingDuration().toString(),adunit_position:M.getSlotPosition(n).toString(),user_timestamp:M.getTimestampUTC().toString(),device:M.getDevice().toString(),url:M.getUrl(o)||M.getUrlFromParams(n)||"",browser:M.getBrowser(),os:M.getOS()};Object.keys(a).forEach(function(e){""===a[e]&&delete a[e]});var s={};return s[i]={features:a,version:"1"},B.enqueue({action:"features",ts:Date.now(),data:s}),a},getRefererInfo:u.a,adagioScriptFromLocalStorageCb:P,getCurrentWindow:function(){return l||A.getWindowSelf()},supportIObs:function(){var e=B.getCurrentWindow();return!!(e&&e.IntersectionObserver&&e.IntersectionObserverEntry&&e.IntersectionObserverEntry.prototype&&"intersectionRatio"in e.IntersectionObserverEntry.prototype)},canAccessTopWindow:C,isRendererPreferredFromPublisher:function(e){var t=A.deepAccess(e,"renderer"),r=!!(t&&t.url&&t.render),n=A.deepAccess(e,"mediaTypes.video.renderer"),i=!!(n&&n.url&&n.render);return!!(r&&!0!==t.backupOnly||i&&!0!==n.backupOnly)},isNewSession:function(e){var t=Date.now(),r=A.deepAccess(e,"session",{}),n=r.lastActivityTime,i=r.vwSmplg;return!A.isNumber(n)||!A.isNumber(i)||18e5<t-n},prepareExchange:N};function G(e){e.renderer.push(function(){"function"==typeof window.ADAGIO.outstreamPlayer?window.ADAGIO.outstreamPlayer(e):A.logError("".concat(b," Adagio outstream player is not defined"))})}function q(e){var n;e.admNative&&Array.isArray(e.admNative.assets)?(n={},e.admNative.assets.forEach(function(e){if(e.title)n.title=e.title.text;else if(e.data)t=e.data,(r={1:"sponsoredBy",2:"body",3:"rating",4:"likes",5:"downloads",6:"price",7:"salePrice",8:"phone",9:"address",10:"body2",11:"displayUrl",12:"cta"}).hasOwnProperty(t.type)&&"string"==typeof t.value&&(n[r[t.type]]=t.value);else if(e.img)switch(e.img.type){case 1:n.icon={url:e.img.url,width:e.img.w,height:e.img.h};break;default:n.image={url:e.img.url,width:e.img.w,height:e.img.h}}var t,r}),e.admNative.link&&(e.admNative.link.url&&(n.clickUrl=e.admNative.link.url),Array.isArray(e.admNative.link.clickTrackers)&&(n.clickTrackers=e.admNative.link.clickTrackers)),Array.isArray(e.admNative.eventtrackers)?(n.impressionTrackers=[],e.admNative.eventtrackers.forEach(function(e){if(1===e.event)switch(e.method){case 1:n.impressionTrackers.push(e.url);break;case 2:n.javascriptTrackers='<script src="'.concat(e.url,'"><\/script>')}})):(n.impressionTrackers=Array.isArray(e.admNative.imptrackers)?e.admNative.imptrackers:[],e.admNative.jstracker&&(n.javascriptTrackers=e.admNative.jstracker)),e.admNative.privacy&&(n.privacyLink=e.admNative.privacy),e.admNative.ext&&(n.ext={},e.admNative.ext.bvw&&(n.ext.adagio_bvw=e.admNative.ext.bvw)),e.native=n):A.logError("".concat(b," Invalid native response"))}function F(n){if(!A.isFn(n.getFloor))return!1;function r(e,t){var r=n.getFloor({currency:"USD",mediaType:e,size:[]});i.push(A.cleanObj({mt:e,s:A.isArray(t)?"".concat(t[0],"x").concat(t[1]):void 0,f:isNaN(r.floor)||"USD"!==r.currency?.1:r.floor}))}var i=[];return Object.keys(n.mediaTypes).forEach(function(t){var e;-1!==D.indexOf(t)&&(e=t===d.d?"playerSize":"sizes",n.mediaTypes[t][e]&&n.mediaTypes[t][e].length?A.isArray(n.mediaTypes[t][e][0])?n.mediaTypes[t][e].forEach(function(e){r(t,[e[0],e[1]])}):r(t,[n.mediaTypes[t][e][0],n.mediaTypes[t][e][1]]):r(t,"*"))}),i}var V={code:y,gvlid:617,supportedMediaTypes:D,isBidRequestValid:function(e){var t=e.adUnitCode,r=e.auctionId,n=e.sizes,i=e.bidder,o=e.params,a=e.mediaTypes;if(!o)return A.logWarn("".concat(b,' the "params" property is missing.')),!1;var s=o.organizationId,c=o.site,u=!0===o.useAdUnitCodeAsAdUnitElementId?t:o.adUnitElementId||B.autoDetectAdUnitElementId(t),d=!0===o.useAdUnitCodeAsPlacement?t:o.placement,p=o.environment||B.autoDetectEnvironment(),f=B.supportIObs();e.params=v(v({},o),{},{adUnitElementId:u,environment:p,placement:d,supportIObs:f});function l(){return{action:"pb-dbg",ts:Date.now(),data:{bid:e}}}if(!B.getRefererInfo().reachedTop)return A.logWarn("".concat(b," the main page url is unreachabled.")),B.enqueue(l()),!1;if(!(s&&c&&d))return A.logWarn("".concat(b," at least one required param is missing.")),B.enqueue(l()),!1;var m=B.getCurrentWindow(),h=B.getPageviewId(),g=B.computePrintNumber(t);return m.ADAGIO=m.ADAGIO||{},m.ADAGIO.pbjsAdUnits=m.ADAGIO.pbjsAdUnits.filter(function(e){return e.code!==t}),m.ADAGIO.pbjsAdUnits.push({code:t,mediaTypes:a||{},sizes:a&&a.banner&&Array.isArray(a.banner.sizes)?a.banner.sizes:n,bids:[{bidder:i,params:e.params}],auctionId:r,pageviewId:h,printNumber:g}),m.ADAGIO.adUnits[t]={auctionId:r,pageviewId:h,printNumber:g},!0},buildRequests:function(e,t){var r,n,i="https:"===location.protocol?1:0,o=B.getDevice(),a=B.getSite(t),s=B.getPageviewId(),c=function(e){if(!A.deepAccess(e,"gdprConsent"))return!1;var t=e.gdprConsent,r=t.apiVersion,n=t.gdprApplies,i=t.consentString,o=t.allowAuctionWithoutConsent;return A.cleanObj({apiVersion:r,consentString:i,consentRequired:n?1:0,allowAuctionWithoutConsent:o?1:0})}(t)||{},u=(r=t,!A.deepAccess(r,"uspConsent")?{}:{uspConsent:r.uspConsent}),d={required:!0===m.b.getConfig("coppa")?1:0},p=(n=e[0],A.deepAccess(n,"schain")),f=function(e){if(A.deepAccess(e,"userId"))return Object(h.b)(e.userId)}(e[0])||[],l=A._map(e,function(e){return e.features=B.getFeatures(e,t),e.floors=F(e),A.deepAccess(e,"mediaTypes.video")&&function(t){var e,r=A.deepAccess(t,"mediaTypes.video",{}),n=A.deepAccess(t,"params.video",{}),i={};Array.isArray(r.playerSize)&&(e=Array.isArray(r.playerSize[0])?r.playerSize[0]:r.playerSize,i.w=e[0],i.h=e[1]);var o=v(v(v({},i),r),n);o.context&&o.context===g.b&&(t.mediaTypes.video.playerName=B.isRendererPreferredFromPublisher(t)?"other":"adagio","other"===t.mediaTypes.video.playerName&&A.logWarn("".concat(b," renderer.backupOnly has not been set. Adagio recommends to use its own player to get expected behavior."))),Object.keys(U).forEach(function(e){o.hasOwnProperty(e)&&(U[e](o[e])?t.mediaTypes.video[e]=o[e]:(delete t.mediaTypes.video[e],A.logWarn("".concat(b," The OpenRTB video param ").concat(e," has been skipped due to misformating. Please refer to OpenRTB 2.5 spec."))))})}(e),e}).reduce(function(e,t){var r=A.deepClone(t);return r.params.organizationId=r.params.organizationId.toString(),delete r.floorData,e[r.params.organizationId]=e[r.params.organizationId]||[],e[r.params.organizationId].push(r),e},{});return A._map(Object.keys(l),function(e){return{method:"POST",url:I,data:{id:A.generateUUID(),organizationId:e,secure:i,device:o,site:a,pageviewId:s,adUnits:l[e],data:R,regs:{gdpr:c,coppa:d,ccpa:u},schain:p,user:{eids:f},prebidVersion:"4.43.4",adapterVersion:O,featuresVersion:"1"},options:{contentType:"text/plain"}}})},interpretResponse:function(e,n){var i=[];try{var t=e.body;t&&(t.data&&B.enqueue({action:"ssp-data",ts:Date.now(),data:t.data}),t.bids&&t.bids.forEach(function(t){var e,r=o()(n.data.adUnits,function(e){return e.bidId===t.requestId});r&&(t.meta=A.deepAccess(t,"meta",{}),t.meta.mediaType=t.mediaType,t.meta.advertiserDomains=Array.isArray(t.aDomain)&&t.aDomain.length?t.aDomain:[],t.mediaType===d.d&&(e=A.deepAccess(r,"mediaTypes.video.context"),!t.vastUrl&&t.vastXml&&(t.vastUrl="data:text/xml;charset=utf-8;base64,"+btoa(t.vastXml.replace(/\\"/g,'"'))),e===g.b&&(t.renderer=p.a.install({id:t.requestId,adUnitCode:t.adUnitCode,url:t.urlRenderer||x,config:v(v({},A.deepAccess(r,"mediaTypes.video")),A.deepAccess(t,"outstream",{}))}),t.renderer.setRender(G))),t.mediaType===d.c&&q(t),t.site=r.params.site,t.placement=r.params.placement,t.pagetype=r.params.pagetype,t.category=r.params.category,t.subcategory=r.params.subcategory,t.environment=r.params.environment),i.push(t)}))}catch(e){A.logError(e)}return i},getUserSyncs:function(e,t){return!(!t.length||""===t[0].body||!t[0].body.userSyncs)&&t[0].body.userSyncs.map(function(e){return{type:"p"===e.t?"image":"iframe",url:e.u}})}};!function(){C()&&(l=C()?A.getWindowTop():A.getWindowSelf());var e=B.getCurrentWindow();e.ADAGIO=e.ADAGIO||{},e.ADAGIO.adUnits=e.ADAGIO.adUnits||{},e.ADAGIO.pbjsAdUnits=e.ADAGIO.pbjsAdUnits||[],e.ADAGIO.queue=e.ADAGIO.queue||[],e.ADAGIO.versions=e.ADAGIO.versions||{},e.ADAGIO.versions.adagioBidderAdapter=O,e.ADAGIO.isSafeFrameWindow=j(),S.getDataFromLocalStorage("adagio",function(e){try{B.prepareExchange(e)}catch(e){A.logError(b,e)}}),W()}(),Object(i.registerBidder)(V)},20:function(e,t,r){"use strict";t.b=function(e){var t=[];for(var r in e){var n;e.hasOwnProperty(r)&&("pubProvidedId"===r?t=t.concat(e.pubProvidedId):(n=function(e,t){var r=u[t];if(r&&e){var n={};n.source=r.source;var i=c.isFn(r.getValue)?r.getValue(e):e;if(c.isStr(i)){var o,a,s={id:i,atype:r.atype};return!c.isFn(r.getUidExt)||(o=r.getUidExt(e))&&(s.ext=o),n.uids=[s],!c.isFn(r.getEidExt)||(a=r.getEidExt(e))&&(n.ext=a),n}}return null}(e[r],r))&&t.push(n))}return t},t.a=function(e){var r=[];return e.filter(function(e){return c.isPlainObject(e.idObj)&&Object.keys(e.idObj).length}).forEach(function(t){Object.keys(t.idObj).forEach(function(e){c.deepAccess(t,"config.bidders")&&Array.isArray(t.config.bidders)&&c.deepAccess(u,e+".source")&&r.push({source:u[e].source,bidders:t.config.bidders})})}),r};var c=r(0),u={intentIqId:{source:"intentiq.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}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=c.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:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},sharedid:{source:"sharedid.org",atype:1,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.third?{third:e.third}:void 0}},IDP:{source:"zeotap.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3}}},68:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=r(69),c=r(70);t.verify=function(e,t,r,n){var i=new s.BigInteger(s.b64toHex(t)),o=new s.BigInteger(s.b64toHex(r)),a=i.modPowInt(n,o);return s.removeExtraSymbols(a.toHexString())===c.Sha256.hash(e)}},69:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0});var i=(A.prototype.toHexString=function(){if(this.s<0)return"-"+this.negate().toHexString();var e,t=!1,r="",n=this.t,i=this.DB-n*this.DB%4;if(0<n--)for(i<this.DB&&0<(e=this[n]>>i)&&(t=!0,r=d(e));0<=n;)i<4?(e=(this[n]&(1<<i)-1)<<4-i,e|=this[--n]>>(i+=this.DB-4)):(e=this[n]>>(i-=4)&15,i<=0&&(i+=this.DB,--n)),0<e&&(t=!0),t&&(r+=d(e));return t?r:"0"},A.prototype.fromHexString=function(e){if(null!==e){this.t=0,this.s=0;for(var t=e.length,r=!1,n=0;0<=--t;){var i=c(e,t);i<0?"-"==e.charAt(t)&&(r=!0):(r=!1,0==n?this[this.t++]=i:n+4>this.DB?(this[this.t-1]|=(i&(1<<this.DB-n)-1)<<n,this[this.t++]=i>>this.DB-n):this[this.t-1]|=i<<n,(n+=4)>=this.DB&&(n-=this.DB))}this.clamp(),r&&A.ZERO.subTo(this,this)}},A.prototype.negate=function(){var e=b();return A.ZERO.subTo(this,e),e},A.prototype.abs=function(){return this.s<0?this.negate():this},A.prototype.mod=function(e){var t=b();return this.abs().divRemTo(e,null,t),this.s<0&&0<t.compareTo(A.ZERO)&&e.subTo(t,t),t},A.prototype.copyTo=function(e){for(var t=this.t-1;0<=t;--t)e[t]=this[t];e.t=this.t,e.s=this.s},A.prototype.lShiftTo=function(e,t){for(var r=e%this.DB,n=this.DB-r,i=(1<<n)-1,o=Math.floor(e/this.DB),a=this.s<<r&this.DM,s=this.t-1;0<=s;--s)t[s+o+1]=this[s]>>n|a,a=(this[s]&i)<<r;for(s=o-1;0<=s;--s)t[s]=0;t[o]=a,t.t=this.t+o+1,t.s=this.s,t.clamp()},A.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return 0<(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)?this.DV-t:-t},A.prototype.dlShiftTo=function(e,t){for(var r=this.t-1;0<=r;--r)t[r+e]=this[r];for(r=e-1;0<=r;--r)t[r]=0;t.t=this.t+e,t.s=this.s},A.prototype.squareTo=function(e){for(var t=this.abs(),r=e.t=2*t.t;0<=--r;)e[r]=0;for(r=0;r<t.t-1;++r){var n=t.am(r,t[r],e,2*r,0,1);(e[r+t.t]+=t.am(r+1,2*t[r],e,2*r+1,n,t.t-r-1))>=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}0<e.t&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},A.prototype.multiplyTo=function(e,t){var r=this.abs(),n=e.abs(),i=r.t;for(t.t=i+n.t;0<=--i;)t[i]=0;for(i=0;i<n.t;++i)t[i+r.t]=r.am(0,n[i],t,i,0,r.t);t.s=0,t.clamp(),this.s!=e.s&&A.ZERO.subTo(t,t)},A.prototype.divRemTo=function(e,t,r){var n=e.abs();if(!(n.t<=0)){var i=this.abs();if(i.t<n.t)return null!=t&&t.fromHexString("0"),void(null!=r&&this.copyTo(r));null==r&&(r=b());var o=b(),a=this.s,s=e.s,c=this.DB-O(n[n.t-1]);0<c?(n.lShiftTo(c,o),i.lShiftTo(c,r)):(n.copyTo(o),i.copyTo(r));var u=o.t,d=o[u-1];if(0!=d){var p=d*(1<<this.F1)+(1<u?o[u-2]>>this.F2:0),f=this.FV/p,l=(1<<this.F1)/p,m=1<<this.F2,h=r.t,g=h-u,v=null==t?b():t;for(o.dlShiftTo(g,v),0<=r.compareTo(v)&&(r[r.t++]=1,r.subTo(v,r)),A.ONE.dlShiftTo(u,v),v.subTo(o,o);o.t<u;)o[o.t++]=0;for(;0<=--g;){var y=r[--h]==d?this.DM:Math.floor(r[h]*f+(r[h-1]+m)*l);if((r[h]+=o.am(0,y,r,g,0,u))<y)for(o.dlShiftTo(g,v),r.subTo(v,r);r[h]<--y;)r.subTo(v,r)}null!=t&&(r.drShiftTo(u,t),a!=s&&A.ZERO.subTo(t,t)),r.t=u,r.clamp(),0<c&&r.rShiftTo(c,r),a<0&&A.ZERO.subTo(r,r)}}},A.prototype.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)t.t=0;else{var n=e%this.DB,i=this.DB-n,o=(1<<n)-1;t[0]=this[r]>>n;for(var a=r+1;a<this.t;++a)t[a-r-1]|=(this[a]&o)<<i,t[a-r]=this[a]>>n;0<n&&(t[this.t-r-1]|=(this.s&o)<<i),t.t=this.t-r,t.clamp()}},A.prototype.drShiftTo=function(e,t){for(var r=e;r<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s},A.prototype.subTo=function(e,t){for(var r=0,n=0,i=Math.min(e.t,this.t);r<i;)n+=this[r]-e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n-=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n-=e[r],t[r++]=n&this.DM,n>>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:0<n&&(t[r++]=n),t.t=r,t.clamp()},A.prototype.clamp=function(){for(var e=this.s&this.DM;0<this.t&&this[this.t-1]==e;)--this.t},A.prototype.modPowInt=function(e,t){var r=new(e<256||t.isEven()?p:l)(t);return this.exp(e,r)},A.prototype.exp=function(e,t){if(4294967295<e||e<1)return A.ONE;var r,n=b(),i=b(),o=t.convert(this),a=O(e)-1;for(o.copyTo(n);0<=--a;)t.sqrTo(n,i),0<(e&1<<a)?t.mulTo(i,o,n):(r=n,n=i,i=r);return t.revert(n)},A.prototype.isEven=function(){return 0==(0<this.t?1&this[0]:this.s)},A.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;for(;0<=--r;)if(0!=(t=this[r]-e[r]))return t;return 0},A.prototype.am1=function(e,t,r,n,i,o){for(;0<=--o;){var a=t*this[e++]+r[n]+i;i=Math.floor(a/67108864),r[n++]=67108863&a}return i},A.prototype.am2=function(e,t,r,n,i,o){for(var a=32767&t,s=t>>15;0<=--o;){var c=32767&this[e],u=this[e++]>>15,d=s*c+u*a;i=((c=a*c+((32767&d)<<15)+r[n]+(1073741823&i))>>>30)+(d>>>15)+s*u+(i>>>30),r[n++]=1073741823&c}return i},A.prototype.am3=function(e,t,r,n,i,o){for(var a=16383&t,s=t>>14;0<=--o;){var c=16383&this[e],u=this[e++]>>14,d=s*c+u*a;i=((c=a*c+((16383&d)<<14)+r[n]+i)>>28)+(d>>14)+s*u,r[n++]=268435455&c}return i},A);function A(e){null!==e&&this.fromHexString(e)}function b(){return new i(null)}function O(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}t.BigInteger=i,t.nbi=b,t.nbits=O;for(var o=[],a="0".charCodeAt(0),s=0;s<=9;++s)o[a++]=s;for(a="a".charCodeAt(0),s=10;s<36;++s)o[a++]=s;for(a="A".charCodeAt(0),s=10;s<36;++s)o[a++]=s;function c(e,t){var r=o[e.charCodeAt(t)];return null==r?-1:r}t.intAt=c;var u="0123456789abcdefghijklmnopqrstuvwxyz";function d(e){return u.charAt(e)}t.int2char=d;t.b64toHex=function(e){for(var t="",r=0,n=0,i=0;i<e.length&&"="!=e.charAt(i);++i){var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e.charAt(i));o<0||(r=0==r?(t+=d(o>>2),n=3&o,1):1==r?(t+=d(n<<2|o>>4),n=15&o,2):2==r?(t+=d(n),t+=d(o>>2),n=3&o,3):(t+=d(n<<2|o>>4),t+=d(15&o),0))}return 1==r&&(t+=d(n<<2)),t},t.removeExtraSymbols=function(e){return e.replace(/^1f+00/,"").replace("3031300d060960864801650304020105000420","")};var p=(f.prototype.convert=function(e){return e.s<0||0<=e.compareTo(this.m)?e.mod(this.m):e},f.prototype.revert=function(e){return e},f.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},f.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},f.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},f);function f(e){this.m=e}var l=(m.prototype.convert=function(e){var t=b();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&0<t.compareTo(i.ZERO)&&this.m.subTo(t,t),t},m.prototype.revert=function(e){var t=b();return e.copyTo(t),this.reduce(t),t},m.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var r=32767&e[t],n=r*this.mpl+((r*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[r=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),0<=e.compareTo(this.m)&&e.subTo(this.m,e)},m.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},m.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},m);function m(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function h(e){var t=b();return t.fromHexString(e.toString()),t}t.nbv=h,i.ZERO=h(0),i.ONE=h(1),n="Microsoft Internet Explorer"==navigator.appName?(i.prototype.am=i.prototype.am2,30):"Netscape"!=navigator.appName?(i.prototype.am=i.prototype.am1,26):(i.prototype.am=i.prototype.am3,28),i.prototype.DB=n,i.prototype.DM=(1<<n)-1,i.prototype.DV=1<<n;i.prototype.FV=Math.pow(2,52),i.prototype.F1=52-n,i.prototype.F2=2*n-52},70:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(D.hash=function(e){e=D.utf8Encode(e||"");for(var t=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],r=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],n=(e+=String.fromCharCode(128)).length/4+2,i=Math.ceil(n/16),o=new Array(i),a=0;a<i;a++){o[a]=new Array(16);for(var s=0;s<16;s++)o[a][s]=e.charCodeAt(64*a+4*s)<<24|e.charCodeAt(64*a+4*s+1)<<16|e.charCodeAt(64*a+4*s+2)<<8|e.charCodeAt(64*a+4*s+3)<<0}var c=8*(e.length-1)/Math.pow(2,32),u=8*(e.length-1)>>>0;for(o[i-1][14]=Math.floor(c),o[i-1][15]=u,a=0;a<i;a++){for(var d=new Array(64),p=0;p<16;p++)d[p]=o[a][p];for(p=16;p<64;p++)d[p]=D.q1(d[p-2])+d[p-7]+D.q0(d[p-15])+d[p-16]>>>0;for(var f=r[0],l=r[1],m=r[2],h=r[3],g=r[4],v=r[5],y=r[6],A=r[7],p=0;p<64;p++){var b=A+D.z1(g)+D.Ch(g,v,y)+t[p]+d[p],O=D.z0(f)+D.Maj(f,l,m);A=y,y=v,v=g,g=h+b>>>0,h=m,m=l,l=f,f=b+O>>>0}r[0]=r[0]+f>>>0,r[1]=r[1]+l>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+h>>>0,r[4]=r[4]+g>>>0,r[5]=r[5]+v>>>0,r[6]=r[6]+y>>>0,r[7]=r[7]+A>>>0}for(var I=new Array(r.length),A=0;A<r.length;A++)I[A]=("00000000"+r[A].toString(16)).slice(-8);return I.join("")},D.utf8Encode=function(t){try{return(new TextEncoder).encode(t).reduce(function(e,t){return e+String.fromCharCode(t)},"")}catch(e){return unescape(encodeURIComponent(t))}},D.ROTR=function(e,t){return t>>>e|t<<32-e},D.z0=function(e){return D.ROTR(2,e)^D.ROTR(13,e)^D.ROTR(22,e)},D.z1=function(e){return D.ROTR(6,e)^D.ROTR(11,e)^D.ROTR(25,e)},D.q0=function(e){return D.ROTR(7,e)^D.ROTR(18,e)^e>>>3},D.q1=function(e){return D.ROTR(17,e)^D.ROTR(19,e)^e>>>10},D.Ch=function(e,t,r){return e&t^~e&r},D.Maj=function(e,t,r){return e&t^e&r^t&r},D);function D(){}t.Sha256=n}},[182]); pbjsChunk([410],{194:function(e,r,n){e.exports=n(195)},195:function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),n.d(r,"spec",function(){return d});var t=n(1),C=n(3),f=n(2),h=n(12),A=n(0),s=n(13),O=n.n(s),R="adform",d={code:R,gvlid:50,supportedMediaTypes:[f.b,f.d],isBidRequestValid:function(e){return!!e.params.mid},buildRequests:function(e,r){var n,t,s,d,i,a,o,u,p,c,f=C.b.getConfig("currency.adServerCurrency"),h=[],g=[["adxDomain","adx.adform.net"],["fd",1],["url",null],["tid",null],["eids",function(e){if(A.isArray(e)&&0<e.length){var r=function(e){return e.reduce(function(n,e){var t=e.source;return n[t]=n[t]||{},e.uids.forEach(function(e){var r=e.id+"";n[t][r]=n[t][r]||[],n[t][r].push(e.atype)}),n},{})}(e);return btoa(JSON.stringify(r))}}(A.deepAccess(e,"0.userIdAsEids"))]],l={mkv:[],mkw:[],msw:[]},m=JSON.parse(JSON.stringify(e)),v=m[0]&&m[0].bidder||R;if(1<m.length){for(var b in l)!function(n){var t;l.hasOwnProperty(n)&&(t=m.map(function(e){return e.params[n]&&e.params[n].split(",")||[]}),l[n]=t.reduce(w),l[n].length&&m.forEach(function(e,r){e.params[n]=t[r].filter(function(e){return!O()(l[n],e)})}))}(b)}for(n=0,t=m.length;n<t;n++){for("net"!==(i=m[n]).params.priceType&&"net"!==i.params.pt||(p="net"),s=0,d=g.length;s<d;s++)(o=i[a=g[s][0]]||i.params[a])&&(i[a]=i.params[a]=null,g[s][1]=o);(u=i.params).transactionId=i.transactionId,u.rcur=u.rcur||f,h.push(function(e){var r,n=[];for(r in e)e.hasOwnProperty(r)&&e[r]&&n.push(r,"=",e[r],"&");return encodeURIComponent(btoa(n.join("").slice(0,-1)))}(u))}h.unshift("https://"+g[0][1]+"/adx/?rp=4"),p=p||"gross",h.push("pt="+p),h.push("stid="+e[0].auctionId);var y=A.deepAccess(r,"gdprConsent.gdprApplies"),I=A.deepAccess(r,"gdprConsent.consentString");for(var _ in void 0!==y&&(c={gdpr:y,gdpr_consent:I},h.push("gdpr="+(1&y)),h.push("gdpr_consent="+I)),r&&r.uspConsent&&h.push("us_privacy="+r.uspConsent),l)l.hasOwnProperty(_)&&g.push([_,l[_].join(",")]);for(n=1,t=g.length;n<t;n++)a=g[n][0],(o=g[n][1])&&h.push(a+"="+encodeURIComponent(o));return{method:"GET",url:h.join("&"),bids:e,netRevenue:p,bidder:v,gdpr:c};function w(e,r){return e.filter(function(e){return O()(r,e)})}},interpretResponse:function(e,r){for(var n,t,s,d,i={banner:1,vast_content:1,vast_url:1},a=[],o=r.bids,u=e.body,p=0;p<u.length;p++)d="banner"===(t=u[p]).response?f.b:f.d,s=o[p],i[t.response]&&(function(e,r){for(var n=0,t=r.length;n<t;n++)if(e.width==r[n][0]&&e.height==r[n][1])return!0;return!1}(t,A.getAdUnitSizes(s))||d===f.d)&&(n={requestId:s.bidId,cpm:t.win_bid,width:t.width,height:t.height,creativeId:s.bidId,dealId:t.deal_id,currency:t.win_cur,netRevenue:"gross"!==r.netRevenue,ttl:360,meta:{advertiserDomains:t&&t.adomain?t.adomain:[]},ad:t.banner,bidderCode:r.bidder,transactionId:s.transactionId,vastUrl:t.vast_url,vastXml:t.vast_content,mediaType:d},s.renderer||d!==f.d||"outstream"!==A.deepAccess(s,"mediaTypes.video.context")||(n.renderer=h.a.install({id:s.bidId,url:"https://s2.adform.net/banners/scripts/video/outstream/render.js"}),n.renderer.setRender(c)),r.gdpr&&(n.gdpr=r.gdpr.gdpr,n.gdpr_consent=r.gdpr.gdpr_consent),a.push(n));return a;function c(e){e.renderer.push(function(){window.Adform.renderOutstream(e)})}}};Object(t.registerBidder)(d)}},[194]); pbjsChunk([378],{272:function(e,t,r){e.exports=r(273)},273:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"spec",function(){return a});var o=r(0),n=r(1),s=r(3),i=r(10),c=r.n(i),d=r(2);function p(e){return(p="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})(e)}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var l="USD",m={image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1},cta:{required:!1}},a={code:"adyoulike",supportedMediaTypes:[d.b,d.c,d.d],aliases:["ayl"],isBidRequestValid:function(e){var t=v(f(e)),r=0<t.width&&0<t.height;return e.params&&e.params.placement&&(r||e.mediaTypes&&e.mediaTypes.native)},buildRequests:function(e,t){var r={Version:"1.0",Bids:e.reduce(function(e,t){var r,n=function(e){var t=d.b;o.deepAccess(e,"mediaTypes.native")?t=d.c:o.deepAccess(e,"mediaTypes.video")&&(t=d.d);return t}(t),i=f(t),a=v(i);return e[t.bidId]={},e[t.bidId].PlacementID=t.params.placement,e[t.bidId].TransactionID=t.transactionId,e[t.bidId].Width=a.width,e[t.bidId].Height=a.height,e[t.bidId].AvailableSizes=i.join(","),"function"==typeof t.getFloor&&(e[t.bidId].Pricing=function(e,t,r){var n=e.getFloor({currency:l,mediaType:r,size:[t.width,t.height]});if(!isNaN(n.floor)&&n.currency===l)return n.floor}(t,a,n)),n===d.c&&("image"===(r=t.mediaTypes.native).type&&(r=u({},m,r)),r.clickUrl={required:!0},e[t.bidId].Native=r),n===d.d&&(e[t.bidId].Video=t.mediaTypes.video),e},{}),PageRefreshed:function(){try{if(performance&&performance.navigation)return performance.navigation.type===performance.navigation.TYPE_RELOAD}catch(e){}return!1}()};t&&t.gdprConsent&&(r.gdprConsent={consentString:t.gdprConsent.consentString,consentRequired:"boolean"==typeof t.gdprConsent.gdprApplies?t.gdprConsent.gdprApplies:null}),t&&t.uspConsent&&(r.uspConsent=t.uspConsent);var n,i,a=JSON.stringify(r);return{method:"POST",url:(n=t,i=function(e){var t=c()(e,function(e){return e.params.DC});if(t)return"-"+t.params.DC;return""}(e),o.buildUrl({protocol:"https",host:"".concat("hb-api").concat(i,".omnitagjs.com"),pathname:"/hb-api/prebid/v1",search:function(e){var t,r={};!e||(t=e.refererInfo)&&(r.RefererUrl=encodeURIComponent(t.referer),0<t.numIframes&&(r.SafeFrame=!0));var n=function(){var e;if(window.self!==window.top)try{e=window.top.document.head.querySelector('link[rel="canonical"][href]')}catch(e){}else e=document.head.querySelector('link[rel="canonical"][href]');return e?e.href:""}();n&&(r.CanonicalUrl=encodeURIComponent(n));var i=s.b.getConfig("publisherDomain");return i&&(r.PublisherDomain=encodeURIComponent(i)),r}(n)})),data:a,options:{withCredentials:!0}}},interpretResponse:function(e,t){var r=[],n={};try{n=JSON.parse(t.data).Bids}catch(e){}return e.body.forEach(function(e){var t=function(e,t){if(!e||!e.Ad&&!e.Native)return;var r=t&&t[e.BidID];r&&(e.Width&&"0"!==e.Width||(e.Width=r.Width),e.Height&&"0"!==e.Height||(e.Height=r.Height));var n={requestId:e.BidID,ttl:3600,creativeId:e.CreativeID,cpm:e.Price,netRevenue:!0,currency:l,meta:e.Meta||{advertiserDomains:[]}};{var i;r&&r.Native?(n.native=function(i,a){if("object"===p(i.Native))return i.Native;var o={},s={},c={};{var e,t;"string"==typeof i.Ad&&(s=JSON.parse(i.Ad.match(/\/\*PREBID\*\/(.*)\/\*PREBID\*\//)[1]),c=s.Content.Preview.Text,e=s.TrackingPrefix+"/pixel?event_kind=IMPRESSION&attempt="+s.Attempt,t=s.TrackingPrefix+"/pixel?event_kind=INSERTION&attempt="+s.Attempt,s.Campaign&&(e+="&campaign="+s.Campaign,t+="&campaign="+s.Campaign),o.clickUrl=s.TrackingPrefix+"/ar?event_kind=CLICK&attempt="+s.Attempt+"&campaign="+s.Campaign+"&url="+encodeURIComponent(s.Content.Landing.Url),s.OnEvents?(o.clickTrackers=y(s.OnEvents.CLICK),o.impressionTrackers=y(s.OnEvents.IMPRESSION),o.javascriptTrackers=y(s.OnEvents.IMPRESSION,!0)):o.impressionTrackers=[],o.impressionTrackers.push(e,t))}return Object.keys(a).map(function(e,t){switch(e){case"title":o[e]=c.TITLE;break;case"body":o[e]=c.DESCRIPTION;break;case"cta":o[e]=c.CALLTOACTION;break;case"sponsoredBy":o[e]=s.Content.Preview.Sponsor.Name;break;case"image":var r=a.image.sizes||[];r.length||(r[0]=i.Width||300,r[1]=i.Height||250),o[e]={url:g(s,s.Content.Preview.Thumbnail.Image,r[0],r[1]),width:r[0],height:r[1]};break;case"icon":var n;s.HasSponsorImage&&((n=a.icon.sizes||[]).length||(n[0]=50,n[1]=50),o[e]={url:g(s,s.Content.Preview.Sponsor.Logo.Resource,n[0],n[1]),width:n[0],height:n[1]});break;case"privacyIcon":o[e]=g(s,s.Content.Preview.Credit.Logo.Resource,25,25);break;case"privacyLink":o[e]=s.Content.Preview.Credit.Url}}),o}(e,r.Native),n.mediaType="native"):r&&r.Video?(i=e.Vast||function(e){var t={};if("string"==typeof e.Ad)return t=JSON.parse(e.Ad.match(/\/\*PREBID\*\/(.*)\/\*PREBID\*\//)[1]),o.deepAccess(t,"Content.MainVideo.Vast")}(e),n.vastXml=i?window.atob(i):"",n.mediaType="video"):(n.width=e.Width,n.height=e.Height,n.ad=e.Ad)}return n}(e,n);t&&r.push(t)}),r}};function f(e){var t=e.sizes||[];return e.mediaTypes&&e.mediaTypes.banner&&(t=e.mediaTypes.banner.sizes||[]),o.parseSizesInput(t)}function v(e){var t={},r=e[0];if("string"!=typeof r)return t;var n=r.toUpperCase().split("X"),i=parseInt(n[0],10);i&&(t.width=i);var a=parseInt(n[1],10);return a&&(t.height=a),t}function h(e){return e?"https://blobs.omnitagjs.com/blobs/"+e.substr(16,2)+"/"+e.substr(16)+"/"+e:""}function g(e,t,r,n){var i="";switch(t.Kind){case"INTERNAL":i=h(t.Data.Internal.BlobReference.Uid);break;case"EXTERNAL":var a,o=e.DynamicPrefix,s=t.Data.External.Url;i=0<=(s=(s=s.replace(/\[height\]/i,""+n)).replace(/\[width\]/i,""+r)).indexOf(o)?(i=(a=/.*url=([^&]*)/gm.exec(s))?a[1]:"")||h(/.*key=([^&]*)/gm.exec(s)[1]):s}return i}function y(e,r){var n=[];return e&&e.map(function(e,t){(r&&"JAVASCRIPT_URL"===e.Kind||!r&&"PIXEL_URL"===e.Kind)&&n.push(e.Url)}),n}Object(n.registerBidder)(a)}},[272]); pbjsChunk([371],{290:function(e,r,a){e.exports=a(291)},291:function(e,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),a.d(r,"spec",function(){return k});var f=a(12),I=a(0),A=a(3),g=a(1),v=a(2),u=a(23),t=a(10),x=a.n(t),n=a(13),w=a.n(n),y=a(24),i=a(7);function s(e){return(s="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})(e)}function b(){return(b=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var t in a)Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t])}return e}).apply(this,arguments)}function C(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"==typeof e)return o(e,r);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(e);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return o(e,r)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,r){(null==r||r>e.length)&&(r=e.length);for(var a=0,t=new Array(r);a<r;a++)t[a]=e[a];return t}var d="appnexus",l=["id","minduration","maxduration","skippable","playback_method","frameworks","context","skipoffset"],S=["age","externalUid","segments","gender","dnt","language"],T=["geo","device_id"],E=["enabled","dongle","member_id","debug_timeout"],m={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}},h={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"},p="<script",c=/\/\/cdn\.adnxs\.com\/v|\/\/cdn\.adnxs\-simple\.com\/v/,_="trk.js",O=Object(i.b)(32,d),k={code:d,gvlid:32,aliases:[{code:"appnexusAst",gvlid:32},{code:"brealtime"},{code:"emxdigital",gvlid:183},{code:"pagescience"},{code:"defymedia"},{code:"gourmetads"},{code:"matomy"},{code:"featureforward"},{code:"oftmedia"},{code:"districtm",gvlid:144},{code:"adasta"},{code:"beintoo",gvlid:618}],supportedMediaTypes:[v.b,v.d,v.c],isBidRequestValid:function(e){return!!(e.params.placementId||e.params.member&&e.params.invCode)},buildRequests:function(e,r){var t=e.map(N),n=x()(e,z),i={};!0===A.b.getConfig("coppa")&&(i={coppa:!0}),n&&Object.keys(n.params.user).filter(function(e){return w()(S,e)}).forEach(function(e){var r,a=I.convertCamelToUnderscore(e);"segments"===e&&I.isArray(n.params.user[e])?(r=[],n.params.user[e].forEach(function(e){I.isNumber(e)?r.push({id:e}):I.isPlainObject(e)&&r.push(e)}),i[a]=r):"segments"!==e&&(i[a]=n.params.user[e])});var a,s=x()(e,D);s&&s.params&&s.params.app&&(a={},Object.keys(s.params.app).filter(function(e){return w()(T,e)}).forEach(function(e){return a[e]=s.params.app[e]}));var o,d=x()(e,B);d&&d.params&&s.params.app&&s.params.app.id&&(o={appid:d.params.app.id});var p={},c={},u=O.getCookie("apn_prebid_debug")||null;if(u)try{p=JSON.parse(u)}catch(e){I.logError("AppNexus Debug Auction Cookie Error:\n\n"+e)}else{var l=x()(e,F);l&&l.debug&&(p=l.debug)}p&&p.enabled&&Object.keys(p).filter(function(e){return w()(E,e)}).forEach(function(e){c[e]=p[e]});var m,f,g,v,y=x()(e,M),b=y?parseInt(y.params.member,10):0,h=e[0].schain,_=x()(e,J),k={tags:C(t),user:i,sdk:{source:"pbjs",version:"4.43.4"},schain:h};return _&&(k.iab_support={omidpn:"Appnexus",omidpv:"4.43.4"}),0<b&&(k.member_id=b),s&&(k.device=a),d&&(k.app=o),A.b.getConfig("adpod.brandCategoryExclusion")&&(k.brand_category_uniqueness=!0),c.enabled&&(k.debug=c,I.logInfo("AppNexus Debug Auction Settings:\n\n"+JSON.stringify(c,null,4))),r&&r.gdprConsent&&(k.gdpr_consent={consent_string:r.gdprConsent.consentString,consent_required:r.gdprConsent.gdprApplies},r.gdprConsent.addtlConsent&&-1!==r.gdprConsent.addtlConsent.indexOf("~")&&(f=(m=r.gdprConsent.addtlConsent).substring(m.indexOf("~")+1),k.gdpr_consent.addtl_consent=f.split(".").map(function(e){return parseInt(e,10)}))),r&&r.uspConsent&&(k.us_privacy=r.uspConsent),r&&r.refererInfo&&(g={rd_ref:encodeURIComponent(r.refererInfo.referer),rd_top:r.refererInfo.reachedTop,rd_ifs:r.refererInfo.numIframes,rd_stk:r.refererInfo.stack.map(function(e){return encodeURIComponent(e)}).join(",")},k.referrer_detection=g),x()(e,V)&&e.filter(V).forEach(function(r){var e=function(e,r){var a=r.mediaTypes.video,t=a.durationRangeSec,n=a.requireExactDuration,i=function(e){var r=e.adPodDurationSec,a=e.durationRangeSec,t=e.requireExactDuration,n=I.getMinValueFromArray(a),i=Math.floor(r/n);return t?Math.max(i,a.length):i}(r.mediaTypes.video),s=I.getMaxValueFromArray(t),o=e.filter(function(e){return e.uuid===r.bidId}),d=I.fill.apply(I,C(o).concat([i]));{var p,c;n?(p=Math.ceil(i/t.length),c=I.chunk(d,p),t.forEach(function(r,e){c[e].map(function(e){W(e,"minduration",r),W(e,"maxduration",r)})})):d.map(function(e){return W(e,"maxduration",s)})}return d}(t,r),a=k.tags.filter(function(e){return e.uuid!==r.bidId});k.tags=[].concat(C(a),C(e))}),e[0].userId&&(L(v=[],I.deepAccess(e[0],"userId.flocId.id"),"chrome.com",null),L(v,I.deepAccess(e[0],"userId.criteoId"),"criteo.com",null),L(v,I.deepAccess(e[0],"userId.netId"),"netid.de",null),L(v,I.deepAccess(e[0],"userId.idl_env"),"liveramp.com",null),L(v,I.deepAccess(e[0],"userId.tdid"),"adserver.org","TDID"),L(v,I.deepAccess(e[0],"userId.uid2.id"),"uidapi.com","UID2"),v.length&&(k.eids=v)),t[0].publisher_id&&(k.publisher_id=t[0].publisher_id),function(e,a){var t=[],n={withCredentials:!0},i="https://ib.adnxs.com/ut/v3/prebid";U(a)||(i="https://ib.adnxs-simple.com/ut/v3/prebid");"TRUE"!==I.getParameterByName("apn_test").toUpperCase()&&!0!==A.b.getConfig("apn_test")||(n.customHeaders={"X-Is-Test":1});{var s,r;15<e.tags.length?(s=I.deepClone(e),I.chunk(e.tags,15).forEach(function(e){s.tags=e;var r=JSON.stringify(s);t.push({method:"POST",url:i,data:r,bidderRequest:a,options:n})})):(r=JSON.stringify(e),t={method:"POST",url:i,data:r,bidderRequest:a,options:n})}return t}(k,r)},interpretResponse:function(e,r){var i=this,s=r.bidderRequest;e=e.body;var a,o=[];if(e&&!e.error)return e.tags&&e.tags.forEach(function(e){var r,a,t,n=(r=e)&&r.ads&&r.ads.length&&x()(r.ads,function(e){return e.rtb});n&&0!==n.cpm&&w()(i.supportedMediaTypes,n.ad_type)&&((a=function(r,e,a){var t=I.getBidRequest(r.uuid,[a]),n={requestId:r.uuid,cpm:e.cpm,creativeId:e.creative_id,dealId:e.deal_id,currency:"USD",netRevenue:!0,ttl:300,adUnitCode:t.adUnitCode,appnexus:{buyerMemberId:e.buyer_member_id,dealPriority:e.deal_priority,dealCode:e.deal_code}};e.adomain&&(n.meta=b({},n.meta,{advertiserDomains:[]}));e.advertiser_id&&(n.meta=b({},n.meta,{advertiserId:e.advertiser_id}));if(e.rtb.video){var i,s;switch(b(n,{width:e.rtb.video.player_width,height:e.rtb.video.player_height,vastImpUrl:e.notify_url,ttl:3600}),I.deepAccess(t,"mediaTypes.video.context")){case v.a:var o=Object(g.getIabSubCategory)(t.bidder,e.brand_category_id);n.meta=b({},n.meta,{primaryCatId:o});var d=e.deal_priority;n.video={context:v.a,durationSeconds:Math.floor(e.rtb.video.duration_ms/1e3),dealTier:d},n.vastUrl=e.rtb.video.asset_url;break;case y.b:n.adResponse=r,n.adResponse.ad=n.adResponse.ads[0],n.adResponse.ad.video=n.adResponse.ad.rtb.video,n.vastXml=e.rtb.video.content,e.renderer_url&&(i=x()(a.bids,function(e){return e.bidId===r.uuid}),s=I.deepAccess(i,"renderer.options"),n.renderer=function(e,r){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},t=f.a.install({id:r.renderer_id,url:r.renderer_url,config:a,loaded:!1,adUnitCode:e});try{t.setRender(H)}catch(e){I.logWarn("Prebid Error calling setRender on renderer",e)}return t.setEventHandlers({impression:function(){return I.logMessage("AppNexus outstream video impression event")},loaded:function(){return I.logMessage("AppNexus outstream video loaded event")},ended:function(){I.logMessage("AppNexus outstream renderer video event"),document.querySelector("#".concat(e)).style.display="none"}}),t}(n.adUnitCode,e,s));break;case y.a:n.vastUrl=e.notify_url+"&redir="+encodeURIComponent(e.rtb.video.asset_url)}}else if(e.rtb[v.c]){var p=e.rtb[v.c],c=e.viewability.config.replace("src=","data-src="),u=p.javascript_trackers;null==u?u=c:I.isStr(u)?u=[u,c]:u.push(c),n[v.c]={title:p.title,body:p.desc,body2:p.desc2,cta:p.ctatext,rating:p.rating,sponsoredBy:p.sponsored,privacyLink:p.privacy_link,address:p.address,downloads:p.downloads,likes:p.likes,phone:p.phone,price:p.price,salePrice:p.saleprice,clickUrl:p.link.url,displayUrl:p.displayurl,clickTrackers:p.link.click_trackers,impressionTrackers:p.impression_trackers,javascriptTrackers:u},p.main_img&&(n.native.image={url:p.main_img.url,height:p.main_img.height,width:p.main_img.width}),p.icon&&(n.native.icon={url:p.icon.url,height:p.icon.height,width:p.icon.width})}else{b(n,{width:e.rtb.banner.width,height:e.rtb.banner.height,ad:e.rtb.banner.content});try{var l,m;e.rtb.trackers&&(l=e.rtb.trackers[0].impression_urls[0],m=I.createTrackPixelHtml(l),n.ad+=m)}catch(e){I.logError("Error appending tracking pixel",e)}}return n}(e,n,s)).mediaType=(t=n.ad_type)===v.d?v.d:t===v.c?v.c:v.b,o.push(a))}),e.debug&&e.debug.debug_info&&(a=(a="AppNexus Debug Auction for Prebid\n\n"+e.debug.debug_info).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,""),I.logMessage("https://console.appnexus.com/docs/understanding-the-debug-auction"),I.logMessage(a)),o;var t="in response for ".concat(s.bidderCode," adapter");return e&&e.error&&(t+=": ".concat(e.error)),I.logError(t),o},getMappingFileInfo:function(){return{url:"https://acdn.adnxs-simple.com/prebid/appnexus-mapping/mappings.json",refreshInDays:2}},getUserSyncs:function(e,r,a){if(e.iframeEnabled&&U({gdprConsent:a}))return[{type:"iframe",url:"https://acdn.adnxs.com/dmp/async_usersync.html"}]},transformBidParams:function(a,e){return a=I.convertTypes({member:"string",invCode:"string",placementId:"number",keywords:I.transformBidderParamKeywords,publisherId:"number"},a),e&&(a.use_pmt_rule="boolean"==typeof a.usePaymentRule&&a.usePaymentRule,a.usePaymentRule&&delete a.usePaymentRule,R(a.keywords)&&a.keywords.forEach(j),Object.keys(a).forEach(function(e){var r=I.convertCamelToUnderscore(e);r!==e&&(a[r]=a[e],delete a[e])})),a},onBidWon:function(e){e.native&&function(e){var r=function(e){var r;if(I.isStr(e)&&P(e))r=e;else if(I.isArray(e))for(var a=0;a<e.length;a++){var t=e[a];P(t)&&(r=t)}return r}(e.native.javascriptTrackers);if(r)for(var a="pbjs_adid="+e.adId+";pbjs_auc="+e.adUnitCode,t=function(e){var r=e.indexOf('src="')+5,a=e.indexOf('"',r);return e.substring(r,a)}(r),n=t.replace("dom_id=%native_dom_id%",a),i=document.getElementsByTagName("iframe"),s=!1,o=0;o<i.length&&!s;o++){var d=i[o];try{var p=d.contentDocument||d.contentWindow.document;if(p)for(var c=p.getElementsByTagName("script"),u=0;u<c.length&&!s;u++){var l=c[u];l.getAttribute("data-src")==t&&(l.setAttribute("src",n),l.setAttribute("data-src",""),l.removeAttribute&&l.removeAttribute("data-src"),s=!0)}}catch(e){if(!(e instanceof DOMException&&"SecurityError"===e.name))throw e}}}(e)}};function R(e){return I.isArray(e)&&0<e.length}function j(e){R(e.value)&&""===e.value[0]&&delete e.value}function P(e){var r=e.match(c),a=null!=r&&1<=r.length,t=e.match(_),n=null!=t&&1<=t.length;return e.startsWith(p)&&n&&a}function U(e){var r=!0;return e&&e.gdprConsent&&e.gdprConsent.gdprApplies&&2===e.gdprConsent.apiVersion&&(r=!(!0!==I.deepAccess(e.gdprConsent,"vendorData.purpose.consents.1"))),r}function N(a){var t={};t.sizes=q(a.sizes),t.primary_size=t.sizes[0],t.ad_types=[],t.uuid=a.bidId,a.params.placementId?t.id=parseInt(a.params.placementId,10):t.code=a.params.invCode,t.allow_smaller_sizes=a.params.allowSmallerSizes||!1,t.use_pmt_rule=a.params.usePaymentRule||!1,t.prebid=!0,t.disable_psa=!0;var e,r=function(e){if(!I.isFn(e.getFloor))return e.params.reserve?e.params.reserve:null;var r=e.getFloor({currency:"USD",mediaType:"*",size:"*"});return!I.isPlainObject(r)||isNaN(r.floor)||"USD"!==r.currency?null:r.floor}(a);r&&(t.reserve=r),a.params.position&&(t.position={above:1,below:2}[a.params.position]||0),a.params.trafficSourceCode&&(t.traffic_source_code=a.params.trafficSourceCode),a.params.privateSizes&&(t.private_sizes=q(a.params.privateSizes)),a.params.supplyType&&(t.supply_type=a.params.supplyType),a.params.pubClick&&(t.pubclick=a.params.pubClick),a.params.extInvCode&&(t.ext_inv_code=a.params.extInvCode),a.params.publisherId&&(t.publisher_id=parseInt(a.params.publisherId,10)),a.params.externalImpId&&(t.external_imp_id=a.params.externalImpId),I.isEmpty(a.params.keywords)||(0<(e=I.transformBidderParamKeywords(a.params.keywords)).length&&e.forEach(j),t.keywords=e);var n,i,s,o=I.deepAccess(a,"ortb2Imp.ext.data.pbadslot");o&&(t.gpid=o),a.mediaType!==v.c&&!I.deepAccess(a,"mediaTypes.".concat(v.c))||(t.ad_types.push(v.c),0===t.sizes.length&&(t.sizes=q([1,1])),a.nativeParams&&(i=a.nativeParams,s={},Object.keys(i).forEach(function(e){var r,a=h[e]&&h[e].serverName||h[e]||e,t=h[e]&&h[e].requiredParams;s[a]=b({},t,i[e]),a!==h.image.serverName&&a!==h.icon.serverName||!s[a].sizes||(r=s[a].sizes,(I.isArrayOfNums(r)||I.isArray(r)&&0<r.length&&r.every(function(e){return I.isArrayOfNums(e)}))&&(s[a].sizes=q(s[a].sizes))),a===h.privacyLink&&(s.privacy_supported=!0)}),n=s,t[v.c]={layouts:[n]}));var d=I.deepAccess(a,"mediaTypes.".concat(v.d)),p=I.deepAccess(a,"mediaTypes.video.context");t.hb_source=d&&"adpod"===p?7:1,a.mediaType!==v.d&&!d||t.ad_types.push(v.d),(a.mediaType===v.d||d&&"outstream"!==p)&&(t.require_asset_url=!0),a.params.video&&(t.video={},Object.keys(a.params.video).filter(function(e){return w()(l,e)}).forEach(function(e){switch(e){case"context":case"playback_method":var r=a.params.video[e],r=I.isArray(r)?r[0]:r;t.video[e]=m[e][r];break;case"frameworks":break;default:t.video[e]=a.params.video[e]}}),a.params.video.frameworks&&I.isArray(a.params.video.frameworks)&&(t.video_frameworks=a.params.video.frameworks)),a.renderer&&(t.video=b({},t.video,{custom_renderer_present:!0})),a.params.frameworks&&I.isArray(a.params.frameworks)&&(t.banner_frameworks=a.params.frameworks);var c=x()(u.a.getAdUnits(),function(e){return a.transactionId===e.transactionId});return c&&c.mediaTypes&&c.mediaTypes.banner&&t.ad_types.push(v.b),0===t.ad_types.length&&delete t.ad_types,t}function q(e){var r=[],a={};if(I.isArray(e)&&2===e.length&&!I.isArray(e[0]))a.width=parseInt(e[0],10),a.height=parseInt(e[1],10),r.push(a);else if("object"===s(e))for(var t=0;t<e.length;t++){var n=e[t];(a={}).width=parseInt(n[0],10),a.height=parseInt(n[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 B(e){return e.params&&e.params.app?!!e.params.app.id:!!e.params.app}function F(e){return!!e.debug}function V(e){return e.mediaTypes&&e.mediaTypes.video&&e.mediaTypes.video.context===v.a}function J(e){var r=!1,a=e.params,t=e.params.video;return a.frameworks&&I.isArray(a.frameworks)&&(r=w()(e.params.frameworks,6)),!r&&t&&t.frameworks&&I.isArray(t.frameworks)&&(r=w()(e.params.video.frameworks,6)),r}function W(e,r,a){I.isEmpty(e.video)&&(e.video={}),e.video[r]=a}function H(e){var r,a;r=e.adUnitCode,(a=document.getElementById(r).querySelectorAll("div[id^='google_ads']"))[0]&&a[0].style.setProperty("display","none"),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(){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()},function(e,r,a){e.renderer.handleVideoEvent({id:r,eventName:a})}.bind(null,e))})}function L(e,r,a,t){return r&&(t?e.push({source:a,id:r,rti_partner:t}):e.push({source:a,id:r})),e}Object(g.registerBidder)(k)}},[290]); pbjsChunk([332],{376:function(n,t,e){n.exports=e(377)},377:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e.d(t,"allowAuction",function(){return w}),e.d(t,"userCMP",function(){return d}),e.d(t,"consentTimeout",function(){return l}),e.d(t,"gdprScope",function(){return g}),e.d(t,"staticConsentData",function(){return m}),t.requestBidsHook=h,t.resetConsentData=function(){C=void 0,d=void 0,D=0,a.gdprDataHandler.setConsentData(null)},t.setConsentConfig=_;var u=e(0),o=e(3),a=e(8),i=e(13),r=e.n(i),s=e(73),f=e.n(s);function c(n){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function p(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}var d,l,g,m,C,v="iab",b=1e4,y=!0,w={value:y,definedInConfig:!1},D=0,k=!1,M={iab:function(o,e,r){function n(n,t){u.logInfo("Received a response from CMP",n),t?!1!==n.gdprApplies&&"tcloaded"!==n.eventStatus&&"useractioncomplete"!==n.eventStatus||o(n,r):e("CMP unable to register callback function. Please check CMP setup.",r)}var t=function(){var t={};function e(){t.getConsentData&&t.getVendorConsents&&(u.logInfo("Received all requested responses from CMP",t),o(t,r))}return{consentDataCallback:function(n){t.getConsentData=n,e()},vendorConsentsCallback:function(n){t.getVendorConsents=n,e()}}}(),c={},a=function(){for(var n,t,e=window;!n;){try{if("function"==typeof e.__tcfapi||"function"==typeof e.__cmp){t="function"==typeof e.__tcfapi?(D=2,e.__tcfapi):(D=1,e.__cmp),n=e;break}}catch(n){}try{if(e.frames.__tcfapiLocator){D=2,n=e;break}}catch(n){}try{if(e.frames.__cmpLocator){D=1,n=e;break}}catch(n){}if(e===window.top)break;e=e.parent}return{cmpFrame:n,cmpFunction:t}}(),i=a.cmpFrame,s=a.cmpFunction;if(!i)return e("CMP not found.",r);u.isFn(s)?(u.logInfo("Detected CMP API is directly accessible, calling it now..."),1===D?(s("getConsentData",null,t.consentDataCallback),s("getVendorConsents",null,t.vendorConsentsCallback)):2===D&&s("addEventListener",D,n)):1===D&&window.$sf&&window.$sf.ext&&"function"==typeof window.$sf.ext.cmp?(u.logInfo("Detected Prebid.js is encased in a SafeFrame and CMP is registered, calling it now..."),d("getConsentData",t.consentDataCallback),d("getVendorConsents",t.vendorConsentsCallback)):(u.logInfo("Detected CMP is outside the current iframe where Prebid.js is located, calling it now..."),1===D?(l("getConsentData",i,t.consentDataCallback),l("getVendorConsents",i,t.vendorConsentsCallback)):2===D&&l("addEventListener",i,n));function d(o,a){var n,t=r.adUnits,e=1,i=1;Array.isArray(t)&&0<t.length&&(e=(n=u.getAdUnitSizes(t[0]))[0][0],i=n[0][1]),window.$sf.ext.register(e,i,function(n,t){var e;"cmpReturn"===n&&(e="getConsentData"===o?t.vendorConsentData:t.vendorConsents,a(e))}),window.$sf.ext.cmp(o)}function l(n,r,t){var a=2===D?"__tcfapi":"__cmp",s="".concat(a,"Call");function e(n){var t,e="".concat(a,"Return"),o="string"==typeof n.data&&f()(n.data,e)?JSON.parse(n.data):n.data;o[e]&&o[e].callId&&(t=o[e],void 0!==c[t.callId]&&c[t.callId](t.returnValue,t.success))}2===D?(window[a]=function(n,t,e,o){var a=Math.random()+"",i=p({},s,{command:n,version:t,parameter:o,callId:a});c[a]=e,r.postMessage(i,"*")},window.addEventListener("message",e,!1),window[a](n,D,t)):(window[a]=function(n,t,e){var o=Math.random()+"",a=p({},s,{command:n,parameter:t,callId:o});c[o]=e,r.postMessage(a,"*")},window.addEventListener("message",e,!1),window[a](n,void 0,t))}},static:function(n,t,e){n(m,e)}};function h(n,t){var e={context:this,args:[t],nextFn:n,adUnits:t.adUnits||pbjs.adUnits,bidsBackHandler:t.bidsBackHandler,haveExited:!1,timer:null};return C?(u.logInfo("User consent information already known. Pulling internally stored information..."),S(null,e)):r()(Object.keys(M),d)?(M[d].call(this,A,P,e),void(e.haveExited||(0===l?A(void 0,e):e.timer=setTimeout(function(n){P("CMP workflow exceeded timeout threshold.",n)}.bind(null,e),l)))):(u.logWarn("CMP framework (".concat(d,") is not a supported framework. Aborting consentManagement module and resuming auction.")),e.nextFn.apply(e.context,e.args))}function A(e,n){"static"===d&&2===(D=e.getConsentData?1:e.getTCData?2:0)&&(e=e.getTCData);var t=1===D?function(n){var t=n&&n.getConsentData&&n.getConsentData.gdprApplies;return!("boolean"==typeof t&&(!0!==t||u.isStr(n.getConsentData.consentData)&&u.isPlainObject(n.getVendorConsents)&&1<Object.keys(n.getVendorConsents).length))}:2===D?function(){var n=e&&"boolean"==typeof e.gdprApplies?e.gdprApplies:g,t=e&&e.tcString;return!("boolean"==typeof n&&(!0!==n||u.isStr(t)))}:null;w.definedInConfig&&2===D?u.logWarn("'allowAuctionWithoutConsent' ignored for TCF 2"):w.definedInConfig||1!==D||u.logInfo("'allowAuctionWithoutConsent' using system default: (".concat(y,").")),u.isFn(t)?t(e)?P("CMP returned unexpected value during lookup process.",n,e):(clearTimeout(n.timer),I(e),S(null,n)):P("Unable to derive CMP version to process data. Consent object does not conform to TCF v1 or v2 specs.",n,e)}function P(n,t,e){clearTimeout(t.timer),w.value&&1===D&&I(void 0),S(n,t,e)}function I(n){1===D?C={consentString:n?n.getConsentData.consentData:void 0,vendorData:n?n.getVendorConsents:void 0,gdprApplies:n?n.getConsentData.gdprApplies:g}:(C={consentString:n?n.tcString:void 0,vendorData:n||void 0,gdprApplies:n&&"boolean"==typeof n.gdprApplies?n.gdprApplies:g},n&&n.addtlConsent&&u.isStr(n.addtlConsent)&&(C.addtlConsent=n.addtlConsent)),C.apiVersion=D,a.gdprDataHandler.setConsentData(C)}function S(n,t,e){var o,a,i;!1===t.haveExited&&(t.haveExited=!0,o=t.context,a=t.args,i=t.nextFn,n?w.value&&1===D?(u.logWarn(n+" 'allowAuctionWithoutConsent' activated.",e),i.apply(o,a)):(u.logError(n+" Canceling auction as per consentManagement config.",e),"function"==typeof t.bidsBackHandler?t.bidsBackHandler():u.logError("Error executing bidsBackHandler")):i.apply(o,a))}function _(n){(n=n&&(n.gdpr||n.usp?n.gdpr:n))&&"object"===c(n)?(u.isStr(n.cmpApi)?d=n.cmpApi:(d=v,u.logInfo("consentManagement config did not specify cmp. Using system default setting (".concat(v,")."))),u.isNumber(n.timeout)?l=n.timeout:(l=b,u.logInfo("consentManagement config did not specify timeout. Using system default setting (".concat(b,")."))),"boolean"==typeof n.allowAuctionWithoutConsent&&(w.value=n.allowAuctionWithoutConsent,w.definedInConfig=!0),g=!0===n.defaultGdprScope,u.logInfo("consentManagement module has been activated..."),"static"===d&&(u.isPlainObject(n.consentData)?(m=n.consentData,l=0):u.logError("consentManagement config with cmpApi: 'static' did not specify consentData. No consents will be available to adapters.")),k||pbjs.requestBids.before(h,50),k=!0):u.logWarn("consentManagement config not defined, exiting consent manager")}o.b.getConfig("consentManagement",function(n){return _(n.consentManagement)})}},[376]); pbjsChunk([302],{447:function(n,t,e){n.exports=e(448)},448:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),e.d(t,"storage",function(){return w}),e.d(t,"spec",function(){return u});var i=e(0),y=e(16),r=e(1),o=e(7);function b(n){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var w=Object(o.b)(),E=Math.random(),S="i.e-planning.net",C=["ci","sv","t","ml","sn"],a="1x1",I="pbsr_",x="pbvi_",c=window.navigator.userAgent.match(/(mobile)|(ip(hone|ad))|(android)|(blackberry)|(nokia)|(phone)|(opera\smini)/i),d=["1x1","300x50","320x50","300x250"],s=["1x1","970x90","970x250","160x600","300x600","728x90","300x250"],u={code:"eplanning",isBidRequestValid:function(n){return Boolean(n.params.ci)||Boolean(n.params.t)},buildRequests:function(n,t){var e,r,o,i,a,c,d,s,u,f=function(n){if(function(n){for(var t=0;t<n.length;t++)if(n[t].params.t)return!0;return!1}(n))return function(n){var t;return n.forEach(function(n){return t=t||n.params.isv}),{t:!0,isv:t||S}}(n.filter(function(n){return n.params.t}));var e={};return n.forEach(function(t){C.forEach(function(n){t.params[n]&&!e[n]&&(e[n]=t.params[n])})}),e}(n),p=function(){try{return window.top.document.charset||window.top.document.characterSet}catch(n){return document.charset||document.characterSet}}(),m=(o=n,i=f.ml,a=function(n){var e={};return n.forEach(function(n){var t=j(n,!0);e[t]=e[t]?e[t]:[],e[t].push(n)}),e}(o),(c={str:"",vs:"",map:{}}).str=Object.keys(a).map(function(n){return a[n].map(function(n,t){var e;return c.vs+=function(n){var t,e="";return w.hasLocalStorage()?(t=function(n){var t=w.getDataFromLocalStorage(I+n.adUnitCode)||0,e=w.getDataFromLocalStorage(x+n.adUnitCode)||0,r=0<t?e/t:0;return{render:t,ratio:window.parseInt(10*r,10)}}(n),e+=4<=t.render?t.ratio.toString(16):"F"):e+="F",e}(n),e=i?n.adUnitCode.replace(/_|\.|-|\//g,"").replace(/\)\(|\(|\)|:/g,"_").replace(/^_+|_+$/g,""):n.params&&n.params.sn||j(n,!0)+"_"+t,c.map[e]=n.bidId,e+":"+j(n)}).join("+")}).join("+"),c),l=t.refererInfo.referer;if(f.t)e="https://"+f.isv+"/layers/t_pbjs_2.json",r={};else{e="https://"+(f.sv||"ads.us.e-planning.net")+"/pbjs/1/"+f.ci+"/1/"+(s=l,(u=document.createElement("a")).href=s,u.hostname)+"/ROS";var h=t.refererInfo.referer.reachedTop?window.top.document.referrer:t.refererInfo.referer;if(w.hasLocalStorage()&&(d=[],n.forEach(function(n){var t=document.getElementById(n.adUnitCode);t?O(t):d.push(n.adUnitCode)}),d.length&&function(r){var t=new MutationObserver(function(n,e){n&&Array.isArray(n)&&n.forEach(function(n){n&&n.addedNodes&&Array.isArray(n.addedNodes)&&n.addedNodes.forEach(function(n){var t=r.indexOf(n.id);0<=t&&(O(n),r.splice(t,1),r.length||e.disconnect())})})});document.addEventListener("DOMContentLoaded",function(n){t.observe(document.body,{childList:!0,subtree:!0,characterData:!0})})}(d)),r={rnd:E,e:m.str,ur:l||"file",pbv:"4.43.4",ncb:"1",vs:m.vs},p&&(r.crs=p),h&&(r.fr=h),t&&t.gdprConsent&&void 0!==t.gdprConsent.gdprApplies&&(r.gdpr=t.gdprConsent.gdprApplies?"1":"0",void 0!==t.gdprConsent.consentString&&(r.gdprcs=t.gdprConsent.consentString)),t&&t.uspConsent&&(r.ccpa=t.uspConsent),Object(y.a)().getUserIds&&"function"==typeof Object(y.a)().getUserIds){var v=Object(y.a)().getUserIds();for(var g in v)r["e_"+g]="object"===b(v[g])?encodeURIComponent(JSON.stringify(v[g])):encodeURIComponent(v[g])}}return{method:"GET",url:e,data:r,adUnitToBidId:m.map}},interpretResponse:function(n,r){var t=n.body,o=[];return t&&!i.isEmpty(t.sp)&&t.sp.forEach(function(e){i.isEmpty(e.a)||e.a.forEach(function(n){var t={requestId:r.adUnitToBidId[e.k],cpm:n.pr,width:n.w,height:n.h,ad:n.adm,ttl:120,creativeId:n.crid,netRevenue:!0,currency:"USD"};n.adom&&(t.meta={advertiserDomains:n.adom}),o.push(t)})}),o},getUserSyncs:function(t,n){var e=[],r=!i.isEmpty(n)&&n[0].body;return r&&!i.isEmpty(r.cs)&&r.cs.forEach(function(n){"string"==typeof n&&t.pixelEnabled?e.push({type:"image",url:n}):"object"===b(n)&&n.ifr&&t.iframeEnabled&&e.push({type:"iframe",url:n.u})}),e}};function f(){return i.getWindowSelf().innerWidth<=1024||window.orientation||c}function p(n,t){var e=f()?d:s,r=e.indexOf(n),o=e.indexOf(t);return-1<r?-1<o&&r<o?1:-1:-1<o?1:0}function j(n,t){var e,r=n.sizes&&n.sizes.length?(e=n.sizes,i.parseSizesInput(e).sort(p)):[];return r.length?t?r[0]:r.join(","):a}function O(n){var t;(t={name:n.id,div:n}).div&&(m(I+t.name),function(){var o,i=5,a=1e3,c=.5;function d(n,t,e){var r=n<t||e<0?0:t<0?e/(e-t):e<n?1:(n-t)/(e-t);return r}function r(n){var t,e,r=n.getBoundingClientRect();return e=r,d(o.innerHeight,e.top,e.bottom)*(t=r,d(o.innerWidth,t.left,t.right))>c}function s(n){return null!=n}function u(n,t,e){var r=f(t)?n+1:0;r===i?e():setTimeout(u.bind(this,r,t,e),a/i)}function f(n){return function(n){try{o=n&&window.document.body.contains(n)?window:window.top.document.body.contains(n)?top:void 0}catch(n){}}(n),function(){try{return window===window.top||window.frameElement}catch(n){}}()&&s(o)&&function(){try{return o.top.document.hasFocus()}catch(n){}}()&&(0<(e=n).offsetHeight&&0<e.offsetWidth)&&(t=n,"hidden"!==o.getComputedStyle(t).visibility)&&function n(t){var e=t.style,r=t.parentNode;return!(e&&0===parseFloat(e.opacity))&&(!r||n(r))}(n)&&r(n)&&(!s(o.frameElement)||f(o.frameElement));var t,e}return{isVisible:f,onView:u.bind(this,0)}}().onView(t.div,m.bind(void 0,x+t.name)))}function m(n){var t;try{t=(t=w.getDataFromLocalStorage(n))?window.parseInt(t,10)+1:1,w.setDataInLocalStorage(n,t)}catch(n){return!1}return!0}Object(r.registerBidder)(u)}},[447]); pbjsChunk([289],{475:function(e,r,n){e.exports=n(476)},476:function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),n.d(r,"purpose1Rule",function(){return h}),n.d(r,"purpose2Rule",function(){return j}),n.d(r,"purpose7Rule",function(){return C}),n.d(r,"enforcementRules",function(){return D}),n.d(r,"internal",function(){return B}),r.getGvlid=V,r.validateRules=H,r.deviceAccessHook=R,r.userSyncHook=T,r.userIdHook=G,r.makeBidRequestsHook=M,r.enableAnalyticsHook=W,r.setEnforcementConfig=x;var l=n(0),c=n(3),s=n(8),t=n(10),o=n.n(t),a=n(13),p=n.n(a),i=n(1),u=n(11),d=n(7),f=n(9),g=n.n(f),b=n(5),v=n.n(b);function y(r,e){var n,t=Object.keys(r);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(r),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})),t.push.apply(t,n)),t}function m(o){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?y(Object(a),!0).forEach(function(e){var r,n,t;r=o,t=a[n=e],n in r?Object.defineProperty(r,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[n]=t}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(a)):y(Object(a)).forEach(function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(a,e))})}return o}function A(){return(A=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e}).apply(this,arguments)}function O(e){return(O="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})(e)}var h,j,C,D,E={purpose1:{id:1,name:"storage"},purpose2:{id:2,name:"basicAds"},purpose7:{id:7,name:"measurement"}},P=[{purpose:"storage",enforcePurpose:!0,enforceVendor:!0,vendorExceptions:[]},{purpose:"basicAds",enforcePurpose:!0,enforceVendor:!0,vendorExceptions:[]}],k=[],S=[],F=[],w=!1,B={getGvlidForBidAdapter:function(e){var r=null;{var n;!(e=e||c.b.getCurrentBidder())||(n=s.default.getBidAdapter(e))&&n.getSpec&&(r=n.getSpec().gvlid)}return r},getGvlidForUserIdModule:function(e){return"object"===O(e)?e.gvlid:null},getGvlidForAnalyticsAdapter:function(e){return s.default.getAnalyticsAdapter(e)&&(s.default.getAnalyticsAdapter(e).gvlid||null)}};function V(e){var r=null;if(e){var n=c.b.getConfig("gvlMapping"),t="string"==typeof e?e:e.name;if(n&&n[t])return r=n[t];r=B.getGvlidForBidAdapter(t)||B.getGvlidForUserIdModule(e)||B.getGvlidForAnalyticsAdapter(t)}return r}function H(r,e,n,t){var o=E[Object.keys(E).filter(function(e){return E[e].name===r.purpose})[0]].id;if(p()(r.vendorExceptions||[],n))return!0;var a=l.deepAccess(e,"vendorData.purpose.consents.".concat(o)),i=l.deepAccess(e,"vendorData.vendor.consents.".concat(t)),c=l.deepAccess(e,"vendorData.purpose.legitimateInterests.".concat(o)),s=!1===r.enforcePurpose||!0===a,u=!1===r.enforceVendor||!0===i;return 2===o?s&&u||!0===c:s&&u}function R(e,r,n,t){var o,a,i;t=A({},{hasEnforcementHook:!0}),Object(l.hasDeviceAccess)()?(o=s.gdprDataHandler.getConsentData())&&o.gdprApplies&&2===o.apiVersion?(r=(a=c.b.getCurrentBidder())&&a!=n&&s.default.aliasRegistry[a]===n?V(a):V(n)||r,H(h,o,i=n||a,r)?t.valid=!0:(i&&l.logWarn("TCF2 denied device access for ".concat(i)),t.valid=!1,k.push(i))):t.valid=!0:(l.logWarn("Device access is disabled by Publisher"),t.valid=!1),e.call(this,r,n,t)}function T(e){for(var r,n,t=s.gdprDataHandler.getConsentData(),o=arguments.length,a=new Array(1<o?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];t&&t.gdprApplies&&2===t.apiVersion?(n=V(r=c.b.getCurrentBidder()),H(h,t,r,n)?e.call.apply(e,[this].concat(a)):(l.logWarn("User sync not allowed for ".concat(r)),k.push(r))):e.call.apply(e,[this].concat(a))}function G(e,r,t){var n;t&&t.gdprApplies&&2===t.apiVersion?(n=r.map(function(e){var r=V(e.submodule),n=e.submodule.name;if(H(h,t,n,r))return e;l.logWarn("User denied permission to fetch user id for ".concat(n," User id module")),k.push(n)}).filter(function(e){return e}),e.call(this,n,m(m({},t),{},{hasValidated:!0}))):e.call(this,r,t)}function M(e,r){for(var o=s.gdprDataHandler.getConsentData(),n=arguments.length,t=new Array(2<n?n-2:0),a=2;a<n;a++)t[a-2]=arguments[a];o&&o.gdprApplies&&2===o.apiVersion&&r.forEach(function(e){e.bids=e.bids.filter(function(e){var r=e.bidder,n=V(r);if(p()(S,r))return!1;var t=!!H(j,o,r,n);return t||(l.logWarn("TCF2 blocked auction for ".concat(r)),S.push(r)),t})}),e.call.apply(e,[this,r].concat(t))}function W(e,r){var o=s.gdprDataHandler.getConsentData();o&&o.gdprApplies&&2===o.apiVersion&&(l.isArray(r)||(r=[r]),r=r.filter(function(e){var r=e.provider,n=V(r),t=!!H(C,o,r,n);return t||(F.push(r),l.logWarn("TCF2 blocked analytics adapter ".concat(e.provider))),t})),e.call(this,r)}g.a.on(v.a.EVENTS.AUCTION_END,function(){function e(n){return n.filter(function(e,r){return null!==e&&n.indexOf(e)===r})}var r={storageBlocked:e(k),biddersBlocked:e(S),analyticsBlocked:e(F)};g.a.emit(v.a.EVENTS.TCF2_ENFORCEMENT,r)});var I=function(e){return e.purpose===E.purpose1.name},N=function(e){return e.purpose===E.purpose2.name},U=function(e){return e.purpose===E.purpose7.name};function x(e){var r=l.deepAccess(e,"gdpr.rules");D=r||(l.logWarn("TCF2: enforcing P1 and P2 by default"),P),h=o()(D,I),j=o()(D,N),C=o()(D,U),h=h||P[0],j=j||P[1],h&&!w&&(w=!0,d.d.before(R,49),i.registerSyncInner.before(T,48),Object(u.a)("validateGdprEnforcement").before(G,47)),j&&Object(u.a)("makeBidRequests").before(M),C&&Object(u.a)("enableAnalyticsCb").before(W)}c.b.getConfig("consentManagement",function(e){return x(e.consentManagement)})}},[475]); pbjsChunk([44],{20:function(e,r,t){"use strict";r.b=function(e){var r=[];for(var t in e){var i;e.hasOwnProperty(t)&&("pubProvidedId"===t?r=r.concat(e.pubProvidedId):(i=function(e,r){var t=o[r];if(t&&e){var i={};i.source=t.source;var a=c.isFn(t.getValue)?t.getValue(e):e;if(c.isStr(a)){var n,s,d={id:a,atype:t.atype};return!c.isFn(t.getUidExt)||(n=t.getUidExt(e))&&(d.ext=n),i.uids=[d],!c.isFn(t.getEidExt)||(s=t.getEidExt(e))&&(i.ext=s),i}}return null}(e[t],t))&&r.push(i))}return r},r.a=function(e){var t=[];return e.filter(function(e){return c.isPlainObject(e.idObj)&&Object.keys(e.idObj).length}).forEach(function(r){Object.keys(r.idObj).forEach(function(e){c.deepAccess(r,"config.bidders")&&Array.isArray(r.config.bidders)&&c.deepAccess(o,e+".source")&&t.push({source:o[e].source,bidders:r.config.bidders})})}),t};var c=t(0),o={intentIqId:{source:"intentiq.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}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var r=c.pick(e,["ibaOptout","ccpaOptout"]);if(Object.keys(r).length)return r}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},sharedid:{source:"sharedid.org",atype:1,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.third?{third:e.third}:void 0}},IDP:{source:"zeotap.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3}}},535:function(e,r,t){e.exports=t(536)},536:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",function(){return n}),r.ImproveDigitalAdServerJSClient=p;var m=t(0),i=t(1),f=t(3),h=t(2),d=t(12),c=t(20),a=t(13),y=t.n(a);function o(){return(o=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)}var g=["skip","skipmin","skipafter"],n={version:"7.4.0",code:"improvedigital",gvlid:253,aliases:["id"],supportedMediaTypes:[h.b,h.c,h.d],isBidRequestValid:function(e){return!!(e&&e.params&&(e.params.placementId||e.params.placementKey&&e.params.publisherId))},buildRequests:function(e,r){var t,i=e.map(function(e){var r=m.getBidIdParameter("adUnitCode",e)||null,t=m.getBidIdParameter("placementId",e.params)||null,i=null,a=null;null===t&&(i=m.getBidIdParameter("publisherId",e.params)||null,a=m.getBidIdParameter("placementKey",e.params)||null);var n=m.getBidIdParameter("keyValues",e.params)||null,s=m.getBidIdParameter("size",e.params)||null,d=m.getBidIdParameter("bidId",e),c=m.getBidIdParameter("transactionId",e),o=f.b.getConfig("currency.adServerCurrency"),u={};b(e)&&(u.adTypes=[h.d]);(b(e)||v(e))&&(u.video=function(r){var t={};return Object.keys(Object(r.mediaTypes.video)).filter(function(e){return y()(g,e)}).forEach(function(e){t[e]=r.mediaTypes.video[e]}),Object.keys(Object(r.params.video)).filter(function(e){return y()(g,e)}).forEach(function(e){t[e]=r.params.video[e]}),t}(e));t?u.placementId=t:(i&&(u.publisherId=i),a&&(u.placementKey=a));n&&(u.keyValues=n);!0===f.b.getConfig("improvedigital.usePrebidSizes")&&!b(e)&&!v(e)&&e.sizes&&0<e.sizes.length?u.format=e.sizes:s&&s.w&&s.h&&(u.size={},u.size.h=s.h,u.size.w=s.w);d&&(u.id=d);r&&(u.adUnitId=r);c&&(u.transactionId=c);o&&(u.currency=o);var p=function(e){if(!m.isFn(e.getFloor))return null;var r=e.getFloor({currency:"USD",mediaType:"*",size:"*"});return!m.isPlainObject(r)||isNaN(r.floor)||"USD"!==r.currency?null:r.floor}(e),l=null;p||(p=m.getBidIdParameter("bidFloor",e.params),l=m.getBidIdParameter("bidFloorCur",e.params));p&&(u.bidFloor=p,u.bidFloorCur=l?l.toUpperCase():"USD");return u}),a=new p("hb"),n={singleRequestMode:!0===f.b.getConfig("improvedigital.singleRequest"),returnObjType:a.CONSTANTS.RETURN_OBJ_TYPE.URL_PARAMS_SPLIT,libVersion:this.version};r&&r.gdprConsent&&r.gdprConsent.consentString&&(n.gdpr=r.gdprConsent.consentString),r&&r.uspConsent&&(n.usPrivacy=r.uspConsent),r&&r.refererInfo&&r.refererInfo.referer&&(n.referrer=r.refererInfo.referer),n.schain=e[0].schain,!e[0].userId||(t=Object(c.b)(e[0].userId)).length&&m.deepSetValue(n,"user.ext.eids",t);var s=a.createRequest(i,n);return s.errors&&0<s.errors.length&&m.logError("ID WARNING 0x01"),s.requests.forEach(function(e){return e.bidderRequest=r}),s.requests},interpretResponse:function(e,r){var n=r.bidderRequest,s=[];return m._each(e.body.bid,function(t){var e,i,r,a;t.price&&null!==t.price&&!t.hasOwnProperty("errorCode")&&(t.adm||t.native)&&(e=m.getBidRequest(t.id,[n]),i={},t.native?(i.native=function(e){var r={};if(!e||!m.isArray(e.assets))return null;e.assets.forEach(function(e){if(e.title)r.title=e.title.text;else if(e.data)switch(e.data.type){case 1:r.sponsoredBy=e.data.value;break;case 2:r.body=e.data.value;break;case 3:r.rating=e.data.value;break;case 4:r.likes=e.data.value;break;case 5:r.downloads=e.data.value;break;case 6:r.price=e.data.value;break;case 7:r.salePrice=e.data.value;break;case 8:r.phone=e.data.value;break;case 9:r.address=e.data.value;break;case 10:r.body2=e.data.value;break;case 11:r.displayUrl=e.data.value;break;case 12:r.cta=e.data.value}else if(e.img)switch(e.img.type){case 2:r.icon={url:e.img.url,width:e.img.w,height:e.img.h};break;case 3:r.image={url:e.img.url,width:e.img.w,height:e.img.h}}}),e.eventtrackers?(r.impressionTrackers=[],e.eventtrackers.forEach(function(e){if(1===e.event)switch(e.method){case 1:r.impressionTrackers.push(e.url);break;case 2:r.javascriptTrackers='<script src="'.concat(e.url,'"><\/script>')}})):(r.impressionTrackers=e.imptrackers||[],r.javascriptTrackers=e.jstracker);e.link&&(r.clickUrl=e.link.url,r.clickTrackers=e.link.clicktrackers);e.privacy&&(r.privacyLink=e.privacy);return r}(t.native),i.ortbNative=t.native,t.nurl&&i.native.impressionTrackers.unshift(t.nurl),i.mediaType=h.c):t.ad_type&&"video"===t.ad_type?(i.vastXml=t.adm,i.mediaType=h.d,v(e)&&(i.adResponse={content:i.vastXml,height:t.h,width:t.w},i.renderer=function(e){var r=d.a.install({id:e.adUnitCode,url:"https://acdn.adnxs.com/video/outstream/ANOutstreamVideo.js",loaded:!1,config:m.deepAccess(e,"renderer.options"),adUnitCode:e.adUnitCode});try{r.setRender(u)}catch(e){m.logWarn("Prebid Error calling setRender on renderer",e)}return r}(e))):(r="",t.nurl&&0<t.nurl.length&&(r='<img src="'.concat(t.nurl,'" width="0" height="0" style="display:none">')),i.ad="".concat(r,"<script>").concat(t.adm,"<\/script>"),i.mediaType=h.b),i.cpm=parseFloat(t.price),i.creativeId=t.crid,i.currency=t.currency?t.currency.toUpperCase():"USD",m.isNumber(t.lid)&&t.buying_type&&"rtb"!==t.buying_type?i.dealId=t.lid:Array.isArray(t.lid)&&Array.isArray(t.buying_type)&&t.lid.length===t.buying_type.length&&(a=!1,t.buying_type.forEach(function(e,r){a||e&&"rtb"!==e&&(a=!0,i.dealId=t.lid[r])})),i.height=t.h,i.netRevenue=!!t.isNet&&t.isNet,i.requestId=t.id,i.ttl=300,i.width=t.w,i.width&&i.height||(i.width=1,i.height=1),t.adomain&&(i.meta={advertiserDomains:t.adomain}),s.push(i))}),s},getUserSyncs:function(e,r){if(e.pixelEnabled){var t=[];return r.forEach(function(e){e.body.bid.forEach(function(e){m.isArray(e.sync)&&e.sync.forEach(function(e){-1===t.indexOf(e)&&t.push(e)})})}),t.map(function(e){return{type:"image",url:e}})}return[]}};function b(e){var r=Object.keys(m.deepAccess(e,"mediaTypes",{})),t=m.deepAccess(e,"mediaTypes.video"),i=m.deepAccess(e,"mediaTypes.video.context");return"video"===e.mediaType||1===r.length&&t&&"outstream"!==i}function v(e){var r=m.deepAccess(e,"mediaTypes.video"),t=m.deepAccess(e,"mediaTypes.video.context");return r&&"outstream"===t}function u(e){e.renderer.push(function(){window.ANOutstreamVideo.renderAd({sizes:[e.width,e.height],targetId:e.adUnitCode,adResponse:e.adResponse,rendererOptions:e.renderer.getConfig()},function(e,r,t){e.renderer.handleVideoEvent({id:r,eventName:t})}.bind(null,e))})}function p(e){this.CONSTANTS={AD_SERVER_BASE_URL:"ice.360yield.com",END_POINT:e||"hb",AD_SERVER_URL_PARAM:"jsonp=",CLIENT_VERSION:"JS-6.4.0",MAX_URL_LENGTH:2083,ERROR_CODES:{MISSING_PLACEMENT_PARAMS:2,LIB_VERSION_MISSING:3},RETURN_OBJ_TYPE:{DEFAULT:0,URL_PARAMS_SPLIT:1}},this.getErrorReturn=function(e){return{idMappings:{},requests:{},errorCode:e}},this.createRequest=function(e,r,t){if(!r.libVersion)return this.getErrorReturn(this.CONSTANTS.ERROR_CODES.LIB_VERSION_MISSING);r.returnObjType=r.returnObjType||this.CONSTANTS.RETURN_OBJ_TYPE.DEFAULT,r.adServerBaseUrl="https://"+(r.adServerBaseUrl||this.CONSTANTS.AD_SERVER_BASE_URL);var i=[];if(m.isArray(e))for(var a=0;a<e.length;a++)c=this.createImpressionObject(e[a]),i.push(c);else c=this.createImpressionObject(e),i.push(c);var n=!0;r.returnObjType===this.CONSTANTS.RETURN_OBJ_TYPE.URL_PARAMS_SPLIT&&(n=!1);var s={requests:[]};n&&(s.idMappings=[]);for(var d,c,o=null,u="".concat(r.adServerBaseUrl,"/").concat(this.CONSTANTS.END_POINT,"?").concat(this.CONSTANTS.AD_SERVER_URL_PARAM),p={bid_request:this.createBasicBidRequestObject(r,t)},l=0;l<i.length;l++){(c=i[l]).errorCode?(o=o||[]).push({errorCode:c.errorCode,adUnitId:c.adUnitId}):(n&&s.idMappings.push({adUnitId:c.adUnitId,id:c.impressionObject.id}),p.bid_request.imp=p.bid_request.imp||[],p.bid_request.imp.push(c.impressionObject),d=!1,(u+encodeURIComponent(JSON.stringify(p))).length>this.CONSTANTS.MAX_URL_LENGTH&&(d=!0,1<p.bid_request.imp.length&&(p.bid_request.imp.pop(),n&&s.idMappings.pop(),l--)),!d&&r.singleRequestMode&&l!==i.length-1||(s.requests.push(this.formatRequest(r,p)),p={bid_request:this.createBasicBidRequestObject(r,t)}))}return o&&(s.errors=o),s},this.formatRequest=function(e,r){switch(e.returnObjType){case this.CONSTANTS.RETURN_OBJ_TYPE.URL_PARAMS_SPLIT:return{method:"GET",url:"".concat(e.adServerBaseUrl,"/").concat(this.CONSTANTS.END_POINT),data:"".concat(this.CONSTANTS.AD_SERVER_URL_PARAM).concat(encodeURIComponent(JSON.stringify(r)))};default:return{url:"".concat(e.adServerBaseUrl,"/")+"".concat(this.CONSTANTS.END_POINT,"?").concat(this.CONSTANTS.AD_SERVER_URL_PARAM)+encodeURIComponent(JSON.stringify(r))}}},this.createBasicBidRequestObject=function(e,r){var t={secure:1};if(e.requestId?t.id=e.requestId:t.id=m.getUniqueIdentifierStr(),e.domain&&(t.domain=e.domain),e.page&&(t.page=e.page),e.ref&&(t.ref=e.ref),e.callback&&(t.callback=e.callback),e.libVersion&&(t.version=e.libVersion+"-"+this.CONSTANTS.CLIENT_VERSION),e.referrer&&(t.referrer=e.referrer),!e.gdpr&&0!==e.gdpr||(t.gdpr=e.gdpr),e.usPrivacy&&(t.us_privacy=e.usPrivacy),e.schain&&(t.schain=e.schain),e.user&&(t.user=e.user),r)for(var i in r)t[i]=r[i];return t},this.createImpressionObject=function(e){var r,t,i={},a={};if(i.impressionObject=a,e.id?a.id=e.id:a.id=m.getUniqueIdentifierStr(),e.adTypes&&(a.ad_types=e.adTypes),e.adUnitId&&(i.adUnitId=e.adUnitId),e.currency&&(a.currency=e.currency.toUpperCase()),e.bidFloor&&(a.bidfloor=e.bidFloor),e.bidFloorCur&&(a.bidfloorcur=e.bidFloorCur.toUpperCase()),e.placementId&&(a.pid=e.placementId),e.publisherId&&(a.pubid=e.publisherId),e.placementKey&&(a.pkey=e.placementKey),e.transactionId&&(a.tid=e.transactionId),m.isEmpty(e.video)||(1!==(r=o({},e.video)).skip&&(delete r.skipmin,delete r.skipafter,0!==r.skip&&(m.logWarn("video.skip: invalid value '".concat(r.skip,"'. Expected 0 or 1")),delete r.skip)),m.isEmpty(r)||(a.video=r)),e.keyValues)for(var n in e.keyValues)for(var s=0;s<e.keyValues[n].length;s++)a.kvw=a.kvw||{},a.kvw[n]=a.kvw[n]||[],a.kvw[n].push(e.keyValues[n][s]);return a.banner={},e.size&&e.size.w&&e.size.h&&(a.banner.w=e.size.w,a.banner.h=e.size.h),e.format&&m.isArray(e.format)&&(0<(t=e.format.filter(function(e){return 2===e.length&&m.isInteger(e[0])&&m.isInteger(e[1])&&0<=e[0]&&0<=e[1]}).map(function(e){return{w:e[0],h:e[1]}})).length&&(a.banner.format=t)),a.pid||a.pubid||a.pkey||a.banner&&a.banner.w&&a.banner.h||(i.impressionObject=null,i.errorCode=this.CONSTANTS.ERROR_CODES.MISSING_PLACEMENT_PARAMS),i}}Object(i.registerBidder)(n)}},[535]); pbjsChunk([252],{559:function(e,r,t){e.exports=t(560)},560:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",function(){return c});var J=t(0),C=t(2),N=t(3),i=t(10),b=t.n(i),n=t(1);function R(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(r,e){var t,i=Object.keys(r);return Object.getOwnPropertySymbols&&(t=Object.getOwnPropertySymbols(r),e&&(t=t.filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})),i.push.apply(i,t)),i}function X(n){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?s(Object(o),!0).forEach(function(e){var r,t,i;r=n,i=o[t=e],t in r?Object.defineProperty(r,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[t]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))})}return n}function U(e){return(U="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})(e)}function _(e,r){var t;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=d(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==t.return||t.return()}finally{if(a)throw o}}}}function d(e,r){if(e){if("string"==typeof e)return o(e,r);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)?o(e,r):void 0}}function o(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,i=new Array(r);t<r;t++)i[t]=e[t];return i}var q="roundel",u=[C.b,C.d],g=100,v=300,h=3600,x=!0,I={JPY:1},p={PBJS:"p",IX:"x"},M={"liveramp.com":"idl","netid.de":"NETID","neustar.biz":"fabrickId","zeotap.com":"zeotapIdPlus","uidapi.com":"UID2","adserver.org":"TDID"},W=["britepoolid","id5id","lipbid","haloId","criteoId","lotamePanoramaId","merkleId","parrableId","connectid","sharedid","tapadId","quantcastId","pubcid","TDID","flocId"],l=["mimes","minduration","maxduration"],j=["mimes","minduration","maxduration","protocols","protocol","startdelay","placement","linearity","skip","skipmin","skipafter","sequence","battr","maxextended","minbitrate","maxbitrate","boxingallowed","playbackmethod","playbackend","delivery","pos","companionad","api","companiontype","ext","playerSize","w","h"];function k(e){var r={};r.id=e.bidId,r.ext={},r.ext.siteID=e.params.siteId,!e.params.hasOwnProperty("id")||"string"!=typeof e.params.id&&"number"!=typeof e.params.id||(r.ext.sid=String(e.params.id));var t=J.deepAccess(e,"ortb2Imp.ext.data.adserver.adslot");return t&&(r.ext.dfp_ad_unit_code=t),r}function B(e,r,t){var i=null,n=null;if(e.params.bidFloor&&e.params.bidFloorCur&&(i={floor:e.params.bidFloor,currency:e.params.bidFloorCur}),J.isFn(e.getFloor)){var o,s="*",a="*";t&&J.contains(u,t)&&(a=[(o=r[s=t]).w,o.h]);try{n=e.getFloor({mediaType:s,size:a})}catch(e){J.logWarn("priceFloors module call getFloor failed, error : ",e)}}if(i&&n)return i.currency!==n.currency?void J.logWarn("The bid floor currency mismatch between IX params and priceFloors module config"):void(i.floor>n.floor?(r.bidfloor=i.floor,r.bidfloorcur=i.currency,r.ext.fl=p.IX):(r.bidfloor=n.floor,r.bidfloorcur=n.currency,r.ext.fl=p.PBJS));n?(r.bidfloor=n.floor,r.bidfloorcur=n.currency,r.ext.fl=p.PBJS):i?(r.bidfloor=i.floor,r.bidfloorcur=i.currency,r.ext.fl=p.IX):J.logInfo("IX Bid Adapter: No floors available, no floors applied")}function a(e){return Array.isArray(e)&&2===e.length&&J.isInteger(e[0])&&J.isInteger(e[1])}function m(e,r){var t=0<arguments.length&&void 0!==e?e:[],i=1<arguments.length?r:void 0;if(a(t))return t[0]===i[0]&&t[1]===i[1];for(var n=0;n<t.length;n++)if(t[n][0]===i[0]&&t[n][1]===i[1])return 1}function E(e,r,t){var i=!0;r||J.logWarn("IX Bid Adapter: mediaTypes.video is the preferred location for video params in ad unit");var n,o=_(l);try{for(o.s();!(n=o.n()).done;){var s=n.value,a=r&&r.hasOwnProperty(s),d=t&&t.hasOwnProperty(s);a||d||(J.logError("IX Bid Adapter: "+s+" is not included in either the adunit or params level"),i=!1)}}catch(e){o.e(e)}finally{o.f()}if(!i)return!1;var p=r&&r.hasOwnProperty("protocol"),c=r&&r.hasOwnProperty("protocols"),u=t&&t.hasOwnProperty("protocol"),m=t&&t.hasOwnProperty("protocols");return p||c||u||m}function F(e){var r=0<arguments.length&&void 0!==e?e:[];return a(r)?r:!!a(r[0])&&r[0]}function D(e,r,t,i){var n="https://htlb.casalemedia.com/cygnus",o=function(e,r){var t,i=[],n={};if(J.isArray(e)){var o,s=_(e);try{for(s.s();!(o=s.n()).done;){var a=o.value;M[a.source]&&J.deepAccess(a,"uids.0")&&(n[a.source]=!0,a.uids[0].ext={rtiPartner:M[a.source]},delete a.uids[0].atype,i.push(a))}}catch(e){s.e(e)}finally{s.f()}}return r&&r.id&&r.version&&(t={source:"chrome.com",uids:[{id:r.id,ext:{rtiPartner:"flocId",ver:r.version}}]},i.push(t),n["chrome.com"]=!0),{toSend:i,seenSources:n}}(J.deepAccess(e,"0.userIdAsEids"),J.deepAccess(e,"0.userId.flocId")),s=o.toSend;if(window.headertag&&"function"==typeof window.headertag.getIdentityInfo){var a,d=window.headertag.getIdentityInfo();if(d&&"object"===U(d))for(var p in d){!d.hasOwnProperty(p)||!(a=d[p]).responsePending&&a.data&&"object"===U(a.data)&&Object.keys(a.data).length&&!o.seenSources[a.data.source]&&s.push(a.data)}}if(r&&r.bidderCode===q&&!o.seenSources["liveramp.com"])return[];var c={};c.id=e[0].bidderRequestId.toString(),c.site={},c.ext={},c.ext.source="prebid",c.ext.ixdiag={};var u,m=function(t){for(var i,n=t.map(function(e){return e.transactionId}).filter(function(e,r,t){return t.indexOf(e)===r}),o={mfu:0,bu:0,iu:0,nu:0,ou:0,allu:0,ren:!1,version:"4.43.4",userIds:function(e){var r=e.userId||{};return W.filter(function(e){return r[e]})}(t[0])},e=0;e<n.length;e++)!function(r){var e;i=t.filter(function(e){return e.transactionId===n[r]})[0],J.deepAccess(i,"mediaTypes")&&(1<Object.keys(i.mediaTypes).length&&o.mfu++,J.deepAccess(i,"mediaTypes.native")&&o.nu++,J.deepAccess(i,"mediaTypes.banner")&&o.bu++,"outstream"===J.deepAccess(i,"mediaTypes.video.context")&&(o.ou++,e="object"===U(J.deepAccess(i,"renderer")||J.deepAccess(i,"mediaTypes.video.renderer")),o.ren=o.ren&&e?J.deepAccess(o,"ren"):e),"instream"===J.deepAccess(i,"mediaTypes.video.context")&&o.iu++,o.allu++)}(e);return o}(e);for(var l in m)c.ext.ixdiag[l]=m[l];e[0].schain&&(c.source={ext:{schain:e[0].schain}}),0<s.length&&(c.user={},c.user.eids=s),document.referrer&&""!==document.referrer&&(c.site.ref=document.referrer),r&&(r.gdprConsent&&((u=r.gdprConsent).hasOwnProperty("gdprApplies")&&(c.regs={ext:{gdpr:u.gdprApplies?1:0}}),u.hasOwnProperty("consentString")&&(c.user=c.user||{},c.user.ext={consent:u.consentString||""},u.hasOwnProperty("addtlConsent")&&u.addtlConsent&&(c.user.ext.consented_providers_settings={consented_providers:u.addtlConsent}))),r.uspConsent&&J.deepSetValue(c,"regs.ext.us_privacy",r.uspConsent),r.refererInfo&&(c.site.page=r.refererInfo.referer)),N.b.getConfig("coppa")&&J.deepSetValue(c,"regs.coppa",1);var f={},y=r&&r.bidderCode||"ix",b=N.b.getConfig(y);if(b){if("object"===U(b.firstPartyData)){var g=b.firstPartyData,v="?";for(var h in g)g.hasOwnProperty(h)&&(v+="".concat(encodeURIComponent(h),"=").concat(encodeURIComponent(g[h]),"&"));v=v.slice(0,-1),c.site.page+=v}"number"==typeof b.timeout&&(f.t=b.timeout),"boolean"==typeof b.detectMissingSizes?c.ext.ixdiag.dms=b.detectMissingSizes:c.ext.ixdiag.dms=!0}f.s=e[0].params.siteId,f.v=i,f.ac="j",f.sd=1,8.1===i&&(f.nf=1);var x=[],I={method:"GET",url:n,data:f},w=new Blob(["".concat(I.url).concat(J.parseQueryStringParameters(X(X({},I.data),{},{r:JSON.stringify(c)})))]).size,O=w,A=0,P=0,S=0;c.ext.ixdiag.msd=0,c.ext.ixdiag.msi=0,c.imp=[];for(var z,T,C=0,j=Object.keys(t),k=[];C<j.length&&x.length<4;){var B,E,F,D=t[j[C]],S=J.deepAccess(D,"missingCount")&&J.deepAccess(D,"ixImps")?D.missingCount:0;w<8e3?function(e,r){var t=new Blob([encodeURIComponent(JSON.stringify(e))]).size;if(t<r)return;for(;r<t;)e.hasOwnProperty("missingImps")&&0<e.missingImps.length?e.missingImps.pop():e.hasOwnProperty("ixImps")&&0<e.ixImps.length&&e.ixImps.pop(),t=new Blob([encodeURIComponent(JSON.stringify(e))]).size}(D,8e3-w):J.logError("ix bidder: Base request size has exceeded maximum request size."),P=J.deepAccess(D,"missingImps")&&J.deepAccess(D,"ixImps")?D.missingImps.length:0,(O+=new Blob([encodeURIComponent(JSON.stringify(D))]).size)<8e3?(D.ixImps&&0<D.ixImps.length&&(B=c.imp).push.apply(B,R(D.ixImps)),c.ext.ixdiag.msd+=S,c.ext.ixdiag.msi+=P,D.hasOwnProperty("missingImps")&&0<D.missingImps.length&&k.push.apply(k,R(D.missingImps)),C++):(F=J.deepClone(f),(E=c.imp).push.apply(E,R(k)),c.ext.ixdiag.sn=A,F.sn=A,A++,F.r=JSON.stringify(c),x.push({method:"GET",url:n,data:F}),k=[],O=w,c.imp=[],P=S=0,c.ext.ixdiag.msd=0,c.ext.ixdiag.msi=0)}return w<O&&O<8e3&&x.length<4&&(T=J.deepClone(f),(z=c.imp).push.apply(z,R(k)),0<x.length&&(c.ext.ixdiag.sn=A,T.sn=A),T.r=JSON.stringify(c),x.push({method:"GET",url:n,data:T})),x}function V(e,r){if(r)for(var t=0;t<e.length;t++){var i=e[t];if(r[0]===i[0]&&r[1]===i[1]){e.splice(t,1);break}}}var c={code:"ix",gvlid:10,aliases:[{code:q,gvlid:10,skipPbsAliasing:!1}],supportedMediaTypes:u,isBidRequestValid:function(e){var r,t,i=J.deepAccess(e,"params.video"),n=J.deepAccess(e,"params.size"),o=J.deepAccess(e,"mediaTypes.banner.sizes"),s=J.deepAccess(e,"mediaTypes.video"),a=J.deepAccess(e,"mediaTypes.video.playerSize"),d=e.params.hasOwnProperty("bidFloor"),p=e.params.hasOwnProperty("bidFloorCur");if(e.hasOwnProperty("mediaType")&&!J.contains(u,e.mediaType))return!1;if(J.deepAccess(e,"mediaTypes.banner")&&!o)return!1;if(n){var c=F(n);if(!c)return J.logError("ix bidder params: size has invalid format."),!1;if(!m(e.sizes,c)&&!m(a,c)&&!m(o,c))return J.logError("ix bidder params: bid size is not included in ad unit sizes or player size."),!1}return"string"!=typeof e.params.siteId&&"number"!=typeof e.params.siteId?(J.logError("ix bidder params: siteId must be string or number value."),!1):!d&&!p||d&&p&&(r=e.params.bidFloor,t=e.params.bidFloorCur,Boolean("number"==typeof r&&"string"==typeof t&&t.match(/^[A-Z]{3}$/)))?!(!o&&(s||i))||E(0,s,i):(J.logError("ix bidder params: bidFloor / bidFloorCur parameter has invalid format."),!1)},buildRequests:function(e,r){for(var t,i,n,o,s,a,d,p,c,u,m,l=[],f={},y={},b=null,g={},v=X(X({},{detectMissingSizes:!0}),N.b.getConfig("ix")),h=0;h<e.length;h++){b=e[h];var x,I,w=J.deepAccess(b,"mediaTypes.video"),O=J.deepAccess(b,"params.video");(b.mediaType===C.d||w||O)&&(y.hasOwnProperty(b.transactionId)||(x=function(e){var r=k(e),t=J.deepAccess(e,"mediaTypes.video"),i=J.deepAccess(e,"params.video");if(!E(0,t,i))return{};for(var n in r.video=i?J.deepClone(e.params.video):{},t)-1===j.indexOf(n)||r.video.hasOwnProperty(n)||(r.video[n]=t[n]);if(r.video.minduration>r.video.maxduration)return J.logError("IX Bid Adapter: video minduration ["+r.video.minduration+"] cannot be greater than video maxduration ["+r.video.maxduration+"]"),{};var o=i&&i.context||t&&t.context;if(o&&("instream"===o?r.video.placement=1:"outstream"===o?r.video.placement=4:J.logWarn("IX Bid Adapter: video context '".concat(o,"' is not supported"))),!r.video.w||!r.video.h){var s=F(J.deepAccess(r,"video.playerSize"))||F(J.deepAccess(e,"params.size"));if(!s)return J.logWarn("IX Bid Adapter: Video size is missing in [mediaTypes.video] missing"),{};r.video.w=s[0],r.video.h=s[1],J.deepAccess(r,"ext.sid")||(r.ext.sid="".concat(s[0],"x").concat(s[1]))}return B(e,r,C.d),r}(b),0!=Object.keys(x).length&&(y[b.transactionId]={},y[b.transactionId].ixImps=[],y[b.transactionId].ixImps.push(x)))),b.mediaType!==C.b&&!J.deepAccess(b,"mediaTypes.banner.sizes")&&(b.mediaType||b.mediaTypes)||(I=function(e){var r=k(e);r.banner={};var t=J.deepAccess(e,"params.size");return t&&(r.banner.w=t[0],r.banner.h=t[1],J.deepAccess(r,"ext.sid")||(r.ext.sid="".concat(t[0],"x").concat(t[1]))),r.banner.topframe=J.inIframe()?0:1,B(e,r,C.b),r}(b),J.deepAccess(b,"params.size")&&(f.hasOwnProperty(b.transactionId)||(f[b.transactionId]={}),f[b.transactionId].hasOwnProperty("ixImps")||(f[b.transactionId].ixImps=[]),f[b.transactionId].ixImps.push(I)),v.hasOwnProperty("detectMissingSizes")&&v.detectMissingSizes&&(i=g,n=I,d=a=s=o=void 0,d=(t=b).transactionId,i.hasOwnProperty(d)?(o=[],i[d].hasOwnProperty("missingSizes")&&(o=i[d].missingSizes),V(o,t.params.size),i[d].missingSizes=o):J.deepAccess(t,"mediaTypes.banner.sizes")&&(V(s=J.deepClone(t.mediaTypes.banner.sizes),t.params.size),a={missingSizes:s,impression:n},i[d]=a)))}for(var A in g)if(g.hasOwnProperty(A)){var P=g[A].missingSizes;f.hasOwnProperty(A)||(f[A]={}),f[A].hasOwnProperty("missingImps")||(f[A].missingImps=[],f[A].missingCount=0);for(var S=g[A].impression,z=0;z<P.length;z++){var T=(p=b,c=S,u=P[z],m=void 0,(m=J.deepClone(c)).ext.sid="".concat(u[0],"x").concat(u[1]),m.banner.w=u[0],m.banner.h=u[1],B(p,m,C.b),m);f[A].missingImps.push(T),f[A].missingCount++}}return 0<Object.keys(f).length&&l.push.apply(l,R(D(e,r,f,7.2))),0<Object.keys(y).length&&l.push.apply(l,R(D(e,r,y,8.1))),l},interpretResponse:function(e,r){var t=[];if(!e.hasOwnProperty("body")||!e.body.hasOwnProperty("seatbid"))return t;for(var i,n,o,s,a,d,p=e.body,c=p.seatbid,u=0;u<c.length;u++)if(c[u].hasOwnProperty("bid"))for(var m=c[u].bid,l=JSON.parse(r.data.r),f=0;f<m.length;f++){var y=function(r,e){if(r)return b()(e,function(e){return e.id===r})}(m[f].impid,l.imp);i=m[f],n=p.cur,o=y,d=a=s=void 0,s={},a=!(!J.deepAccess(i,"exp")||!J.isInteger(i.exp)),d=J.deepAccess(i,"dealid")||J.deepAccess(i,"ext.dealid"),I.hasOwnProperty(n)?s.cpm=i.price/I[n]:s.cpm=i.price/g,s.requestId=i.impid,d&&(s.dealId=d),s.netRevenue=x,s.currency=n,s.creativeId=i.hasOwnProperty("crid")?i.crid:"-",J.deepAccess(i,"ext.vasturl")?(s.vastUrl=i.ext.vasturl,s.width=o.video.w,s.height=o.video.h,s.mediaType=C.d,s.ttl=a?i.exp:h):(s.ad=i.adm,s.width=i.w,s.height=i.h,s.mediaType=C.b,s.ttl=a?i.exp:v),s.meta={},s.meta.networkId=J.deepAccess(i,"ext.dspid"),s.meta.brandId=J.deepAccess(i,"ext.advbrandid"),s.meta.brandName=J.deepAccess(i,"ext.advbrand"),i.adomain&&0<i.adomain.length&&(s.meta.advertiserDomains=i.adomain),t.push(s)}return t},transformBidParams:function(e){return J.convertTypes({siteID:"number"},e)},getUserSyncs:function(e){return e.iframeEnabled?[{type:"iframe",url:"https://js-sec.indexww.com/um/ixmatch.html"}]:[]}};Object(n.registerBidder)(c)}},[559]); pbjsChunk([36],{20:function(e,t,r){"use strict";t.b=function(e){var t=[];for(var r in e){var n;e.hasOwnProperty(r)&&("pubProvidedId"===r?t=t.concat(e.pubProvidedId):(n=function(e,t){var r=c[t];if(r&&e){var n={};n.source=r.source;var i=s.isFn(r.getValue)?r.getValue(e):e;if(s.isStr(i)){var o,d,a={id:i,atype:r.atype};return!s.isFn(r.getUidExt)||(o=r.getUidExt(e))&&(a.ext=o),n.uids=[a],!s.isFn(r.getEidExt)||(d=r.getEidExt(e))&&(n.ext=d),n}}return null}(e[r],r))&&t.push(n))}return t},t.a=function(e){var r=[];return e.filter(function(e){return s.isPlainObject(e.idObj)&&Object.keys(e.idObj).length}).forEach(function(t){Object.keys(t.idObj).forEach(function(e){s.deepAccess(t,"config.bidders")&&Array.isArray(t.config.bidders)&&s.deepAccess(c,e+".source")&&r.push({source:c[e].source,bidders:t.config.bidders})})}),r};var s=r(0),c={intentIqId:{source:"intentiq.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}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var t=s.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:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},sharedid:{source:"sharedid.org",atype:1,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.third?{third:e.third}:void 0}},IDP:{source:"zeotap.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3}}},689:function(e,t,r){e.exports=r(690)},690:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasTypeVideo=f,t.isValid=y,r.d(t,"spec",function(){return O});var c=r(2),a=r(24),s=r(12),n=r(10),u=r.n(n),i=r(7),o=r(1),p=r(20);function d(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function l(i){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?d(Object(o),!0).forEach(function(e){var t,r,n;t=i,n=o[r=e],r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(o,e))})}return i}var m="https://onetag-sys.com/usync/",g=Object(i.b)(241);function f(e){return void 0!==e.mediaTypes&&void 0!==e.mediaTypes.video}function y(e,t){if(e===c.b)return 0<v(t).length;if(e===c.d&&f(t)){var r=t.mediaTypes.video.context;if("outstream"===r||"instream"===r)return 0<b(t).length}return!1}function h(e){var t=e.params;this.adUnitCode=e.adUnitCode,this.bidId=e.bidId,this.bidderRequestId=e.bidderRequestId,this.auctionId=e.auctionId,this.transactionId=e.transactionId,this.pubId=t.pubId,this.ext=t.ext,t.pubClick&&(this.click=t.pubClick),t.dealId&&(this.dealId=t.dealId);var r=function(e){var t=document.getElementById(e);try{for(var r=t.getBoundingClientRect(),n=r.top,i=r.left,o=r.width,d=r.height,a=t.ownerDocument.defaultView,s={top:n+a.pageYOffset,left:i+a.pageXOffset,width:o,height:d},c=a.frameElement;null!=c;){var u=c.getBoundingClientRect(),p=u.top,l=u.left;s.top+=p+a.pageYOffset,s.left+=l+a.pageXOffset,a=a.parent,c=a.frameElement}return s}catch(e){return null}}(e.adUnitCode);r&&(this.coords=r)}function b(e){var t=e.mediaTypes.video.playerSize;return void 0!==t&&Array.isArray(t)&&0<t.length?I(t):[]}function v(e){return void 0!==e.mediaTypes&&void 0!==e.mediaTypes.banner&&void 0!==e.mediaTypes.banner.sizes&&Array.isArray(e.mediaTypes.banner.sizes)&&0<e.mediaTypes.banner.sizes.length?I(e.mediaTypes.banner.sizes):!f(e)&&e.sizes&&Array.isArray(e.sizes)?I(e.sizes):[]}function I(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push({width:n[0],height:n[1]})}return t}var O={code:"onetag",gvlid:241,supportedMediaTypes:[c.b,c.d],isBidRequestValid:function(e){return void 0!==e&&void 0!==e.params&&"string"==typeof e.params.pubId&&(y(c.b,e)||y(c.d,e))},buildRequests:function(e,t){var r,n,i,o,d,a,s=l({bids:(d=(o=e).filter(f).map(function(e){var t={};return h.call(t,e),t.context=e.mediaTypes.video.context,t.mimes=e.mediaTypes.video.mimes,t.playerSize=b(e),t.protocols=e.mediaTypes.video.protocols,t.maxDuration=e.mediaTypes.video.maxduration,t.api=e.mediaTypes.video.api,t.playbackmethod=e.mediaTypes.video.playbackmethod||[],t.type=c.d,t}),a=o.filter(function(e){return y(c.b,e)}).map(function(e){var t={};return h.call(t,e),t.sizes=v(e),t.type=c.b,t}),d.concat(a))},(r=function(){var t=window,r=window.parent,n=0;try{for(;t!==t.parent;)(r=t.parent).location.href,t=t.parent}catch(e){n=r===t.top?1:2}return{topmostFrame:t,currentFrameNesting:n}}(),n=r.topmostFrame,i=r.currentFrameNesting,{location:n.location.href,referrer:""!==n.document.referrer?n.document.referrer:null,ancestorOrigin:window.location.ancestorOrigins&&null!=window.location.ancestorOrigins[0]?window.location.ancestorOrigins[0]:null,masked:i,wWidth:n.innerWidth,wHeight:n.innerHeight,oWidth:n.outerWidth,oHeight:n.outerHeight,sWidth:n.screen.width,sHeight:n.screen.height,aWidth:n.screen.availWidth,aHeight:n.screen.availHeight,sLeft:"screenLeft"in n?n.screenLeft:n.screenX,sTop:"screenTop"in n?n.screenTop:n.screenY,xOffset:n.pageXOffset,yOffset:n.pageYOffset,docHidden:function(e){try{return void 0!==e.document.hidden?e.document.hidden:void 0!==e.document.msHidden?e.document.msHidden:void 0!==e.document.webkitHidden?e.document.webkitHidden:null}catch(e){return null}}(n),docHeight:n.document.body?n.document.body.scrollHeight:null,hLength:history.length,timing:function(){try{if(null!=window.performance&&null!=window.performance.timing){var e={},t=window.performance.timing;return e.pageLoadTime=t.loadEventEnd-t.navigationStart,e.connectTime=t.responseEnd-t.requestStart,e.renderTime=t.domComplete-t.domLoading,e}}catch(e){return null}return null}(),version:{prebid:"4.43.4",adapter:"1.1.0"}}));t&&t.gdprConsent&&(s.gdprConsent={consentString:t.gdprConsent.consentString,consentRequired:t.gdprConsent.gdprApplies}),t&&t.uspConsent&&(s.usPrivacy=t.uspConsent),e&&0!==e.length&&e[0].userId&&(s.userId=Object(p.b)(e[0].userId));try{g.hasLocalStorage()&&(s.onetagSid=g.getDataFromLocalStorage("onetag_sid"))}catch(e){}return{method:"POST",url:"https://onetag-sys.com/prebid-request",data:JSON.stringify(s)}},interpretResponse:function(e,t){var r=e.body,o=[],d=JSON.parse(t.data);return!r||r.nobid&&!0===r.nobid||r.bids&&Array.isArray(r.bids)&&0!==r.bids.length&&r.bids.forEach(function(t){var e,r,n,i={requestId:t.requestId,cpm:t.cpm,width:t.width,height:t.height,creativeId:t.creativeId,dealId:null==t.dealId?t.dealId:"",currency:t.currency,netRevenue:t.netRevenue||!1,mediaType:t.mediaType,meta:{mediaType:t.mediaType,advertiserDomains:t.adomain},ttl:t.ttl||300};t.mediaType===c.b?i.ad=t.ad:t.mediaType===c.d&&(r=(e=u()(d.bids,function(e){return e.bidId===t.requestId})).context,n=e.adUnitCode,r===a.a?(i.vastUrl=t.vastUrl,i.videoCacheKey=t.videoCacheKey):r===a.b&&(i.vastXml=t.ad,i.vastUrl=t.vastUrl,t.rendererUrl&&(i.renderer=function(d){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},t=s.a.install({id:d.requestId,url:d.rendererUrl,config:e,adUnitCode:d.adUnitCode,loaded:!1});try{t.setRender(function(e){var t=e.renderer,r=e.width,n=e.height,i=e.vastXml,o=e.adUnitCode;t.push(function(){window.onetag.Player.init(l(l({},d),{},{width:r,height:n,vastXml:i,nodeId:o,config:t.getConfig()}))})})}catch(e){}return t}(l(l({},t),{},{adUnitCode:n}))))),o.push(i)}),o},getUserSyncs:function(e,t,r,n){var i=[],o="";return r&&"string"==typeof r.consentString&&(o+="&gdpr_consent="+r.consentString,"boolean"==typeof r.gdprApplies&&(o+="&gdpr="+(r.gdprApplies?1:0))),n&&"string"==typeof n&&(o+="&us_privacy="+n),e.iframeEnabled&&i.push({type:"iframe",url:m+"?cb="+(new Date).getTime()+o}),e.pixelEnabled&&i.push({type:"image",url:m+"?tag=img"+o}),i}};Object(o.registerBidder)(O)}},[689]); pbjsChunk([193],{699:function(e,t,r){e.exports=r(700)},700:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.d(t,"USER_ID_CODE_TO_QUERY_ARG",function(){return m}),r.d(t,"spec",function(){return v});var s=r(3),n=r(1),l=r(0),f=r(2),a=r(13),h=r.n(a);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,a=!1,i=void 0;try{for(var o,d=e[Symbol.iterator]();!(n=(o=d.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==d.return||d.return()}finally{if(a)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var d=[f.b,f.d],b=["startdelay","mimes","minduration","maxduration","startdelay","skippable","playbackmethod","api","protocols","boxingallowed","linearity","delivery","protocol","placement","minbitrate","maxbitrate"],c="hb_pb",p="3.0.3",u="USD",m={britepoolid:"britepoolid",criteoId:"criteoid",fabrickId:"nuestarid",haloId:"audigentid",id5id:"id5id",idl_env:"lre",IDP:"zeotapid",idxId:"idxid",intentIqId:"intentiqid",lipb:"lipbid",lotamePanoramaId:"lotameid",merkleId:"merkleid",netId:"netid",parrableId:"parrableid",pubcid:"pubcid",quantcastId:"quantcastid",sharedId:"sharedid",tapadId:"tapadid",tdid:"ttduuid",verizonMediaId:"verizonmediaid"},v={code:"openx",gvlid:69,supportedMediaTypes:d,isBidRequestValid:function(e){var t=e.params.delDomain||e.params.platform;return l.deepAccess(e,"mediaTypes.banner")&&t?!!e.params.unit||0<l.deepAccess(e,"mediaTypes.banner.sizes.length"):!(!e.params.unit||!t)},buildRequests:function(e,n){if(0===e.length)return[];var a=[],t=o(e.reduce(function(e,t){var r;return r=t,l.deepAccess(r,"mediaTypes.video")&&!l.deepAccess(r,"mediaTypes.banner")||r.mediaType===f.d?e[0].push(t):e[1].push(t),e},[[],[]]),2),r=t[0],i=t[1];return 0<i.length&&a.push(function(e,t){var n=[],a=!1,r=y(e,t),i=l._map(e,function(e){return e.params.unit});r.aus=l._map(e,function(e){return l.parseSizesInput(e.mediaTypes.banner.sizes).join(",")}).join("|"),r.divids=l._map(e,function(e){return encodeURIComponent(e.adUnitCode)}).join(","),r.aucs=l._map(e,function(e){var t=l.deepAccess(e,"ortb2Imp.ext.data.pbadslot");return encodeURIComponent(t||"")}).join(","),i.some(function(e){return e})&&(r.auid=i.join(","));e.some(function(e){return e.params.doNotTrack})&&(r.ns=1);!0!==s.b.getConfig("coppa")&&!e.some(function(e){return e.params.coppa})||(r.tfcd=1);e.forEach(function(t){var e,r;t.params.customParams?(e=l._map(Object.keys(t.params.customParams),function(e){return function(e,t){var r=t[e];l.isArray(r)&&(r=r.join(","));return(e.toLowerCase()+"="+r.toLowerCase()).replace("+",".").replace("/","_")}(e,t.params.customParams)}),r=window.btoa(e.join("&")),a=!0,n.push(r)):n.push("")}),a&&(r.tps=n.join(","));return g(r,f.b,e),{method:"GET",url:r.ph?"https://u.openx.net/w/1.0/arj":"https://".concat(e[0].params.delDomain,"/w/1.0/arj"),data:r,payload:{bids:e,startTime:new Date}}}(i,n)),0<r.length&&r.forEach(function(e){var t,r;a.push({method:"GET",url:(r=function(e,t){var r,n,a=l.deepAccess(e,"mediaTypes.video"),i=y([e],t),o=l.deepAccess(e,"params.video")||{},d=l.deepAccess(e,"mediaTypes.video.context"),s=l.deepAccess(e,"mediaTypes.video.playerSize");l.isArray(e.sizes)&&2===e.sizes.length&&!l.isArray(e.sizes[0])?(r=parseInt(e.sizes[0],10),n=parseInt(e.sizes[1],10)):l.isArray(e.sizes)&&l.isArray(e.sizes[0])&&2===e.sizes[0].length?(r=parseInt(e.sizes[0][0],10),n=parseInt(e.sizes[0][1],10)):l.isArray(s)&&2===s.length&&(r=parseInt(s[0],10),n=parseInt(s[1],10));var c={w:r,h:n},p=e.params.video||e.params.openrtb||{};p.openrtb&&(p=p.openrtb);l.isArray(p.imp)&&(p=p.imp[0].video);Object.keys(p).filter(function(e){return h()(b,e)}).forEach(function(e){return c[e]=p[e]}),Object.keys(a).filter(function(e){return h()(b,e)}).forEach(function(e){return c[e]=a[e]});var u={imp:[{video:c}]};i.openrtb=JSON.stringify(u),i.auid=e.params.unit,i.vwd=r||o.vwd,i.vht=n||o.vht,"outstream"===d&&(i.vos="101");o.mimes&&(i.vmimes=o.mimes);e.params.test&&(i.vtest=1);var m=l.deepAccess(e,"ortb2Imp.ext.data.pbadslot");m&&(i.aucs=encodeURIComponent(m));return g(i,f.d,[e]),i}(t=e,n)).ph?"https://u.openx.net/v/1.0/avjp":"https://".concat(t.params.delDomain,"/v/1.0/avjp"),data:r,payload:{bid:t,startTime:new Date}})}),a},interpretResponse:function(e,t){var r=e.body;return((/avjp$/.test(t.url)?f.d:f.b)===f.d?function(e,t){var r=t.bid,n=(t.startTime,[]);{var a,i;void 0!==e&&""!==e.vastUrl&&0<e.pub_rev&&(a=l.parseUrl(e.vastUrl).search||{},(i={}).requestId=r.bidId,e.deal_id&&(i.dealId=e.deal_id),i.ttl=300,i.netRevenue=!0,i.currency=e.currency,i.cpm=parseInt(e.pub_rev,10)/1e3,i.width=parseInt(e.width,10),i.height=parseInt(e.height,10),i.creativeId=e.adid,i.vastUrl=e.vastUrl,i.mediaType=f.d,e.ph=a.ph,e.colo=a.colo,e.ts=a.ts,n.push(i))}return n}:function(e,t){for(var r=t.bids,n=(t.startTime,e.ads.ad),a=[],i=0;i<n.length;i++){var o,d=n[i],s=parseInt(d.idx,10),c={};c.requestId=r[s].bidId,d.pub_rev&&(c.cpm=Number(d.pub_rev)/1e3,(o=d.creative[0])&&(c.width=o.width,c.height=o.height),c.creativeId=o.id,c.ad=d.html,d.deal_id&&(c.dealId=d.deal_id),c.ttl=300,c.netRevenue=!0,c.currency=d.currency,d.tbd&&(c.tbd=d.tbd),c.ts=d.ts,c.meta={},d.brand_id&&(c.meta.brandId=d.brand_id),d.adomain&&0<length(d.adomain)?c.meta.advertiserDomains=d.adomain:c.meta.advertiserDomains=[],d.adv_id&&(c.meta.dspid=d.adv_id),a.push(c))}return a})(r,t.payload)},getUserSyncs:function(e,t,r,n){if(e.iframeEnabled||e.pixelEnabled)return[{type:e.iframeEnabled?"iframe":"image",url:l.deepAccess(t,"0.body.ads.pixels")||l.deepAccess(t,"0.body.pixels")||function(e,t){var r=[];e&&(r.push("gdpr="+(e.gdprApplies?1:0)),r.push("gdpr_consent="+encodeURIComponent(e.consentString||"")));t&&r.push("us_privacy="+encodeURIComponent(t));return"".concat("https://u.openx.net/w/1.0/pd").concat(0<r.length?"?"+r.join("&"):"")}(r,n)}]},transformBidParams:function(e){return l.convertTypes({unit:"string",customFloor:"number"},e)}};function y(e,t){var r,n,a,i,o=l.inIframe(),d={ju:s.b.getConfig("pageUrl")||t.refererInfo.referer,ch:document.charSet||document.characterSet,res:"".concat(screen.width,"x").concat(screen.height,"x").concat(screen.colorDepth),ifr:o,tz:(new Date).getTimezoneOffset(),tws:function(e){var t,r,n,a=window,i=document,o=i.documentElement;if(e){try{a=window.top,i=window.top.document}catch(e){return}o=i.documentElement,n=i.body,t=a.innerWidth||o.clientWidth||n.clientWidth,r=a.innerHeight||o.clientHeight||n.clientHeight}else o=i.documentElement,t=a.innerWidth||o.clientWidth,r=a.innerHeight||o.clientHeight;return"".concat(t,"x").concat(r)}(o),be:1,bc:e[0].params.bc||"".concat(c,"_").concat(p),dddid:l._map(e,function(e){return e.transactionId}).join(","),nocache:(new Date).getTime()};return e[0].params.platform&&(d.ph=e[0].params.platform),t.gdprConsent&&(void 0!==(r=t.gdprConsent).consentString&&(d.gdpr_consent=r.consentString),void 0!==r.gdprApplies&&(d.gdpr=r.gdprApplies?1:0),"iab"===s.b.getConfig("consentManagement.cmpApi")&&(d.x_gdpr_f=1)),t&&t.uspConsent&&(d.us_privacy=t.uspConsent),l.deepAccess(e[0],"crumbs.pubcid")&&l.deepSetValue(e[0],"userId.pubcid",l.deepAccess(e[0],"crumbs.pubcid")),n=d,a=e[0].userId,l._each(a,function(e,t){var r=m[t];if(m.hasOwnProperty(t))switch(t){case"lipb":n[r]=e.lipbid;break;case"parrableId":n[r]=e.eid;break;case"id5id":n[r]=e.uid;break;default:n[r]=e}}),d=n,e[0].schain&&(d.schain=(i=e[0].schain,"".concat(i.ver,",").concat(i.complete,"!").concat(function(e){var r=["asi","sid","hp","rid","name","domain"];return e.map(function(t){return r.map(function(e){return t[e]||""}).join(",")}).join("!")}(i.nodes)))),d}function g(e,r,t){var n=[],a=!1;t.forEach(function(e){var t=function(e,t){var r={},n=s.b.getConfig("currency.adServerCurrency")||u;"function"==typeof e.getFloor&&(r=e.getFloor({currency:n,mediaType:t,size:"*"}));var a=r.floor||e.params.customFloor||0;return Math.round(1e3*a)}(e,r);t?(n.push(t),a=!0):n.push(0)}),a&&(e.aumfs=n.join(","))}Object(n.registerBidder)(v)}},[699]); pbjsChunk([178],{736:function(e,t,o){e.exports=o(737)},737:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o.d(t,"allowedFields",function(){return g}),o.d(t,"_floorDataForAuction",function(){return R}),o.d(t,"fieldMatchingFunctions",function(){return U}),t.getFirstMatchingFloor=E,t.getBiddersCpmAdjustment=w,t.calculateAdjustedFloor=P,t.getFloor=M,t.getFloorsDataForAuction=B,t.getFloorDataFromAdUnits=V,t.updateAdUnitsForAuction=x,t.pickRandomModel=q,t.createFloorsDataForAuction=z,t.continueAuction=W,t.isFloorsDataValid=H,t.parseFloorData=J,t.requestBidsHook=L,t.handleFetchResponse=K,t.generateAndHandleFetch=X,t.handleSetFloorsConfig=Z,t.addBidResponseHook=$;var O=o(16),r=o(3),j=o(0),n=o(4),a=o(9),i=o.n(a),c=o(5),F=o.n(c),s=o(11),A=o(35),u=o(10),S=o.n(u),d=o(19);function l(e){return(l="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})(e)}function f(e,t){if(null==e)return{};var o,r=function(e,t){if(null==e)return{};var o,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)o=a[r],0<=t.indexOf(o)||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols)for(var n=Object.getOwnPropertySymbols(e),a=0;a<n.length;a++)o=n[a],0<=t.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o]);return r}function C(){return(C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}function p(t,e){var o,r=Object.keys(t);return Object.getOwnPropertySymbols&&(o=Object.getOwnPropertySymbols(t),e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)),r}function k(n){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?p(Object(a),!0).forEach(function(e){var t,o,r;t=n,r=a[o=e],o in t?Object.defineProperty(t,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[o]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):p(Object(a)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(a,e))})}return n}var m,T="Price Floors",h=Object(n.b)(1e4),g=["gptSlot","adUnitCode","size","domain","mediaType"],y=!1,b=!1,v={},D=[],R={};var U={size:function(e,t){return j.parseGPTSingleSizeArray(t.size)||"*"},mediaType:function(e,t){return t.mediaType||"banner"},gptSlot:function(e){return j.getGptSlotInfoForAdUnitCode(e.adUnitCode).gptSlot},domain:function(){return m||(e=Object(d.a)().referer,m=j.parseUrl(e,{noDecodeWholeURL:!0}).hostname);var e},adUnitCode:function(e){return e.adUnitCode}};function E(t,e){var o,r,n,a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},i=(o=j.deepAccess(t,"schema.fields")||[],r=e,n=a,o.reduce(function(e,t){var o=U[t](r,n)||"*";return e.push("*"===o?["*"]:[o.toLowerCase(),"*"]),e},[]));if(!i.length)return{matchingFloor:t.default};var c=i.map(function(e){return e[0]}).join("-"),s=j.deepAccess(t,"matchingInputs.".concat(c));if(s)return k({},s);var u,d,l=(u=i,d=j.deepAccess(t,"schema.delimiter")||"|",u.reduce(function(e,o){var r=[];return e.map(function(t){o.map(function(e){r.push(t+d+e)})}),r}).sort(function(e,t){return e.split("*").length-t.split("*").length})),f=S()(l,function(e){return t.values.hasOwnProperty(e)}),p={floorMin:t.floorMin||0,floorRuleValue:t.values[f]||t.default,matchingData:l[0],matchingRule:f};return p.matchingFloor=Math.max(p.floorMin,p.floorRuleValue),j.deepSetValue(t,"matchingInputs.".concat(c),k({},p)),p}function w(e,t){var o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=j.deepAccess(Object(O.a)(),"bidderSettings.".concat(e,".bidCpmAdjustment"))||j.deepAccess(Object(O.a)(),"bidderSettings.standard.bidCpmAdjustment");return r?parseFloat(r(t,k(k({},o),{},{cpm:t}))):parseFloat(t)}function P(e,t){var o=Math.pow(10,10);return e*o/(t*o)*(e*o)/o}var I={banner:function(e){return j.deepAccess(e,"mediaTypes.banner.sizes")||[]},video:function(e){return j.deepAccess(e,"mediaTypes.video.playerSize")||[]},native:function(e){return j.deepAccess(e,"mediaTypes.native.image.sizes")?[j.deepAccess(e,"mediaTypes.native.image.sizes")]:[]}};function M(){var e,t,o,r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{currency:"USD",mediaType:"*",size:"*"},n=this,a=R[n.auctionId];if(!a||a.skipped)return{};e=n,t=r,o=Object.keys(e.mediaTypes||{}),"*"===t.mediaType&&1===o.length&&(t.mediaType=o[0]),"*"===t.size&&-1!==o.indexOf(t.mediaType)&&I[t.mediaType]&&1===I[t.mediaType](e).length&&(t.size=I[t.mediaType](e)[0]),r=t;var i,c,s,u=E(a.data,k({},n),{mediaType:r.mediaType,size:r.size}),d=r.currency||a.data.currency;if(u.matchingFloor&&d!==a.data.currency)try{u.matchingFloor=Object(O.a)().convertCurrency(u.matchingFloor,a.data.currency,d)}catch(e){j.logWarn("".concat(T,": Unable to get currency conversion for getFloor for bidder ").concat(n.bidder,". You must have currency module enabled with defaultRates in your currency config")),d=a.data.currency}return a.enforcement.bidAdjustment&&u.matchingFloor&&(i=w(n.bidder,u.matchingFloor),u.matchingFloor=i?P(u.matchingFloor,i):u.matchingFloor),u.matchingFloor?{floor:(c=u.matchingFloor,s=4,Math.ceil((parseFloat(c)*Math.pow(10,s)).toFixed(1))/Math.pow(10,s)),currency:d}:{}}function B(e,t){var o,r,n,a,i,c=j.deepClone(e);return c.schema.delimiter=e.schema.delimiter||"|",c.values=(r=t,n=(o=c).schema.fields,a=o.schema.delimiter,i=r&&-1===n.indexOf("adUnitCode")&&n.unshift("adUnitCode"),Object.keys(o.values).reduce(function(e,t){return e[(i?"".concat(r).concat(a).concat(t):t).toLowerCase()]=o.values[t],e},{})),c.currency=c.currency||"USD",c}function V(e){return e.reduce(function(e,t){var o;return H(t.floors)&&(e.values?(o=B(t.floors,t.code).values,C(e.values,o)):(e=B(t.floors,t.code)).location="adUnit"),e},{})}function x(e,t,o){e.forEach(function(e){e.bids.forEach(function(e){t.skipped?delete e.getFloor:e.getFloor=M,e.auctionId=o,e.floorData={skipped:t.skipped,skipRate:t.skipRate,floorMin:t.floorMin,modelVersion:j.deepAccess(t,"data.modelVersion"),modelWeight:j.deepAccess(t,"data.modelWeight"),modelTimestamp:j.deepAccess(t,"data.modelTimestamp"),location:j.deepAccess(t,"data.location","noData"),floorProvider:t.floorProvider,fetchStatus:v.fetchStatus}})})}function q(e,t){for(var o=Math.floor(Math.random()*t+1),r=0;r<e.length;r++)if((o-=e[r].modelWeight)<=0)return e[r]}function z(e,t){var o,r,n,a=j.deepClone(v);2===j.deepAccess(a,"data.floorsSchemaVersion")&&(r=(o=a.data).modelGroups,n=f(o,["modelGroups"]),a.data=C(n,q(r,n.modelWeightSum)));var i,c,s=0===Object.keys(j.deepAccess(a,"data.values")||{}).length;return a.data=s?V(e):B(a.data),0===Object.keys(j.deepAccess(a,"data.values")||{}).length?a.skipped=!0:(i=j.getParameterByName("pbjs_skipRate")||a.skipRate,c=100*Math.random()<parseFloat(i),a.skipped=c),a.hasOwnProperty("floorMin")&&(a.data.floorMin=a.floorMin),x(e,a,t),a}function W(t){t.hasExited||(D=D.filter(function(e){return e.timer!==t.timer}),t.reqBidsConfigObj.auctionId=t.reqBidsConfigObj.auctionId||j.generateUUID(),R[t.reqBidsConfigObj.auctionId]=z(t.reqBidsConfigObj.adUnits||Object(O.a)().adUnits,t.reqBidsConfigObj.auctionId),t.nextFn.apply(t.context,[t.reqBidsConfigObj]),t.hasExited=!0)}function G(i,c,s){return"object"===l(i.values)&&(i.values=Object.keys(i.values).reduce(function(e,t){var o,r,n,a;return o=t,r=i.values[t],n=c,a=s,"string"==typeof o&&o.split(a).length===n&&"number"==typeof r&&(e[t]=i.values[t]),e},{}),0<Object.keys(i.values).length)}function N(e){return!!function(e){if(Array.isArray(e)&&0<e.length&&e.every(function(e){return-1!==g.indexOf(e)}))return 1;j.logError("".concat(T,": Fields recieved do not match allowed fields"))}(j.deepAccess(e,"schema.fields"))&&G(e,e.schema.fields.length,e.schema.delimiter||"|")}var _={1:N,2:function(t){return!(!Array.isArray(t.modelGroups)||0===t.modelGroups.length)&&(t.modelWeightSum=0,t.modelGroups.every(function(e){return!("number"!=typeof e.modelWeight||!N(e))&&(t.modelWeightSum+=e.modelWeight,!0)}))}};function H(e){return"object"===l(e)&&(e.floorsSchemaVersion=e.floorsSchemaVersion||1,"function"!=typeof _[e.floorsSchemaVersion]?(j.logError("".concat(T,": Unknown floorsSchemaVersion: "),e.floorsSchemaVersion),!1):_[e.floorsSchemaVersion](e))}function J(e,t){if(e&&"object"===l(e)&&H(e))return j.logInfo("".concat(T,": A ").concat(t," set the auction floor data set to "),e),k(k({},e),{},{location:t});j.logError("".concat(T,": The floors data did not contain correct values"),e)}function L(e,t){var o={reqBidsConfigObj:t,context:this,nextFn:e,haveExited:!1,timer:null};0<v.auctionDelay&&y?(o.timer=setTimeout(function(){j.logWarn("".concat(T,": Fetch attempt did not return in time for auction")),v.fetchStatus="timeout",W(o)},v.auctionDelay),D.push(o)):W(o)}function Y(){D.forEach(function(e){clearTimeout(e.timer),W(e)}),D=[]}function K(t){var o;y=!1,v.fetchStatus="success";try{o=JSON.parse(t)}catch(e){o=t}var e=J(o,"fetch");e&&(v.data=e,v.skipRate=j.isNumber(e.skipRate)?e.skipRate:v.skipRate,v.floorProvider=e.floorProvider||v.floorProvider),Y()}function Q(e){y=!1,v.fetchStatus="error",j.logError("".concat(T,": Fetch errored with: "),e),Y()}function X(e){e.url&&!y?"GET"!==(e.method||"GET")?j.logError("".concat(T,": 'GET' is the only request method supported at this time!")):(h(e.url,{success:K,error:Q},null,{method:"GET"}),y=!0):y&&j.logWarn("".concat(T,": A fetch is already occuring. Skipping."))}function Z(t){(v=j.pick(t,["floorMin","enabled",function(e){return!1!==e},"auctionDelay",function(e){return e||0},"floorProvider",function(e){return j.deepAccess(t,"data.floorProvider",e)},"endpoint",function(e){return e||{}},"skipRate",function(){return isNaN(j.deepAccess(t,"data.skipRate"))?t.skipRate||0:t.data.skipRate},"enforcement",function(e){return j.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"===l(e)&&0<Object.keys(e).length?(t=e,void Object.keys(t).forEach(function(e){-1===g.indexOf(e)&&"function"==typeof t[e]&&(g.push(e),U[e]=t[e])})):void 0;var t},"data",function(e){return e&&J(e,"setConfig")||v.data}])).enabled?(X(v.endpoint),b||(i.a.on(F.a.EVENTS.AUCTION_END,function(e){setTimeout(function(){return delete R[e.auctionId]},3e3)}),Object(O.a)().requestBids.before(L,50),Object(s.a)("addBidResponse").before($,j.debugTurnedOn()?4:50),b=!0)):(j.logInfo("".concat(T,": Turning off module")),v={},R={},Object(s.a)("addBidResponse").getHooks({hook:$}).remove(),Object(O.a)().requestBids.getHooks({hook:L}).remove(),b=!1)}function $(t,o,r){var e=R[this.bidderRequest.auctionId],n=S()(this.bidderRequest.bids,function(e){return e.bidId&&e.bidId===r.requestId});if(!e||!r||e.skipped||!n)return t.call(this,o,r);var a,i=E(e.data,k({},n),k(k({},r),{},{size:[r.width,r.height]}));if(!i.matchingFloor)return j.logWarn("".concat(T,": unable to determine a matching price floor for bidResponse"),r),t.call(this,o,r);var c,s,u,d,l,f,p,m,h,g,y=e.data.currency.toUpperCase(),b=r.currency||"USD";if(y===b.toUpperCase())a=r.cpm;else if(r.originalCurrency&&y===r.originalCurrency.toUpperCase())a=r.originalCpm;else try{a=Object(O.a)().convertCurrency(r.cpm,b.toUpperCase(),y)}catch(e){return j.logError("".concat(T,": Unable do get currency conversion for bidResponse to Floor Currency. Do you have Currency module enabled? ").concat(r)),t.call(this,o,r)}if(a=w(r.bidderCode,a,r),c=e,s=i,d=a,(u=r).floorData={floorValue:s.matchingFloor,floorRule:s.matchingRule,floorRuleValue:s.floorRuleValue,floorCurrency:c.data.currency,cpmAfterAdjustments:d,enforcements:k({},c.enforcement),matchedFields:{}},c.data.schema.fields.forEach(function(e,t){var o=s.matchingData.split(c.data.schema.delimiter)[t];u.floorData.matchedFields[e]=o}),l=e,f=i,p=r,m=!1!==j.deepAccess(l,"enforcement.enforceJS"),h=!0===j.deepAccess(l,"enforcement.floorDeals")||!p.dealId,g=p.floorData.cpmAfterAdjustments<f.matchingFloor,m&&g&&h){var v=Object(A.a)(F.a.STATUS.NO_BID,n);return C(v,j.pick(r,["floorData","width","height","mediaType","currency","originalCpm","originalCurrency","getCpmInNewCurrency"])),v.status=F.a.BID_STATUS.BID_REJECTED,v.cpm=0,j.logWarn("".concat(T,": ").concat(v.bidderCode,"'s Bid Response for ").concat(o," was rejected due to floor not met"),r),t.call(this,o,v)}return t.call(this,o,r)}r.b.getConfig("floors",function(e){return Z(e.floors)})}},[736]); pbjsChunk([171],{752:function(e,r,a){e.exports=a(753)},753:function(e,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),a.d(r,"spec",function(){return h});var w=a(0),t=a(1),O=a(2),T=a(3),i=a(12);function S(){return(S=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var t in a)Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t])}return e}).apply(this,arguments)}function n(r,e){var a,t=Object.keys(r);return Object.getOwnPropertySymbols&&(a=Object.getOwnPropertySymbols(r),e&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})),t.push.apply(t,a)),t}function y(i){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?n(Object(s),!0).forEach(function(e){var r,a,t;r=i,t=s[a=e],a in r?Object.defineProperty(r,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[a]=t}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(s)):n(Object(s)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(s,e))})}return i}function D(e){return(D="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})(e)}var o="pubmatic",P="PubMatic: ",R="USD",Y=void 0,s="https://pubmatic.bbvms.com/r/".concat("$RENDERER",".js"),x={kadpageurl:"",gender:"",yob:"",lat:"",lon:"",wiid:"",profId:"",verId:""},d={NUMBER:"number",STRING:"string",BOOLEAN:"boolean",ARRAY:"array",OBJECT:"object"},p={mimes:d.ARRAY,minduration:d.NUMBER,maxduration:d.NUMBER,startdelay:d.NUMBER,playbackmethod:d.ARRAY,api:d.ARRAY,protocols:d.ARRAY,w:d.NUMBER,h:d.NUMBER,battr:d.ARRAY,linearity:d.NUMBER,placement:d.NUMBER,minbitrate:d.NUMBER,maxbitrate:d.NUMBER,skip:d.NUMBER},E={TITLE:{ID:1,KEY:"title",TYPE:0},IMAGE:{ID:2,KEY:"image",TYPE:0},ICON:{ID:3,KEY:"icon",TYPE:0},SPONSOREDBY:{ID:4,KEY:"sponsoredBy",TYPE:1},BODY:{ID:5,KEY:"body",TYPE:2},CLICKURL:{ID:6,KEY:"clickUrl",TYPE:0},VIDEO:{ID:7,KEY:"video",TYPE:0},EXT:{ID:8,KEY:"ext",TYPE:0},DATA:{ID:9,KEY:"data",TYPE:0},LOGO:{ID:10,KEY:"logo",TYPE:0},SPONSORED:{ID:11,KEY:"sponsored",TYPE:1},DESC:{ID:12,KEY:"data",TYPE:2},RATING:{ID:13,KEY:"rating",TYPE:3},LIKES:{ID:14,KEY:"likes",TYPE:4},DOWNLOADS:{ID:15,KEY:"downloads",TYPE:5},PRICE:{ID:16,KEY:"price",TYPE:6},SALEPRICE:{ID:17,KEY:"saleprice",TYPE:7},PHONE:{ID:18,KEY:"phone",TYPE:8},ADDRESS:{ID:19,KEY:"address",TYPE:9},DESC2:{ID:20,KEY:"desc2",TYPE:10},DISPLAYURL:{ID:21,KEY:"displayurl",TYPE:11},CTA:{ID:22,KEY:"cta",TYPE:12}},v={ICON:1,LOGO:2,IMAGE:3},I=[{id:E.SPONSOREDBY.ID,required:!0,data:{type:1}},{id:E.TITLE.ID,required:!0},{id:E.IMAGE.ID,required:!0}],c={1:"PMP",5:"PREF",6:"PMPG"},A={EID:1,SEGMENT:2},l={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 a,t=l.getRendererId("pubmatic",e.rendererCode),i=document.getElementById(e.adUnitCode),s=0;s<window.bluebillywig.renderers.length;s++)if(window.bluebillywig.renderers[s]._id===t){a=window.bluebillywig.renderers[s];break}a?a.bootstrap(r,i):w.logWarn("".concat(P,": Couldn't find a renderer with ").concat(t))}else w.logWarn("".concat(P,": No vastXml or vastUrl on bid, bailing..."))},newRenderer:function(e,r){var a=s.replace("$RENDERER",e),t=i.a.install({url:a,loaded:!1,adUnitCode:r});try{t.setRender(l.outstreamRender)}catch(e){w.logWarn("".concat(P,": Error tying to setRender on renderer"),e)}return t},outstreamRender:function(e){e.renderer.push(function(){l.bootstrapPlayer(e)})},getRendererId:function(e,r){return"".concat(e,"-").concat(r)}},u=[O.b,O.d,O.c],N=0,C=!1,m={},k={};function U(e,r){if(!w.isStr(r))return r&&w.logWarn(P+"Ignoring param key: "+e+", expects string-value, found "+D(r)),Y;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)||Y;case"yob":return parseInt(r)||Y;default:return r}}function z(e){var r;e.params.adUnit="",e.params.adUnitIndex="0",e.params.width=0,e.params.height=0,e.params.adSlot=(r=e.params.adSlot,w.isStr(r)?r.replace(/^\s+/g,"").replace(/\s+$/g,""):(r&&w.logWarn(o+": adSlot must be a string. Ignoring adSlot"),""));var a=(t=e.params.adSlot).split(":"),t=a[0];if(2==a.length&&(e.params.adUnitIndex=a[1]),a=t.split("@"),e.params.adUnit=a[0],1<a.length){if(2!=(a=a[1].split("x")).length)return void w.logWarn(P+"AdSlot Error: adSlot not in required format");e.params.width=parseInt(a[0],10),e.params.height=parseInt(a[1],10)}else if(e.hasOwnProperty("mediaTypes")&&e.mediaTypes.hasOwnProperty(O.b)&&e.mediaTypes.banner.hasOwnProperty("sizes")){for(var i=0,s=[];i<e.mediaTypes.banner.sizes.length;i++)2===e.mediaTypes.banner.sizes[i].length&&s.push(e.mediaTypes.banner.sizes[i]);e.mediaTypes.banner.sizes=s,1<=e.mediaTypes.banner.sizes.length&&(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 K(e){var r,a=w.mergeDeep(w.deepAccess(e.mediaTypes,"video"),e.params.video);if(a!==Y){for(var t in r={},p)a.hasOwnProperty(t)&&(r[t]=function(e,r,a){var t,i="Ignoring param key: "+e+", expects "+a+", found "+D(r);switch(a){case d.BOOLEAN:t=w.isBoolean;break;case d.NUMBER:t=w.isNumber;break;case d.STRING:t=w.isStr;break;case d.ARRAY:t=w.isArray}return t(r)?r:(w.logWarn(P+i),Y)}(t,a[t],p[t]));w.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)):w.isNumber(e.mediaTypes.video.playerSize[0])&&(r.w=parseInt(e.mediaTypes.video.playerSize[0],10),r.h=parseInt(e.mediaTypes.video.playerSize[1],10))}else r=Y,w.logWarn(P+"Error: Video config params missing for adunit: "+e.params.adUnit+" with mediaType set as video. Ignoring video impression in the adunit.");return r}function L(e){var r,a,t,i,s,n,o,d,p,c,l,u,m={},g={},h=e.hasOwnProperty("sizes")?e.sizes:[],b="",f=[],m={id:e.bidId,tagid:e.params.adUnit||void 0,bidfloor:U("kadfloor",e.params.kadfloor),secure:1,ext:{pmZoneId:U("pmzoneid",e.params.pmzoneid)},bidfloorcur:e.params.currency?U("currency",e.params.currency):R};if(t=m,(i=e).params.deals&&(w.isArray(i.params.deals)?i.params.deals.forEach(function(e){w.isStr(e)&&3<e.length?(t.pmp||(t.pmp={private_auction:0,deals:[]}),t.pmp.deals.push({id:e})):w.logWarn(P+"Error: deal-id present in array bid.params.deals should be a strings with more than 3 charaters length, deal-id ignored: "+e)}):w.logWarn(P+"Error: bid.params.deals should be an array of strings.")),s=m,p="",(n=e).params.dctr&&(p=n.params.dctr,w.isStr(p)&&0<p.length?(d=p.split("|"),p="",d.forEach(function(e){p+=0<e.length?e.trim()+"|":""}),o=p.length,"|"===p.substring(o,o-1)&&(p=p.substring(0,o-1)),s.ext.key_val=p.trim()):w.logWarn(P+"Ignoring param : dctr with value : "+p+", expects string-value, found empty or non-string value")),e.hasOwnProperty("mediaTypes"))for(b in e.mediaTypes)switch(b){case O.b:(r=function(e){var r,a=e.mediaTypes.banner.sizes,t=[];if(a!==Y&&w.isArray(a)){if(r={},e.params.width||e.params.height)r.w=e.params.width,r.h=e.params.height;else{if(0===a.length)return r=Y,w.logWarn(P+"Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),r;r.w=parseInt(a[0][0],10),r.h=parseInt(a[0][1],10),a=a.splice(1,a.length-1)}0<a.length&&(t=[],a.forEach(function(e){1<e.length&&t.push({w:e[0],h:e[1]})}),0<t.length&&(r.format=t)),r.pos=0,r.topframe=w.inIframe()?0:1}else w.logWarn(P+"Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),r=Y;return r}(e))!==Y&&(m.banner=r);break;case O.c:g.request=JSON.stringify(function(e){var r,a,t,i={assets:[]};for(var s in e){if(e.hasOwnProperty(s)){var n={};if(!(i.assets&&0<i.assets.length&&i.assets.hasOwnProperty(s)))switch(s){case E.TITLE.KEY:e[s].len||e[s].length?n={id:E.TITLE.ID,required:e[s].required?1:0,title:{len:e[s].len||e[s].length,ext:e[s].ext}}:w.logWarn(P+"Error: Title Length is required for native ad: "+JSON.stringify(e));break;case E.IMAGE.KEY:e[s].sizes&&0<e[s].sizes.length?n={id:E.IMAGE.ID,required:e[s].required?1:0,img:{type:v.IMAGE,w:e[s].w||e[s].width||(e[s].sizes?e[s].sizes[0]:Y),h:e[s].h||e[s].height||(e[s].sizes?e[s].sizes[1]:Y),wmin:e[s].wmin||e[s].minimumWidth||(e[s].minsizes?e[s].minsizes[0]:Y),hmin:e[s].hmin||e[s].minimumHeight||(e[s].minsizes?e[s].minsizes[1]:Y),mimes:e[s].mimes,ext:e[s].ext}}:w.logWarn(P+"Error: Image sizes is required for native ad: "+JSON.stringify(e));break;case E.ICON.KEY:e[s].sizes&&0<e[s].sizes.length?n={id:E.ICON.ID,required:e[s].required?1:0,img:{type:v.ICON,w:e[s].w||e[s].width||(e[s].sizes?e[s].sizes[0]:Y),h:e[s].h||e[s].height||(e[s].sizes?e[s].sizes[1]:Y)}}:w.logWarn(P+"Error: Icon sizes is required for native ad: "+JSON.stringify(e));break;case E.VIDEO.KEY:n={id:E.VIDEO.ID,required:e[s].required?1:0,video:{minduration:e[s].minduration,maxduration:e[s].maxduration,protocols:e[s].protocols,mimes:e[s].mimes,ext:e[s].ext}};break;case E.EXT.KEY:n={id:E.EXT.ID,required:e[s].required?1:0};break;case E.LOGO.KEY:n={id:E.LOGO.ID,required:e[s].required?1:0,img:{type:v.LOGO,w:e[s].w||e[s].width||(e[s].sizes?e[s].sizes[0]:Y),h:e[s].h||e[s].height||(e[s].sizes?e[s].sizes[1]:Y)}};break;case E.SPONSOREDBY.KEY:case E.BODY.KEY:case E.RATING.KEY:case E.LIKES.KEY:case E.DOWNLOADS.KEY:case E.PRICE.KEY:case E.SALEPRICE.KEY:case E.PHONE.KEY:case E.ADDRESS.KEY:case E.DESC2.KEY:case E.DISPLAYURL.KEY:case E.CTA.KEY:r=k[s],a=e,t=void 0,t=r.KEY,n={id:r.ID,required:a[t].required?1:0,data:{type:r.TYPE,len:a[t].len,ext:a[t].ext}}}}n&&n.id&&(i.assets[i.assets.length]=n)}var o=I.length,d=0;return I.forEach(function(e){for(var r=i.assets.length,a=0;a<r;a++)if(e.id==i.assets[a].id){d++;break}}),C=o!=d,i}(e.nativeParams)),C?w.logWarn(P+"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."):m.native=g;break;case O.d:(a=K(e))!==Y&&(m.video=a)}else r={pos:0,w:e.params.width,h:e.params.height,topframe:w.inIframe()?0:1},w.isArray(h)&&1<h.length&&((h=h.splice(1,h.length-1)).forEach(function(e){f.push({w:e[0],h:e[1]})}),r.format=f),m.banner=r;return c=m,l=e,u=y({},w.deepAccess(l,"ortb2Imp.ext.data")),Object.keys(u).forEach(function(e){"pbadslot"===e?"string"==typeof u[e]&&u[e]&&w.deepSetValue(c,"ext.data.pbadslot",u[e]):"adserver"===e?["name","adslot"].forEach(function(e){var r=w.deepAccess(u,"adserver.".concat(e));"string"==typeof r&&r&&(w.deepSetValue(c,"ext.data.adserver.".concat(e.toLowerCase()),r),"adslot"===e&&w.deepSetValue(c,"ext.dfp_ad_unit_code",r))}):w.deepSetValue(c,"ext.data.".concat(e),u[e])}),function(t,i){var s=-1;"function"!=typeof i.getFloor||T.b.getConfig("pubmatic.disableFloors")||[O.b,O.d,O.c].forEach(function(e){var r,a;t.hasOwnProperty(e)&&("object"!==D(r=i.getFloor({currency:t.bidfloorcur,mediaType:e,size:"*"}))||r.currency!==t.bidfloorcur||isNaN(parseInt(r.floor))||(a=parseFloat(r.floor),s=-1==s?a:Math.min(a,s)))});t.bidfloor&&(s=Math.max(s,t.bidfloor));t.bidfloor=!isNaN(s)&&0<s?s:Y}(m,e),m.hasOwnProperty(O.b)||m.hasOwnProperty(O.c)||m.hasOwnProperty(O.d)?m:Y}function q(e,r){var a=null,t=w.deepAccess(e,"0.userId.flocId");if(t&&t.id)switch(r){case A.SEGMENT:a={id:"FLOC",name:"FLOC",ext:{ver:t.version},segment:[{id:t.id,name:"chrome.com",value:t.id.toString()}]};break;case A.EID:default:a={source:"chrome.com",uids:[{atype:1,id:t.id,ext:{ver:t.version}}]}}return a}function g(e){return!0===w.isArray(e)&&0<e.length}w._each(E,function(e){m[e.ID]=e.KEY}),w._each(E,function(e){k[e.KEY]=e});var h={code:o,gvlid:76,supportedMediaTypes:[O.b,O.d,O.c],isBidRequestValid:function(e){if(e&&e.params){if(!w.isStr(e.params.publisherId))return w.logWarn(P+"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(O.d)){var r=w.deepAccess(e.mediaTypes,"video.mimes"),a=w.deepAccess(e,"params.video.mimes");if(!1===g(r)&&!1===g(a))return w.logWarn(P+"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[O.d].hasOwnProperty("context"))return w.logError("".concat(P,": no context specified in bid. Rejecting bid: "),e),!1;if("outstream"===e.mediaTypes[O.d].context&&!w.isStr(e.params.outstreamAU)&&!e.hasOwnProperty("renderer")&&!e.mediaTypes[O.d].hasOwnProperty("renderer"))return w.logError("".concat(P,': 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 a;r&&r.refererInfo&&(a=r.refererInfo);var t,i,s,n,o,d,p,c,l,u,m,g,h,b={pageURL:(t=a)&&t.referer?t.referer:window.location.href,refURL:window.document.referrer},f=(i=b,{id:""+(new Date).getTime(),at:1,cur:[R],imp:[],site:{page:i.pageURL,ref:i.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:{}}),y="",E=[],v=[];if(e.forEach(function(e){var r;(s=w.deepClone(e)).params.adSlot=s.params.adSlot||"",z(s),s.params.hasOwnProperty("video")||s.hasOwnProperty("mediaTypes")&&s.mediaTypes.hasOwnProperty(O.c)||0!==s.params.width||0!==s.params.height?(b.pubId=b.pubId||s.params.publisherId,(b=function(e,r){var a,t,i;for(a in r.kadpageurl||(r.kadpageurl=r.pageURL),x)x.hasOwnProperty(a)&&(t=e[a])&&("object"===D(i=x[a])&&(t=i.f(t,r)),w.isStr(t)?r[a]=t:w.logWarn(P+"Ignoring param : "+a+" with value : "+x[a]+", expects string-value, found "+D(t)));return r}(s.params,b)).transactionId=s.transactionId,""===y?y=s.params.currency||Y:s.params.hasOwnProperty("currency")&&y!==s.params.currency&&w.logWarn(P+"Currency specifier ignored. Only one currency permitted."),s.params.currency=y,s.params.hasOwnProperty("dctr")&&w.isStr(s.params.dctr)&&E.push(s.params.dctr),s.params.hasOwnProperty("bcat")&&w.isArray(s.params.bcat)&&(v=v.concat(s.params.bcat)),(r=L(s))&&f.imp.push(r)):w.logWarn(P+"Skipping the non-standard adslot: ",s.params.adSlot,JSON.stringify(s))}),0!=f.imp.length){f.site.publisher.id=b.pubId.trim(),N=b.pubId.trim(),f.ext.wrapper={},f.ext.wrapper.profile=parseInt(b.profId)||Y,f.ext.wrapper.version=parseInt(b.verId)||Y,f.ext.wrapper.wiid=b.wiid||r.auctionId,f.ext.wrapper.wv="prebid_prebid_4.43.4",f.ext.wrapper.transactionId=b.transactionId,f.ext.wrapper.wp="pbjs",f.user.gender=b.gender?b.gender.trim():Y,f.user.geo={},f.user.geo.lat=U("lat",b.lat),f.user.geo.lon=U("lon",b.lon),f.user.yob=U("yob",b.yob),f.device.geo=f.user.geo,f.site.page=b.kadpageurl.trim()||f.site.page.trim(),f.site.domain=(n=f.site.page,(o=document.createElement("a")).href=n,o.hostname),"object"===D(T.b.getConfig("content"))&&(f.site.content=T.b.getConfig("content")),"object"===D(T.b.getConfig("device"))&&(f.device=S(f.device,T.b.getConfig("device"))),w.deepSetValue(f,"source.tid",b.transactionId),-1!==window.location.href.indexOf("pubmaticTest=true")&&(f.test=1),e[0].schain&&w.deepSetValue(f,"source.ext.schain",e[0].schain),r&&r.gdprConsent&&(w.deepSetValue(f,"user.ext.consent",r.gdprConsent.consentString),w.deepSetValue(f,"regs.ext.gdpr",r.gdprConsent.gdprApplies?1:0)),r&&r.uspConsent&&w.deepSetValue(f,"regs.ext.us_privacy",r.uspConsent),!0===T.b.getConfig("coppa")&&w.deepSetValue(f,"regs.coppa",1),d=f,p=e,c=w.deepAccess(p,"0.userIdAsEids"),(l=q(p,A.EID))&&(c=c||[]).push(l),w.isArray(c)&&0<c.length&&w.deepSetValue(d,"user.eids",c),u=f,0<(m=(m=v).filter(function(e){return"string"==typeof e||(w.logWarn(P+"bcat: Each category should be a string, ignoring category: "+e),!1)}).map(function(e){return e.trim()}).filter(function(e,r,a){return 3<e.length?a.indexOf(e)===r:void w.logWarn(P+"bcat: Each category should have a value of a length of more than 3 characters, ignoring category: "+e)})).length&&(w.logWarn(P+"bcat: Selected: ",m),u.bcat=m),g=f,(h=q(e,A.SEGMENT))&&(g.user||(g.user={}),g.user.data||(g.user.data=[]),g.user.data.push(h));var I=T.b.getConfig("ortb2")||{};return I.site&&w.mergeDeep(f,{site:I.site}),I.user&&w.mergeDeep(f,{user:I.user}),"object"===D(T.b.getConfig("app"))&&(f.app=T.b.getConfig("app"),f.app.publisher=f.site.publisher,f.app.ext=f.site.ext||Y,"object"!==D(f.app.content)&&(f.app.content=f.site.content||Y),delete f.site),{method:"POST",url:"https://hbopenbid.pubmatic.com/translator?source=prebid-client",data:JSON.stringify(f),bidderRequest:r}}},interpretResponse:function(e,t){var i=[],s=R,n=JSON.parse(t.data),o=n.site&&n.site.ref?n.site.ref:"";try{e.body&&e.body.seatbid&&w.isArray(e.body.seatbid)&&(s=e.body.cur||s,e.body.seatbid.forEach(function(e){e.bid&&w.isArray(e.bid)&&e.bid.forEach(function(r){var a={requestId:r.impid,cpm:(parseFloat(r.price)||0).toFixed(2),width:r.w,height:r.h,creativeId:r.crid||r.id,dealId:r.dealid,currency:s,netRevenue:!0,ttl:300,referrer:o,ad:r.adm,pm_seat:e.seat||null,pm_dspid:r.ext&&r.ext.dspid?r.ext.dspid:null,partnerImpId:r.id||""};n.imp&&0<n.imp.length&&n.imp.forEach(function(e){if(r.impid===e.id)switch(!function(e,r){if(e.ext&&null!=e.ext.BidType)r.mediaType=u[e.ext.BidType];else{w.logInfo(P+"bid.ext.BidType does not exist, checking alternatively for mediaType");var a,t=e.adm,i=new RegExp(/VAST\s+version/);if(0<=t.indexOf('span class="PubAPIAd"'))r.mediaType=O.b;else if(i.test(t))r.mediaType=O.d;else try{(a=JSON.parse(t.replace(/\\/g,"")))&&a.native&&(r.mediaType=O.c)}catch(e){w.logWarn(P+"Error: Cannot parse native reponse for ad response: "+t)}}}(r,a),a.mediaType){case O.b:break;case O.d:a.width=r.hasOwnProperty("w")?r.w:e.video.w,a.height=r.hasOwnProperty("h")?r.h:e.video.h,a.vastXml=r.adm,function(e,r){var a,t,i;if(r.bidderRequest&&r.bidderRequest.bids){for(var s=0;s<r.bidderRequest.bids.length;s++)r.bidderRequest.bids[s].bidId===e.requestId&&(a=r.bidderRequest.bids[s].params,t=r.bidderRequest.bids[s].mediaTypes[O.d].context,i=r.bidderRequest.bids[s].adUnitCode);t&&"outstream"===t&&a&&a.outstreamAU&&i&&(e.rendererCode=a.outstreamAU,e.renderer=l.newRenderer(e.rendererCode,i))}}(a,t);break;case O.c:!function(e,r){if(r.native={},e.hasOwnProperty("adm")){var a="";try{a=JSON.parse(e.adm.replace(/\\/g,""))}catch(e){return w.logWarn(P+"Error: Cannot parse native reponse for ad response: "+r.adm)}if(a&&a.native&&a.native.assets&&0<a.native.assets.length){r.mediaType=O.c;for(var t=0,i=a.native.assets.length;t<i;t++)switch(a.native.assets[t].id){case E.TITLE.ID:r.native.title=a.native.assets[t].title&&a.native.assets[t].title.text;break;case E.IMAGE.ID:r.native.image={url:a.native.assets[t].img&&a.native.assets[t].img.url,height:a.native.assets[t].img&&a.native.assets[t].img.h,width:a.native.assets[t].img&&a.native.assets[t].img.w};break;case E.ICON.ID:r.native.icon={url:a.native.assets[t].img&&a.native.assets[t].img.url,height:a.native.assets[t].img&&a.native.assets[t].img.h,width:a.native.assets[t].img&&a.native.assets[t].img.w};break;case E.SPONSOREDBY.ID:case E.BODY.ID:case E.LIKES.ID:case E.DOWNLOADS.ID:case E.PRICE:case E.SALEPRICE.ID:case E.PHONE.ID:case E.ADDRESS.ID:case E.DESC2.ID:case E.CTA.ID:case E.RATING.ID:case E.DISPLAYURL.ID:r.native[m[a.native.assets[t].id]]=a.native.assets[t].data&&a.native.assets[t].data.value}r.native.clickUrl=a.native.link&&a.native.link.url,r.native.clickTrackers=a.native.link&&a.native.link.clicktrackers||[],r.native.impressionTrackers=a.native.imptrackers||[],r.native.jstracker=a.native.jstracker||[],r.width||(r.width=0),r.height||(r.height=0)}}}(r,a)}}),r.ext&&r.ext.deal_channel&&(a.dealChannel=c[r.ext.deal_channel]||null),a.meta={},r.ext&&r.ext.dspid&&(a.meta.networkId=r.ext.dspid),r.ext&&r.ext.advid&&(a.meta.buyerId=r.ext.advid),r.adomain&&0<r.adomain.length&&(a.meta.advertiserDomains=r.adomain,a.meta.clickUrl=r.adomain[0]),e.ext&&e.ext.buyid&&(a.adserverTargeting={hb_buyid_pubmatic:e.ext.buyid}),i.push(a)})}))}catch(e){w.logError(e)}return i},getUserSyncs:function(e,r,a,t){var i=""+N;return a&&(i+="&gdpr="+(a.gdprApplies?1:0),i+="&gdpr_consent="+encodeURIComponent(a.consentString||"")),t&&(i+="&us_privacy="+encodeURIComponent(t)),!0===T.b.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){return w.convertTypes({publisherId:"string",adSlot:"string"},e)}};Object(t.registerBidder)(h)}},[752]); pbjsChunk([145],{824:function(e,r,t){e.exports=t(825)},825:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",function(){return A}),r.hasVideoMediaType=d,t.d(r,"resetRubiConf",function(){return w}),r.masSizeOrdering=k,r.determineRubiconVideoSizeId=R,r.getPriceGranularity=z,r.hasValidVideoParams=E,r.hasValidSupplyChainParams=T,r.encodeParam=U,r.resetUserSync=function(){P=!1};var l=t(0),n=t(1),u=t(3),m=t(2),i=t(10),p=t.n(i),a=t(12),f=t(16);function o(r,e){var t,n=Object.keys(r);return Object.getOwnPropertySymbols&&(t=Object.getOwnPropertySymbols(r),e&&(t=t.filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})),n.push.apply(n,t)),n}function g(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?o(Object(t),!0).forEach(function(e){y(r,e,t[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))})}return r}function b(){return(b=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function v(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var t=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(t.push(a.value),!r||t.length!==r);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return t}(e,r)||function(e,r){if(!e)return;if("string"==typeof e)return s(e,r);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 s(e,r)}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function y(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function x(e){return(x="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})(e)}var h={};u.b.getConfig("rubicon",function(e){l.mergeDeep(h,e.rubicon)});var _={1:"468x60",2:"728x90",5:"120x90",7:"125x125",8:"120x600",9:"160x600",10:"300x600",13:"200x200",14:"250x250",15:"300x250",16:"336x280",17:"240x400",19:"300x100",31:"980x120",32:"250x360",33:"180x500",35:"980x150",37:"468x400",38:"930x180",39:"750x100",40:"750x200",41:"750x300",42:"2x4",43:"320x50",44:"300x50",48:"300x300",53:"1024x768",54:"300x1050",55:"970x90",57:"970x250",58:"1000x90",59:"320x80",60:"320x150",61:"1000x1000",64:"580x500",65:"640x480",66:"930x600",67:"320x480",68:"1800x1000",72:"320x320",73:"320x160",78:"980x240",79:"980x300",80:"980x400",83:"480x300",85:"300x120",90:"548x150",94:"970x310",95:"970x100",96:"970x210",101:"480x320",102:"768x1024",103:"480x280",105:"250x800",108:"320x240",113:"1000x300",117:"320x100",125:"800x250",126:"200x600",144:"980x600",145:"980x150",152:"1000x250",156:"640x320",159:"320x250",179:"250x600",195:"600x300",198:"640x360",199:"640x200",213:"1030x590",214:"980x360",221:"1x1",229:"320x180",230:"2000x1400",232:"580x400",234:"6x6",251:"2x2",256:"480x820",257:"400x600",258:"500x200",259:"998x200",264:"970x1000",265:"1920x1080",274:"1800x200",278:"320x500",282:"320x400",288:"640x380",548:"500x1000",550:"980x480",552:"300x200",558:"640x640"};l._each(_,function(e,r){return _[e]=r});var A={code:"rubicon",gvlid:52,supportedMediaTypes:[m.b,m.d],isBidRequestValid:function(e){if("object"!==x(e.params))return!1;for(var r=0,t=["accountId","siteId","zoneId"];r<t.length;r++)if(e.params[t[r]]=parseInt(e.params[t[r]]),isNaN(e.params[t[r]]))return l.logError("Rubicon: wrong format of accountId or siteId or zoneId."),!1;var n=O(e,!0);return!!n&&("video"!==n||E(e))},buildRequests:function(e,d){var i,r=e.filter(function(e){return"video"===O(e)}).map(function(e){e.startTime=(new Date).getTime();var r={id:e.transactionId,test:u.b.getConfig("debug")?1:0,cur:["USD"],source:{tid:e.transactionId},tmax:d.timeout,imp:[{exp:u.b.getConfig("s2sConfig.defaultTtl"),id:e.adUnitCode,secure:1,ext:y({},e.bidder,e.params),video:l.deepAccess(e,"mediaTypes.video")||{}}],ext:{prebid:{channel:{name:"pbjs",version:pbjs.version},cache:{vastxml:{returnCreative:!0===h.returnVast}},targeting:{includewinners:!0,includebidderkeys:!1,pricegranularity:z(u.b)},bidders:{rubicon:{integration:h.int_type||"pbjs"}}}}};"rubicon"!==e.bidder&&(r.ext.prebid.aliases=y({},e.bidder,"rubicon"));var t,n,i,o=Object(f.a)().installedModules;if(!o||o.length&&-1===o.indexOf("rubiconAnalyticsAdapter")||l.deepSetValue(r,"ext.prebid.analytics",{rubicon:{"client-analytics":!0}}),"function"!=typeof e.getFloor||h.disableFloors)t=parseFloat(l.deepAccess(e,"params.floor"));else{try{n=e.getFloor({currency:"USD",mediaType:"video",size:C(e,"video")})}catch(e){l.logError("Rubicon: getFloor threw an error: ",e)}t="object"!==x(n)||"USD"!==n.currency||isNaN(parseInt(n.floor))?void 0:parseFloat(n.floor)}isNaN(t)||(r.imp[0].bidfloor=t),r.imp[0].ext[e.bidder].video.size_id=R(e),function(r,t,e){if(!r)return;"object"===x(u.b.getConfig("app"))?r.app=u.b.getConfig("app"):r.site={page:j(t,e)};"object"===x(u.b.getConfig("device"))&&(r.device=u.b.getConfig("device"));t.params.video.language&&["site","device"].forEach(function(e){r[e]&&(r[e].content=b({language:t.params.video.language},r[e].content))})}(r,e,d),function(e,r){"object"===x(e.imp[0].video)&&void 0===e.imp[0].video.skip&&(e.imp[0].video.skip=r.params.video.skip);"object"===x(e.imp[0].video)&&void 0===e.imp[0].video.skipafter&&(e.imp[0].video.skipafter=r.params.video.skipdelay);"object"===x(e.imp[0].video)&&void 0===e.imp[0].video.pos&&("atf"===r.params.position?e.imp[0].video.pos=1:"btf"===r.params.position&&(e.imp[0].video.pos=3));var t=C(r,"video");e.imp[0].video.w=t[0],e.imp[0].video.h=t[1]}(r,e),d.gdprConsent&&("boolean"==typeof d.gdprConsent.gdprApplies&&(i=d.gdprConsent.gdprApplies?1:0),l.deepSetValue(r,"regs.ext.gdpr",i),l.deepSetValue(r,"user.ext.consent",d.gdprConsent.consentString)),d.uspConsent&&l.deepSetValue(r,"regs.ext.us_privacy",d.uspConsent);var a=l.deepAccess(d,"bids.0.userIdAsEids");a&&a.length&&l.deepSetValue(r,"user.ext.eids",a);var s=u.b.getConfig("user.id");s&&l.deepSetValue(r,"user.id",s),!0===u.b.getConfig("coppa")&&l.deepSetValue(r,"regs.coppa",1),e.schain&&T(e.schain)&&l.deepSetValue(r,"source.ext.schain",e.schain);var c=u.b.getConfig("multibid");return c&&l.deepSetValue(r,"ext.prebid.multibid",c.reduce(function(e,r){var t={};return Object.keys(r).forEach(function(e){t[e.toLowerCase()]=r[e]}),e.push(t),e},[])),I(e,m.d,r),e.storedAuctionResponse&&l.deepSetValue(r.imp[0],"ext.prebid.storedauctionresponse.id",e.storedAuctionResponse.toString()),l.deepSetValue(r.imp[0],"ext.prebid.auctiontimestamp",d.auctionStart),{method:"POST",url:"https://".concat(h.videoHost||"prebid-server",".rubiconproject.com/openrtb2/auction"),data:r,bidRequest:e}});return!0!==h.singleRequest?r.concat(e.filter(function(e){return"banner"===O(e)}).map(function(e){var n=A.createSlotParams(e,d);return{method:"GET",url:"https://".concat(h.bannerHost||"fastlane",".rubiconproject.com/a/api/fastlane.json"),data:A.getOrderedParams(n).reduce(function(e,r){var t=n[r];return l.isStr(t)&&""!==t||l.isNumber(t)?"".concat(e).concat(U(r,t),"&"):e},"")+"slots=1&rand=".concat(Math.random()),bidRequest:e}})):(i=e.filter(function(e){return"banner"===O(e)}).reduce(function(e,r){return(e[r.params.siteId]=e[r.params.siteId]||[]).push(r),e},{}),r.concat(Object.keys(i).reduce(function(r,e){var t,n;return t=i[e],n=10,t.map(function(e,r){return r%n==0?t.slice(r,r+n):null}).filter(function(e){return e}).forEach(function(e){var n=A.combineSlotUrlParams(e.map(function(e){return A.createSlotParams(e,d)}));r.push({method:"GET",url:"https://".concat(h.bannerHost||"fastlane",".rubiconproject.com/a/api/fastlane.json"),data:A.getOrderedParams(n).reduce(function(e,r){var t=n[r];return l.isStr(t)&&""!==t||l.isNumber(t)?"".concat(e).concat(U(r,t),"&"):e},"")+"slots=".concat(e.length,"&rand=").concat(Math.random()),bidRequest:e})}),r},[])))},getOrderedParams:function(e){var r=/^tg_v/,t=/^tg_i/,n=/^eid_|^tpid_/,i=["account_id","site_id","zone_id","size_id","alt_size_ids","p_pos","gdpr","gdpr_consent","us_privacy","rp_schain"].concat(Object.keys(e).filter(function(e){return n.test(e)})).concat(["x_liverampidl","ppuid","rf","p_geo.latitude","p_geo.longitude","kw"]).concat(Object.keys(e).filter(function(e){return r.test(e)})).concat(Object.keys(e).filter(function(e){return t.test(e)})).concat(["tk_flint","x_source.tid","x_source.pchain","p_screen_res","rp_floor","rp_secure","tk_user_key"]);return i.concat(Object.keys(e).filter(function(e){return-1===i.indexOf(e)}))},combineSlotUrlParams:function(i){if(1===i.length)return i[0];var n=i.reduce(function(r,t,n){return Object.keys(t).forEach(function(e){r.hasOwnProperty(e)||(r[e]=new Array(i.length)),r[e].splice(n,1,t[e])}),r},{}),o=new RegExp("^([^;]*)(;\\1)+$");return Object.keys(n).forEach(function(e){var r=n[e].join(";"),t=r.match(o);n[e]=t?t[1]:r}),n},createSlotParams:function(e,r){e.startTime=(new Date).getTime();var t,n=e.params,i=C(e,"banner"),o=v(n.latLong||[],2),a=o[0],s=o[1],c={account_id:n.accountId,site_id:n.siteId,zone_id:n.zoneId,size_id:i[0],alt_size_ids:i.slice(1).join(",")||void 0,rp_floor:.01<=(n.floor=parseFloat(n.floor))?n.floor:void 0,rp_secure:"1",tk_flint:"".concat(h.int_type||"pbjs_lite","_v4.43.4"),"x_source.tid":e.transactionId,"x_source.pchain":n.pchain,p_screen_res:[window.screen.width,window.screen.height].join("x"),tk_user_key:n.userId,"p_geo.latitude":isNaN(parseFloat(a))?void 0:parseFloat(a).toFixed(4),"p_geo.longitude":isNaN(parseFloat(s))?void 0:parseFloat(s).toFixed(4),"tg_fl.eid":e.code,rf:j(e,r)};if("function"==typeof e.getFloor&&!h.disableFloors){try{t=e.getFloor({currency:"USD",mediaType:"banner",size:"*"})}catch(e){l.logError("Rubicon: getFloor threw an error: ",e)}c.rp_hard_floor="object"!==x(t)||"USD"!==t.currency||isNaN(parseInt(t.floor))?void 0:t.floor}c.p_pos="atf"===n.position||"btf"===n.position?n.position:"";var d=u.b.getConfig("user.id");return d&&(c.ppuid=d),e.userIdAsEids&&e.userIdAsEids.forEach(function(r){try{var e;"adserver.org"===r.source?(c.tpid_tdid=r.uids[0].id,c["eid_adserver.org"]=r.uids[0].id):"liveintent.com"===r.source?(c["tpid_liveintent.com"]=r.uids[0].id,c["eid_liveintent.com"]=r.uids[0].id,r.ext&&Array.isArray(r.ext.segments)&&r.ext.segments.length&&(c["tg_v.LIseg"]=r.ext.segments.join(","))):"liveramp.com"===r.source?c.x_liverampidl=r.uids[0].id:"sharedid.org"===r.source?c["eid_sharedid.org"]="".concat(r.uids[0].id,"^").concat(r.uids[0].atype,"^").concat(r.uids[0].ext&&r.uids[0].ext.third||""):"id5-sync.com"===r.source?c["eid_id5-sync.com"]="".concat(r.uids[0].id,"^").concat(r.uids[0].atype,"^").concat(r.uids[0].ext&&r.uids[0].ext.linkType||""):c["eid_".concat(r.source)]="".concat(r.uids[0].id,"^").concat(r.uids[0].atype||""),c.ppuid||(e=p()(r.uids,function(e){return e.ext&&"ppuid"===e.ext.stype}))&&e.id&&(c.ppuid=e.id)}catch(e){l.logWarn("Rubicon: error reading eid:",r,e)}}),r.gdprConsent&&("boolean"==typeof r.gdprConsent.gdprApplies&&(c.gdpr=Number(r.gdprConsent.gdprApplies)),c.gdpr_consent=r.gdprConsent.consentString),r.uspConsent&&(c.us_privacy=encodeURIComponent(r.uspConsent)),c.rp_maxbids=r.bidLimit||1,I(e,m.b,c),!0===u.b.getConfig("coppa")&&(c.coppa=1),e.schain&&T(e.schain)&&(c.rp_schain=A.serializeSupplyChain(e.schain)),c},serializeSupplyChain:function(e){if(!T(e))return"";var r=e.ver,t=e.complete,n=e.nodes;return"".concat(r,",").concat(t,"!").concat(A.serializeSupplyChainNodes(n))},serializeSupplyChainNodes:function(e){var t=["asi","sid","hp","rid","name","domain"];return e.map(function(r){return t.map(function(e){return encodeURIComponent(r[e]||"")}).join(",")}).join("!")},interpretResponse:function(c,e){var d=e.bidRequest;if(!(c=c.body)||"object"!==x(c))return[];if(c.seatbid){var r=l.deepAccess(c,"ext.errors.rubicon");Array.isArray(r)&&0<r.length&&l.logWarn("Rubicon: Error in video response");var o=[];return c.seatbid.forEach(function(i){(i.bid||[]).forEach(function(e){var r={requestId:d.bidId,currency:c.cur||"USD",creativeId:e.crid,cpm:e.price||0,bidderCode:i.seat,ttl:300,netRevenue:!1!==h.netRevenue,width:e.w||l.deepAccess(d,"mediaTypes.video.w")||l.deepAccess(d,"params.video.playerWidth"),height:e.h||l.deepAccess(d,"mediaTypes.video.h")||l.deepAccess(d,"params.video.playerHeight")};e.id&&(r.seatBidId=e.id),e.dealid&&(r.dealId=e.dealid),e.adomain&&l.deepSetValue(r,"meta.advertiserDomains",Array.isArray(e.adomain)?e.adomain:[e.adomain]),l.deepAccess(e,"ext.bidder.rp.advid")&&l.deepSetValue(r,"meta.advertiserId",e.ext.bidder.rp.advid);var t,n=l.deepAccess(c,"ext.responsetimemillis.rubicon");d&&n&&(d.serverResponseTimeMs=n),l.deepAccess(e,"ext.prebid.type")===m.d?(r.mediaType=m.d,l.deepSetValue(r,"meta.mediaType",m.d),(t=l.deepAccess(e,"ext.prebid.targeting"))&&"object"===x(t)&&(r.adserverTargeting=t),e.ext.prebid.cache&&"object"===x(e.ext.prebid.cache.vastXml)&&e.ext.prebid.cache.vastXml.cacheId&&e.ext.prebid.cache.vastXml.url?(r.videoCacheKey=e.ext.prebid.cache.vastXml.cacheId,r.vastUrl=e.ext.prebid.cache.vastXml.url):t&&t.hb_uuid&&t.hb_cache_host&&t.hb_cache_path&&(r.videoCacheKey=t.hb_uuid,r.vastUrl="https://".concat(t.hb_cache_host).concat(t.hb_cache_path,"?uuid=").concat(t.hb_uuid)),e.adm&&(r.vastXml=e.adm),e.nurl&&(r.vastUrl=e.nurl),!r.vastUrl&&e.nurl&&(r.vastUrl=e.nurl),"outstream"===l.deepAccess(d,"mediaTypes.video.context").toLowerCase()&&(r.renderer=function(e){var r=a.a.install({id:e.adId,url:h.rendererUrl||"https://video-outstream.rubiconproject.com/apex-2.0.0.js",config:h.rendererConfig||{},loaded:!1,adUnitCode:e.adUnitCode});try{r.setRender(S)}catch(e){l.logWarn("Prebid Error calling setRender on renderer",e)}return r}(r))):l.logWarn("Rubicon: video response received non-video media type"),o.push(r)})}),o}var u,t=c.ads,p=0;return"object"!==x(d)||Array.isArray(d)||"video"!==O(d)||"object"!==x(t)||(t=t[d.adUnitCode]),!Array.isArray(t)||t.length<1?[]:t.reduce(function(e,r,t){if(r.impression_id&&u===r.impression_id?p++:u=r.impression_id,"ok"!==r.status)return e;var n,i,o,a,s=Array.isArray(d)?d[t-p]:d;return s&&"object"===x(s)?(n={requestId:s.bidId,currency:"USD",creativeId:r.creative_id||"".concat(r.network||"","-").concat(r.advertiser||""),cpm:r.cpm||0,dealId:r.deal,ttl:300,netRevenue:!1!==h.netRevenue,rubicon:{advertiserId:r.advertiser,networkId:r.network},meta:{advertiserId:r.advertiser,networkId:r.network,mediaType:m.b}},r.creative_type&&(n.mediaType=r.creative_type),r.adomain&&(n.meta.advertiserDomains=Array.isArray(r.adomain)?r.adomain:[r.adomain]),r.creative_type===m.d?(n.width=s.params.video.playerWidth,n.height=s.params.video.playerHeight,n.vastUrl=r.creative_depot_url,n.impression_id=r.impression_id,n.videoCacheKey=r.impression_id):(n.ad=(o=r.script,a=r.impression_id,"<html>\n<head><script type='text/javascript'>inDapIF=true;<\/script></head>\n<body style='margin : 0; padding: 0;'>\n\x3c!-- Rubicon Project Ad Tag --\x3e\n<div data-rp-impression-id='".concat(a,"'>\n<script type='text/javascript'>").concat(o,"<\/script>\n</div>\n</body>\n</html>")),i=v(_[r.size_id].split("x").map(function(e){return Number(e)}),2),n.width=i[0],n.height=i[1]),n.rubiconTargeting=(Array.isArray(r.targeting)?r.targeting:[]).reduce(function(e,r){return e[r.key]=r.values[0],e},{rpfl_elemid:s.adUnitCode}),e.push(n)):l.logError("Rubicon: bidRequest undefined at index position:".concat(t),d,c),e},[]).sort(function(e,r){return(r.cpm||0)-(e.cpm||0)})},getUserSyncs:function(e,r,t,n){if(!P&&e.iframeEnabled){var i="";return t&&"string"==typeof t.consentString&&("boolean"==typeof t.gdprApplies?i+="?gdpr=".concat(Number(t.gdprApplies),"&gdpr_consent=").concat(t.consentString):i+="?gdpr_consent=".concat(t.consentString)),n&&(i+="".concat(i?"&":"?","us_privacy=").concat(encodeURIComponent(n))),P=!0,{type:"iframe",url:"https://".concat(h.syncHost||"eus",".rubiconproject.com/usync.html")+i}}},transformBidParams:function(e){return l.convertTypes({accountId:"number",siteId:"number",zoneId:"number"},e)}};function j(e,r){var t=u.b.getConfig("pageUrl"),t=e.params.referrer?e.params.referrer:t||r.refererInfo.referer;return e.params.secure?t.replace(/^http:/i,"https:"):t}function S(e){var r,t,n,i=document.getElementById(e.adUnitCode);(r=i.querySelector("div[id^='google_ads']"))&&r.style.setProperty("display","none"),t=i.querySelector("script[id^='sas_script']"),(n=t&&t.nextSibling)&&"iframe"===n.localName&&n.style.setProperty("display","none");var o=e.renderer.getConfig();e.renderer.push(function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:"#".concat(e.adUnitCode),align:o.align||"center",position:o.position||"append"},closeButton:o.closeButton||!1,label:o.label||void 0,collapse:o.collapse||!0})})}function C(e,r){var t=e.params;if("video"===r){var n=[];return t.video&&t.video.playerWidth&&t.video.playerHeight?n=[t.video.playerWidth,t.video.playerHeight]:Array.isArray(l.deepAccess(e,"mediaTypes.video.playerSize"))&&1===e.mediaTypes.video.playerSize.length?n=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&0<e.sizes.length&&Array.isArray(e.sizes[0])&&1<e.sizes[0].length&&(n=e.sizes[0]),n}var i=[];return Array.isArray(t.sizes)?i=t.sizes:void 0!==l.deepAccess(e,"mediaTypes.banner.sizes")?i=c(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&0<e.sizes.length?i=c(e.sizes):l.logWarn("Rubicon: no sizes are setup or found"),k(i)}function I(e,r,s){var t={user:{ext:{data:g({},e.params.visitor)}},site:{ext:{data:g({},e.params.inventory)}}};e.params.keywords&&(t.site.keywords=l.isArray(e.params.keywords)?e.params.keywords.join(","):e.params.keywords);function n(e,r,t,n){var i=!(3<arguments.length&&void 0!==n)||n,o=function(e,r,t){if("data"===r&&Array.isArray(e))return e.filter(function(e){return e.segment&&l.deepAccess(e,"ext.segtax")&&c[t]&&-1!==c[t].indexOf(l.deepAccess(e,"ext.segtax"))}).map(function(e){var r=e.segment.filter(function(e){return e.id}).reduce(function(e,r){return e.push(r.id),e},[]);if(0<r.length)return r.toString()}).toString();if("object"!==x(e)||Array.isArray(e)){if(void 0!==e)return Array.isArray(e)?e.filter(function(e){return"object"!==x(e)&&void 0!==e?e.toString():void l.logWarn("Rubicon: Filtered value: ",e,"for key",r,": Expected value to be string, integer, or an array of strings/ints")}).toString():e.toString()}else l.logWarn("Rubicon: Filtered FPD key: ",r,": Expected value to be string, integer, or an array of strings/ints")}(e,t,r),a=d[t]&&i?"".concat(d[t]):"data"===t?"".concat(d[r],"iab"):"".concat(d[r]).concat(t);s[a]=s[a]?s[a].concat(",",o):o}var i=l.mergeDeep({},u.b.getConfig("ortb2")||{},t),o=l.deepAccess(e.ortb2Imp,"ext.data")||{},c={user:[3],site:[1,2]},d={user:"tg_v.",site:"tg_i.",adserver:"tg_i.dfp_ad_unit_code",pbadslot:"tg_i.pbadslot",keywords:"kw"};Object.keys(o).forEach(function(r){"adserver"===r?["name","adslot"].forEach(function(e){o[r][e]&&(o[r][e]=o[r][e].toString().replace(/^\/+/,""))}):"pbadslot"===r&&(o[r]=o[r].toString().replace(/^\/+/,""))}),r===m.b?(["site","user"].forEach(function(r){Object.keys(i[r]).forEach(function(e){"site"===r&&"content"===e&&i[r][e].data?n(i[r][e].data,r,"data"):"ext"!==e?n(i[r][e],r,e):i[r][e].data&&Object.keys(i[r].ext.data).forEach(function(e){n(i[r].ext.data[e],r,e,!1)})})}),Object.keys(o).forEach(function(e){"adserver"===e?n(o[e].adslot,name,e):n(o[e],"site",e)})):(Object.keys(o).length&&l.mergeDeep(s.imp[0].ext,{data:o}),l.mergeDeep(s,i))}function c(e){return l.parseSizesInput(e).reduce(function(e,r){var t=parseInt(_[r],10);return t&&e.push(t),e},[])}function d(e){return"object"===x(l.deepAccess(e,"params.video"))&&void 0!==l.deepAccess(e,"mediaTypes.".concat(m.d))}function O(e,r){var t=1<arguments.length&&void 0!==r&&r;return d(e)?-1===["outstream","instream"].indexOf(l.deepAccess(e,"mediaTypes.".concat(m.d,".context")))?void(t&&l.logError("Rubicon: mediaTypes.video.context must be outstream or instream")):C(e,"video").length<2?void(t&&l.logError("Rubicon: could not determine the playerSize of the video")):(t&&l.logMessage("Rubicon: making video request for adUnit",e.adUnitCode),"video"):0===C(e,"banner").length?void(t&&l.logError("Rubicon: could not determine the sizes for banner request")):(t&&l.logMessage("Rubicon: making banner request for adUnit",e.adUnitCode),"banner")}var w=function(){return h={}};function k(e){var i=[15,2,9];return e.sort(function(e,r){var t=i.indexOf(e),n=i.indexOf(r);return-1<t||-1<n?-1===t?1:-1===n?-1:t-n:e-r})}function R(e){var r=parseInt(l.deepAccess(e,"params.video.size_id"));return isNaN(r)?"outstream"===l.deepAccess(e,"mediaTypes.".concat(m.d,".context"))?203:201:r}function z(e){return{ranges:{low:[{max:5,increment:.5}],medium:[{max:20,increment:.1}],high:[{max:20,increment:.01}],auto:[{max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}],dense:[{max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}],custom:e.getConfig("customPriceBucket")&&e.getConfig("customPriceBucket").buckets}[e.getConfig("priceGranularity")]}}function E(r){var t=!0,e=Object.prototype.toString.call([]),n={mimes:e,protocols:e,linearity:Object.prototype.toString.call(0),api:e};return Object.keys(n).forEach(function(e){Object.prototype.toString.call(l.deepAccess(r,"mediaTypes.video."+e))!==n[e]&&(t=!1,l.logError("Rubicon: mediaTypes.video."+e+" is required and must be of type: "+n[e]))}),t}function T(e){var r=!1,t=["asi","sid","hp"];return e.nodes&&((r=e.nodes.reduce(function(e,r){return e?t.every(function(e){return r.hasOwnProperty(e)}):e},!0))||l.logError("Rubicon: required schain params missing")),r}function U(e,r){return"rp_schain"===e?"rp_schain=".concat(r):"".concat(e,"=").concat(encodeURIComponent(r))}var P=!1;Object(n.registerBidder)(A)}},[824]); pbjsChunk([16],{20:function(e,r,t){"use strict";r.b=function(e){var r=[];for(var t in e){var a;e.hasOwnProperty(t)&&("pubProvidedId"===t?r=r.concat(e.pubProvidedId):(a=function(e,r){var t=c[r];if(t&&e){var a={};a.source=t.source;var i=s.isFn(t.getValue)?t.getValue(e):e;if(s.isStr(i)){var n,d,o={id:i,atype:t.atype};return!s.isFn(t.getUidExt)||(n=t.getUidExt(e))&&(o.ext=n),a.uids=[o],!s.isFn(t.getEidExt)||(d=t.getEidExt(e))&&(a.ext=d),a}}return null}(e[t],t))&&r.push(a))}return r},r.a=function(e){var t=[];return e.filter(function(e){return s.isPlainObject(e.idObj)&&Object.keys(e.idObj).length}).forEach(function(r){Object.keys(r.idObj).forEach(function(e){s.deepAccess(r,"config.bidders")&&Array.isArray(r.config.bidders)&&s.deepAccess(c,e+".source")&&t.push({source:c[e].source,bidders:r.config.bidders})})}),t};var s=t(0),c={intentIqId:{source:"intentiq.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}},parrableId:{source:"parrable.com",atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?"":null},getUidExt:function(e){var r=s.pick(e,["ibaOptout","ccpaOptout"]);if(Object.keys(r).length)return r}},idl_env:{source:"liveramp.com",atype:3},lipb:{getValue:function(e){return e.lipbid},source:"liveintent.com",atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:"britepool.com",atype:3},dmdId:{source:"hcn.health",atype:3},lotamePanoramaId:{source:"crwdcntrl.net",atype:1},criteoId:{source:"criteo.com",atype:1},merkleId:{source:"merkleinc.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:"netid.de",atype:1},sharedid:{source:"sharedid.org",atype:1,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.third?{third:e.third}:void 0}},IDP:{source:"zeotap.com",atype:1},haloId:{source:"audigent.com",atype:1},quantcastId:{source:"quantcast.com",atype:1},nextrollId:{source:"nextroll.com",atype:1},idx:{source:"idx.lat",atype:1},connectid:{source:"verizonmedia.com",atype:3},fabrickId:{source:"neustar.biz",atype:1},mwOpenLinkId:{source:"mediawallahscript.com",atype:1},tapadId:{source:"tapad.com",atype:1},novatiq:{getValue:function(e){return e.snowflake},source:"novatiq.com",atype:1},uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id}},deepintentId:{source:"deepintent.com",atype:3},admixerId:{source:"admixer.net",atype:3}}},862:function(e,r,t){e.exports=t(863)},863:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"spec",function(){return l});var c=t(0),p=t(2),u=t(3),a=t(1),m=t(20),l={code:"smartadserver",gvlid:45,aliases:["smart"],supportedMediaTypes:[p.b,p.d],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(r){return t.map(function(e){return r[e]?encodeURIComponent(r[e]):""}).join(",")}).join("!")},buildRequests:function(e,s){return e.map(function(e){var r={siteid:e.params.siteId,pageid:e.params.pageId,formatid:e.params.formatId,currencyCode:u.b.getConfig("currency.adServerCurrency"),bidfloor:e.params.bidfloor||0,targeting:e.params.target&&""!==e.params.target?e.params.target:void 0,buid:e.params.buId&&""!==e.params.buId?e.params.buId:void 0,appname:e.params.appName&&""!==e.params.appName?e.params.appName:void 0,ckid:e.params.ckId||0,tagId:e.adUnitCode,pageDomain:s&&s.refererInfo&&s.refererInfo.referer?s.refererInfo.referer:void 0,transactionId:e.transactionId,timeout:u.b.getConfig("bidderTimeout"),bidId:e.bidId,prebidVersion:"4.43.4",schain:l.serializeSupplyChain(e.schain)},t=c.deepAccess(e,"mediaTypes.video");if(t){if(!t||"instream"!==t.context&&"outstream"!==t.context)return{};var a=null;e.params.video&&e.params.video.protocol?a=e.params.video.protocol:Array.isArray(t.protocols)&&(a=Math.max.apply(Math,t.protocols));var i=2;e.params.video&&e.params.video.startDelay?i=e.params.video.startDelay:0==t.startdelay?i=1:-1==t.startdelay?i=2:-2==t.startdelay&&(i=3);var n=t.playerSize[0];r.isVideo="instream"===t.context,r.mediaType=p.d,r.videoData={videoProtocol:a,playerWidth:n[0],playerHeight:n[1],adBreak:i}}else{var d=c.deepAccess(e,"mediaTypes.banner");r.sizes=d.sizes.map(function(e){return{w:e[0],h:e[1]}})}s&&s.gdprConsent&&(r.addtl_consent=s.gdprConsent.addtlConsent,r.gdpr_consent=s.gdprConsent.consentString,r.gdpr=s.gdprConsent.gdprApplies),e&&e.userId&&(r.eids=Object(m.b)(e.userId)),s&&s.uspConsent&&(r.us_privacy=s.uspConsent);var o=JSON.stringify(r);return{method:"POST",url:(void 0!==e.params.domain?e.params.domain:"https://prg.smartadserver.com")+"/prebid/v1",data:o}})},interpretResponse:function(e,r){var t,a,i=[],n=e.body;try{n&&!n.isNoAd&&(a={requestId:(t=JSON.parse(r.data)).bidId,cpm:n.cpm,width:n.width,height:n.height,creativeId:n.creativeId,dealId:n.dealId,currency:n.currency,netRevenue:n.isNetCpm,ttl:n.ttl,dspPixels:n.dspPixels,meta:{advertiserDomains:n.adomain?n.adomain:[]}},t.mediaType===p.d?(a.mediaType=p.d,a.vastUrl=n.adUrl,a.vastXml=n.ad,a.content=n.ad):(a.adUrl=n.adUrl,a.ad=n.ad),i.push(a))}catch(e){c.logError("Error while parsing smart server response",e)}return i},getUserSyncs:function(e,r){var t=[];return e.iframeEnabled&&0<r.length?t.push({type:"iframe",url:r[0].body.cSyncUrl}):e.pixelEnabled&&0<r.length&&void 0!==r[0].body.dspPixels&&r[0].body.dspPixels.forEach(function(e){t.push({type:"image",url:e})}),t}};Object(a.registerBidder)(l)}},[862]); pbjsChunk([102],{932:function(e,r,t){e.exports=t(933)},933:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),t.d(r,"tripleliftAdapterSpec",function(){return m});var n=t(2),i=t(1),u=t(0),a=t(3);function p(){return(p=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function c(e){return(c="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})(e)}function d(r,e){var t,n=Object.keys(r);return Object.getOwnPropertySymbols&&(t=Object.getOwnPropertySymbols(r),e&&(t=t.filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})),n.push.apply(n,t)),n}function s(i){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?d(Object(o),!0).forEach(function(e){var r,t,n;r=i,n=o[t=e],t in r?Object.defineProperty(r,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[t]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(o,e))})}return i}function f(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,r){if(!e)return;if("string"==typeof e)return o(e,r);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 o(e,r)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}var l=!0,y=null,m={gvlid:28,code:"triplelift",supportedMediaTypes:[n.b,n.d],isBidRequestValid:function(e){return void 0!==e.params.inventoryCode},buildRequests:function(e,r){var t,n="https://tlx.3lift.com/header/auction?",i=function(e){var r={},t=e[0].schain,n=function(){var e={},r={},t={},n=a.b.getLegacyFpd(a.b.getConfig("ortb2"))||{},i=p({},n.context),o=p({},n.user);g(r,i),g(t,o),u.isEmpty(r)||(e.context=r);u.isEmpty(t)||(e.user=t);return e}();r.imp=e.map(function(e,r){var t={id:r,tagid:e.params.inventoryCode,floor:function(e){var r=null;{var t;"function"==typeof e.getFloor&&("object"!==c(t=e.getFloor({currency:"USD",mediaType:b(e)?"video":"banner",size:"*"}))||"USD"!==t.currency||isNaN(parseFloat(t.floor))||(r=parseFloat(t.floor)))}return null!==r?r:e.params.floor}(e)};return b(e)?t.video=function(e){var r=s(s({},e.params.video),e.mediaTypes.video);r.w||(r.w=r.playerSize[0][0]);r.h||(r.h=r.playerSize[0][1]);"instream"===r.context&&(r.placement=1);return delete r.playerSize,r}(e):e.mediaTypes.banner&&(t.banner={format:e.sizes.filter(S).map(function(e){return{w:e[0],h:e[1]}})}),u.isEmpty(e.ortb2Imp)||(t.fpd=function(e){var r={},t={};g(t,e.ext),u.isEmpty(t)||(r.context=t);return r}(e.ortb2Imp)),t});var i=[].concat(f(function(e){return v(e,"tdid","adserver.org","TDID")}([e[0]])),f(function(e){return v(e,"idl_env","liveramp.com","idl")}([e[0]])),f(function(e){return v(e,"criteoId","criteo.com","criteoId")}([e[0]])),f(function(e){return v(e,"pubcid","pubcid.org","pubcid")}([e[0]])));0<i.length&&(r.user={ext:{eids:i}});var o=function(e,r){var t={};u.isEmpty(e)||(t.schain=s({},e));u.isEmpty(r)||(t.fpd=s({},r));return t}(t,n);u.isEmpty(o)||(r.ext=o);return r}(e);return n=u.tryAppendQueryString(n,"lib","prebid"),n=u.tryAppendQueryString(n,"v","4.43.4"),r&&r.refererInfo&&(t=r.refererInfo.referer,n=u.tryAppendQueryString(n,"referrer",t)),r&&r.timeout&&(n=u.tryAppendQueryString(n,"tmax",r.timeout)),r&&r.gdprConsent&&(void 0!==r.gdprConsent.gdprApplies&&(l=r.gdprConsent.gdprApplies,n=u.tryAppendQueryString(n,"gdpr",l.toString())),void 0!==r.gdprConsent.consentString&&(y=r.gdprConsent.consentString,n=u.tryAppendQueryString(n,"cmp_cs",y))),r&&r.uspConsent&&(n=u.tryAppendQueryString(n,"us_privacy",r.uspConsent)),!0===a.b.getConfig("coppa")&&(n=u.tryAppendQueryString(n,"coppa",!0)),n.lastIndexOf("&")===n.length-1&&(n=n.substring(0,n.length-1)),u.logMessage("tlCall request built: "+n),{method:"POST",url:n,data:i,bidderRequest:r}},interpretResponse:function(e,r){var t=r.bidderRequest;return(e.body.bids||[]).map(function(e){return function(e,r){var t={},n=r.width||1,i=r.height||1,o=r.deal_id||"",u=r.crid||"",a=e.bids[r.imp_id];0!=r.cpm&&r.ad&&(t={requestId:a.bidId,cpm:r.cpm,width:n,height:i,netRevenue:!0,ad:r.ad,creativeId:u,dealId:o,currency:"USD",ttl:300,tl_source:r.tl_source,meta:{}},b(a)&&(t.vastXml=r.ad,t.mediaType="video"),r.advertiser_name&&(t.meta.advertiserName=r.advertiser_name),r.adomain&&r.adomain.length&&(t.meta.advertiserDomains=r.adomain),r.tl_source&&"hdx"==r.tl_source&&(t.meta.mediaType="banner"),r.tl_source&&"tlx"==r.tl_source&&(t.meta.mediaType="native"));return t}(t,e)})},getUserSyncs:function(e,r,t,n){var i=function(e){if(!e)return;if(e.iframeEnabled)return"iframe";if(e.pixelEnabled)return"image"}(e);if(i){var o="https://eb2.3lift.com/sync?";return"image"===i&&(o=u.tryAppendQueryString(o,"px",1),o=u.tryAppendQueryString(o,"src","prebid")),null!==y&&(o=u.tryAppendQueryString(o,"gdpr",l),o=u.tryAppendQueryString(o,"cmp_cs",y)),n&&(o=u.tryAppendQueryString(o,"us_privacy",n)),[{type:i,url:o}]}}};function b(e){return e.mediaTypes.video&&e.mediaTypes.video.context&&"instream"===e.mediaTypes.video.context.toLowerCase()}function g(r,t){u.isEmpty(t)||Object.keys(t).forEach(function(e){null!=t[e]&&(r[e]=t[e])})}function v(e,r,t,n){return e.map((u=r,function(e){return e&&e.userId&&e.userId[u]})).filter(function(e){return!!e}).map((i=t,o=n,function(e){return{source:i,uids:[{id:e,ext:{rtiPartner:o}}]}}));var i,o,u}function S(e){return 2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]}Object(i.registerBidder)(m)}},[932]); pbjs.processQueue();