“));var p=b(h[i.size_id].split(“x”).map(function(e){return Number(e)}),2);f.width=p[0],f.height=p[1]}f.rubiconTargeting=(Array.isArray(i.targeting)?i.targeting:[]).reduce(function(e,t){return e[t.key]=t.values[0],e},{rpfl_elemid:l.adUnitCode}),t.push(f)}else Object(r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(o),n,e);return t},[]).sort(function(e,t){return(t.cpm||0)-(e.cpm||0)})},getUserSyncs:function(e,t,n,r){if(!U&&e.iframeEnabled){var i=””;return n&&”string”==typeof n.consentString&&(“boolean”==typeof n.gdprApplies?i+=”?gdpr=”.concat(Number(n.gdprApplies),”&gdpr_consent=”).concat(n.consentString):i+=”?gdpr_consent=”.concat(n.consentString)),r&&(i+=””.concat(i?”&”:”?” Object(r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function _(e,t){var n=o.b.getConfig(“pageUrl”);return e.params.referrer?n=e.params.referrer:n||(n=t.refererInfo.referer),e.params.secure?n.replace(/^http:/i,”https:”):n}function j(e){var t,n=document.getElementById(e.adUnitCode);(t=n.querySelector(“div[id^=’google_ads’]”))&&t.style.setProperty(“display” t=e.querySelector(“script[id^=’sas_script’]”),n=t&&t.nextSibling;n&&”iframe”===n.localName&&n.style.setProperty(“display” r=e.renderer.getConfig();e.renderer.push(function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:”#”.concat(e.adUnitCode),align:r.align||”center”,position:r.position||”append”},closeButton:r.closeButton||!1,label:r.label||void 0,collapse:r.collapse||!0})})}function E(e,t){var n=e.params;if(“video”===t){var i=[];return n.video&&n.video.playerWidth&&n.video.playerHeight?i=[n.video.playerWidth,n.video.playerHeight]:Array.isArray(Object(r.deepAccess)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?i=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(i=e.sizes[0]),i}var o=[];return Array.isArray(n.sizes)?o=n.sizes:void 0!==Object(r.deepAccess)(e,”mediaTypes.banner.sizes”)?o=I(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?o=I(e.sizes):Object(r.logWarn)(“Rubicon: no sizes are setup or found”),C(o)}function S(e,t,n){var i={user:{ext:{data:f({},e.params.visitor)}},site:{ext:{data:f({},e.params.inventory)}}};e.params.keywords&&(i.site.keywords=Object(r.isArray)(e.params.keywords)?e.params.keywords.join(” c=Object(r.mergeDeep)({},o.b.getConfig(“ortb2″)||{},i),s=Object(r.deepAccess)(e.ortb2Imp,”ext.data”)||{},u={user:[4],site:[1,2,5,6]},d={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},l=function(e,t,n){if(“data”===t&&Array.isArray(e))return e.filter(function(e){return e.segment&&Object(r.deepAccess)(e,”ext.segtax”)&&u[n]&&-1!==u[n].indexOf(Object(r.deepAccess)(e,”ext.segtax”))}).map(function(e){var t=e.segment.filter(function(e){return e.id}).reduce(function(e,t){return e.push(t.id),e},[]);if(t.length>0)return t.toString()}).toString();if(“object”!==y(e)||Array.isArray(e)){if(void 0!==e)return Array.isArray(e)?e.filter(function(e){if(“object”!==y(e)&&void 0!==e)return e.toString();Object(r.logWarn)(“Rubicon: Filtered value: “,e,”for key”,t,”: Expected value to be string, integer, or an array of strings/ints”)}).toString():e.toString()}else Object(r.logWarn)(“Rubicon: Filtered FPD key: “,t,”: Expected value to be string, integer, or an array of strings/ints”)},p=function(e,t,r){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=l(e,r,t),a=d[r]&&i?””.concat(d[r]):”data”===r?””.concat(d[t],”iab”):””.concat(d[t]).concat(r);n[a]=n[a]?n[a].concat(“https://slate.com/technology/2022/07/,”,o):o};Object.keys(s).forEach(function(e){“adserver”===e?[“name”https://slate.com/technology/2022/07/,”adslot”].forEach(function(t){s[e][t]&&(s[e][t]=s[e][t].toString().replace(/^/+/,””))}):”pbadslot”===e&&(s[e]=s[e].toString().replace(/^/+/,””))}),t===a.b?([“site”https://slate.com/technology/2022/07/,”user”].forEach(function(e){Object.keys(c[e]).forEach(function(t){“site”===e&&”content”===t&&c[e][t].data?p(c[e][t].data,e,”data”):”ext”!==t?p(c[e][t],e,t):c[e][t].data&&Object.keys(c[e].ext.data).forEach(function(t){p(c[e].ext.data[t],e,t,!1)})})}),Object.keys(s).forEach(function(e){“adserver”===e?p(s[e].adslot,name,e):p(s[e],”site”,e)})):(Object.keys(s).length&&Object(r.mergeDeep)(n.imp[0].ext,{data:s}),Object(r.mergeDeep)(n,c))}function I(e){return Object(r.parseSizesInput)(e).reduce(function(e,t){var n=parseInt(h[t],10);return n&&e.push(n),e},[])}function A(e){return”object”===y(Object(r.deepAccess)(e,”params.video”))&&void 0!==Object(r.deepAccess)(e,”mediaTypes.”.concat(a.d))}function T(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return A(e)?-1===[“outstream” mediaTypes.video.context must be outstream or instream”)):E(e,”video”).length<2?void(t&&Object(r.logError)(“Rubicon: could not determine the playerSize of the video”)):(t&&Object(r.logMessage)(“Rubicon: making video request for adUnit”,e.adUnitCode),”video”):0===E(e,”banner”).length?void(t&&Object(r.logError)(“Rubicon: could not determine the sizes for banner request”)):(t&&Object(r.logMessage)(“Rubicon: making banner request for adUnit”,e.adUnitCode),”banner”)}var w=function(){return v={}};function C(e){var t=[15,2,9];return e.sort(function(e,n){var r=t.indexOf(e),i=t.indexOf(n);return r>-1||i>-1?-1===r?1:-1===i?-1:r-i:e-n})}function x(e){var t=parseInt(Object(r.deepAccess)(e,”params.video.size_id”));return isNaN(t)?”outstream”===Object(r.deepAccess)(e,”mediaTypes.”.concat(a.d,”.context”))?203:201:t}function D(e){return{ranges:{low:[{max:5,increment:.5}],medium:[{max:20,increment:.1}],high:[{max:20,increment:.01}],auto:[{max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}],dense:[{max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}],custom:e.getConfig(“customPriceBucket”)&&e.getConfig(“customPriceBucket”).buckets}[e.getConfig(“priceGranularity”)]}}function P(e){var t=!0,n=Object.prototype.toString.call([]),i={mimes:n,protocols:n,linearity:Object.prototype.toString.call(0),api:n};return Object.keys(i).forEach(function(n){Object.prototype.toString.call(Object(r.deepAccess)(e,”mediaTypes.video.”+n))!==i[n]&&(t=!1,Object(r.logError)(“Rubicon: mediaTypes.video.”+n+” is required and must be of type: “+i[n]))}),t}function R(e){var t=!1,n=[“asi” e.nodes?((t=e.nodes.reduce(function(e,t){return e?n.every(function(e){return t.hasOwnProperty(e)}):e},!0))||Object(r.logError)(“Rubicon: required schain params missing”),t):t}function k(e,t){return”rp_schain”===e?”rp_schain=”.concat(t):””.concat(e,”=”).concat(encodeURIComponent(t))}var U=!1;Object(i.registerBidder)(O)}},[787]),pbjsChunk([107],{875:function(e,t,n){e.exports=n(876)},876:function(e,t,n){Object.defineProperty(t,”__esModule”,{value:!0}),n.d(t,”tripleliftAdapterSpec”,function(){return m});var r=n(0),i=n(2),o=n(1),a=n(3);function c(){return(c=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(t.user={ext:{eids:o}});var s=function(e,t){var n={};return Object(r.isEmpty)(e)||(n.schain=d({},e)),Object(r.isEmpty)(t)||(n.fpd=d({},t)),n}(n,i);return Object(r.isEmpty)(s)||(t.ext=s),t}(e);if(n=Object(r.tryAppendQueryString)(n,”lib” o=t.refererInfo.referer;n=Object(r.tryAppendQueryString)(n,”referrer”,o)}return t&&t.timeout&&(n=Object(r.tryAppendQueryString)(n,”tmax”,t.timeout)),t&&t.gdprConsent&&(void 0!==t.gdprConsent.gdprApplies&&(b=t.gdprConsent.gdprApplies,n=Object(r.tryAppendQueryString)(n,”gdpr”,b.toString())),void 0!==t.gdprConsent.consentString&&(g=t.gdprConsent.consentString,n=Object(r.tryAppendQueryString)(n,”cmp_cs”,g))),t&&t.uspConsent&&(n=Object(r.tryAppendQueryString)(n,”us_privacy”,t.uspConsent)),!0===a.b.getConfig(“coppa”)&&(n=Object(r.tryAppendQueryString)(n,”coppa”,!0)),n.lastIndexOf(“&”)===n.length-1&&(n=n.substring(0,n.length-1)),Object(r.logMessage)(“tlCall request built: “+n),{method:”POST”,url:n,data:i,bidderRequest:t}},interpretResponse:function(e,t){var n=t.bidderRequest;return(e.body.bids||[]).map(function(e){return function(e,t){var n={},r=t.width||1,i=t.height||1,o=t.deal_id||””,a=t.crid||””,c=e.bids[t.imp_id];return 0!=t.cpm&&t.ad&&(n={requestId:c.bidId,cpm:t.cpm,width:r,height:i,netRevenue:!0,ad:t.ad,creativeId:a,dealId:o,currency:”USD”,ttl:300,tl_source:t.tl_source,meta:{}},y(c)&&(n.vastXml=t.ad,n.mediaType=”video”,n.ttl=3600),t.advertiser_name&&(n.meta.advertiserName=t.advertiser_name),t.adomain&&t.adomain.length&&(n.meta.advertiserDomains=t.adomain),t.tl_source&&”hdx”==t.tl_source&&(n.meta.mediaType=”banner”),t.tl_source&&”tlx”==t.tl_source&&(n.meta.mediaType=”native”)),n}(n,e)})},getUserSyncs:function(e,t,n,i){var o=function(e){if(e)return e.iframeEnabled?”iframe”:e.pixelEnabled?”image”:void 0}(e);if(o){var a=”https://eb2.3lift.com/sync?”;return”image”===o&&(a=Object(r.tryAppendQueryString)(a,”px”,1),a=Object(r.tryAppendQueryString)(a,”src”https://slate.com/technology/2022/07/,”prebid”)),null!==g&&(a=Object(r.tryAppendQueryString)(a,”gdpr”,b),a=Object(r.tryAppendQueryString)(a,”cmp_cs”,g)),i&&(a=Object(r.tryAppendQueryString)(a,”us_privacy”,i)),[{type:o,url:a}]}}};function y(e){return!!e.mediaTypes.video&&!!e.mediaTypes.video.context&&”instream”===e.mediaTypes.video.context.toLowerCase()}function v(e){var t=null;if(“function”==typeof e.getFloor){var n=e.getFloor({currency:”USD”,mediaType:y(e)?”video”:”banner”,size:”*”});”object”!==s(n)||”USD”!==n.currency||isNaN(parseFloat(n.floor))||(t=parseFloat(n.floor))}return null!==t?t:e.params.floor}function h(e,t){Object(r.isEmpty)(t)||Object.keys(t).forEach(function(n){null!=t[n]&&(e[n]=t[n])})}function O(e,t,n,r){return e.map(function(e){return function(t){return t&&t.userId&&t.userId[e]}}(t)).filter(_(t)).map(function(e,t){return function(n){return{source:e,uids:[{id:n.id?n.id:n,ext:{rtiPartner:t}}]}}}(n,r))}var _=function(e){return function(t,n,i){var o=!!t&&(Object(r.isStr)(t)?!!t:Object(r.isPlainObject)(t)&&!Object(r.isArray)(t)&&!Object(r.isEmpty)(t)&&t.id&&Object(r.isStr)(t.id)&&!!t.id);return o||void 0===i[0]||Object(r.logWarn)(“Triplelift: invalid “.concat(e,” userId format”)),o}};function j(e){return e.filter(E).map(function(e){return{w:e[0],h:e[1]}})}function E(e){return 2===e.length&&”number”==typeof e[0]&&”number”==typeof e[1]}Object(o.registerBidder)(m)}},[875]),pbjsChunk([11],{15:function(e,t,n){t.b=function(e){var t=[];for(var n in e)if(e.hasOwnProperty(n))if(“pubProvidedId”===n)t=t.concat(e.pubProvidedId);else{var r=o(e[n],n);r&&t.push(r)}return t},t.a=function(e){var t=[];return e.filter(function(e){return Object(r.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length}).forEach(function(e){Object.keys(e.idObj).forEach(function(n){Object(r.deepAccess)(e,”config.bidders”)&&Array.isArray(e.config.bidders)&&Object(r.deepAccess)(i,n+”.source”)&&t.push({source:i[n].source,bidders:e.config.bidders})})}),t};var r=n(0),i={intentIqId:{source:”intentiq.com”,atype:1},naveggId:{source:”navegg.com”,atype:1},pubcid:{source:”pubcid.org”,atype:1},tdid:{source:”adserver.org”,atype:1,getUidExt:function(){return{rtiPartner:”TDID”}}},id5id:{getValue:function(e){return e.uid},source:”id5-sync.com”,atype:1,getUidExt:function(e){if(e.ext)return e.ext}},parrableId:{source:”parrable.com”,atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?””:null},getUidExt:function(e){var t=Object(r.pick)(e,[“ibaOptout” t}},idl_env:{source:”liveramp.com”,atype:3},lipb:{getValue:function(e){return e.lipbid},source:”liveintent.com”,atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:”britepool.com”,atype:3},dmdId:{source:”hcn.health”,atype:3},lotamePanoramaId:{source:”crwdcntrl.net”,atype:1},criteoId:{source:”criteo.com”,atype:1},merkleId:{source:”merkleinc.com”,atype:3,getValue:function(e){return e.id},getUidExt:function(e){return e&&e.keyID?{keyID:e.keyID}:void 0}},netId:{source:”netid.de”,atype:1},IDP:{source:”zeotap.com”,atype:1},haloId:{source:”audigent.com”,atype:1},quantcastId:{source:”quantcast.com”,atype:1},nextrollId:{source:”nextroll.com”,atype:1},idx:{source:”idx.lat”,atype:1},connectid:{source:”verizonmedia.com”,atype:3},fabrickId:{source:”neustar.biz”,atype:1},mwOpenLinkId:{source:”mediawallahscript.com”,atype:1},tapadId:{source:”tapad.com”,atype:1},novatiq:{getValue:function(e){return e.snowflake},source:”novatiq.com”,atype:1},uid2:{source:”uidapi.com”,atype:3,getValue:function(e){return e.id}},dapId:{source:”akamai.com”,atype:1},deepintentId:{source:”deepintent.com”,atype:3},admixerId:{source:”admixer.net”,atype:3},adtelligentId:{source:”adtelligent.com”,atype:3},amxId:{source:”amxrtb.com”,atype:1},publinkId:{source:”epsilon.com”,atype:3},kpuid:{source:”kpuid.com”,atype:3},imuid:{source:”intimatemerger.com”,atype:1},connectId:{source:”yahoo.com”,atype:3}};function o(e,t){var n=i[t];if(n&&e){var o={};o.source=n.source;var a=Object(r.isFn)(n.getValue)?n.getValue(e):e;if(Object(r.isStr)(a)){var c={id:a,atype:n.atype};if(Object(r.isFn)(n.getUidExt)){var s=n.getUidExt(e);s&&(c.ext=s)}if(o.uids=[c],Object(r.isFn)(n.getEidExt)){var u=n.getEidExt(e);u&&(o.ext=u)}return o}}return null}},897:function(e,t,n){e.exports=n(898)},898:function(e,t,n){Object.defineProperty(t,”__esModule”,{value:!0}),n.d(t,”PBJS_USER_ID_OPTOUT_NAME”,function(){return C}),n.d(t,”coreStorage”,function(){return x}),n.d(t,”syncDelay”,function(){return _}),n.d(t,”auctionDelay”,function(){return j}),t.setSubmoduleRegistry=function(e){U=e},t.setStoredValue=B,t.setStoredConsentData=L,t.findRootDomain=W,t.requestBidsHook=H,n.d(t,”validateGdprEnforcement”,function(){return Q}),t.attachIdSystem=te,t.init=ne;var r=n(11),i=n.n(r),o=n(3),a=n(10),c=n.n(a),s=n(14),u=n(8),d=n(5),l=n.n(d),f=n(9),p=n(15),b=n(7),g=n(0),m=n(12),y=n.n(m);function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:void 0,r=n?””.concat(e.name,”_”).concat(n):e.name;try{if(e.type===I)t=x.getCookie(r);else if(e.type===A){var i=x.getDataFromLocalStorage(“”.concat(e.name,”_exp”));””===i?t=x.getDataFromLocalStorage(r):i&&new Date(i).getTime()-Date.now()>0&&(t=decodeURIComponent(x.getDataFromLocalStorage(r)))}”string”==typeof t&&”{“===t.trim().charAt(0)&&(t=JSON.parse(t))}catch(e){Object(g.logError)(e)}return t}function q(e){var t={consentString:””,gdprApplies:!1,apiVersion:0};return e&&(t.consentString=e.consentString,t.gdprApplies=e.gdprApplies,t.apiVersion=e.apiVersion),Object(g.cyrb53Hash)(JSON.stringify(t))}function L(e){try{var t=new Date(Date.now()+864e5*w).toUTCString();x.setCookie(T,q(e),t,”Lax”)}catch(e){Object(g.logError)(e)}}function F(){try{return x.getCookie(T)}catch(e){Object(g.logError)(e)}}function z(e){if(e&&”boolean”==typeof e.gdprApplies&&e.gdprApplies){if(!e.consentString)return!1;if(1===e.apiVersion&&!1===Object(g.deepAccess)(e,”vendorData.purposeConsents.1″))return!1;if(2===e.apiVersion&&!1===Object(g.deepAccess)(e,”vendorData.purpose.consents.1″))return!1}return!0}function W(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.hostname;if(!x.cookiesAreEnabled())return e;var t,n,r=e.split(“.”);if(2==r.length)return e;var i=-2,o=”_rdc”.concat(Date.now()),a=”writeable”;do{t=r.slice(i).join(“.”);var c=new Date(Object(g.timestamp)()+1e4).toUTCString();x.setCookie(o,a,c,”Lax”,t,void 0),x.getCookie(o,void 0)===a?(n=!1,x.setCookie(o,”” 01 Jan 1970 00:00:01 GMT”,void 0,t,void 0)):(i+=-1,n=Math.abs(i)<=r.length)}while(n);return t}function V(e,t){var n=function(){};t&&(n=Object(g.delayExecution)(function(){clearTimeout(O),t()},e.length)),e.forEach(function(e){e.callback(function(t){t?(e.config.storage&&B(e,t),e.idObj=e.submodule.decode(t,e.config)):Object(g.logInfo)(“”.concat(S,”: “).concat(e.submodule.name,” – request id responded with an empty value”)),n()}),e.callback=void 0})}function G(e){return Array.isArray(e)&&e.length?e.filter(function(e){return Object(g.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length}).reduce(function(e,t){return Object.keys(t.idObj).forEach(function(n){e[n]=t.idObj[n]}),e},{}):{}}function K(e){var t=!1;if(void 0===h&&(h=function(e,t){var n=Q(e,t),r=n.userIdModules;if(!n.hasValidated&&!z(t))return Object(g.logWarn)(“”.concat(S,” – gdpr permission not valid for local storage or cookies, exit module”)),[];var i=F();return L(t),r.reduce(function(e,n){return Z(n,t,i,!1),e.push(n),e},[])}(R,u.gdprDataHandler.getConsentData())).length){N(h);var n=h.filter(function(e){return Object(g.isFn)(e.callback)});if(n.length)if(e&&j>0){t=!0;var r=!1,i=function(){r||(r=!0,e())};Object(g.logInfo)(“”.concat(S,” – auction delayed by “).concat(j,” at most to fetch ids”)),O=setTimeout(i,j),V(n,i)}else c.a.on(l.a.EVENTS.AUCTION_END,function e(){c.a.off(l.a.EVENTS.AUCTION_END,e),_>0?setTimeout(function(){V(n)},_):V(n)})}e&&!t&&e()}function H(e,t){K(function(){!function(e,t){[e].some(function(e){return!Array.isArray(e)||!e.length})||e.forEach(function(e){e.bids&&Object(g.isArray)(e.bids)&&e.bids.forEach(function(e){var n=function(e,t){return Array.isArray(e)&&e.length&&t?e.filter(function(e){return!e.config.bidders||!Object(g.isArray)(e.config.bidders)||y()(e.config.bidders,t)}).filter(function(e){return Object(g.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length}).reduce(function(e,t){return Object.keys(t.idObj).forEach(function(n){e[n]=t.idObj[n]}),e},{}):{}}(t,e.bidder);Object.keys(n).length&&(e.userId=n,e.userIdAsEids=Object(p.b)(n))})})}(t.adUnits||Object(s.a)().adUnits,h);var n=E&&(J()||[]).find(function(e){return e.source===E});if(n&&”string”==typeof Object(g.deepAccess)(n,”uids.0.id”)){var r=n.uids[0].id.replace(/[W_]/g,””);r.length>=32&&r.length<=150?Object(g.isGptPubadsDefined)()?window.googletag.pubads().setPublisherProvidedId(r):(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(function(){window.googletag.pubads().setPublisherProvidedId(r)})):Object(g.logWarn)(“User ID – Googletag Publisher Provided ID for “.concat(E,” is not between 32 and 150 characters – “).concat(r))}e.call(this,t)})}function Y(){return K(),G(h)}function J(){return K(),Object(p.b)(G(h))}function X(e,t){var n=e?e.submoduleNames:null;n||(n=[]),K(function(){var e=u.gdprDataHandler.getConsentData(),r=Q(R,e),i=r.userIdModules;if(r.hasValidated||z(e)){var o=F();L(e);var a,c=[],s=function(e,t){var n=”undefined”!=typeof Symbol&&e[Symbol.iterator]||e[“@@iterator”];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if(“string”==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return”Object”===n&&e.constructor&&(n=e.constructor.name),”Map”===n||”Set”===n?Array.from(e):”Arguments”===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e))||t&&e&&”number”==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError(“Invalid attempt to iterate non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”)}var o,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw o}}}}(i);try{for(s.s();!(a=s.n()).done;){var d=a.value;n.length>0&&-1===n.indexOf(d.submodule.name)||(Object(g.logInfo)(“”.concat(S,” – refreshing “).concat(d.submodule.name)),Z(d,e,o,!0),$(d),h.length&&N(h),Object(g.isFn)(d.callback)&&c.push(d))}}catch(e){s.e(e)}finally{s.f()}c.length>0&&V(c),t&&t()}else Object(g.logWarn)(“”.concat(S,” – gdpr permission not valid for local storage or cookies, exit module”))})}var Q=Object(f.b)(“sync”,function(e,t){return{userIdModules:e,hasValidated:t&&t.hasValidated}},”validateGdprEnforcement”);function Z(e,t,n,r){if(e.config.storage){var i,o=M(e.config.storage),a=!1;if(“number”==typeof e.config.storage.refreshInSeconds){var c=new Date(M(e.config.storage,”last”));a=c&&Date.now()-c.getTime()>1e3*e.config.storage.refreshInSeconds}!o||a||r||!function(e,t){return null!=n&&n===q(t)}(0,t)?i=e.submodule.getId(e.config,t,o):”function”==typeof e.submodule.extendId&&(i=e.submodule.extendId(e.config,t,o)),Object(g.isPlainObject)(i)&&(i.id&&(B(e,i.id),o=i.id),”function”==typeof i.callback&&(e.callback=i.callback)),o&&(e.idObj=e.submodule.decode(o,e.config))}else if(e.config.value)e.idObj=e.config.value;else{var s=e.submodule.getId(e.config,t,void 0);Object(g.isPlainObject)(s)&&(“function”==typeof s.callback&&(e.callback=s.callback),s.id&&(e.idObj=e.submodule.decode(s.id,e.config)))}}function $(e){for(var t=!1,n=0;nt?e:t}function d(e,t,n){!e.preload&&e.preloadThreshhold&&function(e,t,n,i){return t.top<=i+n&&u(e)}(t.target,t.rect,e.preloadThreshhold,n)&&(e.preload=!0,setTimeout(function(){e.trigger(“preload”,new r(“preload”,t))},15))}function c(n){var i=n.el.getBoundingClientRect(),o=t.innerHeight||e.documentElement.clientHeight,h=f(i,o),s=h/(i.height||o),l={target:n.el,rect:i,visiblePx:h,visiblePercent:s};!function(e,t){var n=t.visiblePx,i=t.visiblePercent;n&&i>=e.shownThreshold&&!e.seen?(e.seen=!0,setTimeout(function(){e.trigger(“shown”,new r(“shown”,t))},15)):(!n||i1&&(h+=e(r,Math.floor(n/o),i-1,o)),h},this.getVerticallyVisiblePixels=f,this.getViewportHeight=function(){return t.innerHeight||e.documentElement.clientHeight||e.body.clientHeight},this.getViewportWidth=function(){return t.innerWidth||e.documentElement.clientWidth||e.body.clientWidth},this.isElementNotHidden=u,this.isElementInViewport=function(n){var i=n.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.bottom<=(t.innerHeight||e.documentElement.clientHeight)&&i.right<=(t.innerWidth||e.documentElement.clientWidth)},this.Visible=o}]);
}, {}];
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==”function”&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(“Cannot find module ‘”+o+”‘”);throw f.code=”MODULE_NOT_FOUND”,f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==”function”&&require;for(var o=0;o= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(“Invalid attempt to iterate non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === “string”) return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === “Object” && o.constructor) n = o.constructor.name; if (n === “Map” || n === “Set”) return Array.from(o); if (n === “Arguments” || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
function mountLegacyServices() {
Object.keys(window.modules).filter(function (key) {
return typeof key === ‘string’ && key.match(/.legacy$/);
}).forEach(function (key) {
return window.require(key);
});
}
function tryToMount(fn, el, name) {
try {
fn(el); // init the controller
} catch (e) {
var elementTag = el.outerHTML.slice(0, el.outerHTML.indexOf(el.innerHTML));
console.error(“Error initializing controller for “”.concat(name, “” on “”).concat(elementTag, “””), e);
}
}
/**
* mount client.js component controllers
*/
function mountComponentModules() {
Object.keys(window.modules).filter(function (key) {
return typeof key === ‘string’ && key.match(/.client$/);
}).forEach(function (key) {
var controllerFn = window.require(key);
if (typeof controllerFn === ‘function’) {
var name = key.replace(‘.client”
instancesSelector = “[data-uri*=”_components/”.concat(name, “/”]”),
defaultSelector = “[data-uri$=”_components”.concat(name, “”]”),
instances = document.querySelectorAll(instancesSelector),
defaults = document.querySelectorAll(defaultSelector);
var _iterator = _createForOfIteratorHelper(instances),
_step;
try {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
var el = _step.value;
tryToMount(controllerFn, el, name);
}
} catch (err) {
_iterator.e(err);
} finally {
_iterator.f();
}
var _iterator2 = _createForOfIteratorHelper(defaults),
_step2;
try {
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
var _el = _step2.value;
tryToMount(controllerFn, _el, name);
}
} catch (err) {
_iterator2.e(err);
} finally {
_iterator2.f();
}
}
});
} // Make sure that a `window.process.env.NODE_ENV` is available in the client for any dependencies,
// services, or components that could require it
// note: the “ value is swapped for the actual environment variable in /lib/cmd/compile/scripts.js
window.process = window.process || {};
window.process.env = window.process.env || {};
if (!window.process.env.NODE_ENV) {
window.process.env.NODE_ENV = ”;
} // note: legacy controllers that require legacy services (e.g. dollar-slice) must
// wait for DOMContentLoaded to initialize themselves, as the files themselves must be mounted first
mountLegacyServices();
mountComponentModules();
// ]]
First to share? If share image does not populate, please close the share box & re-open or reload page to load the image, Thanks!