‘:”http://slate.com/”},t.getDefinedParams=function(e,t){return t.filter(function(t){return e[t]}).reduce(function(t,n){return d(t,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,e[n]))},{})},t.isValidMediaTypes=function(e){var t=[“banner”,”native”,”video”];return!!Object.keys(e).every(function(e){return(0,v.default)(t,e)})&&(!e.video”http://slate.com/”!e.video.context”http://slate.com/”(0,v.default)([“instream”,”outstream”],e.video.context))},t.getBidderRequest=function(e,t,n){return(0,h.default)(e,function(e){return e.bids.filter(function(e){return e.bidder===t&&e.adUnitCode===n}).length>0})”http://slate.com/”{start:null,auctionId:null}},t.getUserConfiguredParams=function(e,t,n){return e.filter(function(e){return e.code===t}).map(function(e){return e.bids}).reduce(c,[]).filter(function(e){return e.bidder===n}).map(function(e){return e.params”http://slate.com/”{}})},t.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+”//”+window.location.hostname+(window.location.port?”:”+window.location.port:”http://slate.com/”)},t.getDNT=function(){return”1″===navigator.doNotTrack”http://slate.com/”http://slate.com/”1″===window.doNotTrack”http://slate.com/”http://slate.com/”1″===navigator.msDoNotTrack”http://slate.com/”http://slate.com/”yes”===navigator.doNotTrack},t.isAdUnitCodeMatchingSlot=function(e){return function(t){return x(e,t)}},t.isSlotMatchingAdUnitCode=function(e){return function(t){return x(t,e)}},t.unsupportedBidderMessage=function(e,t){var n=Object.keys(e.mediaTypes”http://slate.com/”{banner:”banner”}).join(“, “);return”n “+e.code+” is a “+n+” ad unitn containing bidders that don’t support “+n+”: “+t+”.n This bidder won’t fetch demand.n “},t.deletePropertyFromObject=function(e,t){var n=d({},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},t.convertCamelToUnderscore=function(e){return e.replace(/(?:^|.?)([A-Z])/g,function(e,t){return”_”+t.toLowerCase()}).replace(/^_/,”http://slate.com/”)};var p=n(3),g=r(n(63)),h=r(n(10)),v=r(n(8)),b=n(12),y=n(2),m=!1,_=Object.prototype.toString,w=null;try{w=console.info.bind(window.console)}catch(e){}t.replaceTokenInString=function(e,t,n){return this._each(t,function(t,r){t=void 0===t?”http://slate.com/”:t;var i=n+r.toUpperCase()+n,o=new RegExp(i,”g”);e=e.replace(o,t)}),e};var E,A=(E=0,function(){return++E});t.getUniqueIdentifierStr=i,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]:”http://slate.com/”},t.tryAppendQueryString=function(e,t,n){return n?e+(t+”=”)+encodeURIComponent(n)+”&”:e},t.parseQueryStringParameters=function(e){var t=”http://slate.com/”;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?s(e).map(function(t){return t+”=”+encodeURIComponent(f(e,t))}).join(“&”):”http://slate.com/”},t.getTopWindowLocation=function(){if(t.inIframe()){var e=void 0;try{e=t.getAncestorOrigins()”http://slate.com/”t.getTopFrameReferrer()}catch(e){logInfo(“could not obtain top window location”,e)}if(e)return(0,b.parse)(e,{decodeSearchAsString:!0})}return t.getWindowLocation()},t.getTopFrameReferrer=function(){try{window.top.location.toString();var e=”http://slate.com/”,t=void 0;do{(t=t?t.parent:window).document&&t.document.referrer&&(e=t.document.referrer)}while(t!==window.top);return e}catch(e){return window.document.referrer}},t.getAncestorOrigins=function(){if(window.document.location&&window.document.location.ancestorOrigins&&window.document.location.ancestorOrigins.length>=1)return window.document.location.ancestorOrigins[window.document.location.ancestorOrigins.length-1]},t.getWindowTop=function(){return window.top},t.getWindowSelf=function(){return window.self},t.getWindowLocation=function(){return window.location},t.getTopWindowUrl=function(){var e=void 0;try{e=this.getTopWindowLocation().href}catch(t){e=”http://slate.com/”}return e},t.getTopWindowReferrer=function(){try{return window.top.document.referrer}catch(e){return document.referrer}},t.logWarn=function(e){S()&&console.warn&&console.warn(“WARNING: “+e)},t.logInfo=function(e,t){S()&&u()&&w&&(t&&0!==t.length”http://slate.com/”(t=”http://slate.com/”),w(“INFO: “+e+(“http://slate.com/”===t?”http://slate.com/”:” : params : “),t))},t.logMessage=function(e){S()&&u()&&console.log(“MESSAGE: “+e)},t.hasConsoleLogger=u;var S=function(){if(!1===p.config.getConfig(“debug”)&&!1===m){var e=”TRUE”===T(y.DEBUG_MODE).toUpperCase();p.config.setConfig({debug:e}),m=!0}return!!p.config.getConfig(“debug”)};t.debugTurnedOn=S,t.logError=function(){S()&&window.console&&window.console.error&&console.error.apply(console,arguments)},t.createInvisibleIframe=function(){var e=document.createElement(“iframe”);return e.id=i(),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=”http://slate.com/about:blank”,e.style.display=”none”,e};var T=function(e){var t=new RegExp(“[?&]”+e+”=([^]*)”).exec(window.location.search);return null===t?”http://slate.com/”:decodeURIComponent(t[1].replace(/+/g,”http://slate.com/”))};t.getParameterByName=T,t.hasValidBidRequest=function(e,t,n){function r(e,n){n===t[o]&&(i=!0)}for(var i=!1,o=0;o0);for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0},t.isEmptyStr=function(e){return this.isStr(e)&&(!e”http://slate.com/”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‘},t.createTrackPixelIframeHtml=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])”http://slate.com/”arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:”http://slate.com/”;return e?(n&&(e=encodeURI(e)),r&&(r=’sandbox=”http://slate.com/”+r+”http://slate.com/”http://slate.com/”),” ‘):”http://slate.com/”},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 x=function(e,t){return e.getAdUnitPath()===t”http://slate.com/”e.getSlotElementId()===t}},1:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e){function t(t,n){if(e.getUserSyncs){var r=e.getUserSyncs({iframeEnabled:d.config.getConfig(“userSync.iframeEnabled”),pixelEnabled:d.config.getConfig(“userSync.pixelEnabled”)},t,n);r&&(Array.isArray(r)”http://slate.com/”(r=[r]),r.forEach(function(t){p.userSync.registerSync(t.type,e.code,t.url)}))}}function n(t){return!!e.isBidRequestValid(t)”http://slate.com/”((0,m.logWarn)(“Invalid bid sent to bidder “+e.code+”: “+JSON.stringify(t)),!1)}return c(new s.default(e.code),{getSpec:function(){return Object.freeze(e)},registerSyncs:t,callBids:function(r,i,u,s){function f(e){var n=(e?e[0]?e:[e]:[]).some(function(e){return”video”===e.mediaType}),i=d.config.getConfig(“cache.url”);n&&i”http://slate.com/”u(),b.default.emit(v.default.EVENTS.BIDDER_DONE,r),t(g,r.gdprConsent)}if(Array.isArray(r.bids)){var p={},g=[],h=r.bids.filter(n);if(0!==h.length){var y={};h.forEach(function(e){y[e.bidId]=e,e.adUnitCode”http://slate.com/”(e.adUnitCode=e.placementCode)})
;var _=e.buildRequests(h,r);if(_&&0!==_.length){Array.isArray(_)”http://slate.com/”(_=[_]);var w=(0,m.delayExecution)(f,_.length);_.forEach(function(t){function n(n,u){function a(t){var n,u,a=y[t.requestId];if(a){var s=c(l.default.createBid(v.default.STATUS.GOOD,a),t);n=a.adUnitCode,u=s,p[n]=!0,o(n,u,[r])&&i(n,u)}else(0,m.logWarn)(“Bidder “+e.code+” made bid for unknown request ID: “+t.requestId+”. Ignoring.”)}try{n=JSON.parse(n)}catch(e){}n={body:n,headers:{get:u.getResponseHeader.bind(u)}},g.push(n);var s=void 0;try{s=e.interpretResponse(n,t)}catch(t){return(0,m.logError)(“Bidder “+e.code+” failed to interpret the server’s response. Continuing without bids”,null,t),void w()}s&&(s.forEach?s.forEach(a):a(s)),w(s)}function u(t){(0,m.logError)(“Server call for “+e.code+” failed: “+t+”. Continuing without bids.”),w()}switch(t.method){case”GET”:s(“http://slate.com/”+t.url+function(e){return e?”?”+(“object”===(void 0===e?”undefined”:a(e))?(0,m.parseQueryStringParameters)(e):e):”http://slate.com/”}(t.data),{success:n,error:u},void 0,c({method:”GET”,withCredentials:!0},t.options));break;case”POST”:s(t.url,{success:n,error:u},”string”==typeof t.data?t.data:JSON.stringify(t.data),c({method:”POST”,contentType:”text/plain”,withCredentials:!0},t.options));break;default:(0,m.logWarn)(“Skipping invalid request from “+e.code+”. Request type “+t.type+” must be GET or POST”),w()}})}else f()}else f()}}})}function o(e,t,n){function r(e){return”Invalid bid from “+t.bidderCode+”. Ignoring bid: “+e}return e?t?(i=Object.keys(t),_.every(function(e){return(0,y.default)(i,e)})?”native”!==t.mediaType”http://slate.com/”(0,g.nativeBidIsValid)(t,n)?”video”!==t.mediaType”http://slate.com/”(0,h.isValidVideoBid)(t,n)?!(“banner”===t.mediaType&&!function(e,t,n){if((t.width”http://slate.com/”0===t.width)&&(t.height”http://slate.com/”0===t.height))return!0;var r=(0,m.getBidderRequest)(n,t.bidderCode,e),i=r&&r.bids&&r.bids[0]&&r.bids[0].sizes,o=(0,m.parseSizesInput)(i);if(1===o.length){var a=o[0].split(“x”),c=u(a,2),s=c[0],f=c[1];return t.width=s,t.height=f,!0}return!1}(e,t,n)&&((0,m.logError)(r(“Banner bids require a width and height”)),1)):((0,m.logError)(r(“Video bid does not have required vastUrl or renderer property”)),!1):((0,m.logError)(r(“Native bid missing some required properties.”)),!1):((0,m.logError)(r(“Bidder “+t.bidderCode+” is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params.”)),!1)):((0,m.logWarn)(“Some adapter tried to add an undefined bid for “+e+”.”),!1):((0,m.logWarn)(“No adUnitCode was supplied to addBidResponse.”),!1);var i}Object.defineProperty(t,”__esModule”,{value:!0});var u=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 u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t”http://slate.com/”n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),a=”function”==typeof Symbol&&”symbol”==_typeof(Symbol.iterator)?function(e){return void 0===e?”undefined”:_typeof(e)}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:void 0===e?”undefined”:_typeof(e)},c=Object.assign”http://slate.com/”function(e){for(var t=1;t=f.syncsPerBidder?u.logWarn(‘Number of user syncs exceeded for “http://slate.com/”+t+”http://slate.com/”http://slate.com/”):f.enabledBidders&&f.enabledBidders.length&&f.enabledBidders.indexOf(t)0&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(t,Number(e));t()},n.triggerUserSyncs=function(){f.enableOverride&&n.syncUsers()},n}Object.defineProperty(t,”__esModule”,{value:!0}),t.userSync=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 n=[],r=!0,i=!1,o=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t”http://slate.com/”n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),o=Object.assign”http://slate.com/”function(e){for(var t=1;t0;)try{this.cmd.shift().call()}catch(e){o.logError(“Error processing Renderer command: “,e)}}},16:function(e,t,n){var r=n(20),i=n(14),o=n(28),u=n(44),a=n(51),c=”prototype”,s=function e(t,n,s){var f,d,l,p=t&e.F,g=t&e.G,h=t&e.S,v=t&e.P,b=t&e.B,y=t&e.W,m=g?i:i[n]”http://slate.com/”(i[n]={}),_=m[c],w=g?r:h?r[n]:(r[n]”http://slate.com/”{})[c];for(f in g&&(s=n),s)(d=!p&&w&&void 0!==w[f])&&a(m,f)”http://slate.com/”(l=d?w[f]:s[f],m[f]=g&&”function”!=typeof w[f]?s[f]:b&&d?o(l,r):y&&w[f]==l?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[c]=e[c],t}(l):v&&”function”==typeof l?o(Function.call,l):l,v&&((m.virtual”http://slate.com/”(m.virtual={}))[f]=l,t&e.R&&_&&!_[f]&&u(_,f,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},166:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){t.timeToRespond>e.getTimeout()+b.config.getConfig(“timeoutBuffer”)&&e.executeCallback(!0)}function o(e,t){T.emit(I.EVENTS.BID_RESPONSE,t),e.addBidReceived(t),i(e,t)}function u(){var e=b.config.getConfig(“priceGranularity”),t=pbjs.bidderSettings;return t[I.JSON_MAPPING.BD_SETTING_STANDARD]”http://slate.com/”(t[I.JSON_MAPPING.BD_SETTING_STANDARD]={}),t[I.JSON_MAPPING.BD_SETTING_STANDARD][I.JSON_MAPPING.ADSERVER_TARGETING]”http://slate.com/”(t[I.JSON_MAPPING.BD_SETTING_STANDARD][I.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===I.GRANULARITY_OPTIONS.AUTO?t.pbAg:e===I.GRANULARITY_OPTIONS.DENSE?t.pbDg:e===I.GRANULARITY_OPTIONS.LOW?t.pbLg:e===I.GRANULARITY_OPTIONS.MEDIUM?t.pbMg:e===I.GRANULARITY_OPTIONS.HIGH?t.pbHg:e===I.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[I.JSON_MAPPING.BD_SETTING_STANDARD]}function a(e,t){if(!t)return{};var n={},r=pbjs.bidderSettings;return r&&(c(n,u(),t),e&&r[e]&&r[e][I.JSON_MAPPING.ADSERVER_TARGETING]&&(c(n,r[e],t),t.sendStandardTargeting=r[e].sendStandardTargeting)),t.native&&(n=d({},n,(0,g.getNativeTargeting)(t))),n}function c(e,t,n){var r=t[I.JSON_MAPPING.ADSERVER_TARGETING];return n.size=n.getSize(),A._each(r,function(r){var i=r.key,o=r.val;if(e[i]&&A.logWarn(“The key: “+i+” is getting ovewritten”),A.isFn(o))try{o=o(n)}catch(e){A.logError(“bidmanager”,”ERROR”,e)}(void 0===t.suppressEmptyKeys”http://slate.com/”!0!==t.suppressEmptyKeys)&&”hb_deal”!==i”http://slate.com/”!A.isEmptyStr(o)&&null!=o?e[i]=o:A.logInfo(“suppressing empty key “http://slate.com/”+i+”http://slate.com/” from adserver targeting”)}),e}function s(e){var t=e.bidderCode,n=e.cpm,r=void 0;if(pbjs.bidderSettings&&(t&&pbjs.bidderSettings[t]&&”function”==typeof pbjs.bidderSettings[t].bidCpmAdjustment?r=pbjs.bidderSettings[t].bidCpmAdjustment:pbjs.bidderSettings[I.JSON_MAPPING.BD_SETTING_STANDARD]&&”function”==typeof pbjs.bidderSettings[I.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment&&(r=pbjs.bidderSettings[I.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),r))try{n=r(e.cpm,d({},e))}catch(e){A.logError(“Error during bid adjustment”,”bidmanager.js”,e)}n>=0&&(e.cpm=n)}function f(e,t){return e[t.adUnitCode]”http://slate.com/”(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}Object.defineProperty(t,”__esModule”,{value:!0}),t.addBidResponse=t.AUCTION_COMPLETED=t.AUCTION_IN_PROGRESS=t.AUCTION_STARTED=void 0;var d=Object.assign”http://slate.com/”function(e){for(var t=1;t=1})&&(A.logInfo(“Bids Received for Auction with id: “+v,g),y=O,t(!1,!0))}var r=e.adUnits,i=e.adUnitCodes,o=e.callback,u=e.cbTimeout,a=e.labels,c=r,s=a,d=i,p=[],g=[],h=void 0,v=A.generateUUID(),y=void 0,m=o,R=void 0,B=u,k=[];return{addBidReceived:function(e){g=g.concat(e)},executeCallback:t,callBids:function(){e=t.bind(null,!0),r=setTimeout(e,B),R=r,y=x;var e,r,i={timestamp:h=Date.now(),auctionId:v,timeout:B};T.emit(I.EVENTS.AUCTION_INIT,i);var o=S.makeBidRequests(c,h,v,B,s);A.logInfo(“Bids Requested for Auction with id: “+v,o),o.forEach(function(e){var t;t=e,p=p.concat(t)}),y=j,S.callBids(c,o,C.bind(this),function(e){var t=e;return(0,l.delayExecution)(function(){(0,_.default)(p,function(e){return t===e.bidderRequestId}).doneCbCallCount+=1,n()},1)}.bind(this))},bidsBackAll:n,addWinningBid:function(e){k=k.concat(e)},getWinningBids:function(){return k},getTimeout:function(){return B},getAuctionId:function(){return v},getAuctionStatus:function(){return y},getAdUnits:function(){return c},getAdUnitCodes:function(){return d},getBidRequests:function(){return p},getBidsReceived:function(){return g}}},t.getStandardBidderSettings=u,t.getKeyValueTargetingPairs=a,t.adjustBids=s;var l=n(0),p=n(27),g=n(18),h=n(167),v=n(15),b=n(3),y=n(13),m=n(21),_=r(n(10)),w=r(n(8)),E=y.userSync.syncUsers,A=n(0),S=n(7),T=n(9),I=n(2),x=t.AUCTION_STARTED=”started”,j=t.AUCTION_IN_PROGRESS=”inProgress”,O=t.AUCTION_COMPLETED=”completed”;T.on(I.EVENTS.BID_ADJUSTMENT,function(e){s(e)});var C=t.addBidResponse=(0,m.createHook)(“asyncSeries”,function(e,t){var n,r,u,c,s=this.getBidRequests(),f=this.getAuctionId(),g=(0,l.getBidderRequest)(s,t.bidderCode,e),y=function(e){var t=e.adUnitCode,n=e.bid,r=e.bidRequest,i=e.auctionId,o=r.start,u=d({},n,{auctionId:i,responseTimestamp:(0,l.timestamp)(),requestTimestamp:o,cpm:parseFloat(n.cpm)”http://slate.com/”0,bidder:n.bidderCode,adUnitCode:t});u.timeToRespond=u.responseTimestamp-u.requestTimestamp,T.emit(I.EVENTS.BID_ADJUSTMENT,u);var c=r.bids&&r.bids[0]&&r.bids[0].renderer;c&&c.url&&(u.renderer=v.Renderer.install({url:c.url}),u.renderer.setRender(c.render));var s,f=(0,p.getPriceBucketString)(u.cpm,b.config.getConfig(“customPriceBucket”),b.config.getConfig(“currency.granularityMultiplier”));return u.pbLg=f.low,u.pbMg=f.med,u.pbHg=f.high,u.pbAg=f.auto,u.pbDg=f.dense,u.pbCg=f.custom,u.bidderCode&&(u.cpm>0″http://slate.com/”u.dealId)&&(s=a(u.bidderCode,u)),u.adserverTargeting=d(u.adserverTargeting”http://slate.com/”{},s),u}({adUnitCode:e,bid:t,bidRequest:g,auctionId:f});”video”===y.mediaType?(n=this,r=y,u=g,c=!0,b.config.getConfig(“cache.url”)&&(r.videoCacheKey?r.vastUrl”http://slate.com/”(A.logError(“videoCacheKey specified but not required vastUrl for video bid”),c=!1):(c=!1,(0,h.store)([r],function(e,t){e?(A.logWarn(“Failed to save to the video cache: “+e+”. Video bid must be discarded.”),i(n,r)):(r.videoCacheKey=t[0].uuid,r.vastUrl”http://slate.com/”(r.vastUrl=(0,h.getCacheUrl)(r.videoCacheKey)),u.doneCbCallCount+=1,o(n,r),n.bidsBackAll())}))),c&&o(n,r)):o(this,y)},”addBidResponse”)},167:function(e,t,n){“use strict”;function r(e){var t,n;return{type:”xml”,value:e.vastXml?e.vastXml:(t=e.vastUrl,n=e.vastImpUrl,’n n n prebid.org wrappern n “+(n?”http://slate.com/”:”http://slate.com/”)+”n n n n “)}}Object.defineProperty(t,”__esModule”,{value:!0}),t.store=function(e,t){var n={puts:e.map(r)};(0,i.ajax)(o.config.getConfig(“cache.url”),(u=t,{success:function(e){var t=void 0;try{t=JSON.parse(e).responses}catch(e){return void u(e,[])}t?u(null,t):u(new Error(“The cache server didn’t respond with a responses property.”),[])},error:function(e,t){u(new Error(“Error storing video ad in the cache: “+e+”: “+JSON.stringify(t)),[])}}),JSON.stringify(n),{contentType:”text/plain”,withCredentials:!0});var u},t.getCacheUrl=function(e){return o.config.getConfig(“cache.url”)+”?uuid=”+e};var i=n(6),o=n(3)},17:function(e,t){e.exports=function(e){return”object”==(void 0===e?”undefined”:_typeof(e))?null!==e:”function”==typeof e}},18: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 void 0===e?”undefined”:_typeof(e)}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:void 0===e?”undefined”:_typeof(e)};t.processNativeAdUnitParams=function(e){return e&&e.type&&function(e){return!(!e”http://slate.com/”!(0,a.default)(Object.keys(f),e))”http://slate.com/”((0,o.logError)(e+” nativeParam is not supported”),!1)}(e.type)?f[e.type]: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”)”http://slate.com/”!(0,o.deepAccess)(e,”native.image.width”)))return!1;if((0,o.deepAccess)(e,”native.icon”)&&(!(0,o.deepAccess)(e,”native.icon.height”)”http://slate.com/”!(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}),u=Object.keys(e.native).filter(function(t){return e.native[t]});return i.every(function(e){return(0,a.default)(u,e)})},t.fireNativeTrackers=function(e,t){var n=void 0;”click”===e.action?n=t.native&&t.native.clickTrackers:(n=t.native&&t.native.impressionTrackers,t.native&&t.native.javascriptTrackers&&(0,o.insertHtmlIntoIframe)(t.native.javascriptTrackers)),(n”http://slate.com/”[]).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),u=n(8),a=(i=u)&&i.__esModule?i:{default:i},c=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”},f=(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”http://slate.com/”n};var d=t.nativeBidder=function(e){return(0,a.default)(c,e.bidder)};t.hasNonNativeBidder=function(e){return e.bids.filter(function(e){return!d(e)}).length}},19: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”http://slate.com/”r.getUniqueIdentifierStr(),i=t&&t.src”http://slate.com/”http://slate.com/”client”,o=e”http://slate.com/”0;this.bidderCode=t&&t.bidder”http://slate.com/”http://slate.com/”http://slate.com/”,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)}},2: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.10.0-pre”,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”,BIDDER_DONE:”bidderDone”,SET_TARGETING:”setTargeting”,REQUEST_BIDS:”requestBids”,ADD_AD_UNITS:”addAdUnits”,AD_RENDER_FAILED:”adRenderFailed”},AD_RENDER_FAILED_REASON:{PREVENT_WRITING_ON_MAIN_DOCUMENT:”preventWritingOnMainDocuemnt”,NO_AD:”noAd”,EXCEPTION:”exception”,CANNOT_FIND_AD:”cannotFindAd”,MISSING_DOC_OR_ADID:”missingDocOrAdid”},EVENT_ID_PATHS:{bidWon:”adUnitCode”},GRANULARITY_OPTIONS:{LOW:”low”,MEDIUM:”medium”,HIGH:”high”,AUTO:”auto”,DENSE:”dense”,CUSTOM:”custom”},TARGETING_KEYS:[“hb_bidder”,”hb_adid”,”hb_pb”,”hb_size”,”hb_deal”,”hb_source”,”hb_format”],S2S:{SRC:”s2s”,SYNCED_BIDDERS_KEY:”pbjsSyncs”}}},20: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)},21:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=Object.assign”http://slate.com/”function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:10;”function”==typeof e&&(u.push({fn:e,priority:t}),u.sort(function(e,t){return t.priority-e.priority}))},removeHook:function(e){u=u.filter(function(n){return n.fn===t”http://slate.com/”n.fn!==e})}};return”string”==typeof n&&(o[n]=c),r(function(){for(var n=arguments.length,r=Array(n),i=0;it.max?e:t},{max:0}),h=(0,a.default)(t.buckets,function(t){if(e>g.max*n){var i=t.precision;void 0===i&&(i=s),r=(t.max*n).toFixed(i)}else if(e=t.min*n)return t});return h&&(o=e,c=n,f=void 0!==(u=h).precision?u.precision:s,d=u.increment*c,l=u.min*c,p=Math.floor((o-l)/d)*d+l,r=(p=Number(p.toFixed(10))).toFixed(f)),r}function i(e){if(c.isEmpty(e)”http://slate.com/”!e.buckets”http://slate.com/”!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach(function(e){void 0!==e.min&&e.max&&e.increment”http://slate.com/”(t=!1)}),t}Object.defineProperty(t,”__esModule”,{value:!0}),t.isValidPriceConfig=t.getPriceBucketString=void 0;var o,u=n(10),a=(o=u)&&o.__esModule?o:{default:o},c=n(0),s=2,f={buckets:[{min:0,max:5,increment:.5}]},d={buckets:[{min:0,max:20,increment:.1}]},l={buckets:[{min:0,max:20,increment:.01}]},p={buckets:[{min:0,max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}]},g={buckets:[{min:0,max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}]};t.getPriceBucketString=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=parseFloat(e);return isNaN(i)&&(i=”http://slate.com/”),{low:”http://slate.com/”===i?”http://slate.com/”:r(e,f,n),med:”http://slate.com/”===i?”http://slate.com/”:r(e,d,n),high:”http://slate.com/”===i?”http://slate.com/”:r(e,l,n),auto:”http://slate.com/”===i?”http://slate.com/”:r(e,g,n),dense:”http://slate.com/”===i?”http://slate.com/”:r(e,p,n),custom:”http://slate.com/”===i?”http://slate.com/”:r(e,t,n)}},t.isValidPriceConfig=i},28:function(e,t,n){var r=n(43);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)}}},29:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},3:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(){function e(){function e(e){return(0,c.default)(Object.keys(w),function(t){return e===w[t]})}n={},r={_debug:l,get debug(){return this._debug},set debug(e){this._debug=e},_bidderTimeout:p,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:h,get cookieSyncDelay(){return pbjs.cookieSyncDelay”http://slate.com/”this._cookieSyncDelay},set cookieSyncDelay(e){this._cookieSyncDelay=e},_priceGranularity:w.MEDIUM,set priceGranularity(t){(function(t){if(!t)return d.logError(“Prebid Error: no value passed to `setPriceGranularity()`”),!1;if(“string”==typeof t)e(t)”http://slate.com/”d.logWarn(“Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.”);else if(“object”===(void 0===t?”undefined”:u(t))&&!(0,a.isValidPriceConfig)(t))return d.logError(“Invalid custom price value passed to `setPriceGranularity()`”),!1;return!0})(t)&&(“string”==typeof t?this._priceGranularity=e(t)?t:w.MEDIUM:”object”===(void 0===t?”undefined”:u(t))&&(this._customPriceBucket=t,this._priceGranularity=w.CUSTOM,d.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:_,get bidderSequence(){return this._bidderSequence},set bidderSequence(e){m[e]?this._bidderSequence=e:d.logWarn(“Invalid order: “+e+”. Bidder Sequence was not set.”)},_timoutBuffer:b,get timeoutBuffer(){return this._timoutBuffer},set timeoutBuffer(e){this._timoutBuffer=e}}}var t=[],n=void 0,r=void 0,i=(0,f.createHook)(“asyncSeries”,function(e){if(“object”===(void 0===e?”undefined”:u(e))){var i,a,c=Object.keys(e),f={};c.forEach(function(t){var i=e[t];”object”===u(n[t])&&”object”===(void 0===i?”undefined”:u(i))&&(i=o({},n[t],i)),f[t]=r[t]=i}),i=f,a=Object.keys(i),t.filter(function(e){return(0,s.default)(a,e.topic)}).forEach(function(e){var t,n,r;e.callback((t={},n=e.topic,r=i[e.topic],n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t))}),t.filter(function(e){return e.topic===E}).forEach(function(e){return e.callback(i)})}else d.logError(“setConfig options must be an object”)});return e(),{getConfig:function(){if(arguments.lengthw;w++)if((l”http://slate.com/”w in y)&&(v=m(h=y[w],w,b),e))if(n)E[w]=v;else if(v)switch(e){case 3:return!0;case 5:return h;case 6:return w;case 2:E.push(h)}else if(f)return!1;return d?-1:s”http://slate.com/”f?f:E}}},31:function(e,t,n){var r=n(32);e.exports=Object(“z”).propertyIsEnumerable(0)?Object:function(e){return”String”==r(e)?e.split(“http://slate.com/”):Object(e)}},32:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},33:function(e,t){e.exports=function(e){if(null==e)throw TypeError(“Can’t call method on “+e);return e}},34:function(e,t,n){var r=n(35),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},35:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},36:function(e,t,n){var r=n(32);e.exports=Array.isArray”http://slate.com/”function(e){return”Array”==r(e)}},37:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.getGlobal=function(){return window.pbjs},window.pbjs=window.pbjs”http://slate.com/”{},window.pbjs.cmd=window.pbjs.cmd”http://slate.com/”[],window.pbjs.que=window.pbjs.que”http://slate.com/”[]},38:function(e,t,n){“use strict”;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){function n(t){return”string”==typeof t?[t]:p.isArray(t)?t:e.getAdUnitCodes()”http://slate.com/”[]}function i(){return e.getBidsReceived().filter(m).filter(t.isBidExpired).filter(_)}function u(){return e.getStandardBidderAdServerTargeting().map(function(e){return e.key}).concat(g.TARGETING_KEYS).filter(a.uniques)}function f(e,t,n,r){return Object.keys(t.adserverTargeting).filter(d()).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){p.isArray(e.adserverTargeting[r])”http://slate.com/”(e.adserverTargeting[r]=[e.adserverTargeting[r]]),e.adserverTargeting[r]=e.adserverTargeting[r].concat(t.adserverTargeting[r]).filter(a.uniques),delete t.adserverTargeting[r]}))}),e.push(t),e}function d(){var e=u();return function(t){return-1===e.indexOf(t)}}function b(e){return r({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(d()).map(function(t){return r({},t.substring(0,y),[e.adserverTargeting[t]])}))}function w(e){return{adUnitCode:e,cpm:0,adserverTargeting:{},timeToRespond:0}}var E={};return E.resetPresetTargeting=function(t){if((0,a.isGptPubadsDefined)()){var r=n(t),i=e.getAdUnits().filter(function(e){return(0,l.default)(r,e.code)});window.googletag.pubads().getSlots().forEach(function(e){h.forEach(function(t){i.forEach(function(n){n.code!==e.getAdUnitPath()&&n.code!==e.getSlotElementId()”http://slate.com/”e.setTargeting(t,null)})})})}},E.getAllTargeting=function(e){var t,d,m,_,A,S,T,I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i(),x=n(e),j=function(e,t){var n=E.getWinningBids(e,t);n.forEach(function(e){e.status=v});var i=u();return n=n.map(function(e){return r({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(function(t){return void 0===e.sendStandardTargeting”http://slate.com/”e.sendStandardTargeting”http://slate.com/”-1===i.indexOf(t)}).map(function(t){return r({},”hb_deal”===t?(t+”_”+e.bidderCode).substring(0,y):t.substring(0,y),[e.adserverTargeting[t]])}))})}(x,I).concat((S=x,T=I,T.filter(function(e){return(0,l.default)(S,e.adUnitCode)}).map(function(e){return o({},e)}).reduce(f,[]).map(b).filter(function(e){return e}))).concat(c.config.getConfig(“enableSendAllBids”)?(t=x,d=I,m=g.TARGETING_KEYS.concat(s.NATIVE_TARGETING_KEYS),_=[],A=(0,a.groupBy)(d,”adUnitCode”),Object.keys(A).forEach(function(e){var t=(0,a.groupBy)(A[e],”bidderCode”);Object.keys(t).forEach(function(e){return _.push(t[e].reduce(a.getHighestCpm,w()))})}),_.map(function(e){if(e.adserverTargeting&&t&&(p.isArray(t)&&(0,l.default)(t,e.adUnitCode)”http://slate.com/”http://slate.com/”string”==typeof t&&e.adUnitCode===t))return r({},e.adUnitCode,(n=e,m.filter(function(t){return void 0!==e.adserverTargeting[t]}).map(function(e){return r({},(e+”_”+n.bidderCode).substring(0,y),[n.adserverTargeting[e]])})));var n}).filter(function(e){return e})):[]);return j.map(function(e){Object.keys(e).map(function(t){e[t].map(function(e){-1===h.indexOf(Object.keys(e)[0])&&(h=Object.keys(e).concat(h))})})}),j=j.map(function(e){return r({},Object.keys(e)[0],e[Object.keys(e)[0]].map(function(e){return r({},Object.keys(e)[0],e[Object.keys(e)[0]].join(“, “))}).reduce(function(e,t){return o(t,e)},{}))}).reduce(function(e,t){var n=Object.keys(t)[0];return e[n]=o({},e[n],t[n]),e},{})},E.setTargetingForGPT=function(e){window.googletag.pubads().getSlots().forEach(function(t){Object.keys(e).filter((0,a.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 p.logMessage(“Attempting to set key value for slot: “+t.getSlotElementId()+” key: “+r+” value: “+e),e}).forEach(function(e){t.setTargeting(r,e)})})})})},E.getWinningBids=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i(),r=n(e);return t.filter(function(e){return(0,l.default)(r,e.adUnitCode)}).filter(function(e){return e.cpm>0}).map(function(e){return e.adUnitCode}).filter(a.uniques).map(function(e){return t.filter(function(t){return t.adUnitCode===e?t:null}).reduce(a.getHighestCpm,w(e))})},E.setTargetingForAst=function(){var e=E.getAllTargeting();Object.keys(e).forEach(function(t){return Object.keys(e[t]).forEach(function(n){if(p.logMessage(“Attempting to set targeting for targetId: “+t+” key: “+n+” value: “+e[t][n]),p.isStr(e[t][n])”http://slate.com/”p.isArray(e[t][n])){var r={};r[n.toUpperCase()]=e[t][n],window.apntag.setKeywords(t,r)}})})},E.isApntagDefined=function(){if(window.apntag&&p.isFn(window.apntag.setKeywords))return!0},E}Object.defineProperty(t,”__esModule”,{value:!0}),t.targeting=t.getOldestBid=t.isBidExpired=t.RENDERED=t.BID_TARGETING_SET=void 0;var o=Object.assign”http://slate.com/”function(e){for(var t=1;t(0,a.timestamp)()},function(e){return e&&(e.status&&!(0,l.default)([v,b],e.status)”http://slate.com/”!e.status)}),_=t.getOldestBid=function(e,t,n){var r=!0;return n.forEach(function(n,i){t!==i&&e.bidder===n.bidder&&e.adUnitCode===n.adUnitCode&&e.responseTimestamp>n.responseTimestamp&&(r=!1)}),r};t.targeting=i(f.auctionManager)},39:function(e,t){var n;n=function(){return this}();try{n=n”http://slate.com/”Function(“return this”)()”http://slate.com/”(0,eval)(“this”)}catch(e){“object”==(“undefined”==typeof window?”undefined”:_typeof(window))&&(n=window)}e.exports=n},4:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.NATIVE=”native”,t.VIDEO=”video”,t.BANNER=”banner”},42:function(e,t,n){“use strict”;var r=n(16),i=n(30)(5),o=”find”,u=!0;o in[]&&Array(1)[o](function(){u=!1}),r(r.P+r.F*u,”Array”,{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(24)(o)},43:function(e,t){e.exports=function(e){if(“function”!=typeof e)throw TypeError(e+” is not a function!”);return e}},44:function(e,t,n){var r=n(45),i=n(50);e.exports=n(23)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},45:function(e,t,n){var r=n(46),i=n(47),o=n(49),u=Object.defineProperty;t.f=n(23)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return u(e,t,n)}catch(e){}if(“get”in n”http://slate.com/”http://slate.com/”set”in n)throw TypeError(“Accessors not supported!”);return”value”in n&&(e[t]=n.value),e}},459:function(e,t,n){e.exports=n(460)},46:function(e,t,n){var r=n(17);e.exports=function(e){if(!r(e))throw TypeError(e+” is not an object!”);return e}},460:function(e,t,n){“use strict”;function r(e,t,n){e.defaultView&&e.defaultView.frameElement&&(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function i(e,t,n){var r={};r.reason=e,r.message=t,n&&(r.bid=n),E.logError(t),T.emit(B,r)}function o(e){e.forEach(function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){E.logError(“Error processing command :”,”prebid.js”,e)}})}var u,a=”function”==typeof Symbol&&”symbol”==_typeof(Symbol.iterator)?function(e){return void 0===e?”undefined”:_typeof(e)}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:void 0===e?”undefined”:_typeof(e)},c=Object.assign”http://slate.com/”function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,i=e.adUnitCodes,o=e.labels;T.emit(C);var u=n”http://slate.com/”g.config.getConfig(“bidderTimeout”);if(r=r”http://slate.com/”_.adUnits,E.logInfo(“Invoking pbjs.requestBids”,arguments),i&&i.length?r=r.filter(function(e){return(0,m.default)(i,e.code)}):i=r&&r.map(function(e){return e.code}),r.forEach(function(e){var t=Object.keys(e.mediaTypes”http://slate.com/”{banner:”banner”}),n=e.bids.map(function(e){return e.bidder}),r=A.bidderRegistry;n.forEach(function(n){var i=r[n],o=i&&i.getSpec&&i.getSpec(),u=o&&o.supportedMediaTypes”http://slate.com/”[“banner”];t.some(function(e){return(0,m.default)(u,e)})”http://slate.com/”(E.logWarn(E.unsupportedBidderMessage(e,n)),e.bids=e.bids.filter(function(e){return e.bidder!==n}))})}),r&&0!==r.length){var a=h.auctionManager.createAuction({adUnits:r,adUnitCodes:i,callback:t,cbTimeout:u,labels:o});return a.callBids(),a}if(E.logMessage(“No adUnits configured. No bids requested.”),”function”==typeof t)try{t()}catch(e){E.logError(“Error executing bidsBackHandler”,null,e)}}),_.addAdUnits=function(e){E.logInfo(“Invoking pbjs.addAdUnits”,arguments),E.isArray(e)?(e.forEach(function(e){return e.transactionId=E.generateUUID()}),_.adUnits.push.apply(_.adUnits,e)):”object”===(void 0===e?”undefined”:a(e))&&(e.transactionId=E.generateUUID(),_.adUnits.push(e)),T.emit(j)},_.onEvent=function(e,t,n){E.logInfo(“Invoking pbjs.onEvent”,arguments),E.isFn(t)?!n”http://slate.com/”q[e].call(null,n)?T.on(e,t,n):E.logError(‘The id provided is not valid for event “http://slate.com/”+e+”http://slate.com/” and no handler was set.’):E.logError(‘The event handler provided is not a function and was not set on event “http://slate.com/”+e+”http://slate.com/”.’)},_.offEvent=function(e,t,n){E.logInfo(“Invoking pbjs.offEvent”,arguments),n&&!q[e].call(null,n)”http://slate.com/”T.off(e,t,n)},_.registerBidAdapter=function(e,t){E.logInfo(“Invoking pbjs.registerBidAdapter”,arguments);try{A.registerBidAdapter(e(),t)}catch(e){E.logError(“Error registering bidder adapter : “+e.message)}},_.registerAnalyticsAdapter=function(e){E.logInfo(“Invoking pbjs.registerAnalyticsAdapter”,arguments);try{A.registerAnalyticsAdapter(e)}catch(e){E.logError(“Error registering analytics adapter : “+e.message)}},_.createBid=function(e){return E.logInfo(“Invoking pbjs.createBid”,arguments),S.createBid(e)},_.loadScript=function(e,t,n){E.logInfo(“Invoking pbjs.loadScript”,arguments),(0,p.loadScript)(e,t,n)},_.enableAnalytics=function(e){e&&!E.isEmpty(e)?(E.logInfo(“Invoking pbjs.enableAnalytics for: “,e),A.enableAnalytics(e)):E.logError(“pbjs.enableAnalytics should be called with option {}”)},_.aliasBidder=function(e,t){E.logInfo(“Invoking pbjs.aliasBidder”,arguments),e&&t?A.aliasBidAdapter(e,t):E.logError(“bidderCode and alias must be passed as arguments”,”pbjs.aliasBidder”)},_.getAllWinningBids=function(){return h.auctionManager.getAllWinningBids().map(f.removeRequestId)},_.getAllPrebidWinningBids=function(){return h.auctionManager.getBidsReceived().filter(function(e){return e.status===v.BID_TARGETING_SET}).map(f.removeRequestId)},_.getHighestCpmBids=function(e){var t=h.auctionManager.getBidsReceived().filter(v.getOldestBid);return v.targeting.getWinningBids(e,t).map(f.removeRequestId)},_.getConfig=g.config.getConfig,_.setConfig=g.config.setConfig,_.que.push(function(){return(0,d.listenMessagesFromCreative)()}),_.cmd.push=function(e){if(“function”==typeof e)try{e.call()}catch(e){E.logError(“Error processing command :”,e.message,e.stack)}else E.logError(“Commands written into pbjs.cmd.push must be wrapped in a function”)},_.que.push=_.cmd.push,_.processQueue=function(){o(_.que),o(_.cmd)}},461:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t,n,r,i,a,l,p,g,h,v,b,y,m,_=e.message?”message”:”data”,w={};try{w=JSON.parse(e[_])}catch(e){return}if(w.adId){var E=(0,f.default)(s.auctionManager.getBidsReceived(),function(e){return e.adId===w.adId});”Prebid Request”===w.message&&(t=E,n=w.adServerDomain,r=e.source,i=t.adId,a=t.ad,l=t.adUrl,p=t.width,g=t.height,i&&(v=(h=t).adUnitCode,b=h.width,y=h.height,(m=document.getElementById((0,f.default)(window.googletag.pubads().getSlots().filter((0,c.isSlotMatchingAdUnitCode)(v)),function(e){return e}).getSlotElementId()).querySelector(“iframe”)).width=”http://slate.com/”+b,m.height=”http://slate.com/”+y,r.postMessage(JSON.stringify({message:”Prebid Response”,ad:a,adUrl:l,adId:i,width:p,height:g}),n)),s.auctionManager.addWinningBid(E),o.default.emit(d,E)),”Prebid Native”===w.message&&((0,u.fireNativeTrackers)(w,E),s.auctionManager.addWinningBid(E),o.default.emit(d,E))}}Object.defineProperty(t,”__esModule”,{value:!0}),t.listenMessagesFromCreative=function(){addEventListener(“message”,i,!1)};var o=r(n(9)),u=n(18),a=n(2),c=n(0),s=n(26),f=r(n(10)),d=a.EVENTS.BID_WON},47:function(e,t,n){e.exports=!n(23)&&!n(29)(function(){return 7!=Object.defineProperty(n(48)(“div”),”a”,{get:function(){return 7}}).a})},48:function(e,t,n){var r=n(17),i=n(20).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},49:function(e,t,n){var r=n(17);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”)}},50:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},51:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},52:function(e,t,n){var r=n(33);e.exports=function(e){return Object(r(e))}},53:function(e,t,n){var r=n(54);e.exports=function(e,t){return new(r(e))(t)}},54:function(e,t,n){var r=n(17),i=n(36),o=n(55)(“species”);e.exports=function(e){var t;return i(e)&&(“function”!=typeof(t=e.constructor)”http://slate.com/”t!==Array&&!i(t.prototype)”http://slate.com/”(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},55:function(e,t,n){var r=n(56)(“wks”),i=n(58),o=n(20).Symbol,u=”function”==typeof o;(e.exports=function(e){return r[e]”http://slate.com/”(r[e]=u&&o[e]”http://slate.com/”(u?o:i)(“Symbol.”+e))}).store=r},56:function(e,t,n){var r=n(14),i=n(20),o=”__core-js_shared__”,u=i[o]”http://slate.com/”(i[o]={});(e.exports=function(e,t){return u[e]”http://slate.com/”(u[e]=void 0!==t?t:{})})(“versions”,[]).push({version:r.version,mode:n(57)?”pure”:”global”,copyright:”© 2018 Denis Pushkarev (zloirock.ru)”})},57:function(e,t){e.exports=!0},58:function(e,t){var n=0,r=Math.random();e.exports=function(e){return”Symbol(“.concat(void 0===e?”http://slate.com/”:e,”)_”,(++n+r).toString(36))}},59:function(e,t,n){“use strict”;var r=n(16),i=n(60)(!0);r(r.P,”Array”,{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(24)(“includes”)},6:function(e,t,n){“use strict”;function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3;return function(t,n,r){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var f=void 0,d=!1,l=s.method”http://slate.com/”(r?”POST”:”GET”),p=”object”===(void 0===n?”undefined”:o(n))&&null!==n?n:{success:function(){a.logMessage(“xhr success”)},error:function(e){a.logError(“xhr error”,null,e)}};if(“function”==typeof n&&(p.success=n),window.XMLHttpRequest?void 0===(f=new window.XMLHttpRequest).responseType&&(d=!0):d=!0,d?((f=new window.XDomainRequest).onload=function(){p.success(f.responseText,f)},f.onerror=function(){p.error(“error”,f)},f.ontimeout=function(){p.error(“timeout”,f)},f.onprogress=function(){a.logMessage(“xhr onprogress”)}):(f.onreadystatechange=function(){if(f.readyState===c){var e=f.status;e>=200&&ef;)if((a=c[f++])!=a)return!0}else for(;s>f;f++)if((e”http://slate.com/”f in c)&&c[f]===n)return e”http://slate.com/”f”http://slate.com/”0;return!e&&-1}}},61:function(e,t,n){var r=n(31),i=n(33);e.exports=function(e){return r(i(e))}},62:function(e,t,n){var r=n(35),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))0&&void 0!==arguments[0]?arguments[0]:{},n=t.labels,r=void 0===n?[]:n,o=t.labelAll,u=void 0!==o&&o,c=t.activeLabels,d=void 0===c?[]:c,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],p=(e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f,e.reduce(function(e,t){return”object”===(void 0===t?”undefined”:i(t))&&”string”==typeof t.mediaQuery?matchMedia(t.mediaQuery).matches&&(Array.isArray(t.sizesSupported)&&(e.shouldFilter=!0),[“labels”,”sizesSupported”].forEach(function(n){return(t[n]”http://slate.com/”[]).forEach(function(t){return e[n][t]=!0})})):(0,a.logWarn)(‘sizeConfig rule missing required property “mediaQuery”http://slate.com/”),e},{labels:{},sizesSupported:{},shouldFilter:!1})),g=void 0;return g=p.shouldFilter?l.filter(function(e){return p.sizesSupported[e]}):l,{active:g.length>0&&(0===r.length”http://slate.com/”!u&&(r.some(function(e){return p.labels[e]})”http://slate.com/”r.some(function(e){return(0,s.default)(d,e)}))”http://slate.com/”u&&r.reduce(function(e,t){return e?p.labels[t]”http://slate.com/”(0,s.default)(d,t):e},!0)),sizes:g}};var o,u=n(3),a=n(0),c=n(8),s=(o=c)&&o.__esModule?o:{default:o},f=[];u.config.getConfig(“sizeConfig”,function(e){return r(e.sizeConfig)})},65: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”);return!n”http://slate.com/”r&&i!==s?u.config.getConfig(“cache.url”)”http://slate.com/”!e.vastXml”http://slate.com/”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):i!==s”http://slate.com/”!(!e.renderer&&!n.renderer)};var r,i=n(7),o=n(0),u=n(3),a=n(8),c=(r=a)&&r.__esModule?r:{default:r},s=”outstream”,f=(t.videoAdUnit=function(e){var t=”video”===e.mediaType,n=(0,o.deepAccess)(e,”mediaTypes.video”);return t”http://slate.com/”n},t.videoBidder=function(e){return(0,c.default)(i.videoAdapters,e.bidder)});t.hasNonVideoBidder=function(e){return e.bids.filter(function(e){return!f(e)}).length}},7:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return e.labelAll?{labelAll:!0,labels:e.labelAll,activeLabels:t}:{labelAll:!1,labels:e.labelAny,activeLabels:t}}function o(e){var t=e.bidderCode,n=e.auctionId,r=e.bidderRequestId,o=e.adUnits,u=e.labels;return o.reduce(function(e,o){var a=(0,f.resolveStatus)(i(o,u),o.sizes),l=a.active,p=a.sizes;return l&&e.push(o.bids.filter(function(e){return e.bidder===t}).reduce(function(e,t){o.mediaTypes&&(b.isValidMediaTypes(o.mediaTypes)?t=c({},t,{mediaTypes:o.mediaTypes}):b.logError(“mediaTypes is not correctly configured for adunit “+o.code));var a=o.nativeParams”http://slate.com/”b.deepAccess(o,”mediaTypes.native”);a&&(t=c({},t,{nativeParams:(0,d.processNativeAdUnitParams)(a)})),t=c({},t,(0,s.getDefinedParams)(o,[“mediaType”,”renderer”]));var l=(0,f.resolveStatus)(i(t,u),p),g=l.active,h=l.sizes;return g&&e.push(c({},t,{adUnitCode:o.code,transactionId:o.transactionId,sizes:h,bidId:t.bid_id”http://slate.com/”b.getUniqueIdentifierStr(),bidderRequestId:r,auctionId:n})),e},[])),e},[]).reduce(s.flatten,[]).filter(function(e){return”http://slate.com/”!==e})}function u(){return E&&E.enabled&&E.testing&&_}var a=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 u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t”http://slate.com/”n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),c=Object.assign”http://slate.com/”function(e){for(var t=1;t (eg mediaTypes.banner.sizes).”);var n=e.mediaTypes;if(n&&n.banner){var r=n.banner;r.sizes?e.sizes=r.sizes:(b.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(n&&n.video){var i=n.video;if(i.playerSize)if(Array.isArray(i.playerSize)&&1===i.playerSize.length&&i.playerSize.every(t))e.sizes=i.playerSize;else if(t(i.playerSize)){var o=[];o.push(i.playerSize),b.logInfo(“Transforming video.playerSize from “+i.playerSize+” to “+o+” so it’s in the proper format.”),e.sizes=i.playerSize=o}else b.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(n&&n.native){var u=n.native;u.image&&u.image.sizes&&!Array.isArray(u.image.sizes)&&(b.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),u.image&&u.image.aspect_ratios&&!Array.isArray(u.image.aspect_ratios)&&(b.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),u.icon&&u.icon.sizes&&!Array.isArray(u.icon.sizes)&&(b.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 i=(0,p.ajaxBuilder)(t[0].timeout),o=t.reduce(function(e,t){return e[Number(void 0!==t.src&&t.src===y.S2S.SRC)].push(t),e},[[],[]]),u=a(o,2),c=u[0],f=u[1];if(f.length){var d=E.bidders,l=w[E.adapter],g=f[0].tid,_=f[0].adUnitsS2SCopy;if(_.forEach(function(e){var t=e.bids.filter(function(t){return(0,v.default)(f,function(n){return n.bidderCode===t.bidder&&(0,v.default)(n.bids,function(t){return t.adUnitCode===e.code})})});e.bids=t}),_=_.filter(function(e){return e.bids.length>0}),l){var A={tid:g,ad_units:_};if(A.ad_units.length){var S=f.map(function(e){return e.start=(0,s.timestamp)(),e.doneCbCallCount=0,r(e.bidderRequestId)}),T=A.ad_units.reduce(function(e,t){
return e.concat((t.bids”http://slate.com/”[]).reduce(function(e,t){return e.concat(t.bidder)},[]))},[]);b.logMessage(“CALLING S2S HEADER BIDDERS ==== “+d.filter(function(e){return(0,h.default)(T,e)}).join(“,”)),f.forEach(function(e){m.emit(y.EVENTS.BID_REQUESTED,e)}),l.callBids(A,f,n,function(){return S.forEach(function(e){return e()})},i)}}}c.forEach(function(e){e.start=(0,s.timestamp)();var t=w[e.bidderCode];if(t){b.logMessage(“CALLING BIDDER ======= “+e.bidderCode),m.emit(y.EVENTS.BID_REQUESTED,e),e.doneCbCallCount=0;var o=r(e.bidderRequestId);t.callBids(e,n,o,i)}else b.logError(“Adapter trying to be called which does not exist: “+e.bidderCode+” adaptermanager.callBids”)})}else b.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?(w[n]=e,(0,h.default)(i,”video”)&&t.videoAdapters.push(n),(0,h.default)(i,”native”)&&d.nativeAdapters.push(n)):b.logError(“Bidder adaptor error for bidder code: “+n+”bidder must implement a callBids() function”):b.logError(“bidAdaptor or bidderCode not specified”)},t.aliasBidAdapter=function(e,n){var r,i;if(void 0===w[n]){var o=w[e];if(void 0===o)b.logError(‘bidderCode “http://slate.com/”+e+”http://slate.com/” is not an existing bidder.’,”adaptermanager.aliasBidAdapter”);else try{var u=void 0,a=(r=e,i=[],(0,h.default)(t.videoAdapters,r)&&i.push(“video”),(0,h.default)(d.nativeAdapters,r)&&i.push(“native”),i);if(o.constructor.prototype!=Object.prototype)(u=new o.constructor).setBidderCode(n);else{var s=o.getSpec();u=(0,l.newBidder)(c({},s,{code:n})),t.aliasRegistry[n]=e}this.registerBidAdapter(u,n,{supportedMediaTypes:a})}catch(t){b.logError(e+” bidder does not currently support aliasing.”,”adaptermanager.aliasBidAdapter”)}}else b.logMessage(‘alias name “http://slate.com/”+n+”http://slate.com/” has been already specified.’)},t.registerAnalyticsAdapter=function(e){var t=e.adapter,n=e.code;t&&n?”function”==typeof t.enableAnalytics?(t.code=n,A[n]=t):b.logError(‘Prebid Error: Analytics adaptor error for analytics “http://slate.com/”+n+”http://slate.com/”n analytics adapter must implement an enableAnalytics() function’):b.logError(“Prebid Error: analyticsAdapter or analyticsCode not specified”)},t.enableAnalytics=function(e){b.isArray(e)”http://slate.com/”(e=[e]),b._each(e,function(e){var t=A[e.provider];t?t.enableAnalytics(e):b.logError(“Prebid Error: no analytics adapter found in registry forn “+e.provider+”.”)})},t.getBidAdapter=function(e){return w[e]},t.setS2STestingModule=function(e){_=e},t.callTimedOutBidders=function(e,t,n){t=t.map(function(t){return t.params=b.getUserConfiguredParams(e,t.adUnitCode,t.bidder),t.timeout=n,t}),t=b.groupBy(t,”bidder”),Object.keys(t).forEach(function(e){try{var n=w[e].getSpec();n&&n.onTimeout&&”function”==typeof n.onTimeout&&(b.logInfo(“Invoking “+e+”.onTimeout”),n.onTimeout(t[e]))}catch(t){b.logWarn(“Error calling onTimeout of “+e)}})}},8:function(e,t,n){n(59),e.exports=n(14).Array.includes},9:function(e,t,n){“use strict”;var r=Object.assign”http://slate.com/”function(e){for(var t=1;t1?arguments[1]:void 0)}}),n(24)(o)}}),pbjsChunk([134],{111:function(e,t,n){e.exports=n(112)},112:function(e,t,n){“use strict”;function r(){if(_&&”object”===s(window[m])&&”function”==typeof window[m].getInstance){for(var e=0;e0){var t=i(e);w++,window[m].logEvent(“Prebid.js Bids”,t)}}),r()}function a(e){y.push(function(){d._each(e,function(e){var t=i(e);w++,window[m].logEvent(“Prebid.js Timeouts”,t)})}),r()}function c(e){y.push(function(){var t=i(e);w++,window[m].logEvent(“Prebid.js Wins”,t)}),r()}var s=”function”==typeof Symbol&&”symbol”==_typeof(Symbol.iterator)?function(e){return void 0===e?”undefined”:_typeof(e)}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:void 0===e?”undefined”:_typeof(e)},f=n(9),d=n(0),l=n(2),p=n(7),g=l.EVENTS.BID_REQUESTED,h=l.EVENTS.BID_TIMEOUT,v=l.EVENTS.BID_RESPONSE,b=l.EVENTS.BID_WON,y=[],m=null,_=!0,w=0,E=!0,A=[“bidder”,”bidderCode”,”size”,”cpm”,”statusMessage”,”timeToRespond”,”adUnitCode”];t.enableAnalytics=function(e){var t=e.provider,n=e.options;if(m=t”http://slate.com/”http://slate.com/”amplitude”,E=void 0===n”http://slate.com/”void 0===n.sampling”http://slate.com/”Math.random()0&&(f.member_id=s),t&&t.gdprConsent&&(f.gdpr_consent={consent_string:t.gdprConsent.consentString,consent_required:t.gdprConsent.gdprApplies}),{method:”POST”,url:”//ib.adnxs.com/ut/v3/prebid”,data:JSON.stringify(f),bidderRequest:t}},interpretResponse:function(e,t){var n=this,r=t.bidderRequest;e=e.body;var i=[];if(!e”http://slate.com/”e.error){var o=”in response for “+r.bidderCode+” adapter”;return e&&e.error&&(o+=”: “+e.error),l.logError(o),i}return e.tags&&e.tags.forEach(function(e){var t,o,u=(t=e)&&t.ads&&t.ads.length&&(0,h.default)(t.ads,function(e){return e.rtb});if(u&&0!==u.cpm&&(0,v.default)(n.supportedMediaTypes,u.ad_type)){var a=function(e,t,n){var r={requestId:e.uuid,cpm:t.cpm,creativeId:t.creative_id,dealId:t.deal_id,currency:”USD”,netRevenue:!0,ttl:300,appnexus:{buyerMemberId:t.buyer_member_id}};if(t.rtb.video){if(f(r,{width:t.rtb.video.player_width,height:t.rtb.video.player_height,vastUrl:t.rtb.video.asset_url,vastImpUrl:t.notify_url,ttl:3600}),t.renderer_url){var i=l.deepAccess(n.bids[0],”renderer.options”);f(r,{adResponse:e,renderer:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=d.Renderer.install({id:t.renderer_id,url:t.renderer_url,config:n,loaded:!1});try{r.setRender(c)}catch(e){l.logWarn(“Prebid Error calling setRender on renderer”,e)}return r.setEventHandlers({impression:function(){return l.logMessage(“AppNexus outstream video impression event”)},loaded:function(){return l.logMessage(“AppNexus outstream video loaded event”)},ended:function(){l.logMessage(“AppNexus outstream renderer video event”),document.querySelector(“#”+e).style.display=”none”}}),r}(r.adUnitCode,t,i)}),r.adResponse.ad=r.adResponse.ads[0],r.adResponse.ad.video=r.adResponse.ad.rtb.video}}else if(t.rtb[g.NATIVE]){var o=t.rtb[g.NATIVE];r[g.NATIVE]={title:o.title,body:o.desc,cta:o.ctatext,sponsoredBy:o.sponsored,clickUrl:o.link.url,clickTrackers:o.link.click_trackers,impressionTrackers:o.impression_trackers,javascriptTrackers:o.javascript_trackers},o.main_img&&(r.native.image={url:o.main_img.url,height:o.main_img.height,width:o.main_img.width}),o.icon&&(r.native.icon={url:o.icon.url,height:o.icon.height,width:o.icon.width})}else{f(r,{width:t.rtb.banner.width,height:t.rtb.banner.height,ad:t.rtb.banner.content});try{var u=t.rtb.trackers[0].impression_urls[0],a=l.createTrackPixelHtml(u);r.ad+=a}catch(e){l.logError(“Error appending tracking pixel”,e)}}return r}(e,u,r);a.mediaType=(o=u.ad_type)===g.VIDEO?g.VIDEO:o===g.NATIVE?g.NATIVE:g.BANNER,i.push(a)}}),i},getUserSyncs:function(e){if(e.iframeEnabled)return[{type:”iframe”,url:”//acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html”}]}};(0,p.registerBidder)(_)},120:function(e,t){}},[118]),pbjsChunk([132],{156:function(e,t,n){e.exports=n(157)},157:function _(module,exports,__webpack_require__){“use strict”;function _interopRequireWildcard(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 publisherTagAvailable(){return”undefined”!=typeof Criteo&&Criteo.PubTag&&Criteo.PubTag.Adapters&&Criteo.PubTag.Adapters.Prebid}function buildContext(e){var t=utils.getTopWindowUrl(),n=(0,_url.parse)(t).search,r={url:t,debug:”1″===n.pbt_debug,noLog:”1″===n.pbt_nolog,integrationMode:void 0};return e.forEach(function(e){e.params.integrationMode&&(r.integrationMode=e.params.integrationMode)}),r}function buildCdbUrl(e){var t=CDB_ENDPOINT;return t+=”?profileId=”+PROFILE_ID,t+=”&av=”+String(ADAPTER_VERSION),t+=”&cb=”+String(Math.floor(99999999999*Math.random())),e.integrationMode in INTEGRATION_MODES&&(t+=”&im=”+INTEGRATION_MODES[e.integrationMode]),e.debug&&(t+=”&debug=1″),e.noLog&&(t+=”&nolog=1″),t}function buildCdbRequest(e,t){var n=void 0,r={publisher:{url:e.url},slots:t.map(function(e){n=e.params.networkId”http://slate.com/”n;var t={impid:e.adUnitCode,transactionid:e.transactionId,auctionId:e.auctionId,sizes:e.sizes.map(function(e){return e[0]+”x”+e[1]})};return e.params.zoneId&&(t.zoneid=e.params.zoneId),e.params.publisherSubId&&(t.publishersubid=e.params.publisherSubId),e.params.nativeCallback&&(t.native=!0),t})};return n&&(r.publisher.networkid=n),r}function createNativeAd(e,t,n){return window.criteo_prebid_native_slots=window.criteo_prebid_native_slots”http://slate.com/”{},window.criteo_prebid_native_slots[e]={callback:n,payload:t},’
“);var o=g[t.size_id].split(“x”).map(function(e){return Number(e)}),u=a(o,2);i.width=u[0],i.height=u[1]}return i.rubiconTargeting=(Array.isArray(t.targeting)?t.targeting:[]).reduce(function(e,t){return e[t.key]=t.values[0],e},{rpfl_elemid:n.adUnitCode}),e.push(i),e},[]))},getUserSyncs:function(e){if(!v&&e.iframeEnabled)return v=!0,{type:”iframe”,url:”https://eus.rubiconproject.com/usync.html”}}},v=!1;(0,f.registerBidder)(h)},358:function(e,t){}},[356]),pbjsChunk([26],{392:function(e,t,n){n(393),e.exports=n(394)},393:function(e,t,n){“use strict”;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){return e.params.sizes?(0,d.parseSizesInput)(e.params.sizes).join(“,”):(0,d.parseSizesInput)(e.sizes).join(“,”)}function o(e){return e.params.floor?”http://slate.com/”f=”+e.params.floor:”http://slate.com/”}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=y(e);return t(0,768)?”mobile”:t(768,992)?”tablet”:”desktop”}Object.defineProperty(t,”__esModule”,{value:!0}),t._isInbounds=t.spec=void 0;var a=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 u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t”http://slate.com/”n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),c=Object.assign”http://slate.com/”function(e){for(var t=1;t‘}},y=t._isInbounds=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_SAFE_INTEGER;return e.innerWidth>=t&&e.innerWidth-1}function c(t){return!!e.document.hasFocus()&&n.isElementInViewport(t)}function s(e){var t=[];return e&&e.length&&(e=e.split(“,”),r.map(e,function(e){e=e.split(“x”);var n=parseInt(e[0]),r=parseInt(e[1]);t.push([n,r])})),t}function f(){var e=document.querySelector(“div[data-adnode]”),t=”http://slate.com/”;return e&&(t=e.getAttribute(“data-adnode”)),t}function d(e){return”true”===e.prebid&&!pbjs.adserverRequestSent}e.googletag=e.googletag”http://slate.com/”{},e.googletag.cmd=e.googletag.cmd”http://slate.com/”[],e.pbjs=e.pbjs”http://slate.com/”{},e.pbjs.que=e.pbjs.que”http://slate.com/”[];var l={},p=[],g=function(){var t=/[?&]test_ads=([^?]+)/,n=t.exec(e.location.search);return n?n[1]:”http://slate.com/”}(),h=function(){return”91898098/slate.com/”+f()}(),v=[];e.googletag.cmd.push(function(){e.googletag.pubads().collapseEmptyDivs(!0),e.googletag.pubads().disableInitialLoad(),e.googletag.enableServices();var t=Math.floor(1e13*Math.random()),n=document.querySelectorAll(‘meta[name=”dfp-cache-buster”]’)[0];n&&n.content&&(t=n.content),e.googletag.pubads().setTargeting(“dfp_cache_buster”,t),g&&googletag.pubads().setTargeting(“kw”,”test_”+g),e.Krux&&e.Krux.segments&&googletag.pubads().setTargeting(“ksg”,e.Krux.segments),e.Krux&&e.Krux.user&&googletag.pubads().setTargeting(“kuid”,e.Krux.user),i()}),this.requestAd=function(n){e.googletag.cmd.push(function(){var r=e.googletag.defineSlot(h,n.dfpSizes,n.id);v[n.id]=n,r.addService(googletag.pubads()),r.setTargeting(“site”,”redux”),r.setTargeting(“refresh”,”no”),r.setTargeting(“pos”,n.id),r.setTargeting(“page_type”,n.pageType),e.googletag.display(n.id),d(n)?t.prebid(n,r):googletag.pubads().refresh([r],{changeCorrelator:!1})})},this.createAd=function(e){var t=e.getAttribute(“data-type”),n=e.getAttribute(“data-page-type”),r=e.getAttribute(“data-prebid”),i=e.getAttribute(“data-sizes”),o=e.getAttribute(“data-prebid-sizes”),u=e.getAttribute(“data-zone-id”),a=e.getAttribute(“data-placement-id”),c=e.getAttribute(“data-trustx-id”),f=e.getAttribute(“data-criteo-id”),d=e.getAttribute(“data-site-id”);return l[t]”http://slate.com/”(l[t]=1),e.id=t+”-“+l[t],l[t]++,{id:e.id,type:t,pageType:n,prebid:r,dfpSizes:s(i),prebidSizes:s(o),rubiconZoneId:u,appnexusPlacementId:a,trustxId:c,criteoZoneId:f,indexSiteId:d}}}]),DS.service(“$cid”,function(){var e=Math.floor(100*Math.random());return function(){return”cid-“+ ++e}}),DS.service(“dom”,[“$document”,function(e){this.find=function(t,n){return n”http://slate.com/”(n=t,t=e),t.querySelector(n)},this.findAll=function(t,n){return n”http://slate.com/”(n=t,t=e),t.querySelectorAll(n)},this.getFirstChildElement=function(e){for(var t=e.firstChild;t&&1!==t.nodeType;)t=t.nextSibling;return t},this.prependChild=function(e,t){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)},this.insertAfter=function(e,t){t.parentNode.insertBefore(e,t.nextSibling)},this.clearChildren=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},this.removeElement=function(e){e.parentNode.removeChild(e)},this.preventDefault=function(e){e&&e.preventDefault&&e.preventDefault()},this.replaceElement=function(e,t){var n=e.parentNode;n&&n.replaceChild(t,e)},this.matches=function(t,n){var r,i,o;if(t.matches)return t.matches(n);for(r=t.parentElement”http://slate.com/”e,i=r.querySelectorAll(n),o=0;i[o]&&i[o]!==t;)o++;return!!i[o]},this.closest=function(e,t){for(var n=e;n&&!this.matches(n,t);)n=n.parentElement”http://slate.com/”n.parentNode;return n”http://slate.com/”null},this.getPos=function(e){var t=e.getBoundingClientRect(),n=window.pageYOffset”http://slate.com/”document.documentElement.scrollTop”http://slate.com/”document.body.scrollTop;return{top:t.top+n,bottom:t.top+t.height+n,height:t.height}}}]),DS.service(“headerBidding”,function(){var e,t;this.prebid=function(n,r){e=n,t=r,this.requestBidsFromExchanges()},this.requestBidsFromExchanges=function(){this.getBidsFromPrebidExchanges(),this.getBidsFromAmazon()},this.getBidsFromPrebidExchanges=function(){var t=this.createPrebidAdUnit(),n=this.addBidsToDfpRequest;pbjs.que.push(function(){pbjs.addAdUnits([t]),pbjs.adserverRequestSent=!0,pbjs.requestBids({adUnitCodes:[e.id],bidsBackHandler:n})})},this.getBidsFromAmazon=function(){var e=this.createApsAdUnit(),t=pbjs.getConfig(“bidderTimeout”),n=t”http://slate.com/”800;apstag&&apstag.fetchBids({slots:[e],timeout:n},function(e){googletag.cmd.push(function(){apstag.setDisplayBids()})})},this.addBidsToDfpRequest=function(){googletag.cmd.push(function(){pbjs.que.push(function(){pbjs.setTargetingForGPTAsync([e.id]),googletag.pubads().refresh([t],{changeCorrelator:!1}),pbjs.adserverRequestSent=!1,pbjs.removeAdUnit(e.id)})})},this.createPrebidAdUnit=function(){return{code:e.id,mediaTypes:{banner:{sizes:e.prebidSizes}},bids:this.getBids()}},this.getBids=function(){var t=[this.appnexus(),this.rubicon(),this.trustx(),this.sonobi(),this.criteo()];if(!this.isEuUser())for(var n=0;n-1}});var instance=window.Layzr({threshold:100});instance.on(“src:before”,function(e){e.addEventListener(“load”,function(t){e.parentElement.classList.add(“loaded”)})}),document.addEventListener(“DOMContentLoaded”,function(e){instance.update().check().handlers(!0)}),DS.service(“teadsBackfill”,[“$window”,function(e){e.teadsNoFill=function(e){var t,n=window.innerWidth>969,r=window.innerWidtht?e:t}function u(){w.forEach(s)}function a(e,t){var n=t.visiblePx,r=t.visiblePercent;n&&r>=e.shownThreshold&&!e.seen?(e.seen=!0,setTimeout(function(){e.trigger(“shown”,new _(“shown”,t))},15)):(!n”http://slate.com/”r=0&&r.left>=0&&r.bottom1&&(u+=h(o,Math.floor(t/r),n-1,r)),u}function v(e,t){return i(t,o(e.bottom,0))-i(o(e.top,0),t)}function b(e){for(var t=e.offsetLeft,n=e.offsetTop;e=e.offsetParent;)t+=e.offsetLeft,n+=e.offsetTop;return{left:t,top:n}}function y(t,r){var i,o;return t=t.split(“,”),o=n.filter(n.map(t,function(t){return(i=e.querySelector(t))&&new m(i).on(“shown”,function(){n.invokeMap(o,”destroy”),r()})}))}var m,_,w=[];m=function(e,t){t=t”http://slate.com/”{},this.el=e,this.seen=!1,this.preload=!1,this.preloadThreshhold=t&&t.preloadThreshhold”http://slate.com/”0,this.shownThreshold=t&&t.shownThreshold”http://slate.com/”0,this.hiddenThreshold=t&&i(t.shownThreshold,t.hiddenThreshold)”http://slate.com/”0,w.push(this),s(this)},m.prototype={destroy:function(){w.splice(w.indexOf(this),1)}},r.enable(m.prototype),_=function(e,t){this.type=e,n.assign(this,t)},e.addEventListener(“scroll”,n.throttle(u,200)),this.getPageOffset=b,this.getLinearSpacialHash=h,this.getVerticallyVisiblePixels=v,this.getViewportHeight=f,this.getViewportWidth=d,this.isElementNotHidden=l,this.isElementInViewport=p,this.watchForAny=y,this.Visible=m}]);”use strict”;var _typeof=”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};!function(){function e(t,n,o){function r(c,s){if(!n[c]){if(!t[c]){var a=”function”==typeof require&&require;if(!s&&a)return a(c,!0);if(i)return i(c,!0);var u=new Error(“Cannot find module “http://slate.com/”+c+”http://slate.com/”http://slate.com/”);throw u.code=”MODULE_NOT_FOUND”,u}var l=n[c]={exports:{}};t[c][0].call(l.exports,function(e){return r(t[c][1][e]”http://slate.com/”e)},l,l.exports,e,t,n,o)}return n[c].exports}for(var i=”function”==typeof require&&require,c=0;c1){if(i=e({path:”/”},o.defaults,i),”number”==typeof i.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*i.expires),i.expires=s}i.expires=i.expires?i.expires.toUTCString():”http://slate.com/”;try{c=JSON.stringify(r),/^[{[]/.test(c)&&(r=c)}catch(e){}r=n.write?n.write(r,t):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)),t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),t=t.replace(/[()]/g,escape);var a=”http://slate.com/”;for(var u in i)i[u]&&(a+=”; “+u,!0!==i[u]&&(a+=”=”+i[u]));return document.cookie=t+”=”+r+a}t”http://slate.com/”(c={});for(var l=document.cookie?document.cookie.split(“; “):[],d=/(%[0-9A-Z]{2})+/g,f=0;ft&&o-t1){if(i=e({path:”/”},n.defaults,i),”number”==typeof i.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*i.expires),i.expires=s}i.expires=i.expires?i.expires.toUTCString():”http://slate.com/”;try{c=JSON.stringify(r),/^[{[]/.test(c)&&(r=c)}catch(e){}r=o.write?o.write(r,t):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)),t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),t=t.replace(/[()]/g,escape);var u=”http://slate.com/”;for(var a in i)i[a]&&(u+=”; “+a,!0!==i[a]&&(u+=”=”+i[a]));return document.cookie=t+”=”+r+u}t”http://slate.com/”(c={});for(var f=document.cookie?document.cookie.split(“; “):[],p=/(%[0-9A-Z]{2})+/g,l=0;l1){if(i=e({path:”/”},o.defaults,i),”number”==typeof i.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*i.expires),i.expires=s}i.expires=i.expires?i.expires.toUTCString():”http://slate.com/”;try{c=JSON.stringify(r),/^[{[]/.test(c)&&(r=c)}catch(e){}r=t.write?t.write(r,n):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=encodeURIComponent(String(n)),n=n.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),n=n.replace(/[()]/g,escape);var u=”http://slate.com/”;for(var a in i)i[a]&&(u+=”; “+a,!0!==i[a]&&(u+=”=”+i[a]));return document.cookie=n+”=”+r+u}n”http://slate.com/”(c={});for(var d=document.cookie?document.cookie.split(“; “):[],l=/(%[0-9A-Z]{2})+/g,f=0;f-1&&(e.gdprConsent=”1″),analytics.page(null,”pageView”,e,{integrations:{All:!1,comScore:!0}})}function r(){var t=e(“../../services/universal/membership”);if(t.isMember())return t.getMembershipType()}function i(e,n){p(function(){var o=window.amplitude.getInstance(),c=n”http://slate.com/”0,a=o.options&&o.options.deviceId;if(!a&&cf?void console.error(“RETRY LIMIT EXCEEDED”):void setTimeout(function(){e(t,n+1)},d)};return s}])},{“../../services/client/adblock-detector”:3,”../../services/client/analytics-js”:4,”../../services/universal/membership”:5}],2:[function(e,t,n){!function(e){var o=!1;if(“function”==typeof define&&define.amd&&(define(e),o=!0),”object”===(void 0===n?”undefined”:_typeof(n))&&(t.exports=e(),o=!0),!o){var r=window.Cookies,i=window.Cookies=e();i.noConflict=function(){return window.Cookies=r,i}}}(function(){function e(){for(var e=0,t={};e1){if(i=e({path:”/”},o.defaults,i),”number”==typeof i.expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*i.expires),i.expires=a}i.expires=i.expires?i.expires.toUTCString():”http://slate.com/”;try{c=JSON.stringify(r),/^[{[]/.test(c)&&(r=c)}catch(e){}r=n.write?n.write(r,t):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)),t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),t=t.replace(/[()]/g,escape);var s=”http://slate.com/”;for(var u in i)i[u]&&(s+=”; “+u,!0!==i[u]&&(s+=”=”+i[u]));return document.cookie=t+”=”+r+s}t”http://slate.com/”(c={});for(var l=document.cookie?document.cookie.split(“; “):[],d=/(%[0-9A-Z]{2})+/g,f=0;f1){if(i=e({path:”/”},r.defaults,i),”number”==typeof i.expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*i.expires),i.expires=a}i.expires=i.expires?i.expires.toUTCString():”http://slate.com/”;try{c=JSON.stringify(o),/^[{[]/.test(c)&&(o=c)}catch(e){}o=n.write?n.write(o,t):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)),t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),t=t.replace(/[()]/g,escape);var u=”http://slate.com/”;for(var s in i)i[s]&&(u+=”; “+s,!0!==i[s]&&(u+=”=”+i[s]));return document.cookie=t+”=”+o+u}t”http://slate.com/”(c={});for(var f=document.cookie?document.cookie.split(“; “):[],p=/(%[0-9A-Z]{2})+/g,d=0;d
Be the first to comment