text: /* prebid.js v1.3.1
  Updated : 2018-02-21 */
  !(function(e){var t=window.pbjsChunk;window.pbjsChunk=function(n,o,a){for(var u,d,s,c=0,f=[];c<n.length;c++)d=n[c],r[d]&&f.push(r[d][0]),r[d]=0;for(u in o)Object.prototype.hasOwnProperty.call(o,u)&&(e[u]=o[u]);for(t&&t(n,o,a);f.length;)f.shift()();if(a)for(c=0;c<a.length;c++)s=i(i.s=a[c]);return s};var n={},r={92:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e},i(i.s=327)})({0:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},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};t.parseSizesInput=function(e){var t=[];if("string"==typeof e){var n=e.split(","),r=/^(\d)+x(\d)+$/i;if(n)for(var o in n)E(n,o)&&n[o].match(r)&&t.push(n[o])}else if("object"===(void 0===e?"undefined":i(e))){var a=e.length;if(a>0)if(2===a&&"number"==typeof e[0]&&"number"==typeof e[1])t.push(b(e));else for(var u=0;u<a;u++)t.push(b(e[u]))}return t},t.parseGPTSingleSizeArray=b,t.uniques=T,t.flatten=A,t.getBidRequest=function(e,t){return(0,u.default)(t.map((function(t){return(0,u.default)(t.bids,(function(t){return t.bidId===e}))})),(function(e){return e}))},t.getKeys=I,t.getValue=_,t.getBidderCodes=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:pbjs.adUnits).map((function(e){return e.bids.map((function(e){return e.bidder})).reduce(A,[])})).reduce(A).filter(T)},t.isGptPubadsDefined=function(){if(window.googletag&&t.isFn(window.googletag.pubads)&&t.isFn(window.googletag.pubads().getSlots))return!0},t.getHighestCpm=function(e,t){if(e.cpm===t.cpm)return e.timeToRespond>t.timeToRespond?t:e;return e.cpm<t.cpm?t:e},t.shuffle=function(e){var t=e.length;for(;t>0;){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(0,d.default)(e,t&&t.adUnitCode)},t.isSrcdocSupported=function(e){return e.defaultView&&e.defaultView.frameElement&&"srcdoc"in e.defaultView.frameElement&&!/firefox/i.test(navigator.userAgent)},t.deepClone=function(e){return(0,a.default)(e)},t.inIframe=function(){try{return window.self!==window.top}catch(e){return!0}},t.isSafariBrowser=function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)},t.replaceAuctionPrice=function(e,t){if(!e)return;return e.replace(/\$\{AUCTION_PRICE\}/g,t)},t.timestamp=function(){return(new Date).getTime()},t.cookiesAreEnabled=function(){if(window.navigator.cookieEnabled||document.cookie.length)return!0;return window.document.cookie="prebid.cookieTest",-1!=window.document.cookie.indexOf("prebid.cookieTest")},t.delayExecution=function(e,t){if(t<1)throw new Error("numRequiredCalls must be a positive number. Got "+t);var n=0;return function(){++n===t&&e.apply(null,arguments)}},t.groupBy=function(e,t){return e.reduce((function(e,n){return(e[n[t]]=e[n[t]]||[]).push(n),e}),{})},t.deepAccess=function(e,t){t=String(t).split(".");for(var n=0;n<t.length;n++)if(void 0===(e=e[t[n]]))return;return e},t.createContentToExecuteExtScriptInFriendlyFrame=function(e){if(!e)return"";return'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><base target="_top" /><script>inDapIF=true;<\/script></head><body>\x3c!--PRE_SCRIPT_TAG_MACRO--\x3e<script src="'+e+'"><\/script>\x3c!--POST_SCRIPT_TAG_MACRO--\x3e</body></html>'},t.getDefinedParams=function(e,t){return t.filter((function(t){return e[t]})).reduce((function(t,n){return r(t,(function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e})({},n,e[n]))}),{})},t.isValidMediaTypes=function(e){var t=["banner","native","video"];if(!Object.keys(e).every((function(e){return(0,d.default)(t,e)})))return!1;if(e.video&&e.video.context)return(0,d.default)(["instream","outstream"],e.video.context);return!0},t.getBidderRequest=function(e,t,n){return(0,u.default)(e,(function(e){return e.bids.filter((function(e){return e.bidder===t&&e.adUnitCode===n})).length>0}))||{start:null,auctionId:null}},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(e){return function(t){return w(e,t)}},t.isSlotMatchingAdUnitCode=function(e){return function(t){return w(t,e)}},t.unsupportedBidderMessage=function(e,t){var n=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n    "+e.code+" is a "+n+" ad unit\n    containing bidders that don't support "+n+": "+t+".\n    This bidder won't fetch demand.\n  "},t.deletePropertyFromObject=function(e,t){var n=r({},e);return delete n[t],n},t.removeRequestId=function(e){return t.deletePropertyFromObject(e,"requestId")},t.isInteger=function(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};var o=n(2),a=s(n(61)),u=s(n(11)),d=s(n(8));function s(e){return e&&e.__esModule?e:{default:e}}var c=n(3),f=!1,l=Object.prototype.toString,g=null;try{g=console.info.bind(window.console)}catch(e){}t.replaceTokenInString=function(e,t,n){return this._each(t,(function(t,r){t=void 0===t?"":t;var i=n+r.toUpperCase()+n,o=new RegExp(i,"g");e=e.replace(o,t)})),e};var p,v=(p=0,function(){return++p});function y(){return v()+Math.random().toString(16).substr(2)}function b(e){if(t.isArray(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1]))return e[0]+"x"+e[1]}function m(){return window.console&&window.console.log}t.getUniqueIdentifierStr=y,t.generateUUID=function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},t.getBidIdParameter=function(e,t){return t&&t[e]?t[e]:""},t.tryAppendQueryString=function(e,t,n){return n?e+(t+"=")+encodeURIComponent(n)+"&":e},t.parseQueryStringParameters=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+"="+encodeURIComponent(e[n])+"&");return t},t.transformAdServerTargetingObj=function(e){return e&&Object.getOwnPropertyNames(e).length>0?I(e).map((function(t){return t+"="+encodeURIComponent(_(e,t))})).join("&"):""},t.getTopWindowLocation=function(){var e=void 0;try{window.top.location.toString(),e=window.top.location}catch(t){e=window.location}return e},t.getTopWindowUrl=function(){var e=void 0;try{e=this.getTopWindowLocation().href}catch(t){e=""}return e},t.getTopWindowReferrer=function(){try{return window.top.document.referrer}catch(e){return document.referrer}},t.logWarn=function(e){h()&&console.warn&&console.warn("WARNING: "+e)},t.logInfo=function(e,t){h()&&m()&&g&&(t&&0!==t.length||(t=""),g("INFO: "+e+(""===t?"":" : params : "),t))},t.logMessage=function(e){h()&&m()&&console.log("MESSAGE: "+e)},t.hasConsoleLogger=m;var h=function(){if(!1===o.config.getConfig("debug")&&!1===f){var e="TRUE"===S(c.DEBUG_MODE).toUpperCase();o.config.setConfig({debug:e}),f=!0}return!!o.config.getConfig("debug")};t.debugTurnedOn=h,t.logError=function(){h()&&window.console&&window.console.error&&console.error.apply(console,arguments)},t.createInvisibleIframe=function(){var e=document.createElement("iframe");return e.id=y(),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};var S=function(e){var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))};t.getParameterByName=S,t.hasValidBidRequest=function(e,t,n){var r=!1;function i(e,n){n===t[o]&&(r=!0)}for(var o=0;o<t.length;o++)if(r=!1,this._each(e,i),!r)return this.logError("Params are missing for bid request. One of these required paramaters are missing: "+t,n),!1;return!0},t.addEventHandler=function(e,t,n){e.addEventListener?e.addEventListener(t,n,!0):e.attachEvent&&e.attachEvent("on"+t,n)},t.isA=function(e,t){return l.call(e)==="[object "+t+"]"},t.isFn=function(e){return this.isA(e,"Function")},t.isStr=function(e){return this.isA(e,"String")},t.isArray=function(e){return this.isA(e,"Array")},t.isNumber=function(e){return this.isA(e,"Number")},t.isEmpty=function(e){if(!e)return!0;if(t.isArray(e)||t.isStr(e))return!(e.length>0);for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0},t.isEmptyStr=function(e){return this.isStr(e)&&(!e||0===e.length)},t._each=function(e,t){if(!this.isEmpty(e)){if(this.isFn(e.forEach))return e.forEach(t,this);var n=0,r=e.length;if(r>0)for(;n<r;n++)t(e[n],n,e);else for(n in e)hasOwnProperty.call(e,n)&&t.call(this,e[n],n)}},t.contains=function(e,t){if(this.isEmpty(e))return!1;if(this.isFn(e.indexOf))return-1!==e.indexOf(t);for(var n=e.length;n--;)if(e[n]===t)return!0;return!1},t.indexOf=(function(){if(Array.prototype.indexOf)return Array.prototype.indexOf})(),t._map=function(e,t){if(this.isEmpty(e))return[];if(this.isFn(e.map))return e.map(t);var n=[];return this._each(e,(function(r,i){n.push(t(r,i,e))})),n};var E=function(e,t){return e.hasOwnProperty?e.hasOwnProperty(t):void 0!==e[t]&&e.constructor.prototype[t]!==e[t]};function T(e,t,n){return n.indexOf(e)===t}function A(e,t){return e.concat(t)}function I(e){return Object.keys(e)}function _(e,t){return e[t]}t.insertElement=function(e,t,n){t=t||document;var r=void 0;r=n?t.getElementsByTagName(n):t.getElementsByTagName("head");try{(r=r.length?r:t.getElementsByTagName("body")).length&&(r=r[0]).insertBefore(e,r.firstChild)}catch(e){}},t.triggerPixel=function(e){(new Image).src=e},t.insertUserSyncIframe=function(e){var n=this.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),r=document.createElement("div");r.innerHTML=n;var i=r.firstChild;t.insertElement(i)},t.createTrackPixelHtml=function(e){if(!e)return"";var t='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return t+='<img src="'+encodeURI(e)+'"></div>'},t.createTrackPixelIframeHtml=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e?(n&&(e=encodeURI(e)),r&&(r='sandbox="'+r+'"'),"<iframe "+r+' id="'+t.getUniqueIdentifierStr()+'"\n      frameborder="0"\n      allowtransparency="true"\n      marginheight="0" marginwidth="0"\n      width="0" hspace="0" vspace="0" height="0"\n      style="height:0p;width:0p;display:none;"\n      scrolling="no"\n      src="'+e+'">\n    </iframe>'):""},t.getIframeDocument=function(e){if(e){var t=void 0;try{t=e.contentWindow?e.contentWindow.document:e.contentDocument.document?e.contentDocument.document:e.contentDocument}catch(e){this.logError("Cannot get iframe document",e)}return t}},t.getValueString=function(e,t,n){return null==t?n:this.isStr(t)?t:this.isNumber(t)?t.toString():void this.logWarn("Unsuported type for param: "+e+" required type: String")};var w=function(e,t){return e.getAdUnitPath()===t||e.getSlotElementId()===t}},1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),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},o=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};t.registerBidder=function(e){var t=Array.isArray(e.supportedMediaTypes)?{supportedMediaTypes:e.supportedMediaTypes}:void 0;function n(e){var n=m(e);u.default.registerBidAdapter(n,e.code,t)}n(e),Array.isArray(e.aliases)&&e.aliases.forEach((function(t){n(o({},e,{code:t}))}))},t.newBidder=m,t.isValid=h;var a=y(n(24)),u=y(n(5)),d=n(2),s=y(n(15)),c=n(3),f=n(12),l=n(14),g=n(63),p=y(n(8)),v=n(0);function y(e){return e&&e.__esModule?e:{default:e}}var b=["requestId","cpm","ttl","creativeId","netRevenue","currency"];function m(e){return o(new a.default(e.code),{getSpec:function(){return Object.freeze(e)},registerSyncs:t,callBids:function(r,a,u,f){if(Array.isArray(r.bids)){var l={},g=[],p=r.bids.filter(n);if(0!==p.length){var y={};p.forEach((function(e){y[e.bidId]=e,e.adUnitCode||(e.adUnitCode=e.placementCode)}));var b=e.buildRequests(p,r);if(b&&0!==b.length){Array.isArray(b)||(b=[b]);var m=(0,v.delayExecution)(S,b.length);b.forEach((function(t){switch(t.method){case"GET":f(""+t.url+(function(e){if(e)return"?"+("object"===(void 0===e?"undefined":i(e))?(0,v.parseQueryStringParameters)(e):e);return""})(t.data),{success:n,error:u},void 0,o({method:"GET",withCredentials:!0},t.options));break;case"POST":f(t.url,{success:n,error:u},"string"==typeof t.data?t.data:JSON.stringify(t.data),o({method:"POST",contentType:"text/plain",withCredentials:!0},t.options));break;default:(0,v.logWarn)("Skipping invalid request from "+e.code+". Request type "+t.type+" must be GET or POST"),m()}function n(n,i){try{n=JSON.parse(n)}catch(e){}n={body:n,headers:{get:i.getResponseHeader.bind(i)}},g.push(n);var u=void 0;try{u=e.interpretResponse(n,t)}catch(t){return(0,v.logError)("Bidder "+e.code+" failed to interpret the server's response. Continuing without bids",null,t),void m()}function d(t){var n,i,u=y[t.requestId];if(u){var d=o(s.default.createBid(c.STATUS.GOOD,u),t);n=u.adUnitCode,i=d,l[n]=!0,h(n,i,[r])&&a(n,i)}else(0,v.logWarn)("Bidder "+e.code+" made bid for unknown request ID: "+t.requestId+". Ignoring.")}u&&(u.forEach?u.forEach(d):d(u)),m(u)}function u(t){(0,v.logError)("Server call for "+e.code+" failed: "+t+". Continuing without bids."),m()}}))}else S()}else S()}function S(e){var n=e&&e[0]&&e[0].mediaType&&"video"===e[0].mediaType,r=d.config.getConfig("cache.url");n&&r||u(),t(g)}}});function t(t){if(e.getUserSyncs){var n=e.getUserSyncs({iframeEnabled:d.config.getConfig("userSync.iframeEnabled"),pixelEnabled:d.config.getConfig("userSync.pixelEnabled")},t);n&&(Array.isArray(n)||(n=[n]),n.forEach((function(t){f.userSync.registerSync(t.type,e.code,t.url)})))}}function n(t){return!!e.isBidRequestValid(t)||((0,v.logWarn)("Invalid bid sent to bidder "+e.code+": "+JSON.stringify(t)),!1)}}function h(e,t,n){function i(e){return"Invalid bid from "+t.bidderCode+". Ignoring bid: "+e}return e?t?(o=Object.keys(t),b.every((function(e){return(0,p.default)(o,e)}))?"native"!==t.mediaType||(0,l.nativeBidIsValid)(t,n)?"video"!==t.mediaType||(0,g.isValidVideoBid)(t,n)?!("banner"===t.mediaType&&!(function(e,t,n){if((t.width||0===t.width)&&(t.height||0===t.height))return!0;var i=(0,v.getBidderRequest)(n,t.bidderCode,e),o=i&&i.bids&&i.bids[0]&&i.bids[0].sizes,a=(0,v.parseSizesInput)(o);if(1===a.length){var u=a[0].split("x"),d=r(u,2),s=d[0],c=d[1];return t.width=s,t.height=c,!0}return!1})(e,t,n))||((0,v.logError)(i("Banner bids require a width and height")),!1):((0,v.logError)(i("Video bid does not have required vastUrl or renderer property")),!1):((0,v.logError)(i("Native bid missing some required properties.")),!1):((0,v.logError)(i("Bidder "+t.bidderCode+" is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params.")),!1)):((0,v.logWarn)("Some adapter tried to add an undefined bid for "+e+"."),!1):((0,v.logWarn)("No adUnitCode was supplied to addBidResponse."),!1);var o}},10:function(e,t,n){"use strict";var r=n(0),i={};function o(e,t){var n=document.createElement("script");n.type="text/javascript",n.async=!0,t&&"function"==typeof t&&(n.readyState?n.onreadystatechange=function(){"loaded"!==n.readyState&&"complete"!==n.readyState||(n.onreadystatechange=null,t())}:n.onload=function(){t()}),n.src=e;var r=document.getElementsByTagName("head");(r=r.length?r:document.getElementsByTagName("body")).length&&(r=r[0]).insertBefore(n,r.firstChild)}t.loadScript=function(e,t,n){e?n?i[e]?t&&"function"==typeof t&&(i[e].loaded?t():i[e].callbacks.push(t)):(i[e]={loaded:!1,callbacks:[]},t&&"function"==typeof t&&i[e].callbacks.push(t),o(e,(function(){i[e].loaded=!0;try{for(var t=0;t<i[e].callbacks.length;t++)i[e].callbacks[t]()}catch(e){r.logError("Error executing callback","adloader.js:loadScript",e)}}))):o(e,t):r.logError("Error attempting to request empty URL","adloader.js:loadScript")}},11:function(e,t,n){n(41),e.exports=n(17).Array.find},12:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userSync=void 0;var r=(function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),i=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};t.newUserSync=u;var o=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0)),a=n(2);function u(e){var t={},n={image:[],iframe:[]},u=!1,d={},s=e.config;function c(){if(s.syncEnabled&&e.browserSupportsCookies&&!u){try{!(function(){if(!s.pixelEnabled)return;o.shuffle(n.image).forEach((function(e){var t=r(e,2),n=t[0],i=t[1];o.logMessage("Invoking image pixel user sync for bidder: "+n),o.triggerPixel(i)}))})(),(function(){if(!s.iframeEnabled)return;o.shuffle(n.iframe).forEach((function(e){var t=r(e,2),n=t[0],i=t[1];o.logMessage("Invoking iframe user sync for bidder: "+n),o.insertUserSyncIframe(i)}))})()}catch(e){return o.logError("Error firing user syncs",e)}n={image:[],iframe:[]},u=!0}}return a.config.getConfig("userSync",(function(e){s=i(s,e.userSync)})),t.registerSync=function(e,t,r){return s.syncEnabled&&o.isArray(n[e])?t?Number(d[t])>=s.syncsPerBidder?o.logWarn('Number of user syncs exceeded for "{$bidder}"'):s.enabledBidders&&s.enabledBidders.length&&s.enabledBidders.indexOf(t)<0?o.logWarn('Bidder "'+t+'" not supported'):(n[e].push([t,r]),(i=d)[a=t]?i[a]+=1:i[a]=1,void(d=i)):o.logWarn("Bidder is required for registering sync"):o.logWarn('User sync type "'+e+'" not supported');var i,a},t.syncUsers=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(e)return window.setTimeout(c,Number(e));c()},t.triggerUserSyncs=function(){s.enableOverride&&t.syncUsers()},t}a.config.setDefaults({userSync:{syncEnabled:!0,pixelEnabled:!0,syncsPerBidder:5,syncDelay:3e3}});var d=!o.isSafariBrowser()&&o.cookiesAreEnabled();t.userSync=u({config:a.config.getConfig("userSync"),browserSupportsCookies:d})},13:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})();function i(e){return e?e.replace(/^\?/,"").split("&").reduce((function(e,t){var n=t.split("="),i=r(n,2),o=i[0],a=i[1];return/\[\]$/.test(o)?(e[o=o.replace("[]","")]=e[o]||[],e[o].push(a)):e[o]=a||"",e}),{}):{}}function o(e){return Object.keys(e).map((function(t){return Array.isArray(e[t])?e[t].map((function(e){return t+"[]="+e})).join("&"):t+"="+e[t]})).join("&")}t.parseQS=i,t.formatQS=o,t.parse=function(e,t){var n=document.createElement("a");t&&"noDecodeWholeURL"in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);return{protocol:(n.protocol||"").replace(/:$/,""),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!\/)/,"/"),search:i(n.search||""),hash:(n.hash||"").replace(/^#/,""),host:n.host||window.location.host}},t.format=function(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":"+e.port:""))+(e.pathname||"")+(e.search?"?"+o(e.search||""):"")+(e.hash?"#"+e.hash:"")}},14:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasNonNativeBidder=t.nativeBidder=t.nativeAdUnit=t.NATIVE_TARGETING_KEYS=t.NATIVE_KEYS=t.nativeAdapters=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.processNativeAdUnitParams=function(e){if(e&&e.type&&(function(e){if(!e||!(0,u.default)(Object.keys(c),e))return(0,o.logError)(e+" nativeParam is not supported"),!1;return!0})(e.type))return c[e.type];return e},t.nativeBidIsValid=function(e,t){var n=(0,o.getBidRequest)(e.adId,t);if(!n)return!1;if(!(0,o.deepAccess)(e,"native.clickUrl"))return!1;if((0,o.deepAccess)(e,"native.image")&&(!(0,o.deepAccess)(e,"native.image.height")||!(0,o.deepAccess)(e,"native.image.width")))return!1;if((0,o.deepAccess)(e,"native.icon")&&(!(0,o.deepAccess)(e,"native.icon.height")||!(0,o.deepAccess)(e,"native.icon.width")))return!1;var r=n.nativeParams;if(!r)return!0;var i=Object.keys(r).filter((function(e){return r[e].required})),a=Object.keys(e.native).filter((function(t){return e.native[t]}));return i.every((function(e){return(0,u.default)(a,e)}))},t.fireNativeTrackers=function(e,t){var n=void 0;n="click"===e.action?t.native&&t.native.clickTrackers:t.native&&t.native.impressionTrackers;(n||[]).forEach(o.triggerPixel)},t.getNativeTargeting=function(e){var t={};return Object.keys(e.native).forEach((function(n){var i=s[n],o=e.native[n];"object"===(void 0===o?"undefined":r(o))&&o.url&&(o=o.url),i&&(t[i]=o)})),t};var i,o=n(0),a=n(8),u=(i=a)&&i.__esModule?i:{default:i};var d=t.nativeAdapters=[],s=t.NATIVE_KEYS={title:"hb_native_title",body:"hb_native_body",sponsoredBy:"hb_native_brand",image:"hb_native_image",icon:"hb_native_icon",clickUrl:"hb_native_linkurl",cta:"hb_native_cta"},c=(t.NATIVE_TARGETING_KEYS=Object.keys(s).map((function(e){return s[e]})),{image:{image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1}}});t.nativeAdUnit=function(e){var t="native"===e.mediaType,n=(0,o.deepAccess)(e,"mediaTypes.native");return t||n};var f=t.nativeBidder=function(e){return(0,u.default)(d,e.bidder)};t.hasNonNativeBidder=function(e){return e.bids.filter((function(e){return!f(e)})).length}},140:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBidResponse=t.AUCTION_COMPLETED=t.AUCTION_IN_PROGRESS=t.AUCTION_STARTED=void 0;var 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};t.newAuction=function(e){var t=e.adUnits,n=e.adUnitCodes,r=e.callback,o=e.cbTimeout,a=e.labels,u=t,d=a,c=n,f=[],p=[],A=void 0,I=y.generateUUID(),w=void 0,C=r,O=void 0,B=o,N=void 0;function R(e,t){if(t&&clearTimeout(O),null!=C){if(e){y.logMessage("Auction "+I+" timedOut");var n=(d=p,l=(u=f).map((function(e){return e.bidderCode})).filter(i.uniques),b=d.map((function(e){return e.bidder})).filter(i.uniques),S=l.filter((function(e){return!(0,g.default)(b,e)})),u.map((function(e){return(e.bids||[]).filter((function(e){return(0,g.default)(S,e.bidder)}))})).reduce(i.flatten,[]).map((function(e){return{bidId:e.bidId,bidder:e.bidder,adUnitCode:e.adUnitCode,auctionId:e.auctionId}})));n.length&&m.emit(h.EVENTS.BID_TIMEOUT,n)}m.emit(h.EVENTS.AUCTION_END,{auctionId:I});try{w=T;var r=c,o=[p.filter(i.adUnitsFilter.bind(this,r)).reduce(U,{})];C.apply(pbjs,o)}catch(e){y.logError("Error executing bidsBackHandler",null,e)}finally{var a=s.config.getConfig("userSync")||{};a.enableOverride||v(a.syncDelay)}C=null}var u,d,l,b,S}function j(){f.every((function(e){return e.doneCbCallCount>=1}))&&(y.logInfo("Bids Received for Auction with id: "+I,p),w=T,R(!1,!0))}return{addBidReceived:function(e){p=p.concat(e)},executeCallback:R,callBids:function(){e=R.bind(null,!0),t=setTimeout(e,B),O=t,w=S;var e,t;var n={timestamp:A=Date.now(),auctionId:I,timeout:B};m.emit(h.EVENTS.AUCTION_INIT,n);var r=b.makeBidRequests(u,A,I,B,d);y.logInfo("Bids Requested for Auction with id: "+I,r),r.forEach((function(e){var t;t=e,f=f.concat(t)})),w=E,b.callBids(u,r,_.bind(this),function(e){var t=e;return(0,i.delayExecution)((function(){var e=(0,l.default)(f,(function(e){return t===e.bidderRequestId}));e.doneCbCallCount+=1,j()}),1)}.bind(this))},bidsBackAll:j,setWinningBid:function(e){N=e},getWinningBid:function(){return N},getTimeout:function(){return B},getAuctionId:function(){return I},getAuctionStatus:function(){return w},getAdUnits:function(){return u},getAdUnitCodes:function(){return c},getBidRequests:function(){return f},getBidsReceived:function(){return p}}},t.getStandardBidderSettings=w,t.getKeyValueTargetingPairs=C,t.adjustBids=B;var i=n(0),o=n(28),a=n(14),u=n(141),d=n(20),s=n(2),c=n(12),f=n(19),l=p(n(11)),g=p(n(8));function p(e){return e&&e.__esModule?e:{default:e}}var v=c.userSync.syncUsers,y=n(0),b=n(5),m=n(9),h=n(3),S=t.AUCTION_STARTED="started",E=t.AUCTION_IN_PROGRESS="inProgress",T=t.AUCTION_COMPLETED="completed";function A(e,t){t.timeToRespond>e.getTimeout()+s.config.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function I(e,t){m.emit(h.EVENTS.BID_RESPONSE,t),e.addBidReceived(t),A(e,t)}m.on(h.EVENTS.BID_ADJUSTMENT,(function(e){B(e)}));var _=t.addBidResponse=(0,f.createHook)("asyncSeries",(function(e,t){var n,a,c,f,l=this.getBidRequests(),g=this.getAuctionId(),p=(0,i.getBidderRequest)(l,t.bidderCode,e),v=(function(e){var t=e.adUnitCode,n=e.bid,a=e.bidRequest,u=e.auctionId,c=a.start,f=r({},n,{auctionId:u,responseTimestamp:(0,i.timestamp)(),requestTimestamp:c,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:t});f.timeToRespond=f.responseTimestamp-f.requestTimestamp,m.emit(h.EVENTS.BID_ADJUSTMENT,f);var l=a.bids&&a.bids[0]&&a.bids[0].renderer;l&&l.url&&(f.renderer=d.Renderer.install({url:l.url}),f.renderer.setRender(l.render));var g,p=(0,o.getPriceBucketString)(f.cpm,s.config.getConfig("customPriceBucket"),s.config.getConfig("currency.granularityMultiplier"));f.pbLg=p.low,f.pbMg=p.med,f.pbHg=p.high,f.pbAg=p.auto,f.pbDg=p.dense,f.pbCg=p.custom,f.bidderCode&&(f.cpm>0||f.dealId)&&(g=C(f.bidderCode,f));return f.adserverTargeting=r(f.adserverTargeting||{},g),f})({adUnitCode:e,bid:t,bidRequest:p,auctionId:g});"video"===v.mediaType?(n=this,a=v,c=p,f=t.vastUrl,s.config.getConfig("cache.url")?(0,u.store)([a],(function(e,t){e?(y.logWarn("Failed to save to the video cache: "+e+". Video bid must be discarded."),A(n,a)):(a.videoCacheKey=t[0].uuid,f||(a.vastUrl=(0,u.getCacheUrl)(a.videoCacheKey)),c.doneCbCallCount+=1,I(n,a),n.bidsBackAll())})):I(n,a)):I(this,v)}),"addBidResponse");function w(){var e=s.config.getConfig("priceGranularity"),t=pbjs.bidderSettings;return t[h.JSON_MAPPING.BD_SETTING_STANDARD]||(t[h.JSON_MAPPING.BD_SETTING_STANDARD]={}),t[h.JSON_MAPPING.BD_SETTING_STANDARD][h.JSON_MAPPING.ADSERVER_TARGETING]||(t[h.JSON_MAPPING.BD_SETTING_STANDARD][h.JSON_MAPPING.ADSERVER_TARGETING]=[{key:"hb_bidder",val:function(e){return e.bidderCode}},{key:"hb_adid",val:function(e){return e.adId}},{key:"hb_pb",val:function(t){return e===h.GRANULARITY_OPTIONS.AUTO?t.pbAg:e===h.GRANULARITY_OPTIONS.DENSE?t.pbDg:e===h.GRANULARITY_OPTIONS.LOW?t.pbLg:e===h.GRANULARITY_OPTIONS.MEDIUM?t.pbMg:e===h.GRANULARITY_OPTIONS.HIGH?t.pbHg:e===h.GRANULARITY_OPTIONS.CUSTOM?t.pbCg:void 0}},{key:"hb_size",val:function(e){return e.size}},{key:"hb_deal",val:function(e){return e.dealId}},{key:"hb_source",val:function(e){return e.source}},{key:"hb_format",val:function(e){return e.mediaType}}]),t[h.JSON_MAPPING.BD_SETTING_STANDARD]}function C(e,t){var n={},i=pbjs.bidderSettings;t&&i&&O(n,w(),t);return e&&t&&i&&i[e]&&i[e][h.JSON_MAPPING.ADSERVER_TARGETING]&&(O(n,i[e],t),t.sendStandardTargeting=i[e].sendStandardTargeting),t.native&&(n=r({},n,(0,a.getNativeTargeting)(t))),n}function O(e,t,n){var r=t[h.JSON_MAPPING.ADSERVER_TARGETING];return n.size=n.getSize(),y._each(r,(function(r){var i=r.key,o=r.val;if(e[i]&&y.logWarn("The key: "+i+" is getting ovewritten"),y.isFn(o))try{o=o(n)}catch(e){y.logError("bidmanager","ERROR",e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)&&"hb_deal"!==i||!y.isEmptyStr(o)&&null!=o?e[i]=o:y.logInfo("suppressing empty key '"+i+"' from adserver targeting")})),e}function B(e){var t=e.bidderCode,n=e.cpm,i=void 0;if(pbjs.bidderSettings&&(t&&pbjs.bidderSettings[t]&&"function"==typeof pbjs.bidderSettings[t].bidCpmAdjustment?i=pbjs.bidderSettings[t].bidCpmAdjustment:pbjs.bidderSettings[h.JSON_MAPPING.BD_SETTING_STANDARD]&&"function"==typeof pbjs.bidderSettings[h.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment&&(i=pbjs.bidderSettings[h.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),i))try{n=i(e.cpm,r({},e))}catch(e){y.logError("Error during bid adjustment","bidmanager.js",e)}n>=0&&(e.cpm=n)}function U(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}},141:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.store=function(e,t){var n={puts:e.map(o)};(0,r.ajax)(i.config.getConfig("cache.url"),(a=t,{success:function(e){var t=void 0;try{t=JSON.parse(e).responses}catch(e){return void a(e,[])}t?a(null,t):a(new Error("The cache server didn't respond with a responses property."),[])},error:function(e,t){a(new Error("Error storing video ad in the cache: "+e+": "+JSON.stringify(t)),[])}}),JSON.stringify(n),{contentType:"text/plain",withCredentials:!0});var a},t.getCacheUrl=function(e){return i.config.getConfig("cache.url")+"?uuid="+e};var r=n(6),i=n(2);function o(e){return{type:"xml",value:e.vastXml?e.vastXml:'<VAST version="3.0">\n    <Ad>\n      <Wrapper>\n        <AdSystem>prebid.org wrapper</AdSystem>\n        <VASTAdTagURI><![CDATA['+e.vastUrl+"]]></VASTAdTagURI>\n        <Impression></Impression>\n        <Creatives></Creatives>\n      </Wrapper>\n    </Ad>\n  </VAST>"}}},15:function(e,t,n){"use strict";var r=n(0);t.createBid=function(e,t){return new function(e,t){var n=t&&t.bidId||r.getUniqueIdentifierStr(),i=t&&t.src||"client",o=e||0;this.bidderCode=t&&t.bidder||"",this.width=0,this.height=0,this.statusMessage=(function(){switch(o){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=n,this.mediaType="banner",this.source=i,this.getStatusCode=function(){return o},this.getSize=function(){return this.width+"x"+this.height}}(e,t)}},16:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},17:function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},18:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},19:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},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};t.createHook=function(e,t,n){var a=[{fn:t,priority:0}],u={sync:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];a.forEach((function(t){t.fn.apply(e,n)}))},asyncSeries:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=0;return a[o].fn.apply(this,n.concat((function t(){for(var n=arguments.length,r=Array(n),u=0;u<n;u++)r[u]=arguments[u];var d=a[++o];if("object"===(void 0===d?"undefined":i(d))&&"function"==typeof d.fn)return d.fn.apply(e,r.concat(t))})))}};if(!u[e])throw"invalid hook type";var d={addHook:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;"function"==typeof e&&(a.push({fn:e,priority:t}),a.sort((function(e,t){return t.priority-e.priority})))},removeHook:function(e){a=a.filter((function(n){return n.fn===t||n.fn!==e}))}};"string"==typeof n&&(o[n]=d);return r((function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];if(0===a.length)return t.apply(this,r);return u[e].apply(this,r)}),d)};var o=t.hooks={}},2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=t.RANDOM=void 0;var 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},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};t.newConfig=T;var o=n(28),a=s(n(11)),u=s(n(8)),d=n(19);function s(e){return e&&e.__esModule?e:{default:e}}var c=n(0),f=!1,l=3e3,g=window.location.origin,p=100,v=!0,y=200,b=t.RANDOM="random",m={};m[b]=!0,m.fixed=!0;var h=b,S={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},E="*";function T(){var e=[],t=void 0,n=void 0;function s(){function e(e){return(0,a.default)(Object.keys(S),(function(t){return e===S[t]}))}t={},n={_debug:f,get debug(){return this._debug},set debug(e){this._debug=e},_bidderTimeout:l,get bidderTimeout(){return this._bidderTimeout},set bidderTimeout(e){this._bidderTimeout=e},_publisherDomain:g,get publisherDomain(){return this._publisherDomain},set publisherDomain(e){this._publisherDomain=e},_cookieSyncDelay:p,get cookieSyncDelay(){return pbjs.cookieSyncDelay||this._cookieSyncDelay},set cookieSyncDelay(e){this._cookieSyncDelay=e},_priceGranularity:S.MEDIUM,set priceGranularity(t){(function(t){if(!t)return c.logError("Prebid Error: no value passed to `setPriceGranularity()`"),!1;if("string"==typeof t)e(t)||c.logWarn("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.");else if("object"===(void 0===t?"undefined":i(t))&&!(0,o.isValidPriceConfig)(t))return c.logError("Invalid custom price value passed to `setPriceGranularity()`"),!1;return!0})(t)&&("string"==typeof t?this._priceGranularity=e(t)?t:S.MEDIUM:"object"===(void 0===t?"undefined":i(t))&&(this._customPriceBucket=t,this._priceGranularity=S.CUSTOM,c.logMessage("Using custom price granularity")))},get priceGranularity(){return this._priceGranularity},_customPriceBucket:{},get customPriceBucket(){return this._customPriceBucket},_sendAllBids:v,get enableSendAllBids(){return this._sendAllBids},set enableSendAllBids(e){this._sendAllBids=e},_bidderSequence:h,get bidderSequence(){return this._bidderSequence},set bidderSequence(e){m[e]?this._bidderSequence=e:c.logWarn("Invalid order: "+e+". Bidder Sequence was not set.")},_timoutBuffer:y,get timeoutBuffer(){return this._timoutBuffer},set timeoutBuffer(e){this._timoutBuffer=e}}}var b=(0,d.createHook)("asyncSeries",(function(o){if("object"===(void 0===o?"undefined":i(o))){var a,d,s=Object.keys(o),f={};s.forEach((function(e){var a=o[e];"object"===i(t[e])&&"object"===(void 0===a?"undefined":i(a))&&(a=r({},t[e],a)),f[e]=n[e]=a})),a=f,d=Object.keys(a),e.filter((function(e){return(0,u.default)(d,e.topic)})).forEach((function(e){var t,n,r;e.callback((t={},n=e.topic,r=a[e.topic],n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t))})),e.filter((function(e){return e.topic===E})).forEach((function(e){return e.callback(a)}))}else c.logError("setConfig options must be an object")}));return s(),{getConfig:function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){var t=arguments.length<=0?void 0:arguments[0];return t?c.deepAccess(n,t):n}return function(t,n){var r=n;if("string"!=typeof t&&(r=t,t=E),"function"==typeof r)return e.push({topic:t,callback:r}),function(){e.splice(e.indexOf(n),1)};c.logError("listener must be a function")}.apply(void 0,arguments)},setConfig:b,setDefaults:function(e){"object"===(void 0===t?"undefined":i(t))?(r(t,e),r(n,e)):c.logError("defaults must be an object")},resetConfig:s}}t.config=T()},20:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=o;var r=n(10),i=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0));function o(e){var t=this,n=e.url,o=e.config,a=e.id,u=e.callback,d=e.loaded;this.url=n,this.config=o,this.handlers={},this.id=a,this.loaded=d,this.cmd=[],this.push=function(e){"function"==typeof e?t.loaded?e.call():t.cmd.push(e):i.logError("Commands given to Renderer.push must be wrapped in a function")},this.callback=u||function(){t.loaded=!0,t.process()},(0,r.loadScript)(n,this.callback,!0)}o.install=function(e){return new o({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded})},o.prototype.getConfig=function(){return this.config},o.prototype.setRender=function(e){this.render=e},o.prototype.setEventHandlers=function(e){this.handlers=e},o.prototype.handleVideoEvent=function(e){var t=e.id,n=e.eventName;"function"==typeof this.handlers[n]&&this.handlers[n](),i.logMessage("Prebid Renderer event for id "+t+" type "+n)},o.prototype.process=function(){for(;this.cmd.length>0;)try{this.cmd.shift().call()}catch(e){i.logError("Error processing Renderer command: ",e)}}},21:function(e,t,n){var r=n(16),i=n(17),o=n(29),a=n(43),u="prototype",d=function(e,t,n){var s,c,f,l=e&d.F,g=e&d.G,p=e&d.S,v=e&d.P,y=e&d.B,b=e&d.W,m=g?i:i[t]||(i[t]={}),h=m[u],S=g?r:p?r[t]:(r[t]||{})[u];for(s in g&&(n=t),n)(c=!l&&S&&void 0!==S[s])&&s in m||(f=c?S[s]:n[s],m[s]=g&&"function"!=typeof S[s]?n[s]:y&&c?o(f,r):b&&S[s]==f?(function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[u]=e[u],t})(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((m.virtual||(m.virtual={}))[s]=f,e&d.R&&h&&!h[s]&&a(h,s,f)))};d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,e.exports=d},22:function(e,t,n){e.exports=!n(30)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},23:function(e,t){e.exports=function(){}},24:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e;return{callBids:function(){},setBidderCode:function(e){t=e},getBidderCode:function(){return t}}}},25:function(e,t,n){n(94),e.exports=n(17).Array.findIndex},26:function(e,t){var n;n=(function(){return this})();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},27:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.auctionManager=void 0,t.newAuctionManager=s;var r,i=n(0),o=n(140),a=n(11),u=(r=a)&&r.__esModule?r:{default:r};var d=n(3);function s(){var e=[],t={};return t.addWinningBid=function(t){var n=(0,u.default)(e,(function(e){return e.getAuctionId()===t.auctionId}));n?n.setWinningBid(t):utils.logWarn("Auction not found when adding winning bid")},t.getAllWinningBids=function(){return e.map((function(e){return e.getWinningBid()})).reduce(i.flatten,[])},t.getBidsRequested=function(){return e.map((function(e){return e.getBidRequests()})).reduce(i.flatten,[])},t.getBidsReceived=function(){return e.map((function(e){if(e.getAuctionStatus()===o.AUCTION_COMPLETED)return e.getBidsReceived()})).reduce(i.flatten,[]).filter((function(e){return e}))},t.getAdUnits=function(){return e.map((function(e){return e.getAdUnits()})).reduce(i.flatten,[])},t.getAdUnitCodes=function(){return e.map((function(e){return e.getAdUnitCodes()})).reduce(i.flatten,[]).filter(i.uniques)},t.createAuction=function(t){var n,r=t.adUnits,i=t.adUnitCodes,a=t.callback,u=t.cbTimeout,d=t.labels,s=(0,o.newAuction)({adUnits:r,adUnitCodes:i,callback:a,cbTimeout:u,labels:d});return n=s,e.push(n),s},t.findBidByAdId=function(t){return(0,u.default)(e.map((function(e){return e.getBidsReceived()})).reduce(i.flatten,[]),(function(e){return e.adId===t}))},t.getStandardBidderAdServerTargeting=function(){return(0,o.getStandardBidderSettings)()[d.JSON_MAPPING.ADSERVER_TARGETING]},t}t.auctionManager=s()},28:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidPriceConfig=t.getPriceBucketString=void 0;var r,i=n(11),o=(r=i)&&r.__esModule?r:{default:r};var a=n(0),u=2,d={buckets:[{min:0,max:5,increment:.5}]},s={buckets:[{min:0,max:20,increment:.1}]},c={buckets:[{min:0,max:20,increment:.01}]},f={buckets:[{min:0,max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}]},l={buckets:[{min:0,max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}]};function g(e,t,n){var r="";if(!p(t))return r;var i=t.buckets.reduce((function(e,t){return e.max>t.max?e:t}),{max:0}),a=(0,o.default)(t.buckets,(function(t){if(e>i.max*n){var o=t.precision;void 0===o&&(o=u),r=(t.max*n).toFixed(o)}else if(e<=t.max*n&&e>=t.min*n)return t}));return a&&(r=(function(e,t,n,r){void 0===n&&(n=u);var i=1/(t*r);return(Math.floor(e*i)/i).toFixed(n)})(e,a.increment,a.precision,n)),r}function p(e){if(a.isEmpty(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach((function(e){void 0!==e.min&&e.max&&e.increment||(t=!1)})),t}t.getPriceBucketString=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=parseFloat(e);return isNaN(r)&&(r=""),{low:""===r?"":g(e,d,n),med:""===r?"":g(e,s,n),high:""===r?"":g(e,c,n),auto:""===r?"":g(e,l,n),dense:""===r?"":g(e,f,n),custom:""===r?"":g(e,t,n)}},t.isValidPriceConfig=p},29:function(e,t,n){var r=n(42);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},3: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"},REPO_AND_VERSION:"prebid_prebid_1.3.1",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",BID_WON:"bidWon",SET_TARGETING:"setTargeting",REQUEST_BIDS:"requestBids",ADD_AD_UNITS:"addAdUnits"},EVENT_ID_PATHS:{bidWon:"adUnitCode"},GRANULARITY_OPTIONS:{LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},TARGETING_KEYS:["hb_bidder","hb_adid","hb_pb","hb_size","hb_deal","hb_source","hb_format"],S2S:{SRC:"s2s",SYNCED_BIDDERS_KEY:"pbjsSyncs"}}},30:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},31:function(e,t,n){var r=n(29),i=n(32),o=n(50),a=n(35),u=n(51);e.exports=function(e,t){var n=1==e,d=2==e,s=3==e,c=4==e,f=6==e,l=5==e||f,g=t||u;return function(t,u,p){for(var v,y,b=o(t),m=i(b),h=r(u,p,3),S=a(m.length),E=0,T=n?g(t,S):d?g(t,0):void 0;S>E;E++)if((l||E in m)&&(y=h(v=m[E],E,b),e))if(n)T[E]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return E;case 2:T.push(v)}else if(c)return!1;return f?-1:s||c?c:T}}},32:function(e,t,n){var r=n(33);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},327:function(e,t,n){e.exports=n(328)},328:function(e,t,n){"use strict";var r,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},o=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},a=n(37),u=n(0),d=n(329),s=n(12),c=n(10),f=n(2),l=n(27),g=n(38),p=n(19),v=n(8),y=(r=v)&&r.__esModule?r:{default:r};var b=(0,a.getGlobal)(),m=n(3),h=n(0),S=n(5),E=n(15),T=n(9),A=s.userSync.triggerUserSyncs,I=m.EVENTS.BID_WON,_=m.EVENTS.SET_TARGETING,w=m.EVENTS.ADD_AD_UNITS,C={bidWon:function(e){var t=l.auctionManager.getBidsRequested().map((function(e){return e.bids.map((function(e){return e.adUnitCode}))})).reduce(u.flatten).filter(u.uniques);if(!h.contains(t,e))return void h.logError('The "'+e+'" placement is not defined.');return!0}};function O(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function B(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){h.logError("Error processing command :","prebid.js",e)}}))}b.bidderSettings=b.bidderSettings||{},b.cbTimeout=b.cbTimeout||200,b.libLoaded=!0,b.version="v1.3.1",h.logInfo("Prebid.js v1.3.1 loaded"),b.adUnits=b.adUnits||[],b.triggerUserSyncs=A,b.getAdserverTargetingForAdUnitCodeStr=function(e){if(h.logInfo("Invoking pbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=b.getAdserverTargetingForAdUnitCode(e);return h.transformAdServerTargetingObj(t)}h.logMessage("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},b.getAdserverTargetingForAdUnitCode=function(e){return b.getAdserverTargeting(e)[e]},b.getAdserverTargeting=function(e){return h.logInfo("Invoking pbjs.getAdserverTargeting",arguments),g.targeting.getAllTargeting(e,l.auctionManager.getBidsReceived())},b.getBidResponses=function(){h.logInfo("Invoking pbjs.getBidResponses",arguments);var e=l.auctionManager.getBidsReceived().filter(u.adUnitsFilter.bind(this,l.auctionManager.getAdUnitCodes())),t=e&&e.length&&e[e.length-1].auctionId;return e.map((function(e){return e.adUnitCode})).filter(u.uniques).map((function(n){return e.filter((function(e){return e.auctionId===t&&e.adUnitCode===n}))})).filter((function(e){return e&&e[0]&&e[0].adUnitCode})).map((function(e){return t={},n=e[0].adUnitCode,r={bids:e.map(u.removeRequestId)},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 o(e,t)}),{})},b.getBidResponsesForAdUnitCode=function(e){return{bids:l.auctionManager.getBidsReceived().filter((function(t){return t.adUnitCode===e})).map(u.removeRequestId)}},b.setTargetingForGPTAsync=function(e){if(h.logInfo("Invoking pbjs.setTargetingForGPTAsync",arguments),(0,u.isGptPubadsDefined)()){var t=g.targeting.getAllTargeting(e);g.targeting.resetPresetTargeting(e),g.targeting.setTargetingForGPT(t),T.emit(_)}else h.logError("window.googletag is not defined on the page")},b.setTargetingForAst=function(){h.logInfo("Invoking pbjs.setTargetingForAn",arguments),g.targeting.isApntagDefined()?(g.targeting.setTargetingForAst(),T.emit(_)):h.logError("window.apntag is not defined on the page")},b.renderAd=function(e,t){if(h.logInfo("Invoking pbjs.renderAd",arguments),h.logMessage("Calling renderAd with adId :"+t),e&&t)try{var n=l.auctionManager.findBidByAdId(t);if(n){n.status="rendered",n.ad=h.replaceAuctionPrice(n.ad,n.cpm),n.adUrl=h.replaceAuctionPrice(n.adUrl,n.cpm),l.auctionManager.addWinningBid(n),T.emit(I,n);var r=n.height,i=n.width,o=n.ad,a=n.mediaType,u=n.adUrl,d=n.renderer;if(d&&d.url)d.render(n);else if(e===document&&!h.inIframe()||"video"===a)h.logError("Error trying to write ad. Ad render call ad id "+t+" was prevented from writing to the main document.");else if(o)e.write(o),e.close(),O(e,i,r);else if(u){var s=h.createInvisibleIframe();s.height=r,s.width=i,s.style.display="inline",s.style.overflow="hidden",s.src=u,h.insertElement(s,e,"body"),O(e,i,r)}else h.logError("Error trying to write ad. No ad for bid response id: "+t)}else h.logError("Error trying to write ad. Cannot find ad by given id : "+t)}catch(e){h.logError("Error trying to write ad Id :"+t+" to the page:"+e.message)}else h.logError("Error trying to write ad Id :"+t+" to the page. Missing document or adId")},b.removeAdUnit=function(e){if(h.logInfo("Invoking pbjs.removeAdUnit",arguments),e)for(var t=0;t<b.adUnits.length;t++)b.adUnits[t].code===e&&b.adUnits.splice(t,1)},b.requestBids=(0,p.createHook)("asyncSeries",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,i=e.adUnitCodes,o=e.labels;T.emit("requestBids");var a=n||f.config.getConfig("bidderTimeout");if(r=r||b.adUnits,h.logInfo("Invoking pbjs.requestBids",arguments),i&&i.length?r=r.filter((function(e){return(0,y.default)(i,e.code)})):i=r&&r.map((function(e){return e.code})),r.forEach((function(e){var t=Object.keys(e.mediaTypes||{banner:"banner"}),n=e.bids.map((function(e){return e.bidder})),r=S.bidderRegistry;n.forEach((function(n){var i=r[n],o=i&&i.getSpec&&i.getSpec(),a=o&&o.supportedMediaTypes||["banner"];t.some((function(e){return(0,y.default)(a,e)}))||(h.logWarn(h.unsupportedBidderMessage(e,n)),e.bids=e.bids.filter((function(e){return e.bidder!==n})))}))})),r&&0!==r.length){var u=l.auctionManager.createAuction({adUnits:r,adUnitCodes:i,callback:t,cbTimeout:a,labels:o});return u.callBids(),u}if(h.logMessage("No adUnits configured. No bids requested."),"function"==typeof t)try{t()}catch(e){h.logError("Error executing bidsBackHandler",null,e)}})),b.addAdUnits=function(e){h.logInfo("Invoking pbjs.addAdUnits",arguments),h.isArray(e)?(e.forEach((function(e){return e.transactionId=h.generateUUID()})),b.adUnits.push.apply(b.adUnits,e)):"object"===(void 0===e?"undefined":i(e))&&(e.transactionId=h.generateUUID(),b.adUnits.push(e)),T.emit(w)},b.onEvent=function(e,t,n){h.logInfo("Invoking pbjs.onEvent",arguments),h.isFn(t)?!n||C[e].call(null,n)?T.on(e,t,n):h.logError('The id provided is not valid for event "'+e+'" and no handler was set.'):h.logError('The event handler provided is not a function and was not set on event "'+e+'".')},b.offEvent=function(e,t,n){h.logInfo("Invoking pbjs.offEvent",arguments),n&&!C[e].call(null,n)||T.off(e,t,n)},b.registerBidAdapter=function(e,t){h.logInfo("Invoking pbjs.registerBidAdapter",arguments);try{S.registerBidAdapter(e(),t)}catch(e){h.logError("Error registering bidder adapter : "+e.message)}},b.registerAnalyticsAdapter=function(e){h.logInfo("Invoking pbjs.registerAnalyticsAdapter",arguments);try{S.registerAnalyticsAdapter(e)}catch(e){h.logError("Error registering analytics adapter : "+e.message)}},b.createBid=function(e){return h.logInfo("Invoking pbjs.createBid",arguments),E.createBid(e)},b.loadScript=function(e,t,n){h.logInfo("Invoking pbjs.loadScript",arguments),(0,c.loadScript)(e,t,n)},b.enableAnalytics=function(e){e&&!h.isEmpty(e)?(h.logInfo("Invoking pbjs.enableAnalytics for: ",e),S.enableAnalytics(e)):h.logError("pbjs.enableAnalytics should be called with option {}")},b.aliasBidder=function(e,t){h.logInfo("Invoking pbjs.aliasBidder",arguments),e&&t?S.aliasBidAdapter(e,t):h.logError("bidderCode and alias must be passed as arguments","pbjs.aliasBidder")},b.getAllWinningBids=function(){return l.auctionManager.getAllWinningBids().map(u.removeRequestId)},b.getHighestCpmBids=function(e){return g.targeting.getWinningBids(e,l.auctionManager.getBidsReceived()).map(u.removeRequestId)},b.getConfig=f.config.getConfig,b.setConfig=f.config.setConfig,b.que.push((function(){return(0,d.listenMessagesFromCreative)()})),b.cmd.push=function(e){if("function"==typeof e)try{e.call()}catch(e){h.logError("Error processing command :",e.message,e.stack)}else h.logError("Commands written into pbjs.cmd.push must be wrapped in a function")},b.que.push=b.cmd.push,b.processQueue=function(){B(b.que),B(b.cmd)}},329:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listenMessagesFromCreative=function(){addEventListener("message",f,!1)};var r=s(n(9)),i=n(14),o=n(3),a=n(0),u=n(27),d=s(n(11));function s(e){return e&&e.__esModule?e:{default:e}}var c=o.EVENTS.BID_WON;function f(e){var t,n,o,s,f,l,g,p,v,y,b,m,h,S=e.message?"message":"data",E={};try{E=JSON.parse(e[S])}catch(e){return}if(E.adId){var T=(0,d.default)(u.auctionManager.getBidsReceived(),(function(e){return e.adId===E.adId}));"Prebid Request"===E.message&&(t=T,n=E.adServerDomain,o=e.source,s=t.adId,f=t.ad,l=t.adUrl,g=t.width,p=t.height,s&&(y=(v=t).adUnitCode,b=v.width,m=v.height,(h=document.getElementById((0,d.default)(window.googletag.pubads().getSlots().filter((0,a.isSlotMatchingAdUnitCode)(y)),(function(e){return e})).getSlotElementId()).querySelector("iframe")).width=""+b,h.height=""+m,o.postMessage(JSON.stringify({message:"Prebid Response",ad:f,adUrl:l,adId:s,width:g,height:p}),n)),u.auctionManager.addWinningBid(T),r.default.emit(c,T)),"Prebid Native"===E.message&&((0,i.fireNativeTrackers)(E,T),u.auctionManager.addWinningBid(T),r.default.emit(c,T))}}},33:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},34:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},35:function(e,t,n){var r=n(36),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},36:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},37:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGlobal=function(){return window.pbjs},window.pbjs=window.pbjs||{},window.pbjs.cmd=window.pbjs.cmd||[],window.pbjs.que=window.pbjs.que||[]},38:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.targeting=t.isBidExpired=t.BID_TARGETING_SET=void 0;var 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};t.newTargeting=m;var i,o=n(0),a=n(2),u=n(14),d=n(27),s=n(8),c=(i=s)&&i.__esModule?i:{default:i};function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=n(0),g=n(3),p=[],v=t.BID_TARGETING_SET="targetingSet",y=20,b=(t.isBidExpired=function(e){return(0,o.timestamp)()-e.responseTimestamp<1e3*e.ttl},function(e){return e&&(e.status&&e.status===v||!e.status)});function m(e){var n={};function i(t){return"string"==typeof t?[t]:l.isArray(t)?t:e.getAdUnitCodes()||[]}function d(){return e.getBidsReceived().filter(b).filter(t.isBidExpired)}function s(){return e.getStandardBidderAdServerTargeting().map((function(e){return e.key})).concat(g.TARGETING_KEYS).filter(o.uniques)}function m(e,t,n,r){return Object.keys(t.adserverTargeting).filter(h()).forEach((function(n){var r,i;e.length&&e.filter((i=n,function(e){return e.adUnitCode===t.adUnitCode&&e.adserverTargeting[i]})).forEach((r=n,function(e){l.isArray(e.adserverTargeting[r])||(e.adserverTargeting[r]=[e.adserverTargeting[r]]),e.adserverTargeting[r]=e.adserverTargeting[r].concat(t.adserverTargeting[r]).filter(o.uniques),delete t.adserverTargeting[r]}))})),e.push(t),e}function h(){var e=s();return function(t){return-1===e.indexOf(t)}}function S(e){return f({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(h()).map((function(t){return f({},t.substring(0,y),[e.adserverTargeting[t]])})))}function E(e){return{adUnitCode:e,cpm:0,adserverTargeting:{},timeToRespond:0}}return n.resetPresetTargeting=function(t){if((0,o.isGptPubadsDefined)()){var n=i(t),r=e.getAdUnits().filter((function(e){return(0,c.default)(n,e.code)}));window.googletag.pubads().getSlots().forEach((function(e){p.forEach((function(t){r.forEach((function(n){n.code!==e.getAdUnitPath()&&n.code!==e.getSlotElementId()||e.setTargeting(t,null)}))}))}))}},n.getAllTargeting=function(e){var t,l,b,h,T,A,I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d(),_=i(e),w=(function(e,t){var r=n.getWinningBids(e,t);r.forEach((function(e){e.status=v}));var i=s();return r=r.map((function(e){return f({},e.adUnitCode,Object.keys(e.adserverTargeting).filter((function(t){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===i.indexOf(t)})).map((function(t){return f({},"hb_deal"===t?(t+"_"+e.bidderCode).substring(0,y):t.substring(0,y),[e.adserverTargeting[t]])})))}))})(_,I).concat((T=_,A=I,A.filter((function(e){return(0,c.default)(T,e.adUnitCode)})).map((function(e){return r({},e)})).reduce(m,[]).map(S).filter((function(e){return e})))).concat(a.config.getConfig("enableSendAllBids")?(t=I,l=g.TARGETING_KEYS.concat(u.NATIVE_TARGETING_KEYS),b=[],h=(0,o.groupBy)(t,"adUnitCode"),Object.keys(h).forEach((function(e){var t=(0,o.groupBy)(h[e],"bidderCode");Object.keys(t).forEach((function(e){return b.push(t[e].reduce(o.getHighestCpm,E()))}))})),b.map((function(e){if(e.adserverTargeting)return f({},e.adUnitCode,(t=e,l.filter((function(t){return void 0!==e.adserverTargeting[t]})).map((function(e){return f({},(e+"_"+t.bidderCode).substring(0,y),[t.adserverTargeting[e]])}))));var t})).filter((function(e){return e}))):[]);return w.map((function(e){Object.keys(e).map((function(t){e[t].map((function(e){-1===p.indexOf(Object.keys(e)[0])&&(p=Object.keys(e).concat(p))}))}))})),w=w.map((function(e){return f({},Object.keys(e)[0],e[Object.keys(e)[0]].map((function(e){return f({},Object.keys(e)[0],e[Object.keys(e)[0]].join(", "))})).reduce((function(e,t){return r(t,e)}),{}))})).reduce((function(e,t){var n=Object.keys(t)[0];return e[n]=r({},e[n],t[n]),e}),{})},n.setTargetingForGPT=function(e){window.googletag.pubads().getSlots().forEach((function(t){Object.keys(e).filter((0,o.isAdUnitCodeMatchingSlot)(t)).forEach((function(n){return Object.keys(e[n]).forEach((function(r){var i=e[n][r].split(",");(i=i.length>1?[i]:i).map((function(e){return l.logMessage("Attempting to set key value for slot: "+t.getSlotElementId()+" key: "+r+" value: "+e),e})).forEach((function(e){t.setTargeting(r,e)}))}))}))}))},n.getWinningBids=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d(),n=i(e);return t.filter((function(e){return(0,c.default)(n,e.adUnitCode)})).filter((function(e){return e.cpm>0})).map((function(e){return e.adUnitCode})).filter(o.uniques).map((function(e){return t.filter((function(t){return t.adUnitCode===e?t:null})).reduce(o.getHighestCpm,E(e))}))},n.setTargetingForAst=function(){var e=n.getAllTargeting();Object.keys(e).forEach((function(t){return Object.keys(e[t]).forEach((function(n){if(l.logMessage("Attempting to set targeting for targetId: "+t+" key: "+n+" value: "+e[t][n]),l.isStr(e[t][n])||l.isArray(e[t][n])){var r={},i="hb_adid";r[n.substring(0,i.length)===i?n.toUpperCase():n]=e[t][n],window.apntag.setKeywords(t,r)}}))}))},n.isApntagDefined=function(){if(window.apntag&&l.isFn(window.apntag.setKeywords))return!0},n}t.targeting=m(d.auctionManager)},4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.NATIVE="native",t.VIDEO="video",t.BANNER="banner"},41:function(e,t,n){"use strict";var r=n(21),i=n(31)(5),o="find",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(23)(o)},42:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},43:function(e,t,n){var r=n(44),i=n(49);e.exports=n(22)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},44:function(e,t,n){var r=n(45),i=n(46),o=n(48),a=Object.defineProperty;t.f=n(22)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(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}},45:function(e,t,n){var r=n(18);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},46:function(e,t,n){e.exports=!n(22)&&!n(30)((function(){return 7!=Object.defineProperty(n(47)("div"),"a",{get:function(){return 7}}).a}))},47:function(e,t,n){var r=n(18),i=n(16).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},48:function(e,t,n){var r=n(18);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},49:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},5:function(e,t,n){"use strict";var r,i=(function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),o=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},a=n(0),u=n(62),d=n(14),s=n(1),c=n(6),f=n(2),l=n(8),g=(r=l)&&r.__esModule?r:{default:r};var p=n(0),v=n(3),y=n(9),b=void 0,m={};t.bidderRegistry=m;var h={};f.config.getConfig("s2sConfig",(function(e){h=e.s2sConfig}));var S={};function E(e,t){return e.labelAll?{labelAll:!0,labels:e.labelAll,activeLabels:t}:{labelAll:!1,labels:e.labelAny,activeLabels:t}}function T(e){var t=e.bidderCode,n=e.auctionId,r=e.bidderRequestId,i=e.adUnits,s=e.labels;return i.reduce((function(e,i){var c=(0,u.resolveStatus)(E(i,s),i.sizes),f=c.active,l=c.sizes;return f&&e.push(i.bids.filter((function(e){return e.bidder===t})).reduce((function(e,t){i.mediaTypes&&(p.isValidMediaTypes(i.mediaTypes)?t=o({},t,{mediaTypes:i.mediaTypes}):p.logError("mediaTypes is not correctly configured for adunit "+i.code));var c=i.nativeParams||p.deepAccess(i,"mediaTypes.native");c&&(t=o({},t,{nativeParams:(0,d.processNativeAdUnitParams)(c)})),t=o({},t,(0,a.getDefinedParams)(i,["mediaType","renderer"]));var f=(0,u.resolveStatus)(E(t,s),l),g=f.active,v=f.sizes;return g&&e.push(o({},t,{adUnitCode:i.code,transactionId:i.transactionId,sizes:v,bidId:t.bid_id||p.getUniqueIdentifierStr(),bidderRequestId:r,auctionId:n})),e}),[])),e}),[]).reduce(a.flatten,[]).filter((function(e){return""!==e}))}function A(e){var t=h.bidders,n=p.deepClone(e);return n.forEach((function(e){var n,r;e.sizes=(n=e,r=[],p.parseSizesInput(n.sizes).forEach((function(e){var t=e.split("x"),n={w:parseInt(t[0]),h:parseInt(t[1])};r.push(n)})),r),e.bids=e.bids.filter((function(e){return(0,g.default)(t,e.bidder)&&(!I()||e.finalSource!==b.CLIENT)})).map((function(e){return e.bid_id=p.getUniqueIdentifierStr(),e}))})),n=n.filter((function(e){return 0!==e.bids.length}))}function I(){return h&&h.enabled&&h.testing&&b}t.makeBidRequests=function(e,n,r,i,o){var u=[];e=t.checkBidRequestSizes(e);var d=(0,a.getBidderCodes)(e);f.config.getConfig("bidderSequence")===f.RANDOM&&(d=(0,a.shuffle)(d));var s=d,c=[];if(h.enabled){I()&&(c=b.getSourceBidderMap(e)[b.CLIENT]);var l=h.bidders;s=d.filter((function(e){return!(0,g.default)(l,e)||(0,g.default)(c,e)}));var y=A(e),m=p.generateUUID();l.forEach((function(e){var t=p.getUniqueIdentifierStr(),i={bidderCode:e,auctionId:r,bidderRequestId:t,tid:m,adUnitsS2SCopy:y,bids:T({bidderCode:e,auctionId:r,bidderRequestId:t,adUnits:y,labels:o}),auctionStart:n,timeout:h.timeout,src:v.S2S.SRC};0!==i.bids.length&&u.push(i)}))}var S,E,_=(S=e,(E=p.deepClone(S)).forEach((function(e){e.bids=e.bids.filter((function(e){return!I()||e.finalSource!==b.SERVER}))})),E=E.filter((function(e){return 0!==e.bids.length})));return s.forEach((function(e){var t=p.getUniqueIdentifierStr(),a={bidderCode:e,auctionId:r,bidderRequestId:t,bids:T({bidderCode:e,auctionId:r,bidderRequestId:t,adUnits:_,labels:o}),auctionStart:n,timeout:i};a.bids&&0!==a.bids.length&&u.push(a)})),u},t.checkBidRequestSizes=function(e){return Array.prototype.forEach.call(e,(function(e){e.sizes&&p.logWarn("Usage of adUnits.sizes will eventually be deprecated.  Please define size dimensions within the corresponding area of the mediaTypes.<object> (eg mediaTypes.banner.sizes).");var t=e.mediaTypes;if(t&&t.banner){var n=t.banner;n.sizes?e.sizes=n.sizes:(p.logError("Detected a mediaTypes.banner object did not include sizes.  This is a required field for the mediaTypes.banner object.  Removing invalid mediaTypes.banner object from request."),delete e.mediaTypes.banner)}if(t&&t.video){var r=t.video;r.playerSize&&(Array.isArray(r.playerSize)&&2===r.playerSize.length&&p.isInteger(r.playerSize[0])&&p.isInteger(r.playerSize[1])?e.sizes=r.playerSize:(p.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 e.mediaTypes.video.playerSize))}if(t&&t.native){var i=t.native;i.image&&i.image.sizes&&!Array.isArray(i.image.sizes)&&(p.logError("Please use an array of sizes for native.image.sizes field.  Removing invalid mediaTypes.native.image.sizes property from request."),delete e.mediaTypes.native.image.sizes),i.image&&i.image.aspect_ratios&&!Array.isArray(i.image.aspect_ratios)&&(p.logError("Please use an array of sizes for native.image.aspect_ratios field.  Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete e.mediaTypes.native.image.aspect_ratios),i.icon&&i.icon.sizes&&!Array.isArray(i.icon.sizes)&&(p.logError("Please use an array of sizes for native.icon.sizes field.  Removing invalid mediaTypes.native.icon.sizes property from request."),delete e.mediaTypes.native.icon.sizes)}})),e},t.callBids=function(e,t,n,r){if(t.length){var o=(0,c.ajaxBuilder)(t[0].timeout),u=t.reduce((function(e,t){return e[Number(void 0!==t.src&&t.src===v.S2S.SRC)].push(t),e}),[[],[]]),d=i(u,2),s=d[0],f=d[1];if(f.length){var l=h.bidders,b=m[h.adapter],S=f[0].tid,E=f[0].adUnitsS2SCopy;if(b){var T={tid:S,ad_units:E};if(T.ad_units.length){var A=f.map((function(e){return e.start=(0,a.timestamp)(),e.doneCbCallCount=0,r(e.bidderRequestId)})),I=T.ad_units.reduce((function(e,t){return e.concat((t.bids||[]).reduce((function(e,t){return e.concat(t.bidder)}),[]))}),[]);p.logMessage("CALLING S2S HEADER BIDDERS ==== "+l.filter((function(e){return(0,g.default)(I,e)})).join(",")),f.forEach((function(e){y.emit(v.EVENTS.BID_REQUESTED,e)})),b.callBids(T,f,n,(function(){return A.forEach((function(e){return e()}))}),o)}}}s.forEach((function(e){e.start=(0,a.timestamp)();var t=m[e.bidderCode];if(t){p.logMessage("CALLING BIDDER ======= "+e.bidderCode),y.emit(v.EVENTS.BID_REQUESTED,e),e.doneCbCallCount=0;var i=r(e.bidderRequestId);t.callBids(e,n,i,o)}else p.logError("Adapter trying to be called which does not exist: "+e.bidderCode+" adaptermanager.callBids")}))}else p.logWarn("callBids executed with no bidRequests.  Were they filtered by labels or sizing?")},t.videoAdapters=[],t.registerBidAdapter=function(e,n){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,i=void 0===r?[]:r;e&&n?"function"==typeof e.callBids?(m[n]=e,(0,g.default)(i,"video")&&t.videoAdapters.push(n),(0,g.default)(i,"native")&&d.nativeAdapters.push(n)):p.logError("Bidder adaptor error for bidder code: "+n+"bidder must implement a callBids() function"):p.logError("bidAdaptor or bidderCode not specified")},t.aliasBidAdapter=function(e,n){var r,i;if(void 0===m[n]){var a=m[e];if(void 0===a)p.logError('bidderCode "'+e+'" is not an existing bidder.',"adaptermanager.aliasBidAdapter");else try{var u=void 0,c=(r=e,i=[],(0,g.default)(t.videoAdapters,r)&&i.push("video"),(0,g.default)(d.nativeAdapters,r)&&i.push("native"),i);if(a.constructor.prototype!=Object.prototype)(u=new a.constructor).setBidderCode(n);else{var f=a.getSpec();u=(0,s.newBidder)(o({},f,{code:n}))}this.registerBidAdapter(u,n,{supportedMediaTypes:c})}catch(t){p.logError(e+" bidder does not currently support aliasing.","adaptermanager.aliasBidAdapter")}}else p.logMessage('alias name "'+n+'" has been already specified.')},t.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code;t&&n?"function"==typeof t.enableAnalytics?(t.code=n,S[n]=t):p.logError('Prebid Error: Analytics adaptor error for analytics "'+n+'"\n        analytics adapter must implement an enableAnalytics() function'):p.logError("Prebid Error: analyticsAdapter or analyticsCode not specified")},t.enableAnalytics=function(e){p.isArray(e)||(e=[e]),p._each(e,(function(e){var t=S[e.provider];t?t.enableAnalytics(e):p.logError("Prebid Error: no analytics adapter found in registry for\n        "+e.provider+".")}))},t.getBidAdapter=function(e){return m[e]},t.setS2STestingModule=function(e){b=e}},50:function(e,t,n){var r=n(34);e.exports=function(e){return Object(r(e))}},51:function(e,t,n){var r=n(52);e.exports=function(e,t){return new(r(e))(t)}},52:function(e,t,n){var r=n(18),i=n(53),o=n(54)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},53:function(e,t,n){var r=n(33);e.exports=Array.isArray||function(e){return"Array"==r(e)}},54:function(e,t,n){var r=n(55)("wks"),i=n(56),o=n(16).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},55:function(e,t,n){var r=n(16),i="__core-js_shared__",o=r[i]||(r[i]={});e.exports=function(e){return o[e]||(o[e]={})}},56:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},57:function(e,t,n){"use strict";var r=n(21),i=n(58)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(23)("includes")},58:function(e,t,n){var r=n(59),i=n(35),o=n(60);e.exports=function(e){return function(t,n,a){var u,d=r(t),s=i(d.length),c=o(a,s);if(e&&n!=n){for(;s>c;)if((u=d[c++])!=u)return!0}else for(;s>c;c++)if((e||c in d)&&d[c]===n)return e||c||0;return!e&&-1}}},59:function(e,t,n){var r=n(32),i=n(34);e.exports=function(e){return r(i(e))}},6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ajax=void 0;var 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},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};t.ajaxBuilder=d;var o=n(13),a=n(0),u=4;t.ajax=d();function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3;return function(t,n,d){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var c=void 0,f=!1,l=s.method||(d?"POST":"GET"),g="object"===(void 0===n?"undefined":i(n))?n:{success:function(){a.logMessage("xhr success")},error:function(e){a.logError("xhr error",null,e)}};if("function"==typeof n&&(g.success=n),window.XMLHttpRequest?void 0===(c=new window.XMLHttpRequest).responseType&&(f=!0):f=!0,f?((c=new window.XDomainRequest).onload=function(){g.success(c.responseText,c)},c.onerror=function(){g.error("error",c)},c.ontimeout=function(){g.error("timeout",c)},c.onprogress=function(){a.logMessage("xhr onprogress")}):(c.onreadystatechange=function(){if(c.readyState===u){var e=c.status;e>=200&&e<300||304===e?g.success(c.responseText,c):g.error(c.statusText,c)}},c.ontimeout=function(){a.logError("  xhr timeout after ",c.timeout,"ms")}),"GET"===l&&d){var p=(0,o.parse)(t,s);r(p.search,d),t=(0,o.format)(p)}c.open(l,t),c.timeout=e,f||(s.withCredentials&&(c.withCredentials=!0),a._each(s.customHeaders,(function(e,t){c.setRequestHeader(t,e)})),s.preflight&&c.setRequestHeader("X-Requested-With","XMLHttpRequest"),c.setRequestHeader("Content-Type",s.contentType||"text/plain")),"POST"===l&&d?c.send(d):c.send()}catch(e){a.logError("xhr construction",e)}}}},60:function(e,t,n){var r=n(36),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},61: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}},62:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.setSizeConfig=s,t.resolveStatus=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.labels,n=void 0===t?[]:t,i=e.labelAll,o=void 0!==i&&i,a=e.activeLabels,s=void 0===a?[]:a,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],f=(g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d,g.reduce((function(e,t){return"object"===(void 0===t?"undefined":r(t))&&"string"==typeof t.mediaQuery&&matchMedia(t.mediaQuery).matches&&(Array.isArray(t.sizesSupported)&&(e.shouldFilter=!0),["labels","sizesSupported"].forEach((function(n){return(t[n]||[]).forEach((function(t){return e[n][t]=!0}))}))),e}),{labels:{},sizesSupported:{},shouldFilter:!1})),l=void 0;var g;l=f.shouldFilter?c.filter((function(e){return f.sizesSupported[e]})):c;return{active:l.length>0&&(0===n.length||!o&&(n.some((function(e){return f.labels[e]}))||n.some((function(e){return(0,u.default)(s,e)})))||o&&n.reduce((function(e,t){return e?f.labels[t]||(0,u.default)(s,t):e}),!0)),sizes:l}};var i,o=n(2),a=n(8),u=(i=a)&&i.__esModule?i:{default:i};var d=[];function s(e){d=e}o.config.getConfig("sizeConfig",(function(e){return s(e.sizeConfig)}))},63:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasNonVideoBidder=t.videoBidder=t.videoAdUnit=void 0,t.isValidVideoBid=function(e,t){var n=(0,o.getBidRequest)(e.adId,t),r=n&&(0,o.deepAccess)(n,"mediaTypes.video"),i=r&&(0,o.deepAccess)(r,"context");if(!n||r&&i!==s)return a.config.getConfig("cache.url")||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):((0,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);if(i===s)return!(!e.renderer&&!n.renderer);return!0};var r,i=n(5),o=n(0),a=n(2),u=n(8),d=(r=u)&&r.__esModule?r:{default:r};var s="outstream",c=(t.videoAdUnit=function(e){var t="video"===e.mediaType,n=(0,o.deepAccess)(e,"mediaTypes.video");return t||n},t.videoBidder=function(e){return(0,d.default)(i.videoAdapters,e.bidder)});t.hasNonVideoBidder=function(e){return e.bids.filter((function(e){return!c(e)})).length}},8:function(e,t,n){n(57),e.exports=n(17).Array.includes},9:function(e,t,n){"use strict";var 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},i=n(0),o=n(3),a=Array.prototype.slice,u=Array.prototype.push,d=i._map(o.EVENTS,(function(e){return e})),s=o.EVENT_ID_PATHS,c=[];e.exports=(function(){var e={},t={};return t.on=function(t,n,r){if(a=t,i.contains(d,a)){var o=e[t]||{que:[]};r?(o[r]=o[r]||{que:[]},o[r].que.push(n)):o.que.push(n),e[t]=o}else i.logError("Wrong event name : "+t+" Valid event names :"+d);var a},t.emit=function(t){!(function(t,n){i.logMessage("Emitting event for: "+t);var r=n[0]||{},o=r[s[t]],a=e[t]||{que:[]},d=i._map(a,(function(e,t){return t})),f=[];c.push({eventType:t,args:r,id:o}),o&&i.contains(d,o)&&u.apply(f,a[o].que),u.apply(f,a.que),i._each(f,(function(e){if(e)try{e.apply(null,n)}catch(e){i.logError("Error executing handler:","events.js",e)}}))})(t,a.call(arguments,1))},t.off=function(t,n,r){var o=e[t];i.isEmpty(o)||i.isEmpty(o.que)&&i.isEmpty(o[r])||r&&(i.isEmpty(o[r])||i.isEmpty(o[r].que))||(r?i._each(o[r].que,(function(e){var t=o[r].que;e===n&&t.splice(i.indexOf.call(t,e),1)})):i._each(o.que,(function(e){var t=o.que;e===n&&t.splice(i.indexOf.call(t,e),1)})),e[t]=o)},t.get=function(){return e},t.getEvents=function(){var e=[];return i._each(c,(function(t){var n=r({},t);e.push(n)})),e},t})()},94:function(e,t,n){"use strict";var r=n(21),i=n(31)(6),o="findIndex",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(23)(o)}});
  pbjsChunk([85],{39:function(t,e,i){i(40),t.exports=i(64)},40:function(t,e,i){"use strict";var d=i(12),r=i(1).registerBidder,s=i(2).config,n="33across",a="https://ssc.33across.com/api/v1/hb",o="https://de.tynt.com/deb/v2?m=xch";function c(t){var e={},i=t.params;e.imp=[],e.imp[0]={banner:{format:t.sizes.map(u)},ext:{ttx:{prod:i.productId}}},e.site={id:i.siteId},e.id=t.bidId,1===i.test&&(e.test=1);var d=s.getConfig("ttxSettings");return{method:"POST",url:d&&d.url||a,data:JSON.stringify(e),options:{contentType:"application/json",withCredentials:!1}}}function u(t){return{w:t[0],h:t[1],ext:{}}}var p={code:n,isBidRequestValid:function(t){return t.bidder===n&&void 0!==t.params&&void 0!==t.params.siteId&&void 0!==t.params.productId},buildRequests:function(t){return t.map(c)},interpretResponse:function(t,e){e&&e.data&&(function(t){var e=void 0;try{e=JSON.parse(t)}catch(t){return}var i=s.getConfig("ttxSettings"),r=i&&i.syncUrl||o;r=r+"&id="+e.site.id,d.userSync.registerSync("iframe",n,r)})(e.data);var i,r=[];return t.body.seatbid.length>0&&t.body.seatbid[0].bid.length>0&&r.push({requestId:(i=t.body).id,bidderCode:n,cpm:i.seatbid[0].bid[0].price,width:i.seatbid[0].bid[0].w,height:i.seatbid[0].bid[0].h,ad:i.seatbid[0].bid[0].adm,ttl:i.seatbid[0].bid[0].ttl||60,creativeId:i.seatbid[0].bid[0].crid,currency:i.cur,netRevenue:!0}),r}};r(p),t.exports=p},64:function(t,e){}},[39]);
  pbjsChunk([84],{65:function(e,r,n){n(66),e.exports=n(67)},66:function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var i=n(1),t=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r.default=e,r}})(n(0));function o(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}var u=r.spec={code:"a4g",isBidRequestValid:function(e){return e.params&&!!e.params.zoneId},buildRequests:function(e){var r,n="",i="",u=[],a=[],d=[];return t._each(e,(function(e){n||"string"!=typeof e.params.deliveryUrl||(n=e.params.deliveryUrl),i||(i=e.bidId),u.push(e.placementCode),a.push(e.sizes.map((function(e){return e.join("x")})).join(",")),d.push(e.params.zoneId)})),n||(n="//ads.ad4game.com/v1/bid"),{method:"GET",url:n,bidId:i,data:(r={},o(r,"if",0),o(r,"siteurl",t.getTopWindowUrl()),o(r,"size",a.join(";")),o(r,"id",u.join(";")),o(r,"zoneId",d.join(";")),r)}},interpretResponse:function(e,r){var n=[];return t._each(e.body,(function(e){var i={requestId:r.bidId,cpm:e.cpm,width:e.width,height:e.height,creativeId:e.zoneid,currency:"USD",netRevenue:!0,ttl:120,ad:e.ad};n.push(i)})),n}};(0,i.registerBidder)(u)},67:function(e,r){}},[65]);
  pbjsChunk([83],{68:function(e,t,r){r(69),e.exports=r(70)},69:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var a=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),n=r(2),d=r(1);var o=t.spec={code:"adbutler",pageID:Math.floor(1e7*Math.random()),isBidRequestValid:function(e){return!(!e.params.accountID||!e.params.zoneID)},buildRequests:function(e){var t,r,n,d,i,s,c,p=[],u={};for(t=0;t<e.length;t++)n=e[t],r=a.getBidIdParameter("zoneID",n.params),d=a.getBidIdParameter("accountID",n.params),i=a.getBidIdParameter("keyword",n.params),s=a.getBidIdParameter("domain",n.params),r in u||(u[r]=0),void 0!==s&&0!==s.length||(s="servedbyadbutler.com"),c=location.protocol+"//"+s+"/adserve/;type=hbr;",c+="ID="+encodeURIComponent(d)+";",c+="setID="+encodeURIComponent(r)+";",c+="pid="+encodeURIComponent(o.pageID)+";",c+="place="+encodeURIComponent(u[r])+";",""!==i&&(c+="kw="+encodeURIComponent(i)+";"),u[r]++,p.push({method:"GET",url:c,data:{},bidRequest:n});return p},interpretResponse:function(e,t){var r,d,i,s,c,p=t.bidRequest,u=[],m={},l=!1,I=!0;return(e=e.body)&&"SUCCESS"===e.status&&p&&(r=e.cpm,d=a.getBidIdParameter("minCPM",p.params),i=a.getBidIdParameter("maxCPM",p.params),s=parseInt(e.width),c=parseInt(e.height),""!==d&&r<parseFloat(d)&&(I=!1),""!==i&&r>parseFloat(i)&&(I=!1),a._each(p.sizes,(function(e){s===e[0]&&c===e[1]&&(l=!0)})),I&&l&&(m.requestId=p.bidId,m.bidderCode=o.code,m.creativeId=e.placement_id,m.cpm=r,m.width=s,m.height=c,m.ad=e.ad_code,m.ad+=o.addTrackingPixels(e.tracking_pixels),m.currency="USD",m.netRevenue=!0,m.ttl=n.config.getConfig("_bidderTimeout"),m.referrer=a.getTopWindowUrl(),u.push(m))),u},addTrackingPixels:function(e){var t="";return a._each(e,(function(e){var r='<img height="0" width="0" border="0" style="display:none;" src="';r+=e,t+=r+='">'})),t}};(0,d.registerBidder)(o)},70:function(e,t){}},[68]);
  pbjsChunk([82],{71:function(e,n,r){r(72),e.exports=r(73)},72:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.spec=void 0;var t=r(1),i=n.spec={code:"adform",isBidRequestValid:function(e){return!!e.params.mid},buildRequests:function(e){var n,r,t,i,d,s,o,a,u=[],c=[["adxDomain","adx.adform.net"],["fd",1],["url",null],["tid",null]],p="net",h=JSON.parse(JSON.stringify(e));for(n=0,r=h.length;n<r;n++){for("gross"===(d=h[n]).params.priceType&&(p="gross"),t=0,i=c.length;t<i;t++)(o=d[s=c[t][0]]||d.params[s])&&(d[s]=d.params[s]=null,c[t][1]=o);(a=d.params).transactionId=d.transactionId,u.push(f(a))}for(u.unshift("//"+c[0][1]+"/adx/?rp=4"),u.push("stid="+e[0].auctionId),n=1,r=c.length;n<r;n++)s=c[n][0],(o=c[n][1])&&u.push(s+"="+encodeURIComponent(o));return{method:"GET",url:u.join("&"),bids:e,netRevenue:p,bidder:"adform"};function f(e){var n,r=[];for(n in e)e.hasOwnProperty(n)&&e[n]&&r.push(n,"=",e[n],"&");return encodeURIComponent(btoa(r.join("").slice(0,-1)))}},interpretResponse:function(e,n){for(var r,t,i,d=[],s=n.bids,o=e.body,a=0;a<o.length;a++)t=o[a],i=s[a],"banner"===t.response&&u(t,i.sizes)&&(r={requestId:i.bidId,cpm:t.win_bid,width:t.width,height:t.height,creativeId:i.bidId,dealId:t.deal_id,currency:t.win_cur,netRevenue:"gross"!==n.netRevenue,ttl:360,ad:t.banner,bidderCode:n.bidder,transactionId:i.transactionId},d.push(r));return d;function u(e,n){for(var r=0,t=n.length;r<t;r++)if(e.width===n[r][0]&&e.height===n[r][1])return!0;return!1}}};(0,t.registerBidder)(i)},73:function(e,n){}},[71]);
  pbjsChunk([81],{74:function(e,t,r){r(75),e.exports=r(76)},75:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var a=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),i=r(1),n=r(4);var d=t.spec={code:"adgeneration",aliases:["adg"],supportedMediaTypes:[n.BANNER,n.NATIVE],isBidRequestValid:function(e){return!!e.params.id},buildRequests:function(e){for(var t=[],r=0,i=e.length;r<i;r++){var n=e[r],d=n.params.debug?"http://api-test.scaleout.jp/adsv/v1":"https://d.socdm.com/adsv/v1",s="";s=a.tryAppendQueryString(s,"posall","SSPLOC");var u=a.getBidIdParameter("id",n.params);s=a.tryAppendQueryString(s,"id",u),s=a.tryAppendQueryString(s,"sdktype","0"),s=a.tryAppendQueryString(s,"hb","true"),s=a.tryAppendQueryString(s,"t","json3"),s=a.tryAppendQueryString(s,"transactionid",n.transactionId),n.mediaTypes&&n.mediaTypes.native||(s=a.tryAppendQueryString(s,"imark","1")),s.lastIndexOf("&")===s.length-1&&(s=s.substring(0,s.length-1)),t.push({method:"GET",url:d,data:s,bidRequest:e[r]})}return t},interpretResponse:function(e,t){var r=e.body,i=[],d={};if(r.results&&r.results.length>0){var c={requestId:(d=t.bidRequest).bidId,cpm:r.cpm||0,width:d.sizes[0][0],height:d.sizes[0][1],creativeId:r.creativeid||"",dealId:r.dealid||"",currency:"JPY",netRevenue:!0,ttl:r.ttl||10,referrer:a.getTopWindowUrl()};d.mediaTypes&&d.mediaTypes.native?(c.native=(function(e){var t={};if(e.native_ad&&e.native_ad.assets.length>0){for(var r=e.native_ad.assets,a=0,i=r.length;a<i;a++)switch(r[a].id){case 1:t.title=r[a].title.text;break;case 2:t.image={url:r[a].img.url,height:r[a].img.h,width:r[a].img.w};break;case 3:t.icon={url:r[a].img.url,height:r[a].img.h,width:r[a].img.w};break;case 4:t.sponsoredBy=r[a].data.value;break;case 5:t.body=r[a].data.value;break;case 6:t.cta=r[a].data.value}t.clickUrl=e.native_ad.link.url,t.clickTrackers=e.native_ad.link.clicktrackers||[],t.impressionTrackers=e.native_ad.imptrackers||[]}return t})(r),c.mediaType=n.NATIVE):c.ad=(function(e,t){var r=e.ad;e.vastxml&&e.vastxml.length>0&&(r='<div id="apvad-'+t.bidId+'"></div>'+s(r,((c=document.createElement("script")).type="text/javascript",c.id="apv",c.src="https://cdn.apvdr.com/js/VideoAd.min.js",c.outerHTML+(a=t.bidId,i=e.vastxml,n={s:a},(d=document.createElement("script")).type="text/javascript",d.innerHTML="(function(){ new APV.VideoAd("+JSON.stringify(n)+").load('"+i.replace(/\r?\n/g,"")+"'); })();",d.outerHTML))));var a,i,n,d;var c;return u(r=s(r,e.beacon))?u(r):r})(r,d),i.push(c)}return i},getUserSyncs:function(e,t){return[]}};function s(e,t){return e.replace(/<\/\s?body>/,t+"</body>")}function u(e){var t=e.indexOf("<body>"),r=e.lastIndexOf("</body>");return-1!==t&&-1!==r&&e.substr(t,r).replace("<body>","").replace("</body>","")}(0,i.registerBidder)(d)},76:function(e,t){}},[74]);
  pbjsChunk([0],{7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){var t,n=e.url,a=e.analyticsType,o=e.global,i=e.handler,N=[],S=0,w=!0;a===E&&(0,u.loadScript)(n,A);(a===b||_)&&A();return{track:function(e){var t=e.eventType,r=e.args;(this.getAdapterType()===E||_)&&window[o](i,t,r);this.getAdapterType()===b&&function(e){var t=e.eventType,r=e.args,a=e.callback;(0,c.ajax)(n,a,JSON.stringify({eventType:t,args:r}))}.apply(void 0,arguments)},enqueue:O,enableAnalytics:function(e){var n=this,a=this;I="object"!==(void 0===e?"undefined":r(e))||"object"!==r(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling));if(I){var i;l.getEvents().forEach((function(e){if(e){var t=e.eventType,n=e.args;t!==v&&O.call(a,{eventType:t,args:n})}})),s(i={},g,(function(e){return n.enqueue({eventType:g,args:e})})),s(i,y,(function(e){return n.enqueue({eventType:y,args:e})})),s(i,v,(function(e){return n.enqueue({eventType:v,args:e})})),s(i,T,(function(e){return n.enqueue({eventType:T,args:e})})),s(i,m,(function(e){return n.enqueue({eventType:m,args:e})})),s(i,h,(function(e){return n.enqueue({eventType:h,args:e})})),s(i,p,(function(e){return n.enqueue({eventType:p,args:e})})),s(i,d,(function(t){t.config=e.options,n.enqueue({eventType:d,args:t})})),t=i,f._each(t,(function(e,t){l.on(t,e)}))}else f.logMessage('Analytics adapter for "'+o+'" disabled by sampling');this.enableAnalytics=function(){return f.logMessage('Analytics adapter for "'+o+'" already enabled, unnecessary call to `enableAnalytics`.')}},disableAnalytics:function(){f._each(t,(function(e,t){l.off(t,e)}))},getAdapterType:function(){return a},getGlobal:function(){return o},getHandler:function(){return i},getUrl:function(){return n}};function O(e){var t=e.eventType,n=e.args,r=this;o&&window[o]&&t&&n?this.track({eventType:t,args:n}):N.push((function(){S++,r.track({eventType:t,args:n})}))}function A(){if(w){for(var e=0;e<N.length;e++)N[e]();N.push=function(e){e()},w=!1}f.logMessage("event count sent to "+o+": "+S)}};var a,o=n(3),i=(a=o)&&a.__esModule?a:{default:a},u=n(10),c=n(6);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=n(9),f=n(0),d=i.default.EVENTS.AUCTION_INIT,p=i.default.EVENTS.AUCTION_END,g=i.default.EVENTS.BID_REQUESTED,v=i.default.EVENTS.BID_TIMEOUT,y=i.default.EVENTS.BID_RESPONSE,T=i.default.EVENTS.BID_WON,m=i.default.EVENTS.BID_ADJUSTMENT,h=i.default.EVENTS.SET_TARGETING,E="library",b="endpoint",_="bundle",I=!0},77:function(e,t,n){n(78),e.exports=n(79)},78:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.storage=void 0;var r=(function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(a)throw o}}return n})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),a=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};t.getUmtSource=D,t.ExpiringQueue=U;var o=f(n(7)),i=f(n(3)),u=f(n(5)),c=n(13),s=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0)),l=n(6);function f(e){return e&&e.__esModule?e:{default:e}}var d="1.0.0",p={AUCTION_INIT:"auctionInit",BID_REQUEST:"bidRequested",BID_RESPONSE:"bidResponse",BID_WON:"bidWon",AUCTION_END:"auctionEnd",TIMEOUT:"adapterTimedOut"};var g=a((0,o.default)({analyticsType:"endpoint"}),{track:function(e){var t=e.eventType,n=e.args;if(g.context){var r=null;switch(t){case i.default.EVENTS.AUCTION_INIT:g.context.queue&&g.context.queue.init(),r=y;break;case i.default.EVENTS.BID_REQUESTED:r=T;break;case i.default.EVENTS.BID_RESPONSE:r=m;break;case i.default.EVENTS.BID_WON:r=h;break;case i.default.EVENTS.BID_TIMEOUT:r=b;break;case i.default.EVENTS.AUCTION_END:r=E}if(r){var a=r(n);g.context.queue&&g.context.queue.push(a),t===i.default.EVENTS.AUCTION_END&&v()}}}});function v(){var e=g.context.queue.popAll();if(0!==e.length){var t=a({},g.context.requestTemplate,{hb_ev:e});(0,l.ajax)("//"+g.context.host+"/hb-analytics",(function(){}),JSON.stringify(t))}}function y(){return g.context.auctionTimeStart=Date.now(),[_(void 0,p.AUCTION_INIT)]}function T(e){return e.bids.map((function(t){return _(e.bidderCode,p.BID_REQUEST,t.placementCode)}))}function m(e){return[_(e.bidderCode,p.BID_RESPONSE,e.adUnitCode,e.cpm,e.timeToRespond/1e3)]}function h(e){return[_(e.bidderCode,p.BID_WON,e.adUnitCode,e.cpm)]}function E(e){return[_(void 0,p.AUCTION_END,void 0,void 0,(Date.now()-g.context.auctionTimeStart)/1e3)]}function b(e){return e.map((function(e){return _(e,p.TIMEOUT)}))}function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o={event:t};return e&&(o.adapter=e),n&&(o.tagid=n),r&&(o.val=r),a&&(o.time=a),o}g.context={},g.originEnableAnalytics=g.enableAnalytics,g.enableAnalytics=function(e){var t,n,r,a;e.options.pubId?(g.context={host:e.options.host||"tag.adkernel.com",pubId:e.options.pubId,requestTemplate:(t=e.options.pubId,n=s.getTopWindowUrl(),r=s.getTopWindowReferrer(),a=s.getTopWindowLocation(),{ver:d,domain:a.hostname,path:a.pathname,accId:t,env:{screen:{w:window.screen.width,h:window.screen.height},lang:navigator.language},src:D(n,r)}),queue:new U(v,e.options.queueTimeout||4e3)},g.originEnableAnalytics(e)):s.logError("PubId is not defined. Analytics won't work")},u.default.registerAnalyticsAdapter({adapter:g,code:"adkernelAdn"}),t.default=g;var I=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","utm_c1","utm_c2","utm_c3","utm_c4","utm_c5"],N="adk_dpt_analytics",S="(direct)",w="(referral)",O="(organic)",A=t.storage={getItem:function(e){return localStorage.getItem(e)},setItem:function(e,t){localStorage.setItem(e,t)}};function D(e,t){var n,a,o=(function(e,t){if(p(e)<p(t))return[!0,t];{if(p(e)>p(t))return[!1,e];if(e.campaign===w&&e.content!==t.content)return[!0,t];if(e.campaign===O&&e.source!==t.source)return[!0,t];if(-1===[S,w,O].indexOf(e.campaign)&&(e.campaign!==t.campaign||e.source!==t.source))return[!0,t]}return[!1,e]})(function(){var e=A.getItem(N);if(!e)return f();return JSON.parse(e)}(),(function(e,t){var n=(function(e){var t=(0,c.parse)(e).search;if(!t.utm_campaign||!t.utm_source)return;var n=[];return s._each(I,(function(e){var r=t[e]||"";n.push(r)})),d.apply(this,n)})(e);if(n)return n;if(t){var a=(function(e){var t={google:/^https?\:\/\/(?:www\.)?(?:google\.(?:com?\.)?(?:com|cat|[a-z]{2})|g.cn)\//i,yandex:/^https?\:\/\/(?:www\.)?ya(?:ndex\.(?:com|net)?\.?(?:asia|mobi|org|[a-z]{2})?|\.ru)\//i,bing:/^https?\:\/\/(?:www\.)?bing\.com\//i,duckduckgo:/^https?\:\/\/(?:www\.)?duckduckgo\.com\//i,ask:/^https?\:\/\/(?:www\.)?ask\.com\//i,yahoo:/^https?\:\/\/(?:[-a-z]+\.)?(?:search\.)?yahoo\.com\//i};for(var n in t)if(t.hasOwnProperty(n)&&t[n].test(e))return n})(t);if(a)return d(a,O,O);var o=(0,c.parse)(e),i=(g=t,[(v=(0,c.parse)(g)).hostname,v.pathname]),u=r(i,2),l=u[0],p=u[1];if(l&&l!==o.hostname)return d(l,w,w,"",p)}var g,v;return f()})(e,t)),i=r(o,2),u=i[0],l=i[1];return u&&(n=l,a=JSON.stringify(n),A.setItem(N,a)),l;function f(){return d(S,S,S)}function d(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"",u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"",c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:"",s=arguments.length>9&&void 0!==arguments[9]?arguments[9]:"",l={source:e,medium:t,campaign:n};return r&&(l.term=r),a&&(l.content=a),o&&(l.c1=o),i&&(l.c2=i),u&&(l.c3=u),c&&(l.c4=c),s&&(l.c5=s),l}function p(e){switch(e.campaign){case S:return 0;case O:return 1;case w:return 2;default:return 3}}}function U(e,t){var n=[],r=void 0;function a(){r&&clearTimeout(r),r=setTimeout((function(){n.length&&e()}),t)}this.push=function(e){e instanceof Array?n.push.apply(n,e):n.push(e),a()},this.popAll=function(){var e=n;return n=[],a(),e},this.peekAll=function(){return n},this.init=a}},79:function(e,t){}},[77]);
  pbjsChunk([80],{80:function(e,t,r){r(81),e.exports=r(82)},81:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var i,n=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),a=r(1),o=r(4),d=r(8),s=(i=d)&&i.__esModule?i:{default:i};var u=["mimes","protocols","api"],p=["video/mp4","video/webm","application/x-shockwave-flash","application/javascript"],c=[2,3,5,6],f=[1,2];function l(e){var t=e.sizes,r={id:e.bidId,tagid:e.placementCode};return"video"===e.mediaType||n.deepAccess(e,"mediaTypes.video")?(r.video={w:t[0],h:t[1],mimes:p,protocols:c,api:f},e.params.video&&Object.keys(e.params.video).filter((function(e){return(0,s.default)(u,e)})).forEach((function(t){return r.video[t]=e.params.video[t]}))):r.banner={format:n.parseSizesInput(e.sizes)},r}function m(e){var t={requestId:e.impid,bidderCode:v.code,cpm:e.bid,width:e.w,height:e.h,creativeId:e.crid,currency:"USD",ttl:720,netRevenue:!0};return e.tag?(t.ad="<!DOCTYPE html><html><head><title></title><body style='margin:0px;padding:0px;'>"+e.tag+"</body></head>",t.mediaType=o.BANNER):e.vast_url&&(t.vastUrl=e.vast_url,t.mediaType=o.VIDEO),t}var v=t.spec={code:"adkernelAdn",supportedMediaTypes:[o.BANNER,o.VIDEO],isBidRequestValid:function(e){return"params"in e&&(void 0===e.params.host||"string"==typeof e.params.host)&&"number"==typeof e.params.pubId},buildRequests:function(e){var t=void 0,r=void 0,i=e.map(l).reduce((function(i,n,a){var o=e[a],d=o.params.pubId,s=o.params.host||"tag.adkernel.com";return i[s]=i[s]||{},i[s][d]=i[s][d]||[],i[s][d].push(n),t=o.transactionId,r=o.bidderRequestId,i}),{}),a=[];return Object.keys(i).forEach((function(e){Object.keys(i[e]).forEach((function(o){var d,s,u,p,c=(d=r,s=t,u=i[e][o],p=n.getTopWindowLocation(),{id:d,tid:s,site:{page:p.href,ref:n.getTopWindowReferrer(),secure:~~("https:"===p.protocol)},imp:u});a.push({method:"POST",url:"//"+e+"/tag?account="+o+"&pb=1"+(-1!==n.getTopWindowLocation().href.indexOf("adk_debug=true")?"&debug=1":""),data:JSON.stringify(c)})}))})),a},interpretResponse:function(e){var t=e.body;return t.tags?(t.debug&&n.logInfo("ADKERNEL DEBUG:\n"+t.debug),t.tags.map(m)):[]},getUserSyncs:function(e,t){return e.iframeEnabled&&t&&0!==t.length?t.filter((function(e){return"syncpages"in e.body})).map((function(e){return e.body.syncpages})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){return{type:"iframe",url:e}})):[]}};(0,a.registerBidder)(v)},82:function(e,t){}},[80]);
  pbjsChunk([79],{83:function(e,t,r){r(84),e.exports=r(85)},84:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var n=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),a=r(4),i=r(1),o=u(r(11)),d=u(r(8));function u(e){return e&&e.__esModule?e:{default:e}}var c=["mimes","minduration","maxduration","protocols","startdelay","linearity","boxingallowed","playbackmethod","delivery","pos","api","ext"],s=t.spec={code:"adkernel",aliases:["headbidding"],supportedMediaTypes:[a.BANNER,a.VIDEO],isBidRequestValid:function(e){return"params"in e&&void 0!==e.params.host&&"zoneId"in e.params&&!isNaN(Number(e.params.zoneId))},buildRequests:function(e){var t=void 0,r=e.map(p).reduce((function(r,n,a){var i=e[a],o=i.params.zoneId,d=i.params.host;return r[d]=r[d]||{},r[d][o]=r[d][o]||[],r[d][o].push(n),t=i.bidderRequestId,r}),{}),a=[];return Object.keys(r).forEach((function(e){Object.keys(r[e]).forEach((function(i){var o=(function(e,t){var r={id:t,imp:e,site:(i=n.getTopWindowLocation(),{domain:i.hostname,page:i.href.split("?")[0]}),at:1,device:{ip:"caller",ua:"caller",js:1,language:(a=navigator.language?"language":"userLanguage",navigator[a].split("-")[0])},ext:{adk_usersync:1}};var a;var i;n.getDNT()&&(r.device.dnt=1);return r})(r[e][i],t);a.push({method:"GET",url:window.location.protocol+"//"+e+"/rtbg",data:{zone:Number(i),ad_type:"rtb",v:"1.1",r:JSON.stringify(o)}})}))})),a},interpretResponse:function(e,t){var r=e.body;if(!r.seatbid)return[];var i=JSON.parse(t.data.r).imp;return r.seatbid.map((function(e){return e.bid})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){var t=(0,o.default)(i,(function(t){return t.id===e.impid})),r={requestId:e.impid,cpm:e.price,creativeId:e.crid,currency:"USD",ttl:360,netRevenue:!0};return"banner"in t&&(r.mediaType=a.BANNER,r.width=e.w,r.height=e.h,r.ad=(function(e){var t=e.adm;"nurl"in e&&(t+=n.createTrackPixelHtml(e.nurl+"&px=1"));return"<!DOCTYPE html><html><head><title></title><body style='margin:0px;padding:0px;'>"+t+"</body></head>"})(e)),"video"in t&&(r.mediaType=a.VIDEO,r.vastUrl=e.nurl,r.width=t.video.w,r.height=t.video.h),r}))},getUserSyncs:function(e,t){return e.iframeEnabled&&t&&0!==t.length?t.filter((function(e){return e.body&&e.body.ext&&e.body.ext.adk_usersync})).map((function(e){return e.body.ext.adk_usersync})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){return{type:"iframe",url:e}})):[]}};function p(e){var t=e.sizes,r={id:e.bidId,tagid:e.placementCode};return"video"===e.mediaType?(r.video={w:t[0],h:t[1]},e.params.video&&Object.keys(e.params.video).filter((function(e){return(0,d.default)(c,e)})).forEach((function(t){return r.video[t]=e.params.video[t]}))):r.banner={format:t.map((function(e){return{w:e[0],h:e[1]}})),topframe:0},"https:"===n.getTopWindowLocation().protocol&&(r.secure=1),r}(0,i.registerBidder)(s)},85:function(e,t){}},[83]);
  pbjsChunk([78],{86:function(e,r,t){t(87),e.exports=t(88)},87:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var n=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),i=t(1);var a="admixer",d=r.spec={code:a,aliases:[],supportedMediaTypes:["banner","video"],isBidRequestValid:function(e){return!!e.params.zone},buildRequests:function(e){var r={imps:[],referrer:n.getTopWindowUrl()};return e.forEach((function(e){e.bidder===a&&r.imps.push(e)})),{method:"GET",url:"//inv-nets.admixer.net/prebid.1.0.aspx",data:"data="+JSON.stringify(r)}},interpretResponse:function(e,r){var t=[];try{(e=e.body).forEach((function(e){var r={requestId:e.bidId,cpm:e.cpm,width:e.width,height:e.height,ad:e.ad,ttl:e.ttl,creativeId:e.creativeId,netRevenue:e.netRevenue,currency:e.currency,vastUrl:e.vastUrl};t.push(r)}))}catch(e){n.logError(e)}return t}};(0,i.registerBidder)(d)},88:function(e,r){}},[86]);
  pbjsChunk([77],{89:function(e,r,n){n(90),e.exports=n(91)},90:function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var t=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r.default=e,r}})(n(0)),a=n(1);function i(e,r){var n,a,i,s=e[0],u={id:r},c={};return t._each(e,(function(e){c[e.params.slaveId]=e.bidId})),{method:"GET",url:(n=s.params.emiter,a=u,i="",t._each(a,(function(e,r){i.length&&(i+="&"),i+=r+"="+encodeURIComponent(e)})),"https://"+n+"/ad.json?"+i),data:{},bidIdMap:c}}var s=r.spec={code:"adocean",isBidRequestValid:function(e){return!!(e.params.slaveId&&e.params.masterId&&e.params.emiter)},buildRequests:function(e){var r={};return t._each(e,(function(e){var n,t,a;t=r,a=(n=e).params.masterId,t[a]=t[a]||[],t[a].push(n)})),t._map(r,(function(e,r){return i(e,r)}))},interpretResponse:function(e,r){var n=[];return t.isArray(e.body)&&t._each(e.body,(function(e){!(function(e,r,n){if(!e.error){var t='<script type="application/javascript">(function(){var wu="'+(e.winUrl||"")+'",su="'+(e.statsUrl||"")+'".replace(/\\[TIMESTAMP\\]/,(new Date()).getTime());';t+="if(navigator.sendBeacon){if(wu){navigator.sendBeacon(wu)||((new Image(1,1)).src=wu)};if(su){navigator.sendBeacon(su)||((new Image(1,1)).src=su)}}",t+="else{if(wu){(new Image(1,1)).src=wu;}if(su){(new Image(1,1)).src=su;}}",t+="})();<\/script>";var a={ad:t+=decodeURIComponent(e.code),cpm:parseFloat(e.price),currency:e.currency,height:parseInt(e.height,10),requestId:r.bidIdMap[e.id],width:parseInt(e.width,10),netRevenue:!1,ttl:parseInt(e.ttl),creativeId:e.crid};n.push(a)}})(e,r,n)})),n}};(0,a.registerBidder)(s)},91:function(e,r){}},[89]);
  pbjsChunk([76],{7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){var t,n=e.url,a=e.analyticsType,i=e.global,o=e.handler,C=[],I=0,A=!0;a===h&&(0,u.loadScript)(n,w);(a===m||N)&&w();return{track:function(e){var t=e.eventType,r=e.args;(this.getAdapterType()===h||N)&&window[i](o,t,r);this.getAdapterType()===m&&function(e){var t=e.eventType,r=e.args,a=e.callback;(0,s.ajax)(n,a,JSON.stringify({eventType:t,args:r}))}.apply(void 0,arguments)},enqueue:_,enableAnalytics:function(e){var n=this,a=this;S="object"!==(void 0===e?"undefined":r(e))||"object"!==r(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling));if(S){var o;d.getEvents().forEach((function(e){if(e){var t=e.eventType,n=e.args;t!==y&&_.call(a,{eventType:t,args:n})}})),c(o={},v,(function(e){return n.enqueue({eventType:v,args:e})})),c(o,E,(function(e){return n.enqueue({eventType:E,args:e})})),c(o,y,(function(e){return n.enqueue({eventType:y,args:e})})),c(o,b,(function(e){return n.enqueue({eventType:b,args:e})})),c(o,g,(function(e){return n.enqueue({eventType:g,args:e})})),c(o,T,(function(e){return n.enqueue({eventType:T,args:e})})),c(o,p,(function(e){return n.enqueue({eventType:p,args:e})})),c(o,f,(function(t){t.config=e.options,n.enqueue({eventType:f,args:t})})),t=o,l._each(t,(function(e,t){d.on(t,e)}))}else l.logMessage('Analytics adapter for "'+i+'" disabled by sampling');this.enableAnalytics=function(){return l.logMessage('Analytics adapter for "'+i+'" already enabled, unnecessary call to `enableAnalytics`.')}},disableAnalytics:function(){l._each(t,(function(e,t){d.off(t,e)}))},getAdapterType:function(){return a},getGlobal:function(){return i},getHandler:function(){return o},getUrl:function(){return n}};function _(e){var t=e.eventType,n=e.args,r=this;i&&window[i]&&t&&n?this.track({eventType:t,args:n}):C.push((function(){I++,r.track({eventType:t,args:n})}))}function w(){if(A){for(var e=0;e<C.length;e++)C[e]();C.push=function(e){e()},A=!1}l.logMessage("event count sent to "+i+": "+I)}};var a,i=n(3),o=(a=i)&&a.__esModule?a:{default:a},u=n(10),s=n(6);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=n(9),l=n(0),f=o.default.EVENTS.AUCTION_INIT,p=o.default.EVENTS.AUCTION_END,v=o.default.EVENTS.BID_REQUESTED,y=o.default.EVENTS.BID_TIMEOUT,E=o.default.EVENTS.BID_RESPONSE,b=o.default.EVENTS.BID_WON,g=o.default.EVENTS.BID_ADJUSTMENT,T=o.default.EVENTS.SET_TARGETING,h="library",m="endpoint",N="bundle",S=!0},92:function(e,t,n){e.exports=n(93)},93:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},a=d(n(7)),i=d(n(3)),o=d(n(5)),u=n(0),s=d(n(11)),c=d(n(25));function d(e){return e&&e.__esModule?e:{default:e}}function l(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var f=i.default.EVENTS.AUCTION_INIT,p=i.default.EVENTS.AUCTION_END,v=i.default.EVENTS.BID_REQUESTED,y=i.default.EVENTS.BID_RESPONSE,E=i.default.EVENTS.BID_WON,b=i.default.EVENTS.BID_TIMEOUT,g=r((0,a.default)({}),{track:function(e){var t=e.eventType,n=e.args;switch(t){case f:g.initializeBucketEvents(),g.currentContext.id=n.auctionId;break;case b:g.currentContext.timeouted=!0;break;case y:g.bucketEvents.push({type:"response",event:g.buildBidResponse(n)});break;case E:g.sendWonEvent({id:n.adId,placementCode:n.adUnitCode});break;case v:n.bids.forEach((function(e){g.bucketEvents.push({type:"request",event:{bidder:e.bidder.toUpperCase(),placementCode:e.placementCode}})}));break;case p:g.bucketEvents.length>0&&g.sendTypedEvent()}}});g.initializeBucketEvents=function(){g.bucketEvents=[]},g.sendTypedEvent=function(){var e=g.buildTypedEvents(),t={uid:g.currentContext.uid,ahbaid:g.currentContext.id,hostname:window.location.hostname,eventsByPlacementCode:e.map((function(e){var t=[],n={};return["request","response","winner"].forEach((function(r){n[r+"s"]=[],void 0!==e[r]&&e[r].forEach((function(e){if(void 0!==e.event.size){var a=g.sizeUtils.handleSize(t,e.event.size);null!==a&&(t=[].concat(l(t),[a]))}n[r+"s"]=[].concat(l(n[r+"s"]),[e.event])}))})),{placementCode:e.placementCode,sizes:t,events:n}}))},n=JSON.stringify(t);(0,u.logInfo)("Events sent to adomik prebid analytic "+n);var r=window.btoa(n),a=encodeURIComponent(r).match(/.{1,1600}/g);a.forEach((function(e,t){var n=e+"&id="+g.currentContext.id+"&part="+t+"&on="+(a.length-1);new Image(1,1).src="https://"+g.currentContext.url+"/?q="+n}))},g.sendWonEvent=function(e){var t=JSON.stringify(e);(0,u.logInfo)("Won event sent to adomik prebid analytic "+e);var n=window.btoa(t),r=encodeURIComponent(n);new Image(1,1).src="https://"+g.currentContext.url+"/?q="+r+"&id="+g.currentContext.id+"&won=true"},g.buildBidResponse=function(e){return{bidder:e.bidderCode.toUpperCase(),placementCode:e.adUnitCode,id:e.adId,status:"Bid available"===e.statusMessage?"VALID":"EMPTY_OR_ERROR",cpm:parseFloat(e.cpm),size:{width:Number(e.width),height:Number(e.height)},timeToRespond:e.timeToRespond,afterTimeout:g.currentContext.timeouted}},g.sizeUtils={sizeAlreadyExists:function(e,t){return(0,s.default)(e,(function(e){return e.height===t.height&&e.width===t.width}))},formatSize:function(e){return{width:Number(e.width),height:Number(e.height)}},handleSize:function(e,t){var n=null;return void 0===g.sizeUtils.sizeAlreadyExists(e,t)&&(n=g.sizeUtils.formatSize(t)),n}},g.buildTypedEvents=function(){var e=[];return g.bucketEvents.forEach((function(t,n){var r,a,i,o=[t.event.placementCode,t.type],u=o[0],s=o[1],d=(0,c.default)(e,(function(e){return e.placementCode===u}));-1===d&&(e.push((i=[t],(a=s)in(r={placementCode:u})?Object.defineProperty(r,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[a]=i,r)),d=e.length-1),e[d][s]?e[d][s]=[].concat(l(e[d][s]),[t]):e[d][s]=[t]})),e},g.adapterEnableAnalytics=g.enableAnalytics,g.enableAnalytics=function(e){g.currentContext={};var t=e.options;t&&(g.currentContext={uid:t.id,url:t.url,id:"",timeouted:!1},(0,u.logInfo)("Adomik Analytics enabled with config",t),g.adapterEnableAnalytics(e))},o.default.registerAnalyticsAdapter({adapter:g,code:"adomik"}),t.default=g}},[92]);
  pbjsChunk([75],{7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="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};t.default=function(e){var t,n=e.url,r=e.analyticsType,i=e.global,o=e.handler,_=[],I=0,A=!0;r===h&&(0,u.loadScript)(n,V);(r===m||S)&&V();return{track:function(e){var t=e.eventType,a=e.args;(this.getAdapterType()===h||S)&&window[i](o,t,a);this.getAdapterType()===m&&function(e){var t=e.eventType,a=e.args,r=e.callback;(0,s.ajax)(n,r,JSON.stringify({eventType:t,args:a}))}.apply(void 0,arguments)},enqueue:O,enableAnalytics:function(e){var n=this,r=this;N="object"!==(void 0===e?"undefined":a(e))||"object"!==a(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling));if(N){var o;c.getEvents().forEach((function(e){if(e){var t=e.eventType,n=e.args;t!==T&&O.call(r,{eventType:t,args:n})}})),l(o={},y,(function(e){return n.enqueue({eventType:y,args:e})})),l(o,g,(function(e){return n.enqueue({eventType:g,args:e})})),l(o,T,(function(e){return n.enqueue({eventType:T,args:e})})),l(o,v,(function(e){return n.enqueue({eventType:v,args:e})})),l(o,b,(function(e){return n.enqueue({eventType:b,args:e})})),l(o,E,(function(e){return n.enqueue({eventType:E,args:e})})),l(o,p,(function(e){return n.enqueue({eventType:p,args:e})})),l(o,f,(function(t){t.config=e.options,n.enqueue({eventType:f,args:t})})),t=o,d._each(t,(function(e,t){c.on(t,e)}))}else d.logMessage('Analytics adapter for "'+i+'" disabled by sampling');this.enableAnalytics=function(){return d.logMessage('Analytics adapter for "'+i+'" already enabled, unnecessary call to `enableAnalytics`.')}},disableAnalytics:function(){d._each(t,(function(e,t){c.off(t,e)}))},getAdapterType:function(){return r},getGlobal:function(){return i},getHandler:function(){return o},getUrl:function(){return n}};function O(e){var t=e.eventType,n=e.args,a=this;i&&window[i]&&t&&n?this.track({eventType:t,args:n}):_.push((function(){I++,a.track({eventType:t,args:n})}))}function V(){if(A){for(var e=0;e<_.length;e++)_[e]();_.push=function(e){e()},A=!1}d.logMessage("event count sent to "+i+": "+I)}};var r,i=n(3),o=(r=i)&&r.__esModule?r:{default:r},u=n(10),s=n(6);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}var c=n(9),d=n(0),f=o.default.EVENTS.AUCTION_INIT,p=o.default.EVENTS.AUCTION_END,y=o.default.EVENTS.BID_REQUESTED,T=o.default.EVENTS.BID_TIMEOUT,g=o.default.EVENTS.BID_RESPONSE,v=o.default.EVENTS.BID_WON,b=o.default.EVENTS.BID_ADJUSTMENT,E=o.default.EVENTS.SET_TARGETING,h="library",m="endpoint",S="bundle",N=!0},95:function(e,t,n){e.exports=n(96)},96:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(6),i=d(n(7)),o=d(n(5)),u=d(n(3)),s=c(n(13)),l=c(n(0));function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function d(e){return e&&e.__esModule?e:{default:e}}var f="v1.05",p=void 0,y=void 0,T={bidRequests:[],bidResponses:[]},g=a((0,i.default)({emptyUrl:"",analyticsType:"endpoint"}),{track:function(e){var t=e.eventType,n=e.args;void 0!==n&&(t===u.default.EVENTS.BID_TIMEOUT?T.bidTimeout=n.map((function(e){return e.bidder})).filter(l.uniques):t===u.default.EVENTS.AUCTION_INIT?(T.auctionInit=n,y=n.timestamp):t===u.default.EVENTS.BID_REQUESTED?T.bidRequests.push(n):t===u.default.EVENTS.BID_RESPONSE?T.bidResponses.push(v(n)):t===u.default.EVENTS.BID_WON&&b({bidWon:v(n)})),t===u.default.EVENTS.AUCTION_END&&b(T)}});function v(e){return{adUnitCode:e.adUnitCode,statusMessage:e.statusMessage,bidderCode:e.bidderCode,adId:e.adId,mediaType:e.mediaType,creative_id:e.creative_id,width:e.width,height:e.height,cpm:e.cpm,timeToRespond:e.timeToRespond}}function b(e){e.initOptions=p,e.auctionTimestamp=y;var t="https:"==l.getTopWindowLocation().protocol,n=s.format({protocol:t?"https":"http",hostname:t?"hbarxs.adxcg.net":"hbarx.adxcg.net",pathname:"/pbrx",search:{auctionTimestamp:y,adxcgAnalyticsVersion:f,prebidVersion:pbjs.version}});(0,r.ajax)(n,void 0,JSON.stringify(e),{method:"POST"})}g.originEnableAnalytics=g.enableAnalytics,g.enableAnalytics=function(e){p=e.options,g.originEnableAnalytics(e)},o.default.registerAnalyticsAdapter({adapter:g,code:"adxcg"}),t.default=g}},[95]);
  pbjsChunk([74],{97:function(e,t,a){a(98),e.exports=a(99)},98:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var r=d(a(0)),i=d(a(13)),n=a(1),s=a(4);function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t.default=e,t}var o=[s.BANNER,s.VIDEO,s.NATIVE],l=t.spec={code:"adxcg",supportedMediaTypes:o,isBidRequestValid:function(e){return!!e.params.adzoneid},buildRequests:function(e,t){r.logMessage("buildRequests: "+JSON.stringify(e));var a=[],n=[],s=[];e.forEach((function(e){a.push(r.getBidIdParameter("adzoneid",e.params)),n.push(e.bidId),s.push(r.parseSizesInput(e.sizes).join("|"))}));var d=r.getTopWindowLocation(),o="https:"===d.protocol,l=i.parse(d.href);return l.search=null,l.hash=null,{method:"GET",url:i.format({protocol:o?"https":"http",hostname:o?"hbps.adxcg.net":"hbp.adxcg.net",pathname:"/get/adi",search:{renderformat:"javascript",ver:"r20171102PB10",adzoneid:a.join(","),format:s.join(","),prebidBidIds:n.join(","),url:encodeURIComponent(i.format(l)),secure:o?"1":"0",source:"pbjs10",pbjs:"1.3.1"}})}},interpretResponse:function(e,t){var a=[];return(e=e.body)?e.forEach((function(e){var t={};if(t.requestId=e.bidId,t.cpm=e.cpm,t.creativeId=parseInt(e.creativeId),t.currency=e.currency?e.currency:"USD",t.netRevenue=!e.netRevenue||e.netRevenue,t.ttl=e.ttl?e.ttl:300,null!=e.deal_id&&e.deal_id.trim().length>0&&(t.dealId=e.deal_id),e.ad)t.ad=e.ad;else if(e.vastUrl)t.vastUrl=e.vastUrl,t.mediaType="video";else if(e.nativeResponse){t.mediaType="native";var i=e.nativeResponse;t.native={clickUrl:encodeURIComponent(i.link.url),impressionTrackers:i.imptrackers},i.assets.forEach((function(e){e.title&&e.title.text&&(t.native.title=e.title.text),e.img&&e.img.url&&(t.native.image=e.img.url),e.data&&"DESC"===e.data.label&&e.data.value&&(t.native.body=e.data.value),e.data&&"SPONSORED"===e.data.label&&e.data.value&&(t.native.sponsoredBy=e.data.value)}))}t.width=e.width,t.height=e.height,r.logMessage("submitting bid["+e.bidId+"]: "+JSON.stringify(t)),a.push(t)})):r.logMessage("empty bid response"),a},getUserSyncs:function(e){if(e.iframeEnabled)return[{type:"iframe",url:"//cdn.adxcg.net/pb-sync.html"}]}};(0,n.registerBidder)(l)},99:function(e,t){}},[97]);
  pbjsChunk([73],{100:function(e,r,t){t(101),e.exports=t(102)},101:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var i,a=l(["//","/pubapi/3.0/","/","/","/","/ADTECH;v=2;cmd=bid;cors=yes;alias=","","",";misc=",""],["//","/pubapi/3.0/","/","/","/","/ADTECH;v=2;cmd=bid;cors=yes;alias=","","",";misc=",""]),n=l(["//","/bidRequest?"],["//","/bidRequest?"]),o=l(["dcn=","&pos=","&cmd=bid",""],["dcn=","&pos=","&cmd=bid",""]),s=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),d=t(1),c=t(2),p=t(3),u=(i=p)&&i.__esModule?i:{default:i};function l(e,r){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var m={AOL:"aol",ONEMOBILE:"onemobile",ONEDISPLAY:"onedisplay"},f={DISPLAY:{GET:"display-get"},MOBILE:{GET:"mobile-get",POST:"mobile-post"}},b={IFRAME:{TAG:"iframe",TYPE:"iframe"},IMAGE:{TAG:"img",TYPE:"image"}},v=S(a,"host","network","placement","pageid","sizeid","alias","bidfloor","keyValues","misc"),E=S(n,"host"),O=S(o,"dcn","pos","ext"),g={us:"adserver-us.adtech.advertising.com",eu:"adserver-eu.adtech.advertising.com",as:"adserver-as.adtech.advertising.com"},h="hb.nexage.com",I=60,x=3600;pbjs.aolGlobals={pixelsDropped:!1};var A,y=(A=!0,function(){var e=pbjs.bidderSettings;A&&e&&e.aol&&"function"==typeof e.aol.bidCpmAdjustment&&(s.logWarn("bidCpmAdjustment is active for the AOL adapter. As of Prebid 0.14, AOL can bid in net – please contact your accounts team to enable."),A=!1)});function S(e){for(var r=arguments.length,t=Array(r>1?r-1:0),i=1;i<r;i++)t[i-1]=arguments[i];return function(){for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];var n=i[i.length-1]||{},o=[e[0]];return t.forEach((function(r,t){var a,s="number"==typeof(a=r)&&isFinite(a)&&Math.floor(a)===a?i[r]:n[r];o.push(s,e[t+1])})),o.join("")}}function T(e){var r,t,i,a=e.params,n=a.server,o=a.region||"us",d=void 0;return g.hasOwnProperty(o)||(s.logWarn("Unknown region '"+o+"' for AOL bidder."),o="us"),d=n||g[o],a.region=o,v({host:d,network:a.network,placement:parseInt(a.placement),pageid:a.pageId||0,sizeid:a.sizeId||0,alias:a.alias||s.getUniqueIdentifierStr(),bidfloor:(i=a.bidFloor,void 0!==i?";bidfloor="+i.toString():""),keyValues:(r=a.keyValues,t="",s._each(r,(function(e,r){t+=";kv"+r+"="+encodeURIComponent(e)})),t),misc:(new Date).getTime()})}function L(e){return E({host:e.params.host||h})}function P(e){var r=e.params,t=r.dcn,i=r.pos,a=L(e);if(t&&i){var n="";"https:"===document.location.protocol&&(e.params.ext=e.params.ext||{},e.params.ext.secure=1),s._each(e.params.ext,(function(e,r){n+="&"+r+"="+encodeURIComponent(e)})),a+=O({dcn:t,pos:i,ext:n})}return a}function G(e){return e===m.AOL||e===m.ONEMOBILE}function j(e){if(G(e.bidder)&&e.params.id&&e.params.imp&&e.params.imp[0]){var r=e.params.imp[0];return r.id&&r.tagid&&(r.banner&&r.banner.w&&r.banner.h||r.video&&r.video.mimes&&r.video.minduration&&r.video.maxduration)}}function M(e){return G(e.bidder)&&e.params.dcn&&e.params.pos}function D(e){return((r=e.bidder)===m.AOL||r===m.ONEDISPLAY)&&e.params.placement&&e.params.network;var r}var w=r.spec={code:m.AOL,aliases:[m.ONEMOBILE,m.ONEDISPLAY],isBidRequestValid:function(e){return D(e)||(M(r=e)||j(r));var r},buildRequests:function(e){return e.map((function(e){var r,t=M(r=e)?f.MOBILE.GET:j(r)?f.MOBILE.POST:D(r)?f.DISPLAY.GET:void 0;if(t)return (function(e,r){var t=void 0;switch(e){case f.DISPLAY.GET:t={url:T(r),method:"GET",ttl:I};break;case f.MOBILE.GET:t={url:P(r),method:"GET",ttl:x};break;case f.MOBILE.POST:t={url:L(r),method:"POST",ttl:x,data:r.params,options:{contentType:"application/json",customHeaders:{"x-openrtb-version":"2.2"}}}}return t.bidderCode=r.bidder,t.bidId=r.bidId,t.userSyncOn=r.params.userSyncOn,t})(t,e)}))},interpretResponse:function(e,r){var t=e.body;if(y(),t){var i=(function(e,r){var t=void 0;try{t=e.seatbid[0].bid[0]}catch(e){return}var i=void 0;if(t.ext&&t.ext.encp)i=t.ext.encp;else if(null===(i=t.price)||isNaN(i))return void s.logError("Invalid price in bid response",m.AOL,bid);var a=t.adm;return e.ext&&e.ext.pixels&&c.config.getConfig("aol.userSyncOn")!==u.default.EVENTS.BID_RESPONSE&&(a+="<script>if(!parent.pbjs.aolGlobals.pixelsDropped){parent.pbjs.aolGlobals.pixelsDropped=true;"+e.ext.pixels.replace(/<\/?script( type=('|")text\/javascript('|")|)?>/g,"")+"}<\/script>"),{bidderCode:r.bidderCode,requestId:r.bidId,ad:a,cpm:i,width:t.w,height:t.h,creativeId:t.crid,pubapiId:e.id,currency:e.cur,dealId:t.dealid,netRevenue:!0,ttl:r.ttl}})(t,r);if(i)return i}else s.logError("Empty bid response",r.bidderCode,t)},getUserSyncs:function(e,r){var t=r[0];return c.config.getConfig("aol.userSyncOn")===u.default.EVENTS.BID_RESPONSE&&!pbjs.aolGlobals.pixelsDropped&&t&&t.ext&&t.ext.pixels?(pbjs.aolGlobals.pixelsDropped=!0,(function(e){var r=/\w*(?=\s)/,t=/src=("|')(.*?)\1/,i=[];if(e){var a=e.match(/(img|iframe)[\s\S]*?src\s*=\s*("|')(.*?)\2/gi);a&&a.forEach((function(e){var a=e.match(r)[0],n=e.match(t)[2];a&&a&&i.push({type:a===b.IMAGE.TAG?b.IMAGE.TYPE:b.IFRAME.TYPE,url:n})}))}return i})(t.ext.pixels)):[]}};(0,d.registerBidder)(w)},102:function(e,r){}},[100]);
  pbjsChunk([72],{103:function(e,n,t){e.exports=t(104)},104:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=u(t(7)),r=u(t(5));function u(e){return e&&e.__esModule?e:{default:e}}var o=(0,a.default)({global:"AppNexusPrebidAnalytics",handler:"on",analyticsType:"bundle"});r.default.registerAnalyticsAdapter({adapter:o,code:"appnexus"}),n.default=o},7:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a="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};n.default=function(e){var n,t=e.url,r=e.analyticsType,u=e.global,o=e.handler,A=[],m=0,I=!0;r===S&&(0,i.loadScript)(t,q);(r===N||_)&&q();return{track:function(e){var n=e.eventType,a=e.args;(this.getAdapterType()===S||_)&&window[u](o,n,a);this.getAdapterType()===N&&function(e){var n=e.eventType,a=e.args,r=e.callback;(0,l.ajax)(t,r,JSON.stringify({eventType:n,args:a}))}.apply(void 0,arguments)},enqueue:M,enableAnalytics:function(e){var t=this,r=this;h="object"!==(void 0===e?"undefined":a(e))||"object"!==a(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling));if(h){var o;c.getEvents().forEach((function(e){if(e){var n=e.eventType,t=e.args;n!==T&&M.call(r,{eventType:n,args:t})}})),s(o={},d,(function(e){return t.enqueue({eventType:d,args:e})})),s(o,g,(function(e){return t.enqueue({eventType:g,args:e})})),s(o,T,(function(e){return t.enqueue({eventType:T,args:e})})),s(o,v,(function(e){return t.enqueue({eventType:v,args:e})})),s(o,b,(function(e){return t.enqueue({eventType:b,args:e})})),s(o,E,(function(e){return t.enqueue({eventType:E,args:e})})),s(o,y,(function(e){return t.enqueue({eventType:y,args:e})})),s(o,p,(function(n){n.config=e.options,t.enqueue({eventType:p,args:n})})),n=o,f._each(n,(function(e,n){c.on(n,e)}))}else f.logMessage('Analytics adapter for "'+u+'" disabled by sampling');this.enableAnalytics=function(){return f.logMessage('Analytics adapter for "'+u+'" already enabled, unnecessary call to `enableAnalytics`.')}},disableAnalytics:function(){f._each(n,(function(e,n){c.off(n,e)}))},getAdapterType:function(){return r},getGlobal:function(){return u},getHandler:function(){return o},getUrl:function(){return t}};function M(e){var n=e.eventType,t=e.args,a=this;u&&window[u]&&n&&t?this.track({eventType:n,args:t}):A.push((function(){m++,a.track({eventType:n,args:t})}))}function q(){if(I){for(var e=0;e<A.length;e++)A[e]();A.push=function(e){e()},I=!1}f.logMessage("event count sent to "+u+": "+m)}};var r,u=t(3),o=(r=u)&&r.__esModule?r:{default:r},i=t(10),l=t(6);function s(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var c=t(9),f=t(0),p=o.default.EVENTS.AUCTION_INIT,y=o.default.EVENTS.AUCTION_END,d=o.default.EVENTS.BID_REQUESTED,T=o.default.EVENTS.BID_TIMEOUT,g=o.default.EVENTS.BID_RESPONSE,v=o.default.EVENTS.BID_WON,b=o.default.EVENTS.BID_ADJUSTMENT,E=o.default.EVENTS.SET_TARGETING,S="library",N="endpoint",_="bundle",h=!0}},[103]);
  pbjsChunk([71],{105:function(e,r,a){a(106),e.exports=a(107)},106:function(e,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var t="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},i=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},s=a(20),n=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r.default=e,r}})(a(0)),d=a(1),o=a(4),p=m(a(11)),u=m(a(8));function m(e){return e&&e.__esModule?e:{default:e}}var c=["id","mimes","minduration","maxduration","startdelay","skippable","playback_method","frameworks"],l=["age","external_uid","segments","gender","dnt","language"],f={body:"description",cta:"ctatext",image:{serverName:"main_image",requiredParams:{required:!0},minimumParams:{sizes:[{}]}},icon:{serverName:"icon",requiredParams:{required:!0},minimumParams:{sizes:[{}]}},sponsoredBy:"sponsored_by"},y=r.spec={code:"appnexus",aliases:["appnexusAst","brealtime","pagescience","defymedia","gourmetads","matomy","featureforward","oftmedia","districtm"],supportedMediaTypes:[o.BANNER,o.VIDEO,o.NATIVE],isBidRequestValid:function(e){return!!(e.params.placementId||e.params.member&&e.params.invCode)},buildRequests:function(e,r){var a=e.map(v),t=(0,p.default)(e,b),i=void 0;t&&(i={},Object.keys(t.params.user).filter((function(e){return(0,u.default)(l,e)})).forEach((function(e){return i[e]=t.params.user[e]})));var s=(0,p.default)(e,g),n=s?parseInt(s.params.member,10):0,d={tags:[].concat(function(e){if(Array.isArray(e)){for(var r=0,a=Array(e.length);r<e.length;r++)a[r]=e[r];return a}return Array.from(e)}(a)),user:i,sdk:{source:"pbjs",version:"1.3.1"}};return n>0&&(d.member_id=n),{method:"POST",url:"//ib.adnxs.com/ut/v3/prebid",data:JSON.stringify(d),bidderRequest:r}},interpretResponse:function(e,r){var a=this,t=r.bidderRequest;e=e.body;var d=[];if(!e||e.error){var m="in response for "+t.bidderCode+" adapter";return e&&e.error&&(m+=": "+e.error),n.logError(m),d}return e.tags&&e.tags.forEach((function(e){var r,m,c=(r=e)&&r.ads&&r.ads.length&&(0,p.default)(r.ads,(function(e){return e.rtb}));if(c&&0!==c.cpm&&(0,u.default)(a.supportedMediaTypes,c.ad_type)){var l=(function(e,r,a){var t={requestId:e.uuid,cpm:r.cpm,creativeId:r.creative_id,dealId:r.deal_id,currency:"USD",netRevenue:!0,ttl:300};if(r.rtb.video){if(i(t,{width:r.rtb.video.player_width,height:r.rtb.video.player_height,vastUrl:r.rtb.video.asset_url,ttl:3600}),r.renderer_url){var d=n.deepAccess(a.bids[0],"renderer.options");i(t,{adResponse:e,renderer:(function(e,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=s.Renderer.install({id:r.renderer_id,url:r.renderer_url,config:a,loaded:!1});try{t.setRender(h)}catch(e){n.logWarn("Prebid Error calling setRender on renderer",e)}return t.setEventHandlers({impression:function(){return n.logMessage("AppNexus outstream video impression event")},loaded:function(){return n.logMessage("AppNexus outstream video loaded event")},ended:function(){n.logMessage("AppNexus outstream renderer video event"),document.querySelector("#"+e).style.display="none"}}),t})(t.adUnitCode,r,d)}),t.adResponse.ad=t.adResponse.ads[0],t.adResponse.ad.video=t.adResponse.ad.rtb.video}}else if(r.rtb[o.NATIVE]){var p=r.rtb[o.NATIVE];t[o.NATIVE]={title:p.title,body:p.desc,cta:p.ctatext,sponsoredBy:p.sponsored,clickUrl:p.link.url,clickTrackers:p.link.click_trackers,impressionTrackers:p.impression_trackers},p.main_img&&(t.native.image={url:p.main_img.url,height:p.main_img.height,width:p.main_img.width}),p.icon&&(t.native.icon={url:p.icon.url,height:p.icon.height,width:p.icon.width})}else{i(t,{width:r.rtb.banner.width,height:r.rtb.banner.height,ad:r.rtb.banner.content});try{var u=r.rtb.trackers[0].impression_urls[0],m=n.createTrackPixelHtml(u);t.ad+=m}catch(e){n.logError("Error appending tracking pixel",e)}}return t})(e,c,t);l.mediaType=(m=c.ad_type)===o.VIDEO?o.VIDEO:m===o.NATIVE?o.NATIVE:o.BANNER,d.push(l)}})),d},getUserSyncs:function(e){if(e.iframeEnabled)return[{type:"iframe",url:"//acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html"}]}};function v(e){var r,a,s,d,p={};if(p.sizes=(function(e){var r=[],a={};if(n.isArray(e)&&2===e.length&&!n.isArray(e[0]))a.width=parseInt(e[0],10),a.height=parseInt(e[1],10),r.push(a);else if("object"===(void 0===e?"undefined":t(e)))for(var i=0;i<e.length;i++){var s=e[i];(a={}).width=parseInt(s[0],10),a.height=parseInt(s[1],10),r.push(a)}return r})(e.sizes),p.primary_size=p.sizes[0],p.ad_types=[],p.uuid=e.bidId,e.params.placementId?p.id=parseInt(e.params.placementId,10):p.code=e.params.invCode,p.allow_smaller_sizes=e.params.allowSmallerSizes||!1,p.use_pmt_rule=e.params.usePaymentRule||!1,p.prebid=!0,p.disable_psa=!0,e.params.reserve&&(p.reserve=e.params.reserve),e.params.position&&(p.position={above:1,below:2}[e.params.position]||0),e.params.trafficSourceCode&&(p.traffic_source_code=e.params.trafficSourceCode),e.params.privateSizes&&(p.private_sizes=getSizes(e.params.privateSizes)),e.params.supplyType&&(p.supply_type=e.params.supplyType),e.params.pubClick&&(p.pubclick=e.params.pubClick),e.params.extInvCode&&(p.ext_inv_code=e.params.extInvCode),e.params.externalImpId&&(p.external_imp_id=e.params.externalImpId),n.isEmpty(e.params.keywords)||(p.keywords=(r=e.params.keywords,a=[],n._each(r,(function(e,r){if(n.isArray(e)){var t=[];n._each(e,(function(e){(e=n.getValueString("keywords."+r,e))&&t.push(e)})),e=t}else{if(e=n.getValueString("keywords."+r,e),!n.isStr(e))return;e=[e]}a.push({key:r,value:e})})),a)),(e.mediaType===o.NATIVE||n.deepAccess(e,"mediaTypes."+o.NATIVE))&&(p.ad_types.push(o.NATIVE),e.nativeParams)){var m=(s=e.nativeParams,d={},Object.keys(s).forEach((function(e){var r=f[e]&&f[e].serverName||f[e]||e,a=f[e]&&f[e].requiredParams;d[r]=i({},a,s[e]);var t=f[e]&&f[e].minimumParams;if(a&&t){var n=Object.keys(s[e]),o=Object.keys(a);0===n.filter((function(e){return!(0,u.default)(o,e)})).length&&(d[r]=i({},d[r],t))}})),d);p[o.NATIVE]={layouts:[m]}}var l=n.deepAccess(e,"mediaTypes."+o.VIDEO),y=n.deepAccess(e,"mediaTypes.video.context");return(e.mediaType===o.VIDEO||l)&&p.ad_types.push(o.VIDEO),(e.mediaType===o.VIDEO||l&&"outstream"!==y)&&(p.require_asset_url=!0),e.params.video&&(p.video={},Object.keys(e.params.video).filter((function(e){return(0,u.default)(c,e)})).forEach((function(r){return p.video[r]=e.params.video[r]}))),(n.isEmpty(e.mediaType)&&n.isEmpty(e.mediaTypes)||e.mediaType===o.BANNER||e.mediaTypes&&e.mediaTypes[o.BANNER])&&p.ad_types.push(o.BANNER),p}function b(e){return!!e.params.user}function g(e){return!!parseInt(e.params.member,10)}function h(e){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))}))}(0,d.registerBidder)(y)},107:function(e,r){}},[105]);
  pbjsChunk([70],{108:function(e,r,t){t(109),e.exports=t(110)},109:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var i=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),o=t(4),a=t(1),n=t(2);var s="bidder.mamrtb.com",d="arteebee",u=r.spec={code:"arteebee",supportedMediaTypes:[o.BANNER],isBidRequestValid:function(e){return"params"in e&&void 0!==e.params.pub&&void 0!==e.params.source},buildRequests:function(e){for(var r,t,o,a,u,p,c=[],f=0;f<e.length;f++){var l=(r=e[f],void 0,void 0,void 0,void 0,void 0,t=r.params.host||s,o=r.params.ssp||d,a=window.location.protocol+"//"+t+"/rtb/bid/"+o+"?type=json&register=0",u=(function(e){var r=e.requestId,t=[];t.push(function(e){var r={id:e.bidId,tagid:e.placementCode};"https:"===window.location.protocol&&(r.secure=1);return r.banner=(function(e){for(var r=[],t=0;t<e.sizes.length;t++)r.push({w:e.sizes[t][0],h:e.sizes[t][1]});return{format:r}})(e),r}(e));var o={id:r,imp:t,site:(a=e,{id:a.params.source,page:i.getTopWindowUrl(),ref:i.getTopWindowReferrer(),publisher:(s=a,{id:s.params.pub,domain:(d=n.config.getConfig("publisherDomain"),u=document.createElement("a"),u.href=d,u.host)})}),device:{ua:"caller",ip:"caller",js:1},at:1,tmax:n.config.getConfig("bidderTimeout")};var a,s,d,u;e.params.coppa&&(o.regs={coppa:1});e.params.test&&(o.test=1);return o})(r),p=JSON.stringify(u),{method:"POST",url:a,data:p});l&&c.push(l)}return c},interpretResponse:function(e,r){var t=e.body;if(!t||!t.seatbid)return[];for(var i=[],a=0;a<t.seatbid.length;a++)for(var n=t.seatbid[a],s=0;s<n.bid.length;s++){var d=n.bid[s],u={requestId:d.impid,cpm:d.price,width:d.w,height:d.h,mediaType:o.BANNER,creativeId:d.crid,currency:"USD",netRevenue:!0,ttl:d.exp,ad:d.adm};i.push(u)}return i},getUserSyncs:function(e,r){return[]}};(0,a.registerBidder)(u)},110:function(e,r){}},[108]);
  pbjsChunk([69],{111:function(e,t,r){r(112),e.exports=r(113)},112:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var n=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),i=r(1);var o=t.spec={code:"atomx",isBidRequestValid:function(e){return e.params&&!!e.params.id},buildRequests:function(e){return e.map((function(e){return{method:"GET",url:location.protocol+"//p.ato.mx/placement",data:{v:12,id:e.params.id,size:n.parseSizesInput(e.sizes)[0],prebid:e.bidId,b:0,h:"7t3y9",type:"javascript",screen:window.screen.width+"x"+window.screen.height+"x"+window.screen.colorDepth,timezone:(new Date).getTimezoneOffset(),domain:(function(){var e="";try{if(""===e&&window.top==window&&(e=window.location.href),""===e&&window.top==window.parent&&(e=document.referrer),""==e){var t="atomxtest";if(window.location.ancestorOrigins[0]=t,window.location.ancestorOrigins[0]!=t){var r=window.location.ancestorOrigins;if(0==r.length)return"";e=r[r.length-1]}}}catch(e){}return""===e&&(e=document.referrer),""===e&&(e=window.location.href),e.substr(0,512)})(),r:document.referrer.substr(0,512)}}}))},interpretResponse:function(e,t){var r=e.body,n={requestId:r.code,cpm:1e3*r.cpm,width:r.width,height:r.height,creativeId:r.creative_id,currency:"USD",netRevenue:!0,ttl:60};return r.adm?n.ad=r.adm:n.adUrl=r.url,[n]},getUserSyncs:function(e,t){return[]}};(0,i.registerBidder)(o)},113:function(e,t){}},[111]);
  pbjsChunk([68],{114:function(a,e,t){t(115),a.exports=t(116)},115:function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.spec=void 0;var n=(function(){return function(a,e){if(Array.isArray(a))return a;if(Symbol.iterator in Object(a))return (function(a,e){var t=[],n=!0,r=!1,i=void 0;try{for(var o,d=a[Symbol.iterator]();!(n=(o=d.next()).done)&&(t.push(o.value),!e||t.length!==e);n=!0);}catch(a){r=!0,i=a}finally{try{!n&&d.return&&d.return()}finally{if(r)throw i}}return t})(a,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},i=t(1),o=t(2),d=t(13),c=t(0),s=f(t(25)),u=f(t(8));function f(a){return a&&a.__esModule?a:{default:a}}var m=function(a){return Array.isArray(a)&&2===a.length?a[0]+"x"+a[1]:a},p=function(a){return a.split("x").map(Number)},l=function(a){return(0,u.default)(["300x250","320x50"],a)},b=function(a){return"video"===a},h=function(){return encodeURIComponent((0,c.getTopWindowUrl)())},v=e.spec={code:"audienceNetwork",supportedMediaTypes:["banner","video"],isBidRequestValid:function(a){return"object"===r(a.params)&&"string"==typeof a.params.placementId&&a.params.placementId.length>0&&Array.isArray(a.sizes)&&a.sizes.length>0&&(b(a.params.format)||a.sizes.map(m).some(l))},buildRequests:function(a){var e=[],t=[],r=[],i=[],o=[];a.forEach((function(a){return a.sizes.map(m).filter((function(e){return l(e)||b(a.params.format)})).slice(0,1).forEach((function(n){var d;e.push(a.params.placementId),t.push(a.params.format||n),r.push(n),i.push((d=a.params.format,b(d)?"":"5.5.web")),o.push(a.bidId)}))}));var c=Boolean(window&&window.location&&"string"==typeof window.location.search&&-1!==window.location.search.indexOf("anhb_testmode")).toString(),u=h(),f={placementids:e,adformats:t,testmode:c,pageurl:u,sdk:i},v=(0,s.default)(t,b);if(-1!==v){var y=p(r[v]),g=n(y,2);f.playerwidth=g[0],f.playerheight=g[1]}var w=(0,d.formatQS)(f);return[{adformats:t,data:w,method:"GET",requestIds:o,sizes:r,url:"https://an.facebook.com/v2/placementbid.json"}]},interpretResponse:function(a,e){var t=a.body,r=e.adformats,i=e.requestIds,d=e.sizes,c=Number(o.config.getConfig().bidderTimeout),s=t.bids,u=void 0===s?{}:s;return Object.keys(u).map((function(a){return u[a]})).reduce((function(a,e){return a.concat(e)}),[]).map((function(a,e){var t,o,s=a.bid_id,u=a.placement_id,f=a.bid_price_cents,l=r[e],v=p(m(d[e])),y=n(v,2),g=y[0],w=y[1],A="<html><head>"+("native"===(o=l)?'<script>window.onload=function(){if(parent){var o=document.getElementsByTagName("head")[0];var s=parent.document.getElementsByTagName("style");for(var i=0;i<s.length;i++)o.appendChild(s[i].cloneNode(true));}}<\/script>':"")+"</head><body><div style=\"display:none;position:relative;\">\n<script type='text/javascript'>var data = {placementid:'"+(t=u)+"',format:'"+o+"',bidid:'"+s+"',onAdLoaded:function(e){console.log('Audience Network ["+t+"] ad loaded');e.style.display = 'block';},onAdError:function(c,m){console.log('Audience Network ["+t+"] error (' + c + ') ' + m);}};\n(function(a,b,c){var d='https://www.facebook.com',e='https://connect.facebook.net/en_US/fbadnw55.js',f={iframeLoaded:true,xhrLoaded:true},g=a.data,h=function(){if(Date.now){return Date.now();}else return +new Date();},i=function(aa){var ba=d+'/audience_network/client_event',ca={cb:h(),event_name:'ADNW_ADERROR',ad_pivot_type:'audience_network_mobile_web',sdk_version:'5.5.web',app_id:g.placementid.split('_')[0],publisher_id:g.placementid.split('_')[1],error_message:aa},da=[];for(var ea in ca)da.push(encodeURIComponent(ea)+'='+encodeURIComponent(ca[ea]));var fa=ba+'?'+da.join('&'),ga=new XMLHttpRequest();ga.open('GET',fa,true);ga.send();if(g.onAdError)g.onAdError('1000','Internal error.');},j=function(){if(b.currentScript){return b.currentScript;}else{var aa=b.getElementsByTagName('script');return aa[aa.length-1];}},k=function(aa){try{return aa.document.referrer;}catch(ba){}return '';},l=function(){var aa=a,ba=[aa];try{while(aa!==aa.parent&&aa.parent.document)ba.push(aa=aa.parent);}catch(ca){}return ba.reverse();},m=function(){var aa=l();for(var ba=0;ba<aa.length;ba++){var ca=aa[ba],da=ca.ADNW||{};ca.ADNW=da;if(!ca.ADNW)continue;return da.v55=da.v55||{ads:[],window:ca};}throw new Error('no_writable_global');},n=function(aa){var ba=aa.indexOf('/',aa.indexOf('://')+3);if(ba===-1)return aa;return aa.substring(0,ba);},o=function(aa){return aa.location.href||k(aa);},p=function(aa){if(aa.sdkLoaded)return;var ba=aa.window.document,ca=ba.createElement('iframe');ca.name='fbadnw';ca.style.display='none';ba.body.appendChild(ca);var da=ca.contentDocument.createElement('script');da.src=e;da.async=true;ca.contentDocument.body.appendChild(da);aa.sdkLoaded=true;},q=function(aa){var ba=/^https?:\\/\\/www\\.google(\\.com?)?\\.\\w{2,3}$/;return !!aa.match(ba);},r=function(aa){return !!aa.match(/cdn\\.ampproject\\.org$/);},s=function(){var aa=c.ancestorOrigins||[],ba=aa[aa.length-1]||c.origin,ca=aa[aa.length-2]||c.origin;if(q(ba)&&r(ca)){return n(ca);}else return n(ba);},t=function(aa){try{return JSON.parse(aa);}catch(ba){i(ba.message);throw ba;}},u=function(aa,ba,ca){if(!aa.iframe){var da=ca.createElement('iframe');da.src=d+'/audiencenetwork/iframe/';da.style.display='none';ca.body.appendChild(da);aa.iframe=da;aa.iframeAppendedTime=h();aa.iframeData={};}ba.iframe=aa.iframe;ba.iframeData=aa.iframeData;ba.tagJsIframeAppendedTime=aa.iframeAppendedTime||0;},v=function(aa){var ba=d+'/audiencenetwork/xhr/?sdk=5.5.web';for(var ca in aa)if(typeof aa[ca]!=='function')ba+='&'+ca+'='+encodeURIComponent(aa[ca]);var da=new XMLHttpRequest();da.open('GET',ba,true);da.withCredentials=true;da.onreadystatechange=function(){if(da.readyState===4){var ea=t(da.response);aa.events.push({name:'xhrLoaded',source:aa.iframe.contentWindow,data:ea,postMessageTimestamp:h(),receivedTimestamp:h()});}};da.send();},w=function(aa,ba){var ca=d+'/audiencenetwork/xhriframe/?sdk=5.5.web';for(var da in ba)if(typeof ba[da]!=='function')ca+='&'+da+'='+encodeURIComponent(ba[da]);var ea=b.createElement('iframe');ea.src=ca;ea.style.display='none';b.body.appendChild(ea);ba.iframe=ea;ba.iframeData={};ba.tagJsIframeAppendedTime=h();},x=function(aa){var ba=function(event){try{var da=event.data;if(da.name in f)aa.events.push({name:da.name,source:event.source,data:da.data});}catch(ea){}},ca=aa.iframe.contentWindow.parent;ca.addEventListener('message',ba,false);},y=function(aa){if(aa.context&&aa.context.sourceUrl)return true;try{return !!JSON.parse(decodeURI(aa.name)).ampcontextVersion;}catch(ba){return false;}},z=function(aa){var ba=h(),ca=l()[0],da=j().parentElement,ea=ca!=a.top,fa=ca.$sf&&ca.$sf.ext,ga=o(ca),ha=m();p(ha);var ia={amp:y(ca),events:[],tagJsInitTime:ba,rootElement:da,iframe:null,tagJsIframeAppendedTime:ha.iframeAppendedTime||0,url:ga,domain:s(),channel:n(o(ca)),width:screen.width,height:screen.height,pixelratio:a.devicePixelRatio,placementindex:ha.ads.length,crossdomain:ea,safeframe:!!fa,placementid:g.placementid,format:g.format||'300x250',testmode:!!g.testmode,onAdLoaded:g.onAdLoaded,onAdError:g.onAdError};if(g.bidid)ia.bidid=g.bidid;if(ea){w(ha,ia);}else{u(ha,ia,ca.document);v(ia);}; x(ia);ia.rootElement.dataset.placementid=ia.placementid;ha.ads.push(ia);};try{z();}catch(aa){i(aa.message||aa);throw aa;}})(window,document,location);\n<\/script>\n"+("native"===o?'<div class="thirdPartyRoot"><a class="fbAdLink"><div class="fbAdMedia thirdPartyMediaClass"></div><div class="fbAdSubtitle thirdPartySubtitleClass"></div><div class="fbDefaultNativeAdWrapper"><div class="fbAdCallToAction thirdPartyCallToActionClass"></div><div class="fbAdTitle thirdPartyTitleClass"></div></div></a></div>':"")+"</div></body></html>",_={requestId:i[e],cpm:f/100,width:g,height:w,ad:A,ttl:c,creativeId:u,netRevenue:!0,currency:"USD",hb_bidder:"fan",fb_bidid:s,fb_format:l,fb_placementid:u};if(b(l)){var x=h();_.mediaType="video",_.vastUrl="https://an.facebook.com/v1/instream/vast.xml?placementid="+u+"&pageurl="+x+"&playerwidth="+g+"&playerheight="+w+"&bidid="+s}return _}))}};(0,i.registerBidder)(v)},116:function(a,e){}},[114]);
  pbjsChunk([67],{117:function(e,t,r){r(118),e.exports=r(119)},118:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.spec=t.ENDPOINT=void 0;var i=(function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var r=[],i=!0,n=!1,o=void 0;try{for(var a,d=e[Symbol.iterator]();!(i=(a=d.next()).done)&&(r.push(a.value),!t||r.length!==t);i=!0);}catch(e){n=!0,o=e}finally{try{!i&&d.return&&d.return()}finally{if(n)throw o}}return r})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),n=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),o=r(1);var a=t.ENDPOINT="//reachms.bfmio.com/bid.json?exchange_id=",d=t.spec={code:"beachfront",supportedMediaTypes:["video"],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.appId&&e.params.bidfloor)},buildRequests:function(t){return t.map((function(t){return{method:"POST",url:a+t.params.appId,data:(r=t,i=s(r.sizes),{isPrebid:!0,appId:r.params.appId,domain:document.location.hostname,imp:[{video:{w:i.width,h:i.height},bidfloor:r.params.bidfloor}],site:{page:n.getTopWindowLocation().host},device:{ua:e.navigator.userAgent,devicetype:/(ios|ipod|ipad|iphone|android)/i.test(e.navigator.userAgent)?1:/(smart[-]?tv|hbbtv|appletv|googletv|hdmi|netcast\.tv|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b)/i.test(e.navigator.userAgent)?3:2},cur:["USD"]}),bidRequest:t};var r,i}))},interpretResponse:function(e,t){var r=t.bidRequest;if(!(e=e.body)||!e.url||!e.bidPrice)return n.logWarn("No valid bids from "+d.code+" bidder"),[];var i=s(r.sizes);return{requestId:r.bidId,bidderCode:d.code,cpm:e.bidPrice,creativeId:e.cmpId,vastUrl:e.url,width:i.width,height:i.height,mediaType:"video",currency:"USD",ttl:300,netRevenue:!0}}};function s(e){var t=n.parseSizesInput(e),r=t.length?t[0].split("x"):[],o=i(r,2),a=o[0],d=o[1];return{width:parseInt(a,10)||void 0,height:parseInt(d,10)||void 0}}(0,o.registerBidder)(d)}).call(t,r(26))},119:function(e,t){}},[117]);
  pbjsChunk([66],{120:function(e,t,r){r(121),e.exports=r(122)},121:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var n,u=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),i=r(1),d=r(11),o=(n=d)&&n.__esModule?n:{default:n};var a=t.spec={code:"bridgewell",isBidRequestValid:function(e){return e&&e.params&&!!e.params.ChannelID},buildRequests:function(e){var t=[];return u._each(e,(function(e){t.push(e.params.ChannelID)})),{method:"GET",url:"//rec.scupio.com/recweb/prebid.aspx",data:{ChannelID:t.join(",")},validBidRequests:e}},interpretResponse:function(e,t){var r=[];return u._each(t.validBidRequests,(function(t){var n={};if(e.body){var u=(0,o.default)(e.body,(function(e){return!!e&&!e.consumed&&(0,o.default)(t.sizes,(function(t){return e.width===t[0]&&e.height===t[1]}))}));if(u){if(u.consumed=!0,"number"!=typeof u.cpm)return;if("number"!=typeof u.width||"number"!=typeof u.height)return;if("string"!=typeof u.ad)return;if(void 0===u.net_revenue)return;if("string"!=typeof u.currency)return;n.requestId=t.bidId,n.cpm=u.cpm,n.width=u.width,n.height=u.height,n.ad=u.ad,n.ttl=u.ttl,n.creativeId=u.id,n.netRevenue="true"===u.net_revenue,n.currency=u.currency,r.push(n)}}})),r}};(0,i.registerBidder)(a)},122:function(e,t){}},[120]);
  pbjsChunk([65],{123:function(r,e,t){t(124),r.exports=t(125)},124:function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.c1xAdapter=void 0;var i=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},n=t(1),a=(function(r){{if(r&&r.__esModule)return r;var e={};if(null!=r)for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t]);return e.default=r,e}})(t(0)),o=t(12);var d="C1X: [ERROR] bidder returns an invalid bid",u="C1X: [ERROR] no site id supplied",c="C1X: [INFO] creating a NO bid for Adunit: ",s="C1X: [INFO] creating a bid for Adunit: ",p=e.c1xAdapter={code:"c1x",isBidRequestValid:function(r){var e=r.params.siteId||"";return e||a.logError(u),!(!r.adUnitCode||!e)},buildRequests:function(r){var e,t,n=r.length,a=(new Date).getTime(),d=r.map(l),u=r.map(f),c=(t=d.reduce((function(r,e){return i(r,e)}))).pixelId,s=document.location.protocol;e={adunits:n.toString(),rnd:a.toString(),response:"json",compress:"gzip"},i(e,t);var p,g=(p=e,JSON.stringify(p).replace(/":"|","|{"|"}/g,(function(r){return'":"'==r?"=":'","'==r?"&":""})));if(c){var h=(s?"https:":"http:")+"//px.c1exchange.com/pubpixel/"+c;o.userSync.registerSync("image","c1x",h)}return{method:"GET",url:"https://ht.c1exchange.com/ht",data:g,bids:u}},interpretResponse:function(r,e){r=r.body,e=e.bids||[];var t=[],i=!1;if(!r||r.error){var n=r.error;return a.logError(d+n),t}return r.forEach((function(r){if(r.bid){"NET_BID"===r.bidType&&(i=!i);for(var n={width:r.width,height:r.height,cpm:r.cpm,ad:r.ad,creativeId:r.crid,currency:"USD",ttl:300,netRevenue:i},o=0;o<e.length;o++)r.adId===e[o].adUnitCode&&(n.requestId=e[o].bidId);a.logInfo(s+r.adId+" size: "+n.width+"x"+n.height),t.push(n)}else a.logInfo(c+r.adId)})),t}};function l(r,e){var t={},i="a"+(e+1).toString(),n=i+"s",a=i+"p",o=r.sizes,d=r.params.floorPriceMap||"";t.site=r.params.siteId||"",r.params.pixelId&&(t.pixelId=r.params.pixelId),t[i]=r.adUnitCode,t[n]=o.reduce((function(r,e){return r+(""===r?"":",")+e.join("x")}),"");var u=t[n].split(",");return d&&u.forEach((function(r){r in d&&(t[a]=d[r].toString())})),r.params.pageurl&&(t.pageurl=r.params.pageurl),t}function f(r){var e={};return e.adUnitCode=r.adUnitCode,e.bidId=r.bidId,e}(0,n.registerBidder)(p)},125:function(r,e){}},[123]);
  pbjsChunk([64],{126:function(e,t,s){s(127),e.exports=s(128)},127:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var n=s(1),r=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t.default=e,t}})(s(0));var i={"468x60":1,"728x90":2,"300x600":10,"300x250":15,"300x100":19,"320x50":43,"300x50":44,"300x300":48,"300x1050":54,"970x90":55,"970x250":57,"1000x90":58,"320x80":59,"640x480":65,"320x480":67,"320x320":72,"320x160":73,"480x300":83,"970x310":94,"970x210":96,"480x320":101,"768x1024":102,"1000x300":113,"320x100":117,"800x250":118,"200x600":119};r._each(i,(function(e,t){return i[e]=t}));var o=t.spec={code:"colossusssp",isBidRequestValid:function(e){return!isNaN(e.params.placement_id)&&(void 0!==e.params.sizes&&e.params.sizes.length>0&&e.params.sizes.some((function(e){return void 0!==i[e]}))||void 0!==e.sizes&&e.sizes.length>0&&e.sizes.map((function(e){return e[0]+"x"+e[1]})).some((function(e){return void 0!==i[e]})))},buildRequests:function(e){var t=window;try{window.top.location.toString(),t=window.top}catch(e){r.logMessage(e)}for(var s=r.getTopWindowLocation(),n=[],i={deviceWidth:t.screen.width,deviceHeight:t.screen.height,language:navigator&&navigator.language?navigator.language:"",secure:"https:"===s.protocol?1:0,host:s.host,page:s.pathname,placements:n},o=0;o<e.length;o++){var a=e[o],c={};c.placementId=a.params.placement_id,c.bidId=a.bidId,c.sizes=a.sizes,n.push(c)}return{method:"POST",url:"//colossusssp.com/?c=o&m=multi",data:i}},interpretResponse:function(e){var t=[];try{e=e.body;for(var s=0;s<e.length;s++){var n=e[s];n.width&&!isNaN(n.width)&&n.height&&!isNaN(n.height)&&n.requestId&&"string"==typeof n.requestId&&n.cpm&&!isNaN(n.cpm)&&n.ad&&"string"==typeof n.ad&&n.ttl&&!isNaN(n.ttl)&&n.creativeId&&"string"==typeof n.creativeId&&n.netRevenue&&"boolean"==typeof n.netRevenue&&n.currency&&"string"==typeof n.currency&&t.push(n)}}catch(e){r.logMessage(e)}return t},getUserSyncs:function(){return[{type:"image",url:"//colossusssp.com/?c=o&m=cookie"}]}};(0,n.registerBidder)(o)},128:function(e,t){}},[126]);
  pbjsChunk([63],{129:function(e,r,a){a(130),e.exports=a(131)},130:function(e,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var i=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r.default=e,r}})(a(0)),t=a(1),n=a(4);var o="conversant",s=r.spec={code:o,aliases:["cnvr"],supportedMediaTypes:[n.BANNER,n.VIDEO],isBidRequestValid:function(e){if(!e||!e.params)return i.logWarn(o+": Missing bid parameters"),!1;if(!i.isStr(e.params.site_id))return i.logWarn(o+": site_id must be specified as a string"),!1;if(d(e))if(e.params.mimes){if(!i.isArray(e.params.mimes)||!e.params.mimes.every((function(e){return i.isStr(e)})))return i.logWarn(o+": mimes must be an array of strings"),!1}else i.logWarn(o+": mimes should be specified for videos");return!0},buildRequests:function(e){var r,a=i.getTopWindowLocation(),t=a.href,n="https:"===a.protocol?1:0,o="",s="",m=e.map((function(e){var r=i.getBidIdParameter("bidfloor",e.params),a=n||(i.getBidIdParameter("secure",e.params)?1:0);o=i.getBidIdParameter("site_id",e.params),s=e.auctionId;var t=(function(e){var r=void 0;r=2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]?[{w:e[0],h:e[1]}]:i._map(e,(function(e){return{w:e[0],h:e[1]}}));return r})(e.sizes),m={id:e.bidId,secure:a,bidfloor:r||0,displaymanager:"Prebid.js",displaymanagerver:"2.2.1"};if(u(e.params,"tag_id",m,"tagid"),d(e)){var p={w:t[0].w,h:t[0].h};u(e.params,"position",p,"pos"),u(e.params,"mimes",p),u(e.params,"maxduration",p),u(e.params,"protocols",p),u(e.params,"api",p),m.video=p}else{var c={format:t};u(e.params,"position",c,"pos"),m.banner=c}return m}));return{method:"POST",url:"//media.msg.dotomi.com/s2s/header/24",data:{id:s,imp:m,site:{id:o,mobile:null!==document.querySelector('meta[name="viewport"][content*="width=device-width"]')?1:0,page:t},device:(r=navigator.language?"language":"userLanguage",{h:screen.height,w:screen.width,dnt:"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNoTrack||"yes"===navigator.doNotTrack?1:0,language:navigator[r].split("-")[0],make:navigator.vendor?navigator.vendor:"",ua:navigator.userAgent}),at:1}}},interpretResponse:function(e,r){var a=[],t={};return e=e.body,r&&r.data&&r.data.imp&&i._each(r.data.imp,(function(e){return t[e.id]=e})),e&&i.isArray(e.seatbid)&&i._each(e.seatbid,(function(r){i._each(r.bid,(function(r){var i=parseFloat(r.price);if(i>0&&r.impid){var n=r.adm||"",o=r.nurl||"",s=t[r.impid],d={requestId:r.impid,currency:e.cur||"USD",cpm:i,creativeId:r.crid||"",ttl:300,netRevenue:!0};s.video?(d.vastUrl=n,d.mediaType="video",d.width=s.video.w,d.height=s.video.h):(d.ad=n+'<img src="'+o+'" />',d.width=r.w,d.height=r.h),a.push(d)}}))})),a},getUserSyncs:function(e){if(e.pixelEnabled)return[{type:"image",url:"//media.msg.dotomi.com/w/user.sync"}]}};function d(e){return"video"===e.mediaType||!!i.deepAccess(e,"mediaTypes.video")}function u(e,r,a,t){t=t||r;var n=i.getBidIdParameter(r,e);""!==n&&(a[t]=n)}(0,t.registerBidder)(s)},131:function(e,r){}},[129]);
  pbjsChunk([91],{132:function(r,e,n){r.exports=n(133)},133:function(r,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.currencyRates=e.currencySupportEnabled=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r};e.setConfig=m,e.addBidResponseHook=R;var c,i=n(15),t=(c=i)&&c.__esModule?c:{default:c},u=n(3),s=n(6),a=(function(r){{if(r&&r.__esModule)return r;var e={};if(null!=r)for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e.default=r,e}})(n(0)),f=n(2),d=n(19);var l="http://currency.prebid.org/latest.json",y=4,p=[],v={},g=!1,b="USD",C=e.currencySupportEnabled=!1,h=e.currencyRates={},S={};function m(r){var n=l;"object"===o(r.rates)&&(h.conversions=r.rates,g=!0),"string"==typeof r.adServerCurrency?(a.logInfo("enabling currency support",arguments),b=r.adServerCurrency,r.conversionRateFile&&(a.logInfo("currency using override conversionRateFile:",r.conversionRateFile),n=r.conversionRateFile),(function(r){v={},e.currencySupportEnabled=C=!0,a.logInfo("Installing addBidResponse decorator for currency module",arguments),d.hooks.addBidResponse.addHook(R,100),h.conversions||(0,s.ajax)(r,(function(r){try{e.currencyRates=h=JSON.parse(r),a.logInfo("currencyRates set to "+JSON.stringify(h)),g=!0,I()}catch(e){a.logError("failed to parse currencyRates response: "+r)}}))})(n)):(a.logInfo("disabling currency support"),(function(){a.logInfo("Uninstalling addBidResponse decorator for currency module",arguments),d.hooks.addBidResponse.removeHook(R,100),b="USD",v={},e.currencySupportEnabled=C=!1,g=!1,e.currencyRates=h={},S={}})()),"object"===o(r.bidderCurrencyDefault)&&(S=r.bidderCurrencyDefault)}function R(r,e,n){if(!e)return n.apply(this,arguments);var o,c,i,s=e.bidderCode||e.bidder;if(S[s]){var f=S[s];e.currency&&f!==e.currency?a.logWarn("Currency default '"+s+": "+f+"' ignored. adapter specified '"+e.currency+"'"):e.currency=f}if(e.currency||(a.logWarn('Currency not specified on bid.  Defaulted to "USD"'),e.currency="USD"),e.currency===b)return n.apply(this,arguments);p.push((o=n,c=this,i=arguments,function(){var r=i[1];if(void 0!==r&&"currency"in r&&"cpm"in r){var e=r.currency;try{var n=(function(r){var e,n=null;if(r in v)n=v[r],a.logMessage("Using conversionCache value "+n+" for fromCurrency "+r);else if(!1===C){if("USD"!==r)throw new Error("Prebid currency support has not been enabled and fromCurrency is not USD");n=1}else if(r===b)n=1;else{var o=b;if(r in h.conversions){if(e=h.conversions[r],!(o in e))throw new Error("Specified adServerCurrency in config '"+o+"' not found in the currency rates file");n=e[o],a.logInfo("getCurrencyConversion using direct "+r+" to "+o+" conversionRate "+n)}else if(o in h.conversions){if(e=h.conversions[o],!(r in e))throw new Error("Specified fromCurrency '"+r+"' not found in the currency rates file");n=w(1/e[r],y),a.logInfo("getCurrencyConversion using reciprocal "+r+" to "+o+" conversionRate "+n)}else{var c=Object.keys(h.conversions)[0];if(!(r in h.conversions[c]))throw new Error("Specified fromCurrency '"+r+"' not found in the currency rates file");var i=1/h.conversions[c][r];if(!(o in h.conversions[c]))throw new Error("Specified adServerCurrency in config '"+o+"' not found in the currency rates file");var t=h.conversions[c][o];n=w(i*t,y),a.logInfo("getCurrencyConversion using intermediate "+r+" thru "+c+" to "+o+" conversionRate "+n)}}return r in v||(a.logMessage("Adding conversionCache value "+n+" for fromCurrency "+r),v[r]=n),n})(e);r.originalCpm=r.cpm,r.originalCurrency=r.currency,1!==n&&(r.cpm=(parseFloat(r.cpm)*n).toFixed(4),r.currency=b)}catch(e){a.logWarn("Returning NO_BID, getCurrencyConversion threw error: ",e),i[1]=t.default.createBid(u.STATUS.NO_BID,{bidder:r.bidderCode||r.bidder,bidId:r.adId})}}return o.apply(c,i)})),C&&!g||I()}function I(){for(;p.length>0;)p.shift()()}function w(r,e){for(var n=1,o=0;o<e;o++)n+="0";return Math.round(r*n)/n}f.config.getConfig("currency",(function(r){return m(r.currency)}))}},[132]);
  pbjsChunk([62],{134:function(e,r,a){a(135),e.exports=a(136)},135:function(e,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var i=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r.default=e,r}})(a(0)),t=a(1);var d=360,s={noAuid:"Bid from response has no auid parameter - ",noAdm:"Bid from response has no adm parameter - ",noBid:"Array of bid objects is empty",noPlacementCode:"Can't find in requested bids the bid with auid - ",emptyUids:"Uids should be not empty",emptySeatbid:"Seatbid array from response has empty item",emptyResponse:"Response is empty",hasEmptySeatbidArray:"Response has empty seatbid array",hasNoArrayOfBids:"Seatbid from response has no array of bid objects - "},o=r.spec={code:"danmarketplace",aliases:["DANMarketplace","DAN_Marketplace"],isBidRequestValid:function(e){return!!e.params.uid},buildRequests:function(e){var r=[],a={},t="net",d=void 0;return(e||[]).forEach((function(e){"gross"===e.params.priceType&&(t="gross"),a[e.params.uid]?a[e.params.uid].push(e):(a[e.params.uid]=[e],r.push(e.params.uid)),d=e.bidderRequestId})),{method:"GET",url:"//ads.danmarketplace.com/hb",data:{u:i.getTopWindowUrl(),pt:t,auids:r.join(","),r:d},bidsMap:a}},interpretResponse:function(e,r){e=e&&e.body;var a=[],t=r.bidsMap,o=r.data.pt,n=void 0;return e?e.seatbid&&!e.seatbid.length&&(n=s.hasEmptySeatbidArray):n=s.emptyResponse,!n&&e.seatbid&&e.seatbid.forEach((function(e){!(function(e,r,a,t){if(!e)return;var o=void 0;e.auid||(o=s.noAuid+JSON.stringify(e));if(e.adm){var n=r[e.auid];n?n.forEach((function(r){var i={requestId:r.bidId,cpm:e.price,width:e.w,height:e.h,creativeId:e.auid,currency:"USD",netRevenue:"gross"!==a,ttl:d,ad:e.adm,dealId:e.dealid};t.push(i)})):o=s.noPlacementCode+e.auid}else o=s.noAdm+JSON.stringify(e);o&&i.logError(o)})(function(e){e?e.bid?e.bid[0]||i.logError(s.noBid):i.logError(s.hasNoArrayOfBids+JSON.stringify(e)):i.logError(s.emptySeatbid);return e&&e.bid&&e.bid[0]}(e),t,o,a)})),n&&i.logError(n),a},getUserSyncs:function(e){if(e.pixelEnabled)return[{type:"image",url:"//ads.danmarketplace.com/push_sync"}]}};(0,t.registerBidder)(o)},136:function(e,r){}},[134]);
  pbjsChunk([61],{137:function(r,e,t){r.exports=t(138)},138:function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a])}return r};e.default=p;var o=t(139),i=t(38),s=t(13),n=t(0),u=t(2),d={env:"vp",gdfp_req:1,output:"xml_vast3",unviewed_position_start:1};function p(r){if(r.params||r.url){var e=r.adUnit,t=r.bid||i.targeting.getWinningBids(e.code)[0],o={};if(r.url&&(o=(0,s.parse)(r.url),(0,n.isEmpty)(r.params)))return (function(r,e){var t=c(e,r,"search");t&&(r.search.description_url=t);var o=e&&e.adserverTargeting||{},i=a({},o);return r.search.cust_params=encodeURIComponent((0,s.formatQS)(i)),(0,s.format)(r)})(o,t);var u={correlator:Date.now(),sz:(0,n.parseSizesInput)(e.sizes).join("|"),url:location.href},p=t&&t.adserverTargeting||{},l=a({},p,{hb_uuid:t&&t.videoCacheKey},r.params.cust_params),v=a({},d,o.search,u,r.params,{cust_params:encodeURIComponent((0,s.formatQS)(l))}),f=c(t,r,"params");return f&&(v.description_url=f),(0,s.format)({protocol:"https",host:"pubads.g.doubleclick.net",pathname:"/gampad/ads",search:v})}(0,n.logError)("A params object or a url is required to use pbjs.adServers.dfp.buildVideoUrl")}function c(r,e,t){if(!u.config.getConfig("cache.url"))if((0,n.deepAccess)(e,t+".description_url"))(0,n.logError)("input cannnot contain description_url");else{var a=r&&r.vastUrl;if(a)return encodeURIComponent(a)}}(0,o.registerVideoSupport)("dfp",{buildVideoUrl:p})},139:function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerVideoSupport=function(r,e){if(i.adServers=i.adServers||{},i.adServers[r]=i.adServers[r]||{},i.adServers[r].buildVideoUrl)return void(0,o.logWarn)("Multiple calls to registerVideoSupport for AdServer "+r+". Expect surprising behavior.");i.adServers[r].buildVideoUrl=e.buildVideoUrl};var a=t(37),o=t(0),i=(0,a.getGlobal)()}},[137]);
  pbjsChunk([60],{142:function(e,n,t){t(143),e.exports=t(144)},143:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.spec=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=(function(e){{if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}})(t(0)),i=t(1);var a=Math.random(),s="i.e-planning.net",u=["ci","sv","t"],c="1x1",p="file",f=n.spec={code:"eplanning",isBidRequestValid:function(e){return Boolean(e.params.ci)||Boolean(e.params.t)},buildRequests:function(e){var n,t,r=void 0,i=void 0,f=(function(e){if(r=e,o=!1,r.forEach((function(e){return o=e.params.t})),o)return n=e.filter((function(e){return e.params.t})),t=void 0,n.forEach((function(e){return t=t||e.params.isv})),{t:!0,isv:"//"+(t||s)};var n,t;var r,o;var i={};e.forEach((function(e){u.forEach((function(n){e.params[n]&&!i[n]&&(i[n]=e.params[n])}))})),i.sv&&(i.sv="//"+i.sv);return i})(e);if(f.t)r=f.isv+"/layers/t_pbjs_2.json",i={};else{r="//"+(f.sv||"ads.us.e-planning.net")+"/hb/1/"+f.ci+"/1/"+(o.getTopWindowLocation().hostname||p)+"/ROS";var l=o.getTopWindowReferrer(),v=e.map((function(e){return d(e.adUnitCode)+":"+(e.sizes&&e.sizes.length?o.parseSizesInput(e.sizes).join(","):c)})).join("+");i={rnd:a,e:v,ur:o.getTopWindowUrl()||p,r:"pbjs",pbv:"1.3.1",ncb:"1"},l&&(i.fr=l)}return{method:"GET",url:r,data:i,adUnitToBidId:(n=e,t={},n.forEach((function(e){return t[d(e.adUnitCode)]=e.bidId})),t)}},interpretResponse:function(e,n){var t=e.body,r=[];return t&&!o.isEmpty(t.sp)&&t.sp.forEach((function(e){o.isEmpty(e.a)||e.a.forEach((function(t){var o={requestId:n.adUnitToBidId[e.k],cpm:t.pr,width:t.w,height:t.h,ad:t.adm,ttl:120,creativeId:t.crid,netRevenue:!0,currency:"USD"};r.push(o)}))})),r},getUserSyncs:function(e,n){var t=[],i=!o.isEmpty(n)&&n[0].body;i&&!o.isEmpty(i.cs)&&i.cs.forEach((function(n){"string"==typeof n&&e.pixelEnabled?t.push({type:"image",url:n}):"object"===(void 0===n?"undefined":r(n))&&n.ifr&&e.iframeEnabled&&t.push({type:"iframe",url:n.u})}));return t}};function d(e){return e.replace(/_|\.|-|\//g,"").replace(/\)\(|\(|\)/g,"_").replace(/^_+|_+$/g,"")}(0,i.registerBidder)(f)},144:function(e,n){}},[142]);
  pbjsChunk([90],{145:function(e,n,t){e.exports=t(146)},146:function(e,n,t){"use strict";var o=(function(e){{if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}})(t(0));var r="express";pbjs.express=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pbjs.adUnits;o.logMessage("loading "+r),0===e.length&&o.logWarn("no valid adUnits found, not loading "+r);var n={},t=e.reduce((function(e,n){return n.code&&n.bids?e[n.code]=n:o.logError("misconfigured adUnit",null,n),e}),{});window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){var e=window.googletag,i=e.pubads;if(e.display&&e.enableServices&&"function"==typeof i&&i().refresh&&i().disableInitialLoad&&i().getSlots&&i().enableSingleRequest){o.logMessage("running");var a=e.display,l=e.enableServices,s=i().refresh,g=i().disableInitialLoad,d=i().enableSingleRequest;e.enableServices=function(){return u||g.apply(i()),l.apply(e,arguments)},e.display=function(t){var r;o.logInfo("display:",t),a.apply(e,arguments),p||(r=googletag.pubads().getSlots().filter((function(e){return e.getSlotElementId()===t}))),(r=f(r).filter((function(e){return!e._displayed}))).forEach((function(e){e._displayed=!0}));var l=b(r);u||(r.length&&s.apply(i(),[r]),l.length&&pbjs.requestBids({adUnits:l,bidsBackHandler:function(){pbjs.setTargetingForGPTAsync(),s.apply(i(),[l.map((function(e){return n[e.code]}))])}}))},i().refresh=function(e,t){o.logInfo("refresh:",e);var r=b(e=f(e)).filter((function(e){return n[e.code]._displayed}));e.length&&s.apply(i(),[e,t]),r.length&&pbjs.requestBids({adUnits:r,bidsBackHandler:function(){pbjs.setTargetingForGPTAsync(),s.apply(i(),[r.map((function(e){return n[e.code]})),t])}})};var u=!1;i().disableInitialLoad=function(){return u=!0,g.apply(window.googletag.pubads(),arguments)};var p=!1;i().enableSingleRequest=function(){return p=!0,d.apply(window.googletag.pubads(),arguments)}}else o.logError("could not bind to gpt googletag api");function c(e){for(var n=[],t=0;t<e.length;t++)try{n.push([e[t].getWidth(),e[t].getHeight()])}catch(n){o.logWarn("slot size "+e[t].toString()+" not supported by"+r)}return n}function f(e){return Array.isArray(e)?e.slice():googletag.pubads().getSlots().slice()}function b(e){for(var o=[],r=e.length-1;r>-1;r--){var i=e[r],a=i.getSlotElementId(),l=t[a];l&&(n[a]=i,l.sizes=l.sizes||c(i.getSizes()),o.push(l),e.splice(r,1))}return o}}))}}},[145]);
  pbjsChunk([59],{147:function(e,r,t){t(148),e.exports=t(149)},148:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var i=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),n=t(1);var a="x.fidelity-media.com",o=r.spec={code:"fidelity",isBidRequestValid:function(e){return!!(e&&e.params&&e.params.zoneid)},buildRequests:function(e,r){return e.map((function(e){var t=e.params.server||a,n={from:"hb",v:"1.0",requestid:e.bidderRequestId,impid:e.bidId,zoneid:e.params.zoneid,floor:parseFloat(e.params.floor)>0?e.params.floor:0,charset:document.charSet||document.characterSet,defloc:i.getTopWindowUrl(),altloc:window.location.href,subid:"hb",flashver:(function(){var e,r,t;if(navigator.plugins&&navigator.plugins.length>0){e=navigator.plugins;for(var i=0;i<e.length&&!t;i++)(r=e[i]).name.indexOf("Shockwave Flash")>-1&&(t=r.description.split("Shockwave Flash ")[1])}return t||""})(),tmax:r.timeout};return document.referrer&&(n.referrer=document.referrer),{method:"GET",url:"//"+t+"/delivery/hb.php",data:n}}))},interpretResponse:function(e){e=e.body;var r=[];return e&&e.seatbid&&e.seatbid.forEach((function(e){return e.bid.forEach((function(e){var t={requestId:e.impid,creativeId:e.impid,cpm:e.price,width:e.width,height:e.height,ad:e.adm,netRevenue:e.netRevenue,currency:e.cur,ttl:e.ttl};r.push(t)}))})),r},getUserSyncs:function(e){if(e.iframeEnabled)return[{type:"iframe",url:"//"+a+"/delivery/matches.php?type=iframe"}]}};(0,n.registerBidder)(o)},149:function(e,r){}},[147]);
  pbjsChunk([58],{150:function(e,t,r){r(151),e.exports=r(152)},151:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var a="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},o=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),n=r(1);var s="freewheel-ssp",i=location.protocol&&0===location.protocol.indexOf("https")?"https":"http",c=i+"://ads.stickyadstv.com/www/delivery/swfIndex.php",d=i+"://cdn.stickyadstv.com/mustang/mustang.min.js",p=i+"://cdn.stickyadstv.com/prime-time/",u=i+"://ads.stickyadstv.com/auto-user-sync";function l(e){for(var t=[0,0],r=0;r<e.length;r++)e[r][0]*e[r][1]>t[0]*t[1]&&(t=e[r]);return t}function f(e){var t="mustang";return e&&"inbanner"!==e&&(t=e),t}var v=function(e,t){return'var config = {      preloadedVast:vast,      autoPlay:true    };    var ad = new window.com.stickyadstv.vpaid.Ad(document.getElementById("freewheelssp_prebid_target"),config);    (new window.com.stickyadstv.tools.ASLoader('+e.params.zoneId+", '"+f(e.params.format)+"')).registerEvents(ad);    ad.initAd("+t[0]+","+t[1]+',"",0,"","");'},y=function(e){var t=e.adUnitCode,r=e.params;r.hasOwnProperty("domId")||r.hasOwnProperty("auto")||r.hasOwnProperty("p")||r.hasOwnProperty("article")||(r.domId=t);var a="var config = {  preloadedVast:vast,  ASLoader:new window.com.stickyadstv.tools.ASLoader("+e.params.zoneId+", '"+f(e.params.format)+"')";for(var o in r)r.hasOwnProperty(o)&&"format"!==o&&"zone"!==o&&"zoneId"!==o&&"vastUrlParams"!==o&&(a+=","+o+':"'+r[o]+'"');return a+="};window.com.stickyadstv."+(e.params.format||"").replace("-","")+".start(config);"},m=t.spec={code:s,supportedMediaTypes:["banner","video"],aliases:["stickyadstv"],isBidRequestValid:function(e){return!!e.params.zoneId},buildRequests:function(e){var t=e[0];e.length>1&&o.logMessage("Prebid.JS - freewheel bid adapter: only one ad unit is required.");var r,a={reqType:"AdsSetup",protocolVersion:"2.0",zoneId:t.params.zoneId,componentId:f(t.params.format)},n=o.getTopWindowUrl();(r=n)&&/^(https?|ftp|file):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/.test(r)&&(a.loc=n);var s=l(t.sizes);return(s[0]>0||s[1]>0)&&(a.playerSize=s[0]+"x"+s[1]),{method:"GET",url:c,data:a,bidRequest:t}},interpretResponse:function(e,t){var r,n=t.bidRequest,i=l(n.sizes);"object"==(void 0===e?"undefined":a(e))&&"string"==typeof e.body&&(e=e.body);try{r=(new DOMParser).parseFromString(e,"application/xml")}catch(e){return void o.logWarn("Prebid.js - "+s+" : "+e)}var c,u,m=(function(e){var t,r={},a=e.querySelectorAll("Extension");if(Array.prototype.forEach.call(a,(function(e){"StickyPricing"===e.getAttribute("type")&&(t=e)})),t){var n=t.querySelector("Price");r={currency:n.getAttribute("currency"),price:n.textContent||n.innerText}}else o.logWarn("PREBID - "+s+": Can't get pricing data. Is price awareness enabled?");return r})(r),w=(c="",u=r.querySelectorAll("Ad"),Array.prototype.forEach.call(u,(function(e){c+="["+e.getAttribute("id")+"]"})),c),h=(function(){var e=window;try{for(;top!==e;)e.parent.location.href.length&&(e=e.parent)}catch(e){}return e})();h.freewheelssp_cache||(h.freewheelssp_cache={}),h.freewheelssp_cache[n.adUnitCode]=e;var g,b,A,S,z,I=[];if(m.price){var P={requestId:n.bidId,cpm:m.price,width:i[0],height:i[1],creativeId:w,currency:m.currency,netRevenue:!0,ttl:360};if((n.mediaTypes||{}).video){P.mediaType="video";var _=new Blob([e],{type:"application/xml"});P.vastUrl=window.URL.createObjectURL(_)}else P.ad=(b=i,A=(g=n).params.format,S="",z="",A&&"inbanner"!==A?(z=p+f(g.params.format)+".min.js",S=y(g,b)):(z=d,S=v(g,b)),"<div id=\"freewheelssp_prebid_target\"></div><script type='text/javascript'>(function() {  var st = document.createElement('script'); st.type = 'text/javascript'; st.async = true;  st.src = '"+z+"';  st.onload = function(){    var vastLoader = new window.com.stickyadstv.vast.VastLoader();    var vast = vastLoader.getVast();    var topWindow = (function(){var res=window; try{while(top != res){if(res.parent.location.href.length)res=res.parent;}}catch(e){}return res;})();    vast.setXmlString(topWindow.freewheelssp_cache[\""+g.adUnitCode+'"]);    vastLoader.parseAds(vast, {      onSuccess: function() {'+S+" }    });  };  document.head.appendChild(st);})();<\/script>");I.push(P)}return I},getUserSyncs:function(e){if(e.pixelEnabled)return[{type:"image",url:u}]}};(0,n.registerBidder)(m)},152:function(e,t){}},[150]);
  pbjsChunk([57],{153:function(e,r,i){i(154),e.exports=i(155)},154:function(e,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var t=i(1),a="px.adhigh.net",n="/rtb/direct_banner",s="/rtb/direct_vast",d=["protocols","mimes","min_dur","max_dur","min_btr","max_btr","vi_format","api","skippable"],o=["cur","floor"],p=r.spec={code:"getintent",aliases:["getintentAdapter"],supportedMediaTypes:["video","banner"],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.pid&&e.params.tid)},buildRequests:function(e){return e.map((function(e){var r,i=(function(e){var r={bid_id:e.bidId,pid:e.params.pid,tid:e.params.tid,known:e.params.known||1,is_video:"video"===e.mediaType,resp_type:"JSON"};e.sizes&&(r.size=(i=e.sizes,Array.isArray(i[0])?i[0].join("x"):i.join("x")));var i;return (function(e,r){if(r.is_video&&e)for(var i=0,t=d.length;i<t;i++){var a=d[i];e.hasOwnProperty(a)&&(r[a]=Array.isArray(e[a])?e[a].join(","):e[a])}})(e.params.video,r),(function(e,r,i){for(var t=0;t<i.length;t++)e.hasOwnProperty(i[t])&&(r[i[t]]=e[i[t]])})(e.params,r,o),r})(e);return{method:"GET",url:(r=i,"//"+a+(r.is_video?s:n)),data:i}}))},interpretResponse:function(e){var r=e.body,i=[];if(r&&1!==r.no_bid){var t=r.size.split("x").map(Number),a={requestId:r.bid_id,ttl:360,netRevenue:!0,currency:r.currency,creativeId:r.creative_id,cpm:r.cpm,width:t[0],height:t[1]};r.vast_url?(a.mediaType="video",a.vastUrl=r.vast_url):(a.mediaType="banner",a.ad=r.ad),i.push(a)}return i}};(0,t.registerBidder)(p)},155:function(e,r){}},[153]);
  pbjsChunk([56],{156:function(e,r,t){t(157),e.exports=t(158)},157:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var i=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),n=t(1);var a="x",d=";",u=r.spec={code:"gjirafa",isBidRequestValid:function(e){return e.params&&(!!e.params.placementId||!!e.params.minCPM&&!!e.params.minCPC)},buildRequests:function(e,r){return e.map((function(e){var r={gjid:Math.floor(99999999*Math.random()),sizes:e.sizes.map((function(e){return e.join(a)})).join(d),configId:e.params.placementId||"",minCPM:e.params.minCPM||0,minCPC:e.params.minCPC||0,allowExplicit:e.params.explicit||0,referrer:i.getTopWindowUrl(),requestid:e.bidderRequestId,bidid:e.bidId};return document.referrer&&(r.referrer=document.referrer),{method:"GET",url:"https://gjc.gjirafa.com/Home/GetBid",data:r}}))},interpretResponse:function(e,r){var t=e.body,i=[],n={requestId:r.data.bidid,cpm:t.CPM,width:t.Width,height:t.Height,creativeId:t.CreativeId,currency:t.Currency,netRevenue:t.NetRevenue,ttl:t.TTL,referrer:t.Referrer,ad:t.Ad};return i.push(n),i}};(0,n.registerBidder)(u)},158:function(e,r){}},[156]);
  pbjsChunk([89],{159:function(e,n,o){e.exports=o(160)},160:function(e,n,o){"use strict";var t="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},i=o(9),s=o(0),a=o(3),r=o(5),d=a.EVENTS.BID_REQUESTED,c=a.EVENTS.BID_TIMEOUT,u=a.EVENTS.BID_RESPONSE,l=a.EVENTS.BID_WON,f={nonInteraction:!0},p=[],b=null,m=!0,v="Prebid.js Bids",y=0,g=!1,T=null,w=!0;function E(){if(m&&"function"==typeof window[b]){for(var e=0;e<p.length;e++)p[e].call();p.push=function(e){e.call()},m=!1}s.logMessage("event count sent to GA: "+y)}function S(e){return e?Math.floor(100*e):0}function h(e){e&&e.bidderCode&&p.push((function(){y++,window[b](T,"event",v,"Requests",e.bidderCode,1,f)})),E()}function $(e){e&&e.bidderCode&&p.push((function(){var n,o,t,i,s=S(e.cpm),a=e.bidderCode;if(void 0!==e.timeToRespond&&g){y++;var r=((n=e.timeToRespond)>=0&&n<200?o="0-200ms":n>=200&&n<300?o="0200-300ms":n>=300&&n<400?o="0300-400ms":n>=400&&n<500?o="0400-500ms":n>=500&&n<600?o="0500-600ms":n>=600&&n<800?o="0600-800ms":n>=800&&n<1e3?o="0800-1000ms":n>=1e3&&n<1200?o="1000-1200ms":n>=1200&&n<1500?o="1200-1500ms":n>=1500&&n<2e3?o="1500-2000ms":n>=2e3&&(o="2000ms above"),o);window[b](T,"event","Prebid.js Load Time Distribution",r,a,1,f)}if(e.cpm>0){y+=2;var d=((t=e.cpm)>=0&&t<.5?i="$0-0.5":t>=.5&&t<1?i="$0.5-1":t>=1&&t<1.5?i="$1-1.5":t>=1.5&&t<2?i="$1.5-2":t>=2&&t<2.5?i="$2-2.5":t>=2.5&&t<3?i="$2.5-3":t>=3&&t<4?i="$3-4":t>=4&&t<6?i="$4-6":t>=6&&t<8?i="$6-8":t>=8&&(i="$8 above"),i);g&&(y++,window[b](T,"event","Prebid.js CPM Distribution",d,a,1,f)),window[b](T,"event",v,"Bids",a,s,f),window[b](T,"event",v,"Bid Load Time",a,e.timeToRespond,f)}})),E()}function D(e){p.push((function(){s._each(e,(function(e){y++,window[b](T,"event",v,"Timeouts",e,f)}))})),E()}function N(e){var n=S(e.cpm);p.push((function(){y++,window[b](T,"event",v,"Wins",e.bidderCode,n,f)})),E()}n.enableAnalytics=function(e){var n=e.provider,o=e.options;b=n||"ga",T=o&&o.trackerName?o.trackerName+".send":"send",w=void 0===o||void 0===o.sampling||Math.random()<parseFloat(o.sampling),o&&void 0!==o.global&&(b=o.global),o&&void 0!==o.enableDistribution&&(g=o.enableDistribution);if(w){var a=i.getEvents();s._each(a,(function(e){if("object"===(void 0===e?"undefined":t(e))){var n=e.args;if(e.eventType===d)h(n);else if(e.eventType===u)$(n);else if(e.eventType===c){D(n)}else e.eventType===l&&N(n)}})),i.on(d,(function(e){h(e)})),i.on(u,(function(e){$(e)})),i.on(c,(function(e){D(e)})),i.on(l,(function(e){N(e)}))}else s.logMessage("Prebid.js google analytics disabled by sampling");this.enableAnalytics=function(){return s.logMessage("Analytics adapter already enabled, unnecessary call to `enableAnalytics`.")}},n.getTrackerSend=function(){return T},r.registerAnalyticsAdapter({adapter:n,code:"ga"})}},[159]);
  pbjsChunk([55],{161:function(e,t,r){r(162),e.exports=r(163)},162:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var i=(function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var r=[],i=!0,n=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(i=(a=u.next()).done)&&(r.push(a.value),!t||r.length!==t);i=!0);}catch(e){n=!0,o=e}finally{try{!i&&u.return&&u.return()}finally{if(n)throw o}}return r})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},o=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),a=r(2),u=r(1);var c="https://g2.gumgum.com/hbid/imp",s={member:"YcXr87z2lpbB"},d=60,p={};var l=t.spec={code:"gumgum",aliases:["gg"],isBidRequestValid:function(e){var t=e.params,r=e.adUnitCode;switch(!0){case!!t.inScreen:case!!t.inSlot:break;default:return o.logWarn("[GumGum] No product selected for the placement "+r+", please check your implementation."),!1}return!0},buildRequests:function(t){var r=[];return o._each(t,(function(t){var i,u,d=a.config.getConfig("bidderTimeout"),l=t.bidId,f=t.params,v=void 0===f?{}:f,h=t.transactionId,g={};v.inScreen&&(g.t=v.inScreen,g.pi=2),v.inSlot&&(g.si=parseInt(v.inSlot,10),g.pi=3),r.push({id:l,tmax:d,tId:h,pi:g.pi,sizes:t.sizes,url:c,method:"GET",data:n(g,(function(){var t=void 0,r=void 0;if(p.vw)return p;try{r=(t=e.top).screen}catch(e){return o.logError(e),p}return p={vw:t.innerWidth,vh:t.innerHeight,sw:r.width,sh:r.height,pu:o.getTopWindowUrl(),ce:o.cookiesAreEnabled(),dpr:t.devicePixelRatio||1}})(),(u=(i=window.DigiTrust&&window.DigiTrust.getUser?window.DigiTrust.getUser(s):{})&&i.success&&i.identity||"",!u||u.privacy&&u.privacy.optout?{}:{dt:u.id}))})})),r},interpretResponse:function(e,t){var r,a,u=[],c=e.body,s=c.ad,p=s.price,l=s.id,f=s.markup,v=c.cw,h=t.data&&3===t.data.pi&&9===t.data.si,g=o.parseSizesInput(t.sizes)[0].split("x"),m=i(g,2),y=m[0],w=m[1];return l&&u.push({ad:v?(r=v,a=n({},c,{bidRequest:t}),r.replace("AD_JSON",window.btoa(JSON.stringify(a)))):f,cpm:h?.1:p,creativeId:l,currency:"USD",height:w,netRevenue:!0,requestId:t.id,ttl:d,width:y}),u}};(0,u.registerBidder)(l)}).call(t,r(26))},163:function(e,t){}},[161]);
  pbjsChunk([54],{164:function(e,t,n){n(165),e.exports=n(166)},165:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var r=n(1),s=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0));var i={"468x60":1,"728x90":2,"300x600":10,"300x250":15,"300x100":19,"320x50":43,"300x50":44,"300x300":48,"300x1050":54,"970x90":55,"970x250":57,"1000x90":58,"320x80":59,"640x480":65,"320x480":67,"320x320":72,"320x160":73,"480x300":83,"970x310":94,"970x210":96,"480x320":101,"768x1024":102,"1000x300":113,"320x100":117,"800x250":118,"200x600":119};s._each(i,(function(e,t){return i[e]=t}));var a=t.spec={code:"huddledmasses",isBidRequestValid:function(e){return!isNaN(e.params.placement_id)&&(void 0!==e.params.sizes&&e.params.sizes.length>0&&e.params.sizes.some((function(e){return void 0!==i[e]}))||void 0!==e.sizes&&e.sizes.length>0&&e.sizes.map((function(e){return e[0]+"x"+e[1]})).some((function(e){return void 0!==i[e]})))},buildRequests:function(e){var t=window;try{window.top.location.toString(),t=window.top}catch(e){s.logMessage(e)}for(var n=s.getTopWindowLocation(),r=[],i={deviceWidth:t.screen.width,deviceHeight:t.screen.height,language:navigator&&navigator.language?navigator.language:"",secure:"https:"===n.protocol?1:0,host:n.host,page:n.pathname,placements:r},a=0;a<e.length;a++){var o=e[a],u={};u.placementId=o.params.placement_id,u.bidId=o.bidId,u.sizes=o.sizes,r.push(u)}return{method:"POST",url:"//huddledmassessupply.com/?c=o&m=multi",data:i}},interpretResponse:function(e){var t=[];try{e=e.body;for(var n=0;n<e.length;n++){var r=e[n];r.width&&!isNaN(r.width)&&r.height&&!isNaN(r.height)&&r.requestId&&"string"==typeof r.requestId&&r.cpm&&!isNaN(r.cpm)&&r.ad&&"string"==typeof r.ad&&r.ttl&&!isNaN(r.ttl)&&r.creativeId&&"string"==typeof r.creativeId&&r.netRevenue&&"boolean"==typeof r.netRevenue&&r.currency&&"string"==typeof r.currency&&t.push(r)}}catch(e){s.logMessage(e)}return t},getUserSyncs:function(){return[{type:"image",url:"//huddledmassessupply.com/?c=o&m=cookie"}]}};(0,r.registerBidder)(a)},166:function(e,t){}},[164]);
  pbjsChunk([53],{167:function(e,r,t){t(168),e.exports=t(169)},168:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var 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},n=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),s=t(1),a=t(2),d=t(12);var u=r.spec={version:"4.1.0",code:"improvedigital",aliases:["id"],isBidRequestValid:function(e){return!!(e&&e.params&&(e.params.placementId||e.params.placementKey&&e.params.publisherId))},buildRequests:function(e){var r=e.map((function(e){return (function(e){var r=n.getBidIdParameter("adUnitCode",e)||null,t=n.getBidIdParameter("placementId",e.params)||null,i=null,s=null;null===t&&(i=n.getBidIdParameter("publisherId",e.params)||null,s=n.getBidIdParameter("placementKey",e.params)||null);var d=n.getBidIdParameter("keyValues",e.params)||null,u=n.getBidIdParameter("size",e.params)||null,o=n.getBidIdParameter("bidId",e),c=n.getBidIdParameter("transactionId",e),p=a.config.getConfig("currency.adServerCurrency"),l={};t?l.placementId=t:(i&&(l.publisherId=i),s&&(l.placementKey=s));d&&(l.keyValues=d);u&&u.w&&u.h&&(l.size={},l.size.h=u.h,l.size.w=u.w);o&&(l.id=o);r&&(l.adUnitId=r);c&&(l.transactionId=c);p&&(l.currency=p);return l})(e)})),t=new o("hb"),i={singleRequestMode:!1,httpRequestType:t.CONSTANTS.HTTP_REQUEST_TYPE.GET,returnObjType:t.CONSTANTS.RETURN_OBJ_TYPE.PREBID,libVersion:this.version},s=t.createRequest(r,i);return s.errors&&s.errors.length>0&&n.logError("ID WARNING 0x01"),s.requests},interpretResponse:function(e,r){var t=[];return n._each(e.body.bid,(function(e){if(e.price&&null!==e.price&&!e.hasOwnProperty("errorCode")&&"string"==typeof e.adm){var r={},s="";e.nurl&&e.nurl.length>0&&(s='<img src="'+e.nurl+'" width="0" height="0" style="display:none">'),r.ad=s+"<script>"+e.adm+"<\/script>",r.adId=e.id,r.cpm=parseFloat(e.price),r.creativeId=e.crid,r.currency=e.currency?e.currency.toUpperCase():"USD",n.isNumber(e.lid)?r.dealId=e.lid:"object"===i(e.lid)&&e.lid[1]&&(r.dealId=e.lid[1]),r.height=e.h,r.netRevenue=!!e.isNet&&e.isNet,r.requestId=e.id,r.ttl=300,r.width=e.w,t.push(r),n.isArray(e.sync)&&n._each(e.sync,(function(e){d.userSync.registerSync("image",u.code,e)}))}})),t}};function o(e){this.CONSTANTS={HTTP_REQUEST_TYPE:{GET:0,POST:1},HTTP_SECURITY:{STANDARD:0,SECURE:1},AD_SERVER_BASE_URL:"ad.360yield.com",END_POINT:e||"hb",AD_SERVER_URL_PARAM:"jsonp=",CLIENT_VERSION:"JS-4.3.3",MAX_URL_LENGTH:2083,ERROR_CODES:{BAD_HTTP_REQUEST_TYPE_PARAM:1,MISSING_PLACEMENT_PARAMS:2,LIB_VERSION_MISSING:3},RETURN_OBJ_TYPE:{DEFAULT:0,PREBID:1}},this.getErrorReturn=function(e){return{idMappings:{},requests:{},errorCode:e}},this.createRequest=function(e,r,t){if(r.httpRequestType!==this.CONSTANTS.HTTP_REQUEST_TYPE.GET)return this.getErrorReturn(this.CONSTANTS.ERROR_CODES.BAD_HTTP_REQUEST_TYPE_PARAM);if(!r.libVersion)return this.getErrorReturn(this.CONSTANTS.ERROR_CODES.LIB_VERSION_MISSING);r.returnObjType=r.returnObjType||this.CONSTANTS.RETURN_OBJ_TYPE.DEFAULT;var i=[],s=void 0,a=void 0;if(n.isArray(e))for(a=0;a<e.length;a++)s=this.createImpressionObject(e[a]),i.push(s);else s=this.createImpressionObject(e),i.push(s);var d=!0;r.returnObjType===this.CONSTANTS.RETURN_OBJ_TYPE.PREBID&&(d=!1);var u={requests:[]};d&&(u.idMappings=[]);var o=null,c=(1===r.secure?"https":"http")+"://"+this.CONSTANTS.AD_SERVER_BASE_URL+"/"+this.CONSTANTS.END_POINT+"?"+this.CONSTANTS.AD_SERVER_URL_PARAM,p={bid_request:this.createBasicBidRequestObject(r,t)};for(a=0;a<i.length;a++)if((s=i[a]).errorCode)(o=o||[]).push({errorCode:s.errorCode,adUnitId:s.adUnitId});else{d&&u.idMappings.push({adUnitId:s.adUnitId,id:s.impressionObject.id}),p.bid_request.imp=p.bid_request.imp||[],p.bid_request.imp.push(s.impressionObject);var l=!1;(c+encodeURIComponent(JSON.stringify(p))).length>this.CONSTANTS.MAX_URL_LENGTH&&(l=!0,p.bid_request.imp.length>1&&(p.bid_request.imp.pop(),d&&u.idMappings.pop(),a--)),!l&&r.singleRequestMode&&a!==i.length-1||(u.requests.push(this.formatRequest(r,p)),p={bid_request:this.createBasicBidRequestObject(r,t)})}return o&&(u.errors=o),u},this.formatRequest=function(e,r){switch(e.returnObjType){case this.CONSTANTS.RETURN_OBJ_TYPE.PREBID:return{method:"GET",url:"//"+this.CONSTANTS.AD_SERVER_BASE_URL+"/"+this.CONSTANTS.END_POINT,data:""+this.CONSTANTS.AD_SERVER_URL_PARAM+JSON.stringify(r)};default:return{url:(1===e.secure?"https":"http")+"://"+this.CONSTANTS.AD_SERVER_BASE_URL+"/"+this.CONSTANTS.END_POINT+"?"+this.CONSTANTS.AD_SERVER_URL_PARAM+encodeURIComponent(JSON.stringify(r))}}},this.createBasicBidRequestObject=function(e,r){var t={};if(e.requestId?t.id=e.requestId:t.id=n.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),"secure"in e&&(t.secure=e.secure),e.libVersion&&(t.version=e.libVersion+"-"+this.CONSTANTS.CLIENT_VERSION),r)for(var i in r)t[i]=r[i];return t},this.createImpressionObject=function(e){var r={},t={};if(r.impressionObject=t,e.id?t.id=e.id:t.id=n.getUniqueIdentifierStr(),e.adUnitId&&(r.adUnitId=e.adUnitId),e.currency&&(t.currency=e.currency.toUpperCase()),e.placementId&&(t.pid=e.placementId),e.publisherId&&(t.pubid=e.publisherId),e.placementKey&&(t.pkey=e.placementKey),e.transactionId&&(t.tid=e.transactionId),e.keyValues)for(var i in e.keyValues)for(var s=0;s<e.keyValues[i].length;s++)t.kvw=t.kvw||{},t.kvw[i]=t.kvw[i]||[],t.kvw[i].push(e.keyValues[i][s]);return e.size&&e.size.w&&e.size.h?(t.banner={},t.banner.w=e.size.w,t.banner.h=e.size.h):t.banner={},t.pid||t.pubid||t.pkey||t.banner&&t.banner.w&&t.banner.h||(r.impressionObject=null,r.errorCode=this.CONSTANTS.ERROR_CODES.MISSING_PLACEMENT_PARAMS),r}}(0,s.registerBidder)(u),r.ImproveDigitalAdServerJSClient=o},169:function(e,r){}},[167]);
  pbjsChunk([52],{170:function(e,r,i){i(171),e.exports=i(172)},171:function(e,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var t=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(e[t]=i[t])}return e},n=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r.default=e,r}})(i(0)),d=i(1);var a={inskin:{BASE_URI:"https://mfad.inskinad.com/api/v2"}},s=r.spec={code:"inskin",isBidRequestValid:function(e){return!(!e.params.networkId||!e.params.siteId)},buildRequests:function(e){var r={method:"POST",url:"",data:"",bidRequest:[]};if(e.length<1)return r;var i=void 0,d=t({placements:[],time:Date.now(),user:{},url:n.getTopWindowUrl(),referrer:document.referrer,enableBotFiltering:!0,includePricingData:!0,parallel:!0},e[0].params);return e.map((function(e){var r=a[e.bidder];i=r.BASE_URI;var n,s,c=t({divName:e.bidId,adTypes:e.adTypes||(n=e.sizes,s=[],n.forEach((function(e){var r=o.indexOf(e[0]+"x"+e[1]);r>=0&&s.push(r)})),s),eventIds:[40,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295]},e.params);c.adTypes.push(5,9,163,2163,3006),c.networkId&&c.siteId&&d.placements.push(c)})),r.data=JSON.stringify(d),r.bidRequest=e,r.url=i,r},interpretResponse:function(e,r){var i,t,d=void 0,a=void 0,s=void 0,o=[],c={};i=r.bidRequest,e=(e||{}).body;for(var u=0;u<i.length;u++)if(d={},a=(s=i[u]).bidId,c[a]=s,e){var p=e.decisions&&e.decisions[a],l=p&&p.pricing&&p.pricing.clearPrice;p&&l&&(d.requestId=a,d.cpm=l,d.width=p.width,d.height=p.height,d.ad=(t=p,"<script>window.top.postMessage({from: 'ism-bid', bidId: '"+a+"'}, '*');<\/script>"+n.createTrackPixelHtml(t.impressionUrl)),d.currency="USD",d.creativeId=p.adId,d.ttl=360,d.netRevenue=!0,d.referrer=n.getTopWindowUrl(),o.push(d))}return o.length&&window.addEventListener("message",(function(r){if(r.data&&"ism-bid"===r.data.from&&(e.decisions&&e.decisions[r.data.bidId])){var i="ism_tag_"+Math.floor(1e17*Math.random());window[i]={bidId:r.data.bidId,serverResponse:e};var t=document.createElement("script");t.src="https://cdn.inskinad.com/isfe/publishercode/"+c[r.data.bidId].params.siteId+"/default.js?autoload&id="+i,document.getElementsByTagName("head")[0].appendChild(t)}})),o},getUserSyncs:function(e){return[]}},o=[null,"120x90","120x90","468x60","728x90","300x250","160x600","120x600","300x100","180x150","336x280","240x400","234x60","88x31","120x60","120x240","125x125","220x250","250x250","250x90","0x0","200x90","300x50","320x50","320x480","185x185","620x45","300x125","800x250"];o[77]="970x90",o[123]="970x250",o[43]="300x600",(0,d.registerBidder)(s)},172:function(e,r){}},[170]);
  pbjsChunk([51],{173:function(e,a,t){t(174),e.exports=t(175)},174:function(e,a,t){"use strict";(function(e){Object.defineProperty(a,"__esModule",{value:!0}),a.spec=void 0;var r=(function(e){{if(e&&e.__esModule)return e;var a={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(a[t]=e[t]);return a.default=e,a}})(t(0)),i=t(1);var n=a.spec={code:"iqm",aliases:["iqm"],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.publisherId&&e.params.placementId&&e.params.tagId)},buildRequests:function(e){var a="",t="",i=d();return e.map((function(e){a=e.requestId;var n=r.getBidIdParameter("bidfloor",e.params);t=r.getBidIdParameter("tagId",e.params);var d={id:e.bidId,secure:1,bidfloor:n||0,displaymanager:"Prebid.js",displaymanagerver:"v.1.0.0",mediatype:"banner"};return d.banner=s(e.sizes),{method:"POST",url:"https://pbd.bids.iqm.com",data:{id:a,publisherId:r.getBidIdParameter("publisherId",e.params),tagId:r.getBidIdParameter("tagId",e.params),placementId:r.getBidIdParameter("placementId",e.params),device:i,site:{id:t,page:r.getTopWindowLocation().href,domain:r.getTopWindowLocation().host},imp:d}}}))},interpretResponse:function(e,a){var t=[];return(e=e.body)&&r.isArray(e.seatbid)&&r._each(e.seatbid,(function(i){r._each(i.bid,(function(r){var i=parseFloat(r.price);if(i>0&&r.impid){var n={requestId:r.impid,currency:e.cur||"USD",cpm:i,netRevenue:!0,creativeId:r.crid||"",ad:r.adm||"",width:r.w||a.data.imp.banner.w,height:r.h||a.data.imp.banner.h,ttl:r.ttl||300};t.push(n)}}))})),t}},d=function(){var a=navigator.language?"language":"userLanguage";return{h:screen.height,w:screen.width,dnt:o()?1:0,language:navigator[a].split("-")[0],make:navigator.vendor?navigator.vendor:"",ua:navigator.userAgent,devicetype:/(ios|ipod|ipad|iphone|android)/i.test(e.navigator.userAgent)?1:/(smart[-]?tv|hbbtv|appletv|googletv|hdmi|netcast\.tv|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b)/i.test(e.navigator.userAgent)?3:2}},o=function(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack},s=function(e){return 2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]?{w:e[0],h:e[1]}:{w:e[0][0],h:e[0][1]}};(0,i.registerBidder)(n)}).call(a,t(26))},175:function(e,a){}},[173]);
  pbjsChunk([50],{176:function(e,r,t){t(177),e.exports=t(178)},177:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var i=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),n=t(1);var d=r.spec={code:"jcm",aliases:["jcarter"],isBidRequestValid:function(e){return!!(e.params&&e.params.siteId&&e.bidId)},buildRequests:function(e){for(var r={bids:[]},t=0;t<e.length;t++){for(var n="",d=e[t],a=0;a<d.sizes.length;a++)n+=i.parseGPTSingleSizeArray(d.sizes[a]),a!==d.sizes.length-1&&(n+=",");r.bids.push({callbackId:d.bidId,siteId:d.params.siteId,adSizes:n})}var s=JSON.stringify(r);return{method:"GET",url:"//media.adfrontiers.com/pq",data:"t=hb&ver=1.0&compact=true&bids="+encodeURIComponent(s)}},interpretResponse:function(e){var r=[];if((e=e.body)&&e.bids)for(var t=e.bids,i=0;i<t.length;i++){var n=t[i],a={requestId:n.callbackId,bidderCode:d.code,cpm:n.cpm,width:n.width,height:n.height,creativeId:n.creativeId,currency:"USD",netRevenue:n.netRevenue,ttl:n.ttl,ad:decodeURIComponent(n.ad.replace(/\+/g,"%20"))};r.push(a)}return r},getUserSyncs:function(e){return e.iframeEnabled?[{type:"iframe",url:"//media.adfrontiers.com/hb/jcm_usersync.html"}]:e.image?[{type:"image",url:"//media.adfrontiers.com/hb/jcm_usersync.png"}]:void 0}};(0,n.registerBidder)(d)},178:function(e,r){}},[176]);
  pbjsChunk([49],{179:function(e,n,t){t(180),e.exports=t(181)},180:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.spec=void 0;var r=t(1),i=t(0),o=(0,i.getTopWindowLocation)().protocol+"//pre.ads.justpremium.com/v/2.0/t/xhr",c=[],a=n.spec={code:"justpremium",time:6e4,isBidRequestValid:function(e){return!!(e&&e.params&&e.params.zone)},buildRequests:function(e){var n,t,r=(n={},t={},e.forEach((function(e){var r=e.params,i=r.zone;if(1!==n[i]){var o=r.allow||r.formats||[],c=r.exclude||[];if(0===o.length&&0===c.length)return n[r.zone]=1;n[i]=n[i]||[[],{}],n[i][0]=(function(e){for(var n=e.concat(),t=0;t<n.length;++t)for(var r=t+1;r<n.length;++r)n[t]===n[r]&&n.splice(r--,1);return n})(n[i][0].concat(o)),c.forEach((function(e){n[i][1][e]?n[i][1][e]++:n[i][1][e]=1})),t[i]=t[i]||0,c.length&&t[i]++}})),Object.keys(t).forEach((function(e){if(1!==n[e]){var r=[];Object.keys(n[e][1]).forEach((function(i){n[e][1][i]===t[e]&&r.push(i)})),n[e][1]=r}})),Object.keys(n).forEach((function(e){1!==n[e]&&n[e][1].length&&(n[e][0].forEach((function(t){var r=n[e][1].indexOf(t);r>-1&&n[e][1].splice(r,1)})),n[e][0].length=0),1===n[e]||n[e][0].length||n[e][1].length||(n[e]=1)})),n),c=(function(){var e=void 0;try{e=window.top}catch(n){e=window}return{screenWidth:e.screen.width,screenHeight:e.screen.height,innerWidth:e.innerWidth,innerHeight:e.innerHeight}})(),a={zone:e.map((function(e){return parseInt(e.params.zone)})).filter((function(e,n,t){return t.indexOf(e)===n})),hostname:(0,i.getTopWindowLocation)().hostname,protocol:(0,i.getTopWindowLocation)().protocol.replace(":",""),sw:c.screenWidth,sh:c.screenHeight,ww:c.innerWidth,wh:c.innerHeight,c:r,id:e[0].params.zone,sizes:{}};e.forEach((function(e){var n=e.params.zone,t=a.sizes;t[n]=t[n]||[],t[n].push.apply(t[n],e.sizes)}));var s=JSON.stringify(a);return{method:"POST",url:o+"?i="+ +new Date,data:s,bids:e}},interpretResponse:function(e,n){var t=e.body,r=[];return n.bids.forEach((function(e){var n=(function(e,n){var t=e.zone;if(n[t])for(var r=n[t].length;r--;)if(s(e,n[t][r]))return n[t].splice(r,1).pop();return!1})(e.params,t.bid);if(n){var i=e.sizes&&e.sizes.length&&e.sizes[0]||[],o={requestId:e.bidId,creativeId:n.id,width:i[0]||n.width,height:i[1]||n.height,ad:n.adm,cpm:n.price,netRevenue:!0,currency:n.currency||"USD",ttl:n.ttl||a.time};r.push(o)}})),r},getUserSyncs:function(e){return e.iframeEnabled&&c.push({type:"iframe",src:"//us-u.openx.net/w/1.0/pd?plm=10&ph=26e53f82-d199-49df-9eca-7b350c0f9646"}),c}};function s(e,n){var t=n.format;return e.allow&&e.allow.length?e.allow.indexOf(t)>-1:!e.exclude||!e.exclude.length||e.exclude.indexOf(t)<0}(0,r.registerBidder)(a)},181:function(e,n){}},[179]);
  pbjsChunk([48],{182:function(e,r,t){t(183),e.exports=t(184)},183:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var n=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},a=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),o=t(2),u=t(1);var c=r.spec={code:"kargo",isBidRequestValid:function(e){return!(!e||!e.params)&&!!e.params.placementId},buildRequests:function(e,r){var t=o.config.getConfig("currency"),u=n({},{timeout:r.timeout,currency:t,cpmGranularity:1,cpmRange:{floor:0,ceil:20},adSlotIds:a._map(e,(function(e){return e.params.placementId}))},c._getAllMetadata()),i=encodeURIComponent(JSON.stringify(u));return n({},r,{method:"GET",url:"https://krk.kargo.com/api/v1/bid",data:"json="+i,currency:t})},interpretResponse:function(e,r){var t=e.body,n={};a._each(r.bids,(function(e){return n[e.params.placementId]=e}));var o=[];for(var u in t){var c=t[u];o.push({requestId:n[u].bidId,cpm:Number(c.cpm),width:c.width,height:c.height,ad:c.adm,ttl:300,creativeId:u,netRevenue:!0,currency:r.currency})}return o},_readCookie:function(e){var r=e+"=",t=document.cookie.split(";");for(var n in t){for(var a=t[n];" "===a.charAt(0);)a=a.substring(1,a.length);if(0===a.indexOf(r))return a.substring(r.length,a.length)}return null},_getCrbIds:function(){try{var e=JSON.parse(decodeURIComponent(c._readCookie("krg_crb"))),r={};if(e&&e.v){var t=JSON.parse(atob(e.v));t&&t.syncIds&&(r=t.syncIds)}return r}catch(e){return{}}},_getUid:function(){try{var e=JSON.parse(decodeURIComponent(c._readCookie("krg_uid"))),r={};return e&&e.v&&(r=e.v),r}catch(e){return{}}},_getKruxUserId:function(){return c._getLocalStorageSafely("kxkar_user")},_getKruxSegments:function(){return c._getLocalStorageSafely("kxkar_segs")},_getKrux:function(){var e=c._getKruxSegments(),r=[];return e&&(r=e.split(",")),{userID:c._getKruxUserId(),segments:r}},_getLocalStorageSafely:function(e){try{return localStorage.getItem(e)}catch(e){return null}},_getUserIds:function(){var e=c._getUid(),r=c._getCrbIds();return{kargoID:e.userId,clientID:e.clientId,crbIDs:r,optOut:e.optOut}},_getAllMetadata:function(){return{userIDs:c._getUserIds(),krux:c._getKrux(),pageURL:window.location.href,rawCRB:c._readCookie("krg_crb")}}};(0,u.registerBidder)(c)},184:function(e,r){}},[182]);
  pbjsChunk([47],{185:function(e,r,a){a(186),e.exports=a(187)},186:function(e,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var t=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r.default=e,r}})(a(0)),n=a(1);var o=r.spec={code:"komoona",isBidRequestValid:function(e){return!!(e&&e.params&&e.params.placementId&&e.params.hbid)},buildRequests:function(e){var r,a=e.map((function(e){var r={uuid:e.bidId,sizes:e.sizes,trid:e.transactionId,hbid:e.params.hbid,placementid:e.params.placementId};return e.params.floorPrice&&(r.floorprice=e.params.floorPrice),r})),n=(new Date).getTime(),o={ts_as:n,hb_placements:[],hb_placement_bidids:{},hb_floors:{},cb:(r=n,Math.floor(r%65536+65536*Math.floor(65536*Math.random()))),tz:(new Date).getTimezoneOffset()};e.forEach((function(e){o.hdbdid=o.hdbdid||e.params.hbid,o.encode_bid=o.encode_bid||e.params.encode_bid,o.hb_placement_bidids[e.params.placementId]=e.bidId,e.params.floorPrice&&(o.hb_floors[e.params.placementId]=e.params.floorPrice),o.hb_placements.push(e.params.placementId)}));var i={};return t.isEmpty(a)||(i={bids:[].concat(function(e){if(Array.isArray(e)){for(var r=0,a=Array(e.length);r<e.length;r++)a[r]=e[r];return a}return Array.from(e)}(a)),kbConf:o}),{method:"POST",url:"//bidder.komoona.com/v1/GetSBids",data:JSON.stringify(i)}},interpretResponse:function(e,r){var a=[];try{e.body&&e.body.bids&&e.body.bids.forEach((function(e){e.requestId=e.uuid,e.ad=e.creative,a.push(e)}))}catch(e){t.logError(e)}return a},getUserSyncs:function(e){if(e.iframeEnabled)return[{type:"iframe",url:"//s.komoona.com/sync/usync.html"}]}};(0,n.registerBidder)(o)},187:function(e,r){}},[185]);
  pbjsChunk([46],{188:function(e,a,r){r(189),e.exports=r(190)},189:function(e,a,r){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.spec=void 0;var i=r(0),n=r(1),t=a.spec={code:"kumma",isBidRequestValid:function(e){return!!(e&&e.params&&e.params.pubId&&e.params.siteId)},buildRequests:function(e){var a={id:e[0].bidderRequestId,at:2,imp:e.map((function(e){return{id:(a=e).bidId,banner:(r=a,n=(0,i.parseSizesInput)(r.sizes)[0].split("x"),t=parseInt(n[0]),d=parseInt(n[1]),{w:t,h:d}),bidfloor:a.params.bidFloor||"0.000001",tagid:a.params.placementId.toString()};var a,r,n,t,d})),site:(function(e){var a=e&&e.length>0?e[0].params.pubId:"0",r=e&&e.length>0?e[0].params.siteId:"0";if(!e[0].params.app)return{publisher:{id:a.toString(),domain:(0,i.getTopWindowLocation)().hostname},id:r.toString(),ref:(0,i.getTopWindowReferrer)(),page:(0,i.getTopWindowLocation)().href};return null})(e),device:{ua:navigator.userAgent,language:navigator.language||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage,w:window.screen.width||window.innerWidth,h:window.screen.height||window.innerHeigh}};return{method:"POST",url:"//hb.kumma.com/",data:JSON.stringify(a)}},interpretResponse:function(e,a){return (function(e,a){var r={},n={},t=null;try{t=JSON.parse(e.data)}catch(e){(0,i.logError)("kumma.parse","ERROR",e)}t.imp.forEach((function(e){r[e.id]=e})),a&&a.seatbid.forEach((function(e){return e.bid.forEach((function(e){n[e.impid]=e}))}));var d=[];return Object.keys(r).forEach((function(e){if(n[e]){var i={};i.requestId=e,i.creativeId=n[e].adid,i.cpm=n[e].price,i.currency=a.cur,i.ttl=360,i.netRevenue=!0,i.ad=n[e].adm,i.ad=i.ad.replace(/\$(%7B|\{)AUCTION_IMP_ID(%7D|\})/gi,n[e].impid),i.ad=i.ad.replace(/\$(%7B|\{)AUCTION_AD_ID(%7D|\})/gi,n[e].adid),i.ad=i.ad.replace(/\$(%7B|\{)AUCTION_PRICE(%7D|\})/gi,n[e].price),i.ad=i.ad.replace(/\$(%7B|\{)AUCTION_CURRENCY(%7D|\})/gi,a.cur),i.ad=i.ad.replace(/\$(%7B|\{)AUCTION_BID_ID(%7D|\})/gi,a.bidid),i.width=r[e].banner.w,i.height=r[e].banner.h,d.push(i)}})),d})(a,e.body)}};(0,n.registerBidder)(t)},190:function(e,a){}},[188]);
  pbjsChunk([45],{191:function(e,t,n){n(192),e.exports=n(193)},192:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var 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},r=n(1);function i(){try{return window.self!==window.top&&!window.mantis_link}catch(e){return!0}}function a(e){return null!=e&&("string"==typeof e?!(!e||/^\s*$/.test(e)):"number"!=typeof e||!isNaN(e))}function u(e){return"[object Object]"===Object.prototype.toString.call(e)}function d(){return"object"===o(window.context)&&("AMP-AD"===window.context.tagName||"AMP-EMBED"===window.context.tagName)}function c(e,t,n){var o={referrer:document.referrer,tz:(new Date).getTimezoneOffset(),buster:(new Date).getTime(),secure:"https:"===document.location.protocol};if(i()&&!d()||(o.mobile=!d()&&(function(e){var t=!e&&("ontouchstart"in window||navigator.msMaxTouchPoints);if(i())return!t;var n=window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth;return!t&&(!n||n>=(window.mantis_breakpoint||768))})(!0)?"false":"true"),window.mantis_uuid)o.uuid=window.mantis_uuid;else if(window.localStorage){var r=window.localStorage.getItem("mantis:uuid");r&&(o.uuid=r)}if(i())o.iframe=!0;else try{o.title=window.top.document.title,o.referrer=window.top.document.referrer,o.url=window.top.document.location.href}catch(e){}d()&&(o.amp=!0,!o.url&&window.context.canonicalUrl&&(o.url=window.context.canonicalUrl),!o.url&&window.context.location&&(o.url=window.context.location.href),!o.referrer&&window.context.referrer&&(o.referrer=window.context.referrer)),Object.keys(t||{}).forEach((function(e){o[e]=t[e]}));var c=(function e(t,n,o){if(!t)return null;var r,i=o||[];for(var d in t){var c=d;n&&(c=n+"["+d+"]");var s=t[d];if(r=s,"[object Array]"===Object.prototype.toString.call(r))for(var w=0;w<s.length;w++){var l=c+"["+w+"]",f=s[w];u(f)?e(f,l,i):a(f)&&i.push(l+"="+encodeURIComponent(f))}else u(s)&&s!=t?e(s,c,i):a(s)&&i.push(c+"="+encodeURIComponent(s))}return i.join("&")})(o);return(void 0===window.mantis_domain?n||"https://mantodea.mantisadnetwork.com":window.mantis_domain)+e+"?"+c}var s={code:"mantis",supportedMediaTypes:["banner","video","native"],isBidRequestValid:function(e){return!(!e.params.property||!(e.params.code||e.params.zoneId||e.params.zone))},buildRequests:function(e){var t=null;return e.some((function(e){if(e.params.property)return t=e.params.property,!0})),{method:"GET",url:c("/prebid/display",{bids:e.map((function(e){return{bidId:e.bidId,config:e.params,sizes:e.sizes.map((function(e){return{width:e[0],height:e[1]}}))}})),property:t,version:2})+"&foo",data:""}},interpretResponse:function(e){return (function(e){if(window.mantis_uuid)return!1;if(window.mantis_uuid=e,window.localStorage)try{window.localStorage.setItem("mantis:uuid",e)}catch(e){}})(e.uuid),e.body.ads.map((function(e){return{requestId:e.bid,cpm:e.cpm,width:e.width,height:e.height,ad:e.html,ttl:86400,creativeId:e.view,netRevenue:!0,currency:"USD"}}))},getUserSyncs:function(e){return e.iframeEnabled?[{type:"iframe",url:c("/prebid/iframe")}]:e.pixelEnabled?[{type:"image",url:c("/prebid/pixel")}]:void 0}};t.spec=s,(0,r.registerBidder)(s)},193:function(e,t){}},[191]);
  pbjsChunk([44],{194:function(e,n,t){e.exports=t(195)},195:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},r=t(6),o=i(t(7)),u=i(t(5));function i(e){return e&&e.__esModule?e:{default:e}}var s="//prebid_stats.mars.media/prebidjs/api/analytics.php",c={},l=a((0,o.default)({MARS_ANALYTICS_URL:s,analyticsType:"endpoint"}),{track:function(e){var n=e.eventType,t=e.args;void 0!==t&&"marsmedia"===t.bidderCode&&(c[n]=t),"auctionEnd"===n&&setTimeout((function(){(0,r.ajax)(s,{success:function(){},error:function(){}},JSON.stringify({act:"prebid_analytics",params:c,pbjs:pbjs.getBidResponses(),ver:"1.0.1"}),{method:"POST"})}),3e3)}});u.default.registerAnalyticsAdapter({adapter:l,code:"marsmedia"}),n.default=l},7:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a="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};n.default=function(e){var n,t=e.url,r=e.analyticsType,o=e.global,u=e.handler,N=[],A=0,O=!0;r===S&&(0,i.loadScript)(t,I);(r===_||m)&&I();return{track:function(e){var n=e.eventType,a=e.args;(this.getAdapterType()===S||m)&&window[o](u,n,a);this.getAdapterType()===_&&function(e){var n=e.eventType,a=e.args,r=e.callback;(0,s.ajax)(t,r,JSON.stringify({eventType:n,args:a}))}.apply(void 0,arguments)},enqueue:j,enableAnalytics:function(e){var t=this,r=this;h="object"!==(void 0===e?"undefined":a(e))||"object"!==a(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling));if(h){var u;l.getEvents().forEach((function(e){if(e){var n=e.eventType,t=e.args;n!==v&&j.call(r,{eventType:n,args:t})}})),c(u={},y,(function(e){return t.enqueue({eventType:y,args:e})})),c(u,T,(function(e){return t.enqueue({eventType:T,args:e})})),c(u,v,(function(e){return t.enqueue({eventType:v,args:e})})),c(u,g,(function(e){return t.enqueue({eventType:g,args:e})})),c(u,b,(function(e){return t.enqueue({eventType:b,args:e})})),c(u,E,(function(e){return t.enqueue({eventType:E,args:e})})),c(u,d,(function(e){return t.enqueue({eventType:d,args:e})})),c(u,p,(function(n){n.config=e.options,t.enqueue({eventType:p,args:n})})),n=u,f._each(n,(function(e,n){l.on(n,e)}))}else f.logMessage('Analytics adapter for "'+o+'" disabled by sampling');this.enableAnalytics=function(){return f.logMessage('Analytics adapter for "'+o+'" already enabled, unnecessary call to `enableAnalytics`.')}},disableAnalytics:function(){f._each(n,(function(e,n){l.off(n,e)}))},getAdapterType:function(){return r},getGlobal:function(){return o},getHandler:function(){return u},getUrl:function(){return t}};function j(e){var n=e.eventType,t=e.args,a=this;o&&window[o]&&n&&t?this.track({eventType:n,args:t}):N.push((function(){A++,a.track({eventType:n,args:t})}))}function I(){if(O){for(var e=0;e<N.length;e++)N[e]();N.push=function(e){e()},O=!1}f.logMessage("event count sent to "+o+": "+A)}};var r,o=t(3),u=(r=o)&&r.__esModule?r:{default:r},i=t(10),s=t(6);function c(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var l=t(9),f=t(0),p=u.default.EVENTS.AUCTION_INIT,d=u.default.EVENTS.AUCTION_END,y=u.default.EVENTS.BID_REQUESTED,v=u.default.EVENTS.BID_TIMEOUT,T=u.default.EVENTS.BID_RESPONSE,g=u.default.EVENTS.BID_WON,b=u.default.EVENTS.BID_ADJUSTMENT,E=u.default.EVENTS.SET_TARGETING,S="library",_="endpoint",m="bundle",h=!0}},[194]);
  pbjsChunk([43],{196:function(r,e,t){t(197),r.exports=t(198)},197:function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.spec=void 0;var i=t(1),n=(function(r){{if(r&&r.__esModule)return r;var e={};if(null!=r)for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t]);return e.default=r,e}})(t(0));var a="medianet";function o(r,e){return r.filter((function(r){return r.type===e}))}function s(r){return{w:parseInt(r[0],10),h:parseInt(r[1],10)}}function d(r){var e,t={id:r.bidId,ext:{dfp_id:r.adUnitCode},banner:(e=r.sizes,n.isArray(e)&&2===e.length&&!n.isArray(e[0])?[s(e)]:e.map((function(r){return s(r)})))};r.params.crid&&(t.tagid=r.params.crid.toString());var i=parseFloat(r.params.bidfloor);return i&&(t.bidfloor=i),t}function u(r){return{site:(t=r[0].params.site,{domain:(t=t||{}).domain||n.getTopWindowLocation().host,page:t.page||n.getTopWindowUrl(),ref:t.ref||n.getTopWindowReferrer()}),ext:(e=r[0].params,{customer_id:e.cid}),id:r[0].auctionId,imp:r.map((function(r){return d(r)}))};var e,t}var p=e.spec={code:a,isBidRequestValid:function(r){return r.params?!(!r.params.cid||!n.isStr(r.params.cid)||n.isEmptyStr(r.params.cid))||(n.logError(a+" : cid should be a string"),!1):(n.logError(a+" : Missing bid parameters"),!1)},buildRequests:function(r){var e=u(r);return{method:"POST",url:"https://prebid.media.net/rtb/prebid",data:JSON.stringify(e)}},interpretResponse:function(r,e){var t=[];if(!r||!r.body)return n.logInfo(a+" : response is empty"),t;var i=r.body.bidList;return n.isArray(i)&&0!==i.length?t=i.filter((function(r){return!1===(e=r).no_bid&&parseFloat(e.cpm)>0;var e})):(n.logInfo(a+" : no bids"),t)},getUserSyncs:function(r,e){var t,i=(t=e,!n.isEmpty(t)&&t[0].body&&t[0].body.ext&&n.isArray(t[0].body.ext.csUrl)?t[0].body.ext.csUrl:[]);return r.iframeEnabled?o(i,"iframe"):r.pixelEnabled?o(i,"image"):void 0}};(0,i.registerBidder)(p)},198:function(r,e){}},[196]);
  pbjsChunk([42],{199:function(e,i,r){r(200),e.exports=r(201)},200:function(e,i,r){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.spec=void 0;var t=r(1),n=r(0),d="mobfox",_=i.spec={code:d,aliases:["mf"],isBidRequestValid:function(e){return null!==e.params.s&&void 0!==e.params.s},buildRequests:function(e){if(e.length>1)throw"invalid number of valid bid requests, expected 1 element";var i=e[0].params,r=e[0];return{method:"GET",url:"https://my.mobfox.com/request.php",data:(function(e){for(var i in e)e.hasOwnProperty(i)&&(void 0===e[i]?delete e[i]:e[i]=encodeURIComponent(e[i]));return n._map(Object.keys(e),(function(i){return i+"="+e[i]})).join("&")})({rt:i.rt||"api-fetchip",r_type:i.r_type||"banner",r_resp:i.r_resp||"json",s:i.s,u:i.u||window.navigator.userAgent,adspace_width:i.adspace_width||r.sizes[0][0],adspace_height:i.adspace_height||r.sizes[0][1],r_floor:i.r_floor||void 0,o_andadvid:i.o_andadvid||void 0,longitude:i.longitude||void 0,latitude:i.latitude||void 0,demo_age:i.demo_age||void 0,adspace_strict:i.adspace_strict||void 0,imp_instl:i.imp_instl||void 0,c_mraid:i.c_mraid||void 0,v_dur_min:i.v_dur_min||void 0,v_dur_max:i.v_dur_max||void 0,v_autoplay:i.v_autoplay||void 0,v_startmute:i.v_startmute||void 0,v_rewarded:i.v_rewarded||void 0,v_api:i.v_api||void 0,n_ver:i.n_ver||void 0,n_adunit:i.n_adunit||void 0,n_layout:i.n_layout||void 0,n_context:i.n_context||void 0,n_plcmttype:i.n_plcmttype||void 0,n_img_icon_req:i.n_img_icon_req||void 0,n_img_icon_size:i.n_img_icon_size||void 0,n_img_large_req:i.n_img_large_req||void 0,n_img_large_w:i.n_img_large_w||void 0,n_img_large_h:i.n_img_large_h||void 0,n_title_req:i.n_title_req||void 0,n_title_len:i.n_title_len||void 0,n_desc_req:i.n_desc_req||void 0,n_desc_len:i.n_desc_len||void 0,n_rating_req:i.n_rating_req||void 0}),requestId:r.bidId}},interpretResponse:function(e,i){var r=[],t=e.body;if(!t||t.error){var _="in response for "+d+" adapter";return t&&t.error&&(_+=": "+t.error),n.logError(_),r}try{var o=e.headers,a=i.data.split("&"),s={requestId:i.requestId,cpm:o.get("X-Pricing-CPM"),width:a[5].split("=")[1],height:a[6].split("=")[1],creativeId:a[3].split("=")[1],currency:"USD",netRevenue:!0,ttl:360,referrer:t.request.clickurl,ad:t.request.htmlString};r.push(s)}catch(e){throw"could not build bid response: "+e}return r}};(0,t.registerBidder)(_)},201:function(e,i){}},[199]);
  pbjsChunk([41],{202:function(e,r,t){t(203),e.exports=t(204)},203:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=r.CATEGORY=r.NQ_NAME=r.NQ=r.DATA_PARTNER_PIXEL_ID=r.ENGINE_BASE_URL=r.BIDDER_CODE=void 0;var n=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),a=t(1),i=t(4);function u(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var c=r.BIDDER_CODE="nanointeractive",s=r.ENGINE_BASE_URL="https://www.audiencemanager.de/hb",d=r.DATA_PARTNER_PIXEL_ID="pid",o=r.NQ="nq",p=r.NQ_NAME="name",f=r.CATEGORY="category",l=r.spec={code:c,supportedMediaTypes:[i.BANNER],isBidRequestValid:function(e){return!!e.params[d]},buildRequests:function(e){var r=[];return e.forEach((function(e){return r.push((u(a={},d,(t=e).params[d]),u(a,o,[(c=t,c.params[p]?n.getParameterByName(c.params[p]):c.params[o]||null),(i=t,i.params[f]||null)]),u(a,"sizes",t.sizes.map((function(e){return e[0]+"x"+e[1]}))),u(a,"bidId",t.bidId),u(a,"cors",n.getOrigin()),a));var t,a,i,c})),{method:"POST",url:s,data:JSON.stringify(r)}},interpretResponse:function(e){var r=[];return e.body.forEach((function(e){var t,n;(n=e).cpm&&n.ad&&r.push({requestId:(t=e).id,cpm:t.cpm,width:t.width,height:t.height,ad:t.ad,ttl:t.ttl,creativeId:t.creativeId,netRevenue:t.netRevenue||!0,currency:t.currency})})),r}};(0,a.registerBidder)(l)},204:function(e,r){}},[202]);
  pbjsChunk([40],{205:function(e,r,t){t(206),e.exports=t(207)},206:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var i=(function(){return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,r){var t=[],i=!0,n=!1,a=void 0;try{for(var o,d=e[Symbol.iterator]();!(i=(o=d.next()).done)&&(t.push(o.value),!r||t.length!==r);i=!0);}catch(e){n=!0,a=e}finally{try{!i&&d.return&&d.return()}finally{if(n)throw a}}return t})(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),n=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),a=t(1);var o=r.spec={code:"nasmediaAdmixer",isBidRequestValid:function(e){return!!(e&&e.params&&e.params.ax_key)},buildRequests:function(e){return e.map((function(e){var r,t,a,o,d,u,c,s,p=(r=e.sizes,t=n.parseSizesInput(r),a=t.length?t[0].split("x"):[],o=i(a,2),d=o[0],u=o[1],{width:parseInt(d,10),height:parseInt(u,10)});return{method:"GET",url:"https://adn.admixer.co.kr:10443/prebid",data:{ax_key:n.getBidIdParameter("ax_key",e.params),req_id:e.bidId,width:p.width,height:p.height,referrer:n.getTopWindowUrl(),os:(c=navigator.userAgent.toLowerCase(),s=["android","ios","mac","linux","window","etc"],[/android/i,/iphone|ipad/i,/mac/i,/linux/i,/window/i,""].some((function(e,r){if(c.match(e))return s[r]})))}}}))},interpretResponse:function(e,r){var t=e.body,i=[];if(t&&0===t.error_code&&t.body&&t.body.length>0){var n=t.body[0],a={ad:n.ad,requestId:t.req_id,creativeId:n.ad_id,cpm:n.cpm,width:n.width,height:n.height,currency:n.currency?n.currency:"USD",netRevenue:!1,ttl:360};i.push(a)}return i}};(0,a.registerBidder)(o)},207:function(e,r){}},[205]);
  pbjsChunk([39],{208:function(e,t,r){r(209),e.exports=r(210)},209:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var 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},n=r(2),a=r(1),o=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),d=r(12),s=r(4);var u=[s.BANNER,s.VIDEO],c="openx",p=t.spec={code:c,supportedMediaTypes:u,isBidRequestValid:function(e){return!!(e.mediaType!==s.VIDEO||"object"===i(e.params.video)&&e.params.video.url)&&!(!e.params.unit||!e.params.delDomain)},buildRequests:function(e){var t=o.inIframe(),r=window.parent!==window?document.referrer:window.location.href;if(0!==e.length){var i=[],n=[],a=e.reduce((function(e,t){return!t.mediaTypes||o.isEmpty(t.mediaTypes)?t.mediaType&&t.mediaType==s.VIDEO?e.videoBids.push(t):e.bannerBids.push(t):t.mediaTypes.video?e.videoBids.push(t):t.mediaTypes.banner&&e.bannerBids.push(t),e}),{bannerBids:[],videoBids:[]}),d=a.bannerBids,u=a.videoBids;if(0!==d.length){var c=d[0].params.delDomain,p=d[0].params.bc||"hb_pb_2.0.0";i=[(function(e,t,r){if(!o.isArray(e))return;t.auid=o._map(e,(function(e){return e.params.unit})).join(","),t.dddid=o._map(e,(function(e){return e.transactionId})).join(","),t.aus=o._map(e,(function(e){return o.parseSizesInput(e.sizes).join(",")})).join("|");var i=[],n=!1;e.forEach((function(e){if(e.params.customParams){var t=o._map(Object.keys(e.params.customParams),(function(t){return r=t,i=e.params.customParams,n=i[r],o.isArray(n)&&(n=n.join(",")),(r.toLowerCase()+"="+n.toLowerCase()).replace("+",".").replace("/","_");var r,i,n})),r=window.btoa(t.join("&"));n=!0,i.push(r)}else i.push("")})),n&&(t.tps=i.join(","));var a=[],d=!1;e.forEach((function(e){e.params.customFloor?(a.push(1e3*e.params.customFloor),d=!0):a.push(0)})),d&&(t.aumfs=a.join(","));return{method:"GET",url:"//"+r+"/w/1.0/arj",data:t,payload:{bids:e,startTime:new Date}}})(d,{ju:r,jr:r,ch:document.charSet||document.characterSet,res:screen.width+"x"+screen.height+"x"+screen.colorDepth,ifr:t,tz:(new Date).getTimezoneOffset(),tws:(function(e){var t=void 0,r=void 0,i=window,n=document,a=n.documentElement,o=void 0;if(e){try{i=window.top,n=window.top.document}catch(e){return}a=n.documentElement,o=n.body,t=i.innerWidth||a.clientWidth||o.clientWidth,r=i.innerHeight||a.clientHeight||o.clientHeight}else a=n.documentElement,t=i.innerWidth||a.clientWidth,r=i.innerHeight||a.clientHeight;return t+"x"+r})(t),ef:"bt%2Cdb",be:1,bc:p,nocache:(new Date).getTime()},c)]}return 0!==u.length&&(n=u.map((function(e){var t,r,i,n="http://"+e.params.delDomain+"/v/1.0/avjp",a=(r=(t=e).params.video,i={auid:t.params.unit},Object.keys(r).forEach((function(e){i[e]="openrtb"===e?JSON.stringify(r[e]):r[e]})),i.be="true",i);return{method:"GET",url:n,data:a,payload:{bid:e,startTime:new Date}}}))),i.concat(n)}},interpretResponse:function(e,t){var r=e.body,i=s.BANNER;if(t&&t.payload&&(t.payload.bids?i=t.payload.bids[0].mediaType:t.payload.bid&&(i=t.payload.bid.mediaType)),i===s.VIDEO)return r&&r.pixels&&d.userSync.registerSync("iframe","openx",r.pixels),(function(e,t){var r=t.bid,i=(t.startTime,[]);if(void 0!==e&&""!==e.vastUrl&&""!==e.pub_rev){var n={};n.requestId=r.bidId,n.bidderCode=c,n.ttl=300,n.netRevenue=!0,n.currency=e.currency,n.cpm=Number(e.pub_rev)/1e3,n.width=e.width,n.height=e.height,n.creativeId=e.adid,n.vastUrl=e.vastUrl,n.mediaType=s.VIDEO,i.push(n)}return i})(r,t.payload);var a=r.ads.ad;return r.ads&&r.ads.pixels&&d.userSync.registerSync("iframe",c,r.ads.pixels),a||(a=[]),(function(e,t){var r=t.bids,i=t.startTime,a=[],o=r[0].params.sendBoPixel;void 0===o&&(o=!0);for(var s=0;s<e.length;s++){var u=e[s],p={};if(e.length==r.length)p.requestId=r[s].bidId;else for(var f=s;f<r.length;f++){var h=r[f];if(String(h.params.unit)===String(u.adunitid)&&l(u,h)&&!h.matched){p.requestId=h.bidId,h.matched=!0;break}}if(u.pub_rev){p.cpm=Number(u.pub_rev)/1e3;var b=u.creative[0];b&&(p.width=b.width,p.height=b.height),p.creativeId=b.id,p.ad=u.html,u.deal_id&&(p.dealId=u.deal_id),p.ttl=300,p.netRevenue=!0,p.currency=u.currency,u.tbd&&(p.tbd=u.tbd),p.ts=u.ts;var v=n.config.getConfig("bidderTimeout");window.PREBID_TIMEOUT&&(v=Math.min(window.PREBID_TIMEOUT,v));var y={bd:+new Date-i,br:"0",bt:v,bs:window.location.hostname};y.br=y.bt<y.bd?"t":"p",y.bp=u.pub_rev,y.ts=u.ts;var g=void 0;o&&(g=m(u.creative[0],y)),g&&d.userSync.registerSync("image",c,g),a.push(p)}}return a})(a,t.payload)}};function m(e,t){var r=e.tracking.impression.match(/([^?]+\/)ri\?/);if(r)return r[1]+"bo?"+(function(e){for(var t in e)e.hasOwnProperty(t)&&(e[t]||delete e[t]);return o._map(Object.keys(e),(function(t){return t+"="+e[t]})).join("&")})(t)}function l(e,t){var r=o.parseSizesInput(t.sizes);if(!r)return!1;var i=!1,n=e.creative&&e.creative[0],a=String(n.width)+"x"+String(n.height);if(o.isArray(r))for(var d=0;d<r.length;d++){var s=r[d];if(String(s)===String(a)){i=!0;break}}return i}(0,a.registerBidder)(p)},210:function(e,t){}},[208]);
  pbjsChunk([38],{211:function(e,t,i){i(212),e.exports=i(213)},212:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=t.ENDPOINT=void 0;var r=(function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,t){var i=[],r=!0,o=!1,n=void 0;try{for(var a,d=e[Symbol.iterator]();!(r=(a=d.next()).done)&&(i.push(a.value),!t||i.length!==t);r=!0);}catch(e){o=!0,n=e}finally{try{!r&&d.return&&d.return()}finally{if(o)throw n}}return i})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),o=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}})(i(0)),n=i(1);var a=t.ENDPOINT="//mg-bid.optimatic.com/adrequest/",d=t.spec={code:"optimatic",supportedMediaTypes:["video"],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.placement&&e.params.bidfloor)},buildRequests:function(e){return e.map((function(e){return{method:"POST",url:a+e.params.placement,data:(t=e,i=p(t.sizes),r=o.getTopWindowLocation(),n=window.top?window.top:window,{id:o.generateUUID(),imp:[{id:"1",bidfloor:t.params.bidfloor,video:{mimes:["video/mp4","video/ogg","video/webm","video/x-flv","application/javascript","application/x-shockwave-flash"],w:i.width,h:i.height}}],site:{id:"1",domain:r.host,page:r.href,ref:o.getTopWindowReferrer(),publisher:{id:"1"}},device:{ua:n.navigator.userAgent,ip:"127.0.0.1",devicetype:1}}),options:{contentType:"application/json"},bidRequest:e};var t,i,r,n}))},interpretResponse:function(e,t){var i,r=t.bidRequest,n=void 0;try{n=(e=e.body).seatbid[0].bid[0]}catch(t){e=null}return e&&n&&n.adm&&n.price?(i=p(r.sizes),{requestId:r.bidId,bidderCode:d.code,cpm:n.price,creativeId:n.id,vastXml:n.adm,width:i.width,height:i.height,mediaType:"video",currency:e.cur,ttl:300,netRevenue:!0}):(o.logWarn("No valid bids from "+d.code+" bidder"),[])}};function p(e){var t=o.parseSizesInput(e),i=t.length?t[0].split("x"):[],n=r(i,2),a=n[0],d=n[1];return{width:parseInt(a,10)||void 0,height:parseInt(d,10)||void 0}}(0,n.registerBidder)(d)},213:function(e,t){}},[211]);
  pbjsChunk([37],{214:function(e,t,i){i(215),e.exports=i(216)},215:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var a=i(1),n=t.spec={code:"optimera",isBidRequestValid:function(e){return void 0!==e.params&&void 0!==e.params.clientID},buildRequests:function(e){var t=window.location.host,i=window.location.pathname,a=Math.round((new Date).getTime()/1e3);if(void 0!==e[0].params.clientID)return{method:"GET",url:"https://s3.amazonaws.com/elasticbeanstalk-us-east-1-397719490216/json/client/"+e[0].params.clientID+"/"+t+i+".js",payload:e,data:{t:a}}},interpretResponse:function(e,t){var i=t.payload,a=[],n="";if(void 0!==e.body)for(var d=e.body,o=0;o<i.length;o++)if(void 0!==i[o].params.clientID){i[o].adUnitCode in d&&(n=d[i[o].adUnitCode]);var r={requestId:i[o].bidId,ad:"<div></div>",cpm:.01,width:0,height:0,dealId:n,ttl:300,creativeId:"1",netRevenue:"0",currency:"USD"};a.push(r)}return a}};(0,a.registerBidder)(n)},216:function(e,t){}},[214]);
  pbjsChunk([36],{217:function(e,d,i){i(218),e.exports=i(219)},218:function(e,d,i){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.spec=void 0;var r=i(1),n=i(4),o=i(0),t=d.spec={code:"peak226",supportedMediaTypes:[n.BANNER],isBidRequestValid:function(e){return!!e.params.uid},buildRequests:function(e){var d,i=e.reduce((function(e,d){var i=d.params.uid;return e[i]=e[i]||[],e[i].push(d),e}),{});return{method:"GET",url:"//a.ad216.com/header_bid"+(d={u:(0,o.getTopWindowUrl)(),auids:Object.keys(i).join(",")},Object.keys(d).reduce((function(e,i,r){return void 0===d[i]||""===d[i]?e:e+(e?"&":"?")+i+"="+encodeURIComponent(d[i])}),"")),bidsMap:i}},interpretResponse:function(e,d){var i=d.bidsMap,r=e.body,u=[];return r?r.seatbid&&r.seatbid.length?(r.seatbid.forEach((function(e,d){e.bid&&e.bid.length?e.bid.forEach((function(e){i[e.auid].forEach((function(d){u.push({requestId:d.bidId,bidderCode:t.code,width:e.w,height:e.h,mediaType:n.BANNER,creativeId:e.auid,ad:e.adm,cpm:e.price,currency:"USD",netRevenue:!0,ttl:360})}))})):(0,o.logWarn)("No bid in seatbid["+d+"] response from "+t.code+" bidder")})),u):((0,o.logWarn)("No seatbid in response from "+t.code+" bidder"),u):((0,o.logWarn)("No response from "+t.code+" bidder"),u)}};(0,r.registerBidder)(t)},219:function(e,d){}},[217]);
  pbjsChunk([35],{220:function(e,i,a){a(221),e.exports=a(222)},221:function(e,i,a){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.spec=void 0;var r=a(0),n=a(1),t={TITLE_LEN:100,DESCR_LEN:200,SPONSORED_BY_LEN:50,IMG_MIN:150,ICON_MIN:50},d=i.spec={code:"platformio",supportedMediaTypes:["native"],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.pubId&&e.params.siteId)},buildRequests:function(e){var i,a,n,d={id:e[0].bidderRequestId,at:2,imp:e.map((function(e){return{id:(i=e).bidId,banner:(function(e){if(!e.nativeParams){var i=e.params.size.toUpperCase().split("X"),a=parseInt(i[0]),r=parseInt(i[1]);return{w:a,h:r}}})(i),native:(function(e){if(e.nativeParams){var i=[];return o(i,(a=1,r=e.nativeParams.title,n=t.TITLE_LEN,r?{id:a,required:r.required?1:0,title:{len:r.len||n}}:null)),o(i,s(2,e.nativeParams.body,2,t.DESCR_LEN)),o(i,s(3,e.nativeParams.sponsoredBy,1,t.SPONSORED_BY_LEN)),o(i,u(4,e.nativeParams.icon,1,t.ICON_MIN,t.ICON_MIN)),o(i,u(5,e.nativeParams.image,3,t.IMG_MIN,t.IMG_MIN)),{request:JSON.stringify({assets:i}),ver:"1.1"}}var a,r,n;return null})(i),bidfloor:i.params.bidFloor||"0.000001",tagid:i.params.placementId.toString()};var i})),site:(i=e,a=i&&i.length>0?i[0].params.pubId:"0",n=i&&i.length>0?i[0].params.siteId:"0",{publisher:{id:a.toString(),domain:(0,r.getTopWindowLocation)().hostname},id:n.toString(),ref:(0,r.getTopWindowReferrer)(),page:(0,r.getTopWindowLocation)().href}),device:{ua:navigator.userAgent,language:navigator.language||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage,w:window.screen.width||window.innerWidth,h:window.screen.height||window.innerHeigh}};return{method:"POST",url:"//piohbdisp.hb.adx1.com/",data:JSON.stringify(d)}},interpretResponse:function(e,i){return (function(e,i){var a={},r={};c(e.data).imp.forEach((function(e){a[e.id]=e})),i&&i.seatbid.forEach((function(e){return e.bid.forEach((function(e){r[e.impid]=e}))}));var n=[];return Object.keys(a).forEach((function(e){if(r[e]){var t={};if(t.requestId=e,t.adId=e,t.creativeId=e,t.cpm=r[e].price,t.currency=i.cur,t.ttl=360,t.netRevenue=!0,a[e].native){t.native=(function(e,i){if(e.native){var a=c(i.adm),r={};if(a&&a.native&&a.native.assets)return a.native.assets.forEach((function(e){r.title=e.title?e.title.text:r.title,r.body=e.data&&2===e.id?e.data.value:r.body,r.sponsoredBy=e.data&&3===e.id?e.data.value:r.sponsoredBy,r.icon=e.img&&4===e.id?e.img.url:r.icon,r.image=e.img&&5===e.id?e.img.url:r.image})),a.native.link&&(r.clickUrl=encodeURIComponent(a.native.link.url)),r}return null})(a[e],r[e]);var d=r[e].nurl;d=(d=(d=(d=d.replace(/\$(%7B|\{)AUCTION_IMP_ID(%7D|\})/gi,r[e].impid)).replace(/\$(%7B|\{)AUCTION_PRICE(%7D|\})/gi,r[e].price)).replace(/\$(%7B|\{)AUCTION_CURRENCY(%7D|\})/gi,i.cur)).replace(/\$(%7B|\{)AUCTION_BID_ID(%7D|\})/gi,i.bidid),t.native.impressionTrackers=[d],t.mediaType="native"}else t.ad=r[e].adm,t.ad=t.ad.replace(/\$(%7B|\{)AUCTION_IMP_ID(%7D|\})/gi,r[e].impid),t.ad=t.ad.replace(/\$(%7B|\{)AUCTION_AD_ID(%7D|\})/gi,r[e].adid),t.ad=t.ad.replace(/\$(%7B|\{)AUCTION_PRICE(%7D|\})/gi,r[e].price),t.ad=t.ad.replace(/\$(%7B|\{)AUCTION_CURRENCY(%7D|\})/gi,i.cur),t.ad=t.ad.replace(/\$(%7B|\{)AUCTION_BID_ID(%7D|\})/gi,i.bidid),t.width=a[e].banner.w,t.height=a[e].banner.h;n.push(t)}})),n})(i,e.body)}};function o(e,i){i&&e.push(i)}function u(e,i,a,r,n){return i?{id:e,required:i.required?1:0,img:{type:a,wmin:i.wmin||r,hmin:i.hmin||n}}:null}function s(e,i,a,r){return i?{id:e,required:i.required?1:0,data:{type:a,len:i.len||r}}:null}function c(e){try{if(e)return JSON.parse(e)}catch(e){(0,r.logError)("platformio.parse","ERROR",e)}return null}(0,n.registerBidder)(d)},222:function(e,i){}},[220]);
  pbjsChunk([34],{223:function(e,r,t){t(224),e.exports=t(225)},224:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var 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},n=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),a=t(1);var s="pollux",i=r.spec={code:s,aliases:["plx"],isBidRequestValid:function(e){return!(!e.hasOwnProperty("params")||!e.params.hasOwnProperty("zone"))||(n.logError('required param "zone" is missing for == '+s+" =="),!1)},buildRequests:function(e){if(!Array.isArray(e)||!e.length)return[];for(var r=[],t=null,o=0;o<e.length;o++){var a=e[o],i={bidId:a.bidId,zones:a.params.zone,sizes:a.sizes};a.bidderUrl&&!t&&(t=a.bidderUrl),r.push(i)}var d=JSON.stringify(r),u=n.getParameterByName("domain"),l=n.getParameterByName("tracker2"),p={};p.domain=u||n.getTopWindowUrl(),l&&(p.tracker2=l);var f=t||"//adn.plxnt.com/prebid/v1";return p&&(f=f+"?"+n.parseQueryStringParameters(p)),n.logMessage("== "+s+" == request built: "+f),{method:"POST",url:f,data:d}},interpretResponse:function(e,r){var t=[];if(!e||"object"===(void 0===e?"undefined":o(e))&&!e.hasOwnProperty("body"))return n.logMessage("No prebid response from == "+s+" == for bid requests:"),n.logMessage(r),t;if(e=e.body,!Array.isArray(e)||!e.length)return n.logMessage("No prebid response from == "+s+" == for bid requests:"),n.logMessage(r),t;for(var a in e){var i=e[a],d={requestId:i.bidId,cpm:parseFloat(i.cpm),width:parseInt(i.width),height:parseInt(i.height),ttl:3600,creativeId:i.creativeId,netRevenue:!0,currency:"EUR"};"url"===i.ad_type?d.adUrl=i.ad:d.ad=i.ad,i.referrer&&(d.referrer=i.referrer),t.push(d)}return t}};(0,a.registerBidder)(i)},225:function(e,r){}},[223]);
  pbjsChunk([33],{228:function(e,r,t){e.exports=t(229)},229:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var 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},n=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};r.PrebidServer=x;var o=y(t(24)),d=y(t(15)),a=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),c=t(6),s=t(3),u=t(230),l=y(t(5)),f=t(2),p=t(4),v=t(1),g=y(t(8));function y(e){return e&&e.__esModule?e:{default:e}}var b=f.config.getConfig,m=s.S2S.SRC,_=!1,h=60,S="USD",I=!0,E=void 0;function O(e){var r=Object.keys(e);["accountId","bidders","endpoint"].filter((function(e){return!(0,g.default)(r,e)&&(a.logError(e+" missing in server to server config"),!0)})).length>0||(E=e,e.syncEndpoint&&(function(e){if(_)return;_=!0;var r=JSON.stringify({uuid:a.generateUUID(),bidders:e});(0,c.ajax)(E.syncEndpoint,(function(e){try{(e=JSON.parse(e)).bidder_status.forEach((function(e){return k(e.usersync.type,e.usersync.url,e.bidder)}))}catch(e){a.logError(e)}}),r,{contentType:"text/plain",withCredentials:!0})})(e.bidders))}function k(e,r,t){r?"image"===e||"redirect"===e?(a.logMessage('Invoking image pixel user sync for bidder: "'+t+'"'),a.triggerPixel(r)):"iframe"==e?(a.logMessage('Invoking iframe user sync for bidder: "'+t+'"'),a.insertUserSyncIframe(r)):a.logError('User sync type "'+e+'" not supported for bidder: "'+t+'"'):a.logError('No sync url for bidder "'+t+'": '+r)}function T(e,r){return"string"===e?r&&r.toString():"number"===e?Number(r):r}f.config.setDefaults({s2sConfig:{enabled:!1,timeout:1e3,maxBids:1,adapter:"prebidServer"}}),b("s2sConfig",(function(e){return O(e.s2sConfig)}));var w=T.bind(null,"string"),C=T.bind(null,"number"),U={appnexus:{member:w,invCode:w,placementId:C},rubicon:{accountId:C,siteId:C,zoneId:C},indexExchange:{siteID:C},audienceNetwork:{placementId:w},pubmatic:{publisherId:w,adSlot:w},districtm:{member:w,invCode:w,placementId:C},pulsepoint:{cf:w,cp:C,ct:C},conversant:{site_id:w,secure:C,mobile:C}};function x(){var e=new o.default("prebidServer");function r(e){return e.sizes&&e.sizes.length}return e.callBids=function(e,t,o,c,y){var _=!!b("debug"),O=a.deepClone(e.ad_units);O.forEach((function(e){var r=a.deepAccess(e,"mediaTypes.video");r&&(e.video=n({},r),delete e.mediaTypes,e.media_types=[p.VIDEO])})),O.forEach((function(e){e.bids.forEach((function(e){var r=U[e.bidder]||[];Object.keys(r).forEach((function(t){e.params[t]&&(e.params[t]=r[t](e.params[t]),isNaN(e.params[t])&&delete e.params.key)}))}))}));var T,w,C={account_id:E.accountId,tid:e.tid,max_bids:E.maxBids,timeout_millis:E.timeout,secure:E.secure,cache_markup:E.cacheMarkup,url:a.getTopWindowUrl(),prebid_version:"1.3.1",ad_units:O.filter(r),is_debug:_},x=!(w=(T=window.DigiTrust&&(f.config.getConfig("digiTrustId")||window.DigiTrust.getUser({member:"T9QSFKPDN9"})))&&T.success&&T.identity||null)||w.privacy&&w.privacy.optout?null:{id:w.id,keyv:w.keyv,pref:0};["app","device"].forEach((function(e){var r=b(e);"object"===(void 0===r?"undefined":i(r))&&(C[e]=r)})),x&&(C.digiTrust=x);var B=C.ad_units.map((function(e){return e.bids.map((function(e){return e.bidder})).filter(a.uniques)})).reduce(a.flatten).filter(a.uniques);var D=JSON.stringify(C);y(E.endpoint,(function(e){!(function(e,r,t,i,n){var o=void 0;try{"OK"!==(o=JSON.parse(e)).status&&"no_cookie"!==o.status||(o.bidder_status&&o.bidder_status.forEach((function(e){e.no_cookie&&k(e.usersync.type,e.usersync.url,e.bidder)})),r.forEach((function(e){var r=l.default.getBidAdapter(e);r&&r.registerSyncs&&r.registerSyncs([])})),o.bids&&o.bids.forEach((function(e){var r=a.getBidRequest(e.bid_id,t),n=e.price,o=void 0;o=0!==n?s.STATUS.GOOD:s.STATUS.NO_BID;var c=d.default.createBid(o,r);c.source=m,c.creative_id=e.creative_id,c.bidderCode=e.bidder,c.cpm=n,e.cache_id&&(c.cache_id=e.cache_id),e.cache_url&&(c.cache_url=e.cache_url),e.media_type===p.VIDEO?(c.mediaType=p.VIDEO,e.adm&&(c.vastXml=e.adm),e.nurl&&(c.vastUrl=e.nurl)):e.adm&&e.nurl?(c.ad=e.adm,c.ad+=a.createTrackPixelHtml(decodeURIComponent(e.nurl))):e.adm?c.ad=e.adm:e.nurl&&(c.adUrl=e.nurl),c.width=e.width,c.height=e.height,c.adserverTargeting=e.ad_server_targeting,e.deal_id&&(c.dealId=e.deal_id),c.requestId=e.bid_id,c.creativeId=e.creative_id,c.ttl=e.ttl?e.ttl:h,c.currency=e.currency?e.currency:S,c.netRevenue=e.netRevenue?e.netRevenue:I,(0,v.isValid)(e.code,c,t)&&i(e.code,c)}))),"no_cookie"===o.status&&"string"==typeof E.cookieSetUrl&&(0,u.cookieSet)(E.cookieSetUrl)}catch(e){a.logError(e)}(!o||o.status&&(0,g.default)(o.status,"Error"))&&a.logError("error parsing response: ",o.status),n()})(e,B,t,o,c)}),D,{contentType:"text/plain",withCredentials:!0})},n(this,{callBids:e.callBids,setBidderCode:e.setBidderCode,type:m})}l.default.registerBidAdapter(new x,"prebidServer")},230:function(e,r,t){"use strict";var i,n=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),o=t(10),d=(i=o)&&i.__esModule?i:{default:i};r.cookieSet=function(e){n.isSafariBrowser()&&d.default.loadScript(e,null,!0)}}},[228]);
  pbjsChunk([32],{231:function(e,r,a){a(232),e.exports=a(233)},232:function(e,r,a){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var t="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},n=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r.default=e,r}})(a(0)),i=a(1);var o=a(3),d="USD",s=1,p=void 0,l={kadpageurl:"",gender:"",yob:"",lat:"",lon:"",wiid:"",profId:"",verId:""},u=0;function c(e,r){if(!n.isStr(r))return r&&n.logWarn("PubMatic: Ignoring param key: "+e+", expects string-value, found "+(void 0===r?"undefined":t(r))),p;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)||p;case"yob":return parseInt(r)||p;default:return r}}function m(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,n.isStr(r)?r.replace(/^\s+/g,"").replace(/\s+$/g,""):"");var a=e.params.adSlot,t=a.split(":");a=t[0],2==t.length&&(e.params.adUnitIndex=t[1]),2==(t=a.split("@")).length?(e.params.adUnit=t[0],2==(t=t[1].split("x")).length?(e.params.width=parseInt(t[0]),e.params.height=parseInt(t[1])):n.logWarn("AdSlot Error: adSlot not in required format")):n.logWarn("AdSlot Error: adSlot not in required format")}var g=r.spec={code:"pubmatic",isBidRequestValid:function(e){return!(!e||!e.params)&&(n.isStr(e.params.publisherId)?!!n.isStr(e.params.adSlot)||(n.logWarn("PubMatic: adSlotId is mandatory and cannot be numeric. Call to OpenBid will not be sent."),!1):(n.logWarn("PubMatic Error: publisherId is mandatory and cannot be numeric. Call to OpenBid will not be sent."),!1))},buildRequests:function(e){var r,a,i,g,f=((r={}).pageURL=n.getTopWindowUrl(),r.refURL=n.getTopWindowReferrer(),r),b=(a=f,{id:""+(new Date).getTime(),at:s,cur:[d],imp:[],site:{page:a.pageURL,ref:a.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:{}});if(e.forEach((function(e){var r;(m(e),e.params.adSlot&&e.params.adUnit&&e.params.adUnitIndex&&e.params.width&&e.params.height)?(f.pubId=f.pubId||e.params.publisherId,(f=(function(e,r){var a,i,o;for(a in r.kadpageurl||(r.kadpageurl=r.pageURL),l)l.hasOwnProperty(a)&&(i=e[a])&&("object"===(void 0===(o=l[a])?"undefined":t(o))&&(i=o.f(i,r)),n.isStr(i)?r[a]=i:n.logWarn("PubMatic: Ignoring param : "+a+" with value : "+l[a]+", expects string-value, found "+(void 0===i?"undefined":t(i))));return r})(e.params,f)).transactionId=e.transactionId,b.imp.push({id:(r=e).bidId,tagid:r.params.adUnit,bidfloor:c("kadfloor",r.params.kadfloor),secure:"https:"===window.location.protocol?1:0,banner:{pos:0,w:r.params.width,h:r.params.height,topframe:n.inIframe()?0:1},ext:{pmZoneId:c("pmzoneid",r.params.pmzoneid)}})):n.logWarn("PubMatic: Skipping the non-standard adslot:",e.params.adSlot,e)})),0!=b.imp.length)return b.site.publisher.id=f.pubId.trim(),u=f.pubId.trim(),b.ext.wrapper={},b.ext.wrapper.profile=f.profId||p,b.ext.wrapper.version=f.verId||p,b.ext.wrapper.wiid=f.wiid||p,b.ext.wrapper.wv=o.REPO_AND_VERSION,b.ext.wrapper.transactionId=f.transactionId,b.ext.wrapper.wp="pbjs",b.user.gender=f.gender?f.gender.trim():p,b.user.geo={},b.user.geo.lat=c("lat",f.lat),b.user.geo.lon=c("lon",f.lon),b.user.yob=c("yob",f.yob),b.device.geo={},b.device.geo.lat=c("lat",f.lat),b.device.geo.lon=c("lon",f.lon),b.site.page=f.kadpageurl.trim()||b.site.page.trim(),b.site.domain=(i=b.site.page,(g=document.createElement("a")).href=i,g.hostname),{method:"POST",url:"//hbopenbid.pubmatic.com/translator?source=prebid-client",data:JSON.stringify(b)}},interpretResponse:function(e,r){var a=[];try{e.body&&e.body.seatbid&&e.body.seatbid[0]&&e.body.seatbid[0].bid&&e.body.seatbid[0].bid.forEach((function(e){var r={requestId:e.impid,cpm:(parseFloat(e.price)||0).toFixed(2),width:e.w,height:e.h,creativeId:e.crid||e.id,dealId:e.dealid,currency:d,netRevenue:!1,ttl:300,referrer:n.getTopWindowUrl(),ad:e.adm};a.push(r)}))}catch(e){n.logError(e)}return a},getUserSyncs:function(e){if(e.iframeEnabled)return[{type:"iframe",url:"//ads.pubmatic.com/AdServer/js/showad.js#PIX&kdntuid=1&p="+u}];n.logWarn("PubMatic: Please enable iframe based user sync.")}};(0,i.registerBidder)(g)},233:function(e,r){}},[231]);
  pbjsChunk([31],{234:function(e,t,n){e.exports=n(235)},235:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},a=n(6),o=l(n(7)),u=l(n(5)),i=l(n(3));function l(e){return e&&e.__esModule?e:{default:e}}var s=n(0),c="PubWise Analytics: ",f="3.0",p="AVOCET",d={site:"",endpoint:"https://api.pubwise.io/api/v4/event/default/",debug:""},y=!1,g={utm_source:"",utm_medium:"",utm_campaign:"",utm_term:"",utm_content:""};function v(e,t){s.logInfo(c+"Event "+e+" "+y,t);var n={eventType:e,args:t,target_site:d.site,pubwiseSchema:p,debug:d.debug?1:0};e==i.default.EVENTS.AUCTION_INIT&&(n=(function(e){var t=!1;try{for(var n in g)g[n]=s.getParameterByName(n),""!=g[n]&&(t=!0,e[n]=g[n]);if(!1===t)for(var r in g){var a=localStorage.getItem("pw-"+r);0!==a.length&&(e[r]=a)}else for(var o in g)localStorage.setItem("pw-"+o,g[o])}catch(t){s.logInfo(c+"Error",t),e.error_utm=1}return e})(n=(function(e){try{e.pw_version=f,e.pbjs_version=pbjs.version,e.debug=d.debug}catch(t){e.error_metric=1}return e})(n))),(0,a.ajax)(d.endpoint,(function(e){return s.logInfo(c+"Result",e)}),JSON.stringify(n))}var b=r((0,o.default)({defaultUrl:"https://api.pubwise.io/api/v4/event/default/",analyticsType:"endpoint"}),{track:function(e){v(e.eventType,e.args)}});b.adapterEnableAnalytics=b.enableAnalytics,b.enableAnalytics=function(e){void 0===e.options.debug&&(e.options.debug=s.debugTurnedOn()),d=e.options,s.logInfo(c+"Enabled",d),y=!0,b.adapterEnableAnalytics(e)},u.default.registerAnalyticsAdapter({adapter:b,code:"pubwise"}),t.default=b},7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){var t,n=e.url,a=e.analyticsType,o=e.global,u=e.handler,A=[],N=0,I=!0;a===_&&(0,i.loadScript)(n,w);(a===m||S)&&w();return{track:function(e){var t=e.eventType,r=e.args;(this.getAdapterType()===_||S)&&window[o](u,t,r);this.getAdapterType()===m&&function(e){var t=e.eventType,r=e.args,a=e.callback;(0,l.ajax)(n,a,JSON.stringify({eventType:t,args:r}))}.apply(void 0,arguments)},enqueue:O,enableAnalytics:function(e){var n=this,a=this;h="object"!==(void 0===e?"undefined":r(e))||"object"!==r(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling));if(h){var u;c.getEvents().forEach((function(e){if(e){var t=e.eventType,n=e.args;t!==g&&O.call(a,{eventType:t,args:n})}})),s(u={},y,(function(e){return n.enqueue({eventType:y,args:e})})),s(u,v,(function(e){return n.enqueue({eventType:v,args:e})})),s(u,g,(function(e){return n.enqueue({eventType:g,args:e})})),s(u,b,(function(e){return n.enqueue({eventType:b,args:e})})),s(u,T,(function(e){return n.enqueue({eventType:T,args:e})})),s(u,E,(function(e){return n.enqueue({eventType:E,args:e})})),s(u,d,(function(e){return n.enqueue({eventType:d,args:e})})),s(u,p,(function(t){t.config=e.options,n.enqueue({eventType:p,args:t})})),t=u,f._each(t,(function(e,t){c.on(t,e)}))}else f.logMessage('Analytics adapter for "'+o+'" disabled by sampling');this.enableAnalytics=function(){return f.logMessage('Analytics adapter for "'+o+'" already enabled, unnecessary call to `enableAnalytics`.')}},disableAnalytics:function(){f._each(t,(function(e,t){c.off(t,e)}))},getAdapterType:function(){return a},getGlobal:function(){return o},getHandler:function(){return u},getUrl:function(){return n}};function O(e){var t=e.eventType,n=e.args,r=this;o&&window[o]&&t&&n?this.track({eventType:t,args:n}):A.push((function(){N++,r.track({eventType:t,args:n})}))}function w(){if(I){for(var e=0;e<A.length;e++)A[e]();A.push=function(e){e()},I=!1}f.logMessage("event count sent to "+o+": "+N)}};var a,o=n(3),u=(a=o)&&a.__esModule?a:{default:a},i=n(10),l=n(6);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=n(9),f=n(0),p=u.default.EVENTS.AUCTION_INIT,d=u.default.EVENTS.AUCTION_END,y=u.default.EVENTS.BID_REQUESTED,g=u.default.EVENTS.BID_TIMEOUT,v=u.default.EVENTS.BID_RESPONSE,b=u.default.EVENTS.BID_WON,T=u.default.EVENTS.BID_ADJUSTMENT,E=u.default.EVENTS.SET_TARGETING,_="library",m="endpoint",S="bundle",h=!0}},[234]);
  pbjsChunk([30],{236:function(e,n,t){e.exports=t(237)},237:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=u(t(7)),r=u(t(5));function u(e){return e&&e.__esModule?e:{default:e}}var o=(0,a.default)({global:"PulsePointPrebidAnalytics",handler:"on",analyticsType:"bundle"});r.default.registerAnalyticsAdapter({adapter:o,code:"pulsepoint"}),n.default=o},7:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a="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};n.default=function(e){var n,t=e.url,r=e.analyticsType,u=e.global,o=e.handler,A=[],m=0,I=!0;r===S&&(0,i.loadScript)(t,q);(r===_||h)&&q();return{track:function(e){var n=e.eventType,a=e.args;(this.getAdapterType()===S||h)&&window[u](o,n,a);this.getAdapterType()===_&&function(e){var n=e.eventType,a=e.args,r=e.callback;(0,l.ajax)(t,r,JSON.stringify({eventType:n,args:a}))}.apply(void 0,arguments)},enqueue:M,enableAnalytics:function(e){var t=this,r=this;N="object"!==(void 0===e?"undefined":a(e))||"object"!==a(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling));if(N){var o;c.getEvents().forEach((function(e){if(e){var n=e.eventType,t=e.args;n!==T&&M.call(r,{eventType:n,args:t})}})),s(o={},d,(function(e){return t.enqueue({eventType:d,args:e})})),s(o,g,(function(e){return t.enqueue({eventType:g,args:e})})),s(o,T,(function(e){return t.enqueue({eventType:T,args:e})})),s(o,v,(function(e){return t.enqueue({eventType:v,args:e})})),s(o,b,(function(e){return t.enqueue({eventType:b,args:e})})),s(o,E,(function(e){return t.enqueue({eventType:E,args:e})})),s(o,y,(function(e){return t.enqueue({eventType:y,args:e})})),s(o,p,(function(n){n.config=e.options,t.enqueue({eventType:p,args:n})})),n=o,f._each(n,(function(e,n){c.on(n,e)}))}else f.logMessage('Analytics adapter for "'+u+'" disabled by sampling');this.enableAnalytics=function(){return f.logMessage('Analytics adapter for "'+u+'" already enabled, unnecessary call to `enableAnalytics`.')}},disableAnalytics:function(){f._each(n,(function(e,n){c.off(n,e)}))},getAdapterType:function(){return r},getGlobal:function(){return u},getHandler:function(){return o},getUrl:function(){return t}};function M(e){var n=e.eventType,t=e.args,a=this;u&&window[u]&&n&&t?this.track({eventType:n,args:t}):A.push((function(){m++,a.track({eventType:n,args:t})}))}function q(){if(I){for(var e=0;e<A.length;e++)A[e]();A.push=function(e){e()},I=!1}f.logMessage("event count sent to "+u+": "+m)}};var r,u=t(3),o=(r=u)&&r.__esModule?r:{default:r},i=t(10),l=t(6);function s(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var c=t(9),f=t(0),p=o.default.EVENTS.AUCTION_INIT,y=o.default.EVENTS.AUCTION_END,d=o.default.EVENTS.BID_REQUESTED,T=o.default.EVENTS.BID_TIMEOUT,g=o.default.EVENTS.BID_RESPONSE,v=o.default.EVENTS.BID_WON,b=o.default.EVENTS.BID_ADJUSTMENT,E=o.default.EVENTS.SET_TARGETING,S="library",_="endpoint",h="bundle",N=!0}},[236]);
  pbjsChunk([29],{238:function(e,t,n){n(239),e.exports=n(240)},239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var r=n(0),a=n(1),i={TITLE_LEN:100,DESCR_LEN:200,SPONSORED_BY_LEN:50,IMG_MIN:150,ICON_MIN:50},u=20,o="USD",s=!0,c=t.spec={code:"pulsepoint",aliases:["pulseLite","pulsepointLite"],supportedMediaTypes:["banner","native"],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.cp&&e.params.ct)},buildRequests:function(e){var t={id:e[0].bidderRequestId,imp:e.map((function(e){return{id:(t=e).bidId,banner:(n=t,r=(function(e){if(e.params.cf){var t=e.params.cf.toUpperCase().split("X"),n=parseInt(e.params.cw||t[0],10),r=parseInt(e.params.ch||t[1],10);return[n,r]}return[1,1]})(n),n.nativeParams?null:{w:r[0],h:r[1]}),native:(function(e){if(e.nativeParams){var t=[];return d(t,(n=t.length+1,r=e.nativeParams.title,a=i.TITLE_LEN,r?{id:n,required:r.required?1:0,title:{len:r.len||a}}:null)),d(t,p(t.length+1,e.nativeParams.body,2,i.DESCR_LEN)),d(t,p(t.length+1,e.nativeParams.sponsoredBy,1,i.SPONSORED_BY_LEN)),d(t,l(t.length+1,e.nativeParams.icon,1,i.ICON_MIN,i.ICON_MIN)),d(t,l(t.length+1,e.nativeParams.image,3,i.IMG_MIN,i.IMG_MIN)),{request:JSON.stringify({assets:t}),ver:"1.1"}}var n,r,a;return null})(t),tagid:t.params.ct.toString()};var t,n,r})),site:(function(e){var t=e&&e.length>0?e[0].params.cp:"0";if(!e[0].params.app)return{publisher:{id:t.toString()},ref:(function(){try{return window.top.document.referrer}catch(e){return document.referrer}})(),page:(0,r.getTopWindowLocation)().href};return null})(e),app:(function(e){var t=e&&e.length>0?e[0].params.cp:"0",n=e[0].params.app;if(n)return{publisher:{id:t.toString()},bundle:n.bundle,storeurl:n.storeUrl,domain:n.domain};return null})(e),device:{ua:navigator.userAgent,language:navigator.language||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage}};return{method:"POST",url:"//bid.contextweb.com/header/ortb",data:JSON.stringify(t)}},interpretResponse:function(e,t){return (function(e,t){var n={},r={};t=t.body,m(e.data).imp.forEach((function(e){n[e.id]=e})),t&&t.seatbid.forEach((function(e){return e.bid.forEach((function(e){r[e.impid]=e}))}));var a=[];return Object.keys(n).forEach((function(e){if(r[e]){var t={requestId:e,cpm:r[e].price,creative_id:e,creativeId:e,adId:e,ttl:u,netRevenue:s,currency:o};n[e].native?(t.native=(function(e,t){if(e.native){var n=m(t.adm),r={};if(n&&n.native&&n.native.assets)return n.native.assets.forEach((function(e){r.title=e.title?e.title.text:r.title,r.body=e.data&&2===e.data.type?e.data.value:r.body,r.sponsoredBy=e.data&&1===e.data.type?e.data.value:r.sponsoredBy,r.image=e.img&&3===e.img.type?e.img.url:r.image,r.icon=e.img&&1===e.img.type?e.img.url:r.icon})),n.native.link&&(r.clickUrl=encodeURIComponent(n.native.link.url)),r.impressionTrackers=n.native.imptrackers,r}return null})(n[e],r[e]),t.mediaType="native"):(t.ad=r[e].adm,t.width=n[e].banner.w,t.height=n[e].banner.h),i=t,(c=r[e])&&c.ext&&(i.ttl=c.ext.ttl||i.ttl,i.currency=c.ext.currency||i.currency,i.netRevenue=null!=c.ext.netRevenue?c.ext.netRevenue:i.netRevenue),a.push(t)}var i,c})),a})(t,e)},getUserSyncs:function(e){return e.iframeEnabled?[{type:"iframe",url:"//bh.contextweb.com/visitormatch"}]:e.pixelEnabled?[{type:"image",url:"//bh.contextweb.com/visitormatch/prebid"}]:void 0}};function d(e,t){t&&e.push(t)}function l(e,t,n,r,a){return t?{id:e,required:t.required?1:0,img:{type:n,wmin:t.wmin||r,hmin:t.hmin||a}}:null}function p(e,t,n,r){return t?{id:e,required:t.required?1:0,data:{type:n,len:t.len||r}}:null}function m(e){try{if(e)return JSON.parse(e)}catch(e){(0,r.logError)("pulsepointLite.safeParse","ERROR",e)}return null}(0,a.registerBidder)(c)},240:function(e,t){}},[238]);
  pbjsChunk([28],{241:function(e,r,t){t(242),e.exports=t(243)},242:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=r.QUANTCAST_TTL=r.QUANTCAST_TEST_PUBLISHER=r.QUANTCAST_NET_REVENUE=r.QUANTCAST_CALLBACK_URL_TEST=r.QUANTCAST_CALLBACK_URL=void 0;var i=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),n=t(1);var o=r.QUANTCAST_CALLBACK_URL="global.qc.rtb.quantserve.com",a=r.QUANTCAST_CALLBACK_URL_TEST="s2s-canary.quantserve.com",s=r.QUANTCAST_NET_REVENUE=!0,d=r.QUANTCAST_TEST_PUBLISHER="test-publisher",u=r.QUANTCAST_TTL=4,c=r.spec={code:"quantcast",isBidRequestValid:function(e){return!!e&&"video"!==e.mediaType},buildRequests:function(e){var r=e||[],t=i.getTopWindowUrl(),n=i.getTopWindowLocation(),s=n.hostname,u=void 0,c=void 0;switch(window.location.protocol){case"https:":u="https://"+o+":8443/qchb",c="https://"+a+":8443/qchb";break;default:u="http://"+o+":8080/qchb",c="http://"+a+":8080/qchb"}return r.map((function(e){var r=[];e.sizes.forEach((function(e){r.push({width:e[0],height:e[1]})}));var i={publisherId:e.params.publisherId,requestId:e.bidId,imp:[{banner:{battr:e.params.battr,sizes:r},placementCode:e.placementCode,bidFloor:e.params.bidFloor||1e-10}],site:{page:n.href,referrer:t,domain:s},bidId:e.bidId};return{data:JSON.stringify(i),method:"POST",url:e.params.publisherId===d?c:u}}))},interpretResponse:function(e){if(void 0===e)return i.logError("Server Response is undefined"),[];var r=e.body;return void 0===r||!r.hasOwnProperty("bids")||i.isEmpty(r.bids)?(i.logError("Sub-optimal JSON received from Quantcast server"),[]):r.bids.map((function(e){var t=e.ad,i=e.cpm,n=e.width,o=e.height,a=e.creativeId,d=e.currency;return{requestId:r.requestId,cpm:i,width:n,height:o,ad:t,ttl:u,creativeId:a,netRevenue:s,currency:d}}))}};(0,n.registerBidder)(c)},243:function(e,r){}},[241]);
  pbjsChunk([27],{244:function(e,r,t){t(245),e.exports=t(246)},245:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=r.ENDPOINT=void 0;var n="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},i=t(0),a=t(1),o=r.ENDPOINT="//app.readpeak.com/header/prebid",u={TITLE_LEN:70,DESCR_LEN:120,SPONSORED_BY_LEN:50,IMG_MIN:150,ICON_MIN:50,CTA_LEN:50},d=r.spec={code:"readpeak",supportedMediaTypes:["native"],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.publisherId&&e.nativeParams)},buildRequests:function(e){var r={id:e[0].bidderRequestId,imp:e.map((function(e){return{id:(r=e).bidId,native:(function(e){if(e.nativeParams){var r=[];return s(r,(t=1,n=e.nativeParams.title,i=u.TITLE_LEN,n?{id:t,required:n.required?1:0,title:{len:n.len||i}}:null)),s(r,(a=2,o=e.nativeParams.image,d=3,c=u.IMG_MIN,p=u.IMG_MIN,o?{id:a,required:o.required?1:0,img:{type:d,wmin:o.wmin||c,hmin:o.hmin||p}}:null)),s(r,l(3,e.nativeParams.sponsoredBy,1,u.SPONSORED_BY_LEN)),s(r,l(4,e.nativeParams.body,2,u.DESCR_LEN)),s(r,l(5,e.nativeParams.cta,12,u.CTA_LEN)),{request:JSON.stringify({assets:r}),ver:"1.1"}}var t,n,i,a,o,d,c,p;return null})(r),bidfloor:r.params.bidfloor||0,bidfloorcur:r.params.bidfloorcur||"USD"};var r})).filter((function(e){return null!=e.native})),site:(function(e){var r=e&&e.length>0?e[0].params.publisherId:"0";if(!e[0].params.app)return{publisher:{id:r.toString()},id:r.toString(),ref:(function(){try{return window.top.document.referrer}catch(e){return document.referrer}})(),page:(0,i.getTopWindowLocation)().href,domain:(0,i.getTopWindowLocation)().hostname};return null})(e),app:(function(e){var r=e&&e.length>0?e[0].params.publisherId:"0",t=e[0].params.app;if(t)return{publisher:{id:r.toString()},bundle:t.bundle,storeurl:t.storeUrl,domain:t.domain};return null})(e),device:{ua:navigator.userAgent,language:navigator.language||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage},isPrebid:!0};return{method:"POST",url:o,data:JSON.stringify(r)}},interpretResponse:function(e,r){return (function(e,r){var t={},n={};if(!r.body)return[];r=r.body,c(e.data).imp.forEach((function(e){t[e.id]=e})),r&&r.seatbid.forEach((function(e){return e.bid.forEach((function(e){n[e.impid]=e}))}));var i=[];return Object.keys(t).forEach((function(e){if(n[e]){var a={requestId:e,cpm:n[e].price,creativeId:n[e].crid,ttl:300,netRevenue:!0,mediaType:"native",currency:r.cur,native:(function(e,r){if(e&&e.native){var t=c(r.adm),n={};if(t&&t.assets)return t.assets.forEach((function(e){n.title=e.title?e.title.text:n.title,n.body=e.data&&4===e.id?e.data.value:n.body,n.sponsoredBy=e.data&&3===e.id?e.data.value:n.sponsoredBy,n.image=e.img&&2===e.id?e.img.url:n.image,n.cta=e.data&&5===e.id?e.data.value:n.cta})),t.link&&(n.clickUrl=encodeURIComponent(t.link.url)),n.impressionTrackers=t.imptrackers,n}return null})(t[e],n[e])};i.push(a)}})),i})(r,e)}};function s(e,r){r&&e.push(r)}function l(e,r,t,n){return r?{id:e,required:r.required?1:0,data:{type:t,len:r.len||n}}:null}function c(e){try{if(e)return"object"===(void 0===e?"undefined":n(e))?e:JSON.parse(e)}catch(e){(0,i.logError)("readpeakBidAdapter.safeParse","ERROR",e)}return null}(0,a.registerBidder)(d)},246:function(e,r){}},[244]);
  pbjsChunk([26],{247:function(e,t,n){n(248),e.exports=n(249)},248:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var 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},i=n(1),r=n(4);var a=t.spec=new function(){function e(e,t){for(var n=0;n<t.length;n++)if(t[n].params&&t[n].params[e])return t[n].params[e]}this.code="rhythmone",this.supportedMediaTypes=[r.VIDEO,r.BANNER],this.isBidRequestValid=function(e){return!0},this.getUserSyncs=function(n){var r=[],s=[];for(var c in t)r.push(c),s.push(e("placementId",[t[c]]));var d={doc_version:1,doc_type:"Prebid Audit",placement_id:s.join(",").replace(/[,]+/g,",").replace(/^,|,$/g,"")},p="undefined"!=typeof window?window:{document:{location:{href:""}}},u=p.document.location.ancestorOrigins,l=[];u&&u.length>0&&(d.ancestor_origins=u[u.length-1]),d.popped=null!==p.opener?1:0,d.framed=p.top===p?0:1;try{d.url=p.top.document.location.href.toString()}catch(e){d.url=p.document.location.href.toString()}try{d.prebid_version="1.3.1",d.prebid_timeout=config.getConfig("bidderTimeout")}catch(e){}for(var h in d.response_ms=Date.now()-a,d.placement_codes=r.join(","),d.bidder_version=i,d)l.push(encodeURIComponent(h)+"="+encodeURIComponent("object"===o(d[h])?JSON.stringify(d[h]):d[h]));if(l.sort(),n.pixelEnabled)return[{type:"image",url:"//hbevents.1rx.io/audit?"+l.join("&")}]};var t={},n=this,i="1.0.0.0",a=Date.now();this.buildRequests=function(n){var o=e("placementId",n);if(void 0===o||n.length<1)return[];a=Date.now(),t={};var r=[],s="undefined"!=typeof window?window:{};function c(e,t,n){t instanceof Array&&(t=t.join(n||",")),void 0!==t&&r.push(encodeURIComponent(e)+"="+encodeURIComponent(t))}function d(e,t){try{return e()}catch(e){}return t}return c("domain",d((function(){var e=s.document.location.ancestorOrigins;return e&&e.length>0?e[e.length-1]:s.top.document.location.hostname}),"")),c("url",d((function(){var e;try{e=s.top.document.location.href.toString()}catch(t){e=s.document.location.href.toString()}return e}),"")),[{method:"GET",url:(function(){var a=e("endpoint",n)||"//tag.1rx.io/rmp/{placementId}/0/{path}?z={zone}",p=e("zone",n)||"1r",u=e("path",n)||"mvo";a=(a=(a=a.replace(/\{placementId\}/i,o)).replace(/\{zone\}/i,p)).replace(/\{path\}/i,u),c("title",d((function(){return s.top.document.title}),"")),c("dsh",s.screen?s.screen.height:""),c("dsw",s.screen?s.screen.width:""),c("tz",(new Date).getTimezoneOffset()),c("dtype",/(ios|ipod|ipad|iphone|android)/i.test(s.navigator.userAgent)?1:/(smart[-]?tv|hbbtv|appletv|googletv|hdmi|netcast\.tv|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b)/i.test(s.navigator.userAgent)?3:2),c("flash",d((function(){var e=s.navigator,t=e.plugins,n=e.mimeTypes,o="application/x-shockwave-flash",i=s.ActiveXObject;if(t&&t["Shockwave Flash"]&&n&&n[o]&&n[o].enabledPlugin)return 1;if(i)try{if(new s.ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return 1}catch(e){}return 0}),0));var l=[],h=[],f=[],v=[],m=0,g=[],b=/(^v|(\.0)+$)/gi;for(c("hbv",s.pbjs.version.replace(b,"")+","+i.replace(b,""));m<n.length;m++){var y=[],w=[],S=n[m].params||{};t[n[m].adUnitCode||n[m].placementCode]=n[m],n[m].sizes.length>0&&"number"==typeof n[m].sizes[0]&&(n[m].sizes=[n[m].sizes]);for(var j=0;j<n[m].sizes.length;j++)w.push(n[m].sizes[j][0]),y.push(n[m].sizes[j][1]);g.push(n[m].adUnitCode||n[m].placementCode),l.push(y.join("|")),h.push(w.join("|")),v.push(n[m].mediaTypes&&n[m].mediaTypes.video?"v":"d"),f.push(S.floor||0)}return c("imp",g),c("w",h),c("h",l),c("floor",f),c("t",v),a+="&"+r.join("&")+"&"})()}]},this.interpretResponse=function(e){var o=e.body||[],i=[],r=0;if(o.seatbid){var a=[];for(r=0;r<o.seatbid.length;r++)for(var s=0;s<o.seatbid[r].bid.length;s++)a.push(o.seatbid[r].bid[s]);o=a}for(r=0;r<o.length;r++){var c=o[r],d=t[c.impid],p={requestId:d.bidId,bidderCode:n.code,cpm:parseFloat(c.price),width:c.w,height:c.h,creativeId:c.crid,currency:"USD",netRevenue:!0,ttl:1e3};d.mediaTypes&&d.mediaTypes.video?(p.vastUrl=c.nurl,p.mediaType="video",p.ttl=1e4):p.ad=c.adm,i.push(p)}return i}};(0,i.registerBidder)(a)},249:function(e,t){}},[247]);
  pbjsChunk([25],{250:function(e,r,n){n(251),e.exports=n(252)},251:function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.internals=r.spec=r.ROTATION_ZONE=void 0;var t=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r.default=e,r}})(n(0)),a=n(20),i=n(4),o=n(1);var d=r.ROTATION_ZONE="openrtbprod",s=function(e){var r=null,n=null;if(!t.isEmpty(e.sizes)){var a=t.parseSizesInput(e.sizes);if(!t.isEmpty(a)&&null!=a[0]){var i=a[0].split("x");r=parseInt(i[0]),n=parseInt(i[1])}}return{w:r,h:n}},u=function(e){var r,n,t=e.mediaTypes,a=null,i=null;return t&&t.video?i={w:(n=s(e)).w,h:n.h}:a={w:(r=s(e)).w,h:r.h},{id:e.index,banner:a,video:i}},l=function(e){var r=e[0],n=1;e.forEach((function(e){e.index=n,n+=1}));var a,i,o={id:(i=r,i.bidId),site:(a=t.getTopWindowLocation(),{domain:a.hostname,page:a.href,ref:a.origin}),device:{js:1,language:"language"in navigator?navigator.language:null},imp:e.map(u)};return JSON.stringify(o)},c=function(e){var r="https://rya-static.rockyou.com/rya/js/PreBidPlayer.js",n="https://tas.rockyou.net/servlet/rotator/",a=d;return t.isEmpty(e.rendererOverride)||(r=e.rendererOverride),e.params&&(t.isEmpty(e.params.baseRequestPath)||(n=e.params.baseRequestPath),t.isEmpty(e.params.rotationZone)||(a=e.params.rotationZone)),{rendererLocation:r,baseRequestPath:n,rotationZone:a}},p=function(e){e.renderer.push((function(){var r=e.renderer.config.adUnitCode;try{RockYouVastPlayer.render(r,e,v(e.renderer))}catch(e){t.logError(e)}}))},v=function(e){return function(r,n){(n=(function(e){var r=void 0;switch(e){case"LOAD":r="loaded";break;case"IMPRESSION":r="impression";break;case"COMPLETE":case"ERROR":r="ended"}return r})(n))&&e.handleVideoEvent({id:r,eventName:n})}},m=function(e,r,n){var i=a.Renderer.install({url:n,config:{adText:"RockYou Outstream Video Ad",adUnitCode:r},id:e.id});e.renderer=i;try{i.setRender(p)}catch(e){t.logWarn("Prebid Error calling setRender on renderer",e)}return i.setEventHandlers({impression:function(){return t.logMessage("RockYou outstream video impression event")},loaded:function(){return t.logMessage("RockYou outstream video loaded event")},ended:function(){t.logMessage("RockYou outstream renderer video event"),document.querySelector("#"+r).style.display="none"}}),i},f=r.spec={code:"rockyou",aliases:["ry"],isBidRequestValid:function(e){return!!e.params&&!!e.params.placementId},buildRequests:function(e,r){var n=null,a=null,i=null,o=null,d=null;if(!t.isEmpty(e)){var s=e[0],u=c(s),p=s.params.placementId;n=""+u.baseRequestPath+p+"/0/vo?z="+u.rotationZone,a=l(e),i=s.mediaTypes,o=s.adUnitCode,d=s.rendererOverride}return{method:"POST",type:"POST",url:n,data:a,mediaTypes:i,requestId:r.bidderRequestId,adUnitCode:o,rendererOverride:d}},interpretResponse:function(e,r){var n=[];if(e.body){var a=e.body;if(null!=a){var o=a.seatbid;if(!t.isEmpty(o)&&!t.isEmpty(o[0].bid)){var d=o[0].bid[0],s=function(e){return void 0===e?null:e},u=null;d.ext&&(u=s(d.ext.ttl));var l=s(d.w),p=s(d.h),v=null,f=null,y=null,h=null;if(r.mediaTypes&&r.mediaTypes.video){f=d.adm,y=i.VIDEO;var g=c(r);h=m(d,r.adUnitCode,g.rendererLocation)}else v=d.adm;var R={requestId:a.id,cpm:d.price,width:l,height:p,ad:v,ttl:u,creativeId:d.adid,netRevenue:!0,currency:a.cur,vastUrl:null,vastXml:f,dealId:null,mediaType:y,renderer:h};n.push(R)}}}return n},getUserSyncs:function(e,r){var n=[];return e.iframeEnabled&&n.push({type:"iframe",url:"https://prebid.tex-sync.rockyou.net/usersync2/tas"}),n},supportedMediaTypes:[i.BANNER,i.VIDEO]};r.internals={playerCallbacks:v,generateRenderer:m};(0,o.registerBidder)(f)},252:function(e,r){}},[250]);
  pbjsChunk([24],{253:function(e,t,n){e.exports=n(254)},254:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},o=s(n(7)),r=s(n(3)),i=s(n(5)),u=s(n(8));function s(e){return e&&e.__esModule?e:{default:e}}var l=n(0),c="//pa.rxthdr.com/analytic",f=r.default.EVENTS.AUCTION_INIT,d=r.default.EVENTS.AUCTION_END,p=r.default.EVENTS.BID_WON,g=r.default.EVENTS.BID_REQUESTED,v=r.default.EVENTS.BID_ADJUSTMENT,y=r.default.EVENTS.BID_RESPONSE,T={publisherIds:[],utmTagData:[],adUnits:[]},E={options:{},events:[]},b={options:{},events:[]},h="not_started",S="roxot_analytics_",m=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],I="utm_timeout",_=36e5,N=36e5,D="session_id",A="session_timeout";function U(){return S.concat(D)}function w(){return S.concat(A)}function O(){if(t=localStorage.getItem(w()),Date.now()-t>N){var e=l.generateUUID();localStorage.setItem(U(),e)}var t;T.sessionId=localStorage.getItem(U())?localStorage.getItem(U()):"",localStorage.setItem(w(),Date.now())}function V(){localStorage.setItem(M(),Date.now())}function M(){return S.concat(I)}function q(e){return S.concat(e)}function j(){return void 0!==T.adUnits&&T.adUnits.length>0}function C(){b.events=[]}var B=a((0,o.default)({url:c,analyticsType:"endpoint"}),{track:function(e){var t=e.eventType,n=e.args;if(void 0!==T.publisherIds&&T.publisherIds.length>0){var o,r,i,s,l,c,S=a({},n);if(S&&S.ad&&(S.ad=""),t===f&&(h="started",C()),t===p&&"not_started"===h)return O(),o=t,r=S,E.options=T,j()?(0,u.default)(T.adUnits,r.adUnitCode)&&(E.events=[{args:r,eventType:o}]):E.events=[{args:r,eventType:o}],E.events.length>0&&x(t,E,"bidWon"),void(E.events=[]);t===d?(O(),b.options=T,b.events.length>0&&b.events.some((function(e){return g===e.eventType||p===e.eventType}))&&x(t,b,"eventStack"),C(),h="not_started"):(s=S,(i=t)===g?(j()&&(s.bids=(l=s.bids,c=[],l.forEach((function(e){(0,u.default)(T.adUnits,e.placementCode)&&c.push(e)})),c)),s.bids.length>0&&b.events.push({eventType:i,args:s})):(function(e,t){if(j()){var n=[v,y,p];if(!(0,u.default)(T.adUnits,t)&&(0,u.default)(n,e))return!1}return!0})(i,s.adUnitCode)&&b.events.push({eventType:i,args:s}))}}});function x(e,t,n){var a=c+"?publisherIds[]="+T.publisherIds.join("&publisherIds[]=")+"&host="+window.location.hostname,o=new XMLHttpRequest;o.open("POST",a,!0),o.setRequestHeader("Content-Type","text/plain"),o.withCredentials=!0,o.onreadystatechange=function(t){4==this.readyState&&l.logInfo("Event "+e+" sent "+n+" to roxot prebid analytic with result"+t)},o.send(JSON.stringify(t))}B.originEnableAnalytics=B.enableAnalytics,B.enableAnalytics=function(e){(T=e.options).utmTagData=this.buildUtmTagData(),l.logInfo("Roxot Analytics enabled with config",T),B.originEnableAnalytics(e)},B.buildUtmTagData=function(){var e={},t=!1;return m.forEach((function(n){var a,o,r=(a=n,o={},window.location.href.replace(location.hash,"").replace(/[?&]+([^=&]+)=?([^&]*)?/gi,(function(e,t,n){o[t]=void 0!==n?n:""})),o[a]?o[a]:"");""!==r&&(t=!0),e[n]=r})),m.forEach((function(n){var a;t?(localStorage.setItem(q(n),e[n]),V()):(a=localStorage.getItem(M()),Date.now()-a>_||(e[n]=localStorage.getItem(q(n))?localStorage.getItem(q(n)):"",V()))})),e},i.default.registerAnalyticsAdapter({adapter:B,code:"roxot"}),t.default=B},7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="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};t.default=function(e){var t,n=e.url,o=e.analyticsType,r=e.global,i=e.handler,_=[],N=0,D=!0;o===h&&(0,u.loadScript)(n,U);(o===S||m)&&U();return{track:function(e){var t=e.eventType,a=e.args;(this.getAdapterType()===h||m)&&window[r](i,t,a);this.getAdapterType()===S&&function(e){var t=e.eventType,a=e.args,o=e.callback;(0,s.ajax)(n,o,JSON.stringify({eventType:t,args:a}))}.apply(void 0,arguments)},enqueue:A,enableAnalytics:function(e){var n=this,o=this;I="object"!==(void 0===e?"undefined":a(e))||"object"!==a(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling));if(I){var i;c.getEvents().forEach((function(e){if(e){var t=e.eventType,n=e.args;t!==v&&A.call(o,{eventType:t,args:n})}})),l(i={},g,(function(e){return n.enqueue({eventType:g,args:e})})),l(i,y,(function(e){return n.enqueue({eventType:y,args:e})})),l(i,v,(function(e){return n.enqueue({eventType:v,args:e})})),l(i,T,(function(e){return n.enqueue({eventType:T,args:e})})),l(i,E,(function(e){return n.enqueue({eventType:E,args:e})})),l(i,b,(function(e){return n.enqueue({eventType:b,args:e})})),l(i,p,(function(e){return n.enqueue({eventType:p,args:e})})),l(i,d,(function(t){t.config=e.options,n.enqueue({eventType:d,args:t})})),t=i,f._each(t,(function(e,t){c.on(t,e)}))}else f.logMessage('Analytics adapter for "'+r+'" disabled by sampling');this.enableAnalytics=function(){return f.logMessage('Analytics adapter for "'+r+'" already enabled, unnecessary call to `enableAnalytics`.')}},disableAnalytics:function(){f._each(t,(function(e,t){c.off(t,e)}))},getAdapterType:function(){return o},getGlobal:function(){return r},getHandler:function(){return i},getUrl:function(){return n}};function A(e){var t=e.eventType,n=e.args,a=this;r&&window[r]&&t&&n?this.track({eventType:t,args:n}):_.push((function(){N++,a.track({eventType:t,args:n})}))}function U(){if(D){for(var e=0;e<_.length;e++)_[e]();_.push=function(e){e()},D=!1}f.logMessage("event count sent to "+r+": "+N)}};var o,r=n(3),i=(o=r)&&o.__esModule?o:{default:o},u=n(10),s=n(6);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}var c=n(9),f=n(0),d=i.default.EVENTS.AUCTION_INIT,p=i.default.EVENTS.AUCTION_END,g=i.default.EVENTS.BID_REQUESTED,v=i.default.EVENTS.BID_TIMEOUT,y=i.default.EVENTS.BID_RESPONSE,T=i.default.EVENTS.BID_WON,E=i.default.EVENTS.BID_ADJUSTMENT,b=i.default.EVENTS.SET_TARGETING,h="library",S="endpoint",m="bundle",I=!0}},[253]);
  pbjsChunk([23],{255:function(e,r,t){t(256),e.exports=t(257)},256:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var i=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),n=t(1);var a="bidding.rtbdemand.com",o=r.spec={code:"rtbdemand",isBidRequestValid:function(e){return!!(e&&e.params&&e.params.zoneid)},buildRequests:function(e,r){return e.map((function(e){var t=e.params.server||a,n=(function(e){var r={},t=i.parseSizesInput(e)[0];if("string"!=typeof t)return r;var n=t.toUpperCase().split("X"),a=parseInt(n[0],10);a&&(r.width=a);var o=parseInt(n[1],10);o&&(r.height=o);return r})(r.bids[0].sizes),o={from:"hb",v:"1.0",request_id:e.bidderRequestId,imp_id:e.bidId,aff:e.params.zoneid,bid_floor:parseFloat(e.params.floor)>0?e.params.floor:0,charset:document.charSet||document.characterSet,site_domain:document.location.hostname,site_page:window.location.href,subid:"hb",flashver:(function(){var e,r,t;if(navigator.plugins&&navigator.plugins.length>0){e=navigator.plugins;for(var i=0;i<e.length&&!t;i++)(r=e[i]).name.indexOf("Shockwave Flash")>-1&&(t=r.description.split("Shockwave Flash ")[1])}return t||""})(),tmax:r.timeout,hb:"1",name:document.location.hostname,width:n.width,height:n.height,device_width:screen.width,device_height:screen.height,dnt:"yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack?1:0,secure:"https:"===document.location.protocol,make:navigator.vendor?navigator.vendor:""};return document.referrer&&(o.referrer=document.referrer),{method:"GET",url:"//"+t+"/hb",data:o}}))},interpretResponse:function(e){e=e.body;var r=[];return e&&e.seatbid&&e.seatbid.forEach((function(e){return e.bid.forEach((function(e){var t={requestId:e.impid,creativeId:e.impid,cpm:e.price,width:e.w,height:e.h,ad:e.adm,netRevenue:!0,currency:"USD",ttl:360};r.push(t)}))})),r},getUserSyncs:function(e){if(e.iframeEnabled)return[{type:"iframe",url:"//"+a+"/delivery/matches.php?type=iframe"}]}};(0,n.registerBidder)(o)},257:function(e,r){}},[255]);
  pbjsChunk([22],{258:function(e,r,t){t(259),e.exports=t(260)},259:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var i=(function(){return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return (function(e,r){var t=[],i=!0,n=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(t.push(a.value),!r||t.length!==r);i=!0);}catch(e){n=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(n)throw o}}return t})(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r.masSizeOrdering=f,r.resetUserSync=function(){y=!1};var o=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),a=t(1),s=t(2);var d="pbjs_lite_v1.3.1";var u={1:"468x60",2:"728x90",5:"120x90",8:"120x600",9:"160x600",10:"300x600",13:"200x200",14:"250x250",15:"300x250",16:"336x280",19:"300x100",31:"980x120",32:"250x360",33:"180x500",35:"980x150",37:"468x400",38:"930x180",43:"320x50",44:"300x50",48:"300x300",54:"300x1050",55:"970x90",57:"970x250",58:"1000x90",59:"320x80",60:"320x150",61:"1000x1000",65:"640x480",67:"320x480",68:"1800x1000",72:"320x320",73:"320x160",78:"980x240",79:"980x300",80:"980x400",83:"480x300",94:"970x310",96:"970x210",101:"480x320",102:"768x1024",103:"480x280",108:"320x240",113:"1000x300",117:"320x100",125:"800x250",126:"200x600",144:"980x600",195:"600x300",199:"640x200",213:"1030x590",214:"980x360"};o._each(u,(function(e,r){return u[e]=r}));var c=r.spec={code:"rubicon",aliases:["rubiconLite"],supportedMediaTypes:["banner","video"],isBidRequestValid:function(e){if("object"!==n(e.params))return!1;var r=e.params;return!!/^\d+$/.test(r.accountId)&&(!(v(e).length<1)&&!!("video"!==e.mediaType||"object"===n(r.video)&&r.video.size_id))},buildRequests:function(e,r){return e.map((function(e){if(e.startTime=(new Date).getTime(),"video"===e.mediaType){var t=e.params,i=v(e),a=t.referrer?t.referrer:o.getTopWindowUrl(),u={page_url:t.secure?a.replace(/^http:/i,"https:"):a,resolution:l(),account_id:t.accountId,integration:d,"x_source.tid":e.transactionId,timeout:r.timeout-(Date.now()-r.auctionStart+500),stash_creatives:!0,ae_pass_through_parameters:t.video.aeParams,slots:[]},c={site_id:t.siteId,zone_id:t.zoneId,position:t.position||"btf",floor:parseFloat(t.floor)>.01?t.floor:.01,element_id:e.adUnitCode,name:e.adUnitCode,language:t.video.language,width:i[0],height:i[1],size_id:t.video.size_id};return t.inventory&&"object"===n(t.inventory)&&(c.inventory=t.inventory),t.keywords&&Array.isArray(t.keywords)&&(c.keywords=t.keywords),t.visitor&&"object"===n(t.visitor)&&(c.visitor=t.visitor),u.slots.push(c),{method:"POST",url:"//fastlane-adv.rubiconproject.com/v1/auction/video",data:u,bidRequest:e}}var p=e.params,f=p.accountId,y=p.siteId,x=p.zoneId,m=p.position,h=p.floor,_=p.keywords,b=p.visitor,g=p.inventory,w=p.userId,j=p.referrer;h=(h=parseFloat(h))>.01?h:.01,m=m||"btf";var z=v(e),I=["account_id",f,"site_id",y,"zone_id",x,"size_id",z[0],"alt_size_ids",z.slice(1).join(",")||void 0,"p_pos",m,"rp_floor",h,"rp_secure","https:"===location.protocol?"1":"0","tk_flint",d,"x_source.tid",e.transactionId,"p_screen_res",l(),"kw",_,"tk_user_key",w];return null!==b&&"object"===(void 0===b?"undefined":n(b))&&o._each(b,(function(e,r){return I.push("tg_v."+r,e)})),null!==g&&"object"===(void 0===g?"undefined":n(g))&&o._each(g,(function(e,r){return I.push("tg_i."+r,e)})),I.push("rand",Math.random(),"rf",j||o.getTopWindowUrl()),{method:"GET",url:"//fastlane.rubiconproject.com/a/api/fastlane.json",data:I=(I=I.concat(function(){var e=(r=window.DigiTrust&&(s.config.getConfig("digiTrustId")||window.DigiTrust.getUser({member:"T9QSFKPDN9"})),r&&r.success&&r.identity||null);var r;if(!e||e.privacy&&e.privacy.optout)return[];return["dt.id",e.id,"dt.keyv",e.keyv,"dt.pref",0]}())).reduce((function(e,r,t){return t%2==0&&void 0!==I[t+1]?e+r+"="+encodeURIComponent(I[t+1])+"&":e}),"").slice(0,-1),bidRequest:e}}))},interpretResponse:function(e,r){var t=r.bidRequest,o=(e=e.body).ads;return"object"!==(void 0===e?"undefined":n(e))||"ok"!==e.status?[]:("object"===(void 0===t?"undefined":n(t))&&"video"===t.mediaType&&"object"===(void 0===o?"undefined":n(o))&&(o=o[t.adUnitCode]),!Array.isArray(o)||o.length<1?[]:(o=o.sort(p)).reduce((function(e,r){if("ok"!==r.status)return[];var n,o={requestId:t.bidId,currency:"USD",creativeId:r.creative_id,mediaType:r.creative_type,cpm:r.cpm||0,dealId:r.deal,ttl:300,netRevenue:s.config.getConfig("rubicon.netRevenue")||!1};if("video"===t.mediaType)o.width=t.params.video.playerWidth,o.height=t.params.video.playerHeight,o.vastUrl=r.creative_depot_url,o.impression_id=r.impression_id,o.videoCacheKey=r.impression_id;else{o.ad=(n=r.script,"<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='"+r.impression_id+"'>\n<script type='text/javascript'>"+n+"<\/script>\n</div>\n</body>\n</html>");var a=u[r.size_id].split("x").map((function(e){return Number(e)})),d=i(a,2);o.width=d[0],o.height=d[1]}return o.rubiconTargeting=(Array.isArray(r.targeting)?r.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:t.adUnitCode}),e.push(o),e}),[]))},getUserSyncs:function(e){if(!y&&e.iframeEnabled)return y=!0,{type:"iframe",url:"https://tap-secure.rubiconproject.com/partner/scripts/rubicon/emily.html?rtb_ext=1"}}};function p(e,r){return(r.cpm||0)-(e.cpm||0)}function l(){return[window.screen.width,window.screen.height].join("x")}function v(e){var r,t=e.params;if("video"===e.mediaType){var i=[];return t.video.playerWidth&&t.video.playerHeight?i=[t.video.playerWidth,t.video.playerHeight]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(i=e.sizes[0]),i}return f(Array.isArray(t.sizes)?t.sizes:(r=e.sizes,o.parseSizesInput(r).reduce((function(e,r){var t=parseInt(u[r],10);return t&&e.push(t),e}),[])))}function f(e){var r=[15,2,9];return e.sort((function(e,t){var i=r.indexOf(e),n=r.indexOf(t);return i>-1||n>-1?-1===i?1:-1===n?-1:i-n:e-t}))}var y=!1;(0,a.registerBidder)(c)},260:function(e,r){}},[258]);
  pbjsChunk([21],{261:function(e,r,i){i(262),e.exports=i(263)},262:function(e,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var a=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r.default=e,r}})(i(0)),t=i(4),o=i(1),d=i(2);var s="bid.rxrtb.bid",n=2,p=r.spec={code:"rxrtb",supportedMediaTypes:[t.BANNER],isBidRequestValid:function(e){return"params"in e&&void 0!==e.params.source&&void 0!==e.params.id&&a.isInteger(e.params.id)&&void 0!==e.params.token},buildRequests:function(e){for(var r,i,t,o,p,u,c,v,f,m,b,l=[],h=0;h<e.length;h++){var g=(v=e[h],void 0,void 0,b=void 0,f=v.params.host||s,m=window.location.protocol+"//"+f+"/dsp?id="+v.params.id+"&token="+v.params.token,i=void 0,t=void 0,o=void 0,p=void 0,u=void 0,c=void 0,(i=[]).push((c={id:(u=r=v).bidId,tagid:u.adUnitCode,banner:(function(e){for(var r=[],i={},t=0;t<e.sizes.length;t++)r.push({w:e.sizes[t][0],h:e.sizes[t][1]});return i.format=r,e.params.pos&&a.isInteger(e.params.pos)&&(i.pos=e.params.pos),i})(u)},u.params.bidfloor&&a.isInteger(u.params.bidfloor)&&(c.bidfloor=u.params.bidfloor),c)),b={id:r.auctionId,imp:i,site:(t=r,{id:t.params.source,domain:(o=d.config.getConfig("publisherDomain"),p=document.createElement("a"),p.href=o,p.host),page:a.getTopWindowUrl(),ref:a.getTopWindowReferrer()}),device:{ua:window.navigator.userAgent||"",ip:1},hb:1,at:r.params.at||n,cur:["USD"],badv:r.params.badv||"",bcat:r.params.bcat||""},{method:"POST",url:m,data:JSON.stringify(b)});g&&l.push(g)}return l},interpretResponse:function(e,r){var i=e.body;if(!i||!i.seatbid)return[];for(var a=[],o=0;o<i.seatbid.length;o++)for(var d=i.seatbid[o],s=0;s<d.bid.length;s++){var n=d.bid[s],p={requestId:n.impid,cpm:n.price,width:n.w,height:n.h,mediaType:t.BANNER,creativeId:n.crid,currency:i.cur||"USD",netRevenue:!0,ttl:n.exp||900,ad:n.adm};a.push(p)}return a},getUserSyncs:function(e,r){return[]}};(0,o.registerBidder)(p)},263:function(e,r){}},[261]);
  pbjsChunk([87],{264:function(e,n,r){e.exports=r(265)},265:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CLIENT=n.SERVER=void 0,n.getSourceBidderMap=function(){var e,n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=(t(e={},c,{}),t(e,u,{}),e);return f?(o.forEach((function(e){(e.bids||[]).forEach((function(e){e.calcSource=e.calcSource||d(e.bidSource),e.finalSource=e.calcSource||a[e.bidder]||u,i[e.finalSource][e.bidder]=!0}))})),Object.keys(a).forEach((function(e){i[a[e]][e]=!0})),t(n={},c,Object.keys(i[c])),t(n,u,Object.keys(i[u])),n):(t(r={},c,[]),t(r,u,[]),r)},n.getSource=d;var o=r(2),i=r(5);function t(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}var c=n.SERVER="server",u=n.CLIENT="client",f=!1,a={};function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[c,u],r={},o=0;if(n.forEach((function(n){o+=e[n]||0,r[n]=o})),o)for(var i=Math.random()*o,t=0;t<n.length;t++){var f=n[t];if(i<r[f])return f}}o.config.getConfig("s2sConfig",(function(e){f=e.s2sConfig&&e.s2sConfig.testing,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!f)return;a={};var n=e.bidderControl||{};(e.bidders||[]).forEach((function(e){a[e]=d(n[e]&&n[e].bidSource)||c}))})(e.s2sConfig)})),(0,i.setS2STestingModule)(n)}},[264]);
  pbjsChunk([20],{266:function(e,t,r){r(267),e.exports=r(268)},267:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var 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},i=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),o=r(1);var n=t.spec={code:"sekindoUM",supportedMediaTypes:["banner","video"],isBidRequestValid:function(e){return("video"!=e.mediaType&&("object"!=d(e.mediaTypes)||"object"!=d(e.mediaTypes.video))||"object"==d(e.params.video)&&void 0!==e.params.video.playerWidth&&void 0!==e.params.video.playerHeight)&&!!e.params.spaceId},buildRequests:function(e,t){var r=null;return r=parent!==window?document.referrer:window.location.href,e.map((function(e){var t=i.getBidIdParameter("subId",e.params),o=i.getBidIdParameter("spaceId",e.params),n=i.getBidIdParameter("bidfloor",e.params),p="https:"===document.location.protocol?"s":"",y="";return y=i.tryAppendQueryString(y,"s",o),y=i.tryAppendQueryString(y,"subId",t),y=i.tryAppendQueryString(y,"pubUrl",r),y=i.tryAppendQueryString(y,"hbTId",e.transactionId),y=i.tryAppendQueryString(y,"hbBidId",e.bidId),y=i.tryAppendQueryString(y,"hbver","4"),y=i.tryAppendQueryString(y,"hbcb","1"),y=i.tryAppendQueryString(y,"dcpmflr",n),y=i.tryAppendQueryString(y,"protocol",p),y=i.tryAppendQueryString(y,"x",e.params.width),y=i.tryAppendQueryString(y,"y",e.params.height),("video"===e.mediaType||"object"==d(e.mediaTypes)&&"object"==d(e.mediaTypes.video))&&(y=i.tryAppendQueryString(y,"x",e.params.playerWidth),y=i.tryAppendQueryString(y,"y",e.params.playerHeight),"undefined"!=typeof vid_vastType&&(y=i.tryAppendQueryString(y,"vid_vastType",e.params.vid_vastType)),"object"==d(e.mediaTypes)&&"object"==d(e.mediaTypes.video)&&"string"==typeof e.mediaTypes.video.context&&(y=i.tryAppendQueryString(y,"vid_context",e.mediaTypes.video.context))),{method:"GET",url:"http"+p+"://hb.sekindo.com/live/liveView.php",data:y}}))},interpretResponse:function(e,t){if("object"!==(void 0===e?"undefined":d(e)))return[];var r=[],i={requestId:e.body.id,bidderCode:n.code,cpm:e.body.cpm,width:e.body.width,height:e.body.height,creativeId:e.body.creativeId,currency:e.body.currency,netRevenue:e.body.netRevenue,ttl:e.body.ttl};return"video"==t.mediaType?void 0!==e.body.vastUrl?i.vastUrl=e.body.vastUrl:i.vastXml=e.body.vastXml:i.ad=e.body.ad,r.push(i),r}};(0,o.registerBidder)(n)},268:function(e,t){}},[266]);
  pbjsChunk([19],{269:function(e,r,t){t(270),e.exports=t(271)},270:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var i=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},n=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),a=t(1);var s={serverbid:{BASE_URI:"https://e.serverbid.com/api/v2"},connectad:{BASE_URI:"https://i.connectad.io/api/v2"},onefiftytwo:{BASE_URI:"https://e.serverbid.com/api/v2"},insticator:{BASE_URI:"https://e.serverbid.com/api/v2"},adsparc:{BASE_URI:"https://e.serverbid.com/api/v2"},automatad:{BASE_URI:"https://e.serverbid.com/api/v2"}},d=0,o="serverbid",c=r.spec={code:"serverbid",aliases:["connectad","onefiftytwo","insticator","adsparc","automatad"],isBidRequestValid:function(e){return!(!e.params.networkId||!e.params.siteId)},buildRequests:function(e){var r={method:"POST",url:"",data:"",bidRequest:[]};if(e.length<1)return r;var t=void 0;d=e[0].params.siteId,o=e[0].params.bidder;var a=i({placements:[],time:Date.now(),user:{},url:n.getTopWindowUrl(),referrer:document.referrer,enableBotFiltering:!0,includePricingData:!0,parallel:!0},e[0].params);return e.map((function(e){var r=s[e.bidder];t=r.BASE_URI;var n,d,o=i({divName:e.bidId,adTypes:e.adTypes||(n=e.sizes,d=[],n.forEach((function(e){var r=p.indexOf(e[0]+"x"+e[1]);r>=0&&d.push(r)})),d)},e.params);o.networkId&&o.siteId&&a.placements.push(o)})),r.data=JSON.stringify(a),r.bidRequest=e,r.url=t,r},interpretResponse:function(e,r){var t,i,a=void 0,s=void 0,d=[];t=r.bidRequest,e=(e||{}).body;for(var o=0;o<t.length;o++)if(a={},s=t[o].bidId,e){var c=e.decisions&&e.decisions[s],p=c&&c.pricing&&c.pricing.clearPrice;c&&p&&(a.requestId=s,a.cpm=p,a.width=c.width,a.height=c.height,a.ad=(i=c).contents&&i.contents[0]&&i.contents[0].body+n.createTrackPixelHtml(i.impressionUrl),a.currency="USD",a.creativeId=c.adId,a.ttl=360,a.netRevenue=!0,a.referrer=n.getTopWindowUrl(),d.push(a))}return d},getUserSyncs:function(e){if(e.iframeEnabled)return"connectad"===o?[{type:"iframe",url:"//cdn.connectad.io/connectmyusers.php"}]:[{type:"iframe",url:"//s.zkcdn.net/ss/"+d+".html"}];n.logWarn(o+": Please enable iframe based user syncing.")}},p=[null,"120x90","120x90","468x60","728x90","300x250","160x600","120x600","300x100","180x150","336x280","240x400","234x60","88x31","120x60","120x240","125x125","220x250","250x250","250x90","0x0","200x90","300x50","320x50","320x480","185x185","620x45","300x125","800x250"];p[77]="970x90",p[123]="970x250",p[43]="300x600",p[286]="970x66",p[3230]="970x280",p[429]="486x60",p[374]="700x500",p[934]="300x1050",p[1578]="320x100",p[331]="320x250",p[3301]="320x267",p[2730]="728x250",(0,a.registerBidder)(c)},271:function(e,r){}},[269]);
  pbjsChunk([86],{272:function(e,r,i){e.exports=i(273)},273:function(e,r,i){"use strict";var t=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(e[t]=i[t])}return e},n=u(i(24)),d=u(i(15)),o=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r.default=e,r}})(i(0)),a=u(i(5)),s=i(3),c=i(2);function u(e){return e&&e.__esModule?e:{default:e}}var l,f=s.S2S.SRC,v=c.config.getConfig,x=["siteId","networkId","bidders"],p=void 0,h="serverbidServer";(l=function(){var e=new n.default("serverbidServer"),r="https://e.serverbid.com/api/v2",i=[null,"120x90","120x90","468x60","728x90","300x250","160x600","120x600","300x100","180x150","336x280","240x400","234x60","88x31","120x60","120x240","125x125","220x250","250x250","250x90","0x0","200x90","300x50","320x50","320x480","185x185","620x45","300x125","800x250"];function a(e){var r=[];return e.forEach((function(e){var t=i.indexOf(e.w+"x"+e.h);t>=0&&r.push(t)})),r}return i[77]="970x90",i[123]="970x250",i[43]="300x600",v("s2sConfig",(function(e){return (function(e){if(e.adapter==h){var r=Object.keys(e);x.forEach((function(e){if(i=e,r.indexOf(i)>-1)var i;else o.logError(e+" missing in server to server config")})),p=e}})(e.s2sConfig)})),e.callBids=function(e,i,n,c,u){var l;(l=e)&&l.ad_units&&o.isArray(l.ad_units)&&l.ad_units.length&&(function(e,i,n,c,u){for(var l=e,f={placements:[],time:Date.now(),user:{},url:o.getTopWindowUrl(),referrer:document.referrer,enableBotFiltering:!0,includePricingData:!0,parallel:!0},v=[],x=0;x<l.ad_units.length;x++)for(var h=l.ad_units[x],g=p.siteId,b=(p||{}).networkId,w=h.sizes,y=h.bids||[],S=0;S<y.length;S++){var O=y[S];O.code=h.code,v.push(O);var m=t({},{divName:O.bid_id,networkId:b,siteId:g,adTypes:O.adTypes||a(w),bidders:(_=O,void 0,C=void 0,B=_||{},C={},C[B.bidder]=B.params,C),skipSelection:!0});m.networkId&&m.siteId&&f.placements.push(m)}var _,B,C;f.placements.length&&u(r,(I=n,T=v,k=c,function(e){var r,i=void 0,n=void 0,a=void 0,c=void 0,u=void 0,l=void 0,f=function(e){return(e||[]).length?e[0]:{}};try{a=JSON.parse(e)}catch(e){o.logError(e)}for(var v=0;v<T.length;v++){c=T[v],n=c.bid_id,c.bidId=c.bid_id,u=c.bidder,l=c.code;var x=function(e){return(i=d.default.createBid(s.STATUS.NO_BID,e)).bidderCode=u,i};if(a){var p=a.decisions&&f(a.decisions[n]),h=p&&p.pricing&&p.pricing.clearPrice;p&&h?(i=d.default.createBid(s.STATUS.GOOD,c),i=t(i,{bidderCode:u,cpm:h,width:p.width,height:p.height,ad:(r=p,r.contents&&r.contents[0]&&r.contents[0].body+o.createTrackPixelHtml(r.impressionUrl))})):i=x(c)}else i=x(c);I(l,i)}k()}),JSON.stringify(f),{method:"POST",withCredentials:!0,contentType:"application/json"});var I,T,k})(e,0,n,c,u)},t(this,{queueSync:e.queueSync,callBids:e.callBids,setBidderCode:e.setBidderCode,type:f})}).createNew=function(){return new l},a.default.registerBidAdapter(new l,h),e.exports=l}},[272]);
  pbjsChunk([18],{274:function(e,n,t){e.exports=t(275)},275:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},a=i(t(7)),o=i(t(5));function i(e){return e&&e.__esModule?e:{default:e}}var u=t(0),s=r((0,a.default)({emptyUrl:"",analyticsType:"endpoint"}),{STR_BEACON_HOST:document.location.protocol+"//b.sharethrough.com/butler?",placementCodeSet:{},track:function(e){var n=e.eventType,t=e.args;if("bidRequested"===n&&"sharethrough"===t.bidderCode)for(var r=t.bids,a=Object.keys(r),o=0;o<a.length;o++)this.placementCodeSet[r[a[o]].placementCode]=t.bids[a[o]];"bidWon"===n&&this.bidWon(t)},bidWon:function(e){var n=e.bidderCode;if("sharethrough"!==n&&e.adUnitCode in this.placementCodeSet){var t=this.placementCodeSet[e.adUnitCode];this.fireLoseBeacon(n,e.cpm,t.adserverRequestId,"headerBidLose")}},fireLoseBeacon:function(e,n,t,r){var a=this.STR_BEACON_HOST;a=u.tryAppendQueryString(a,"winnerBidderCode",e),a=u.tryAppendQueryString(a,"winnerCpm",n),a=u.tryAppendQueryString(a,"arid",t),a=u.tryAppendQueryString(a,"type",r),a=this.appendEnvFields(a),this.fireBeacon(a)},appendEnvFields:function(e){return e=u.tryAppendQueryString(e,"hbVersion","1.3.1"),e=u.tryAppendQueryString(e,"strVersion","0.1.0"),e=u.tryAppendQueryString(e,"hbSource","prebid")},fireBeacon:function(e){(new Image).src=e}});o.default.registerAnalyticsAdapter({adapter:s,code:"sharethrough"}),n.default=s},7:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n.default=function(e){var n,t=e.url,a=e.analyticsType,o=e.global,i=e.handler,_=[],N=0,O=!0;a===S&&(0,u.loadScript)(t,B);(a===E||A)&&B();return{track:function(e){var n=e.eventType,r=e.args;(this.getAdapterType()===S||A)&&window[o](i,n,r);this.getAdapterType()===E&&function(e){var n=e.eventType,r=e.args,a=e.callback;(0,s.ajax)(t,a,JSON.stringify({eventType:n,args:r}))}.apply(void 0,arguments)},enqueue:C,enableAnalytics:function(e){var t=this,a=this;m="object"!==(void 0===e?"undefined":r(e))||"object"!==r(e.options)||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling));if(m){var i;d.getEvents().forEach((function(e){if(e){var n=e.eventType,t=e.args;n!==g&&C.call(a,{eventType:n,args:t})}})),c(i={},y,(function(e){return t.enqueue({eventType:y,args:e})})),c(i,v,(function(e){return t.enqueue({eventType:v,args:e})})),c(i,g,(function(e){return t.enqueue({eventType:g,args:e})})),c(i,T,(function(e){return t.enqueue({eventType:T,args:e})})),c(i,b,(function(e){return t.enqueue({eventType:b,args:e})})),c(i,h,(function(e){return t.enqueue({eventType:h,args:e})})),c(i,f,(function(e){return t.enqueue({eventType:f,args:e})})),c(i,p,(function(n){n.config=e.options,t.enqueue({eventType:p,args:n})})),n=i,l._each(n,(function(e,n){d.on(n,e)}))}else l.logMessage('Analytics adapter for "'+o+'" disabled by sampling');this.enableAnalytics=function(){return l.logMessage('Analytics adapter for "'+o+'" already enabled, unnecessary call to `enableAnalytics`.')}},disableAnalytics:function(){l._each(n,(function(e,n){d.off(n,e)}))},getAdapterType:function(){return a},getGlobal:function(){return o},getHandler:function(){return i},getUrl:function(){return t}};function C(e){var n=e.eventType,t=e.args,r=this;o&&window[o]&&n&&t?this.track({eventType:n,args:t}):_.push((function(){N++,r.track({eventType:n,args:t})}))}function B(){if(O){for(var e=0;e<_.length;e++)_[e]();_.push=function(e){e()},O=!1}l.logMessage("event count sent to "+o+": "+N)}};var a,o=t(3),i=(a=o)&&a.__esModule?a:{default:a},u=t(10),s=t(6);function c(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var d=t(9),l=t(0),p=i.default.EVENTS.AUCTION_INIT,f=i.default.EVENTS.AUCTION_END,y=i.default.EVENTS.BID_REQUESTED,g=i.default.EVENTS.BID_TIMEOUT,v=i.default.EVENTS.BID_RESPONSE,T=i.default.EVENTS.BID_WON,b=i.default.EVENTS.BID_ADJUSTMENT,h=i.default.EVENTS.SET_TARGETING,S="library",E="endpoint",A="bundle",m=!0}},[274]);
  pbjsChunk([17],{276:function(e,t,r){r(277),e.exports=r(278)},277:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sharethroughAdapterSpec=void 0;var n=r(1),s="sharethrough",a=document.location.protocol+"//btlr.sharethrough.com/header-bid/v1",i=t.sharethroughAdapterSpec={code:s,isBidRequestValid:function(e){return!!e.params.pkey&&e.bidder===s},buildRequests:function(e){return e.map((function(e){return{method:"GET",url:a,data:{bidId:e.bidId,placement_key:e.params.pkey,hbVersion:"1.3.1",strVersion:"2.0.0",hbSource:"prebid"}}}))},interpretResponse:function(e,t){var r=e.body;if(!Object.keys(r).length)return[];var n,s,a,i=r.creatives[0];return[{requestId:t.data.bidId,width:0,height:0,cpm:i.cpm,creativeId:i.creative.creative_key,deal_id:i.creative.deal_id,currency:"USD",netRevenue:!0,ttl:360,ad:(n=r,s=t,a="str_response_"+s.data.bidId,'\n    <div data-str-native-key="'+s.data.placement_key+'" data-stx-response-name="'+a+'">\n    </div>\n    <script>var '+a+' = "'+btoa(JSON.stringify(n))+"\"<\/script>\n    <script src=\"//native.sharethrough.com/assets/sfp-set-targeting.js\"><\/script>\n    <script>\n    (function() {\n      if (!(window.STR && window.STR.Tag) && !(window.top.STR && window.top.STR.Tag)) {\n        const sfp_js = document.createElement('script');\n        sfp_js.src = \"//native.sharethrough.com/assets/sfp.js\";\n        sfp_js.type = 'text/javascript';\n        sfp_js.charset = 'utf-8';\n        try {\n            window.top.document.getElementsByTagName('body')[0].appendChild(sfp_js);\n        } catch (e) {\n          console.log(e);\n        }\n      }\n    })()\n    <\/script>")}]}};(0,n.registerBidder)(i)},278:function(e,t){}},[276]);
  pbjsChunk([16],{279:function(r,e,a){a(280),r.exports=a(281)},280:function(r,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.spec=void 0;var t=(function(r){{if(r&&r.__esModule)return r;var e={};if(null!=r)for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e.default=r,e}})(a(0)),i=a(2),d=a(1);var n=e.spec={code:"smartadserver",aliases:["smart"],isBidRequestValid:function(r){return!!(r.params&&r.params.siteId&&r.params.pageId&&r.params.formatId&&r.params.domain)},buildRequests:function(r){var e=r[0],a={siteid:e.params.siteId,pageid:e.params.pageId,formatid:e.params.formatId,currencyCode:i.config.getConfig("currency.adServerCurrency"),bidfloor:e.params.bidfloor||0,targeting:e.params.target&&""!=e.params.target?e.params.target:void 0,tagId:e.adUnitCode,sizes:e.sizes.map((function(r){return{w:r[0],h:r[1]}})),pageDomain:t.getTopWindowUrl(),transactionId:e.transactionId,timeout:i.config.getConfig("bidderTimeout"),bidId:e.bidId},d=JSON.stringify(a);return{method:"POST",url:e.params.domain+"/prebid/v1",data:d}},interpretResponse:function(r,e){var a=[],i=r.body;try{if(i){var d={requestId:JSON.parse(e.data).bidId,cpm:i.cpm,width:i.width,height:i.height,creativeId:i.creativeId,dealId:i.dealId,currency:i.currency,netRevenue:i.isNetCpm,ttl:i.ttl,referrer:t.getTopWindowUrl(),adUrl:i.adUrl,ad:i.ad};a.push(d)}}catch(r){console.log("Error while parsing smart server response")}return a}};(0,d.registerBidder)(n)},281:function(r,e){}},[279]);
  pbjsChunk([15],{282:function(e,n,r){r(283),e.exports=r(284)},283:function(e,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.spec=void 0;var a=r(0),t=r(1),i=n.spec={code:"somoaudience",aliases:["somo"],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.placementId)},buildRequests:function(e){return e.map((function(e){return{method:"POST",url:"//publisher-east.mobileadtrading.com/rtb/bid?s="+e.params.placementId.toString(),data:(n=e,{id:n.bidderRequestId,imp:[(r=n,{id:r.bidId,banner:{}})],at:1,tmax:400,site:(function(e){if(d(e))return null;var n=(0,a.getTopWindowLocation)().href,r=(0,a.getTopWindowLocation)().hostname;return{ref:(0,a.getTopWindowReferrer)(),page:n,domain:r}})(n),app:(function(e){if(d(e)){var n=e.params.app;return{bundle:n.bundle?n.bundle:null,storeurl:n.storeUrl?n.storeUrl:null,domain:n.domain?n.domain:null,name:n.name?n.name:null}}return null})(n),device:{ua:navigator.userAgent,language:navigator.language||navigator.browserLanguage||navigator.userLanguage||navigator.systemLanguage}}),bidRequest:e};var n,r}))},interpretResponse:function(e,n){return (function(e,n){var r=[],a=1;void 0!==e&&void 0!==e.bidRequest&&void 0!==e.bidRequest.bidId&&(a=e.bidRequest.bidId);if(n.body){var t=n.body.seatbid[0].bid[0],i={requestId:a,cpm:t.price,width:t.w,height:t.h,ad:t.adm,ttl:360,creativeId:t.crid,adId:a,netRevenue:!1,currency:"USD"};r.push(i)}return r})(n,e)}};function d(e){return!!e.params.app}(0,t.registerBidder)(i)},284:function(e,n){}},[282]);
  pbjsChunk([14],{285:function(e,r,t){t(286),e.exports=t(287)},286:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var i=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},s=t(1),n=t(0),a=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0));function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var u=a.generateUUID(),p=r.spec={code:"sonobi",isBidRequestValid:function(e){return!(!e.params||!e.params.ad_unit&&!e.params.placement_id||!e.params.sizes&&!e.sizes)},buildRequests:function(e){var r=e.map((function(e){var r=(function(e){if(e.params.ad_unit)return e.params.ad_unit;return e.params.placement_id})(e);return/^[\/]?[\d]+[[\/].+[\/]?]?$/.test(r)?o({},(r="/"===r.charAt(0)?r:"/"+r)+"|"+e.bidId,""+c(e)+d(e)):/^[0-9a-fA-F]{20}$/.test(r)&&20===r.length?o({},e.bidId,r+"|"+c(e)+d(e)):void a.logError("The ad unit code or Sonobi Placement id for slot "+e.bidId+" is invalid")})),t={};r.forEach((function(e){i(t,e)}));var s={key_maker:JSON.stringify(t),ref:(0,n.getTopWindowLocation)().host,s:a.generateUUID(),pv:u};return e[0].params.hfa&&(s.hfa=e[0].params.hfa),{method:"GET",url:"https://apex.go.sonobi.com/trinity.json",withCredentials:!0,data:s}},interpretResponse:function(e){var r=e.body,t=[];return 0===Object.keys(r.slots).length?t:(Object.keys(r.slots).forEach((function(e){var i,s,n=r.slots[e];if(n.sbi_aid&&n.sbi_mouse&&n.sbi_size){var a={requestId:e.split("|").slice(-1)[0],cpm:Number(n.sbi_mouse),width:Number(n.sbi_size.split("x")[0])||1,height:Number(n.sbi_size.split("x")[1])||1,ad:(i=r.sbi_dc,s=n.sbi_aid,'<script type="text/javascript" src="https://'+i+"apex.go.sonobi.com/sbi.js?aid="+s+'&as=null"><\/script>'),ttl:500,creativeId:n.sbi_aid,netRevenue:!0,currency:"USD"};n.sbi_dozer&&(a.dealId=n.sbi_dozer),t.push(a)}})),t)},getUserSyncs:function(e,r){var t=[];return e.pixelEnabled&&r[0].body.sbi_px&&r[0].body.sbi_px.forEach((function(e){t.push({type:e.type,url:e.url})})),t}};function c(e){return e.params.sizes?(0,n.parseSizesInput)(e.params.sizes).join(","):(0,n.parseSizesInput)(e.sizes).join(",")}function d(e){return e.params.floor?"|f="+e.params.floor:""}(0,s.registerBidder)(p)},287:function(e,r){}},[285]);
  pbjsChunk([13],{288:function(e,t,i){i(289),e.exports=i(290)},289:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var a=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}})(i(0)),r=i(1),n=i(4),d=i(3);var o=t.spec={code:"sovrn",supportedMediaTypes:[n.BANNER],isBidRequestValid:function(e){return!(!e.params.tagid||isNaN(parseFloat(e.params.tagid))||!isFinite(e.params.tagid))},buildRequests:function(e){var t=[];a._each(e,(function(e){t.push({id:e.bidId,banner:{w:1,h:1},tagid:a.getBidIdParameter("tagid",e.params),bidfloor:a.getBidIdParameter("bidfloor",e.params)})}));var i={id:a.getUniqueIdentifierStr(),imp:t,site:{domain:window.location.host,page:window.location.pathname+location.search+location.hash}};return{method:"POST",url:"//ap.lijit.com/rtb/bid?src="+d.REPO_AND_VERSION,data:JSON.stringify(i),options:{contentType:"text/plain"}}},interpretResponse:function(e){var t=e.body,i=t.id,a=t.seatbid,r=[];return i&&a&&a.length>0&&a[0].bid&&a[0].bid.length>0&&a[0].bid.map((function(e){r.push({requestId:e.impid,cpm:parseFloat(e.price),width:parseInt(e.w),height:parseInt(e.h),creativeId:e.id,dealId:e.dealId||null,currency:"USD",netRevenue:!0,mediaType:n.BANNER,ad:decodeURIComponent(e.adm+'<img src="'+e.nurl+'">'),ttl:6e4})})),r}};(0,r.registerBidder)(o)},290:function(e,t){}},[288]);
  pbjsChunk([12],{291:function(e,t,r){r(292),e.exports=r(293)},292:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0,t.getStorageData=u,t.setStorageData=p,t.acceptPostMessage=c;var n=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),i=r(1);var a="https://in-appadvertising.com/api/userSync.html",d="_trion_",s=t.spec={code:"trion",isBidRequestValid:function(e){return!!(e&&e.params&&e.params.pubId&&e.params.sectionId)},buildRequests:function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r],i=o(n);t.push({method:"GET",url:"https://in-appadvertising.com/api/bidRequest",bidRequest:n,data:i})}return t},interpretResponse:function(e,t){var r={},n=[],i=t.bidRequest,a=e?e.body:{};if(a&&a.bidId&&i){var d=a.result;if(d&&d.cpm&&d.placeBid&&d.ad){var s=parseInt(d.cpm,10)/100;r.requestId=i.bidId,r.cpm=s,r.ad=d.ad,r.width=d.width,r.height=d.height,r.ttl=d.ttl,r.creativeId=d.creativeId,r.currency=d.currency,r.netRevenue=d.netRevenue,n.push(r)}}return n},getUserSyncs:function(e){if(e.iframeEnabled)return (function(){try{window.addEventListener&&window.addEventListener("message",c)}catch(e){}})(),[{type:"iframe",url:(t=(u(d+"lps")||":").split(":")||[],r=t[0]||-1,i=t[1]||-1,s=n.getTopWindowUrl(),a+"?p="+r+"&s="+i+"&u="+s)}];var t,r,i,s}};function o(e){var t=n.getBidIdParameter("pubId",e.params),r=n.getBidIdParameter("sectionId",e.params),i=n.getBidIdParameter("re",e.params),a=n.getTopWindowUrl(),s=n.parseSizesInput(e.sizes).join(","),o=window.TR_INT_T&&-1!=window.TR_INT_T?window.TR_INT_T:null;o||(o=u(d+"int_t")),o&&p(d+"int_t",o),p(d+"lps",t+":"+r);var c="";return c=n.tryAppendQueryString(c,"bidId",e.bidId),c=n.tryAppendQueryString(c,"pubId",t),c=n.tryAppendQueryString(c,"sectionId",r),c=n.tryAppendQueryString(c,"re",i),a&&(c+="url="+a+"&"),s&&(c+="sizes="+s+"&"),o&&(c=n.tryAppendQueryString(c,"int_t",encodeURIComponent(o))),c.lastIndexOf("&")===c.length-1&&(c=c.substring(0,c.length-1)),c}function u(e){var t=null;try{window.localStorage&&(t=window.localStorage.getItem(e))}catch(e){}return t}function p(e,t){try{window.localStorage&&window.localStorage.setItem(e,t)}catch(e){}}function c(e){var t=e.data||"";if(0===t.indexOf(d+"userId")){var r=t.split(d+"userId=")[1];r&&p(d+"int_t",r)}}(0,i.registerBidder)(s)},293:function(e,t){}},[291]);
  pbjsChunk([11],{294:function(e,r,i){i(295),e.exports=i(296)},295:function(e,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var t=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r.default=e,r}})(i(0)),a=i(1);var d=360,s={noAuid:"Bid from response has no auid parameter - ",noAdm:"Bid from response has no adm parameter - ",noBid:"Array of bid objects is empty",noPlacementCode:"Can't find in requested bids the bid with auid - ",emptyUids:"Uids should be not empty",emptySeatbid:"Seatbid array from response has empty item",emptyResponse:"Response is empty",hasEmptySeatbidArray:"Response has empty seatbid array",hasNoArrayOfBids:"Seatbid from response has no array of bid objects - "},o=r.spec={code:"trustx",isBidRequestValid:function(e){return!!e.params.uid},buildRequests:function(e){var r=[],i={},a="net",d=void 0;return(e||[]).forEach((function(e){"gross"===e.params.priceType&&(a="gross"),d=e.bidderRequestId,i[e.params.uid]?i[e.params.uid].push(e):(i[e.params.uid]=[e],r.push(e.params.uid))})),{method:"GET",url:"//sofia.trustx.org/hb",data:{u:t.getTopWindowUrl(),pt:a,auids:r.join(","),r:d},bidsMap:i}},interpretResponse:function(e,r){e=e&&e.body;var i=[],a=r.bidsMap,n=r.data.pt,u=void 0;return e?e.seatbid&&!e.seatbid.length&&(u=s.hasEmptySeatbidArray):u=s.emptyResponse,!u&&e.seatbid&&e.seatbid.forEach((function(e){!(function(e,r,i,a){if(!e)return;var n=void 0;e.auid||(n=s.noAuid+JSON.stringify(e));if(e.adm){var u=r[e.auid];u?u.forEach((function(r){var t={requestId:r.bidId,bidderCode:o.code,cpm:e.price,width:e.w,height:e.h,creativeId:e.auid,currency:"USD",netRevenue:"gross"!==i,ttl:d,ad:e.adm,dealId:e.dealid};a.push(t)})):n=s.noPlacementCode+e.auid}else n=s.noAdm+JSON.stringify(e);n&&t.logError(n)})(function(e){e?e.bid?e.bid[0]||t.logError(s.noBid):t.logError(s.hasNoArrayOfBids+JSON.stringify(e)):t.logError(s.emptySeatbid);return e&&e.bid&&e.bid[0]}(e),a,n,i)})),u&&t.logError(u),i},getUserSyncs:function(e){if(e.pixelEnabled)return[{type:"image",url:"//sofia.trustx.org/push_sync"}]}};(0,a.registerBidder)(o)},296:function(e,r){}},[294]);
  pbjsChunk([10],{297:function(e,t,r){r(298),e.exports=r(299)},298:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var a=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),n=r(1),d=r(4);var o="ADGENT_PREBID-2018011501",i=t.spec={code:"ucfunnel",supportedMediaTypes:[d.BANNER],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.adid&&"string"==typeof e.params.adid)},buildRequests:function(e){for(var t=[],r=0;r<e.length;r++){var a=e[r],n=u(a);t.push({method:"GET",url:"//hb.aralego.com/header",bidRequest:a,data:n})}return t},interpretResponse:function(e,t){var r=[],a=t.bidRequest,n=e?e.body:{};return r.push({requestId:a.bidId,cpm:n.cpm||0,width:n.width,height:n.height,creativeId:n.ad_id,dealId:n.deal||null,currency:"USD",netRevenue:!0,ttl:1e3,mediaType:d.BANNER,ad:n.adm}),r}};function u(e){var t=a.getTopWindowLocation().host,r=a.getTopWindowLocation().pathname,n=document.referrer,d=["ifr","0","bl",navigator.language,"je","1","dnt","yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack?1:0,"host",t,"u",r,"ru",n,"adid",a.getBidIdParameter("adid",e.params),"ver",o];return d.reduce((function(e,t,r){return r%2==0&&void 0!==d[r+1]?e+t+"="+encodeURIComponent(d[r+1])+"&":e}),"").slice(0,-1)}(0,n.registerBidder)(i)},299:function(e,t){}},[297]);
  pbjsChunk([9],{300:function(e,t,i){i(301),e.exports=i(302)},301:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var n=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}})(i(0)),r=i(2),o=i(1);var s="1.0",d=t.spec={code:"underdogmedia",bidParams:[],isBidRequestValid:function(e){return!!(e.params&&e.params.siteId&&e.sizes&&e.sizes.length>0)},buildRequests:function(e){var t=[],i=0;return e.forEach((function(e){t=n.flatten(t,n.parseSizesInput(e.sizes)),i=e.params.siteId})),{method:"GET",url:window.location.protocol+"//udmserve.net/udm/img.fetch",data:"tid=1;dt=10;sid="+i+";sizes="+t.join(","),bidParams:e}},interpretResponse:function(e,t){var i=[];return t.bidParams.forEach((function(t){e.body.mids.forEach((function(e){if(!(e.useCount>0)){e.useCount||(e.useCount=0);var o=!0;if(n.parseSizesInput(t.sizes).forEach((function(t){t===e.width+"x"+e.height&&(o=!1)})),!o){var a={requestId:t.bidId,bidderCode:d.code,cpm:parseFloat(e.cpm),width:e.width,height:e.height,ad:e.ad_code_html,creativeId:e.mid,currency:"USD",netRevenue:!1,ttl:r.config.getConfig("_bidderTimeout")};a.cpm<=0||a.ad.length<=0||(e.useCount++,a.ad+=(function(e,t,i){var n=t.notification_url;n+=s,n+=";cb="+Math.random(),n+=";qqq="+1/e.cpm,n+=";hbt="+r.config.getConfig("_bidderTimeout"),n+=";style=adapter",n+=";vis="+encodeURIComponent(document.visibilityState),n+=";traffic_info="+encodeURIComponent(JSON.stringify(function(){for(var e,t={},i=window.location.href.slice(window.location.href.indexOf("?")+1).split("&"),n=0;n<i.length;n++)(e=i[n].split("="))[0].match(/^utm_/)&&(t[e[0]]=e[1].substr(0,150));return t}())),i.params.subId&&(n+=";subid="+encodeURIComponent(i.params.subId));return'<script async src="'+n+'"><\/script>'})(a,e,t),i.push(a))}}}))})),i}};(0,o.registerBidder)(d)},302:function(e,t){}},[300]);
  pbjsChunk([8],{303:function(e,r,t){t(304),e.exports=t(305)},304:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var a=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),i=t(1);var n=r.spec={code:"undertone",isBidRequestValid:function(e){if(e&&e.params&&e.params.publisherId&&e.params.placementId)return e.params.publisherId=parseInt(e.params.publisherId),!0},buildRequests:function(e){var r={"x-ut-hb-params":[]},t=a.getTopWindowLocation().host,i=/[-\w]+\.(?:[-\w]+\.xn--[-\w]+|[-\w]{3,}|[-\w]+\.[-\w]{2})$/i.exec(t),n="//hb.undertone.com/hb?pid="+e[0].params.publisherId+"&domain="+i;return e.map((function(e){var t={bidRequestId:e.bidId,hbadaptor:"prebid",domain:i,placementId:e.params.placementId,publisherId:e.params.publisherId,sizes:e.sizes,params:e.params};r["x-ut-hb-params"].push(t)})),{method:"POST",url:n,withCredentials:!0,data:JSON.stringify(r)}},interpretResponse:function(e,r){var t=[],a=e.body;return a&&Array.isArray(a)&&a.length>0&&a.forEach((function(e){if(e.ad&&e.cpm>0){var r={requestId:e.bidRequestId,cpm:e.cpm,width:e.width,height:e.height,creativeId:e.adId,currency:e.currency,netRevenue:e.netRevenue,ttl:e.ttl,ad:e.ad};t.push(r)}})),t}};(0,i.registerBidder)(n)},305:function(e,r){}},[303]);
  pbjsChunk([7],{306:function(e,t,r){r(307),e.exports=r(308)},307:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var i,d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},a=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),s=r(1),n=r(4),o=r(20),u=r(25),c=(i=u)&&i.__esModule?i:{default:i};var p="outstream",l="display",m=t.spec={code:"vertamedia",supportedMediaTypes:[n.VIDEO,n.BANNER],isBidRequestValid:function(e){return e&&e.params&&e.params.aid},buildRequests:function(e,t){return e.map((function(e){return{data:(r=e,i=a.deepAccess(r,"mediaTypes.video")?n.VIDEO:l,{domain:a.getTopWindowLocation().hostname,callbackId:r.bidId,aid:r.params.aid,ad_type:i,sizes:a.parseSizesInput(r.sizes).join()}),bidderRequest:t,method:"GET",url:"//hb2.vertamedia.com/auction/"};var r,i}))},interpretResponse:function(e,t){var r=t.bidderRequest,i=!(e=e.body)||!e.bids||!e.bids.length,s=[];if(i){var u=e&&e.ext&&e.ext.message?": "+e.ext.message:"",m="in response for "+r.bidderCode+" adapter "+u;return a.logError(m),s}return e.bids.forEach((function(e){var t,i,u,m=(0,c.default)(r.bids,(function(t){return t.bidId===e.requestId}));if(0!==e.cpm&&-1!==m){var f=(function(e,t){var r={requestId:e.requestId,creativeId:e.cmpId,height:e.height,currency:e.cur,width:e.width,cpm:e.cpm,netRevenue:!0,mediaType:t,ttl:3600};if(t===l)return d(r,{ad:e.ad});d(r,{vastUrl:e.vastUrl}),t===p&&d(r,{mediaType:"video",adResponse:e,renderer:(i=e.requestId,a=o.Renderer.install({id:i,url:"//player.vertamedia.com/outstream-unit/2.01/outstream.min.js",loaded:!1}),a.setRender(v),a)});var i,a;return r})(e,(t=r.bids[m],i=a.deepAccess(t,"mediaTypes.video"),u=a.deepAccess(t,"mediaTypes.video.context"),i?u===p?p:n.VIDEO:l));s.push(f)}})),s}};function v(e){e.renderer.push((function(){window.VOutstreamAPI.initOutstreams([{width:e.width,height:e.height,vastUrl:e.vastUrl,elId:e.adUnitCode}])}))}(0,s.registerBidder)(m)},308:function(e,t){}},[306]);
  pbjsChunk([6],{309:function(e,r,t){t(310),e.exports=t(311)},310:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var a=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}})(t(0)),i=t(1),d=t(4);var n=[d.BANNER];var o=r.spec={code:"vi",supportedMediaTypes:n,isBidRequestValid:function(e){return!!e.params.pubId},buildRequests:function(e){var r=[];a._each(e,(function(e){r.push({id:e.bidId,sizes:a.parseSizesInput(e.sizes).map((function(e){return e.split("x")})),bidFloor:parseFloat(e.params.bidFloor)>0?e.params.bidFloor:0})}));var t={id:e[0].requestId,imps:r,publisherId:a.getBidIdParameter("pubId",e[0].params),siteId:a.getBidIdParameter("siteId",e[0].params),cat:a.getBidIdParameter("cat",e[0].params),language:a.getBidIdParameter("lang",e[0].params),domain:a.getTopWindowLocation().hostname,page:a.getTopWindowUrl(),referrer:a.getTopWindowReferrer()};return{method:"POST",url:"//pb.vi-serve.com/prebid/bid",data:JSON.stringify(t),options:{contentType:"application/json",withCredentials:!1}}},interpretResponse:function(e){var r=[];return a._each(e.body,(function(e){r.push({requestId:e.id,cpm:parseFloat(e.price),width:parseInt(e.width,10),height:parseInt(e.height,10),creativeId:e.creativeId,dealId:e.dealId||null,currency:"USD",netRevenue:!0,mediaType:d.BANNER,ad:decodeURIComponent(""+e.ad),ttl:6e4})})),r}};(0,i.registerBidder)(o)},311:function(e,r){}},[309]);
  pbjsChunk([5],{312:function(r,e,t){t(313),r.exports=t(314)},313:function(r,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.spec=e.URL=void 0;var i=(function(){return function(r,e){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return (function(r,e){var t=[],i=!0,n=!1,a=void 0;try{for(var o,u=r[Symbol.iterator]();!(i=(o=u.next()).done)&&(t.push(o.value),!e||t.length!==e);i=!0);}catch(r){n=!0,a=r}finally{try{!i&&u.return&&u.return()}finally{if(n)throw a}}return t})(r,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),n=(function(r){{if(r&&r.__esModule)return r;var e={};if(null!=r)for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t]);return e.default=r,e}})(t(0)),a=t(1),o=t(4);var u=e.URL="//prebid.cliipa.com",c="USD",d=300,s={IFRAME:"iframe",IMAGE:"img"},f={IFRAME:"iframe",IMAGE:"image"};var p=e.spec={code:"vidazoo",supportedMediaTypes:[o.BANNER],isBidRequestValid:function(r){var e=r.params||{};return!(!e.cId||!e.pId)},buildRequests:function(r){var e=n.getTopWindowUrl(),t=[];return r.forEach((function(r){n.parseSizesInput(r.sizes).forEach((function(n){var a,o,c,d,s,f,p,l,h,v,b,y,I=(o=e,c=n,d=(a=r).params,s=a.bidId,f=d.bidFloor,p=d.cId,l=d.pId,h=c.split("x"),v=i(h,2),b=v[0],y=v[1],{method:"GET",url:u+"/prebid/"+p,data:{url:o,cb:Date.now(),bidFloor:f,bidId:s,publisherId:l,width:b,height:y}});t.push(I)}))})),t},interpretResponse:function(r,e){if(!r||!r.body)return[];var t=r.body,i=t.creativeId,n=t.ad,a=t.price,o=t.exp;if(!n||!a)return[];var u=e.data,s=u.bidId,f=u.width,p=u.height;try{return[{requestId:s,cpm:a,width:f,height:p,creativeId:i,currency:c,netRevenue:!0,ttl:o||d,ad:n}]}catch(r){return[]}},getUserSyncs:function(r,e){var t=r.iframeEnabled,i=r.pixelEnabled;if(t)return[{type:"iframe",url:"//static.cliipa.com/basev/sync/user_sync.html"}];if(i){var n={},a=[];return e.forEach((function(r){var e=r.body;(e&&e.cookies||[]).forEach((function(r){switch(r.type){case s.IFRAME:break;case s.IMAGE:i&&!n[r.src]&&a.push({type:f.IMAGE,url:r.src})}}))})),a}return[]}};(0,a.registerBidder)(p)},314:function(r,e){}},[312]);
  pbjsChunk([4],{315:function(e,n,t){t(316),e.exports=t(317)},316:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.spec=void 0;var i=(function(e){{if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}})(t(0)),r=t(1),d=t(4);var u=function(e){return[e.bidId,e.params,e.adUnitCode,e.sizes.map((function(e){return e[0]+"x"+e[1]}))]},a=n.spec={code:"xendiz",supportedMediaTypes:[d.BANNER],isBidRequestValid:function(e){return!!e.params.pid},buildRequests:function(e){var n={id:e[0].auctionId,items:e.map(u),device:[navigator.language||"",window.screen.width,window.screen.height],page:i.getTopWindowUrl(),dt:+new Date};return{method:"POST",url:"//prebid.xendiz.com/request",data:JSON.stringify(n)}},interpretResponse:function(e){return e.body.bids.map((function(e){return{requestId:e.id,cpm:e.price,width:e.w,height:e.h,creativeId:e.crid,netRevenue:void 0===e.netRevenue||e.netRevenue,dealId:e.dealid,currency:e.cur||"USD",ttl:e.exp||900,ad:e.adm}}))},getUserSyncs:function(e){if(e.pixelEnabled)return[{type:"image",url:"https://advsync.com/xendiz/ssp/?pixel=1"}]}};(0,r.registerBidder)(a)},317:function(e,n){}},[315]);
  pbjsChunk([3],{318:function(e,t,r){r(319),e.exports=r(320)},319:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var a,d=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),i=r(1),s=r(11),n=(a=s)&&a.__esModule?a:{default:a},u=r(4);var p="https://ad.yieldlab.net",c=t.spec={code:"yieldlab",supportedMediaTypes:[u.VIDEO,u.BANNER],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.placementId&&e.params.adSize)},buildRequests:function(e){var t=[],r=Date.now();d._each(e,(function(e){t.push(e.params.placementId)}));var a=t.join(",");return{method:"GET",url:p+"/yp/"+a+"?ts="+r+"&json=true",validBidRequests:e}},interpretResponse:function(e,t){var r=[],a=Date.now();return t.validBidRequests.forEach((function(t){if(e.body){var i,s=(0,n.default)(e.body,(function(e){return t.params.placementId==e.id}));if(s){var c=t.params.adSize.split("x").map(Number),o={requestId:t.bidId,cpm:s.price/100,width:c[0],height:c[1],creativeId:""+s.id,dealId:s.did,currency:"EUR",netRevenue:!0,ttl:600,referrer:"",ad:'<script src="'+p+"/d/"+s.id+"/"+t.params.accountId+"/"+c[0]+"x"+c[1]+"?ts="+a+'"><\/script>'};i=t,d.deepAccess(i,"mediaTypes.video")&&(o.mediaType=u.VIDEO,o.vastUrl=p+"/d/"+s.id+"/"+t.params.accountId+"/1x1?ts="+a),r.push(o)}}})),r}};(0,i.registerBidder)(c)},320:function(e,t){}},[318]);
  pbjsChunk([2],{321:function(e,t,n){n(322),e.exports=n(323)},322:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var i=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}})(n(0)),r=n(1);var o="USD",d=300,a=!0,c=(function(){try{return window.top}catch(e){return window}})(),u=t.spec={code:"yieldmo",supportedMediaTypes:["banner"],isBidRequestValid:function(e){return!!(e&&e.adUnitCode&&e.bidId)},buildRequests:function(e){var t={p:[],page_url:i.getTopWindowUrl(),bust:(new Date).getTime().toString(),pr:i.getTopWindowReferrer(),scrd:c.devicePixelRatio||0,dnt:w(),e:(function(){var e=window.document.createElement("iframe");try{return e.setAttribute("style","display:none"),window.document.body.appendChild(e),e.contentWindow._testVar=!0,window.document.body.removeChild(e),!1}catch(t){return window.document.body.removeChild(e),!0}})()?89:l()&&p()?5:l()?4:p()?1:(function(){if(window.location&&window.location.href){var e=window.location.href;return s()&&-1!==e.indexOf("google")&&-1!==e.indexOf("safeframe")}return!1})()?11:s()?10:window.mraid?2:window===window.parent?0:window.top===window||window.frameElement?90:16,description:document.querySelector('meta[name="description"]')?document.querySelector('meta[name="description"]').getAttribute("content"):"",title:c.document.title||"",w:c.innerWidth,h:c.innerHeight};return e.forEach((function(e){t.p.push(function(e){var t={placement_id:e.adUnitCode,callback_id:e.bidId,sizes:e.sizes};e.params&&e.params.placementId&&(t.ym_placement_id=e.params.placementId);return JSON.stringify(t)}(e))})),t.p="["+t.p.toString()+"]",{method:"GET",url:"https://ads.yieldmo.com/exchange/prebid",data:t}},interpretResponse:function(e){var t=[],n=e.body;return n.length>0&&n.forEach((function(e){var n;e.cpm&&e.cpm>0&&t.push({requestId:(n=e).callback_id,cpm:n.cpm,width:n.width,height:n.height,creativeId:n.creativeId,currency:o,netRevenue:a,ttl:d,ad:n.ad})})),t},getUserSync:function(e){return t=e,/iPhone|iPad|iPod/i.test(window.navigator.userAgent)&&!w()&&t.iframeEnabled?[{type:"iframe",url:"https://static.yieldmo.com/blank.min.html?orig="+i.getOrigin()}]:[];var t}};function w(){return"1"===window.doNotTrack||"1"===window.navigator.doNotTrack||!1}function l(){try{var e=window.frameElement,t=window.frameElement.parentNode;return!(!e||!t)&&(e.id.indexOf("google_ads_iframe")>-1&&t.id.indexOf("google_ads_iframe")>-1)}catch(e){return!1}}function p(){try{var e=window.context||window.parent.context;return!(!e||!e.pageViewId)&&e}catch(e){return!1}}function s(){return window.$sf&&window.$sf.ext}(0,r.registerBidder)(u)},323:function(e,t){}},[321]);
  pbjsChunk([1],{324:function(e,t,r){r(325),e.exports=r(326)},325:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var i=(function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}})(r(0)),n=r(2),d=r(1);var a=t.spec={code:"yieldone",aliases:["y1"],isBidRequestValid:function(e){return!!e.params.placementId},buildRequests:function(e){return e.map((function(e){var t=e.params,r=i.parseSizesInput(e.sizes)[0],n=r.split("x")[0],d=r.split("x")[1];return{method:"GET",url:"//y.one.impact-ad.jp/h_bid",data:{v:"hb1",p:t.placementId,w:n,h:d,cb:Math.floor(99999999999*Math.random()),r:encodeURIComponent(i.getTopWindowUrl()),uid:e.bidId,t:"i"}}}))},interpretResponse:function(e,t){var r=[],d=e.body,a=d.crid||0,o=d.width||0,u=d.height||0,c=1e3*d.cpm||0;if(0!==o&&0!==u&&0!==c&&0!==a){var p=d.dealid||"",s=d.currency||"JPY",l=void 0===d.netRevenue||d.netRevenue,f=i.getTopWindowUrl(),h={requestId:t.data.uid,cpm:c,width:d.width,height:d.height,creativeId:a,dealId:p,currency:s,netRevenue:l,ttl:n.config.getConfig("_bidderTimeout"),referrer:f,ad:d.adTag};r.push(h)}return r}};(0,d.registerBidder)(a)},326:function(e,t){}},[324]);
  pbjs.processQueue();