‘:””},t.getDefinedParams=function(e,t){return t.filter(function(t){return e[t]}).reduce(function(t,n){return l(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,b.default)(t,e)})&&(!e.video||!e.video.context||(0,b.default)([“instream”,”outstream”],e.video.context))},t.getBidderRequest=function(e,t,n){return(0,v.default)(e,function(e){return e.bids.filter(function(e){return e.bidder===t&&e.adUnitCode===n}).length>0})||{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(s,[]).filter(function(e){return e.bidder===n}).map(function(e){return e.params||{}})},t.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+”//”+window.location.hostname+(window.location.port?”:”+window.location.port:””)},t.getDNT=function(){return”1″===navigator.doNotTrack||”1″===window.doNotTrack||”1″===navigator.msDoNotTrack||”yes”===navigator.doNotTrack},t.isAdUnitCodeMatchingSlot=function(e){return function(t){return B(e,t)}},t.isSlotMatchingAdUnitCode=function(e){return function(t){return B(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=l({},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(/^_/,””)},t.transformBidderParamKeywords=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:”keywords”,r=[];return t._each(e,function(e,i){if(t.isArray(e)){var o=[];t._each(e,function(e){(e=t.getValueString(n+”.”+i,e))&&o.push(e)}),e=o}else{if(e=t.getValueString(n+”.”+i,e),!t.isStr(e))return;e=[e]}r.push({key:i,value:e})}),r},t.convertTypes=function(e,n){return Object.keys(e).forEach(function(r){var i,o;n[r]&&(t.isFn(e[r])?n[r]=e[r](n[r]):n[r]=(i=e[r],o=n[r],”string”===i?o&&o.toString():”number”===i?Number(o):o),isNaN(n[r])&&delete n.key)}),n};var g=n(3),h=r(n(63)),v=r(n(10)),b=r(n(5)),y=n(11),m=n(4),_=!1,A=Object.prototype.toString,w=Boolean(window.console),E=Boolean(w&&window.console.log),S=Boolean(w&&window.console.info),I=Boolean(w&&window.console.warn),T=Boolean(w&&window.console.error);t.replaceTokenInString=function(e,n,r){return t._each(n,function(t,n){t=void 0===t?””:t;var i=r+n.toUpperCase()+r,o=new RegExp(i,”g”);e=e.replace(o,t)}),e};var x,j=(x=0,function(){return++x});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]:””},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?c(e).map(function(t){return t+”=”+encodeURIComponent(d(e,t))}).join(“&”):””},t.getTopWindowLocation=function(){if(t.inIframe()){var e=void 0;try{e=t.getAncestorOrigins()||t.getTopFrameReferrer()}catch(e){logInfo(“could not obtain top window location”,e)}if(e)return(0,y.parse)(e,{decodeSearchAsString:!0})}return t.getWindowLocation()},t.getTopFrameReferrer=function(){try{window.top.location.toString();for(var e=””,t=void 0;(t=t?t.parent:window).document&&t.document.referrer&&(e=t.document.referrer),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=t.getTopWindowLocation().href}catch(t){e=””}return e},t.getTopWindowReferrer=function(){try{return window.top.document.referrer}catch(e){return document.referrer}},t.logMessage=function(){O()&&E&&console.log.apply(console,a(arguments,”MESSAGE:”))},t.logInfo=function(){O()&&S&&console.info.apply(console,a(arguments,”INFO:”))},t.logWarn=function(){O()&&I&&console.warn.apply(console,a(arguments,”WARNING:”))},t.logError=function(){O()&&T&&console.error.apply(console,a(arguments,”ERROR:”))},t.hasConsoleLogger=function(){return E};var O=function(){if(!1===g.config.getConfig(“debug”)&&!1===_){var e=”TRUE”===C(m.DEBUG_MODE).toUpperCase();g.config.setConfig({debug:e}),_=!0}return!!g.config.getConfig(“debug”)};t.debugTurnedOn=O,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=”about:blank”,e.style.display=”none”,e};var C=function(e){var t=new RegExp(“[\\?&]”+e+”=([^]*)”).exec(window.location.search);return null===t?””:decodeURIComponent(t[1].replace(/\+/g,” “))};t.getParameterByName=C,t.hasValidBidRequest=function(e,n,r){function i(e,t){t===n[a]&&(o=!0)}for(var o=!1,a=0;a0);for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0},t.isEmptyStr=function(e){return t.isStr(e)&&(!e||0===e.length)},t._each=function(e,n){if(!t.isEmpty(e)){if(t.isFn(e.forEach))return e.forEach(n,this);var r=0,i=e.length;if(i>0)for(;r‘},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+'”‘),”‘):””},t.getIframeDocument=function(e){if(e){var n=void 0;try{n=e.contentWindow?e.contentWindow.document:e.contentDocument.document?e.contentDocument.document:e.contentDocument}catch(e){
t.logError(“Cannot get iframe document”,e)}return n}},t.getValueString=function(e,n,r){return null==n?r:t.isStr(n)?n:t.isNumber(n)?n.toString():void t.logWarn(“Unsuported type for param: “+e+” required type: String”)},t.getHighestCpm=f(“timeToRespond”,function(e,t){return e>t}),t.getOldestHighestCpmBid=f(“responseTimestamp”,function(e,t){return e>t}),t.getLatestHighestCpmBid=f(“responseTimestamp”,function(e,t){return e1?arguments[1]:void 0)}}),n(27)(o)},11:function(e,t,n){“use strict”;function r(e){return e?e.replace(/^\?/,””).split(“&”).reduce(function(e,t){var n=t.split(“=”),r=o(n,2),i=r[0],a=r[1];return/\[\]$/.test(i)?(e[i=i.replace(“[]”,””)]=e[i]||[],e[i].push(a)):e[i]=a||””,e},{}):{}}function i(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(“&”)}Object.defineProperty(t,”__esModule”,{value:!0});var o=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”)}}();t.parseQS=r,t.formatQS=i,t.parse=function(e,t){var n=document.createElement(“a”);t&&”noDecodeWholeURL”in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);var i=t&&”decodeSearchAsString”in t&&t.decodeSearchAsString;return{href:n.href,protocol:(n.protocol||””).replace(/:$/,””),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!\/)/,”/”),search:i?n.search:r(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?”?”+i(e.search||””):””)+(e.hash?”#”+e.hash:””)}},12:function(e,t,n){“use strict”;function r(e){var t=this,n=e.url,r=e.config,a=e.id,u=e.callback,s=e.loaded;this.url=n,this.config=r,this.handlers={},this.id=a,this.loaded=s,this.cmd=[],this.push=function(e){“function”==typeof e?t.loaded?e.call():t.cmd.push(e):o.logError(“Commands given to Renderer.push must be wrapped in a function”)},this.callback=u||function(){t.loaded=!0,t.process()},(0,i.loadScript)(n,this.callback,!0)}Object.defineProperty(t,”__esModule”,{value:!0}),t.Renderer=r;var i=n(22),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));r.install=function(e){return new r({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded})},r.prototype.getConfig=function(){return this.config},r.prototype.setRender=function(e){this.render=e},r.prototype.setEventHandlers=function(e){this.handlers=e},r.prototype.handleVideoEvent=function(e){var t=e.id,n=e.eventName;”function”==typeof this.handlers[n]&&this.handlers[n](),o.logMessage(“Prebid Renderer event for id “+t+” type “+n)},r.prototype.process=function(){for(;this.cmd.length>0;)try{this.cmd.shift().call()}catch(e){o.logError(“Error processing Renderer command: “,e)}}},13:function(e,t){var n=e.exports={version:”2.5.3″};”number”==typeof __e&&(__e=n)},14:function(e,t,n){var r=n(19),i=n(13),o=n(32),a=n(47),u=”prototype”,s=function e(t,n,s){var c,d,f,l=t&e.F,p=t&e.G,g=t&e.S,h=t&e.P,v=t&e.B,b=t&e.W,y=p?i:i[n]||(i[n]={}),m=y[u],_=p?r:g?r[n]:(r[n]||{})[u];for(c in p&&(s=n),s)(d=!l&&_&&void 0!==_[c])&&c in y||(f=d?_[c]:s[c],y[c]=p&&”function”!=typeof _[c]?s[c]:v&&d?o(f,r):b&&_[c]==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):h&&”function”==typeof f?o(Function.call,f):f,h&&((y.virtual||(y.virtual={}))[c]=f,t&e.R&&m&&!m[c]&&a(m,c,f)))};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},15:function(e,t){e.exports=function(e){return”object”==(void 0===e?”undefined”:_typeof(e))?null!==e:”function”==typeof e}},16: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)}},17:function(e,t,n){“use strict”;function r(e){function t(){if(l.syncEnabled&&e.browserSupportsCookies&&!a){try{!function(){(l.pixelEnabled||f.image)&&u.shuffle(r.image).forEach(function(e){var t=i(e,2),n=t[0],r=t[1];u.logMessage(“Invoking image pixel user sync for bidder: “+n),u.triggerPixel(r)})}(),function(){(l.iframeEnabled||f.iframe)&&u.shuffle(r.iframe).forEach(function(e){var t=i(e,2),n=t[0],r=t[1];u.logMessage(“Invoking iframe user sync for bidder: “+n),u.insertUserSyncIframe(r)})}()}catch(e){return u.logError(“Error firing user syncs”,e)}r={image:[],iframe:[]},a=!0}}var n={},r={image:[],iframe:[]},a=!1,c={},f={image:!1,iframe:!1},l=e.config;return s.config.getConfig(“userSync”,function(e){l=o(l,e.userSync)}),n.registerSync=function(e,t,n){if(!l.syncEnabled||!u.isArray(r[e]))return u.logWarn(‘User sync type “‘+e+'” not supported’);if(!t)return u.logWarn(“Bidder is required for registering sync”);if(Number(c[t])>=l.syncsPerBidder)return u.logWarn(‘Number of user syncs exceeded for “‘+t+'”‘);if(l.filterSettings){if(function(e,t){var n=l.filterSettings;if(function(e,t){if(e.all&&e[t])return u.logWarn(‘Detected presence of the “filterSettings.all” and “filterSettings.’+t+'” in userSync config. You cannot mix “all” with “iframe/image” configs; they are mutually exclusive.’),!1;var n=e.all?e.all:e[t],r=e.all?”all”:t;if(!n)return!1;var i=n.filter,o=n.bidders;return i&&”include”!==i&&”exclude”!==i?(u.logWarn(‘UserSync “filterSettings.’+r+”.filter\” setting ‘”+i+”‘ is not a valid option; use either ‘include’ or ‘exclude’.”),!1):!!(“*”===o||Array.isArray(o)&&o.length>0&&o.every(function(e){return u.isStr(e)&&”*”!==e}))||(u.logWarn(‘Detected an invalid setup in userSync “filterSettings.’+r+”.bidders\”; use either ‘*’ (to represent all bidders) or an array of bidders.”),!1)}(n,e)){f[e]=!0;var r=n.all?n.all:n[e],i=”*”===r.bidders?[t]:r.bidders,o=r.filter||”include”;return{include:function(e,t){return!(0,d.default)(e,t)},exclude:function(e,t){return(0,d.default)(e,t)}}[o](i,t)}return!1}(e,t))return u.logWarn(“Bidder ‘”+t+”‘ is not permitted to register their userSync “+e+” pixels as per filterSettings config.”)}else if(l.enabledBidders&&l.enabledBidders.length&&l.enabledBidders.indexOf(t)0&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(t,Number(e));t()},n.triggerUserSyncs=function(){l.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 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;t1&&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})},hasHook:function(e){return a.some(function(t){return t.fn===e})}};return”string”==typeof n&&(o[n]=s),r(function(){for(var n=arguments.length,r=Array(n),i=0;i\n \n \n prebid.org wrapper\n \n “+(n?””:””)+”\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”),(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 o.config.getConfig(“cache.url”)+”?uuid=”+e};var i=n(7),o=n(3)},21:function(e,t,n){n(102),e.exports=n(13).Array.findIndex},22:function(e,t,n){“use strict”;function r(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)}var i,o=n(5),a=(i=o)&&i.__esModule?i:{default:i},u=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)),s={},c=[“criteo”];t.loadExternalScript=function(e,t){if(t&&e)if((0,a.default)(c,t)){if(!s[e]){u.logWarn(“module “+t+” is loading external JavaScript”);var n=document.createElement(“script”);n.type=”text/javascript”,n.async=!0,n.src=e,u.insertElement(n),s[e]=!0}}else u.logError(t+” not whitelisted for loading external JavaScript”);else u.logError(“cannot load external script without url and moduleCode”)},t.loadScript=function(e,t,n){e?n?s[e]?t&&”function”==typeof t&&(s[e].loaded?t():s[e].callbacks.push(t)):(s[e]={loaded:!1,callbacks:[]},t&&”function”==typeof t&&s[e].callbacks.push(t),r(e,function(){s[e].loaded=!0;try{for(var t=0;tt.max?e:t},{max:0}),b=(0,u.default)(t.buckets,function(t){if(e>v.max*n){var i=t.precision;void 0===i&&(i=c),r=(t.max*n).toFixed(i)}else if(e=t.min*n)return t});return b&&(o=e,s=n,d=void 0!==(a=b).precision?a.precision:c,f=a.increment*s,l=a.min*s,p=Math.pow(10,d+2),g=(o*p-l*p)/(f*p),h=Math.floor(g)*f+l,r=(h=Number(h.toFixed(10))).toFixed(d)),r}function i(e){if(s.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}Object.defineProperty(t,”__esModule”,{value:!0}),t.isValidPriceConfig=t.getPriceBucketString=void 0;var o,a=n(10),u=(o=a)&&o.__esModule?o:{default:o},s=n(0),c=2,d={buckets:[{min:0,max:5,increment:.5}]},f={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=””),{low:””===i?””:r(e,d,n),med:””===i?””:r(e,f,n),high:””===i?””:r(e,l,n),auto:””===i?””:r(e,g,n),dense:””===i?””:r(e,p,n),custom:””===i?””:r(e,t,n)}},t.isValidPriceConfig=i},32:function(e,t,n){var r=n(46);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)}}},33:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},34:function(e,t,n){var r=n(32),i=n(35),o=n(54),a=n(36),u=n(55);e.exports=function(e,t){var n=1==e,s=2==e,c=3==e,d=4==e,f=6==e,l=5==e||f,p=t||u;return function(t,u,g){for(var h,v,b=o(t),y=i(b),m=r(u,g,3),_=a(y.length),A=0,w=n?p(t,_):s?p(t,0):void 0;_>A;A++)if((l||A in y)&&(v=m(h=y[A],A,b),e))if(n)w[A]=v;else if(v)switch(e){case 3:return!0;case 5:return h;case 6:return A;case 2:w.push(h)}else if(d)return!1;return f?-1:c||d?d:w}}},35:function(e,t,n){var r=n(24);e.exports=Object(“z”).propertyIsEnumerable(0)?Object:function(e){return”String”==r(e)?e.split(“”):Object(e)}},36:function(e,t,n){var r=n(37),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},37:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},38:function(e,t,n){var r=n(24);e.exports=Array.isArray||function(e){return”Array”==r(e)}},39:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.adunitCounter=void 0;var r=n(0),i={},o={incrementCounter:function(e){return i[e]=i[e]||{},i[e].counter=(0,r.deepAccess)(i,e+”.counter”)+1||1,i[e].counter},getCounter:function(e){return(0,r.deepAccess)(i,e+”.counter”)||0}};t.adunitCounter=o},4: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.22.0″,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”,DEFAULT_ENDPOINT:”https://prebid.adnxs.com/pbs/v1/openrtb2/auction”,
SYNCED_BIDDERS_KEY:”pbjsSyncs”}}},40: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||[]},41: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,t){var n=[],r=(0,c.groupBy)(e,”adUnitCode”);return Object.keys(r).forEach(function(e){var i=(0,c.groupBy)(r[e],”bidderCode”);Object.keys(i).forEach(function(e){return n.push(i[e].reduce(t,o()))})}),n}function o(e){return{adUnitCode:e,cpm:0,adserverTargeting:{},timeToRespond:0}}function a(e){function n(t){return”string”==typeof t?[t]:h.isArray(t)?t:e.getAdUnitCodes()||[]}function a(){return i(e.getBidsReceived().filter(A).filter(t.isBidNotExpired),c.getOldestHighestCpmBid)}function s(){return e.getStandardBidderAdServerTargeting().map(function(e){return e.key}).concat(v.TARGETING_KEYS).filter(c.uniques)}function l(e,t,n,r){return Object.keys(t.adserverTargeting).filter(p()).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){h.isArray(e.adserverTargeting[r])||(e.adserverTargeting[r]=[e.adserverTargeting[r]]),e.adserverTargeting[r]=e.adserverTargeting[r].concat(t.adserverTargeting[r]).filter(c.uniques),delete t.adserverTargeting[r]}))}),e.push(t),e}function p(){var e=s();return function(t){return-1===e.indexOf(t)}}function y(e){return r({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(p()).map(function(t){return r({},t.substring(0,_),[e.adserverTargeting[t]])}))}var m={};return m.resetPresetTargeting=function(t){if((0,c.isGptPubadsDefined)()){var r=n(t),i=e.getAdUnits().filter(function(e){return(0,g.default)(r,e.code)});window.googletag.pubads().getSlots().forEach(function(e){b.forEach(function(t){i.forEach(function(n){n.code!==e.getAdUnitPath()&&n.code!==e.getSlotElementId()||e.setTargeting(t,null)})})})}},m.getAllTargeting=function(e){var t,o,p,A,w,E,S,I,T,x=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a(),j=n(e),O=(E=j,S=x,I=m.getWinningBids(E,S),T=s(),I=I.map(function(e){return r({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(function(t){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===T.indexOf(t)}).map(function(t){return r({},”hb_deal”===t?(t+”_”+e.bidderCode).substring(0,_):t.substring(0,_),[e.adserverTargeting[t]])}))})).concat((A=j,w=x,w.filter(function(e){return(0,g.default)(A,e.adUnitCode)}).map(function(e){return u({},e)}).reduce(l,[]).map(y).filter(function(e){return e}))).concat(d.config.getConfig(“enableSendAllBids”)?(t=j,o=x,p=v.TARGETING_KEYS.concat(f.NATIVE_TARGETING_KEYS),i(o,c.getHighestCpm).map(function(e){if(e.adserverTargeting&&t&&(h.isArray(t)&&(0,g.default)(t,e.adUnitCode)||”string”==typeof t&&e.adUnitCode===t))return r({},e.adUnitCode,(n=e,p.filter(function(t){return void 0!==e.adserverTargeting[t]}).map(function(e){return r({},(e+”_”+n.bidderCode).substring(0,_),[n.adserverTargeting[e]])})));var n}).filter(function(e){return e})):[]);return O.map(function(e){Object.keys(e).map(function(t){e[t].map(function(e){-1===b.indexOf(Object.keys(e)[0])&&(b=Object.keys(e).concat(b))})})}),O=O.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 u(t,e)},{}))}).reduce(function(e,t){var n=Object.keys(t)[0];return e[n]=u({},e[n],t[n]),e},{}),j.forEach(function(e){O[e]||(O[e]={})}),O},m.setTargetingForGPT=function(e,t){window.googletag.pubads().getSlots().forEach(function(n){Object.keys(e).filter(t?t(n):(0,c.isAdUnitCodeMatchingSlot)(n)).forEach(function(t){return Object.keys(e[t]).forEach(function(r){var i=e[t][r].split(“,”);(i=i.length>1?[i]:i).map(function(e){return h.logMessage(“Attempting to set key value for slot: “+n.getSlotElementId()+” key: “+r+” value: “+e),e}).forEach(function(e){n.setTargeting(r,e)})})})})},m.getWinningBids=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a(),r=n(e);return t.filter(function(e){return(0,g.default)(r,e.adUnitCode)}).filter(function(e){return e.cpm>0}).map(function(e){return e.adUnitCode}).filter(c.uniques).map(function(e){return t.filter(function(t){return t.adUnitCode===e?t:null}).reduce(c.getHighestCpm,o(e))})},m.setTargetingForAst=function(){var e=m.getAllTargeting();Object.keys(e).forEach(function(t){return Object.keys(e[t]).forEach(function(n){if(h.logMessage(“Attempting to set targeting for targetId: “+t+” key: “+n+” value: “+e[t][n]),h.isStr(e[t][n])||h.isArray(e[t][n])){var r={};n.search(/pt[0-9]/)(0,c.timestamp)()},function(e){return e&&(e.status&&!(0,g.default)([y,m],e.status)||!e.status)});t.targeting=a(l.auctionManager)},42:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){t.timeToRespond>e.getTimeout()+y.config.getConfig(“timeoutBuffer”)&&e.executeCallback(!0)}function o(e,t){T.emit(x.EVENTS.BID_RESPONSE,t),e.addBidReceived(t),i(e,t)}function a(e){var t=y.config.getConfig(“mediaTypePriceGranularity.”+e),n=”string”==typeof e&&t?”string”==typeof t?t:”custom”:y.config.getConfig(“priceGranularity”),r=pbjs.bidderSettings;return r[x.JSON_MAPPING.BD_SETTING_STANDARD]||(r[x.JSON_MAPPING.BD_SETTING_STANDARD]={}),r[x.JSON_MAPPING.BD_SETTING_STANDARD][x.JSON_MAPPING.ADSERVER_TARGETING]||(r[x.JSON_MAPPING.BD_SETTING_STANDARD][x.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(e){return n===x.GRANULARITY_OPTIONS.AUTO?e.pbAg:n===x.GRANULARITY_OPTIONS.DENSE?e.pbDg:n===x.GRANULARITY_OPTIONS.LOW?e.pbLg:n===x.GRANULARITY_OPTIONS.MEDIUM?e.pbMg:n===x.GRANULARITY_OPTIONS.HIGH?e.pbHg:n===x.GRANULARITY_OPTIONS.CUSTOM?e.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}}]),r[x.JSON_MAPPING.BD_SETTING_STANDARD]}function u(e,t){if(!t)return{};var n={},r=pbjs.bidderSettings;return r&&(s(n,a(t.mediaType),t),e&&r[e]&&r[e][x.JSON_MAPPING.ADSERVER_TARGETING]&&(s(n,r[e],t),t.sendStandardTargeting=r[e].sendStandardTargeting)),t.native&&(n=l({},n,(0,h.getNativeTargeting)(t))),n}function s(e,t,n){var r=t[x.JSON_MAPPING.ADSERVER_TARGETING];return n.size=n.getSize(),S._each(r,function(r){var i=r.key,o=r.val;if(e[i]&&S.logWarn(“The key: “+i+” is getting ovewritten”),S.isFn(o))try{o=o(n)}catch(e){S.logError(“bidmanager”,”ERROR”,e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)&&”hb_deal”!==i||!S.isEmptyStr(o)&&null!=o?e[i]=o:S.logInfo(“suppressing empty key ‘”+i+”‘ from adserver targeting”)}),e}function c(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[x.JSON_MAPPING.BD_SETTING_STANDARD]&&”function”==typeof pbjs.bidderSettings[x.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment&&(r=pbjs.bidderSettings[x.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),r))try{n=r(e.cpm,l({},e))}catch(e){S.logError(“Error during bid adjustment”,”bidmanager.js”,e)}n>=0&&(e.cpm=n)}function d(e,t){return e[t.adUnitCode]||(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 f=”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)},l=Object.assign||function(e){for(var t=1;t=1})&&(S.logInfo(“Bids Received for Auction with id: “+v,g),b=C,t(!1,!0))}var r=e.adUnits,i=e.adUnitCodes,o=e.callback,a=e.cbTimeout,u=e.labels,s=r,c=u,f=i,l=[],g=[],h=void 0,v=S.generateUUID(),b=void 0,m=o,_=void 0,P=a,U=[];return{addBidReceived:function(e){g=g.concat(e)},executeCallback:t,callBids:function(){function e(e){var t=!0,n=y.config.getConfig(“maxRequestsPerOrigin”)||R;return e.bidRequests.some(function(e){var r=1,i=void 0!==e.src&&e.src===x.S2S.SRC?”s2s”:e.bidderCode;return k[i]&&(!1===k[i].SRA&&(r=Math.min(e.bids.length,n)),B[k[i].origin]+r>n&&(t=!1)),!t}),t&&e.run(),t}function r(e,t){void 0===e[t]?e[t]=1:e[t]++}var i=this;b=j,h=Date.now();var o=I.makeBidRequests(s,h,v,P,c);S.logInfo(“Bids Requested for Auction with id: “+v,o),o.forEach(function(e){var t;t=e,l=l.concat(t)});var a={},u={bidRequests:o,run:function(){var u,c;u=t.bind(null,!0),c=setTimeout(u,P),_=c,b=O;var d={timestamp:h,auctionId:v,timeout:P};T.emit(x.EVENTS.AUCTION_INIT,d),I.callBids(s,o,D.bind(i),function(e){var t=e;return(0,p.delayExecution)(function(){(0,A.default)(l,function(e){return t===e.bidderRequestId}).doneCbCallCount+=1,n()},1)}.bind(i),{request:function(e,t){r(B,t),r(a,e),k[e]||(k[e]={SRA:!0,origin:t}),a[e]>1&&(k[e].SRA=!1)},done:function(t){B[t]–,N[0]&&e(N[0])&&N.shift()}},P)}};e(u)||(S.logWarn(“queueing auction due to limited endpoint capacity”),N.push(u))},bidsBackAll:n,addWinningBid:function(e){U=U.concat(e),I.callBidWonBidder(e.bidder,e)},getWinningBids:function(){return U},getTimeout:function(){return P},getAuctionId:function(){return v},getAuctionStatus:function(){return b},getAdUnits:function(){return s},getAdUnitCodes:function(){return f},getBidRequests:function(){return l},getBidsReceived:function(){return g}}},t.getStandardBidderSettings=a,t.getKeyValueTargetingPairs=u,t.adjustBids=c;var p=n(0),g=n(31),h=n(18),v=n(203),b=n(12),y=n(3),m=n(17),_=n(20),A=r(n(10)),w=r(n(5)),E=m.userSync.syncUsers,S=n(0),I=n(8),T=n(9),x=n(4),j=t.AUCTION_STARTED=”started”,O=t.AUCTION_IN_PROGRESS=”inProgress”,C=t.AUCTION_COMPLETED=”completed”;T.on(x.EVENTS.BID_ADJUSTMENT,function(e){c(e)});var R=4,B={},k={},N=[],D=t.addBidResponse=(0,_.createHook)(“asyncSeries”,function(e,t){var n,r,a,s,c=this.getBidRequests(),d=this.getAuctionId(),h=(0,p.getBidderRequest)(c,t.bidderCode,e),m=function(e){var t=e.adUnitCode,n=e.bid,r=e.bidRequest,i=e.auctionId,o=r.start,a=l({},n,{auctionId:i,responseTimestamp:(0,p.timestamp)(),requestTimestamp:o,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:t});a.timeToRespond=a.responseTimestamp-a.requestTimestamp,T.emit(x.EVENTS.BID_ADJUSTMENT,a);var s=r.bids&&(0,A.default)(r.bids,function(e){return e.adUnitCode==t}),c=s&&s.renderer;c&&c.url&&(a.renderer=b.Renderer.install({url:c.url}),a.renderer.setRender(c.render));var d,h=y.config.getConfig(“mediaTypePriceGranularity.”+n.mediaType),v=(0,g.getPriceBucketString)(a.cpm,”object”===(void 0===h?”undefined”:f(h))?h:y.config.getConfig(“customPriceBucket”),y.config.getConfig(“currency.granularityMultiplier”));return a.pbLg=v.low,a.pbMg=v.med,a.pbHg=v.high,a.pbAg=v.auto,a.pbDg=v.dense,a.pbCg=v.custom,a.bidderCode&&(a.cpm>0||a.dealId)&&(d=u(a.bidderCode,a)),a.adserverTargeting=l(a.adserverTargeting||{},d),a}({adUnitCode:e,bid:t,bidRequest:h,auctionId:d});”video”===m.mediaType?(n=this,r=m,a=h,s=!0,y.config.getConfig(“cache.url”)&&(r.videoCacheKey?r.vastUrl||(S.logError(“videoCacheKey specified but not required vastUrl for video bid”),s=!1):(s=!1,(0,v.store)([r],function(e,t){e?(S.logWarn(“Failed to save to the video cache: “+e+”. Video bid must be discarded.”),i(n,r)):(r.videoCacheKey=t[0].uuid,r.vastUrl||(r.vastUrl=(0,v.getCacheUrl)(r.videoCacheKey)),a.doneCbCallCount+=1,o(n,r),n.bidsBackAll())}))),s&&o(n,r)):o(this,m)},”addBidResponse”)},45:function(e,t,n){“use strict”;var r=n(14),i=n(34)(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(27)(o)},46:function(e,t){e.exports=function(e){if(“function”!=typeof e)throw TypeError(e+” is not a function!”);return e}},47:function(e,t,n){var r=n(48),i=n(53);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}},48:function(e,t,n){var r=n(49),i=n(50),o=n(52),a=Object.defineProperty;t.f=n(23)?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}},49:function(e,t,n){var r=n(15);e.exports=function(e){if(!r(e))throw TypeError(e+” is not an object!”);return e}},5:function(e,t,n){n(59),e.exports=n(13).Array.includes},50:function(e,t,n){e.exports=!n(23)&&!n(33)(function(){return 7!=Object.defineProperty(n(51)(“div”),”a”,{get:function(){return 7}}).a})},51:function(e,t,n){var r=n(15),i=n(19).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},52:function(e,t,n){var r=n(15);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”)}},53:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},54:function(e,t,n){var r=n(25);e.exports=function(e){return Object(r(e))}},55:function(e,t,n){var r=n(56);e.exports=function(e,t){return new(r(e))(t)}},555:function(e,t,n){e.exports=n(556)},556: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),S.logError(t),x.emit(N,r)}function o(e){e.forEach(function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){S.logError(“Error processing command :”,”prebid.js”,e)}})}var a,u=”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)},s=Object.assign||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;x.emit(B);var a=n||g.config.getConfig(“bidderTimeout”);if(r=r||w.adUnits,S.logInfo(“Invoking pbjs.requestBids”,arguments),i&&i.length?r=r.filter(function(e){return(0,_.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=I.bidderRegistry,i=g.config.getConfig(“s2sConfig”),o=i&&i.bidders,a=o?n.filter(function(e){return!(0,_.default)(o,e)}):n;e.transactionId||(e.transactionId=S.generateUUID()),a.forEach(function(n){var i=r[n],o=i&&i.getSpec&&i.getSpec(),a=o&&o.supportedMediaTypes||[“banner”];t.some(function(e){return(0,_.default)(a,e)})||(S.logWarn(S.unsupportedBidderMessage(e,n)),e.bids=e.bids.filter(function(e){return e.bidder!==n}))}),A.adunitCounter.incrementCounter(e.code)}),r&&0!==r.length){var u=h.auctionManager.createAuction({adUnits:r,adUnitCodes:i,callback:t,cbTimeout:a,labels:o});return u.callBids(),u}if(S.logMessage(“No adUnits configured. No bids requested.”),”function”==typeof t)try{t()}catch(e){S.logError(“Error executing bidsBackHandler”,null,e)}}),w.addAdUnits=function(e){S.logInfo(“Invoking pbjs.addAdUnits”,arguments),S.isArray(e)?w.adUnits.push.apply(w.adUnits,e):”object”===(void 0===e?”undefined”:u(e))&&w.adUnits.push(e),x.emit(C)},w.onEvent=function(e,t,n){S.logInfo(“Invoking pbjs.onEvent”,arguments),S.isFn(t)?!n||W[e].call(null,n)?x.on(e,t,n):S.logError(‘The id provided is not valid for event “‘+e+'” and no handler was set.’):S.logError(‘The event handler provided is not a function and was not set on event “‘+e+'”.’)},w.offEvent=function(e,t,n){S.logInfo(“Invoking pbjs.offEvent”,arguments),n&&!W[e].call(null,n)||x.off(e,t,n)},w.registerBidAdapter=function(e,t){S.logInfo(“Invoking pbjs.registerBidAdapter”,arguments);try{I.registerBidAdapter(e(),t)}catch(e){S.logError(“Error registering bidder adapter : “+e.message)}},w.registerAnalyticsAdapter=function(e){S.logInfo(“Invoking pbjs.registerAnalyticsAdapter”,arguments);try{I.registerAnalyticsAdapter(e)}catch(e){S.logError(“Error registering analytics adapter : “+e.message)}},w.createBid=function(e){return S.logInfo(“Invoking pbjs.createBid”,arguments),T.createBid(e)},w.loadScript=function(e,t,n){S.logInfo(“Invoking pbjs.loadScript”,arguments),(0,p.loadScript)(e,t,n)},w.enableAnalytics=function(e){e&&!S.isEmpty(e)?(S.logInfo(“Invoking pbjs.enableAnalytics for: “,e),I.enableAnalytics(e)):S.logError(“pbjs.enableAnalytics should be called with option {}”)},w.aliasBidder=function(e,t){S.logInfo(“Invoking pbjs.aliasBidder”,arguments),e&&t?I.aliasBidAdapter(e,t):S.logError(“bidderCode and alias must be passed as arguments”,”pbjs.aliasBidder”)},w.getAllWinningBids=function(){return h.auctionManager.getAllWinningBids().map(d.removeRequestId)},w.getAllPrebidWinningBids=function(){return h.auctionManager.getBidsReceived().filter(function(e){return e.status===v.BID_TARGETING_SET}).map(d.removeRequestId)},w.getHighestCpmBids=function(e){return v.targeting.getWinningBids(e).map(d.removeRequestId)},w.markWinningBidAsUsed=function(e){var t=[];e.adUnitCode&&e.adId?t=h.auctionManager.getBidsReceived().filter(function(t){return t.adId===e.adId&&t.adUnitCode===e.adUnitCode}):e.adUnitCode?t=v.targeting.getWinningBids(e.adUnitCode):e.adId?t=h.auctionManager.getBidsReceived().filter(function(t){return t.adId===e.adId}):S.logWarn(“Inproper usage of markWinningBidAsUsed. It’ll need an adUnitCode and/or adId to function.”),t.length>0&&(t[0].status=v.RENDERED)},w.getConfig=g.config.getConfig,w.setConfig=g.config.setConfig,w.que.push(function(){return(0,f.listenMessagesFromCreative)()}),w.cmd.push=function(e){if(“function”==typeof e)try{e.call()}catch(e){S.logError(“Error processing command :”,e.message,e.stack)}else S.logError(“Commands written into pbjs.cmd.push must be wrapped in a function”)},w.que.push=w.cmd.push,w.processQueue=function(){o(w.que),o(w.cmd)}},557:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t,n,r,i,u,l,p,g,h,v,b,y,m=e.message?”message”:”data”,_={};try{_=JSON.parse(e[m])}catch(e){return}if(_&&_.adId){var A=(0,d.default)(c.auctionManager.getBidsReceived(),function(e){return e.adId===_.adId});”Prebid Request”===_.message&&(u=A,l=_.adServerDomain,p=e.source,g=u.adId,h=u.ad,v=u.adUrl,b=u.width,y=u.height,g&&(n=(t=u).adUnitCode,r=t.width,i=t.height,[“div”,”iframe”].forEach(function(e){var t,o=(t=e,document.getElementById((0,d.default)(window.googletag.pubads().getSlots().filter((0,s.isSlotMatchingAdUnitCode)(n)),function(e){return e}).getSlotElementId()).querySelector(t)).style;o.width=r,o.height=i}),p.postMessage(JSON.stringify({message:”Prebid Response”,ad:h,adUrl:v,adId:g,width:b,height:y}),l)),c.auctionManager.addWinningBid(A),o.default.emit(f,A)),”Prebid Native”===_.message&&((0,a.fireNativeTrackers)(_,A),c.auctionManager.addWinningBid(A),o.default.emit(f,A))}}Object.defineProperty(t,”__esModule”,{value:!0}),t.listenMessagesFromCreative=function(){addEventListener(“message”,i,!1)};var o=r(n(9)),a=n(18),u=n(4),s=n(0),c=n(29),d=r(n(10)),f=u.EVENTS.BID_WON},558:function(e,t,n){“use strict”;function r(e){(0,d.logMessage)(“DEBUG: “+e)}function i(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c.config.setConfig({debug:!0}),r(“bidder overrides enabled”+(n?” from session”:””)),p&&f.addBidResponse.removeHook(p),t.boundHook=p=a.bind(null,e),f.addBidResponse.addHook(p,5)}function o(){p&&(f.addBidResponse.removeHook(p),r(“bidder overrides disabled”))}function a(e,t,n,i){if(Array.isArray(e.bidders)&&-1===e.bidders.indexOf(n.bidderCode))return o=”bidder ‘”+n.bidderCode+”‘ excluded from auction by bidder overrides”,void(0,d.logWarn)(“DEBUG: “+o);var o;Array.isArray(e.bids)&&e.bids.forEach(function(e){e.bidder&&e.bidder!==n.bidderCode||e.adUnitCode&&e.adUnitCode!==t||(n=s({},n),Object.keys(e).filter(function(e){return-1===[“bidder”,”adUnitCode”].indexOf(e)}).forEach(function(i){var o=e[i];r(“bidder overrides changed ‘”+t+”/”+n.bidderCode+”‘ bid.”+i+” from ‘”+n[i]+”‘ to ‘”+o+”‘”),n[i]=o}))}),i(t,n)}function u(e){if(e.enabled){try{window.sessionStorage.setItem(l,JSON.stringify(e))}catch(e){}i(e)}else{o();try{window.sessionStorage.removeItem(l)}catch(e){}}}Object.defineProperty(t,”__esModule”,{value:!0}),t.boundHook=void 0;var s=Object.assign||function(e){for(var t=1;t1?arguments[1]:void 0)}}),n(27)(“includes”)},60:function(e,t,n){var r=n(61),i=n(36),o=n(62);e.exports=function(e){return function(t,n,a){var u,s=r(t),c=i(s.length),d=o(a,c);if(e&&n!=n){for(;c>d;)if((u=s[d++])!=u)return!0}else for(;c>d;d++)if((e||d in s)&&s[d]===n)return e||d||0;return!e&&-1}}},61:function(e,t,n){var r=n(35),i=n(25);e.exports=function(e){return r(i(e))}},62:function(e,t,n){var r=n(37),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,a=void 0!==o&&o,s=t.activeLabels,f=void 0===s?[]:s,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],p=(e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d,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]||[]).forEach(function(t){return e[n][t]=!0})})):(0,u.logWarn)(‘sizeConfig rule missing required property “mediaQuery”‘),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||!a&&(r.some(function(e){return p.labels[e]})||r.some(function(e){return(0,c.default)(f,e)}))||a&&r.reduce(function(e,t){return e?p.labels[t]||(0,c.default)(f,t):e},!0)),sizes:g}};var o,a=n(3),u=n(0),s=n(5),c=(o=s)&&o.__esModule?o:{default:o},d=[];a.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||r&&i!==c?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):i!==c||!(!e.renderer&&!n.renderer)};var r,i=n(8),o=n(0),a=n(3),u=n(5),s=(r=u)&&r.__esModule?r:{default:r},c=”outstream”,d=(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,s.default)(i.videoAdapters,e.bidder)});t.hasNonVideoBidder=function(e){return e.bids.filter(function(e){return!d(e)}).length}},7:function(e,t,n){“use strict”;function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.request,r=t.done;return function(t,d,f){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{var p=void 0,g=l.method||(f?”POST”:”GET”),h=document.createElement(“a”);h.href=t;var v=”object”===(void 0===d?”undefined”:o(d))&&null!==d?d:{success:function(){s.logMessage(“xhr success”)},error:function(e){s.logError(“xhr error”,null,e)}};if(“function”==typeof d&&(v.success=d),(p=new window.XMLHttpRequest).onreadystatechange=function(){if(p.readyState===c){
“function”==typeof r&&r(h.origin);var e=p.status;e>=200&&e0})})}var x,j,O=(x=e,(j=m.deepClone(x)).forEach(function(e){e.bids=e.bids.filter(function(e){return!a()||e.finalSource!==w.SERVER})}),j=j.filter(function(e){return 0!==e.bids.length}));return g.forEach(function(e){var t=m.getUniqueIdentifierStr(),a={bidderCode:e,auctionId:r,bidderRequestId:t,bids:o({bidderCode:e,auctionId:r,bidderRequestId:t,adUnits:O,labels:u}),auctionStart:n,timeout:i},c=E[e];c||m.logError(“Trying to make a request for bidder that does not exist: “+e),c&&a.bids&&0!==a.bids.length&&s.push(a)}),t.gdprDataHandler.getConsentData()&&s.forEach(function(e){e.gdprConsent=t.gdprDataHandler.getConsentData()}),s},t.checkBidRequestSizes=function(e){function t(e){return Array.isArray(e)&&2===e.length&&m.isInteger(e[0])&&m.isInteger(e[1])}return e.forEach(function(e){var n=e.mediaTypes,r=m.getAdUnitSizes(e);if(n&&n.banner){var i=n.banner;i.sizes?(i.sizes=r,e.sizes=r):(m.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)}else e.sizes&&(m.logWarn(“Usage of adUnits.sizes will eventually be deprecated. Please define size dimensions within the corresponding area of the mediaTypes.

Source Article from https://slate.com/news-and-politics/2018/12/an-eight-year-old-guatemalan-migrant-died-in-u-s-custody-on-christmas-day.html

Still, defending the industry carries a nationalist appeal, with international criticism of whaling sometimes seen as an imposition of Western values.

Leaders in Australia are “extremely disappointed” by Japan’s decision, according to a joint statement by Marise Payne, the minister for foreign affairs, and Melissa Price, the minister for the environment. Australia maintains a sanctuary for whales, dolphins and porpoises that includes parts of the Antarctic, and it has clashed with Japan over its annual hunts there.

“Australia remains resolutely opposed to all forms of commercial and so-called ‘scientific’ whaling,” the ministers said. “We will continue to work within the commission to uphold the global moratorium on commercial whaling.”

But the ministers said they welcomed Japan’s exit from the Antarctic and the Australian Whale Sanctuary, which they said “will finally be true sanctuaries for all whales.”

From 2005 to 2017, Sea Shepherd, an environmentalist group, used its own ships to try to interfere with Japan’s whaling in the Antarctic. As the Japanese news media reported last week that a withdrawal from the whaling commission was being considered, Paul Watson, Sea Shepherd’s founder, said in a statement that he considered it good news. He said it would end Japan’s activities in the Antarctic while making Sea Shepherd’s “objective of shutting down these poachers much easier.”

“This means that Japan is now openly declaring their illegal whaling activities,” he said. “No more pretense of research whaling. With this announcement, Japan has declared themselves as a pirate whaling nation.”

Source Article from https://www.nytimes.com/2018/12/26/world/asia/japan-whaling-withdrawal.html

The U.S. Capitol dome is seen during the partial government shutdown in Washington, on Monday.

Manuel Balce Ceneta/AP


hide caption

toggle caption

Manuel Balce Ceneta/AP

The U.S. Capitol dome is seen during the partial government shutdown in Washington, on Monday.

Manuel Balce Ceneta/AP

With no deal in sight to keep the government funded, hundreds of thousands of federal employees will either not be returning to work after holiday vacations or will be back on the job, but without pay.

President Trump reiterated Tuesday that he is in no mood to compromise over funding for his wall along the Southern border, and Democrats who oppose the measure are showing no signs of budging either.

“I can’t tell you when the government’s going to be open,” the president said in a Christmas Day video conference with representatives of all five military branches stationed in Alaska, Bahrain, Guam and Qatar.

“I can tell you it’s not going to be open until we have a wall or fence, whatever they’d like to call it,” Trump said, suggesting that a change in semantics might allow for a breakthrough. “I’ll call it whatever they want, but it’s all the same thing.”

“It’s a disgrace what’s happening in our country,” Trump said in the Oval Office. “But other than that, I wish everybody a very Merry Christmas.”

The partial shutdown, which began Saturday, was triggered by a lapse in funding for a quarter of the government’s departments and agencies. It affects some 800,000 government workers. Workers deemed non-essential will be furloughed, while “essential” workers will be required to report to their jobs, but with no guarantee of a paycheck.

The president, who canceled plans to retreat to Mar-a-Lago, his Florida estate, for the holidays, instead remained at the White House, where he issued a series of angry tweets over the shutdown. He has blamed Democrats for the impasse, which came to a head over the weekend after lawmakers refused to agree to $5 billion in funding to begin building a border wall or fence, something the president has long championed. Democrats say a physical barrier would be expensive and ineffective.

During the 2016 presidential campaign, then-candidate Trump told supporters that the wall would be built and that Mexico would pay for it.

Senate Democratic leader Chuck Schumer of New York suggested that the president’s insistence on a wall IS little more than an attempt to mollify his political base.

“Instead of bringing certainty into people’s lives, he’s continuing the Trump Shutdown just to please right-wing radio and TV hosts,” Schumer said in a joint statement issued on Christmas Day along with House Democratic leader Nancy Pelosi of California.

“The president wanted the shutdown, but he seems not to know how to get himself out of it,” the Democratic leaders added.

Sentiment on Capitol Hill is that the closure could continue through the middle of January as tentative efforts at a compromise have been unsuccessful.

As Politico reports, “While Trump has told allies he’d be willing to come down from his demand for $5 billion in border wall money, Democrats have stood firm on $1.3 billion for fencing, consistent with current spending levels. On Saturday, [Vice President Mike] Pence offered Schumer a bill to reopen the government that would provide $2.1 billion for fencing and an additional $400 million for Trump’s other immigration priorities; Democrats countered with $1.3 billion in fencing and more aid for Puerto Rico as part of a disaster package, according to a person familiar with the talks, which essentially recirculated past offers.”

Source Article from https://www.npr.org/2018/12/26/680121969/shutdown-continues-as-president-and-democrats-remain-at-odds-over-funding-for-wa

An 8-year-old migrant boy from Guatemala apprehended by immigration authorities near the U.S.-Mexico border died on Christmas morning, according to U.S. Customs and Border Protection. 

Congressman Joaquin Castro, D-Texas, identified the child as Felipe Alonzo-Gomez in a statement Tuesday evening.

In a press release Tuesday afternoon, the agency said Felipe showed “signs of potential illness” on Christmas Eve and was transferred, along with his father, to Gerald Champion Regional Medical Center in Alamogordo, New Mexico. The boy was initially diagnosed with a common cold and fever and was released after being prescribed antibiotics, authorities said. 

During the evening on December 24, however, officials said Felipe experienced nausea and vomiting, and was again transferred to the same hospital, where he died early the next day.

The medical center said it could not release any more information due to privacy regulations, but said, “Our thoughts and prayer are with this family during this very difficult time.”

Customs and Border Protection said the child’s official cause of death has not been determined. The agency added that the Department of Homeland Security’s (DHS) Inspector General and the Guatemalan government had been notified, and that they were “engaging” with the boy’s father, as well with family members in Guatemala. The White House did not comment on the death and referred inquires to DHS. 

Guatemala’s Foreign Ministry said Felipe and his father entered the U.S. through El Paso on December 18 and were transferred by American immigration authorities to the Border Patrol station in Alamogordo on December 23. The Guatemalan consulate in Phoenix was briefed and dispatched an official to interview the child’s father, the office said. 

The Central American government pledged to help return the boy’s body to his family in Guatemala and to ask the Trump administration to conduct a “clear” investigation of the death. 

Lawmakers seized on the incident to criticize the administration’s policy and rhetoric on immigration.

“Thanks to the Trump Administration, this is Christmas at the border. Another tragedy and death of a child while in the custody of the U.S. Customs and Border Protection as the world watches,” Congressman Adriano Espaillat, D-New York, said in statement on Tuesday. 

Castro, chairman-elect of the Congressional Hispanic Caucus, called on Congress to probe Felipe’s death when it reconvenes after Christmas. “The Administration’s policy of turning people away from legal ports of entry, otherwise known as metering, is putting families and children in great danger,” the Texas Democrat added. 

The boy’s death comes two weeks after another migrant child, Jakelin Caal Maquin, died after being detained by border agents. The 7-year-old Guatemalan girl died on December 8 after reportedly experiencing dehydration and high fever. Her death provoked scathing criticism of immigration authorities by Democrats, who said the death was a result of President Trump’s “cruel and inhumane” immigration agenda. 

DHS Secretary Kirstjen Nielsen said Jakelin’s death was “a very sad example of the dangers of this journey.”

“This family chose to cross illegally,” she added. 

The DHS inspector general has launched an investigation into the circumstances surrounding the girl’s death. 

Source Article from https://www.cbsnews.com/news/migrant-child-dies-in-border-patrol-custody-today-2018-12-25/

“);var a = g[r.size_id].split(“x”).map((function(e) {return Number(e)})), s = u(a, 2);o.width = s[0],o.height = s[1]}o.rubiconTargeting = (Array.isArray(r.targeting) ? r.targeting : []).reduce((function(e, r) {return e[r.key] = r.values[0],e}), {rpfl_elemid: n.adUnitCode}),e.push(o)} else l.logError(“Rubicon bid adapter Error: bidRequest undefined at index position:” + t, c, d);return e}), []).sort((function(e, r) {return (r.cpm || 0) – (e.cpm || 0)}))},getUserSyncs: function(e, r, t) {if (!A && e.iframeEnabled) {var i = “”;return t && “string” == typeof t.consentString && (“boolean” == typeof t.gdprApplies ? i += “?gdpr=” + Number(t.gdprApplies) + “&gdpr_consent=” + t.consentString : i += “?gdpr_consent=” + t.consentString),A = !0,{type: “iframe”,url: n + i}}},transformBidParams: function(e, r) {return l.convertTypes({accountId: “number”,siteId: “number”,zoneId: “number”}, e)}};function m() {return [window.screen.width, window.screen.height].join(“x”)}function b(e, r) {var t = f.config.getConfig(“pageUrl”);return e.params.referrer ? t = e.params.referrer : t || (t = r.refererInfo.referer),e.params.secure ? t.replace(/^http:/i, “https:”) : t}function _(e, r) {var t = e.params;if (“video” === r) {var i = [];return t.video && t.video.playerWidth && t.video.playerHeight ? i = [t.video.playerWidth, t.video.playerHeight] : Array.isArray(l.deepAccess(e, “mediaTypes.video.playerSize”)) && 1 === e.mediaTypes.video.playerSize.length ? i = e.mediaTypes.video.playerSize[0] : Array.isArray(e.sizes) && 0