\n           \n                "+function(e){return e.bodyText?""+e.bodyText+"":""}(e)+"\n                \n                    Avsender: "+e.advertiser+"\n                \n            "; var c=function(e){if(e.isPrebid){var t=do***ent.createElement("script"); return t.innerHTML="function track(action, adId) {\n                var message = JSON.stringify({\n                    message: 'Prebid Native',\n                    adId: adId,\n                    action: action\n                }); \n                window.postMessage(message, '*'); \n                console.log('Sending prebid native message', message); \n            }\n            track('impression', '"+e.adId+"'); ",t}return null}(e); return c&&d.appendChild(c),d.appendChild(s),t.appendChild(d),t.outerHTML}},function(e,t,n){"use strict"; var r=n(7),i=n(54),o=n(70),a=(n(0),o.createMutex()),s={},d=void 0,c=new Promise(function(e,t){d=e,t}),l=function(e){return function(e){return new Promise(function(t){a.lock(function(){s.positions[e]=s.positions[e]||{}; var n=s.positions[e].nextIndex||1; s.positions[e].nextIndex=n+1,a.unlock(); var r=e+"-"+n; t({position:e,id:r,index:n,slotId:"ad-"+r})})})}(e).then(i.load)}; r.then(function(e){s.config=e,s.positions={},i.init(e,function(){return function(e){return Promise.all(e.map(function(e){return s.positions[e]=s.positions[e]||{},s.positions[e].prepared=s.positions[e].prepared||[],l(e).then(function(t){return s.positions[e].prepared.push(t),t})}))}(s.config.positions)}).then(function(){!function e(){window.bazaartag.isReady()?d(s):setTimeout(e,5)}()})}); e.exports.getAd=function(e){return c.then(function(){return function(e){return s.positions[e]&&s.positions[e].prepared?s.positions[e].prepared.shift():void 0}(e)}).then(function(t){return t||l(e)})},e.exports.getAllAds=function(){return c.then(function(){return s})}},function(e,t,n){"use strict"; var r=n(1); e.exports.mapping=function(e){var t=[768,0],n=[0,0]; switch(e){case"toppbanner":return{minHeight:{mobile:250,desktop:300},prebid:{use:!0,native:!1,video:!1},size:["fluid"],breakpoints:[{break:[[768,0],[[980,120],[980,150],[980,200],[980,240],[980,300],[1e3,150],[1e3,300],"fluid"]]},{break:[n,[[300,250],[320,250]]]}]}; case"toppbannerdods":return{minHeight:{mobile:250,desktop:300},prebid:{use:!1},size:[300,250],breakpoints:[{break:[[768,0],[[980,120],[980,150],[980,200],[980,240],[980,300]]]},{break:[n,[[300,250],[320,250]]]}]}; case"skysk****rdods":return{minHeight:{mobile:500,desktop:500},prebid:{use:!1},size:[***1,500],breakpoints:[{break:[[1300,250],[[***0,500],[250,500],[300,600]]]},{break:[n,[]]}]}; case"skysk****rvenstre":return{minHeight:{mobile:500,desktop:500},prebid:{use:!1},size:[***1,500],breakpoints:[{break:[[1300,250],[[***1,500],[***1,700]]]},{break:[n,[]]}]}; case"midtbanner":return{minHeight:{mobile:250,desktop:300},prebid:{use:!0,native:!0,video:!0,placementId:r.isMobile()?"mobilbanner":"midtbanner"},size:["fluid"],breakpoints:[{break:[t,[[980,120],[980,150],[980,200],[980,240],[980,300],[980,500],[980,600],"fluid"]]},{break:[n,[[300,250],[320,250],[320,400],[320,480],"fluid"]]}]}; case"challengedeck":return{minHeight:{mobile:250,desktop:50},prebid:{use:!1},size:[980,50],breakpoints:[{break:[t,[[980,50],[980,100],[980,130],[980,150]]]},{break:[n,[[320,250],[320,100],[320,50]]]}]}; case"challengetop":return{minHeight:{desktop:60},prebid:{use:!1},size:[380,60],breakpoints:[{break:[t,[[380,60]]]},{break:[n,[]]}]}; case"netboard":return{minHeight:{mobile:250,desktop:500},prebid:{use:!0,native:!0,video:!0},size:["fluid"],breakpoints:[{break:[t,[[300,250],[320,250],[480,400],[580,400],[580,500],"fluid"]]},{break:[n,[[300,250],[320,250],[320,480]]]}]}; case"netboarddm":case"netboardsmb":return{minHeight:{mobile:250,desktop:500},prebid:{use:!1},size:[580,500],breakpoints:[{break:[t,[[480,400],[580,400],[580,500]]]},{break:[n,[]]}]}; case"skysk****r":return{minHeight:{mobile:500,desktop:500},prebid:{use:!0,native:!1,video:!1},size:[***0,500],breakpoints:[{break:[[1300,250],[[***0,500],[160,600],[***0,700]]]},{break:[[1450,250],[[***0,500],[160,600],[***0,700],[250,500],[280,500],[300,600]]]},{break:[n,[]]}]}; case"artikkelboard":return{minHeight:{mobile:250,desktop:250},prebid:{use:!0,native:!0,video:!0},size:["fluid"],breakpoints:[{break:[t,[[320,250],[300,250],"fluid"]]},{break:[n,[]]}]}; case"vertikalnative":return{minHeight:{mobile:500,desktop:500},prebid:{use:!1},size:["fluid"],breakpoints:[{break:[t,[[320,500],"fluid"]]},{break:[n,[[320,500]]]}]}; case"outstreamvideo":return{minHeight:{mobile:1,desktop:1},prebid:{use:!1},size:[1,1],breakpoints:[{break:[t,[[1,1]]]},{break:[n,[[1,1]]]}]}; case"midtbannersmb":return{minHeight:{mobile:250,desktop:250},prebid:{use:!1},size:[320,250],breakpoints:[{break:[t,[[980,120],[980,150],[980,200],[980,240],[980,300],[980,500],[980,600],"fluid"]]},{break:[n,[[300,250],[320,250],[320,400],[320,480],"fluid"]]}]}; case"cm":case"cm1":case"cm2":return{minHeight:{mobile:250,desktop:250},prebid:{use:!1},size:"fluid",breakpoints:[{break:[t,"fluid"]},{break:[n,"fluid"]}]}; default:return!1}}},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto); if(n){var r=new Uint8Array(16); e.exports=function(){return n(r),r}}else{var i=new Array(16); e.exports=function(){for(var e,t=0; t<16; t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255; return i}}},function(e,t){for(var n=[],r=0; r<256; ++r)n[r]=(r+256).toString(16).substr(1); e.exports=function(e,t){var r=t||0,i=n; return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")}},function(e,t,n){"use strict"; var r="undefined"!=typeof window&&window.performance&&void 0!==window.performance.timing.fetchStart,i=r?window.performance.timing.fetchStart:void 0; e.exports.elapsed=function(){return r?Date.now()-i:void 0}},function(e,t,n){"use strict"; var r=n(0),i="toppbanner-1",o=!1,a=!1,s=!1,d=!0,c=!1,l=void 0,u={setUpShadowPlaceholderElement:function(){var e=u.getAd(); null===e&&r.debug("shadow: did not find ad to shadow"); var t=u.getShadowPlaceholder(); return null===t&&r.debug("shadow: did not find shadow placeholder"),null!==e&&null!==t?(r.debug("shadow: fetching shadow placeholder element",t),r.debug("shadow: starting shadowing for "+i),t):null},getShadowPlaceholder:function(){return do***ent.querySelector("bazaar-ad[position='shadow']")},getAd:function(){return do***ent.querySelector("bazaar-ad[id='"+i+"']")}},p={moveForward:function(){var e=u.getAd(); e.parentNode.style.height=e.style.height; var t=u.getShadowPlaceholder(),n=t.getBoundingClientRect(),r=e.getBoundingClientRect(); if(!(r.topn.top-20)){var i=e.parentNode.clientHeight+40+"px"; e.parentNode.style.position="",t.style.height=i,n=t.getBoundingClientRect(); var o=function(e){var t=0; if(e.offsetParent)do{t+=e.offsetTop,e=e.offsetParent}while(e); return t>=0?t:0}(t); for(e.style.top=o+"px",e.style.zIndex=2,r=e.getBoundingClientRect(); r.top>n.top+20; )o-=10,e.style.top=o+"px",r=e.getBoundingClientRect()}},moveBack:function(){var e=u.getAd(); e.parentNode.style.height=e.style.height,e.style.top="",e.style.zIndex=0}}; var f=new IntersectionObserver(function(e){e.forEach(function(e){e.intersectionRatio>0&&!o?(a=!0,r.debug("shadow: shadow placeholder in viewport, no inscreen, move shadowed ad to shadow placeholder")):0!==e.intersectionRatio||o?0!==e.intersectionRatio&&a||!o||u.getShadowPlaceholder().getBoundingClientRect().top>0&&h():a&&(a=!1,r.debug("shadow: shadow placeholder not in viewport, no inscreen, move shadowed ad back to original position"),p.moveBack()),function(e){0===e.intersectionRatio?c=!1:e.intersectionRatio>0&&(c=!0)}(e)})}); var g=function(e){null!==e&&void 0!==e?(l=setInterval(function(){c&&a&&p.moveForward()},1e3),f.observe(e),r.debug("shadow: start observing shadow element",e)):r.debug("shadow: could not observe shadow element")},h=function(){clearInterval(l),a=!1; var e=u.getShadowPlaceholder(); !function(e){null!==e&&void 0!==e&&(r.debug("shadow: stop observing shadow "+i),f.disconnect())}(e),p.moveBack(),e.style.height="0px",s=!1,r.debug("shadow: inscreen, finish shadow, shadowed ad moved back to original position")}; window.addEventListener("message",function(e){void 0===e.data.type||-1===e.data.type.indexOf("wallpaper")&&-1===e.data.type.indexOf("hestesko")||(d=!1,r.debug("shadow: shouldn't shadow "+e.data.type),s&&null!==u.getShadowPlaceholder()&&h())}),e.exports.doEnableShadowing=function(e){(d=e<3||-1!==window.location.href.indexOf("reuse=false"))?r.debug("shadow: shadowing is enabled for "+window.location.href):r.debug("shadow: shadowing is not enabled for "+window.location.href)},e.exports.setAdId=function(e){i=e},e.exports.startShadow=function(e){if("shadow-1"===e||e===i){if(!d)return void r.debug("shadow: shouldn't shadow elements on page"); if(o)return void r.debug("shadow: "+i+" is already inscreen, aborting shadowing"); var t=u.setUpShadowPlaceholderElement(); null!==t&&(g(t),s=!0)}},e.exports.stopShadow=function(e){e===i&&(r.debug("shadow: shadowed ad "+i+" got inscreen"),o=!0,s=!1)}},function(e,t,n){"use strict"; var r=n(0); e.exports.placeOrRemove=function(){var e=do***ent.querySelectorAll("bazaar-ad[position='skysk****r'][class*='am-bazaar-ad lp_skysk****r']"); if(!(null===e||e.length<1)){if(!(e[0].parentElement.hasAttribute("data-isfrontpage")&&"true"===e[0].parentElement.getAttribute("data-isfrontpage")))r.debug("On articlepage, adjusting skysk****r height"),function(e,t){Object.assign(e.style,t)}(e[0].parentElement.parentElement,{top:"0",bottom:"0"}); e.forEach(function(e){return e.enable()})}},e.exports.moveToTop=function(){var e=do***ent.getElementsByClassName("skysc****r-ads-container")[0]; e&&(e.style.top=0)}},function(e,t,n){"use strict"; e.exports.displayTakeover=function(){do***ent.getElementsByClassName("lp_takeover")[0].classList.add("takeover"); var e=do***ent.getElementById("page-wrap"); if(e)e.style.display="none"; else{var t=do***ent.getElementsByClassName("maelstrom-wrapper"); t&&t.length>0&&(t[0].style.display="none")}},e.exports.closeTakeover=function(){var e=do***ent.getElementById("page-wrap"); if(e)e.style.display=""; else{var t=do***ent.getElementsByClassName("maelstrom-wrapper"); t&&t.length>0&&(t[0].style.display="")}do***ent.getElementById("takeover-1").style.display="none"}},function(e,t,n){"use strict"; var r=n(0),i=n(1).hashString,o=[],a=[],s=!0,d=!0,c={},l=[],u={},p=n(1); var f=function(e){r.debug("create lazyload observer"); var t=new IntersectionObserver(function(n){n.forEach(function(n){var i=o.indexOf(n.target); -1!==i&&(n.isIntersecting||n.intersectionRatio>0)&&(window.requestAnimationFrame(n.target.render.bind(n.target)),function(t){var n=t.getAttribute("position"); null!=n?r.debug("Lazyload triggered on bazaar-ad position="+n+", with threshold="+e):r.debug("Lazyload triggered on an unknown dom element with threshold="+e)}(n.target),t.unobserve(n.target),o.splice(i,1))})},{rootMargin:e}); return c[e]=t,t},g=window.navigator.userAgent.indexOf("Edge")>-1||window.navigator.userAgent.indexOf("Trident")>-1?!(!sessionStorage||!sessionStorage.getItem||null===sessionStorage.getItem("pageYpos_"+i(location.pathname))):!(!history||!history.state); e.exports.initLazyloadConfig=function(e){(u=p.isMobile()?{toppbanner:e.mobileToppbanner,midtbanner:e.mobileMidtbanner,netboard:e.mobileNetboard,challengedeck:e.mobileChallengedeck}:{toppbanner:e.desktopToppbanner,midtbanner:e.desktopMidtbanner,netboard:e.desktopNetboard}).artikkelboard=e.desktopArtikkelboard,u.skysk****r=e.desktopSkysk****r,u.vertikalnative=e.desktopVertikalnative,r.debug("lazyload: threshold values",u)},e.exports.handleThreshold=function(e,t){var n=c[t]||f(t); -1!==window.location.href.indexOf("www.tangotidene.no")?function(e,t){var n=function(e){-1===o.indexOf(e)&&(o.push(e),t.observe(e))},i=function(){d=!1,a.forEach(function(e){n(e),r.debug("BAZAAR_SCROLL_HISTORY run postponed observer for "+e.className)})},c=function(){window.addEventListener("scroll",function(){i()},{once:!0})}; g&&window.pageYOffset<160?(a.push(e),s&&(r.debug("BROWSER_SCROLL_HISTORY test active, - wait for scroll event or timeout (ts: "+performance.now()+")"),s=!1,window.addEventListener("scroll",function(){d&&(r.debug("BROWSER_SCROLL_HISTORY scroll detection triggers observers (ts: "+performance.now()+")"),window.performance&&window.performance.navigation.type&&2===window.performance.navigation.type?c():i())},{once:!0}),setTimeout(function(){d&&(r.debug("BROWSER_SCROLL_HISTORY no scroll detected, timeout triggers observers (ts: "+performance.now()+")"),window.performance&&window.performance.navigation.type&&2===window.performance.navigation.type?c():i())},2e3))):(r.debug("BROWSER_SCROLL_HISTORY no state set. Observer "+e.className+" runs directly - (ts: "+performance.now()+")"),n(e))}(e,n):setTimeout(function(){-1!==window.location.href.indexOf("nettavisen.no")&&window.performance&&window.performance.navigation.type&&2===window.performance.navigation.type?window.addEventListener("scroll",function(){-1===o.indexOf(e)&&(e.classList.contains("frozen")&&e.classList.remove("frozen"),o.push(e),n.observe(e))},{once:!0}):-1===o.indexOf(e)&&(o.push(e),n.observe(e))},1e3)},e.exports.getThreshold=function(e,t){if(void 0===e&&(e=""),window.location.href.indexOf("tb.no")>-1&&Math.floor(100*Math.random())>=90)return 0===l.length&&function(){for(var e=-150; e<=200; e+=10)l.push(e); r.debug("threshold: experimental threshold values",l)}(),function(e,t){var n=Math.floor(Math.random()*l.length),i=l[n]; return r.debug("threshold: created alternative threshold for testing "+i+" on position "+e+" with positionIndex "+t),i}(e,t); switch(e){case"toppbanner":return u.toppbanner; case"midtbanner":return u.midtbanner; case"netboard":return u.netboard; case"artikkelboard":return u.artikkelboard; case"skysk****r":return u.skysk****r; case"vertikalnative":return u.vertikalnative; case"challengedeck":return u.challengedeck; default:return 0}}},function(e,t,n){"use strict"; var r=n(29),i={width:1920,height:1020,linkHeight:1e3,stickyHeight:1985,left:"calc(50% - (1000px / 2) - 460px)",adHeight:""},o={width:1360,height:720,linkHeight:700,stickyHeight:1985,left:"calc(50% - (1000px / 2) - ***0px)",adHeight:""},a=function(e,t){var n=do***ent.createElement("a"); return n.setAttribute("href",""+e),n.setAttribute("target","_blank"),Object.assign(n.style,{display:"block",height:t.linkHeight+"px",left:""+t.left,position:"absolute",top:"0px",width:t.width+"px"}),n},s=function(e,t){Object.assign(e.style,{height:t.height+"px",left:""+t.left,width:t.width+"px"})},d=function(e,t){Object.assign(e.style,{top:"0px",position:"absolute",width:t.width+"px"}),e.style.setProperty("height",t.stickyHeight+"px","important")},c=function(e,t){Object.assign(e.style,{left:""+t.left,display:"flex",alignItems:"flex-start",position:"sticky",top:"20px"}),e.style.setProperty("height",t.height+"px","important")},l=function(e,t){Object.assign(e.style,{left:""+t.left,position:"relative",display:"block",height:t.adHeight+"px",width:t.width+"px"})},u=function(){var e=void 0,t=void 0,n=void 0,u=void 0,p=function(e,t){n&&n.appendChild(a(e,t))},f=function(r,i){!function(r){n=do***ent.getElementById("ad-toppbanner-1"),u=n.querySelector("iframe"),t=r.getElementsByClassName("stickyContainer")[0],e=r.getElementsByClassName("absoluteContainer")[0]}(r),function(e){e.adHeight=Number(u.height.replace("px",""))+20}(i),function(n,r){s(u,r),c(t,r),d(e,r),l(n,r),n.classList.remove("am-bazaar-ad--labeled"),t.classList.add("am-bazaar-ad--labeled")}(r,i)}; return{wallpaper:{createScriptScript:function(e,t){f(t,i)},createScriptImg:function(e,r){f(r,i),p(e.clickUrl,i); var o=void 0!==e.advertiser&&"adform"===e.advertiser; n.style.paddingLeft=o?"0px":"460px",e.background&&(t.style.background="url("+e.background.img+") 0px 0px no-repeat")},createImgImg:function(e,r){f(r,i),p(e.clickUrl,i),e.top&&(n.style.background="url("+e.top.img+") 460px 0px no-repeat"),e.background&&(t.style.background="url("+e.background.img+") 0px 0px no-repeat")},setSticky:function(){r.setSticky(t)}},horseshoe:{createScriptScript:function(e,t){f(t,o)},createImgImg:function(r,i){if(f(i,o),p(r.clickUrl,o),r.top&&r.left&&r.left){var a=do***ent.createElement("div"); Object.assign(a.style,{order:1,background:"url("+r.left.img+") 0px 0px no-repeat"}),a.style.setProperty("width",r.left.width+"px","important"),a.style.setProperty("height",r.left.height+"px","important"); var s=do***ent.createElement("div"); Object.assign(s.style,{order:3,background:"url("+r.right.img+") 0px 0px no-repeat"}),s.style.setProperty("width",r.right.width+"px","important"),s.style.setProperty("height",r.right.height+"px","important"),n.style.background="url("+r.top.img+") 0px 0px no-repeat",n.style.order=2,n.style.setProperty("width",r.top.width+"px","important"),t.appendChild(a),t.appendChild(s); var d=r.left.width+r.top.width+r.right.width; e.style.width=d+"px"}},setSticky:function(){r.setSticky(t)}}}}(); e.exports.wallpaper=u.wallpaper,e.exports.horseshoe=u.horseshoe},function(e,t,n){"use strict"; /*!   * Stickyfill – `position: sticky` polyfill   * v. 2.0.3 | https://github.com/wilddeer/stickyfill   * MIT License   */var r=function(){function e(e,t){for(var n=0; n{}return""!=o.style.position})&&(i=!0)}else i=!0; var a="undefined"!=typeof ShadowRoot,s={top:null,left:null},d=[]; function c(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}function l(e){return parseFloat(e)||0}function u(e){for(var t=0; e; )t+=e.offsetTop,e=e.offsetParent; return t}var p=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!(t instanceof HTMLElement))throw new Error("First argument must be HTMLElement"); if(d.some(function(e){return e._node===t}))throw new Error("Stickyfill is already applied to this node"); this._node=t,this._stickyMode=null,this._active=!1,d.push(this),this.refresh()}return r(e,[{key:"refresh",value:function(){if(!i&&!this._removed){this._active&&this._deactivate(); var e=this._node,t=getComputedStyle(e),n={top:t.top,display:t.display,marginTop:t.marginTop,marginBottom:t.marginBottom,marginLeft:t.marginLeft,marginRight:t.marginRight,cssFloat:t.cssFloat}; if(!isNaN(parseFloat(n.top))&&"table-cell"!=n.display&&"none"!=n.display){this._active=!0; var r=e.parentNode,o=a&&r instanceof ShadowRoot?r.host:r,s=e.getBoundingClientRect(),d=o.getBoundingClientRect(),p=getComputedStyle(o); this._parent={node:o,styles:{position:o.style.position},offsetHeight:o.offsetHeight},this._offsetToWindow={left:s.left,right:do***ent.do***entElement.clientWidth-s.right},this._offsetToParent={top:s.top-d.top-l(p.borderTopWidth),left:s.left-d.left-l(p.borderLeftWidth),right:-s.right+d.right-l(p.borderRightWidth)},this._styles={position:e.style.position,top:e.style.top,bottom:e.style.bottom,left:e.style.left,right:e.style.right,width:e.style.width,marginTop:e.style.marginTop,marginLeft:e.style.marginLeft,marginRight:e.style.marginRight}; var f=l(n.top); this._limits={start:s.top+window.pageYOffset-f,end:d.top+window.pageYOffset+o.offsetHeight-l(p.borderBottomWidth)-e.offsetHeight-f-l(n.marginBottom)}; var g=p.position; "absolute"!=g&&"relative"!=g&&(o.style.position="relative"),this._recalcPosition(); var h=this._clone={}; h.node=do***ent.createElement("div"),c(h.node.style,{width:s.right-s.left+"px",height:s.bottom-s.top+"px",marginTop:n.marginTop,marginBottom:n.marginBottom,marginLeft:n.marginLeft,marginRight:n.marginRight,cssFloat:n.cssFloat,padding:0,border:0,borderSpacing:0,fontSize:"1em",position:"static"}),r.insertBefore(h.node,e),h.docOffsetTop=u(h.node)}}}},{key:"_recalcPosition",value:function(){if(this._active&&!this._removed){var e=s.top<=this._limits.start?"start":s.top>=this._limits.end?"end":"middle"; if(this._stickyMode!=e){switch(e){case"start":c(this._node.style,{position:"absolute",left:this._offsetToParent.left+"px",right:this._offsetToParent.right+"px",top:this._offsetToParent.top+"px",bottom:"auto",width:"auto",marginLeft:0,marginRight:0,marginTop:0}); break; case"middle":c(this._node.style,{position:"fixed",left:this._offsetToWindow.left+"px",right:this._offsetToWindow.right+"px",top:this._styles.top,bottom:"auto",width:"auto",marginLeft:0,marginRight:0,marginTop:0}); break; case"end":c(this._node.style,{position:"absolute",left:this._offsetToParent.left+"px",right:this._offsetToParent.right+"px",top:"auto",bottom:0,width:"auto",marginLeft:0,marginRight:0})}this._stickyMode=e}}}},{key:"_fastCheck",value:function(){this._active&&!this._removed&&(Math.abs(u(this._clone.node)-this._clone.docOffsetTop)>1||Math.abs(this._parent.node.offsetHeight-this._parent.offsetHeight)>1)&&this.refresh()}},{key:"_deactivate",value:function(){var e=this; this._active&&!this._removed&&(this._clone.node.parentNode.removeChild(this._clone.node),delete this._clone,c(this._node.style,this._styles),delete this._styles,d.some(function(t){return t!==e&&t._parent&&t._parent.node===e._parent.node})||c(this._parent.node.style,this._parent.styles),delete this._parent,this._stickyMode=null,this._active=!1,delete this._offsetToWindow,delete this._offsetToParent,delete this._limits)}},{key:"remove",value:function(){var e=this; this._deactivate(),d.some(function(t,n){if(t._node===e._node)return d.splice(n,1),!0}),this._removed=!0}}]),e}(),f={stickies:d,Sticky:p,addOne:function(e){if(!(e instanceof HTMLElement)){if(!e.length||!e[0])return; e=e[0]}for(var t=0; t[],n=function(n){var r=e[n]; return r instanceof HTMLElement?d.some(function(e){if(e._node===r)return t.push(e),!0})?"continue":void t.push(new p(r)):(t.push(void 0),"continue")},r=0; r[].slice.call(e.getElementsByTagName("script")).filter(function(e){return"application/bazaarscript"===e.getAttribute("type")})}(e),r=function(e){return e.map(function(e){var t=e.cloneNode(!0); return t.setAttribute("type","text/javascript"),t.async=!1,t})}(n); i(e,r).then(function(){!function(e,t){t.forEach(function(t){e.removeChild(t)})}(e,n),t()})})}},function(e,t,n){"use strict"; n(32),n(33),n(5),n(43),n(44).then(function(e){n(e?52:93)})},function(e,t,n){"use strict"},function(e,t,n){"use strict"; var r=n(0),i=n(34),o=n(11).readCookie("daxsub",{}); Promise.all([fetch("/api/bazaar/v2/ad/adsbygoogle.js").then(function(){return!1}).catch(function(){return!0}),new Promise(function(e){do***ent.addEventListener("DOMContentLoaded",function(){var t=do***ent.createElement("div"); t.innerHTML=" ",t.className="ads adsbox",t.style.position="absolute",t.style.left="0px",t.style.top="0px",t.style.width="1px",t.style.height="1px",do***ent.body.appendChild(t),window.setTimeout(function(){return e(0===t.offsetHeight),void 0===t.remove?t.parentElement.removeChild(t):t.remove()},100)})})]).then(function(e){var t=!(-1===e.indexOf(!0)); !function(e){window.addEventListener("message",function t(n){n.data&&"seshat-alive"===n.data.adpEventName&&(window.removeEventListener("message",t),window.postMessage(e,"*"))}),window.postMessage({adpEventName:"seshat-ping"},"*")}({adpEventName:"seshat-add",data:{a_adblock:t}}),r.debug("Detected AdBlocker: ",t),""===o?t&&i.fallback():r.debug("Detected UserLogin: daxsub cookie created")})},function(e,t,n){"use strict"; var r={language:"nb",challengedeck_nn:"Klikk her for eit introduksjonstilbod på alt innhald på nett",challengedeck_nb:"Klikk her for et introduksjonstilbud på alt innhold på nett",challengetop_nn:"Vi gir deg alt innhald på nett",challengetop_nb:"Vi gir deg alt innhold på nett",challengetop__header_nn:"Introduksjonstilbod",challengetop__header_nb:"Introduksjonstilbud"},i=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).doc,t=(void 0===e?do***ent:e).createElement("div"); return t.innerHTML='\n      \n      \n        \n        '+("nb"===r.language?r.challengedeck_nb:r.challengedeck_nn)+"\n        \n      \n  ",t},o=function(){var e=do***ent.querySelector('bazaar-ad[position="challengetop"]'); e&&e.parentNode.replaceChild(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).doc,t=(void 0===e?do***ent:e).createElement("div"); t.setAttribute("class","challengetop"),t.setAttribute("id","fallback"); return t.innerHTML='\n      \n      \n        \n          \n            '+("nb"===r.language?r.challengetop__header_nb:r.challengetop__header_nn)+'\n            '+("nb"===r.language?r.challengetop_nb:r.challengetop_nn)+'\n          \n          \n        \n      \n  ',t}({}),e)},a=function(){var e=do***ent.querySelector('bazaar-ad[position="challengedeck"]'); e&&e.parentNode.replaceChild(i({}),e)}; function s(){var e=JSON.parse([].slice.call(do***ent.getElementsByTagName("script")).filter(function(e){return"application/bazaarscript"===e.getAttribute("type")})[0].innerText).locale; "nn"===e&&(r.language=e)}e.exports.fallback=function(){null!==do***ent.querySelector('script[type="application/bazaarscript"]')?s():setTimeout(s,500),null!==do***ent.querySelector('bazaar-ad[position="challengedeck"]')?a():setTimeout(a,500),null!==do***ent.querySelector('bazaar-ad[position="challengetop"]')?o():setTimeout(o,500)},e.exports.fallbackElement=i},function(e,t,n){"use strict"; Object.defineProperty(t,"__esModule",{value:!0}); var r=n(36); t.data=r; var i=n(38); t.session=i},function(e,t,n){"use strict"; var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length; n{},t,n,i)}):o.getDataFromPluto(t).then(function(e){return Promise.all([e,a.getDataFromNebula(e.user_key),s.getDataFromEuropa(!e.user_key)])}).then(function(e){var t=e[0],n=e[1],i=e[2]; return r({},t,n,i)})}t.updateUserData=d,d(),t.getUserData=function(e){if(e){var t=[]; if(e.userName&&t.push(o.getCachedDataFromPluto()),e.userData&&t.push(a.getCachedDataFromNebula()),e.privacyPreferences&&t.push(s.getCachedDataFromEuropa()),t.length>0)return Promise.all(t).then(function(e){return e.reduce(function(e,t){return r({},e,t)},{})}).catch(function(){return i})}return i},t.remove=function(){return Promise.all([a.removeNebulaData(),s.removeEuropaData()])}},function(e,t){var n; n=function(){return this}(); try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict"; Object.defineProperty(t,"__esModule",{value:!0}); var r=n(39),i=n(8),o=n(40),a=n(12),s=n(42),d=n(14),c=n(16),l=n(3),u=n(6),p=n(2),f=n(2); t.setWWWDomain=f.setWWWDomain; var g=n(2); function h(){i.removeCookie("VSTOKEN"),i.removeCookie("daxsub"),i.removeCookie("aid.session"),i.removeCookie("aid_invitation_code"),i.removeCookie("aid-reload-article")}function m(){return Promise.all([a.removeSession(),d.removeNebulaData(),c.removeEuropaData()]).then(function(){return h()})}function v(){var e=i.getCookie("VSTOKEN"); if(!e)return r.getVstokenCookie(p.wwwDomain); var t=e.split(":"),n=new Date; return n.setUTCSeconds(parseInt(t[1],10)),n.setDate(n.getDate()-1),a.authenticate(window.location.href).then(function(e){return e?a.getDataFromPluto(window.location.href).then(function(e){return n.getTime()>Date.now()&&t[3]===e.user_uuid&&p.wwwDomain.includes(t[4])&&"jupiter"===t[5]?"":r.getVstokenCookie(p.wwwDomain)}):r.getVstokenCookie(p.wwwDomain)}).catch(function(e){return o.info("Failed to set VSTokenCookie",{error:e})})}t.setHost=g.setHost,t.cleanCookies=h,t.cleanCache=function(){return Promise.all([a.removePlutoData(),d.removeNebulaData(),c.removeEuropaData()])},t.logout=m,t.checkStateOfAccessCookie=function(){return navigator.cookieEnabled?i.getCookie("aid-reload-article")===window.location.href?(o.error("Article reloaded, but the user did not get access ",{referrer:do***ent.referrer,cookies:do***ent.cookie,domain:p.wwwDomain}),Promise.reject("Article reloaded, but the user did not get access")):r.checkForAccessToPublication(p.wwwDomain).then(function(e){e&&r.getVstokenCookie(p.wwwDomain).then(function(e){var t=new Date; t.setTime(t.getTime()+12e4); var n=window.location.origin; window.location.search?n+=window.location.search+"&":n+="?",n+="access=granted",n+=window.location.hash,i.setCookie("aid-reload-article",n,t),o.info("Reloading article to fix VSTOKEN",{referrer:do***ent.referrer,cookies:do***ent.cookie,domain:p.wwwDomain,reload_url:n,reload_date:t,new_vstoken:e}),window.location.replace(n)})}).catch(function(e){return e.deactivated&&m(),o.warn("Access check failed",{domain:p.wwwDomain}),Promise.reject(e)}):Promise.reject("Cookies not enabled")},t.authenticate=function(){return a.authenticate(window.location.href).then(function(e){return e||(i.removeCookie("aid-reload-article"),Promise.all([a.removePlutoData(),c.removeEuropaData(),d.removeNebulaData()]).then(function(){return e}).catch(function(t){return o.warn("Failed to remove data",{error:t}),e}))})},t.verifyAndSetVstokenCookie=v; var b=/(?:daxsub_cookie_)?created=(\d+)/; t.verifyAndSetDaxsubCookie=function(){var e=i.getCookie("daxsub"); return(e?Promise.resolve(e):s.getAndSetDaxsubCookie(p.wwwDomain)).then(function(e){var t,n=new Date,r=new Date(n.getFullYear(),n.getMonth(),n.getDate(),0,0,0),i=e.match(b); return i&&i[1]&&(t=Number(i[1])),t&&t>r.getTime()?s.getAndSetDaxsubCookie(p.wwwDomain).catch(function(e){return o.info("Failed to set daxsub",{error:e})}):Promise.resolve(e)})}; var w=new u.default("session"); w.createNotifier("flushCommandsFromSw").then(function(){return function e(){return l.localforage.getItem("commandsFromSw").then(function(e){return Object.keys(e).forEach(function(e){switch(e){case"cleanCookies":h(),w.notify("flushedCommandsFromSw-cleanCookies"); break; case"verifyAndSetVstokenCookie":v().then(function(e){return w.notify("flushedCommandsFromSw-verifyAndSetVstokenCookie",e)})}}),l.localforage.setItem("commandsFromSw",{})}).then(function(){w.createNotifier("flushCommandsFromSw").then(function(){return e()})})}()})},function(e,t,n){"use strict"; Object.defineProperty(t,"__esModule",{value:!0}); var r=n(3),i=n(8),o=n(4),a=n(2); function s(){return{local:a.host+"api/jupiter/v1/",aid:a.aidUrl()+"/api/jupiter/v1/"}}t.getVstokenCookie=function(e){var t="local"; return r.localforage.getItem("urlorder").then(function(n){return t=n||t,o.postRequest(s()[t]+"get_vstoken/"+e).catch(function(){return t="local"===t?"aid":"local",r.localforage.setItem("urlorder",t).then(function(){return o.postRequest(s()[t]+"get_vstoken/"+e)})})}).then(function(e){if(!e.cookie)throw new Error("VSTOKEN response from jupiter does not contain a cookie."); return i.setCookie("VSTOKEN",e.cookie,365,"/"),e.cookie}).catch(function(e){return 400===e.code&&"no_session_found"===e.status&&i.removeCookie("VSTOKEN"),Promise.reject(e)})},t.checkForAccessToPublication=function(e){var t="local"; return r.localforage.getItem("urlorder").then(function(n){return t=n||t,o.getRequest(s()[t]+"check_access_for_paper/"+e+"/").catch(function(){return t="local"===t?"aid":"local",r.localforage.setItem("urlorder",t).then(function(){return o.getRequest(s()[t]+"check_access_for_paper/"+e+"/")})}).then(function(e){return"granted"===e.access}).catch(function(e){return 401===e.code&&"user_deactivated"===e.status?Promise.reject({deactivated:!0}):Promise.reject(e)})})}},function(e,t,n){"use strict"; Object.defineProperty(t,"__esModule",{value:!0}); var r=n(41),i=n(4),o=n(3),a=n(2); function s(){return{local:a.host+"api/mercury/v1/log",aid:a.aidUrl()+"/api/mercury/v1/log"}}function d(e,t,n){void 0===t&&(t=""),void 0===n&&(n={}),n.message=t,n.url=self.location.href,n.assets_version=r.version,n.domain=self.location.host; var a="local"; return Promise.all([o.localforage.getItem("urlorder"),o.localforage.getItem("pluto")]).then(function(t){var r=t[0],d=t[1]; return n.user_uuid=d?d.user_uuid:"",a=r||a,i.postRequest(s()[a]+"/"+e,n).catch(function(){return a="local"===a?"aid":"local",o.localforage.setItem("urlorder",a).then(function(){return i.postRequest(s()[a]+"/"+e,n)})})})}t.log=d,t.error=d.bind(null,"error"),t.warn=d.bind(null,"warn"),t.info=d.bind(null,"info"),t.debug=d.bind(null,"debug")},function(e){e.exports={name:"@amedia/userdata-browser",main:"./dist/lib/index.js",version:"1.1.15",repository:"https://github.com/amedia/node-userdata-browser",scripts:{test:"npm run build && tap --reporter spec 'test/**/*.tap.js' --cov",build:"tsc && cp package.json ./dist/",prepare:"npm run build",prepublishOnly:"npm test",postversion:"git push && git push --tags","ci-jshint":"npm run build && JSHINT_CHECKSTYLE_FILE='reports/jshint.xml' jshint --reporter node_modules/jshint-checkstyle-file-reporter dist test 2> /dev/null ||:","ci-test":"npm run build && tap 'test/**/*.tap.js' --timeout=120 --reporter=xunit > tests.xml","ci-all":"npm run ci-jshint && npm run ci-test","browser-test":"npm run build && karma start"},dependencies:{"@amedia/browserid":"0.0.6",localforage:"^1.7.3"},devDependencies:{"@types/chai":"^4.1.7","@types/mocha":"^5.2.5",chai:"^4.2.0","ec.cookie-mock":"^1.0.1",istanbul:"0.4.5",jshint:"^2.9.7","jshint-checkstyle-file-reporter":"latest",karma:"^4.0.1","karma-chai":"^0.1.0","karma-chrome-launcher":"^2.2.0","karma-mocha":"^1.3.0","karma-mocha-reporter":"^2.2.5","karma-sinon":"^1.0.5","karma-webpack":"^3.0.5",mocha:"^5.2.0","mock-local-storage":"^1.1.8",puppeteer:"^1.17.0",sinon:"^7.2.3",tap:"^12.6.1",tslint:"^5.12.1",typescript:"^3.2.4",webpack:"^4.29.0"}}},function(e,t,n){"use strict"; Object.defineProperty(t,"__esModule",{value:!0}); var r=n(3),i=n(8),o=n(4),a=n(2); function s(){return{local:a.host+"api/minerva/v1/get_daxsub/",aid:a.aidUrl()+"/api/minerva/v1/get_daxsub/"}}t.getAndSetDaxsubCookie=function(e){var t="local"; return r.localforage.getItem("urlorder").then(function(n){return t=n||t,o.getRequest(""+s()[t]+e).catch(function(){return t="local"===t?"aid":"local",r.localforage.setItem("urlorder",t).then(function(){return o.getRequest(""+s()[t]+e)})})}).then(function(e){var t=new Date; t.setFullYear(t.getFullYear()+1); var n=e.cookie.length>0?"&":""; return n+="daxsub_cookie_created="+Date.now(),e.cookie+=n,i.setCookie("daxsub",e.cookie,t,"/")}).catch(function(e){return 400===e.code&&"no_session_found"===e.status&&i.removeCookie("daxsub"),Promise.reject(e)})}},function(e,t,n){"use strict"; var r=n(5),i=n(0),o={},a={},s="",d="",c=!0,l=!1,u=new Promise(function(e,t){var n=new XMLHttpRequest; n.overrideMimeType("application/json"),n.open("GET","https://services.api.no/api/bazaar/v2/iab/consent.json",!0),n.onreadystatechange=function(){4===n.readyState&&200===parseInt(n.status,10)&&e(n.responseText)},n.onerror=function(){return t(n.statusText)},n.send(null)}); Promise.all([r.getData,u]).then(function(e){var t=e[0],n=e[1]; c=t&&t.privacy_preferences&&t.privacy_preferences.personalized_ads; var r=JSON.parse(n); o=r.vendorConsents,a=r.purposeConsents,c?(d=r.yes.metadata,s=r.yes.consentString):(d=r.no.metadata,s=r.no.consentString),l=!0}).catch(function(e){return console.error(e)}); var p=function e(t,n,r){return new Promise(function(i,o){l?i(t(n,!0)):r<10?setTimeout(function(){e(t,n,r+1)},100):o("no _cmp availiable")})}; window.__cmp||(window.__cmp=function(e,t,n){switch(e){case"getConsentData":p(n,{consentData:s,gdprApplies:!0,hasGlobalScope:!1},0),i.debug("IABConsentString:{ 'consentString': '"+s+"', 'consent': "+c+" }"); break; case"getVendorConsents":p(n,{metadata:d,gdprApplies:!0,hasGlobalScope:!1,purposeConsents:a,vendorConsents:o},0),i.debug("IABMetaData:{ 'metaData': '"+d+"' }"); break; case"ping":p(n,{gdprAppliesGlobally:!1,cmpLoaded:!0},0)}})},function(e,t,n){"use strict"; var r=n(0),i=n(7); e.exports=new Promise(function(e){i.then(function(t){var n=Math.floor(100*Math.random()),i=n>=t.localPercentage; r.debug("Ad split (random [0-99]): "+n+" resulted in activating "+(i?"DFP":"local ads")),e(i)})})},function(e,t,n){"use strict"; e.exports.tk=function(){var e={title:"",text:"Hei. Vi gjennomfører i dag ei kort undersøking, håpar du har høve til å besvare nokre få spørsmål.",autoDisplay:!0,delay:.5,displayFraction:.5,activePeriodStart:void 0,activePeriodEnd:void 0,buttons:[{type:"participate",text:"JA, jeg deltar"},{type:"decline",text:"Nei takk"}],width:500,height:"auto",left:"50%",top:"50%",display:{type:"tab",width:800,height:600},theme:{shadow:!0,backdrop:!1,buttonAlignment:"center",showAnimation:{type:"fade-in",duration:500,css:void 0},hideAnimation:{type:"fade-out",duration:500,css:void 0}},disableCookies:!1,cookieName:void 0,redisplayAfterDays:365},t=do***ent.createElement("script"); t.setAttribute("src","https://web2.questback.com/Scripts/questback.popup-1.0.0.js"),t.addEventListener("load",function(){questback.popup.create("https://response.questback.com/amediaas/cc1iarlbvl",e)}),do***ent.getElementsByTagName("script")[0].parentNode.appendChild(t)}},function(e,t,n){var r={"./ast-service":47,"./gpt-service":51}; function i(e){var t=o(e); return n(t)}function o(e){var t=r[e]; if(!(t+1)){var n=new Error("Cannot find module '"+e+"'"); throw n.code="MODULE_NOT_FOUND",n}return t}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=46},function(e,t,n){"use strict"; var r=n(0),i=n(48),o=n(9),a=n(1),s={},d={}; window.bazaartag={}; var c={externalUid:"",dnt:!1}; function l(e){var t=s[e].event; r.debug("ast: calling display for "+e,s[e]),i.triggerAdAvailableOnDisplay(t,e,s[e].nativeHtml),s[e].native?(r.debug("ast: showTag("+e+") is native, special handling"),o.handleNativeAdDisplay(t,e)):(r.debug("ast: showTag("+e+")"),window.apntag.showTag(e))}!function(){var e=do***ent,t=e.createElement("script"),n=e.getElementsByTagName("head")[0]; t.type="text/javascript",t.async=!0,t.src="//acdn.adnxs.com/ast/ast.js",n.insertBefore(t,n.firstChild)}(),window.bazaartag.adlibStyle=function(e){e.classList.add("ast")},window.bazaartag.initialize=function(){r.debug("Initialize AST implementation"),window.apntag=window.apntag||{},window.apntag.anq=window.apntag.anq||[]},window.bazaartag.setTargeting=function(e,t){d[e]=t},window.bazaartag.display=function(e){s[e].event?l(e):(r.debug("ast: adAvailable event is not yet returned for "+e+", delaying display call"),i.registerDelayedDisplays(e,function(){l(e)}))},window.bazaartag.addEventListener=function(e,t){i.astEventMapping(e,t,s)},window.bazaartag.pauseAdServer=function(){},window.bazaartag.enableServices=function(){r.debug("ast: setPageOpts"),window.apntag.setPageOpts({member:9957,keywords:d,user:c}),r.debug("ast: creating slots",s),Object.keys(s).forEach(function(e){var t=s[e],n=t.publication+"_"+t.position; if(a.isMobile())switch(t.position){case"midtbanner":n=t.publication+"_mobilbanner"; break; case"midtbannersmb":n=t.publication+"_mobilbannersmb"}r.debug("ast: defineTag",e,t),window.apntag.defineTag({invCode:n,targetId:e,sizeMapping:t.sizeMapping,keywords:t.targeting,allowedFormats:["banner","video","native"]})})},window.bazaartag.defineOutOfPageSlot=function(e){var t=e.url,n=e.slotId,i=e.position,o=e.publication; return r.debug("ast: defineOutOfPageSlot("+t+", "+n+")"),s[n]={targeting:{},position:i,publication:o},s[n].sizeMapping=[{minWidth:1,sizes:[[1,1]]}],{slotId:n}},window.bazaartag.defineSlot=function(e){var t=e.url,n=e.size,i=e.slotId,o=e.position,a=e.publication; return r.debug("ast: defineSlot("+t+", "+n+", "+i+", "+o+")"),s[i]={targeting:{},position:o,publication:a},{slotId:i}},window.bazaartag.defineSizeMapping=function(e,t){s[e.slotId].sizeMapping=t,r.debug("ast: stored slot info for "+e.slotId)},window.bazaartag.sizeMapping=function(){var e={sizes:[],addSize:function(t,n){r.debug("ast: addSizes("+t+", "+n+")",n); var i={minWidth:0,sizes:[]}; i.minWidth=t[0],Array.isArray(n)?(0===n.length&&n.push([1,1]),i.sizes=n.map(function(e){return"fluid"===e?[1,1]:e})):i.sizes="fluid"===n?[[1,1]]:[[n]],e.sizes.push(i)},build:function(){return e.sizes}}; return e},window.bazaartag.loadAds=function(){},window.bazaartag.setRequestNonPersonalizedAds=function(e){1===e&&(c.dnt=!0)},window.bazaartag.setPublisherProvidedId=function(e){c.externalUid=e},window.bazaartag.setSlotTargeting=function(e,t){r.debug("ast: setSlotTargeting("+t.position+", "+t.positionIndex+", "+t.threshold+")",e),s[e.slotId].targeting={position:t.positionIndex,format:t.position,threshold:t.threshold,URL:window.location.href,positionId:e.slotId,publication:t.publication}},window.bazaartag.isReady=function(){return void 0!==window.apntag.defineTag},window.bazaartag.cmd={},window.bazaartag.cmd.push=function(e){window.apntag.anq.push(e)},window.bazaartag.startAdServer=function(){r.debug("ast: start adServer"),window.apntag.loadTags()},window.bazaartag.setTargetingPrebid=function(){r.debug("ast: setTargetingForPrebid"),window.pbjs.setTargetingForAst(),window.bazaartag.startAdServer()},window.performance&&r.debug("REQUIRE_DEBUG: end (inside) of ast-service ts: "+window.performance.now())},function(e,t,n){"use strict"; var r=n(0),i=n(17),o=n(9),a={}; function s(e,t){var n={getSlotElementId:function(){return e.targetId},getAdUnitPath:function(){return"///"+e.targetId.replace(/-\d+/,"").replace("ad-","")},getResponseInformation:function(){return{lineItemId:e.tagId,creativeId:e.creativeId}}},i=e.banner,o=e.native,a=""; return void 0===i&&void 0===o?r.debug("ast: creative is empty",e):void 0!==i?a=i.content:void 0!==o&&(a=t),n.j={_html_:a},{slot:n,campaignId:"",creativeId:e.creativeId,lineItemId:e.tagId,isEmpty:void 0===i&&void 0===o,size:e.width+","+e.height}}function d(e,t,n,i,o){r.debug("ast: onEvent callback "+e+" for original event "+o,t); var a=s(t,n); r.debug("ast: mapped event",a),i(a)}e.exports.astEventMapping=function(e,t,n){r.debug("ast: addEventListener("+e+")"); var c=void 0,l=void 0; switch(e){case"slotRenderEnded":c="adAvailable",l="adAvailableOnDisplay"; break; case"slotOnload":c="adLoaded",l="nativeEventLoaded"; break; case"impressionViewable":l="impressionViewable"; break; case"slotVisibilityChanged":l="slotVisibilityChanged"}c&&(r.debug("ast: registered event "+c+" for event "+e),window.apntag.onEvent(c,function(s){!function(e,t,n,s,c){r.debug("ast: triggered event "+e+" for "+t.targetId); var l=void 0; if("adAvailable"===e&&(n[t.targetId].event=t,t.native&&(n[t.targetId].native=!0,l=o.createNativeHtml(t),n[t.targetId].nativeHtml=l)),d(e,t,l,s,c),"adLoaded"===e&&(i.startVisibilityObserver(t),t.targetId.includes("ad-cm"))){var u=t.targetId.replace("ad-",""),p=do***ent.querySelector("bazaar-ad#"+u).parentElement.offsetWidth; do***ent.querySelector("bazaar-ad#"+u+" .ast iframe").width=p,do***ent.querySelector("bazaar-ad#"+u+" .ast iframe").height=p>=980?.75*p:p}"adAvailable"===e&&a[t.targetId]&&(r.debug("ast: invoking delayed display for "+t.targetId),a[t.targetId]())}(c,s,n,t,e)}),"adAvailable"===c&&function(e,t){r.debug("ast: registered event adNoBid for event "+e),window.apntag.onEvent("adNoBid",function(e){d("adNoBid",e,"",t,"noBid"); var n=do***ent.querySelector("bazaar-ad[data-id="+e.targetId.replace("ad-","")+"]"); n&&function(e){e.style.height="0px",e.style["min-height"]="0px",e.setAttribute("labeled","false")}(n)})}(e,t)),l&&function(e,t,n,i){window.addEventListener(e,function(a){r.debug("AST_OBSERVERS: event fired: "+e+" for event "+a.data.targetId),r.debug("ast: event callback "+t+" for event "+n+" "+a.data.targetId,a),"adAvailableOnDisplay"===e&&a.data.nativeHtml&&o.renderNative(a.data); var d=s(a.data,a.data.nativeHtml); d="slotVisibilityChanged"===e?Object.assign(d,{inViewPercentage:Math.round(100*a.inViewPercentage)}):d,r.debug("ast: mapped event "+a.data.targetId,d),i(d)})}(l,c,e,t)},e.exports.triggerAdAvailableOnDisplay=function(e,t,n){var r=new CustomEvent("adAvailableOnDisplay",{}); r.data=e,r.data.nativeHtml=n,window.dispatchEvent(r)},e.exports.registerDelayedDisplays=function(e,t){a[e]=t}},function(e,t,n){"use strict"; e.exports.css="\n        body {\n          background-color: #f9f9f9; \n          font-family: 'Roboto' , sans-serif; \n          font-size: 12px; \n          margin: 0px; \n          overflow: hidden; \n        }\n        \n        .attribution {\n          display: inline-block; \n          position: absolute; \n          top: 4px; \n          left: 4px; \n          background-color: #F4D03F; \n          color: #292827; \n          padding: 5px 7px; \n          box-shadow: 0px 1px 2px rgba(0, 0, 0, .5); \n          font-size: 10px; \n          text-transform: uppercase; \n          font-weight: 700; \n          z-index: 100; \n        }\n        \n        .title {\n          padding-bottom: 8px; \n          padding-left: 10px; \n          padding-right: 10px; \n          padding-top: 10px; \n        }\n        \n        .title a {\n          color: #292827; \n          font-size: 24px; \n          font-weight: 900; \n          text-decoration: none; \n        }\n        \n        .body-text {\n          padding-bottom: 0px; \n          padding-left: 10px; \n          padding-right: 10px; \n        }\n        \n        .body-text a {\n          color: #292827; \n          font-size: 14px; \n          line-height: 1.4; \n          text-decoration: none; \n        }\n        \n        .video-ratio-wrapper {\n          text-align:center; \n        }\n        \n        .video-ratio-wrapper div {\n          margin: 0 auto; \n          max-width:100%; \n          max-height: 375px; \n        }\n\n        .image {\n          text-align:center; \n        }\n        \n        .image img {\n          margin: 0 auto; \n          max-width:100%; \n          max-height: 375px; \n        }\n        \n        .image .image-link {\n          height: 100%; \n          width: 100%; \n        }\n        \n        .call-to-action {\n          float: right; \n          padding-right: 16px; \n          padding-top: 10px; \n        }\n        \n        .call-to-action a {\n          color: #4285F4; \n          font-size: 14px; \n          font-weight: 500; \n          text-decoration: none; \n          text-transform: normal; \n        }\n        \n      .logo {\n            display: inline-block; \n            position: absolute; \n            top: 8px; \n            right: 6px; \n        }\n        \n        .logo img {\n            max-height: 50px; \n            \n        }\n        \n        .advertiser {\n          float: left; \n          padding-top: 11px; \n        }\n        \n        .advertiser a {\n          color: #292827; \n          font-style: italic; \n          font-size: 12px; \n          letter-spacing: .2px; \n          text-decoration: none; \n        }\n\n        @media (min-width: 384px) {\n          .image img {\n            max-height: 384px; \n            max-width: 100%; \n          }\n          .video-ratio-wrapper div {\n            max-height: 384px; \n            max-width: 100%; \n          }\n        }\n\n        @media (min-width: 580px) {\n          .image img {\n            max-height: 304px; \n          }\n          .video-ratio-wrapper div {\n            max-height: 304px; \n            max-width: 100%; \n          }\n          \n          .video-ratio-wrapper div {\n            height:280px; \n          }\n        }\n   \n        @media (min-width: 980px) {\n          .video-ratio-wrapper div {\n            float: left; \n            padding-bottom: 0; \n            margin-right:20px; \n            max-height: 300px; \n            min-width: 300px; \n          }\n          \n          .video-ratio-wrapper video {\n            max-height:300px; \n            min-width:300px\n          }\n          .image {\n            float: left; \n            padding-bottom: 0; \n            margin-right:20px; \n          }\n          \n          .image img {\n            height:300px; \n          }\n          \n          .title {\n            padding: 8% 10px 8px 10px; \n            margin-right: 10px; \n          }\n          \n          .body-text {\n            padding: 6px 10px 8px 10px; \n            margin-right: 10px; \n          }\n          \n          .title a {\n            font-size: 24px; \n          }\n          \n          .body-text a {\n            font-size: ***px; \n          }\n          \n        }"},function(e,t,n){"use strict"; e.exports.player=function(e){if(e.vastXml){var t=do***ent.createElement("div"); t.classList.add("video-ratio-wrapper"),t.innerHTML=''; var n=do***ent.createElement("script"); return n.innerHTML='var flowplayerConfiguration = {\n                splash: false,\n                autoplay: true,\n                muted: true,\n                native_fullscreen: false,\n                clip: {\n                    ima: {\n                        ads: [{"time":0,"adTag":"https://services.snap1.api.no/api/bazaar/v2/vast/result.xml?vast='+e.vastXml+'","outstream":true}],\n                    }\n                }\n            }; \n        \n            flowplayer(\'#player\', flowplayerConfiguration); ',t.appendChild(n),t.outerHTML}return""},e.exports.playerHead=function(e){return e.vastXml?'\n        <\/script>\n        <\/script>\n        <\/script>\n        <\/script>':""}},function(e,t,n){"use strict"; var r=n(0); window.bazaartag={},function(){var e=do***ent.createElement("script"); e.async=!0,e.type="text/javascript"; var t="https:"==do***ent.location.protocol; e.src=(t?"https:":"http:")+"//www.googletagservices.com/tag/js/gpt.js"; var n=do***ent.getElementsByTagName("script")[0]; n.parentNode.insertBefore(e,n)}(),window.bazaartag.adlibStyle=function(){},window.bazaartag.initialize=function(){r.debug("Initialize GPT implementation"),window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[]},window.bazaartag.setTargeting=function(e,t){r.debug("googletag: setTargeting("+e+", "+t+")"),window.googletag.pubads().setTargeting(e,t)},window.bazaartag.display=function(e){r.debug("googletag: display("+e+")"),window.googletag.display(e)},window.bazaartag.addEventListener=function(e,t){r.debug("googletag: addEventListener("+e+")",t),window.googletag.pubads().addEventListener(e,t)},window.bazaartag.pauseAdServer=function(){r.debug("googletag: disableInitialLoad"),window.googletag.pubads().disableInitialLoad()},window.bazaartag.enableServices=function(){r.debug("googletag: enableServices"),window.googletag.pubads().enableSingleRequest(),window.googletag.pubads().setCentering(!0),window.googletag.enableServices()},window.bazaartag.defineOutOfPageSlot=function(e){var t=e.url,n=e.slotId,i=window.googletag.defineOutOfPageSlot(t,n); return r.debug("googletag: defineOutOfPageSlot",i),i},window.bazaartag.defineSlot=function(e){var t=e.url,n=e.size,i=e.slotId,o=window.googletag.defineSlot(t,n,i); return r.debug("googletag: defineSlot("+t+", "+n+", "+i+")",o),o},window.bazaartag.sizeMapping=function(){var e=window.googletag.sizeMapping(); return r.debug("googletag: sizeMapping",e),e},window.bazaartag.loadAds=function(){r.debug("googletag: refresh()"),window.googletag.pubads().refresh()},window.bazaartag.setRequestNonPersonalizedAds=function(e){r.debug("googletag: setRequestNonPersonalizedAds("+e+")"),window.googletag.pubads().setRequestNonPersonalizedAds(e)},window.bazaartag.setPublisherProvidedId=function(e){r.debug("googletag: setPublisherProvidedId("+e+")"),window.googletag.pubads().setPublisherProvidedId(e)},window.bazaartag.setSlotTargeting=function(e,t){r.debug("googletag: setSlotTargeting(slot, "+t.position+", "+t.positionIndex+", "+t.threshold+")",e),e.addService(window.googletag.pubads()).setTargeting("position",t.positionIndex).setTargeting("format",t.position).setTargeting("threshold",t.threshold).setCollapseEmptyDiv(!0)},window.bazaartag.defineSizeMapping=function(e,t){e.defineSizeMapping(t)},window.bazaartag.isReady=function(){var e=!(void 0===window.googletag.defineSlot||!window.googletag.apiReady); return r.debug("googletag: isReady",e),e},window.bazaartag.cmd={},window.bazaartag.cmd.push=function(e){window.googletag.cmd.push(e)},window.bazaartag.startAdServer=function(){},window.bazaartag.setTargetingPrebid=function(){window.pbjs.setTargetingForGPTAsync()},window.performance&&r.debug("REQUIRE_DEBUG: end (inside) of gpt-service ts: "+window.performance.now())},function(e,t,n){"use strict"; var r=function(){function e(e,t){for(var n=0; n{}; p.prototype=HTMLElement.prototype; var f=["toppbanner","midtbanner","netboard","netboardsmb","vertikalnative","midtbannersmb","cm1","cm2"],g=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t); e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,p),r(t,[{key:"render",value:function(){var e=this; this.isDisabled()||this.ad.then(function(t){if(e.removeLoadSpinner(),e.isAdRendered())d.debug("ElementId: "+t.id+" is already rendered, aborting render"); else if(t){c(e),d.debug("ElementId: "+t.id+" is in viewport, attached elementId to element in DOM"); var n=Math.min(do***ent.do***entElement.clientWidth,window.innerWidth||0); if("skysk****r-1"===t.id&&n<1375)return void d.debug("Tried to display skysk****r in viewport under 1375px, do not display"); e.hasAttribute("labeled")&&"true"===e.getAttribute("labeled")&&e.addLabel(),e.setId(t),t.display(t.refreshed,e),e.adRendered=!0,do***ent.dispatchEvent(new CustomEvent("bazaar:logViewportData",{detail:e}))}})}},{key:"isAdRendered",value:function(){return this.adRendered}},{key:"createdCallback",value:function(){for(a.isJobRealEstatePage(this)&&a.handleJobRealEstatePage(this),this.adRendered=!1,this.position=this.getAttribute("position"),"skysk****r"===this.position&&l(this.parentElement),-1!==window.location.href.indexOf("nettavisen.no")?window.performance&&window.performance.navigation.type&&2===window.performance.navigation.type?this.classList.add("frozen"):(this.setMinHeightForElement(),this.classList.contains("frozen")&&this.classList.remove("frozen")):this.setMinHeightForElement(); this.hasChildNodes(); )this.removeChild(this.firstChild); this.createAdContainer(),window.bazaartag.adlibStyle(this.adContainer)}},{key:"attachedCallback",value:function(){var e=this; if(!this.isDisabled()){null===this.position&&(this.position=this.getAttribute("position"),-1!==window.location.href.indexOf("nettavisen.no")?window.performance&&window.performance.navigation.type&&2!==window.performance.navigation.type&&this.setMinHeightForElement():this.setMinHeightForElement()),this.ad=o.getAd(this.position); var t=this,n="0px"; this.ad.then(function(r){e.setDataId(r),r.threshold&&(n=r.threshold+"px"),u.handleThreshold(t,n)}),-1!==window.location.href.indexOf("nettavisen.no")?window.performance&&window.performance.navigation.type&&2!==window.performance.navigation.type&&this.addLoadSpinner():this.addLoadSpinner(),this.position.indexOf("takeover")>-1&&this.getAttribute("force")&&this.classList.add("takeover")}}},{key:"addLoadSpinner",value:function(){var e=this,t=new IntersectionObserver(function(n){n.forEach(function(n){n.intersectionRatio>0&&!e.spinnerRemoved&&"shadow"!==e.position&&-1===e.position.indexOf("challenge")&&"takeover"!==e.position&&(d.debug("Adding load spinner for "+e.position),e.bazaarSpinner=do***ent.createElement("div"),e.bazaarSpinner.setAttribute("class","bazaarSpinnerContainer"),e.bazaarSpinner.innerHTML='',e.appendChild(e.bazaarSpinner)),t.disconnect()})}); t.observe(this)}},{key:"removeLoadSpinner",value:function(){void 0!==this.bazaarSpinner&&this.removeChild(this.bazaarSpinner),this.spinnerRemoved=!0}},{key:"setMinHeightForElement",value:function(){-1!==f.indexOf(this.position)&&this.setMinHeight(this.position),"challengedeck"===this.position&&this.setAttribute("style","height:0px !important")}},{key:"attributeChangedCallback",value:function(e,t,n){"disabled"!==e||this.hasAttribute("disabled")||this.attachedCallback(),"labeled"===e&&this.hasAttribute("labeled")&&("true"!==n&&!0!==n||this.addLabel(),"false"!==n&&!1!==n||this.removeLabel())}},{key:"setId",value:function(e){this.adContainer.setAttribute("id",e.slotId),this.setAttribute("id",e.id)}},{key:"setDataId",value:function(e){this.adContainer.setAttribute("data-id",e.slotId),this.setAttribute("data-id",e.id)}},{key:"removeLabel",value:function(){this.classList.add("am-bazaar-ad--nolabel")}},{key:"addLabel",value:function(){this.classList.add("am-bazaar-ad--labeled"),this.classList.remove("am-bazaar-ad--nolabel")}},{key:"isDisabled",value:function(){return this.hasAttribute("disabled")}},{key:"disable",value:function(){this&&!this.isDisabled()&&this.setAttribute("disabled","disabled")}},{key:"enable",value:function(){this&&this.isDisabled()&&this.removeAttribute("disabled")}},{key:"setMinHeight",value:function(e){if(s.mapping(e)){var t=window.screen.width>1200?s.mapping(e).minHeight.desktop:s.mapping(e).minHeight.mobile; this.style.minHeight=t+"px"}}},{key:"sticky",value:function(){i.stickToTop(this)}},{key:"createAdContainer",value:function(){if(this.adContainer=do***ent.createElement("div"),"toppbanner"===this.position){var e=do***ent.createElement("div"),t=do***ent.createElement("div"); e.classList.add("stickyContainer"),t.classList.add("absoluteContainer"),e.appendChild(this.adContainer),t.appendChild(e),this.appendChild(t)}else this.appendChild(this.adContainer)}}],[{key:"observedAttributes",get:function(){return["disabled","labeled"]}}]),t}(); do***ent.registerElement("bazaar-ad",{prototype:g.prototype})},function(e,t,n){"use strict"; e.exports.stickToTop=function(e){var t=function(){var e=do***ent.createElement("div"); return e.setAttribute("data-am-placeholder","sticky-placeholder"),e}(); e.parentNode.insertBefore(t,e); new IntersectionObserver(function(t){t.forEach(function(t){t.target.nextSibling===e&&(t.boundingClientRect.top>=0?function(e){Object.assign(e.style,{position:"relative"}),delete e.style.top}(e):function(e){Object.assign(e.style,{top:"0",position:"fixed"})}(e))})}).observe(t)}},function(e,t,n){"use strict"; var r=function(){return function(e,t){if(Array.isArray(e))return e; if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0; try{for(var a,s=e[Symbol.iterator](); !(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t); r=!0); }catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t); throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=n(0),o=n(20),a=n(55),s=n(56),d=n(1).i***tern,c=n(11),l=n(15).getBrowserId,u=n(60),p=n(61),f=n(62),g=n(67),h=n(24),m=n(5),v=n(10),b=n(68),w=n(27),y=n(1),k=!1,x=void 0; function _(e,t){var n=Date.now()-864e5; parseInt(localStorage.getItem("bazaar:segments")||n,10)>n||(t.map(function(t){return e.replace("{segment}",t).replace("{ord}",1e13*Math.random())}).forEach(function(e){return function(e){var t=new Image(1,1); t.src=e,do***ent.body.appendChild(t),t.onload=function(){return do***ent.body.removeChild(t)}}(e)}),localStorage.setItem("bazaar:segments",Date.now()))}e.exports.init=function(e,t){p.startViewportLogger(),x=e,w.initLazyloadConfig(x); var n=c.getUserAccess(c.readCookie("daxsub",{}))||!1; return h.doEnableShadowing(v.getNumberOfReusablePlacements(x)),y.isMobile()&&h.setAdId("midtbanner-1"),Promise.all([m.getData,l()]).then(function(e){var o=r(e,2),a=o[0],c=o[1]; try{if(window.bazaartag=window.bazaartag||{},window.bazaartag.cmd=window.bazaartag.cmd||[],a&&a.ad_segments){var l=a.ad_segments.split(","); _(x.audiencePixelUrl,l)}window.bazaartag.initialize(),window.bazaartag.cmd.push(function(){t().then(function(e){var t=f.initPrebid(e,x); i.debug("Completed initial slot creation of ads",e.map(function(e){return e.id})),b.impressionViewable(),b.slotOnLoad(),b.slotRenderEnded(),b.slotVisibilityChanged(),window.bazaartag.setTargeting("publication",x.publication),window.bazaartag.setTargeting("keyword",x.keywords),x.categories.length>0&&window.bazaartag.setTargeting("categories",x.categories),window.bazaartag.setTargeting("fritekst",x.keywords),window.bazaartag.setTargeting("bazaar",d); var r=function(e,t){i.debug("targeting: "+e+", keywords: "+t); var n=null!==t&&t.indexOf("art")>-1?" art":" front"; return e.toLowerCase().indexOf("firefox")>-1?"Firefox"+n:e.toLowerCase().indexOf("edge")>-1?"Edge"+n:e.toLowerCase().indexOf("chrome")>-1?"Chrome"+n:e.toLowerCase().indexOf("safari")>-1?"Safari"+n:e.toLowerCase().indexOf("crios")>-1?"Chrome Mobile"+n:e.toLowerCase().indexOf("trident")>-1?"Internet Explorer"+n:""}(navigator.userAgent,x.keywords); if(i.debug("userAgent="+r),window.bazaartag.setTargeting("userAgent",r),s&&window.bazaartag.setTargeting("pageview_id",s),a&&void 0!==a.user_key){if(n&&(i.debug("Targeting aid aktiv"),window.bazaartag.setTargeting("aid_active","aktiv")),a.cc_expiration_date){var o=new Date(a.cc_expiration_date),l=new Date; l.getFullYear()===o.getFullYear()&&l.getMonth()===o.getMonth()?window.bazaartag.setTargeting("credit_card","expiring"):l.getTime()>o.getTime()&&window.bazaartag.setTargeting("credit_card","expired")}i.debug("Targeting aid innlogget"),window.bazaartag.setTargeting("aid","innlogget"); var u=(a.shared_account&&c||a.user_key).replace(/-/g,""); a.privacy_preferences&&a.privacy_preferences.personalized_ads?(i.debug("Sending PPID (ukey): ",u),window.bazaartag.setPublisherProvidedId(u),i.debug("Sending a_user_key:",a.user_key),window.bazaartag.setTargeting("a_user_key",a.user_key)):window.bazaartag.setRequestNonPersonalizedAds(1)}else{var p=c.replace(/-/g,""); i.debug("Sending PPID (brws): ",p),window.bazaartag.setPublisherProvidedId(p)}i.debug("Sending a_brws_id:",c),window.bazaartag.setTargeting("a_brws_id",c),window.bazaartag.enableServices(),t||window.bazaartag.cmd.push(function(){window.bazaartag.startAdServer()})})})}catch(e){console.error(e)}return!0})},e.exports.load=function(e){var t=e.position,n=e.id,r=e.index,s=e.slotId; try{if("shadow"===t)return{id:n,slot:l,undefined:void 0,display:function(e){h.startShadow(n,y.isMobile())}}; var d=x.slotUrl.replace("{publication}",x.publication).replace("{position}",t),c=-1!==d.indexOf("challengefooter")||-1!==d.indexOf("challengepopup")||-1!==d.indexOf("takeover"),l=void 0,p=void 0,m=x.publication; if(c)l=a.createOutOfPageSlot({url:d,slotId:s,position:t,id:n,publication:m}); else{var b=o.mapping(t); if(!b)return console.error("Error getting size-mapping slot for "+t+" id="+n+" slotId="+s),!1; l=a.createSlot({url:d,slotId:s,position:t,id:n,sizeMapping:b,publication:m}),p=f.createPrebidAdunit(b,s,t,m,x.categories)}var _=w.getThreshold(t,r),E={position:t,positionIndex:r,threshold:_,publication:x.publication}; return window.bazaartag.setSlotTargeting(l,E),i.debug("Created slot with elementId: "+s,l),{id:n,slot:l,threshold:_,slotId:s,prebidAdUnit:p,display:function(e,t){window.bazaartag.cmd.push(function(){v.reuse(n)?(t.removeLabel(),i.debug("reuse: skip display(), reuse ad for "+n+" slotId "+s)):f.callDisplayWhenPrebidDone(function(){v.adNotInscreen(n,l),i.debug("Calling display for "+s),window.bazaartag.display(s),k||(i.debug("Calling loadAds after display"),window.bazaartag.loadAds(),k=!0)},n)}),h.startShadow(n,y.isMobile()),u.setStylingIfNoFetch(n),g.init()}}}catch(e){return console.error("Error loading position "+t+", id "+n+" slotId "+s,e),!1}}},function(e,t,n){"use strict"; var r=n(0); e.exports.createOutOfPageSlot=function(e){var t=e.url,n=e.slotId,i=e.position,o=e.id,a=e.publication,s=window.bazaartag.defineOutOfPageSlot({url:t,slotId:n,position:i,publication:a}); return s?(r.debug("Load Out Of Page slot , slotId="+n,s),s):(console.error("Error getting out-of-page slot for "+i+", id="+o+" slotId="+n+", url "+t),!1)},e.exports.createSlot=function(e){var t=e.url,n=e.sizeMapping,i=e.slotId,o=e.position,a=e.id,s=e.publication,d=n.size,c=window.bazaartag.defineSlot({url:t,size:d,slotId:i,position:o,publication:s}); if(r.debug("Load slot",c),!c)return console.error("Error getting slot for "+o+", id="+a+" slotId="+i+", size "+d+", url "+t),!1; var l=window.bazaartag.sizeMapping(); if(void 0!==n.breakpoints){for(var u in n.breakpoints){var p=n.breakpoints[u]; l.addSize(p.break[0],p.break[1])}window.bazaartag.defineSizeMapping(c,l.build())}return c}},function(e,t,n){"use strict"; var r=n(57).v4; e.exports=function(){var e=do***ent.querySelector('meta[name="adpPageviewId"]'),t=void 0; if(e)t=e.content; else{var n=do***ent.createElement("meta"); n.name="adpPageviewId",n.content=r(),do***ent.head.appendChild(n),t=n.content}return t}()},function(e,t,n){var r=n(58),i=n(59),o=i; o.v1=r,o.v4=i,e.exports=o},function(e,t,n){var r,i,o=n(21),a=n(22),s=0,d=0; e.exports=function(e,t,n){var c=t&&n||0,l=t||[],u=(e=e||{}).node||r,p=void 0!==e.clockseq?e.clockseq:i; if(null==u||null==p){var f=o(); null==u&&(u=r=[1|f[0],f[1],f[2],f[3],f[4],f[5]]),null==p&&(p=i=16383&(f[6]<<8|f[7]))}var g=void 0!==e.msecs?e.msecs:(new Date).getTime(),h=void 0!==e.nsecs?e.nsecs:d+1,m=g-s+(h-d)/1e4; if(m<0&&void 0===e.clockseq&&(p=p+1&16383),(m<0||g>s)&&void 0===e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); s=g,d=h,i=p; var v=(1e4*(268435455&(g+=122192928e5))+h)%4294967296; l[c++]=v>>>24&255,l[c++]=v>>>16&255,l[c++]=v>>>8&255,l[c++]=255&v; var b=g/4294967296*1e4&268435455; l[c++]=b>>>8&255,l[c++]=255&b,l[c++]=b>>>24&15|16,l[c++]=b>>>16&255,l[c++]=p>>>8|128,l[c++]=255&p; for(var w=0; w<6; ++w)l[c+w]=u[w]; return t||a(l)}},function(e,t,n){var r=n(21),i=n(22); e.exports=function(e,t,n){var o=t&&n||0; "string"==typeof e&&(t="binary"===e?new Array(16):null,e=null); var a=(e=e||{}).random||(e.rng||r)(); if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0; s<16; ++s)t[o+s]=a[s]; return t||i(a)}},function(e,t,n){"use strict"; e.exports.setStylingIfNoFetch=function(e){var t=-1!==window.location.href.indexOf("google_nofetch"),n=-1!==window.location.href.indexOf("google_norender"); if(t||n){var r=do***ent.getElementById(e); r.classList?r.classList.add("am-bazaar-ad--noad"):r.className="am-bazaar-ad--noad"; var i=do***ent.createElement("div"); i.innerHTML=e,r.insertBefore(i,r.firstChild)}}},function(e,t,n){"use strict"; var r=n(23),i=n(0),o={},a=!1; function s(e,t,n,i){var a=r.elapsed(); if(o[e].previousDisplay>t){var s=o[e][n]; if(s>0){var d=a-s,c=o[e][i]; o[e][i]=c+d}}o[e][n]=a}function d(e,t){var n=r.elapsed(); return o[e]={lastViewStarted:t>0?n:0,lastView50Started:t>49?n:0,lastView100Started:t>99?n:0,totalViewTime:0,total50ViewTime:0,total100ViewTime:0,maxDisplayed:t,currentDisplay:t,previousDisplay:t},o[e]}function c(e){s(e,0,"lastViewStarted","totalViewTime"),s(e,49,"lastView50Started","total50ViewTime"),s(e,99,"lastView100Started","total100ViewTime"); var t=o[e].totalViewTime,n=o[e].total50ViewTime,r=o[e].total100ViewTime; if(0===o[e].currentDisplay&&t>0){i.debug("Id ["+e+"] no longer in viewport, was more than 0% in viewport for "+t+"ms, more than 49% in viewport for "+n+"ms, and  more than 99% in viewport for "+r+"ms"); var a=function(e){return{maxDisplayed:o[e].maxDisplayed,atLeast1:o[e].totalViewTime,atLeast50:o[e].total50ViewTime,atLeast100:o[e].total100ViewTime,position:e}}(e); i.debug("Sending inscreen log to adp",a),function(e){window.postMessage({adpEventName:"seshat-add-array",data:{a_inscreen:e}},"*")}(a),d(e,0)}}e.exports.startViewportLogger=function(){if(a){var e=new IntersectionObserver(function(e){e.forEach(function(e){var t=Math.round(100*e.intersectionRatio),n=e.target.getAttribute("id"),r=o[n]; void 0===r&&(r=d(n,t)),r.maxDisplayed[],f=1200,g=void 0,h=!1,m=[]; function v(e){window.pbjs.adserverRequestSent||(r.debug("prebid: Sending Prebid Adserver request",e),window.pbjs.adserverRequestSent=!0,window.bazaartag.cmd.push(function(){window.pbjs.que.push(function(){r.debug("prebid: Returned from Prebid"),o.bidWon(),window.bazaartag.setTargetingPrebid(),a.doEnableReuse(g),h=!0,function(){for(var e=function(e){var t=new IntersectionObserver(function(n){n.forEach(function(n){n.intersectionRatio>0?(r.debug("prebid: "+m[e].id+" is in viewport, calling delayed display"),m[e].displayFunction(),t.disconnect()):r.debug("prebid: "+m[e].id+" is no longer in the viewport, skip delayed display")})}); t.observe(do***ent.querySelector('bazaar-ad[id="'+m[e].id+'"]'))},t=0; t{}; l.code=t; var u=["Adform","Appnexus","Adform Native","Rubicon"]; d&&(u.splice(u.indexOf("Rubicon")),r.debug("prebid: removing rubicon as bidder",u)),c&&(r.debug("prebid: enabling improve digital"),u.push("Improve digital")); var p=function(e,t){return void 0!==e.prebid&&void 0!==e.prebid.placementId?e.prebid.placementId:t}(e,n),f=u.map(function(e){return s.getBidConfig(p,o,e,a)}).filter(function(e){return null!==e}); l.bids=f; var g=e.breakpoints[0].break[1].filter(function(e){return"fluid"!==e}),h=e.breakpoints[1].break[1].filter(function(e){return"fluid"!==e}); return l.mediaTypes={banner:{sizes:(i.isMobile()?h:g).concat([[1,1]])}},e.prebid.native&&(l.mediaTypes.native={image:{required:!0,sizes:[50,50]},title:{required:!0,len:200},sponsoredBy:{required:!0},clickUrl:{required:!0}}),e.prebid.video&&(l.mediaTypes.video={context:"outstream"}),l}return null},e.exports.initPrebid=function(e,t){return l?(r.debug("prebid: prebid is disabled"),h=!0,!1):(r.debug("prebid: Running Prebid init",t),g=t,e.forEach(function(e){null!=e.prebidAdUnit&&p.push(e.prebidAdUnit)}),r.debug("prebid: Prebid adunit config",p),0===p.length?(r.debug("prebid: No prebid adunits found, exiting prebid"),h=!0,!1):(window.bazaartag=window.bazaartag||{},window.bazaartag.cmd=window.bazaartag.cmd||[],window.pbjs=window.pbjs||{},window.pbjs.que=window.pbjs.que||[],window.bazaartag.cmd.push(function(){window.bazaartag.pauseAdServer()}),window.pbjs.que.push(function(){o.init(),window.pbjs.bidderSettings={standard:{bidCpmAdjustment:function(e,t){return"DID-888-67949"===t.dealId?(r.debug("prebid: Bid boosting with 1.2",t.dealId),1.2*e):e}}},window.pbjs.setConfig({priceGranularity:u,enableSendAllBids:!1,currency:{adServerCurrency:"NOK"},consentManagement:{cmpApi:"iab",timeout:8e3,allowAuctionWithoutConsent:!1},rubicon:{singleRequest:!0}}),window.pbjs.addAdUnits(p),window.pbjs.requestBids({timeout:f,bidsBackHandler:v}),window.pbjs.enableAnalytics([{provider:"adplogger"}])}),setTimeout(function(){r.debug("prebid: Setting prebid timeout ms",f),v("timeout")},f),r.debug("prebid: Prebid init done"),!0))},e.exports.callDisplayWhenPrebidDone=function(e,t){h?(r.debug("prebid: prebid done, call display for "+t),e()):(r.debug("prebid: prebid not done, delay call display for "+t),m.push({displayFunction:e,id:t}))}},function(e,t,n){"use strict"},function(e,t,n){"use strict"; var r=n(0),i=-1!==window.location.href.indexOf("prebid_show=true"),o=void 0,a=void 0; function s(e,t,n){var i=do***ent.createElement("tr"),s=do***ent.createElement("td"),d=do***ent.createElement("td"); i.appendChild(s),i.appendChild(d),s.innerHTML=e,void 0!==t&&(d.innerHTML=t),o.appendChild(i),a.scrollTop=a.scrollHeight,void 0!==n&&r.debug(e,n)}e.exports.bidWon=function(){i&&window.pbjs.onEvent("bidWon",function(e){s("Bid won",e.bidderCode+" - "+e.adUnitCode+" ("+e.width+"x"+e.height+") - "+e.mediaType+" - "+e.cpm+" NOK",e)})},e.exports.init=function(){i&&((a=do***ent.createElement("div")).id="bazaar-debug-overlay",o=do***ent.createElement("table"),a.appendChild(o),do***ent.body.appendChild(a),window.pbjs.onEvent("addAdUnits",function(){s("Prebid adUnits",window.pbjs.adUnits.map(function(e){return e.code}))}),window.pbjs.onEvent("auctionInit",function(e){s("Auction start","Timeout: "+e.timeout+"ms",e)}),window.pbjs.onEvent("auctionEnd",function(){s("Auction ended")}),window.pbjs.onEvent("bidRequested",function(e){s("Bid requested",e.bidderCode+" "+(e.gdprConsent&&e.gdprConsent.consentString?"(ConsentString is set)":"(ConsentString is NOT set)"),e)}),window.pbjs.onEvent("bidResponse",function(e){s("Bid response",e.bidderCode+" - "+e.adUnitCode+" ("+e.width+"x"+e.height+") - "+e.mediaType+" - "+e.cpm+" NOK",e)}),window.pbjs.onEvent("bidderDone",function(e){s("Bidder done",e.bidderCode,e)}),window.pbjs.onEvent("requestBids",function(){s("Requesting bids")}),window.pbjs.onEvent("bidTimeout",function(e){s("Bid timeout",e.map(function(e){return e.bidder}).filter(function(e,t,n){return n.indexOf(e)===t}).join(", "),e)}))}},function(e,t,n){"use strict"; var r=n(0),i=n(66),o={toppbanner:[31,35,78,79],skysk****r:[9,33],netboard:[37,64,232],mobilbanner:[15,67,159],midtbanner:[35,78,79,144],artikkelboard:[15,159]}; function a(e,t){return e.startsWith(t.site.toLowerCase())||e.startsWith("www."+t.site.toLowerCase())}function s(e,t,n){return e[0].placements.filter(function(e){return a(t,e)&&e.placement===n})}function d(e,t){return e[0].placements.filter(function(e){return a(t,e)})}function c(e,t,n){r.debug("prebid: Finding prebid placement info for "+n,[e,t],i.bidderPlacements); var o=function(e,t,n){return Object.keys(e).map(function(t){if(e[t].bidder===n)return e[t]}).filter(function(e){return e})}(i.bidderPlacements,0,n),a=s(o,e,t); if(a.length>0)return r.debug("prebid: Found prebid placement info for "+n,[e,t],a),a[0]; var c=d(o,e); if(c.length>0)return r.debug("prebid: Found prebid placement info for "+n,e,c),c[0]; var l=s(o,"www.tb.no",t); if(l.length>0)return r.debug("prebid: Did not find prebid placement info for "+n+" Using default tb.no",[e,t],l[0]),l[0]; var u=d(o,"www.tb.no"); return u.length>0?(r.debug("prebid: Did not find prebid placement info for "+n+" Using default tb.no",e,u[0]),u[0]):(r.debug("prebid: Did not find any placement info for "+n),null)}e.exports.getBidConfig=function(e,t,n,r){var i=c(t,e,n),a=r.length>0?{mkv:r.map(function(e){return"category:"+e}).join(",")}:{}; if(!i)return null; switch(n){case"Adform":return{bidder:"adform",params:Object.assign({mid:i.placementId,rcur:"USD",url:t},a)}; case"Appnexus":return{bidder:"appnexus",params:{placementId:i.placementId,allowSmallerSizes:!0,video:{skippable:!0,playback_method:["auto_play_sound_off"]}}}; case"Rubicon":return{bidder:"rubicon",params:{accountId:"10856",siteId:i.siteId,zoneId:i.placementId,referrer:window.location.href,sizes:o[e]}}; case"Improve digital":return{bidder:"improvedigital",params:{placementId:i.placementId}}; case"Adform Native":return{bidder:"adformOpenRTB",params:Object.assign({mid:i.placementId,rcur:"USD",url:t},a)}; default:return{}}}},function(e,t,n){"use strict"; var r=window.prebidPlacements,i=r.adform?window.prebidPlacements.adform:[{placement:'netboard"',placementId:"436737",site:"tb.no"},{placement:"midtbanner",placementId:"436287",site:"tb.no"},{placement:"mobilbanner",placementId:"468895",site:"tb.no"}],o=r.rubicon?window.prebidPlacements.rubicon:[{placement:"netboard",placementId:"832812",site:"tb.no",siteId:"56078"},{placement:"midtbanner",placementId:"832820",site:"tb.no",siteId:"56078"},{placement:"mobilbanner",placementId:"832816",site:"tb.no",siteId:"56078"}],a=r.appnexus?window.prebidPlacements.appnexus:[{placement:"netboard",placementId:"13669203",site:"tb.no",siteId:"3692019"},{placement:"midtbanner",placementId:"13669201",site:"tb.no",siteId:"3692019"},{placement:"mobilbanner",placementId:"13669205",site:"tb.no",siteId:"3692020"}],s=r.adformNative?window.prebidPlacements.adformNative:[{placementId:"633469",site:"tb.no"}],d=r.improvedigital?r.improvedigital:[{placement:"toppbanner",placementId:"1154917",site:"nettavisen.no"},{placement:"midtbanner",placementId:"11549***",site:"nettavisen.no"},{placement:"artikkelboard",placementId:"1154922",site:"nettavisen.no"},{placement:"netboard",placementId:"1154921",site:"nettavisen.no"},{placement:"skysk****r",placementId:"1154920",site:"nettavisen.no"},{placement:"mobilbanner",placementId:"1154919",site:"nettavisen.no"}]; e.exports.bidderPlacements=[{bidder:"Adform",placements:i},{bidder:"Rubicon",placements:o},{bidder:"Appnexus",placements:a},{bidder:"Improve digital",placements:d},{bidder:"Adform Native",placements:s}]},function(e,t,n){"use strict"; var r=function(){return function(e,t){if(Array.isArray(e))return e; if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0; try{for(var a,s=e[Symbol.iterator](); !(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t); r=!0); }catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t); throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=n(19),o=!0,a=-1!==window.location.href.indexOf("showads=true"),s=[],d="visualAds-slotOnload",c=function(){var e=!e,t=void 0,n=void 0,i=function(e,t){return e.children[t].innerText||e.children[t].textContent},o=function(t){var n=do***ent.querySelector("#bazaar-debug-overlay table"); Array.from(n.querySelectorAll("tr:nth-child(n+2)")).sort(function(e,t){return function(n,r){return function(e,t){return""===e||""===t||isNaN(e)||isNaN(t)?e.toString().localeCompare(t):e-t}(i(t?n:r,e),i(t?r:n,e))}}(t,e=!e)).forEach(function(e){return n.appendChild(e)})},a=function(){var e=void 0; s.forEach(function(n,i){e=t.insertRow(-1),0===i?function(t,n){Object.entries(t).forEach(function(t){var i=r(t,2),o=(i[0],i[1]),a=do***ent.createElement("TH"); o===""+s[0].h1?a.innerHTML=o+" ("+n+")":a.innerHTML=""+o,e.appendChild(a)})}(n,s.length-1):function(t){var n=null; Object.entries(t).forEach(function(t,i){var o=r(t,2),a=(o[0],o[1]),s=e.insertCell(-1); 0===i&&(s.id="vd-"+a,n=""+a),s.innerHTML=a}),e.addEventListener("click",function(){var e=do***ent.getElementById(n); if(!e){var t=n.slice(0,n.indexOf("-")),r=n.slice(n.indexOf("-")+1); e=do***ent.querySelectorAll("bazaar-ad[position="+t+"]")[r-1]}e.scrollIntoView({behavior:"smooth",block:"end",inline:"end"})})}(n)})}; return{create:function(){(n=do***ent.createElement("div")).id="bazaar-debug-overlay",t=do***ent.createElement("TABLE"),a()},appendToDo***ent:function(){n.appendChild(t),do***ent.body.appendChild(n),do***ent.querySelectorAll("#bazaar-debug-overlay th").forEach(function(e){return e.addEventListener("click",function(){o(Array.from(e.parentNode.children).indexOf(e))})})}}}(),l=function(e,t){var n="https://www.google.com/dfp/56257416?pli=1#delivery/LineItemDetail/lineItemId="+e; t.innerHTML="Line item'},u=function(e,t){var n=do***ent.getElementById("vd-"+t.id); n&&function(e,t,n){var r=t.id; if(-1!==s.map(function(e){return e.id}).indexOf(r)){var i=n.nextSibling,o=i.nextSibling,a=o.nextSibling,c=a.nextSibling; if("visualAds-impressionViewable"===e)i.innerHTML="YES",Object.assign(n.parentElement.style,{color:"green",fontWeight:"bold"}),null!==t.info&&null!==t.info.lineItemId&&l(t.info.lineItemId,a); else if(e===d)o.innerHTML="YES",Object.assign(n.parentElement.style,{color:"green",fontWeight:"bold"}),null!==t.info&&null!==t.info.lineItemId&&l(t.info.lineItemId,a); else if("visualAds-slotVisibilityChanged"===e){var u=c.getElementsByTagName("span"),p=u[0],f=u[1]; p.innerHTML=t.inViewPercentage,f.innerHTML=t.elapsed,t.inViewPercentage>0?Object.assign(n.style,{color:"red"}):(Object.assign(n.style,{color:"green"}),Object.assign(n.parentElement.style,{color:"green",fontWeight:"bold"}))}}}(e,t,n)}; window.addEventListener("visualAds-impressionViewable",function(e){u("visualAds-impressionViewable",e.detail)}),window.addEventListener("visualAds-slotVisibilityChanged",function(e){u("visualAds-slotVisibilityChanged",e.detail)}),window.addEventListener(d,function(e){u(d,e.detail)}),e.exports.init=function(){a&&o&&(i.getAllAds().then(function(e){!function(e){s.push({h1:"Annonser",h2:"Viewable",h3:"Download",h4:"Dfp Line item",h5:"In view"}); var t=void 0; Object.entries(e).forEach(function(e){var n=r(e,2),i=n[0],o=n[1]; for(t=1; t0 %  0 ms"})})}(e.positions),c.create(),c.appendToDo***ent()}),o=!1)}},function(e,t,n){"use strict"; var r=n(0),i=n(24),o=n(10),a=n(23),s=n(69),d=n(1).isInternal,c=n(25).placeOrRemove,l=n(25),u=n(26); e.exports.impressionViewable=function(){window.bazaartag.addEventListener("impressionViewable",function(e){r.debug("event: impressionViewable "+e.slot.getSlotElementId(),e); var t=e.slot.getSlotElementId().replace("ad-",""); r.debug("Impression viewable "+t+" @"+a.elapsed()+"ms"),o.adInscreen(t),i.stopShadow(t),e.isEmpty||-1===window.location.href.indexOf("showads=true")||window.dispatchEvent(new CustomEvent("visualAds-impressionViewable",{detail:{id:t,info:e.slot.getResponseInformation()}}))})},e.exports.slotOnLoad=function(){window.bazaartag.addEventListener("slotOnload",function(e){r.debug("event: slotOnload "+e.slot.getSlotElementId(),e); var t=e.slot.getSlotElementId().replace("ad-",""); r.debug("Impression download "+t+" @"+a.elapsed()+"ms"),s.styleBazaarAd(e.slot.getSlotElementId()); var n=do***ent.getElementById(t); n&&(n.style.minHeight=""),e.isEmpty||-1===window.location.href.indexOf("showads=true")||window.dispatchEvent(new CustomEvent("visualAds-slotOnload",{detail:{id:t,info:e.slot.getResponseInformation()}}))})},e.exports.slotRenderEnded=function(){window.bazaartag.addEventListener("slotRenderEnded",function(e){r.debug("event: slotRenderEnded "+e.slot.getSlotElementId(),e); var t=function(e){return e.getAdUnitPath().split("/")[3]}(e.slot),n=e.slot.getSlotElementId().replace("ad-",""); if(r.debug("Rendered "+n+" "+e.size+" (campaignId:"+e.campaignId+", creativeId:"+e.creativeId+", lineItemId:"+e.lineItemId+", isEmpty:"+e.isEmpty+") size: "+e.size+"@"+a.elapsed()+"ms"),n.indexOf("takeover")>-1&&!e.isEmpty?u.displayTakeover():n.indexOf("takeover")>-1&&e.isEmpty&&u.closeTakeover(),e.isEmpty){r.debug("reuse: "+n+" is empty, do not reuse"),o.adInscreen(n); var i=do***ent.getElementById(n+"]"); return"challengefooter-1"===n&&i&&(i.setAttribute("style","height:0px !important;  z-index:0 !important"),r.debug("Rendered "+n+" empty, removing all styling on element",i)),void r.debug("Rendered "+n+" empty, aborting further render logic.")}if(n.startsWith("challengedeck")){var s=do***ent.querySelector("bazaar-ad[data-id="+n+"]"); s&&(s.style.height="")}if(decodeURIComponent(window.location.href).indexOf("/vis/dødsannonser")>-1||decodeURIComponent(window.location.href).indexOf("/vis/dodsannonser")>-1||c(),"toppbanner"===t&&(navigator.userAgent.toLowerCase().indexOf("firefox")>-1?r.debug("Browser is Firefox, skip moving skysk****r up"):function(e){1e3!==e.size[0]&&(r.debug("Regular toppbanner detected, moving skysk****r to the top"),l.moveToTop())}(e)),"skysk****r"===t){window.bazaartag.setTargeting("viewportWidthDesktop",window.innerWidth>1375?"true":"false"); var p=do***ent.getElementById(n); if(!p)return; if(d){var f=p.getElementsByTagName("iframe")[0]; if(!f)return; "1"!==f.width&&(p.style.width=f.width+"px")}else p.sticky()}})},e.exports.slotVisibilityChanged=function(){window.bazaartag.addEventListener("slotVisibilityChanged",function(e){r.debug("event: slotVisibilityChanged "+e.slot.getSlotElementId(),e); var t=e.slot.getSlotElementId().replace("ad-",""); 0===e.inViewPercentage&&(r.debug("Visibility changed "+t+" - "+e.inViewPercentage+"% - @"+a.elapsed()+"ms"),o.adNotInscreen(t)),-1!==window.location.href.indexOf("showads=true")&&window.dispatchEvent(new CustomEvent("visualAds-slotVisibilityChanged",{detail:{id:t,inViewPercentage:e.inViewPercentage,elapsed:a.elapsed()}}))})}},function(e,t,n){"use strict"; e.exports.styleBazaarAd=function(e){}},function(e,t,n){var r=n(71),i=n(72),o=n(73),a=n(74); t.Semaphore=r,t.CondVariable=i,t.Mutex=o,t.ReadWriteLock=a,t.createCondVariable=function(e){return new i(e)},t.createSemaphore=function(e){return new r(e)},t.createMutex=function(){return new o},t.createReadWriteLock=function(){return new a}},function(e,t){function n(e){this._count=e||1,this._waiting=[]}e.exports=n,n.prototype.wait=function(e){this._count-=1,this._count<0?this._waiting.push(e):e.call(this)},n.prototype.signal=function(){if(this._count+=1,this._count<=0){var e=this._waiting.shift(); e&&e.call(this)}}},function(e,t){function n(e){this._value=e,this._waiting=[]}e.exports=n,n.prototype.get=function(){return this._value},n.prototype.wait=function(e,t){var n=function(e){if("function"==typeof e)return e; if("number"==typeof e||"boolean"==typeof e||"string"==typeof e)return function(t){return t===e}; if(e&&"object"==typeof e&&e instanceof RegExp)return function(t){return e.test(t)}; throw new TypeError("Unknown condition type: "+typeof e)}(e); if(n(this._value))return t.call(this); this._waiting.push({test:n,cb:t})},n.prototype.set=function(e){this._value=e; for(var t=0; t[]}e.exports=n,n.prototype.lock=function(e){this.isLocked?this._waiting.push(e):(this.isLocked=!0,e.call(this))},n.prototype.timedLock=function(e,t){if(!this.isLocked)return this.isLocked=!0,t.call(this); var n,r=this; this._waiting.push(function(){clearTimeout(n),t?(t.call(this),t=null):r.unlock()}),n=setTimeout(function(){t&&(t.call(this,new Error("Lock timed out")),t=null)},e)},n.prototype.tryLock=function(){return!this.isLocked&&(this.isLocked=!0,!0)},n.prototype.unlock=function(){if(!this.isLocked)throw new Error("Mutex is not locked"); var e=this._waiting.shift(); e?e.call(this):this.isLocked=!1}},function(e,t){function n(){this.isLocked=!1,this._readLocks=0,this._waitingToRead=[],this._waitingToWrite=[]}e.exports=n,n.prototype.readLock=function(e){"W"===this.isLocked?this._waitingToRead.push(e):(this._readLocks+=1,this.isLocked="R",e.call(this))},n.prototype.writeLock=function(e){this.isLocked?this._waitingToWrite.push(e):(this.isLocked="W",e.call(this))},n.prototype.timedReadLock=function(e,t){if(this.tryReadLock())return t.call(this); var n,r=this; function i(){if(clearTimeout(n),t){var e=t; t=null,e.apply(r,arguments)}}this._waitingToRead.push(i),n=setTimeout(function(){var e=r._waitingToRead.indexOf(i); -1!==e&&(r._waitingToRead.splice(e,1),i(new Error("ReadLock timed out")))},e)},n.prototype.timedWriteLock=function(e,t){if(this.tryWriteLock())return t.call(this); var n,r=this; function i(){if(clearTimeout(n),t){var e=t; t=null,e.apply(r,arguments)}}this._waitingToWrite.push(i),n=setTimeout(function(){var e=r._waitingToWrite.indexOf(i); -1!==e&&(r._waitingToWrite.splice(e,1),i(new Error("WriteLock timed out")))},e)},n.prototype.tryReadLock=function(){return"W"!==this.isLocked&&(this.isLocked="R",this._readLocks+=1,!0)},n.prototype.tryWriteLock=function(){return!this.isLocked&&(this.isLocked="W",!0)},n.prototype.unlock=function(){var e; if("R"===this.isLocked)this._readLocks-=1,0===this._readLocks&&((e=this._waitingToWrite.shift())?(this.isLocked="W",e.call(this)):this.isLocked=!1); else{if("W"!==this.isLocked)throw new Error("ReadWriteLock is not locked"); var t=this._waitingToRead.length; if(0===t)(e=this._waitingToWrite.shift())?(this.isLocked="W",e.call(this)):this.isLocked=!1; else{this.isLocked="R",this._readLocks=t; var n=this._waitingToRead.slice(); this._waitingToRead=[]; for(var r=0; r1350,o=function(){var e=void 0; i&&window.innerWidth>1e3&&window.innerWidth<1350&&((e=do***ent.getElementsByClassName("job-list-ad")[0].parentNode).parentNode.insertBefore(e.previousElementSibling,e.nextElementSibling),i=!1),!i&&(window.innerWidth<1e3||window.innerWidth>1350)&&((e=do***ent.getElementsByClassName("job-list-ad")[0].parentNode).parentNode.insertBefore(e.nextElementSibling,e.previousElementSibling),i=!0)},a=function(){var e=do***ent.getElementsByClassName("init_ad")[0]; new Promise(function(e,t){var n=0; if(do***ent.getElementsByClassName("bazaar-placeholder").length>0)e(!0); else var r=setInterval(function(){do***ent.getElementsByClassName("bazaar-placeholder").length>0&&n<50?(clearInterval(r),e(!0)):n>49&&(clearInterval(r),t(!1)),n+=1},10)}).then(function(){var t=do***ent.getElementsByClassName("bazaar-placeholder")[0],n=e.getElementsByTagName("bazaar-ad")[0]; t.appendChild(n),n.removeAttribute("disabled"),e.parentElement.removeChild(e),i||(i=!0,o())})}; e.exports.handleJobRealEstatePage=function(e){"JOB"===function(e){return e.classList.contains("job")?"JOB":e.classList.contains("property")?"PROPERTY":"NO_CATEGORY"}(e)&&function(e){return e.parentElement.classList.contains("init_ad")}(e)?(r.isMobile()?(e.parentElement.classList.add(["midtbanner","mobile"]),e.setAttribute("position","midtbanner")):(e.parentElement.classList.add(["midtbanner","desktop"]),e.setAttribute("position","midtbanner")),a(),function(){var e=!1; window.addEventListener("resize",function(){e||(e=setTimeout(function(){o(),e=!1},100))})}()):e.parentElement.parentElement.removeChild(e.parentElement)},e.exports.isJobRealEstatePage=function(e){return e.classList.contains("jobProperty")}},function(e,t,n){"use strict"; var r=n(28).wallpaper,i=n(0),o=function(e,t){var n=do***ent.querySelector('bazaar-ad[position="toppbanner"]'); null!==n&&n.querySelector("iframe")&&(t(e,n),r.setSticky())}; window.addEventListener("message",function(e){void 0!==e.data&&void 0!==e.data.type&&"bazaar:wallpaper_img_img"===e.data.type&&(i.debug("Wallpaper with two images ready: ",e.data),o(e.data,r.createImgImg)),void 0!==e.data&&void 0!==e.data.type&&"bazaar:wallpaper_script_img"===e.data.type&&(i.debug("Wallpaper with script and image ready: ",e.data),o(e.data,r.createScriptImg)),void 0!==e.data&&void 0!==e.data.type&&"bazaar:wallpaper_script_script"===e.data.type&&(i.debug("Wallpaper with two scripts ready: ",e.data),o(e.data,r.createScriptScript))}),window.addEventListener("externalSitesWallpaper",function(e){void 0!==e.detail&&void 0!==e.detail.type&&"bazaar:wallpaper_img_img"===e.detail.type&&(i.debug("External sites testing wallpaper with two images ready: ",e.detail),o(e.detail,r.createImgImg)),void 0!==e.detail&&void 0!==e.detail.type&&"bazaar:wallpaper_script_img"===e.detail.type&&(i.debug("External sites testing wallpaper with script and images ready: ",e.detail),o(e.detail,r.createScriptImg)),void 0!==e.detail&&void 0!==e.detail.type&&"bazaar:wallpaper_script_script"===e.detail.type&&(i.debug("External sites testing wallpaper with two script ready: ",e.detail),o(e.detail,r.createScriptScript))})},function(e,t,n){"use strict"; var r=n(28).horseshoe,i=n(0),o=function(e,t){var n=do***ent.querySelector('bazaar-ad[position="toppbanner"]'); null!==n&&n.querySelector("iframe")&&(t(e,n),r.setSticky())}; window.addEventListener("message",function(e){void 0!==e.data&&void 0!==e.data.type&&"bazaar:hestesko_img_img_img"===e.data.type&&(i.debug("Horseshoe with two images ready: ",e.data),o(e.data,r.createImgImg)),void 0!==e.data&&void 0!==e.data.type&&"bazaar:hestesko_script_script_script"===e.data.type&&(i.debug("Horseshoe 3xscript ready: ",e.data),o(e.data,r.createScriptScript))}),window.addEventListener("externalSitesHorseshoe",function(e){void 0!==e.detail&&void 0!==e.detail.type&&"bazaar:hestesko_img_img_img"===e.detail.type&&(i.debug("External sites testing horseshoe with two images ready: ",e.detail),o(e.detail,r.createImgImg))})},function(e,t,n){"use strict"; var r=n(0); window.addEventListener("message",function(e){if(void 0!==e.data&&void 0!==e.data.type&&"bazaar:mobile_fullwidth"===e.data.type){r.debug("Mobile_fullwidth ready: ",JSON.stringify(e.data)); var t=e.data.elementId,n=do***ent.querySelector("bazaar-ad[id="+t+"]"); if(!n)return; Object.assign(n.style,{width:"100%"}); var i=n.firstChild; if(!i)return; Object.assign(i.style,{width:"100%"}); var o=n.querySelector("iframe"); if(!o)return; Object.assign(o.style,{width:"100%"})}})},function(e,t,n){"use strict"; var r=n(0); window.addEventListener("message",function(e){function t(e,t,n,r){e.getAttribute("width")===n&&e.getAttribute("height")===r&&(function(e){e.setAttribute("labeled","false")}(t),function(e){var t=function(t){var n=e.firstChild; n&&(n.style.width=null,n.style.textAlign=t)}; null!==e.previousElementSibling?t("right"):null!==e.nextElementSibling&&t("left")}(t))}if(void 0!==e.data&&void 0!==e.data.type&&"bazaar:native_template_ad"===e.data.type){var n=e.data.adUnit.split("/")[3],i=e.data.height,o=e.data.width; r.debug("native: dfp template sent postmessage to bazaar with data: ",n); var a=do***ent.querySelectorAll("bazaar-ad[position="+n+"]"); if(a){var s=!0,d=!1,c=void 0; try{for(var l,u=Array.from(a)[Symbol.iterator](); !(s=(l=u.next()).done); s=!0){var p=l.value,f=p.querySelector("iframe"); f&&t(f,p,o,i)}}catch(e){d=!0,c=e}finally{try{!s&&u.return&&u.return()}finally{if(d)throw c}}}}})},function(e,t,n){"use strict"; var r=n(0),i=n(1); window.addEventListener("message",function(e){var t=function(e){return[].slice.call(do***ent.querySelectorAll("iframe")).filter(function(t){return t.contentWindow===e.source})}(e); t&&t[0]&&(function(e){return void 0!==e.data&&void 0!==e.data.type&&"bazaar:native_video_full_template_ad"===e.data.type}(e)&&i.isMobile()&&(r.debug("native: dfp native video full template sent postmessage to bazaar with data: ",e.data),t[0].style.height=e.data.videoHeight,r.debug("native: calling iframe got style height "+e.data.videoHeight)),function(e){return void 0!==e.data&&void 0!==e.data.type&&"bazaar:native_with_headline"===e.data.type}(e)&&(r.debug("native: Removing label, dfp native video full headline sent postmessage with data: ",e.data),t[0].closest("bazaar-ad").removeLabel()))})},function(e,t,n){"use strict"; var r=n(0),i=n(26); window.addEventListener("message",function(e){(function(e){return void 0!==e.data&&void 0!==e.data.type&&"bazaar:takeover_ad_close"===e.data.type})(e)&&(r.debug("takeover: Takeover close: ",e.data),i.closeTakeover())})},function(e,t,n){"use strict"; var r=n(0); window.addEventListener("message",function(e){if(void 0!==e.data&&void 0!==e.data.type&&"bazaar:outstream_adunits"===e.data.type){var t=function(e){window.dispatchEvent(new CustomEvent("seshat-set",{detail:e}))},n=function(){o&&(o.className=""),s&&(s.style.display="none"),a&&(a.style.display="none")}; r.debug("Outstream: dfp template sent postmessage to bazaar with data: ",e.data); var i=e.data.typeOfOutstreamEvent,o=do***ent.querySelector("bazaar-ad[position='outstreamvideo']"); if(!o)return void r.debug("Outstream: no bazaar-ad[position='outstreamvideo'] element found in DOM"); var a=do***ent.getElementById("smartclipContainer"),s=do***ent.getElementById("smartclipClose"); s&&s.addEventListener("click",function(){n()}); var d=!0; "sc_smartIntxtStart"===i&&(r.debug("Outstream: ad started"),o&&(o.classList.add("am-bazaar-ad--labeled"),o.classList.add("am-bazaar-ad--smartclip-label-override")),s&&(s.style.display="inline-block"),t({"outstream-adshown":!0})),"sc_smartIntxtNoad"===i&&(r.debug("Outstream: ad not found"),n(),d=!1,t({"outstream-adshown":!1})),"sc_smartIntxtEnd"===i&&d&&(r.debug("Outstream: ad ended"),n(),t({"outstream-adcompleted":!0}))}})},function(e,t,n){"use strict"; var r=n(0); function i(e){e.classList.add("parallax"),Object.assign(e.style,{zIndex:1,position:"fixed",top:0,left:0,visibility:"visible",width:"100vw",height:"100vh","margin-left":"0px","margin-right":"0px"})}var o=new IntersectionObserver(function(e){e.forEach(function(e){var t=e.target.children[2],n=[e.target.children[1],e.target.children[0],e.target.children[3]]; e.intersectionRatio>0?(i(t),function(e){e.map(function(e){return e.classList.remove("hidden")})}(n)):(function(e){e.classList.remove("parallax"),Object.assign(e.style,{visibility:"hidden"})}(t),function(e){e.map(function(e){return e.classList.add("hidden")})}(n))})}); function a(e){var t=e.closest("bazaar-ad"); t&&(r.debug("parallax: bazaar-ad to create parallax for",t),t.classList.remove("am-bazaar-ad--label"),i(t),function(e){var t=do***ent.createElement("div"); t.id="bazaar-parallaxtop",t.classList.add("bazaar-parallaxtop"); var n=do***ent.createElement("div"); n.id="bazaar-parallax-label",n.classList.add("bazaar-parallax-label"); var r=do***ent.createElement("div"); r.id="bazaar-parallaxbottom",r.classList.add("bazaar-parallaxbottom"),e.insertAdjacentElement("beforebegin",t),t.insertAdjacentElement("afterend",n),e.insertAdjacentElement("afterend",r)}(t),function(e){Object.assign(e.style,{width:"100%",height:"100%",bottom:0,left:0})}(e),function(e){Object.assign(e.parentElement.parentElement.style,{position:"unset"})}(t),o.observe(t.parentElement))}window.addEventListener("message",function(e){if(void 0!==e.data&&void 0!==e.data.type&&("bazaar:parallax"===e.data.type||"bazaar:parallax-script"===e.data.type)){var t=function(e){return[].slice.call(do***ent.querySelectorAll("iframe")).filter(function(t){return t.contentWindow===e.source})}(e); if(!t[0])return; a(t[0])}})},function(e,t,n){"use strict"; var r=n(0); window.addEventListener("message",function(e){if(void 0!==e.data&&void 0!==e.data.type&&"bazaar:challengefooter"===e.data.type){var t=do***ent.querySelector("bazaar-ad[id=challengefooter-1] iframe"); if(!t)return void r.debug("challengfooter: did not find iframe"); r.debug("challengefooter: found iframe, styling"),t.style.width="100%",t.style.height="50px"; var n=do***ent.getElementById("challengefooter-1"); if(!n)return; var i=n.parentElement; if(!i)return; Object.assign(i.style,{position:"unset"})}if(void 0!==e.data&&void 0!==e.data.type&&"bazaar:challengefooter-popup-closed"===e.data.type){var o=do***ent.querySelector("bazaar-ad[id=challengefooter-1]"); if(!o)return void r.debug("challengfooter popup closed but could not find challengefooter bazaar element in dom"); o.style.setProperty("height","0px","important"),o.style.setProperty("z-index","0","important")}})},function(e,t,n){"use strict"; var r=n(0),i=n(5),o=n(86),a=n(87),s=n(88),d=n(89),c=function(e){e&&(e.style.height="1px",e.style.width="1px",e.parentElement.style.fontSize="0px")}; window.addEventListener("message",function(e){if(void 0!==e.data&&void 0!==e.data.type&&"bazaar:challengedeck-sales-message"===e.data.type){var t=do***ent.getElementById("ad-challengedeck-1"),n=do***ent.getElementById("challengedeck-message"),l=null===n,u=t.querySelector("iframe"),p="challengedeck sales message:"; if(t&&u&&l)c(u),(n=do***ent.createElement("div")).id="challengedeck-message",r.debug(p+" rendering challengedeck"),n.innerHTML=d.template(e.data),t.appendChild(n); else{var f=p+" aborting template. "; l||(f+="Cannot create challengedeck element as it already exists in DOM."),r.debug(f)}}else if(void 0!==e.data&&void 0!==e.data.type&&"bazaar:challengedeck-survey-message"===e.data.type){var g=do***ent.getElementById("ad-challengedeck-1"),h=do***ent.getElementById("challengedeck-message"),m=null===h,v=g.querySelector("iframe"); g&&v&&m?(c(v),(h=do***ent.createElement("div")).id="challengedeck-message",r.debug("challengedeck: rendering challengedeck survey popup"),o.createPopup(h,e.data,"")):r.debug("challengedeck: aborting template, unknown error")}else if(void 0===e.data||void 0===e.data.type||"bazaar:challengedeck-personalized-message"!==e.data.type&&"bazaar:challengedeck-message"!==e.data.type){if(void 0!==e.data&&void 0!==e.data.type&&"bazaar:challengedeck-first-week"===e.data.type){var b=do***ent.getElementById("ad-challengedeck-1"); if(!b)return; var w=b.querySelector("iframe"); w&&Promise.resolve(i.getData).then(function(t){if(c(w),void 0!==t&&void 0!==t.user_name){var n=t.user_name; s.template(e.data,n).then(function(e){return b.insertAdjacentHTML("beforeend",e)})}else r.debug(context+" User not logged in, aborting template")})}}else{var y=do***ent.getElementById("ad-challengedeck-1"),k=do***ent.getElementById("challengedeck-message"),x=null===k,_=y.querySelector("iframe"),E="challengedeck:"; y&&_&&x?Promise.resolve(i.getData).then(function(t){if(c(_),void 0!==t&&void 0!==t.user_name){(k=do***ent.createElement("div")).id="challengedeck-message"; var n="bazaar:challengedeck-message"===e.data.type,i="bazaar:challengedeck-personalized-message"===e.data.type,s=t.user_name; n?(r.debug(E+" rendering challengedeck"),k.innerHTML=a.template(e.data,s),y.appendChild(k)):i&&(r.debug(E+" rendering challengedeck popup"),o.createPopup(k,e.data,s))}else r.debug(E+" User not logged in, aborting template")}):r.debug(E+" aborting template, unknown error")}})},function(e,t,n){"use strict"; var r=n(0),i="challengedeck popup:",o=function(e,t){r.debug(i+" raw template-data",e); var n={title:e.titleText.replace("%bruker%",t),main:e.mainText.replace(new RegExp("%linjeskift%","g"),"
"),href:e.href,logoHref:e.logoHref,buttonText:e.buttonText||"Oppdater kort",tracking:e.tracking}; return r.debug(i+" converted template-data",n),n},a=function(e){return"\n            \n                \n                    \n                        
\n                        \n                            \n                                \n                            \n                        \n                    \n                    \n                        \n                            '+e.title+'\n                            '+e.main+"

\n                                '+e.buttonText+"\n                            \n                        \n                    \n            "}; e.exports.createPopup=function(e,t,n){var s=do***ent.createElement("div"); s.id="payment-overlay"; var d=do***ent.querySelector("div.maelstrom-wrapper"),c=do***ent.querySelector("footer.foxfield-footer"); !function(){c.style.display="none",d.style.overflow="hidden",d.style.position="fixed",d.style.filter="blur(5px)",d.style.left="50%"; var e=parseInt(window.getComputedStyle(d,null).getPropertyValue("max-width"),10)/2; d.style.marginLeft="-"+e+"px"}(),function(){var r=o(t,n); e.innerHTML=a(r)}(),e.querySelector("#clo***-container").addEventListener("click",function(t){do***ent.body.removeChild(e),do***ent.body.removeChild(s),d.style.cssText="",c.style.cssText="",r.debug(i+" popup closed")}),do***ent.body.insertBefore(s,do***ent.body.firstChild),do***ent.body.insertBefore(e,d)}},function(e,t,n){"use strict"; var r=n(0); e.exports.template=function(e,t){var n=function(e,t){r.debug("challengedeck: raw template-data",e); var n={title:e.titleText.replace("%bruker%",t),main:e.mainText.replace(new RegExp("%linjeskift%","g"),"
"),href:e.href,tracking:e.tracking,style:e.style}; return r.debug("challengedeck: mapped template-data",n),n}(e,t),i="challengedeck-template"; return"\n            \n                \n                    \n                        \n                            \n                            \n                        \n                        \n                            '+n.title+'\n                            '+n.main+"\n                        \n                    \n                \n            "}},function(e,t,n){"use strict"; var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=(n(0),n(7)),o={app:/APP_URL/g,username:/BRUKERNAVN/g,publication:/PUBLIKASJON/g,domain:/PUBLIKASJON_URL/g,newsletter:/NYHETSBREV_URL/g}; var a=navigator.userAgent.match(/(iPod|iPhone|iPad)/)&&navigator.userAgent.match(/AppleWebKit/),s=navigator.standalone||/pushvarslings-app/i.test(navigator.userAgent)||window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches; e.exports.template=function(e,t){if(!e)return""; var n="challengedeck-template-list"; return i.then(function(i){var d=void 0; e.products=e.products.filter(function(e){return""!==e.title}),s?e.products=e.products.filter(function(e){return-1===e.url.indexOf("APP_URL")}):a&&i.appleAppId?d="https://itunes.apple.com/no/app/"+i.publication.replace("www.","").replace(/\.no$/,"-no")+"/id"+i.appleAppId:i.playAppId?d="https://play.google.com/store/apps/details?id="+i.playAppId:e.products=e.products.filter(function(e){return-1===e.url.indexOf("APP_URL")}),i.newsletterURL||(e.products=e.products.filter(function(e){return-1===e.url.indexOf("NYHETSBREV_URL")})),i.username=t,i.appURL=d; var c=(e=function e(t,n){return Array.isArray(n)?n.map(function(n){return e(t,n)}):"object"===(void 0===n?"undefined":r(n))?Object.keys(n).reduce(function(r,i){return r[i]=e(t,n[i]),r},{}):"string"==typeof n?n.replace(o.app,t.appURL).replace(o.username,t.username).replace(o.publication,t.publicationName).replace(o.newsletter,t.newsletterURL).replace(o.domain,t.publication):n}(i,e)).products.reduce(function(e,t){return e+'
  • '+t.title+"

    "+t.desc+"

  • "},""); return"\n        \n            \n                

    '+e.title+"

    \n                

    "+e.text+'

    \n            \n            \n                '+c+"\n            \n        "})}},function(e,t,n){"use strict"; var r=n(0); e.exports.template=function(e){var t=function(e){r.debug("challengedeck: raw template-data",e); var t={main:e.mainText.replace(new RegExp("%linjeskift%","g"),"
    "),href:e.href,logoHref:e.logoHref,buttonText:e.buttonText,tracking:e.tracking,style:e.style}; void 0===t.style.background&&(t.style.background="#F6F5F1"); var n=do***ent.querySelector("amedia-branding"); t.style.templateBackground=void 0!==n?window.getComputedStyle(n).backgroundColor:""; var i=do***ent.querySelector("amedia-branding img"); return void 0!==i.src&&(t.logoHref=i.src),r.debug("challengedeck: mapped template-data",t),t}(e),n="challengedeck-template"; return"\n            \n                \n                \n                    '+t.main+"\n                    '+t.buttonText+"\n                \n            "}},function(e,t,n){"use strict"; var r=n(0),i=n(***),o=n(9); function a(e){return e&&e.indexOf("#{")>-1?"":e}window.addEventListener("message",function(e){if(void 0!==e.data&&void 0!==e.data.type&&"bazaar:prebid-native"===e.data.type){r.debug("Prebid native: received data",e.data); var t=do***ent.querySelector("div[id="+e.data.positionId+"]"); t.closest("bazaar-ad").removeLabel(); var n=function(e,t,n,r,o,s){n=a(n),r=a(r); var d={headline:n,advertiser:o=a(o),imageUrl:e,clickUrl:t,bodyText:r,adId:s,isPrebid:!0}; return i.template(d)}(e.data.image,e.data.linkUrl,e.data.title,e.data.body,e.data.brand,e.data.adId); t.querySelector("div[id=div_utif_"+e.data.positionId+"]").style.display="none",o.renderNativeInIframe(t,n)}})},function(e,t,n){"use strict"; var r=n(0); window.addEventListener("message",function(e){if(void 0!==e.data&&void 0!==e.data.type&&"bazaar:prebid-video"===e.data.type){r.debug("Prebid native: received data",e.data); var t=do***ent.querySelector("div[id="+e.data.positionId+"]"),n=function(e){var t="var w = window; \n    for (i = 0;  i < 10;  i++) {\n        w = w.parent; \n        if (w.pbjs) {\n            try {\n                w.pbjs.renderAd(do***ent, '"+e+"'); \n                break; \n            } catch (e) {\n                continue; \n            }\n        }\n    }",n=do***ent.createElement("script"); return n.innerHTML=t,n}(e.data.adId); t.querySelector("div[id=div_utif_"+e.data.positionId+"]").style.display="none",t.appendChild(n)}})},function(e,t,n){"use strict"; var r=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(r.unobserve(e.target),i.observe(e.target))})},{rootMargin:"100px"}),i=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting||(r.observe(e.target),i.unobserve(e.target))})},{rootMargin:"600px"}); e.exports.monitor=function(e){i.observe(e)}},function(e,t,n){"use strict"; var r=function(){function e(e,t){for(var n=0; n{}; s.prototype=HTMLElement.prototype; var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t); e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s),r(t,[{key:"render",value:function(){var e=this; o.then(function(){a.transformSync(e)})}},{key:"attachedCallback",value:function(){var e=this; i.then(function(t){t.localLazyLoad?do***ent.dispatchEvent(new CustomEvent("amedia:registerLazyLoad",{detail:e})):e.render()})}}]),t}(); do***ent.registerElement("bazaar-ad",{prototype:d.prototype})},function(e,t,n){"use strict"; var r=function(){function e(e,t){for(var n=0; n{}; s.prototype=HTMLElement.prototype; var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t); e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s),r(t,[{key:"attachedCallback",value:function(){i.transformSync(this).then(function(){o()})}}]),t}(); do***ent.registerElement("bazaar-local",{prototype:d.prototype}),e.exports=a},function(e,t,n){ /**  * @file postscribe  * @description Asynchronously write javascript, even with do***ent.write.  * @version v2.0.8  * @see {@link https://krux.github.io/postscribe}  * @license MIT  * @author Derek Brans  * @copyright 2016 Krux Digital, Inc  */ !function(t,n){e.exports=n()}(0,function(){return function(e){var t={}; function n(r){if(t[r])return t[r].exports; var i=t[r]={exports:{},id:r,loaded:!1}; return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict"; var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)); e.exports=r.default},function(e,t,n){"use strict"; t.__esModule=!0; var r=Object.assign||function(e){for(var t=1; 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(4)); function a(){}var s={afterAsync:a,afterDequeue:a,afterStreamStart:a,afterWrite:a,autoFix:!0,beforeEnqueue:a,beforeWriteToken:function(e){return e},beforeWrite:function(e){return e},done:a,error:function(e){throw new Error(e.msg)},releaseAsync:!1},d=0,c=[],l=null; function u(){var e=c.shift(); if(e){var t=o.last(e); t.afterDequeue(),e.stream=function(e,t,n){(l=new i.default(e,n)).id=d++,l.name=n.name||l.id,p.streams[l.name]=l; var o=e.ownerDo***ent,s={close:o.close,open:o.open,write:o.write,writeln:o.writeln}; function c(e){e=n.beforeWrite(e),l.write(e),n.afterWrite(e)}r(o,{close:a,open:a,write:function(){for(var e=arguments.length,t=Array(e),n=0; n[],l=null,void(d=0); n=o.defaults(n,s); var r=[e=/^#/.test(e)?window.do***ent.getElementById(e.substr(1)):e.jquery?e[0]:e,t,n]; return e.postscribe={cancel:function(){r.stream?r.stream.abort():r[1]=a}},n.beforeEnqueue(r),c.push(r),l||u(),e.postscribe}r(p,{streams:{},queue:c,WriteStream:i.default})},function(e,t,n){"use strict"; t.__esModule=!0; var r=Object.assign||function(e){for(var t=1; 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(4)); var a="data-ps-"; function s(e,t){var n=a+t,r=e.getAttribute(n); return o.existy(r)?String(r):r}function d(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=a+t; o.existy(n)&&""!==n?e.setAttribute(r,n):e.removeAttribute(r)}var c=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}; !function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.root=t,this.options=n,this.doc=t.ownerDo***ent,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new i.default("",{autoFix:n.autoFix}),this.actuals=[t],this.proxyHistory="",this.proxyRoot=this.doc.createElement(t.nodeName),this.scriptStack=[],this.writeQueue=[],d(this.proxyRoot,"proxyof",0)}return e.prototype.write=function(){var e; for((e=this.writeQueue).push.apply(e,arguments); !this.deferredRemote&&this.writeQueue.length; ){var t=this.writeQueue.shift(); o.isFunction(t)?this._callFunction(t):this._writeImpl(t)}},e.prototype._callFunction=function(e){var t={type:"function",value:e.name||e.toString()}; this._onScriptStart(t),e.call(this.win,this.doc),this._onScriptDone(t)},e.prototype._writeImpl=function(e){this.parser.append(e); for(var t=void 0,n=void 0,r=void 0,i=[]; (t=this.parser.readToken())&&!(n=o.isScript(t))&&!(r=o.isStyle(t)); )(t=this.options.beforeWriteToken(t))&&i.push(t); i.length>0&&this._writeStaticTokens(i),n&&this._handleScriptToken(t),r&&this._handleStyleToken(t)},e.prototype._writeStaticTokens=function(e){var t=this._buildChunk(e); return t.actual?(t.html=this.proxyHistory+t.actual,this.proxyHistory+=t.proxy,this.proxyRoot.innerHTML=t.html,this._walkChunk(),t):null},e.prototype._buildChunk=function(e){for(var t=this.actuals.length,n=[],r=[],i=[],o=e.length,s=0; s":">"))}}else r.push(c),i.push("endTag"===d.type?c:"")}return{tokens:e,raw:n.join(""),actual:r.join(""),proxy:i.join("")}},e.prototype._walkChunk=function(){for(var e=void 0,t=[this.proxyRoot]; o.existy(e=t.shift()); ){var n=1===e.nodeType; if(!(n&&s(e,"proxyof"))){n&&(this.actuals[s(e,"id")]=e,d(e,"id")); var r=e.parentNode&&s(e.parentNode,"proxyof"); r&&this.actuals[r].appendChild(e)}t.unshift.apply(t,o.toArray(e.childNodes))}},e.prototype._handleScriptToken=function(e){var t=this,n=this.parser.clear(); n&&this.writeQueue.unshift(n),e.src=e.attrs.src||e.attrs.SRC,(e=this.options.beforeWriteToken(e))&&(e.src&&this.scriptStack.length?this.deferredRemote=e:this._onScriptStart(e),this._writeScriptToken(e,function(){t._onScriptDone(e)}))},e.prototype._handleStyleToken=function(e){var t=this.parser.clear(); t&&this.writeQueue.unshift(t),e.type=e.attrs.type||e.attrs.TYPE||"text/css",(e=this.options.beforeWriteToken(e))&&this._writeStyleToken(e),t&&this.write()},e.prototype._writeStyleToken=function(e){var t=this._buildStyle(e); this._insertCursor(t,"ps-style"),e.content&&(t.styleSheet&&!t.sheet?t.styleSheet.cssText=e.content:t.appendChild(this.doc.createTextNode(e.content)))},e.prototype._buildStyle=function(e){var t=this.doc.createElement(e.tagName); return t.setAttribute("type",e.type),o.eachKey(e.attrs,function(e,n){t.setAttribute(e,n)}),t},e.prototype._insertCursor=function(e,t){this._writeImpl(''); var n=this.doc.getElementById(t); n&&n.parentNode.replaceChild(e,n)},e.prototype._onScriptStart=function(e){e.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(e)},e.prototype._onScriptDone=function(e){e===this.scriptStack[0]?(this.scriptStack.shift(),this.write.apply(this,e.outerWrites),!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)):this.options.error({msg:"Bad script nesting or script finished twice"})},e.prototype._writeScriptToken=function(e,t){var n=this._buildScript(e),r=this._shouldRelease(n),i=this.options.afterAsync; e.src&&(n.src=e.src,this._scriptLoadHandler(n,r?i:function(){t(),i()})); try{this._insertCursor(n,"ps-script"),n.src&&!r||t()}catch(e){this.options.error(e),t()}},e.prototype._buildScript=function(e){var t=this.doc.createElement(e.tagName); return o.eachKey(e.attrs,function(e,n){t.setAttribute(e,n)}),e.content&&(t.text=e.content),t},e.prototype._scriptLoadHandler=function(e,t){function n(){e=e.onload=e.onreadystatechange=e.onerror=null}var i=this.options.error; function o(){n(),null!=t&&t(),t=null}function a(e){n(),i(e),null!=t&&t(),t=null}function s(e,t){var n=e["on"+t]; null!=n&&(e["_on"+t]=n)}s(e,"load"),s(e,"error"),r(e,{onload:function(){if(e._onload)try{e._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(t){a({msg:"onload handler failed "+t+" @ "+e.src})}o()},onerror:function(){if(e._onerror)try{e._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(t){return void a({msg:"onerror handler failed "+t+" @ "+e.src})}a({msg:"remote script failed "+e.src})},onreadystatechange:function(){/^(loaded|complete)$/.test(e.readyState)&&o()}})},e.prototype._shouldRelease=function(e){return!/^script$/i.test(e.nodeName)||!!(this.options.releaseAsync&&e.src&&e.hasAttribute("async"))},e}(); t.default=c},function(e,t,n){ /**      * @file prescribe      * @description Tiny, forgiving HTML parser      * @version vundefined      * @see {@link https://github.com/krux/prescribe/}      * @license MIT      * @author Derek Brans      * @copyright 2016 Krux Digital, Inc      */ !function(t,n){e.exports=n()}(0,function(){return function(e){var t={}; function n(r){if(t[r])return t[r].exports; var i=t[r]={exports:{},id:r,loaded:!1}; return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict"; var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)); e.exports=r.default},function(e,t,n){"use strict"; t.__esModule=!0; var r=s(n(2)),i=s(n(3)),o=function(e){return e&&e.__esModule?e:{default:e}}(n(6)),a=n(5); function s(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}var d={comment:/^              

    Heading Infomation & KeyWord Sentiment

    Heading TAG Description
    H2 Tysdag skal politikarane bestemme seg: Skal kommunen bygge rådhus til 123,5 millionar?
    H2 Florø hadde full kontroll på Odd 2
    H2 Er det straffe?
    H2 Rema 1000-gjengen jobbar på spreng for å bli klare til nyopning på torsdag
    H2 – Ja, eg trur vi skal klare det!
    H2 Oda (33) lover heftig pyroshow
    H2 Florø vann 3-1 over Odd 2
    H2 – Får eg ikkje eit svar frå bystyret tysdag, tek eg prosjektet med meg til andre
    H2 – Skal folk berre teie? Er det det som er demokrati?
    H2 Celine (21) meiner at dei som tek eit «friår» etter vidaregåande har eit ufortent dårleg rykte
    H2 BKK held fram som eigar i Sogn og Fjordane Energi
    H2 Kan du filetere laks betre enn ein nærsynt kokk med grytevottar?
    H2 Det er uaktuelt for Avinor å forlenge rullebana no - rådmannen rår frå planarbeid for utviding
    H2 Det siste store lokalt eigde oppdretts-selskapet i Bremanger skal vere til sals
    H2 Seks bilførarar var for tunge på labben
    H2 Jonas (15) har suksess som lysdesignar med eiga bedrift - no skal han køyre showet under landsfinalen i UKM
    H2 Her kan du søke i dødsannonsene
    H2 Framleis grønt for Kjersti og Roser & Interiør i Strandgata
    H2 Bremanger vil alliere seg med fjord-reiselivet
    H2 Fylket skal bygge ny, stor tannlegeklinikk i Florø
    H2 Drapssaka i Florø
    H2 – Rekonstruksjonen var ei tøff oppleving. No jobbar eg for å få han lauslaten.
    H2 Dei sikta fekk forklare seg på åstaden for d****t
    H2 – Det er lett å vere i opposisjon. Då kan ein hyle, skrike og krevje enkle svar på kompliserte spørsmål.
    H2 30-åring teken med narko i Bremanger. Køyrde i rusa tilstand
    H2 Fekk du med deg dette i helga?
    H2 Konglerike Cup i Eikefjord
    H2 Over tusen store og små var innom Eikefjord og Kongleriket cup
    H2 SJÅ BILDA: Desse florøværingane og mange andre var på Pride!
    H2 Med sjølvbygd campingvogn legg Roger ut på europatur att
    H2 «Eg trur vi no må innsjå at Kinn blir ein realitet. Vi kan protestere til krampa tek oss, men toget går no.»
    H2 Denne måsemammaen valde å lage reir på ein nokså spesiell plass
    H2 Florø stilte sterkt i historisk første Pride i Sogn og Fjordane
    H2 Flora-ordføraren: – Haffen står ikkje på kuttlista vår
    H2 No vil dei bygge ny kommunal barnehage i Florø
    H2 Riksvegbrua i Naustdal er full i rust, men kan reddast – no har dei fått prisen
    H2 Kven braut seg inn i hytta til Cathrine og Agathe på Ålvora?
    H2 Korleis greidde steinaldermenneska hogge flint? Dette lærte elevane frå floraskulen om denne veka.
    H2 I sommar vil kommunen spare ved å kutte i viktig tilbod til gravide Karoline (30): – Rett og slett skremmande!
    H2 Florø 2 tapte i Stryn
    H2 Bremanger starta ****tspurten for seint
    H2 Tysdag får kvar politikar ei grøn tusenårsgåve frå Bjarne (39) og Magnus (11)
    H2 Stansa ein bil. Både førar og passasjer var 15 år
    H2 – Her i Flora skal du få lov til å vere skeiv. Her har vi ein normalitet som omfattar alle!
    H2 Kapteinen sa stopp. Matrosen ga full gass. Så smalt det
    H2 Bilulykke i Brandsøy
    H2 Taxisjåfør Eli letta på kjolen til passasjer og såg babyhovudet på veg ut
    H2 Desse passar på at drikkevatnet ditt ikkje inneheld farlege bakteriar

    JavaScript Information

    
    <script type="text/javascript"> 
    
                window.amediaConfig={"apiUrl":"/api/maelstrom/v1/","servicesHost":"services.api.no","assetsHost":"r.acdn.no","graphicsHost":"g.acdn.no","assetUrl":"//r.acdn.no/api/maelstrom/v1","gaiaUrlRoot":"/api/maelstrom/v1/gaia","useESI":true,"logLevel":"info","acpApiVersion":"v1.1","acpTimeout":10000,"meetixVersion":"v0.1","serverType":"production","serverName":"osl2","staticAssets":true,"maelstromVersion":"1.63.23"};
            
    </script>
    
    
    

    
    <script type="text/javascript"> 
    
                (function () {
    	                /* pasco client.js 0.0.9 master-4a82892 */
    	!function(e,n){for(var t in n)e[t]=n[t]}(self,function(e){var n={};
    		function t(o){if(n[o])return n[o].exports;
    			var r=n[o]={i:o,l:!1,exports:{}};
    			return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;
    			if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;
    			var o=Object.create(null);
    			if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(o,r,function(n){return e[n]}.bind(null,r));
    			return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};
    			return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=1)}([function(e,n,t){"use strict";
    		var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){},i=!1,a=void 0;
    		function s(e,n){return"string"!=typeof e?new TypeError('adpEventName must have type "string" (#sendEvent)'):(a||(a=window),a.postMessage({adpEventName:e,data:n},"*"),null)}function u(e){var n=null;
    			i?e(n):(window.addEventListener("message",function t(o){o.data&&"seshat-alive"===o.data.adpEventName&&(window.removeEventListener("message",t),i=!0,e(n))}),n=s("seshat-ping"))}function d(e,n){u(function(t){t?n(t):e()})}function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;
    			i?null!==e&&"object"===(void 0===e?"undefined":o(e))?n(s("seshat-add",e)):n(new TypeError("data is required to be a non-null object (#add)")):d(l.bind(null,e,n),n)}e.exports={sendEvent:s,setLoggerWindow:function(e){return"function"!=typeof e.postMessage?new TypeError("loggerWindow must be a valid Window object"):(a=e,null)},onAlive:u,initialize:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r;
    				if("string"==typeof e&&0!==e.length)if("object"===(void 0===n?"undefined":o(n))&&null!==n){var i=do***ent.createElement("script"),a=do***ent.getElementsByTagName("script")[0];
    					i.type="text/javascript",i.async=!0,i.src=e,i.onload=function(){var e=s("seshat-initialize",n);
    						e?t(e):u(t)},a.parentNode.insertBefore(i,a)}else t(new TypeError("If provided, data must be a non-null object (#initialize"));
    				else t(new TypeError("url is required to be a string longer than 0 (#initialize)"))},add:l,set:function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;
    				i?null!==n&&"object"===(void 0===n?"undefined":o(n))?t(s("seshat-set",n)):t(new TypeError("data is required to be a non-null object (#set)")):d(e.bind(null,n,t),t)},send:function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],r=null;
    				i?"object"===(void 0===n?"undefined":o(n))&&null!==n?(r=Object.keys(n).reduce(function(e,n){return e||"set"===n||"add"===n?e:new Error('Data should be categorized into either "set" or "add"\n                in #send')},null))?t(r):("function"==typeof t&&window.addEventListener("message",function e(n){"seshat-sent"===n.data.adpEventName&&(window.removeEventListener("message",e),t(r))}),r=s("seshat-send",n)):t(new TypeError("If provided, data must be a non-null object (#initialize")):d(e.bind(null,n,t),t)},pageview:function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;
    				i?t(s("seshat-pageview",{metadata:n})):d(e.bind(null,n,t),t)},variant:function(){function e(e,n){var t=new Error(e);
    					return n(t),t}for(var n=r,t=arguments.length,o=Array(t),i=0;
    				i<t;
    				i++)o[i]=arguments[i];
    				var a=o.length;
    				if("function"==typeof o[a-1]&&(n=o[a-1],o.pop(),a=o.length),a<2)return e("not enough arguments.",n);
    				var s=o[0];
    				return"string"!=typeof s?e("first argument must be siteId (string)",n):(o.shift(),function e(t,o,r){if(t.length>0){var i=void 0;
    						try{var a=t.shift();
    							a.unshift(o),i=JSON.stringify(a)}catch(e){return void n(e)}l({adp_variant_view:i},function(n){r.push(n),e(t,o,r)})}else r.every(function(e){return null===e})?n(null):n(r)}(o,s,[]),null)}}},function(e,n,t){"use strict";
    		t.r(n),t.d(n,"pasco",function(){return r});
    		var o=t(0);
    		function r(e,n){"serviceWorker"in window.navigator&&window.navigator.serviceWorker.register(`//${window.location.host}/serviceworker.js`).then(()=>window.navigator.serviceWorker.ready).then(()=>window.navigator.serviceWorker.controller?Promise.resolve():new Promise(e=>window.navigator.serviceWorker.addEventListener("controllerchange",()=>e()))).then(()=>(function(e,n){n&&e&&fetch(`https://storage.googleapis.com/amedia-content-updates/production/${e}.json`).then(e=>(e.ok,e.json())).then(e=>{if(e&&e.lastModified){const t=parseInt(n,10),r=parseInt(e.lastModified,10);
    						t<r?(o.set({a_content_cache:"stale"}),window.navigator.serviceWorker.controller.postMessage({type:"amedia:check-last-updated",message:{url:window.location.href,timestamp:r}}),window.navigator.serviceWorker.addEventListener("message",e=>{"amedia:updated-version"===e.data.type&&(window.location.href,e.data.value)})):o.set({a_content_cache:"fresh"})}else o.set({a_content_cache:"unknown"})}).catch(e=>console.log(e))})(e,n)).catch(e=>console.debug(e))}}]));
    	                if (pasco) {
    		                    pasco('''');
    		}
    	}());
            
    </script>
    
    
    

    
    <script type="text/javascript"> 
    "use strict";
    var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};
    !function(){function t(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function e(t,e){return e={exports:{}},t(e,e.exports),e.exports}function n(t,e){var r,o,i=arguments.length<3?t:arguments[2];
    		return l(t)===i?t[e]:(r=C.f(t,e))?L(r,"value")?r.value:void 0===r.get?void 0:r.get.call(i):c(o=Zt(t))?n(o,e,i):void 0}function r(t,e,n){var o,i,s=arguments.length<4?t:arguments[3],a=C.f(l(t),e);
    		if(!a){if(c(i=Zt(t)))return r(i,e,n,s);
    			a=y(0)}if(L(a,"value")){if(!1===a.writable||!c(s))return!1;
    			if(o=C.f(s,e)){if(o.get||o.set||!1===o.writable)return!1;
    				o.value=n,P.f(s,e,o)}else P.f(s,e,y(0,n));
    			return!0}return void 0!==a.set&&(a.set.call(s,n),!0)}var o="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};
    	e(function(e,n){!function(t,n){e.exports=n()}(0,function(){function e(t){var e=void 0===t?"undefined":_typeof(t);
    				return null!==t&&("object"===e||"function"===e)}function n(t){return"function"==typeof t}function r(){return void 0!==P?function(){P(s)}:i()}function i(){var t=setTimeout;
    				return function(){return t(s,1)}}function s(){for(var t=0;
    				t<H;
    				t+=2)(0,U[t])(U[t+1]),U[t]=void 0,U[t+1]=void 0;
    				H=0}function a(t,e){var n=this,r=new this.constructor(c);
    				void 0===r[V]&&O(r);
    				var o=n._state;
    				if(o){var i=arguments[o-1];
    					D(function(){return _(o,r,i,n._result)})}else E(n,r,t,e);
    				return r}function u(t){var e=this;
    				if(t&&"object"===(void 0===t?"undefined":_typeof(t))&&t.constructor===e)return t;
    				var n=new e(c);
    				return y(n,t),n}function c(){}function l(){return new TypeError("You cannot resolve a promise with itself")}function f(){return new TypeError("A promises callback cannot return that same promise.")}function h(t){try{return t.then}catch(t){return $.error=t,$}}function p(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}function d(t,e,n){D(function(t){var r=!1,o=p(n,e,function(n){r||(r=!0,e!==n?y(t,n):b(t,n))},function(e){r||(r=!0,w(t,e))},"Settle: "+(t._label||" unknown promise"));
    					!r&&o&&(r=!0,w(t,o))},t)}function v(t,e){e._state===K?b(t,e._result):e._state===G?w(t,e._result):E(e,void 0,function(e){return y(t,e)},function(e){return w(t,e)})}function m(t,e,r){e.constructor===t.constructor&&r===a&&e.constructor.resolve===u?v(t,e):r===$?(w(t,$.error),$.error=null):void 0===r?b(t,e):n(r)?d(t,e,r):b(t,e)}function y(t,n){t===n?w(t,l()):e(n)?m(t,n,h(n)):b(t,n)}function g(t){t._onerror&&t._onerror(t._result),A(t)}function b(t,e){t._state===W&&(t._result=e,t._state=K,0!==t._subscribers.length&&D(A,t))}function w(t,e){t._state===W&&(t._state=G,t._result=e,D(g,t))}function E(t,e,n,r){var o=t._subscribers,i=o.length;
    				t._onerror=null,o[i]=e,o[i+K]=n,o[i+G]=r,0===i&&t._state&&D(A,t)}function A(t){var e=t._subscribers,n=t._state;
    				if(0!==e.length){for(var r=void 0,o=void 0,i=t._result,s=0;
    					s<e.length;
    					s+=3)r=e[s],o=e[s+n],r?_(n,r,o,i):o(i);
    					t._subscribers.length=0}}function T(t,e){try{return t(e)}catch(t){return $.error=t,$}}function _(t,e,r,o){var i=n(r),s=void 0,a=void 0,u=void 0,c=void 0;
    				if(i){if((s=T(r,o))===$?(c=!0,a=s.error,s.error=null):u=!0,e===s)return void w(e,f())}else s=o,u=!0;
    				e._state!==W||(i&&u?y(e,s):c?w(e,a):t===K?b(e,s):t===G&&w(e,s))}function M(t,e){try{e(function(e){y(t,e)},function(e){w(t,e)})}catch(e){w(t,e)}}function L(){return Q++}function O(t){t[V]=Q++,t._state=void 0,t._result=void 0,t._subscribers=[]}function S(){return new Error("Array Methods must be provided an Array")}function I(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function R(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var x=void 0,C=x=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},H=0,P=void 0,j=void 0,D=function(t,e){U[H]=t,U[H+1]=e,2===(H+=2)&&(j?j(s):q())},F="undefined"!=typeof window?window:void 0,k=F||{},N=k.MutationObserver||k.WebKitMutationObserver,z="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),B="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,U=new Array(1e3),q=void 0;
    			q=z?function(){return process.nextTick(s)}:N?function(){var t=0,e=new N(s),n=do***ent.createTextNode("");
    				return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}():B?function(){var t=new MessageChannel;
    				return t.port1.onmessage=s,function(){return t.port2.postMessage(0)}}():void 0===F&&"function"==typeof t?function(){try{var t=Function("return this")().require("vertx");
    					return P=t.runOnLoop||t.runOnContext,r()}catch(t){return i()}}():i();
    			var V=Math.random().toString(36).substring(2),W=void 0,K=1,G=2,$={error:null},Q=0,X=function(){function t(t,e){this._instanceConstructor=t,this.promise=new t(c),this.promise[V]||O(this.promise),C(e)?(this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?b(this.promise,this._result):(this.length=this.length||0,this._enumerate(e),0===this._remaining&&b(this.promise,this._result))):w(this.promise,S())}return t.prototype._enumerate=function(t){for(var e=0;
    					this._state===W&&e<t.length;
    					e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;
    					if(r===u){var o=h(t);
    						if(o===a&&t._state!==W)this._settledAt(t._state,e,t._result);
    						else if("function"!=typeof o)this._remaining--,this._result[e]=t;
    						else if(n===Y){var i=new n(c);
    							m(i,t,o),this._willSettleAt(i,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(r(t),e)},t.prototype._settledAt=function(t,e,n){var r=this.promise;
    					r._state===W&&(this._remaining--,t===G?w(r,n):this._result[e]=n),0===this._remaining&&b(r,this._result)},t.prototype._willSettleAt=function(t,e){var n=this;
    					E(t,void 0,function(t){return n._settledAt(K,e,t)},function(t){return n._settledAt(G,e,t)})},t}(),Y=function(){function t(e){this[V]=L(),this._result=this._state=void 0,this._subscribers=[],c!==e&&("function"!=typeof e&&I(),this instanceof t?M(this,e):R())}return t.prototype.catch=function(t){return this.then(null,t)},t.prototype.finally=function(t){var e=this,r=e.constructor;
    					return n(t)?e.then(function(e){return r.resolve(t()).then(function(){return e})},function(e){return r.resolve(t()).then(function(){throw e})}):e.then(t,t)},t}();
    			return Y.prototype.then=a,Y.all=function(t){return new X(this,t).promise},Y.race=function(t){var e=this;
    				return new e(C(t)?function(n,r){for(var o=t.length,i=0;
    					i<o;
    					i++)e.resolve(t[i]).then(n,r)}:function(t,e){return e(new TypeError("You must pass an array to race."))})},Y.resolve=u,Y.reject=function(t){var e=new this(c);
    				return w(e,t),e},Y._setScheduler=function(t){j=t},Y._setAsap=function(t){D=t},Y._asap=D,Y.polyfill=function(){var t=void 0;
    				if(void 0!==o)t=o;
    				else if("undefined"!=typeof self)t=self;
    				else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;
    				if(e){var n=null;
    					try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=Y},Y.Promise=Y,Y})}).polyfill();
    	!function(t){function e(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");
    			return t.toLowerCase()}function n(t){return"string"!=typeof t&&(t=String(t)),t}function r(t){var e={next:function(){var e=t.shift();
    					return{done:void 0===e,value:e}}};
    			return y.iterable&&(e[Symbol.iterator]=function(){return e}),e}function o(t){this.map={},instanceof o?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function i(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));
    			t.bodyUsed=!0}function s(t){return new Promise(function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}})}function a(t){var e=new FileReader,n=s(e);
    			return e.readAsArrayBuffer(t),n}function u(t){var e=new FileReader,n=s(e);
    			return e.readAsText(t),n}function c(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;
    			r<e.length;
    			r++)n[r]=String.fromCharCode(e[r]);
    			return n.join("")}function l(t){if(t.slice)return t.slice(0);
    			var e=new Uint8Array(t.byteLength);
    			return e.set(new Uint8Array(t)),e.buffer}function f(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,t)if("string"==typeof t)this._bodyText=t;
    				else if(y.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;
    				else if(y.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;
    				else if(y.searchParams&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();
    				else if(y.arrayBuffer&&y.blob&&b(t))this._bodyArrayBuffer=l(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);
    				else{if(!y.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t)&&!w(t))throw new Error("unsupported BodyInit type");
    					this._bodyArrayBuffer=l(t)}else this._bodyText="";
    				this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;
    				charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):y.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;
    				charset=UTF-8"))},y.blob&&(this.blob=function(){var t=i(this);
    				if(t)return t;
    				if(this._bodyBlob)return Promise.resolve(this._bodyBlob);
    				if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));
    				if(this._bodyFormData)throw new Error("could not read FormData body as blob");
    				return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(a)}),this.text=function(){var t=i(this);
    				if(t)return t;
    				if(this._bodyBlob)return u(this._bodyBlob);
    				if(this._bodyArrayBuffer)return Promise.resolve(c(this._bodyArrayBuffer));
    				if(this._bodyFormData)throw new Error("could not read FormData body as text");
    				return Promise.resolve(this._bodyText)},y.formData&&(this.formData=function(){return this.text().then(d)}),this.json=function(){return this.text().then(JSON.parse)},this}function h(t){var e=t.toUpperCase();
    			return E.indexOf(e)>-1?e:t}function p(t,e){var n=(e=e||{}).body;
    			if(instanceof p){if(t.bodyUsed)throw new TypeError("Already read");
    				this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new o(t.headers)),this.method=t.method,this.mode=t.mode,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);
    			if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new o(e.headers)),this.method=h(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");
    			this._initBody(n)}function d(t){var e=new FormData;
    			return t.trim().split("&").forEach(function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");
    					e.append(decodeURIComponent(r),decodeURIComponent(o))}}),e}function v(t){var e=new o;
    			return t.replace(/\r?\n[\]+/g," ").split(/\r?\n/).forEach(function(t){var n=t.split(":"),r=n.shift().trim();
    				if(r){var o=n.join(":").trim();
    					e.append(r,o)}}),e}function m(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new o(e.headers),this.url=e.url||"",this._initBody(t)}if(!t.fetch){var y={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};
    			if(y.arrayBuffer)var g=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(t){return t&&DataView.prototype.isPrototypeOf(t)},w=ArrayBuffer.isView||function(t){return t&&g.indexOf(Object.prototype.toString.call(t))>-1};
    			o.prototype.append=function(t,r){t=e(t),r=n(r);
    				var o=this.map[t];
    				this.map[t]=o?o+","+r:r},o.prototype.delete=function(t){delete this.map[e(t)]},o.prototype.get=function(t){return t=e(t),this.has(t)?this.map[t]:null},o.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},o.prototype.set=function(t,r){this.map[e(t)]=n(r)},o.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},o.prototype.keys=function(){var t=[];
    				return this.forEach(function(e,n){t.push(n)}),r(t)},o.prototype.values=function(){var t=[];
    				return this.forEach(function(e){t.push(e)}),r(t)},o.prototype.entries=function(){var t=[];
    				return this.forEach(function(e,n){t.push([n,e])}),r(t)},y.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);
    			var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];
    			p.prototype.clone=function(){return new p(this,{body:this._bodyInit})},f.call(p.prototype),f.call(m.prototype),m.prototype.clone=function(){return new m(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},m.error=function(){var t=new m(null,{status:0,statusText:""});
    				return t.type="error",t};
    			var A=[301,302,303,307,308];
    			m.redirect=function(t,e){if(-1===A.indexOf(e))throw new RangeError("Invalid status code");
    				return new m(null,{status:e,headers:{location:t}})},t.Headers=o,t.Request=p,t.Response=m,t.fetch=function(t,e){return new Promise(function(n,r){var o=new p(t,e),i=new XMLHttpRequest;
    					i.onload=function(){var t={status:i.status,statusText:i.statusText,headers:v(i.getAllResponseHeaders()||"")};
    						t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");
    						var e="response"in i?i.response:i.responseText;
    						n(new m(e,t))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&y.blob&&(i.responseType="blob"),o.headers.forEach(function(t,e){i.setRequestHeader(e,t)}),i.send(void 0===o._bodyInit?null:o._bodyInit)})},t.fetch.polyfill=!0}}("undefined"!=typeof self?self:void 0),function(t,e){function n(){var t=O.splice(0,O.length);
    			for(Zt=0;
    			t.length;
    			)t.shift().call(null,t.shift())}function r(t,e){for(var n=0,r=t.length;
    			n<r;
    			n++)m(t[n],e)}function o(t){for(var e,n=0,r=t.length;
    			n<r;
    			n++)e=t[n],P(e,it[s(e)])}function i(t){return function(e){kt(e)&&(m(e,t),st.length&&r(e.querySelectorAll(st),t))}}function s(t){var e=qt.call(t,"is"),n=t.nodeName.toUpperCase(),r=ut.call(ot,e?et+e.toUpperCase():tt+n);
    			return e&&-1<r&&!a(n,e)?-1:r}function a(t,e){return-1<st.indexOf(t+'[is="'+e+'"]')}function u(t){var e=t.currentTarget,n=t.attrChange,r=t.attrName,o=t.target,i=t[Q]||2,s=t[X]||3;
    			!oe||o&&o!==e||!e[q]||"style"===r||t.prevValue===t.newValue&&(""!==t.newValue||n!==i&&n!==s)||e[q](r,n===i?null:t.prevValue,n===s?null:t.newValue)}function c(t){var e=i(t);
    			return function(t){O.push(e,t.target),Zt&&clearTimeout(Zt),Zt=setTimeout(n,1)}}function l(t){re&&(re=!1,t.currentTarget.removeEventListener(Z,l)),st.length&&r((t.target||_).querySelectorAll(st),t.detail===B?B:N),Dt&&d()}function f(t,e){var n=this;
    			Kt.call(n,t,e),S.call(n,{target:n})}function h(t,e,n){var r=e.apply(t,n),i=s(r);
    			return-1<i&&P(r,it[i]),n.pop()&&st.length&&o(r.querySelectorAll(st)),r}function p(t,e){Ct(t,e),x?x.observe(t,Xt):(ne&&(t.setAttribute=f,t[F]=R(t),t[k](J,S)),t[k](Y,u)),t[G]&&oe&&(t.created=!0,t[G](),t.created=!1)}function d(){for(var t,e=0,n=Nt.length;
    			e<n;
    			e++)t=Nt[e],at.contains(t)||(n--,Nt.splice(e--,1),m(t,B))}function v(t){throw new Error("A "+t+" type is already registered")}function m(t,e){var n,r,o=s(t);
    			-1<o&&(H(t,it[o]),o=0,e!==N||t[N]?e!==B||t[B]||(t[N]=!1,t[B]=!0,r="disconnected",o=1):(t[B]=!1,t[N]=!0,r="connected",o=1,Dt&&ut.call(Nt,t)<0&&Nt.push(t)),o&&(n=t[e+z]||t[r+z])&&n.call(t))}function y(){}function g(t,e,n){var r=n&&n[U]||"",o=e.prototype,i=xt(o),s=e.observedAttributes||pt,a={prototype:i};
    			Ft(i,G,{value:function(){if(Lt)Lt=!1;
    					else if(!this[wt]){this[wt]=!0,new e(this),o[G]&&o[G].call(this);
    						var t=Ot[It.get(e)];
    						(!At||t.create.length>1)&&E(this)}}}),Ft(i,q,{value:function(t){-1<ut.call(s,t)&&o[q]&&o[q].apply(this,arguments)}}),o[W]&&Ft(i,V,{value:o[W]}),o[K]&&Ft(i,$,{value:o[K]}),r&&(a[U]=r),t=t.toUpperCase(),Ot[t]={constructor:e,create:r?[r,Rt(t)]:[t]},It.set(e,t),_[D](t.toLowerCase(),a),A(t),St[t].r()}function b(t){var e=Ot[t.toUpperCase()];
    			return e&&e.constructor}function w(t){return"string"==typeof t?t:t&&t.is||""}function E(t){for(var e,n=t[q],r=n?t.attributes:pt,o=r.length;
    			o--;
    			)e=r[o],n.call(t,e.name||e.nodeName,null,e.value||e.nodeValue)}function A(t){return(t=t.toUpperCase())in St||(St[t]={},St[t].p=new Mt(function(e){St[t].r=e})),St[t].p}function T(){Et&&delete t.customElements,ht(t,"customElements",{configurable:!0,value:new y}),ht(t,"CustomElementRegistry",{configurable:!0,value:y});
    			for(var e=L.get(/^HTML[A-Z]*[a-z]/),n=e.length;
    			n--;
    			function(e){var n=t[e];
    				if(n){t[e]=function(t){var e,r;
    						return t||(t=this),t[wt]||(Lt=!0,e=Ot[It.get(t.constructor)],(t=(r=At&&1===e.create.length)?Reflect.construct(n,pt,e.constructor):_.createElement.apply(_,e.create))[wt]=!0,Lt=!1,r||E(t)),t},t[e].prototype=n.prototype;
    					try{n.prototype.constructor=t[e]}catch(r){bt=!0,ht(n,wt,{value:t[e]})}}}(e[n]));
    			_.createElement=function(t,e){var n=w(e);
    				return n?Qt.call(this,t,Rt(n)):Qt.call(this,t)},Jt||(ee=!0,_[D](""))}var _=t.do***ent,M=t.Object,L=function(t){var e,n,r,o,i=/^[A-Z]+[a-z]/,s=function(t){var e,n=[];
    				for(e in u)t.test(e)&&n.push(e);
    				return n},a=function(t,e){(e=e.toLowerCase())in u||(u[t]=(u[t]||[]).concat(e),u[e]=u[e.toUpperCase()]=t)},u=(M.create||M)(null),c={};
    			for(n in t)for(o in t[n])for(r=t[n][o],u[o]=r,e=0;
    			e<r.length;
    			e++)u[r[e].toLowerCase()]=u[r[e].toUpperCase()]=o;
    			return c.get=function(t){return"string"==typeof t?u[t]||(i.test(t)?[]:""):s(t)},c.set=function(t,e){return i.test(t)?a(t,e):a(e,t),c},c}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDo***ent:["do***ent"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Do***ent:["#do***ent"],Do***entFragment:["#do***ent-fragment"],Do***entType:["node"],HTMLDo***ent:["#do***ent"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDo***ent:["xml"]}});
    		"object"!==(void 0===e?"undefined":_typeof(e))&&(e={type:e||"auto"});
    		var O,S,I,R,x,C,H,P,j,D="registerElement",F="__"+D+(1e5*t.Math.random()>>0),k="addEventListener",N="attached",z="Callback",B="detached",U="extends",q="attributeChanged"+z,V=N+z,W="connected"+z,K="disconnected"+z,G="created"+z,$=B+z,Q="ADDITION",X="REMOVAL",Y="DOMAttrModified",Z="DOMContentLoaded",J="DOMSubtreeModified",tt="<",et="=",nt=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,rt=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],ot=[],it=[],st="",at=_.do***entElement,ut=ot.indexOf||function(t){for(var e=this.length;
    			e--&&this[e]!==t;
    			);
    			return e},ct=M.prototype,lt=ct.hasOwnProperty,ft=ct.isPrototypeOf,ht=M.defineProperty,pt=[],dt=M.getOwnPropertyDescriptor,vt=M.getOwnPropertyNames,mt=M.getPrototypeOf,yt=M.setPrototypeOf,gt=!!M.__proto__,bt=!1,wt="__dreCEv1",Et=t.customElements,At=!/^force/.test(e.type)&&!!(Et&&Et.define&&Et.get&&Et.whenDefined),Tt=M.create||M,_t=t.Map||function(){var t,e=[],n=[];
    			return{get:function(t){return n[ut.call(e,t)]},set:function(r,o){(t=ut.call(e,r))<0?n[e.push(r)-1]=o:n[t]=o}}},Mt=t.Promise||function(t){function e(t){for(r=!0;
    				n.length;
    				)n.shift()(t)}var n=[],r=!1,o={catch:function(){return o},then:function(t){return n.push(t),r&&setTimeout(e,1),o}};
    			return t(e),o},Lt=!1,Ot=Tt(null),St=Tt(null),It=new _t,Rt=function(t){return t.toLowerCase()},xt=M.create||function t(e){return e?(t.prototype=e,new t):this},Ct=yt||(gt?function(t,e){return t.__proto__=e,t}:vt&&dt?function(){function t(t,e){for(var n,r=vt(e),o=0,i=r.length;
    				o<i;
    				o++)n=r[o],lt.call(t,n)||ht(t,n,dt(e,n))}return function(e,n){do{t(e,n)}while((n=mt(n))&&!ft.call(n,e));
    				return e}}():function(t,e){for(var n in e)t[n]=e[n];
    			return t}),Ht=t.MutationObserver||t.WebKitMutationObserver,Pt=t.HTMLAnchorElement,jt=(t.HTMLElement||t.Element||t.Node).prototype,Dt=!ft.call(jt,at),Ft=Dt?function(t,e,n){return t[e]=n.value,t}:ht,kt=Dt?function(t){return 1===t.nodeType}:function(t){return ft.call(jt,t)},Nt=Dt&&[],zt=jt.attachShadow,Bt=jt.cloneNode,Ut=jt.dispatchEvent,qt=jt.getAttribute,Vt=jt.hasAttribute,Wt=jt.removeAttribute,Kt=jt.setAttribute,Gt=_.createElement,$t=_.importNode,Qt=Gt,Xt=Ht&&{attributes:!0,characterData:!0,attributeOldValue:!0},Yt=Ht||function(t){ne=!1,at.removeEventListener(Y,Yt)},Zt=0,Jt=D in _&&!/^force-all/.test(e.type),te=!0,ee=!1,ne=!0,re=!0,oe=!0;
    		if(Ht&&((j=_.createElement("div")).innerHTML="<div><div>",new Ht(function(t,e){if(t[0]&&"childList"==t[0].type&&!t[0].removedNodes[0].childNodes.length){var n=(j=dt(jt,"innerHTML"))&&j.set;
    				n&&ht(jt,"innerHTML",{set:function(t){for(;
    						this.lastChild;
    						)this.removeChild(this.lastChild);
    						n.call(this,t)}})}e.disconnect(),j=null}).observe(j,{childList:!0,subtree:!0}),j.innerHTML=""),Jt||(yt||gt?(H=function(t,e){ft.call(e,t)||p(t,e)},P=p):P=H=function(t,e){t[F]||(t[F]=M(!0),p(t,e))},Dt?(ne=!1,function(){var t=dt(jt,k),e=t.value,n=function(t){var e=new CustomEvent(Y,{bubbles:!0});
    				e.attrName=t,e.prevValue=qt.call(this,t),e.newValue=null,e[X]=e.attrChange=2,Wt.call(this,t),Ut.call(this,e)},r=function(t,e){var n=Vt.call(this,t),r=n&&qt.call(this,t),o=new CustomEvent(Y,{bubbles:!0});
    				Kt.call(this,t,e),o.attrName=t,o.prevValue=n?r:null,o.newValue=e,n?o.MODIFICATION=o.attrChange=1:o[Q]=o.attrChange=0,Ut.call(this,o)},o=function(t){var e,n=t.currentTarget,r=n[F],o=t.propertyName;
    				r.hasOwnProperty(o)&&(r=r[o],(e=new CustomEvent(Y,{bubbles:!0})).attrName=r.name,e.prevValue=r.value||null,e.newValue=r.value=n[o]||null,null==e.prevValue?e[Q]=e.attrChange=0:e.MODIFICATION=e.attrChange=1,Ut.call(n,e))};
    			t.value=function(t,i,s){t===Y&&this[q]&&this.setAttribute!==r&&(this[F]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,e.call(this,"propertychange",o)),e.call(this,t,i,s)},ht(jt,k,t)}()):Ht||(at[k](Y,Yt),at.setAttribute(F,1),at.removeAttribute(F),ne&&(S=function(t){var e,n,r,o=this;
    			if(o===t.target){e=o[F],o[F]=n=R(o);
    				for(r in n){if(!(r in e))return I(0,o,r,e[r],n[r],Q);
    					if(n[r]!==e[r])return I(1,o,r,e[r],n[r],"MODIFICATION")}for(r in e)if(!(r in n))return I(2,o,r,e[r],n[r],X)}},I=function(t,e,n,r,o,i){var s={attrChange:t,currentTarget:e,attrName:n,prevValue:r,newValue:o};
    			s[i]=t,u(s)},R=function(t){for(var e,n,r={},o=t.attributes,i=0,s=o.length;
    			i<s;
    			i++)"setAttribute"!==(n=(e=o[i]).name)&&(r[n]=e.value);
    			return r})),_[D]=function(t,e){if(n=t.toUpperCase(),te&&(te=!1,Ht?(x=function(t,e){function n(t,e){for(var n=0,r=t.length;
    					n<r;
    					e(t[n++]));
    					}return new Ht(function(r){for(var o,i,s,a=0,u=r.length;
    					a<u;
    					a++)"childList"===(o=r[a]).type?(n(o.addedNodes,t),n(o.removedNodes,e)):(i=o.target,oe&&i[q]&&"style"!==o.attributeName&&(s=qt.call(i,o.attributeName))!==o.oldValue&&i[q](o.attributeName,o.oldValue,s))})}(i(N),i(B)),(C=function(t){return x.observe(t,{childList:!0,subtree:!0}),t})(_),zt&&(jt.attachShadow=function(){return C(zt.apply(this,arguments))})):(O=[],_[k]("DOMNodeInserted",c(N)),_[k]("DOMNodeRemoved",c(B))),_[k](Z,l),_[k]("readystatechange",l),_.importNode=function(t,e){switch(t.nodeType){case 1:return h(_,$t,[t,!!e]);
    					case 11:for(var n=_.createDo***entFragment(),r=t.childNodes,o=r.length,i=0;
    					i<o;
    					i++)n.appendChild(_.importNode(r[i],!!e));
    					return n;
    					default:return Bt.call(t,!!e)}},jt.cloneNode=function(t){return h(this,Bt,[!!t])}),ee)return ee=!1;
    			if(-2<ut.call(ot,et+n)+ut.call(ot,tt+n)&&v(t),!nt.test(n)||-1<ut.call(rt,n))throw new Error("The type "+t+" is invalid");
    			var n,o,s=function(){return u?_.createElement(f,n):_.createElement(f)},a=e||ct,u=lt.call(a,U),f=u?e[U].toUpperCase():n;
    			return u&&-1<ut.call(ot,tt+f)&&v(f),o=ot.push((u?et:tt)+n)-1,st=st.concat(st.length?",":"",u?f+'[is="'+t.toLowerCase()+'"]':f),s.prototype=it[o]=lt.call(a,"prototype")?a.prototype:xt(jt),st.length&&r(_.querySelectorAll(st),N),s},_.createElement=Qt=function(t,e){var n=w(e),r=n?Gt.call(_,t,Rt(n)):Gt.call(_,t),o=""+t,i=ut.call(ot,(n?et:tt)+(n||o).toUpperCase()),s=-1<i;
    			return n&&(r.setAttribute("is",n=n.toLowerCase()),s&&(s=a(o.toUpperCase(),n))),oe=!_.createElement.innerHTMLHelper,s&&P(r,it[i]),r}),y.prototype={constructor:y,define:At?function(t,e,n){if(n)g(t,e,n);
    				else{var r=t.toUpperCase();
    					Ot[r]={constructor:e,create:[r]},It.set(e,r),Et.define(t,e)}}:g,get:At?function(t){return Et.get(t)||b(t)}:b,whenDefined:At?function(t){return Mt.race([Et.whenDefined(t),A(t)])}:A},!Et||/^force/.test(e.type))T();
    		else if(!e.noBuiltIn)try{!function(e,n,r){var o=new RegExp("^<a\\s+is=('|\")"+r+"\\1>$");
    				if(n[U]="a",e.prototype=xt(Pt.prototype),e.prototype.constructor=e,t.customElements.define(r,e,n),!o.test(_.createElement("a",{is:r}).outerHTML)||!o.test((new e).outerHTML))throw n}(function t(){return Reflect.construct(Pt,[],t)},{},"do***ent-register-element-a")}catch(t){T()}if(!e.noBuiltIn)try{if(Gt.call(_,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(t){Rt=function(t){return{is:t.toLowerCase()}}}}(o);
    	e(function(t){!function(t){var e=navigator.userAgent;
    			t.HTMLPictureElement&&/ecko/.test(e)&&e.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",function(){var e,n=do***ent.createElement("source"),r=function(t){var e,r,o=t.parentNode;
    					"PICTURE"===o.nodeName.toUpperCase()?(e=n.cloneNode(),o.insertBefore(e,o.firstElementChild),setTimeout(function(){o.removeChild(e)})):(!t._pfLastSize||t.offsetWidth>t._pfLastSize)&&(t._pfLastSize=t.offsetWidth,r=t.sizes,t.sizes+=",100vw",setTimeout(function(){t.sizes=r}))},o=function(){var t,e=do***ent.querySelectorAll("picture > img, img[srcset][sizes]");
    					for(t=0;
    					t<e.length;
    					t++)r(e[t])},i=function(){clearTimeout(e),e=setTimeout(o,99)},s=t.matchMedia&&matchMedia("(orientation: landscape)"),a=function(){i(),s&&s.addListener&&s.addListener(i)};
    				return n.srcset="data:image/gif;
    				base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(do***ent.readyState||"")?a():do***ent.addEventListener("DOMContentLoaded",a),i}())}(window),function(e,n,r){function o(t){return" "===t||"\t"===t||"\n"===t||"\f"===t||"\r"===t}function i(){P=!1,F=e.devicePixelRatio,j={},D={},y.DPR=F||1,k.width=Math.max(e.innerWidth||0,_.clientWidth),k.height=Math.max(e.innerHeight||0,_.clientHeight),k.vw=k.width/100,k.vh=k.height/100,m=[k.height,k.width,F].join("-"),k.em=y.getEmValue(),k.rem=k.em}function s(t,e,n,r){var o,i,s;
    				return"saveData"===L.algorithm?t>2.7?s=n+1:(i=(e-n)*(o=Math.pow(t-.6,1.5)),r&&(i+=.1*o),s=t+i):s=n>1?Math.sqrt(t*e):t,s>n}function a(t){var e,n=y.getSet(t),r=!1;
    				"pending"!==n&&(r=m,n&&(e=y.setRes(n),y.applySetCandidate(e,t))),t[y.ns].evaled=r}function u(t,e){return t.res-e.res}function c(t,e,n){var r;
    				return!n&&e&&(n=(n=t[y.ns].sets)&&n[n.length-1]),(r=l(e,n))&&(e=y.makeUrl(e),t[y.ns].curSrc=e,t[y.ns].curCan=r,r.res||X(r,r.set.sizes)),r}function l(t,e){var n,r,o;
    				if(t&&e)for(o=y.parseSet(e),t=y.makeUrl(t),n=0;
    				n<o.length;
    				n++)if(t===y.makeUrl(o[n].url)){r=o[n];
    					break}return r}function f(t,e){var n,r,o,i,s=t.getElementsByTagName("source");
    				for(n=0,r=s.length;
    				n<r;
    				n++)(o=s[n])[y.ns]=!0,(i=o.getAttribute("srcset"))&&e.push({srcset:i,media:o.getAttribute("media"),type:o.getAttribute("type"),sizes:o.getAttribute("sizes")})}function h(t,e){function n(e){var n,r=e.exec(t.substring(f));
    					if(r)return n=r[0],f+=n.length,n}function r(){var t,n,r,o,a,u,c,l,f,p=!1,d={};
    					for(o=0;
    					o<s.length;
    					o++)u=(a=s[o])[a.length-1],c=a.substring(0,a.length-1),l=parseInt(c,10),f=parseFloat(c),W.test(c)&&"w"===u?((t||n)&&(p=!0),0===l?p=!0:t=l):K.test(c)&&"x"===u?((t||n||r)&&(p=!0),f<0?p=!0:n=f):W.test(c)&&"h"===u?((r||n)&&(p=!0),0===l?p=!0:r=l):p=!0;
    					p||(d.url=i,t&&(d.w=t),n&&(d.d=n),r&&(d.h=r),r||n||t||(d.d=1),1===d.d&&(e.has1x=!0),d.set=e,h.push(d))}for(var i,s,a,u,c,l=t.length,f=0,h=[];
    				;
    				){if(n(U),f>=l)return h;
    					i=n(q),s=[],","===i.slice(-1)?(i=i.replace(V,""),r()):function(){for(n(B),a="",u="in descriptor";
    						;
    						){if(c=t.charAt(f),"in descriptor"===u)if(o(c))a&&(s.push(a),a="",u="after descriptor");
    							else{if(","===c)return f+=1,a&&s.push(a),void r();
    								if("("===c)a+=c,u="in parens";
    								else{if(""===c)return a&&s.push(a),void r();
    									a+=c}}else if("in parens"===u)if(")"===c)a+=c,u="in descriptor";
    							else{if(""===c)return s.push(a),void r();
    								a+=c}else if("after descriptor"===u)if(o(c));
    							else{if(""===c)return void r();
    								u="in descriptor",f-=1}f+=1}}()}}function p(t){var e,n,r,i,s,a,u=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,c=/^calc\((?:[0-9a-\.\+\-\*\/\(\)]+)\)$/i;
    				for(r=(n=function(t){function e(){i&&(s.push(i),i="")}function n(){s[0]&&(a.push(s),s=[])}for(var r,i="",s=[],a=[],u=0,c=0,l=!1;
    					;
    					){if(""===(r=t.charAt(c)))return e(),n(),a;
    						if(l){if("*"===r&&"/"===t[c+1]){l=!1,c+=2,e();
    								continue}c+=1}else{if(o(r)){if(t.charAt(c-1)&&o(t.charAt(c-1))||!i){c+=1;
    									continue}if(0===u){e(),c+=1;
    									continue}r=" "}else if("("===r)u+=1;
    							else if(")"===r)u-=1;
    							else{if(","===r){e(),n(),c+=1;
    									continue}if("/"===r&&"*"===t.charAt(c+1)){l=!0,c+=2;
    									continue}}i+=r,c+=1}}}(t)).length,e=0;
    				e<r;
    				e++)if(i=n[e],s=i[i.length-1],function(t){return!!(u.test(t)&&parseFloat(t)>=0)||!!c.test(t)||"0"===t||"-0"===t||"+0"===t}(s)){if(a=s,i.pop(),0===i.length)return a;
    					if(i=i.join(" "),y.matchesMedia(i))return a}return"100vw"}n.createElement("picture");
    			var d,v,m,y={},g=!1,b=function(){},w=n.createElement("img"),E=w.getAttribute,A=w.setAttribute,T=w.removeAttribute,_=n.do***entElement,M={},L={algorithm:""},O=navigator.userAgent,S=/rident/.test(O)||/ecko/.test(O)&&O.match(/rv\:(\d+)/)&&RegExp.$1>35,I="currentSrc",R=/\s+\+?\d+(e\d+)?w/,x=/(\([^)]+\))?\s*(.+)/,C=e.picturefillCFG,H="font-size:100%!important;
    			",P=!0,j={},D={},F=e.devicePixelRatio,k={px:1,in:96},N=n.createElement("a"),z=!1,B=/^[ \t\n\r\u000c]+/,U=/^[, \t\n\r\u000c]+/,q=/^[^ \t\n\r\u000c]+/,V=/[,]+$/,W=/^\d+$/,K=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,G=function(t,e,n,r){t.addEventListener?t.addEventListener(e,n,r||!1):t.attachEvent&&t.attachEvent("on"+e,n)},$=function(t){var e={};
    				return function(n){return n in e||(e[n]=t(n)),e[n]}},Q=function(){var t=/^([\d\.]+)(em|vw|px)$/,e=function(){for(var t=arguments,e=0,n=t[0];
    					++e in t;
    					)n=n.replace(t[e],t[++e]);
    					return n},n=$(function(t){return"return "+e((t||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";
    					"});
    				return function(e,r){var o;
    					if(!(e in j))if(j[e]=!1,r&&(o=e.match(t)))j[e]=o[1]*k[o[2]];
    					else try{j[e]=new Function("e",n(e))(k)}catch(t){}return j[e]}}(),X=function(t,e){return t.w?(t.cWidth=y.calcListLength(e||"100vw"),t.res=t.w/t.cWidth):t.res=t.d,t},Y=function(t){if(g){var e,r,o,i=t||{};
    					if(i.elements&&1===i.elements.nodeType&&("IMG"===i.elements.nodeName.toUpperCase()?i.elements=[i.elements]:(i.context=i.elements,i.elements=null)),e=i.elements||y.qsa(i.context||n,i.reevaluate||i.reselect?y.sel:y.selShort),o=e.length){for(y.setupRun(i),z=!0,r=0;
    						r<o;
    						r++)y.fillImg(e[r],i);
    						y.teardownRun(i)}}};
    			e.console&&console.warn,I in w||(I="src"),M["image/jpeg"]=!0,M["image/gif"]=!0,M["image/png"]=!0,M["image/svg+xml"]=n.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),y.ns=("pf"+(new Date).getTime()).substr(0,9),y.supSrcset="srcset"in w,y.supSizes="sizes"in w,y.supPicture=!!e.HTMLPictureElement,y.supSrcset&&y.supPicture&&!y.supSizes&&function(t){w.srcset="data:,a",t.src="data:,a",y.supSrcset=w.complete===t.complete,y.supPicture=y.supSrcset&&y.supPicture}(n.createElement("img")),y.supSrcset&&!y.supSizes?function(){var t="data:image/gif;
    				base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",e=n.createElement("img"),r=function(){2===e.width&&(y.supSizes=!0),v=y.supSrcset&&!y.supSizes,g=!0,setTimeout(Y)};
    				e.onload=r,e.onerror=r,e.setAttribute("sizes","9px"),e.srcset=t+" 1w,data:image/gif;
    				base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw== 9w",e.src=t}():g=!0,y.selShort="picture>img,img[srcset]",y.sel=y.selShort,y.cfg=L,y.DPR=F||1,y.u=k,y.types=M,y.setSize=b,y.makeUrl=$(function(t){return N.href=t,N.href}),y.qsa=function(t,e){return"querySelector"in t?t.querySelectorAll(e):[]},y.matchesMedia=function(){return e.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?y.matchesMedia=function(t){return!t||matchMedia(t).matches}:y.matchesMedia=y.mMQ,y.matchesMedia.apply(this,arguments)},y.mMQ=function(t){return!t||Q(t)},y.calcLength=function(t){var e=Q(t,!0)||!1;
    				return e<0&&(e=!1),e},y.supportsType=function(t){return!t||M[t]},y.parseSize=$(function(t){var e=(t||"").match(x);
    				return{media:e&&e[1],length:e&&e[2]}}),y.parseSet=function(t){return t.cands||(t.cands=h(t.srcset,t)),t.cands},y.getEmValue=function(){var t;
    				if(!d&&(t=n.body)){var e=n.createElement("div"),r=_.style.cssText,o=t.style.cssText;
    					e.style.cssText="position:absolute;
    					left:0;
    					visibility:hidden;
    					display:block;
    					padding:0;
    					border:none;
    					font-size:1em;
    					width:1em;
    					overflow:hidden;
    					clip:rect(0px, 0px, 0px, 0px)",_.style.cssText=H,t.style.cssText=H,t.appendChild(e),d=e.offsetWidth,t.removeChild(e),d=parseFloat(d,10),_.style.cssText=r,t.style.cssText=o}return d||16},y.calcListLength=function(t){if(!(t in D)||L.uT){var e=y.calcLength(p(t));
    					D[t]=e||k.width}return D[t]},y.setRes=function(t){var e;
    				if(t)for(var n=0,r=(e=y.parseSet(t)).length;
    				n<r;
    				n++)X(e[n],t.sizes);
    				return e},y.setRes.res=X,y.applySetCandidate=function(t,e){if(t.length){var n,r,o,i,a,l,f,h,p,d=e[y.ns],v=y.DPR;
    					if(l=d.curSrc||e[I],(f=d.curCan||c(e,l,t[0].set))&&f.set===t[0].set&&((p=S&&!e.complete&&f.res-.1>v)||(f.cached=!0,f.res>=v&&(a=f))),!a)for(t.sort(u),a=t[(i=t.length)-1],r=0;
    					r<i;
    					r++)if((n=t[r]).res>=v){a=t[o=r-1]&&(p||l!==y.makeUrl(n.url))&&s(t[o].res,n.res,v,t[o].cached)?t[o]:n;
    						break}a&&(h=y.makeUrl(a.url),d.curSrc=h,d.curCan=a,h!==l&&y.setSrc(e,a),y.setSize(e))}},y.setSrc=function(t,e){var n;
    				t.src=e.url,"image/svg+xml"===e.set.type&&(n=t.style.width,t.style.width=t.offsetWidth+1+"px",t.offsetWidth+1&&(t.style.width=n))},y.getSet=function(t){var e,n,r,o=!1,i=t[y.ns].sets;
    				for(e=0;
    				e<i.length&&!o;
    				e++)if((n=i[e]).srcset&&y.matchesMedia(n.media)&&(r=y.supportsType(n.type))){"pending"===r&&(n=r),o=n;
    					break}return o},y.parseSets=function(t,e,n){var r,o,i,s,a=e&&"PICTURE"===e.nodeName.toUpperCase(),u=t[y.ns];
    				(void 0===u.src||n.src)&&(u.src=E.call(t,"src"),u.src?A.call(t,"data-pfsrc",u.src):T.call(t,"data-pfsrc")),(void 0===u.srcset||n.srcset||!y.supSrcset||t.srcset)&&(r=E.call(t,"srcset"),u.srcset=r,s=!0),u.sets=[],a&&(u.pic=!0,f(e,u.sets)),u.srcset?(o={srcset:u.srcset,sizes:E.call(t,"sizes")},u.sets.push(o),(i=(v||u.src)&&R.test(u.srcset||""))||!u.src||l(u.src,o)||o.has1x||(o.srcset+=", "+u.src,o.cands.push({url:u.src,d:1,set:o}))):u.src&&u.sets.push({srcset:u.src,sizes:null}),u.curCan=null,u.curSrc=void 0,u.supported=!(a||o&&!y.supSrcset||i&&!y.supSizes),s&&y.supSrcset&&!u.supported&&(r?(A.call(t,"data-pfsrcset",r),t.srcset=""):T.call(t,"data-pfsrcset")),u.supported&&!u.srcset&&(!u.src&&t.src||t.src!==y.makeUrl(u.src))&&(null===u.src?t.removeAttribute("src"):t.src=u.src),u.parsed=!0},y.fillImg=function(t,e){var n,r=e.reselect||e.reevaluate;
    				t[y.ns]||(t[y.ns]={}),n=t[y.ns],(r||n.evaled!==m)&&(n.parsed&&!e.reevaluate||y.parseSets(t,t.parentNode,e),n.supported?n.evaled=m:a(t))},y.setupRun=function(){z&&!P&&F===e.devicePixelRatio||i()},y.supPicture?(Y=b,y.fillImg=b):function(){var t,r=e.attachEvent?/d$|^c/:/d$|^c|^i/,o=function e(){var o=n.readyState||"";
    					i=setTimeout(e,"loading"===o?200:999),n.body&&(y.fillImgs(),(t=t||r.test(o))&&clearTimeout(i))},i=setTimeout(o,n.body?9:99),s=_.clientHeight;
    				G(e,"resize",function(t,e){var n,r,o=function o(){var i=new Date-r;
    						i<e?n=setTimeout(o,e-i):(n=null,t())};
    					return function(){r=new Date,n||(n=setTimeout(o,e))}}(function(){P=Math.max(e.innerWidth||0,_.clientWidth)!==k.width||_.clientHeight!==s,s=_.clientHeight,P&&y.fillImgs()},99)),G(n,"readystatechange",o)}(),y.picturefill=Y,y.fillImgs=Y,y.teardownRun=b,Y._=y,e.picturefillCFG={pf:y,push:function(t){var e=t.shift();
    					"function"==typeof y[e]?y[e].apply(y,t):(L[e]=t[0],z&&y.fillImgs({reselect:!0}))}};
    			for(;
    			C&&C.length;
    			)e.picturefillCFG.push(C.shift());
    			e.picturefill=Y,t.exports=Y,y.supPicture||(M["image/webp"]=function(t,n){var r=new e.Image;
    				return r.onerror=function(){M[t]=!1,Y()},r.onload=function(){M[t]=1===r.width,Y()},r.src=n,"pending"}("image/webp","data:image/webp;
    			base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="))}(window,do***ent)});
    	!function(t,e){function n(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;
    			var e=this.boundingClientRect,n=e.width*e.height,r=this.intersectionRect,o=r.width*r.height;
    			this.intersectionRatio=n?o/n:this.isIntersecting?1:0}function r(t,e){var n=e||{};
    			if("function"!=typeof t)throw new Error("callback must be a function");
    			if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");
    			this._checkForIntersections=i(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" ")}function o(){return t.performance&&performance.now&&performance.now()}function i(t,e){var n=null;
    			return function(){n||(n=setTimeout(function(){t(),n=null},e))}}function s(t,e,n,r){"function"==typeof t.addEventListener?t.addEventListener(e,n,r||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function a(t,e,n,r){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,r||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function u(t,e){var n=Math.max(t.top,e.top),r=Math.min(t.bottom,e.bottom),o=Math.max(t.left,e.left),i=Math.min(t.right,e.right),s=i-o,a=r-n;
    			return s>=0&&a>=0&&{top:n,bottom:r,left:o,right:i,width:s,height:a}}function c(t){var e;
    			try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(t,e){for(var n=e;
    			n;
    			){if(n==t)return!0;
    				n=f(n)}return!1}function f(t){var e=t.parentNode;
    			return e&&11==e.nodeType&&e.host?e.host:e}if(!("IntersectionObserver"in t&&"IntersectionObserverEntry"in t&&"intersectionRatio"in t.IntersectionObserverEntry.prototype)){var h=[];
    			r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.observe=function(t){if(!this._observationTargets.some(function(e){return e.element==t})){if(!t||1!=t.nodeType)throw new Error("target must be an Element");
    					this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections()}},r.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var t=this._queuedEntries.slice();
    				return this._queuedEntries=[],t},r.prototype._initThresholds=function(t){var e=t||[0];
    				return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");
    					return t!==n[e-1]})},r.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);
    					if(!e)throw new Error("rootMargin must be specified in pixels or percent");
    					return{value:parseFloat(e[1]),unit:e[2]}});
    				return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this._checkForIntersections(),this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(s(t,"resize",this._checkForIntersections,!0),s(e,"scroll",this._checkForIntersections,!0),"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,a(t,"resize",this._checkForIntersections,!0),a(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};
    				this._observationTargets.forEach(function(r){var i=r.element,s=c(i),a=this._rootContainsTarget(i),u=r.entry,l=t&&a&&this._computeTargetAndRootIntersection(i,e),f=r.entry=new n({time:o(),target:i,boundingClientRect:s,rootBounds:e,intersectionRect:l});
    					u?t&&a?this._hasCrossedThreshold(u,f)&&this._queuedEntries.push(f):u&&u.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(n,r){if("none"!=t.getComputedStyle(n).display){for(var o=c(n),i=f(n),s=!1;
    					!s;
    					){var a=null,l=1==i.nodeType?t.getComputedStyle(i):{};
    						if("none"==l.display)return;
    						if(i==this.root||i==e?(s=!0,a=r):i!=e.body&&i!=e.do***entElement&&"visible"!=l.overflow&&(a=c(i)),a&&!(o=u(a,o)))break;
    						i=f(i)}return o}},r.prototype._getRootRect=function(){var t;
    				if(this.root)t=c(this.root);
    				else{var n=e.do***entElement,r=e.body;
    					t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},r.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100}),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};
    				return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;
    				if(n!==r)for(var o=0;
    				o<this.thresholds.length;
    				o++){var i=this.thresholds[o];
    					if(i==n||i==r||i<n!=i<r)return!0}},r.prototype._rootIsInDom=function(){return!this.root||l(e,this.root)},r.prototype._rootContainsTarget=function(t){return l(this.root||e,t)},r.prototype._registerInstance=function(){h.indexOf(this)<0&&h.push(this)},r.prototype._unregisterInstance=function(){var t=h.indexOf(this);
    				-1!=t&&h.splice(t,1)},t.IntersectionObserver=r,t.IntersectionObserverEntry=n}}(window,do***ent);
    	var i,s,a,u=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");
    		return t},c=function(t){return"object"===(void 0===t?"undefined":_typeof(t))?null!==t:"function"==typeof t},l=function(t){if(!c(t))throw TypeError(String(t)+" is not an object");
    		return t},f="object"==("undefined"==typeof window?"undefined":_typeof(window))&&window&&window.Math==Math?window:"object"==("undefined"==typeof self?"undefined":_typeof(self))&&self&&self.Math==Math?self:Function("return this")(),h=function(t){try{return!!t()}catch(t){return!0}},p=!