/*! For license information please see adsm.macro.rmb.js.LICENSE.txt */ !function(){var e={249:function(e,t,n){var r;e.exports=(r=r||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(480)}catch(e){}var i=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),a={},l=a.lib={},c=l.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},s=l.WordArray=c.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var l=0;l>>2]=n[l>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new s.init(n,t/2)}},f=d.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new s.init(n,t)}},p=d.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},m=l.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,l=o/(4*a),c=(l=t?e.ceil(l):e.max((0|l)-this._minBufferSize,0))*a,d=e.min(4*c,o);if(c){for(var u=0;u>>7)^(m<<14|m>>>18)^m>>>3,h=s[p-2],y=(h<<15|h>>>17)^(h<<13|h>>>19)^h>>>10;s[p]=v+s[p-7]+y+s[p-16]}var w=r&i^r&o^i&o,g=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=f+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&d^~l&u)+c[p]+s[p];f=u,u=d,d=l,l=a+b|0,a=o,o=i,i=r,r=b+(g+w)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+l|0,n[5]=n[5]+d|0,n[6]=n[6]+u|0,n[7]=n[7]+f|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=o._createHelper(d),t.HmacSHA256=o._createHmacHelper(d)}(Math),r.SHA256)},480:function(){}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=function(e,t){e&&e.postMessage&&e.postMessage(t,"*")};var t={id:function(){return"xxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}},r=window.adsm=window.adsm||{},i={};var o={tracker:function(e,n){var o,a;if(r.sessionIds&&r.sessionIds[n]&&r.sessionIdTimes&&r.sessionIdTimes[n])o=r.sessionIds[n],a=r.sessionIdTimes[n];else{if(i[n])return;e="error_no_sid_or_sit",o=t.id(),a=Date.now(),i[n]=!0}var l="https://functions.adnami.io/api/tracker?ev="+e+"&cc="+n+"&cs="+encodeURIComponent(window.location.href.replace(window.location.search,""))+"&_="+Date.now()+"&sid="+o+"&sit="+a+"&mi="+window.adsm.macroId;navigator.sendBeacon?navigator.sendBeacon(l):(new Image).src=l},tracker2:function(e,n,o){var a,l;if(r.sessionIds&&r.sessionIds[n]&&r.sessionIdTimes&&r.sessionIdTimes[n])a=r.sessionIds[n],l=r.sessionIdTimes[n];else{if(i[n])return;e="error_no_sid_or_sit",a=t.id(),l=Date.now(),i[n]=!0}var c="https://functions.adnami.io/api/tracker?ev="+e+"&cc="+n+"&cs="+encodeURIComponent(window.location.href.replace(window.location.search,""))+"&t="+o+"&_="+Date.now()+"&sid="+a+"&sit="+l+"&mi="+r.macroId;navigator.sendBeacon?navigator.sendBeacon(c):(new Image).src=c}},a=function(){var t,n={midscroll_mobile:"midscroll_mobile",midscroll_desktop:"midscroll_desktop",midscroll_desktop_fullscreen:"midscroll_desktop_fullscreen",topscroll:"topscroll",skin:"skin",side_skin:"side_skin",inread_expander:"inread_expander",overlay:"overlay"},r={};function i(e){if(window.adsmtag&&window.adsmtag.macro&&window.adsmtag.macro.certifications){var t=window.adsmtag.macro.certifications,r=-1!=t.indexOf(e);return e!==n.midscroll_desktop_fullscreen&&e!=n.midscroll_desktop||(r=-1!=t.indexOf(n.midscroll_desktop)||-1!=t.indexOf(n.midscroll_desktop_fullscreen)),r}return!0}function a(n,r){t(r,(function(t){var r={type:n,payload:t};e(window.top,r),o.tracker("destroyed_format",t.uuid)}))}return r[n.midscroll_mobile]=["ADSM_RMB_HTML_INTERSCROLL_","ADSM_RMB_INTERSCROLL_"],r[n.midscroll_desktop]=["ADSM_RMB_INTERSCROLL_DESKTOP_","ADSM_RMB_FULLSCREEN_INTERSCROLL_DESKTOP_","ADSM_RMB_HTML_DESKTOP_INTERSCROLL_"],r[n.midscroll_desktop_fullscreen]=["ADSM_RMB_INTERSCROLL_DESKTOP_","ADSM_RMB_FULLSCREEN_INTERSCROLL_DESKTOP_","ADSM_RMB_HTML_DESKTOP_INTERSCROLL_"],r[n.topscroll]=["ADSM_RMB_HTML_TOPSCROLL_DESKTOP_","ADSM_RMB_TOPSCROLL_DESKTOP_"],r[n.skin]=["ADSM_RMB_SKIN_"],r[n.side_skin]=["ADSM_RMB_SIDESKIN_"],r[n.inread_expander]=["ADSM_RMB_EXPANDER_","ADSM_RMB_INREAD_"],r[n.overlay]=["ADSM_RMB_OVERLAY_"],{enable:function(e){t=e;var o="INIT",l="DESTROY";if(window.adsmtag&&window.adsmtag.macro&&window.adsmtag.macro.certifications){for(var c in n)for(var s=0;s=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0){var r=window.location.ancestorOrigins;t=r[r.length-1]}else t=window.location.href.replace(window.location.search,"")}return-1!==(t=function(e,t){e&&L(e)&&(t.includes("doubleclick.net")?t=function(e){var t;t=e.includes("mbappg")?"mobileappgame.adnami.io":e=e.replace(/^[\d.]+/,"");return t}(e):function(e){return R.some((function(t){return null==e?void 0:e.includes(t)}))}(t)&&(t=e));return t}(e,t)).indexOf("://")||(t="https://".concat(t)),encodeURIComponent(t)};var L=function(e){return/^(https?:\/\/)?([\w-]+\.)+[\w]{2,}(\/.*)?$/i.test(e)};var N,P=function(){try{var e,t=null===(e=window.top)||void 0===e?void 0:e.document;return null!=t}catch(e){return!1}}();P||function(){for(var e,t=window,n={};t;){try{if(t.frames.__tcfapiLocator){e=t;break}}catch(e){}if(t===window.top)break;t=t.parent}N=function(t,r,i,o){if(e){var a=Math.random()+"",l={__tcfapiCall:{command:t,parameter:o,version:r,callId:a}};n[a]=i,e.postMessage(l,"*")}else i({msg:"CMP not found"},!1)},window.addEventListener("message",(function(e){var t={};try{t="string"==typeof e.data?JSON.parse(e.data):e.data}catch(e){}var r=t.__tcfapiReturn;r&&"function"==typeof n[r.callId]&&(n[r.callId](r.returnValue,r.success),n[r.callId]=null)}),!1)}();var M=function(e,t,n,r){var i,o;P&&null!==(i=window.top)&&void 0!==i&&i.__tcfapi?null===(o=window.top)||void 0===o||o.__tcfapi(e,t,n,r):N?N(e,t,n,r):n("Failed to retrieve consent",!1)};function B(e){return B="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},B(e)}function j(){j=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,a=Object.create(o.prototype),l=new O(r||[]);return i(a,"_invoke",{value:I(e,n,l)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var f="suspendedStart",p="suspendedYield",m="executing",v="completed",h={};function y(){}function w(){}function g(){}var b={};s(b,a,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(R([])));E&&E!==n&&r.call(E,a)&&(b=E);var S=g.prototype=y.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function n(i,o,a,l){var c=u(e[i],e,o);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==B(d)&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(d).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,l)}))}l(c.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function I(t,n,r){var i=f;return function(o,a){if(i===m)throw new Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var l=r.delegate;if(l){var c=x(l,r);if(c){if(c===h)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===f)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=m;var s=u(t,n,r);if("normal"===s.type){if(i=r.done?v:p,s.arg===h)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(i=v,r.method="throw",r.arg=s.arg)}}}function x(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=u(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function R(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i=0;--o){var a=this.tryEntries[o],l=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:R(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),h}},t}function V(e){return function(e){if(Array.isArray(e))return W(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return W(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return W(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0){var e=JSON.stringify(o);navigator.sendBeacon("https://functions.adnami.io/api/debug",e),o.errors.length=0}}}};function J(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Z(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&!this.defaultValueDetected(e)}},{key:"defaultValueDetected",value:function(e){for(var t=0,n=["${GDPR}","${GDPR_CONSENT_612}","${ADDTL_CONSENT}","<%%GDPR_APPLIES%%>","<%%GDPR_CONSENT%%>","[sas_gdpr_applies]","[sas_gdpr_consent]","[sas_addtl_consent]"];t0,o=!1,a=function(){o||(o=!0,r.length>7500&&(r=r.replace(n.adParameters.addtl_c,"")),n.loadScript(e+r))};window.Promise&&i?G.compress(r).catch((function(){a()})).then((function(t){var i=t!==btoa("[object ReadableStream]");if(!i){var o=Y();o.addError({errorCode:"Compressesion Failed",errorMessage:'CompressedQueryString is [object ReadableStream] with following query:"'+r+'"',_:Date.now()}),o.logErrors()}i&&"string"==typeof t&&t.length>0?n.loadScript(e+"cmp=1&req="+t,a):a()})):a()}},{key:"loadScript",value:function(e,t){var n=document.createElement("script");n.type="text/javascript",t&&(n.onerror=function(){t()}),n.src=e,window.document.body.appendChild(n)}},{key:"createQueryString",value:function(e){return e.join(";")}},{key:"replaceConsentStringWithMacro",value:function(e){return this.adParameters.gdpr_c&&0!==this.adParameters.gdpr_c.length?this.adParameters.click.split(this.adParameters.gdpr_c).join(encodeURIComponent("${GDPR_CONSENT_612}")):e}},{key:"getGdprValuesAndExecuteCallback",value:function(e,t){t?(this.tcfData.tcfAccessible=!0,this.tcfData.gdprApplies=e.gdprApplies?1:0,this.tcfData.tcString=e.tcString,this.tcfData.addtlConsent=e.addtlConsent,this.prepareData(this.tcfData),this.executeCallback()):(this.prepareData(this.tcfData),this.executeCallback())}},{key:"prepareData",value:function(e){this.adParameters.gdpr=e.gdprApplies||"",this.adParameters.gdpr_c=e.tcString||"",this.adParameters.addtl_c=e.addtlConsent||""}},{key:"getCreativeSiteOrigin",value:function(e){try{var t=D(e);return encodeURIComponent(new URL(decodeURIComponent(t)).origin)}catch(t){return D(e)}}},{key:"removePrefix",value:function(e){for(var t=0,n=["gdpr=","gdpr_consent=","addtl_consent="];t0?-1*i:i}(e.getBoundingClientRect());return t}};var re=function(e){var t=e||window;try{return t.top.document,!0}catch(e){return!1}},ie=n(153),oe=n.n(ie),ae=n(465),le=n.n(ae);var ce=function(e){return oe()(e).toString(le())};function se(e,t){var n=ce(e),r=n.slice(0,n.length/2);return-1!==t.indexOf(r)}var de=["11e5a9827f44bf3f4a2e1b3b458e99de","63f4ec1994ff446fe0ea0d07c6655c93","74a44220fabc78390bdc1bfaeb370f93","cec323288ea92c0d2fae3d85ecd87b37","950df697b1dffbf89e6b164916f3ed1d","57a2d91e549eeb8831465ee93c2b0614","82fd8c99bb8cc024b7341a9a9acdb375","f7eb1376501d42803f40d618603326d6","bb06f2d302839a33e64f1a8f04730f07","a24f6204580df3ed022d02c0a479dd33","7b05382637d39f44959bfa8cd5570123","5320c1477f824972a70bc020833d3e1f","ce7021c67db6ab2b68a0c4815d83aaa5","72dfecefbe13140eef805682a9c681b3"],ue=function(e,t){var n,r,i=t;!function(e){try{e.hasAttribute("loop")&&e.removeAttribute("loop"),e.hasAttribute("autoplay")&&e.removeAttribute("autoplay")}catch(e){}}(i),i.addEventListener("ended",(function(){o.started&&o.timesLooped<1?(a(Re.VIDEO_COMPLETE,.25*i.duration*1e3),o.timesLooped++,o.started=!1):o.started&&(a(Re.VIDEO_COMPLETE,1e3*i.duration),o.timesLooped++,o.started=!1)})),n=[!1,!1,!1],r=!1,i.addEventListener("timeupdate",(function(){var e=.25*i.duration*1e3;i.duration>0&&!r&&(a(Re.VIDEO_START),r=!0),l(.25*i.duration)<=l(i.currentTime)&&!n[0]&&(a(Re.VIDEO_FIRST_QUARTILE,e),n[0]=!0),l(.5*i.duration)<=l(i.currentTime)&&!n[1]&&(a(Re.VIDEO_MIDPOINT,e),n[1]=!0),l(.75*i.duration)<=l(i.currentTime)&&!n[2]&&(a(Re.VIDEO_THIRD_QUARTILE,e),n[2]=!0)})),i.addEventListener("timeupdate",(function(){i.currentTime>0&&!o.started&&!i.paused&&(o.started=!0)}));var o={timesLooped:0,started:!1},a=e;function l(e){return Math.round(100*e)/100}};var fe=function(){var e,t,n=navigator.userAgent;return n&&/android|blackberry|iphone|ipad|ipod|opera mini|palm|windows (phone|ce)|iemobile|mobile|tablet/i.test(n.toLowerCase())?"Mobile":n&&""!==n?"Desktop":(null===(e=window.screen)||void 0===e?void 0:e.width)<1024?"Mobile":(null===(t=window.screen)||void 0===t?void 0:t.width)>=1024?"Desktop":"Unknown"},pe=function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=0,r=0,i=0,o=0,a={canvasmobile:"cm",canvas:"c",banner:"b"},l=function(e){return null===e?null:a[e]||null},c=function(e){i=e},s=function(e){o=e},d=function(){return clearInterval(i)};return{setEntries:function(t){e=t},getEntriesTime:function(){return e.time},isInView:function(){return!0===e.isIntersecting},getWindowAdSizes:function(t){return{windowWidth:window.innerWidth,windowHeight:window.innerHeight,adWidth:e.boundingClientRect.width,adHeight:e.boundingClientRect.height,device:l(t)}},getTotalTimeSeen:function(){return{time:o}},setIntersectStartTime:function(e){n=e},setInterval:c,setTotalTimeSeen:s,resetTimeVariables:function(){s(0),d(),c(0)},clearInterval:d,calculateTotalTimeSeen:function(e){o=o+e-n},increaseSumOfTime:function(e){r+=e},hasBeenInviewForLessThan:function(e){return r0},hasBeenOutOfView:function(){return 0!==n},isAdunit:function(){return t}}};function me(e){return me="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},me(e)}function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function he(e){for(var t=1;t30&&parseInt(e.adHeight)>30?l(Re.ADUNIT_IMP_VIEWED):l(Re.ERROR_ADUNIT_SIZE):l(Re.WRAPPER_IMP_VIEWED,he(he({},s.getWindowAdSizes(n)),{},{size:i}))):s.clearInterval();var e}),200))):s.hasBeenOutOfView()&&(s.calculateTotalTimeSeen(s.getEntriesTime()),!s.isAdunit()&&l(Re.WRAPPER_LEAVE_VIEW,s.getTotalTimeSeen()),s.resetTimeVariables())};return{formatViewability:function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";var c="adnm-generic-"+r;r++,e.classList.add(c),o[c]=pe(a),a&&function(e){var t=e.id;if(t.includes("google_ads_iframe")){var n=t.split("/");l(Re.ADUNIT_ID,{adunitId:n[n.length-1]})}else l(Re.ADUNIT_ID,{adunitId:"unknown"})}(e);var d=window.innerHeight,u=e.getBoundingClientRect(),f=a||function(e){var t=fe(),n=e.width*e.height;0===n?i="l":"Desktop"===t?i=n>=242500?"l":"s":"Mobile"===t&&(i=n>=153600?"l":"s");return"s"===i}(u)?.5:.3;!a&&u.height>d&&(f=f*d/u.height),window.IntersectionObserver&&(t=new IntersectionObserver(s,{threshold:f})),t.observe(e)}}}};var ge=function(e,t){var n,r=window===window.top,i={isEmpty:!0},o=!1;function a(e,r){var o=function(e,t){if(window.adsmtag&&window.adsmtag.rmb){var n="function"==typeof window.adsmtag.rmb["callback_"+e],r=null!==document.body.querySelector('iframe[id$="'+e+'"]'),o=!i[t]||-1===i[t].sessionId.indexOf(e);return n&&r&&o}return!1}(r,void 0),a=function(e){return!(-1!==e.indexOf("midscroll")||-1!==e.indexOf("interscroll"))}(e);o&&a&&(i[e]=i[e]||{},i[e].sessions=i[e].sessions||[],i[e].sessions.push(r),i.isEmpty=!1,r===t&&(n=e))}r&&function(){for(var e=document.querySelector("html"),t=0;t1),o&&e(Re.ERROR_DOUBLE_LOAD_API)};function be(e){return be="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},be(e)}function _e(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ee(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1])||arguments[1],o=null==e?void 0:e.ownerDocument.querySelectorAll('iframe[id$="'+this._sessionId+'"]');if(-1!==(null==e||null===(t=e.classList[0])||void 0===t?void 0:t.indexOf("adsm"))||-1!==(null==e||null===(n=e.classList[0])||void 0===n?void 0:n.indexOf("adnm"))){var a=e.querySelectorAll("iframe");this.setupClickEventListenerOnContainingIframes(a)}this.setupClickEventListenerOnContainingIframes(o),i&&setTimeout((function(){r.enableOnClick(e,!1)}),500)}},{key:"setupClickEventListenerOnContainingIframes",value:function(e){var t,n=this,r=_e(e);try{var i=function(){var e=t.value;e&&n._remainingIframeLimit>0&&n.canAccessIframe(e)&&!n.isIframeAlreadyTracked(e)&&(n._trackedIframes.push(e),n._remainingIframeLimit--,e.contentWindow?n.trackIframe(e):e.addEventListener("load",(function(){return n.trackIframe(e)})))};for(r.s();!(t=r.n()).done;)i()}catch(e){r.e(e)}finally{r.f()}}},{key:"trackIframe",value:function(e){var t=this;if(e.contentWindow){var n=e.contentWindow.document.querySelectorAll("iframe");n.length>0&&this.setupClickEventListenerOnContainingIframes(n),e.contentWindow.addEventListener("click",(function(){return t._trackEvent(Re.CLICK)}),!0)}}},{key:"isIframeAlreadyTracked",value:function(e){return this._trackedIframes.some((function(t){return t===e}))}},{key:"canAccessIframe",value:function(e){var t;return!(e.hasAttribute("sandbox")&&(null===(t=e.getAttribute("sandbox"))||void 0===t||!t.includes("allow-same-origin"))||"about:blank"!==e.src&&""!==e.src&&!e.src.startsWith("javascript"))}}],n&&Se(t.prototype,n),r&&Se(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),xe=Ie;function Te(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ce(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function Ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1e3&&(w=w.slice(0,1e3));var g=document.head.innerHTML;g.length>1e3&&(g=g.slice(0,1e3));var b=window===window.top,_=window.location.ancestorOrigins.length;I("An ad has been loaded on example.com.","Title: '".concat(y,"' | isWindowTop: '").concat(b,"' | Number of ancestor origins: '").concat(_,"'| Body: '").concat(w,"' | Head: '").concat(g,"' | URL: '").concat(window.location.href,"' | Source URL: '").concat(e.sourceUrl,"'"))}function E(e){A(e)}function S(e){E("error_"+e)}function k(e,t){A(e,{time:t})}function A(e,t){var n=null==t?void 0:t.time;if(n&&n>72e5){var r,i,o="Date.now: '".concat(null===(r=window.Date)||void 0===r||null===(r=r.now)||void 0===r?void 0:r.toString()," Returns: '").concat(Date.now(),"'"),s="performance.now: '".concat(null===(i=window.performance)||void 0===i||null===(i=i.now)||void 0===i?void 0:i.toString()," Returns: '").concat(performance.now(),"'");return m.addError({errorCode:"tracked_time_above_2_hours",errorMessage:"Time tracked for event: '".concat(e,"' is above 2 hours: '").concat(n,"' ms | ").concat(o," | ").concat(s," |"),_:Date.now()}),void m.logErrors()}var d,u,p,v,h,y,w,g,b,_,E,S,k,A,I,x,T,C,O,R,D=function(e){return"https://functions.adnami.io/api/tracker"+"?ev=".concat(e)+"&cc=".concat(a)+"&cs=".concat(f)+"&_=".concat(Date.now())+"&sid=".concat(l)+"&sit=".concat(c)}(e)+"".concat(t?(u=(d=t).time,p=d.windowWidth,v=d.windowHeight,h=d.adWidth,y=d.adHeight,w=d.distance,g=d.adunitId,b=d.device,_=d.size,E=u?"&t=".concat(u):"",S=p?"&ww=".concat(p):"",k=v?"&wh=".concat(v):"",A=h?"&aw=".concat(h):"",I=y?"&ah=".concat(y):"",x=w?"&dist=".concat(w):"",T=g?"&aid=".concat(g):"",C=b?"&dev=".concat(b):"",O=_?"&sz=".concat(_):"",E+S+k+A+I+x+T+C+O):"");R=D,navigator.sendBeacon?navigator.sendBeacon(R):(new window.Image).src=R}function I(e,t){m.addError({errorCode:e,errorMessage:t,_:Date.now()}),m.logErrors()}function x(){ge(S,l)}return e.sourceUrl&&(f.includes("doubleclick")||f.includes("r.inmobi.com")||f.includes("c.amazon-adsystem.com")||f.includes("googlesyndication")||f.includes("adnxs")||f.includes("themediatrust")||f.includes("googleusercontent")||f.includes("googleadservices")||f.includes("acdn.adnxs-simple.com"))&&I("source_macro","source:".concat(e.sourceUrl,", click:").concat(e.clickUrl)),i.isSubscribed("trackWithDetails")||i.subscribe("trackWithDetails",(function(e){return A(e)})),i.isSubscribed("trackTime")||i.subscribe("trackTime",(function(e){return k(e.event,e.time)})),{trackEvent:E,trackTimeEvent:k,trackViewabilityElement:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if((null==n?void 0:n.length)>0)try{!function(e,t){var n,r=Te(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.type&&i.src&&"iframe"===i.type){var o=document.createElement("iframe");o.src=i.src,o.style.zIndex="-1",o.style.top="0",o.style.left="0",o.style.width="100%",o.style.height="100%",o.style.visibility="hidden",o.style.opacity="0",o.style.display="block",o.style.position="absolute",e.appendChild(o)}else if(i.type&&i.src&&"script"===i.type){var a=document.createElement("script");a.type="text/javascript",a.src=i.src,e.appendChild(a)}}}catch(e){r.e(e)}finally{r.f()}}(t,n)}catch(e){}i||d.formatViewability(t,!1,s),u.enableOnClick(t),p.distanceToAd=ne(t),t&&(t.setAttribute("data-adnm-vt",""),t.setAttribute("data-adnm-cc",a),t.setAttribute("data-adnm-sid",l),e.format&&t.setAttribute("data-adnm-fid",e.format)),r.set("canvasMeasurable",{viewablityElement:t})},trackAdunitViewabilityElement:function(e){d.formatViewability(e,!0)},trackVideoElement:function(e){r.set("bannerVideoMeasurable",{videoElement:e}),ue(k,e)},trackExit:function(){E(Re.EXIT)},trackInit:function(){E(Re.INIT)},trackError:S,trackLoaded:function(){var e;E(Re.LOADED),x(),re(window)&&function(e,t){0===e.indexOf("www")&&(e=e.slice(4));var n=se(e,t);if(n||(n=se("*.".concat(e),t)),!n){var r=e.split(".");r[0]="*",n=se(r.join("."),t)}return n}((e=document.createElement("a"),window.location&&window.location.ancestorOrigins&&window.location.ancestorOrigins.length>0?e.href=window.location.ancestorOrigins[window.location.ancestorOrigins.length-1]:e.href=document.referrer,e.hostname||e.host),de)&&function(){var e,t,n=null===(e=window.top)||void 0===e||null===(e=e.performance)||void 0===e?void 0:e.now(),r=null===(t=window.top)||void 0===t||null===(t=t.performance)||void 0===t?void 0:t.getEntriesByType("navigation");if(!n||!r||0==(null==r?void 0:r.length))return;var i=r[0].domInteractive;if(!i)return;var o=Math.ceil(n-i);p.pageLoadedTime=o,document.addEventListener("visibilitychange",(function(){var e,t,n;p.tracked||(p.tracked=!0,e=Re.PAGE_LOAD_TIME,t=p.pageLoadedTime,n=p.distanceToAd,A(e,{time:t,distance:n}))}))}()},trackIfDoubleLoad:x,trackDebugMessage:I,sessionId:l}},Re=function(e){return e.PRE_IMP="pre_imp",e.INIT="init",e.EXIT="exit",e.CLICK="click",e.RERENDERED="rerendered",e.UPGRADED="upgraded",e.LOADED="loaded",e.PAGE_LOAD_TIME="page_load_time",e.DESTROYED_FORMAT="destroyed_format",e.BANNER_INJECTED="banner_injected",e.BANNER_LOADED="banner_loaded",e.WRAPPER_IMP_VIEWED="wrapper_imp_viewed",e.WRAPPER_INVIEW="wrapper_inview",e.WRAPPER_LEAVE_VIEW="wrapper_leave_view",e.WRAPPER_PAGE_INVIEW="wrapper_page_inview",e.WRAPPER_PAGE_LEAVE_VIEW="wrapper_page_leave_view",e.ADUNIT_ID="adunit_id",e.ADUNIT_IMP_VIEWED="adunit_imp_viewed",e.VIDEO_START="video_start",e.VIDEO_FIRST_QUARTILE="video_firstQuartile",e.VIDEO_MIDPOINT="video_midpoint",e.VIDEO_THIRD_QUARTILE="video_thirdQuartile",e.VIDEO_COMPLETE="video_complete",e.ERROR_PREFIX="error_",e.ERROR_ADUNIT_SIZE="error_adunit_size",e.ERROR_INVALID_API_CONFIG="invalidApiConfig",e.ERROR_DOUBLE_LOAD_API="double_load_api",e.ERROR_GET_CERT="getCert",e.ERROR_NO_SID_OR_SIT="error_no_sid_or_sit",e}({});function De(e){return De="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},De(e)}var Le=function(e,t,n){var r,i;(!n||De(n)!==De("string")||parseInt(n)>100)&&(n="10%");var o=1,a=5,l=!1,c=n,s=t,d=e;function u(e){e?i=e:d.frameElement?i=function(){for(var e=d,t=d,n=void 0;t.parent!==window.top;)try{t.parent.document&&(t=t.parent)}catch(e){break}for(n=t.frameElement?t.frameElement:e.frameElement;t.frameElement&&n.parentNode!==window.top.document.body&&-1!==JSON.stringify(n.parentNode.classList).indexOf("adnm-");)n=n.parentNode;return n}():r.play()}function f(e){var t,n,r,i=1-parseInt(c)/100;if(!e)return!1;t=e.offsetHeight,n=e.offsetWidth,r=e.getBoundingClientRect();var o=function(){try{return window.top.document,!0}catch(e){return!1}}();return Math.floor(r.top)>=-t*i&&Math.floor(r.bottom)<=((o?window.top.innerHeight:window.innerHeight)||window.top.document.documentElement.clientHeight)+t*i&&Math.floor(r.left)>=-n*i&&Math.floor(r.right)<=((o?window.top.innerWidth:window.innerWidth)||window.top.document.documentElement.clientWidth)+n*i}function p(){var e,t;null!==(e=r)&&void 0!==e&&e.play&&i&&o100?.1:parseInt(n)/100,{setup:function(e,t){i=e;var n=t;n&&new IntersectionObserver(a,{threshold:o}).observe(n)}}};var Me=function(e,t,n,r,i,o){var a=[],l=Le;return n.subscribe("videoController",(function(t,r){t.banner===o&&function(t,r,o){var l=Pe(n,e,r,o);i.onSet("canvasMeasurable",(function(e){if(e){var n=e.viewablityElement;l.setup(t,n),a.push(l)}}))}(t.elementId,t.percentage,r)})),{playIfInview:function(n,r,i){var o=l(e,t,i);o.setup(n,r),a.push(o)}}},Be=function(){var e=!1,t={CUSTOM:1,BANNER_SCROLLED:2},n=new Map([[t.CUSTOM,"Custom event"],[t.BANNER_SCROLLED,"Banner scrolled event"]]);Object.freeze(t),Object.freeze(n);var r=new Map,i=new Map;function o(e){return!!Object.keys(t)&&Object.keys(t).filter((function(n){return t[n]===e})).length>0}function a(t,n){if(void 0===n&&(n=!1),e&&!n)throw"Could not remove listener, EventRelay is currently disconnecting all listeners.";if(r.has(t)){var o=r.get(t),a=i.get(o.eventType);a.has(t)&&a.delete(t),r.delete(t)}}return{EventType:t,getEventTypeDescription:function(e){for(var r=null,i=Object.keys(t).filter((function(e){return isNaN(Number(e))})).sort((function(e,t){return e>t?1:e=0,a.isInView?r=a.scrollDistanceY/(a.bottom-a.top+o)*100:a.top>0?r=0:a.top<0&&(r=100),r},getScrolledPixed:function(t){return window.top.scrollY-t.offsetTop+e()},isInView:function(e){var t,n,r;return!!e&&(t=e.offsetHeight,n=e.offsetWidth,r=e.getBoundingClientRect(),Math.floor(r.top)>=.9*-t&&Math.floor(r.bottom)<=(window.top.innerHeight||window.top.document.documentElement.clientHeight)+.9*t&&Math.floor(r.left)>=.9*-n&&Math.floor(r.right)<=(window.top.innerWidth||window.top.document.documentElement.clientWidth)+.9*n)}}};function Ve(e){return Ve="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},Ve(e)}var We=function(e,t,n,r,i){var o=1,a=Be(),l=je(),c=new Map,s=!1,d=!1,u=e,f=window.top,p=[];function m(e,t){if(t){var n=t;if(i&&-1===i.findIndex((function(e){return e.contentWindow===n})))return;-1!==p.findIndex((function(e){return e.context===n}))||p.push({context:n,name:e.banner})}}function v(e,t){var i=Ve(e)===Ve({})&&e.length>0&&void 0!==e[0].intersectionRect&&"number"==typeof e[0].intersectionRect.y,o=0,c=l.isInView(t),s=0;i?e[0].boundingClientRect.y<0?(o=100,s=t.clientHeight):(o=0,s=0):(o=l.getScrollPercentage(t))>0&&o<100?(c=!0,s=l.getScrolledPixed(t)):(o=l.getScrollPercentage(t),s=l.getScrolledPixed(t));for(var d=0,u=p;d-1}var Ue=function(){for(var e=Fe,t=document.referrer,n=window.location.host,r=window.location.href,i=0;i=n+t&&(e(),n=Date.now())}};function Je(e){return Je="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},Je(e)}var Ze=function(e,t,n,r){var i=[],o={};window.addEventListener("scroll",Ye((function(){for(var e in o)o[e]()}),200));var a=null;function l(n,r,o,a){var l=n.contentWindow;if(o)l.postMessage({event:"adnm-sandbox-init",data:{sessionId:e.sessionId,placeholderName:t,content:r.documentElement.outerHTML,feedData:s(),customData:a}},"https://macro.adnami.io");else{if(l.document.open("text/html","replace"),l.__adnamiAdsAPI=window.__adnamiAdsAPI,a&&"object"===Je(a))for(var c in a)l[c]=a[c];l.document.write(r.documentElement.outerHTML),l.document.close()}i.push(n)}function c(){var t=null,n=void 0;try{t=function(t){var n=e.iframeWindow.document.querySelector(t);if(!n)throw Error("Expected script tag with id '".concat(t,"' not found."));var r,i=n.textContent;if(!i)throw Error("Script tag with feed data is empty. Expected JSON.");var o=void 0;try{r=JSON.parse(i)}catch(e){throw o=e instanceof Error?"Error parsing feed json: '".concat(e,"'"):"".concat(e),Error(o)}if(!r.items)throw Error("Feed data does not contain expected property 'items'.");return r}("#adnm_proprietary_feed_data_json")}catch(e){n=e instanceof Error?e.message:"".concat(e)}return{feedData:t,errorMessage:n}}function s(){var t="#adnm_proprietary_feed_data_json";return e.iframeWindow.document.querySelector(t)?c():{feedData:null,errorMessage:"Expected script tag with id '".concat(t,"' not found.")}}return n.onSet("canvasMeasurable",(function(e){a=e.viewablityElement})),{createDocument:function(e){return(new DOMParser).parseFromString(e,"text/html")},createIframe:function(n,c,s,d){var u=n.createElement("iframe");return u.setAttribute("data-adnm-channel",e.sessionId),u.setAttribute("id","adsm-iframe-"+t.toLowerCase()+"-"+e.sessionId),u.setAttribute("src",s?"https://macro.adnami.io/macro/gen/adnm.sandbox.html":"about:blank"),s&&u.setAttribute("data-adnm-sandbox",""),u.onload=function(){var e;if(-1===i.indexOf(u)){var n=2;"Mobile"===fe()&&(n=4),null===a||(null!==(e=ne(a))&&void 0!==e?e:0)<=n*window.innerHeight?(l(u,c,s,d),r(Re.BANNER_INJECTED)):o[t]=function(){var e;(null!==(e=ne(a))&&void 0!==e?e:0)<=n*window.innerHeight&&(l(u,c,s,d),delete o[t],r(Re.BANNER_INJECTED))}}},u},getFeedDataResult:c}};var Ke=function(e){var t="https://functions.adnami.io/api/tracker?ev=error_"+e+"&cc=00000000-0000-0000-0000-000000000000&cs="+encodeURIComponent(window.location.href.replace(window.location.search,""))+"&_="+Date.now()+"&sid="+Date.now()+"&sit="+Date.now();navigator.sendBeacon?navigator.sendBeacon(t):(new window.Image).src=t};function Qe(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Xe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Xe(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function Xe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:window.top,o=arguments.length>3?arguments[3]:void 0;i.postMessage({channelId:e,forward:null!==(r=null==o?void 0:o.forward)&&void 0!==r&&r,event:t,data:n},"*")},subscribe:function(t,n){0===Object.keys(window.adnmEventCallbacks).length&&window.addEventListener("message",$e),void 0===window.adnmEventCallbacks[e]&&(window.adnmEventCallbacks[e]={}),void 0===window.adnmEventCallbacks[e][String(t)]&&(window.adnmEventCallbacks[e][String(t)]=[]),window.adnmEventCallbacks[e][String(t)].push(n)},unsubscribe:function(t,n){var r,i=null===(r=window.adnmEventCallbacks[e])||void 0===r?void 0:r[String(t)];if(i){var o=i.indexOf(n);-1!==o&&(i.splice(o,1),0===i.length&&(delete window.adnmEventCallbacks[e][String(t)],0===Object.keys(window.adnmEventCallbacks[e]).length&&(delete window.adnmEventCallbacks[e],0===Object.keys(window.adnmEventCallbacks).length&&window.removeEventListener("message",$e))))}},unsubscribeAll:function(){window.adnmEventCallbacks[e]&&(delete window.adnmEventCallbacks[e],0===Object.keys(window.adnmEventCallbacks).length&&window.removeEventListener("message",$e))},isSubscribed:function(t){var n;return(null===(n=window.adnmEventCallbacks[e])||void 0===n||null===(n=n[String(t)])||void 0===n?void 0:n.length)>0}}};function nt(e){return nt="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},nt(e)}function rt(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return it(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return it(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function it(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n5&&void 0!==arguments[5]?arguments[5]:"",sourceUrl:arguments.length>6&&void 0!==arguments[6]?arguments[6]:void 0,clickUrl:arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,valid:!0}};(window.adsmtag=window.adsmtag||{}).rmb=window.adsmtag.rmb=window.adsmtag.rmb||{};var kt={uuid:null,id:null,sit:null,adSource:null,ad:{width:1,height:1,click:"",flex:"",impressionSrc:"",custom:{}},scriptVersion:1,source:null,frame:null,placement:null};p("ADSM_RMB_ADS_INIT",(function(e,t){var n=JSON.parse(JSON.stringify(kt));m.extend(n.ad,e.ad),n.uuid=e.uuid||"",n.id=e.id||"",n.sit=e.sit||"",n.scriptVersion=e.scriptVersion||1,n.source=t,n.adSource=e.adSource||"",n.sourceUrl=e.sourceUrl;var r=window.adsm||{};r.sessionIds=r.sessionIds||{},r.sessionIds[n.uuid]=n.id,r.sessionIdTimes=r.sessionIdTimes||{},r.sessionIdTimes[n.uuid]=n.sit,r.adSource=r.adSource||{},r.adSource[n.uuid]=n.adSource||"";var i=function(e){for(var t=document.querySelectorAll("iframe"),n=0;n');return m.extend(n.style,t),n},createParagraph:function(e,t,n){var r=xt.html('

'+t+"

");return m.extend(r.style,n),r},insertElementToElement:function(e,t){t.appendChild(e)},createStylingElement:function(e){return xt.html("")},createHTML:function(e){var t=xt.html(e);return t},loadHTMLBanner:function(){var e=document.createElement("script");e.type="text/javascript",e.src="https://macro.adnami.io/macro/gen/adsm.ads.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)},getAdText:function(){var e=window.location.hostname;e=e.replace("www.","");var t=(window.navigator.userLanguage||window.navigator.language).slice(0,2),n="",r="",i="";return"sv"===t?(n="ANNONS",r="Vidare till "+e,i="St"+String.fromCharCode(196)+"ng"):"da"===t?(n="ANNONCE",r="Videre til "+e,i="Luk"):(n="AD",r="Continue to "+e,i="Close"),{adText:n,continueText:r,closeText:i}}},Ut=Ht;var zt=function(e){var t=e.creativeCode,n=e.sessionId,r=e.sessionTimeId,i=e.click,o=e.userId,a=e.auctionId,l="string"==typeof t&&36===t.length&&-1!==t.indexOf("-"),c="string"==typeof i&&0===i.indexOf("http");return l&&c?{uuid:t,id:n,sit:r,ad:{click:i||"",uid:o||"",aid:a||""}}:null},qt={uuid:null,id:null,topscroll:{configuration:{height:"80vh"},background:{htmlBanner:"",interactionEnabled:"false",letterbox:"false"},click:null,creative:null},source:null,frame:null,placement:null},Gt="ADSM_RMB_HTML_TOPSCROLL_DESKTOP_LOADED";p("ADSM_RMB_HTML_TOPSCROLL_DESKTOP_INIT",(function(e,t){Yt.initialize(e,t),window.IntersectionObserver?Ft.formatViewability(Yt.topscrollHTMLComponents.topscrollFrameWrapper,e.uuid):o.tracker2("intersection_observer_not_detected",e.uuid,void 0)})),p("ADSM_RMB_HTML_TOPSCROLL_DESKTOP_DESTROY",(function(){Yt.destroy()}));var Yt=function(){var e,t,n,r,i={},a={},l=window.navigator.userAgent.toLowerCase().indexOf("trident")>-1||window.navigator.userAgent.toLowerCase().indexOf("edge")>-1;function c(n,r){var o=window.adsm=window.adsm||{},a=o.topscrollWallpaper||{},l=a.scrollToTopPercentage||0,c=a.scrollToTopMaxViewportsAwayFromTop||1;a.hasExecutedScrollToTop=!1;var s,d,u=!0;null!=a.scrollToTopDisableAutoScroll&&(u=a.scrollToTopDisableAutoScroll),function(e,t){i=JSON.parse(JSON.stringify(qt)),m.extend(i.topscroll.background,e.topscroll.background),m.extend(i.topscroll.configuration,e.topscroll.configuration),i.topscroll.click=e.topscroll.click,i.topscroll.background.htmlBanner=e.topscroll.background.htmlBanner||"",i.topscroll.background.interactionEnabled=e.topscroll.background.interactionEnabled||"false",i.uuid=e.uuid||"",i.id=e.id||"",i.source=t;var n=i.source;for(;n.parent&&n.parent!==window&&n.parent!==n;)n=n.parent;for(var r=document.querySelectorAll("iframe"),o=0;o0&&(n&&l<=.1||r<10*e&&(l'),t=xt.html('
'+n+"
"),i=xt.html('
'+r+"
"),o=xt.html('
>
');m.extend(t.style,{display:"inline-block",fontSize:"0.75rem",fontFamily:"Helvetica",color:"#8d8d8d",marginLeft:"10px"}),m.extend(i.style,{display:"inline-block",fontSize:"0.75rem",fontFamily:"Helvetica",color:"#8d8d8d",marginRight:"10px",cursor:"pointer"}),m.extend(o.style,{width:"26px",height:"26px",lineHeight:"23px",fontSize:"13px",color:"#8d8d8d",display:"inline-block",marginLeft:"5px"}),m.extend(e.style,{position:"absolute",display:"flex",alignItems:"center",justifyContent:"space-between",height:"36px",width:"100%",lineHeight:"36px",backgroundColor:"white",zIndex:"20",textAlign:"center"}),i.appendChild(o),e.appendChild(t),e.appendChild(i),a.topscrollFrameWrapper.appendChild(e),Ot.addEvent(i,"click",s)}():(f=t,a.topscrollTextBox=Ut.createDiv("adnm-topscroll-text-box",{position:"absolute",height:"36px",width:"100%",lineHeight:"36px",backgroundColor:"white",zIndex:"20",cursor:"pointer",textAlign:"center"}),a.topscrollText=Ut.createDiv("adnm-topscroll-text",{display:"inline-block",fontSize:"1.0rem",fontFamily:"sans-serif",color:"black"}),a.topbarText=document.createTextNode(f),a.topscrollCloseButton=Ut.createDiv("adnm-topscroll-close-btn",{width:"26px",height:"26px",lineHeight:"23px",color:"black",display:"inline-block",fontFamily:"Times"}),a.topscrollCloseButtonIcon=document.createTextNode("✖"),Ut.insertElementToElement(a.topbarText,a.topscrollText),Ut.insertElementToElement(a.topscrollText,a.topscrollTextBox),Ut.insertElementToElement(a.topscrollCloseButtonIcon,a.topscrollCloseButton),Ut.insertElementToElement(a.topscrollCloseButton,a.topscrollTextBox),Ut.insertElementToElement(a.topscrollTextBox,a.topscrollFrameWrapper),Ot.addEvent(a.topscrollTextBox,"click",s)));var f;Ut.insertElementToElement(a.bannerFrame,a.htmlCreative),Ut.insertElementToElement(a.htmlCreative,a.topscrollTag),Ut.insertElementToElement(a.topscrollTag,a.topscrollContainer),Ut.insertElementToElement(a.topscrollContainer,a.topscrollFrame),Ut.insertElementToElement(a.buttonAnimation,a.topscrollFrame),Ut.insertElementToElement(a.topscrollFrame,a.topscrollFrameWrapper),Ut.insertElementToElement(a.pushDownButton,a.topscrollFrameWrapper),Ot.addEvent(a.pushDownButton,"click",s)})(),l&&(a.topscrollContainer.style.position="relative");"false"===i.topscroll.background.interactionEnabled&&(c=a.topscrollFrame,d=i.topscroll.click,Ot.addEvent(c,"click",(function(){!function(e){e&&(o.tracker("html_topscroll_exit",i.uuid),window.open(e,"_blank"))}(d)})));var c,d;u=a.topscrollFrameWrapper,e.insertBefore(u,e.firstChild),function(e,t){var n=window.adsm||{},r=t.source.__adnamiAdsAPIFactory,i=zt({creativeCode:t.topscroll.background.htmlBanner,click:t.topscroll.click,sessionId:t.id,sessionTimeId:n&&n.sessionIdTimes&&n.sessionIdTimes[t.uuid]||Date.now()});var o=new te(r,i,e.bannerFrame);o.loadAd()}(a,i);var u}(),function(){var e;l?((e=document.createEvent("Event")).initEvent(Gt,!1,!0),document.dispatchEvent(e)):(e=new Event(Gt),document.dispatchEvent(e));!function(){var e=parseInt(i.topscroll.configuration.height),t=i.placement,n=t.parentNode.querySelector('.adnm-creative+iframe[id^="google_ads_iframe"]')||t.parentNode.querySelector('.adnm-creative+iframe+iframe[id^="google_ads_iframe"]')||t.parentNode.querySelector(".adnm-creative+iframe"),r=t.parentNode.querySelector('.adnm-creative+iframe[id^="adf"]')||t.parentNode.querySelector('.adnm-creative+iframe+iframe[id^="adf"]');n&&(Rt.viewabilityTracker.defineViewableElement(n,e,a.topscrollFrameWrapper),Rt.viewabilityTracker.setup("topscroll"));r&&(Rt.viewabilityTracker.defineViewableElement(r,e,a.topscrollFrameWrapper),Rt.viewabilityTracker.setup("topscroll_adform"))}()}()},destroy:function(){var e;!function(){var e=document.querySelector("html.adnm-topscroll");e&&(e.classList.remove("adnm-topscroll"),e.classList.remove("adnm-topscroll-"+i.id))}(),(e=a.topscrollFrameWrapper)&&e.parentNode&&e.parentNode.removeChild(e)},topscrollHTMLComponents:a}}();var Jt={uuid:null,id:null,html_desktop_interscroll:{configuration:{height:"80vh"},background:{htmlBanner:"",interactionEnabled:"false",letterbox:"false"},click:null,creative:null},source:null,frame:null,placement:null},Zt="ADSM_RMB_HTML_DESKTOP_INTERSCROLL_LOADED",Kt=window.navigator.userAgent.toLowerCase().indexOf("trident")>-1||window.navigator.userAgent.toLowerCase().indexOf("edge")>-1;p("ADSM_RMB_HTML_DESKTOP_INTERSCROLL_INIT",(function(e,t){var n=window.adsm=window.adsm||{},r=JSON.parse(JSON.stringify(Jt));m.extend(r.html_desktop_interscroll.background,e.html_desktop_interscroll.background),m.extend(r.html_desktop_interscroll.configuration,e.html_desktop_interscroll.configuration),r.html_desktop_interscroll.click=e.html_desktop_interscroll.click,r.html_desktop_interscroll.background.htmlBanner=e.html_desktop_interscroll.background.htmlBanner||"",r.html_desktop_interscroll.background.interactionEnabled=e.html_desktop_interscroll.background.interactionEnabled||"false",r.uuid=e.uuid||"",r.id=e.id||"",r.source=t,Qt.classList.add("adnm-html-desktop-interscroll");var i=t;for(;i.parent&&i.parent!==window&&i!==i.parent;)i=i.parent;for(var a,l=document.querySelectorAll("iframe"),c=0;c');m.extend(g.style,{zIndex:"10",width:v,overflow:"hidden",position:"relative",height:s});var b=xt.html('
');m.extend(b.style,{clip:"rect(auto auto auto auto)",position:"absolute",top:"0",zIndex:"auto",cursor:w,height:s,width:"100vw",marginLeft:"-50vw",left:"50%"});var _=xt.html('
');m.extend(_.style,{width:"100%",bottom:"0",left:"0",right:"0",top:"0",margin:"auto",position:"absolute",height:s,pointerEvents:y});var E=xt.html('
');m.extend(E.style,{left:"0",right:"0",top:"0",width:"100%",position:f,transform:"translateZ(0)",height:h,pointerEvents:y});var S=xt.html(""),k=xt.html('
');m.extend(k.style,{border:"0px",margin:"auto",textAlign:"center",position:"relative",width:"100%",height:"100%"});var A=document.createElement("iframe");A.frameBorder="0",A.scrolling="no",A.src="about:blank",k.appendChild(A),E.appendChild(k),_.appendChild(E),b.appendChild(_),b.appendChild(S),g.appendChild(b),r.placement.insertBefore(g,r.placement.firstChild),Ot.addEvent(window,"resize",(function(){Xt(g)}));var I=r.placement.parentNode,x=r.placement.parentNode.parentNode;$t(I,"auto"),$t(x,"auto"),"false"!=r.html_desktop_interscroll.background.interactionEnabled&&""!=r.html_desktop_interscroll.background.interactionEnabled||Ot.addEvent(b,"click",(function(){r&&function(e){e.html_desktop_interscroll.click&&window.open(e.html_desktop_interscroll.click,"_blank");o.tracker("html_desktop_interscroll_exit",e.uuid)}(r)})),p("ADSM_RMB_HTML_DESKTOP_INTERSCROLL_DESTROY",(function(e){r&&e&&r.uuid===e.uuid&&r.id===e.id&&(!function(e){var t=e.html_desktop_interscroll.creative;t&&t.parentNode&&t.parentNode.removeChild(t);Qt.classList.contains("adnm-html-desktop-interscroll")&&Qt.classList.remove("adnm-html-desktop-interscroll");for(var n=document.querySelectorAll(".adnm-html-desktop-interscroll-adunit"),r=0;r');m.extend(u.style,{zIndex:"10",width:"100vw",overflow:"hidden",position:"relative",height:s});var f=xt.html('
');m.extend(f.style,{clip:"rect(auto auto auto auto)",position:"absolute",left:"0",top:"0",width:"100%",zIndex:"auto",height:s});var v=xt.html('
');m.extend(v.style,{width:"100%",bottom:"0",left:"0",right:"0",top:"0",margin:"auto",position:"absolute",height:window.innerHeight+"px",pointerEvents:d});var h=xt.html('
');m.extend(h.style,{left:"0",right:"0",top:"0",height:window.innerHeight+"px",width:"100%",position:"fixed",transform:"translateZ(0)",pointerEvents:d});var y=xt.html('
');m.extend(y.style,{position:"absolute",backgroundPosition:"center",backgroundColor:"white",backgroundRepeat:"no-repeat",height:"40px",width:"40px",zIndex:"15",top:"5%",right:"5%",cursor:"pointer",webkitBoxShadow:"rgb(51, 51, 51) 0px 0px 8px",boxShadow:"rgb(51, 51, 51) 0px 0px 8px",borderRadius:"100%",backgroundImage:'url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjEuNv1OCegAAACvSURBVDhPjZNBCsIwEEV7kYLgFSouRBc9gCfTlb2qim7sf6UjY4iZefChCXm/bWA60SsXZcciyaDgbFhclY9yV0Y2AjjDWZyJjYPyWjeiEi/jnJSFsxKVlDLOD62SUDZqJWnZ8CWPNWnZ4OBbQSQ8p2Xgs5+KFfDs76SJ/2febF9SXmyV2oX5O2mW1GQjLGnJxt8SBiOSjbJkryxTlZENX3Jjg5Fkqr6DkeCoyOm2M3EqXEejXyX7AAAAAElFTkSuQmCC")'});var w=xt.html(""),g=xt.html('
');m.extend(g.style,{border:"0px",margin:"auto",textAlign:"center",position:"relative",width:"100%",height:"100%"});var b=document.createElement("iframe");b.frameBorder="0",b.scrolling="no",b.src="about:blank",g.appendChild(b),h.appendChild(g),v.appendChild(h),f.appendChild(v),f.appendChild(w),u.appendChild(f),i.placement.insertBefore(u,i.placement.firstChild);var _=i.source.__adnamiAdsAPIFactory,E=zt({creativeCode:i.html_interscroll.background.htmlBanner,click:i.html_interscroll.click,sessionId:i.id,sessionTimeId:n&&n.sessionIdTimes&&n.sessionIdTimes[i.uuid]||Date.now()});new te(_,E,b).loadAd();var S=i.placement.parentNode,k=i.placement.parentNode.parentNode;nn(S,"auto"),nn(k,"auto"),u&&r.closeOption&&(u.appendChild(y),Ot.addEvent(y,"click",(function(){u.style.height="0",f.style.height="0"}))),Ot.addEvent(f,"click",(function(){i&&function(e){e.html_interscroll.click&&window.open(e.html_interscroll.click,"_blank");o.tracker("html_interscroll_exit",e.uuid)}(i)})),Ot.addEvent(window,"resize",(function(){m.extend(v.style,{width:screen.width+"px",height:screen.height+"px",left:"calc(50vw - "+screen.width/2+"px)"})})),p("ADSM_RMB_HTML_INTERSCROLL_DESTROY",(function(e){i&&e&&i.uuid===e.uuid&&i.id===e.id&&(!function(e){var t=e.html_interscroll.creative;t&&t.parentNode&&t.parentNode.removeChild(t);tn.classList.contains("adnm-html-interscroll")&&tn.classList.remove("adnm-html-interscroll")}(i),i=null)})),o.tracker("html_interscroll_init",i.uuid)}var A=i.placement.parentNode.querySelector(".adnm-creative+iframe");if(A){var I=parseInt(s);Rt.viewabilityTracker.defineViewableElement(A,I,i.html_interscroll.creative),Rt.viewabilityTracker.setup("interscroll")}var x=new Event("ADSM_RMB_HTML_INTERSCROLL_LOADED");document.dispatchEvent(x),window.IntersectionObserver?Ft.formatViewability(i.html_interscroll.creative,i.uuid):o.tracker2("intersection_observer_not_detected",i.uuid,void 0)}));var tn=document.querySelector("html");function nn(e,t){(e&&e.style&&e.style.width||e.style.height)&&(e.style.width=t,e.style.height=t,(e.style.maxHeight||e.style.maxWidth)&&(e.style.maxWidth="unset",e.style.maxHeight="unset"))}var rn={uuid:null,id:null,interscroll:{background:{backgroundImage:"none",backgroundColor:"transparent"},click:null,creative:null},source:null,frame:null,placement:null};p("ADSM_RMB_INTERSCROLL_DESKTOP_INIT",(function(e,t){var n=JSON.parse(JSON.stringify(rn));m.extend(n.interscroll.background,e.interscroll.background),n.interscroll.click=e.interscroll.click,n.uuid=e.uuid||"",n.id=e.id||"",n.source=t;var r=t;for(;r.parent&&r.parent!==window;)r=r.parent;for(var i=document.querySelectorAll("iframe"),a=0;a');m.extend(c.style,{position:"absolute",left:"50%",marginLeft:"-465px",width:"930px",height:l,overflow:"hidden",zIndex:"10",clipPath:"inset(1px 0px)",cursor:"pointer"});var s=xt.html('
');m.extend(s.style,{position:"relative",top:"0",left:"0",width:"100vw",height:"100vh",backgroundColor:n.interscroll.background.backgroundColor,backgroundImage:n.interscroll.background.backgroundImage,backgroundRepeat:"no-repeat",backgroundPosition:"center top",backgroundAttachment:"fixed",pointerEvents:"none"}),c.appendChild(s),n.placement.insertBefore(c,n.placement.firstChild),Ot.addEvent(c,"click",(function(){n&&function(e){e.interscroll.click&&window.open(e.interscroll.click,"_blank");o.tracker("interscroll_exit",e.uuid)}(n)})),p("ADSM_RMB_INTERSCROLL_DESKTOP_DESTROY",(function(e){n&&e&&n.uuid===e.uuid&&n.id===e.id&&(!function(e){var t=e.interscroll.creative;t&&t.parentNode&&t.parentNode.removeChild(t)}(n),n=null)})),o.tracker("interscroll_desktop_init",n.uuid)}var d=document.getElementsByClassName("adnm-desktop-interscroll");if(d)for(var u=0;u');m.extend(c.style,{position:"absolute",left:"50%",marginLeft:"-50vw",width:"calc(100vw - 10px)",height:l,overflow:"hidden",zIndex:"10",clipPath:"inset(1px 0px)",cursor:"pointer"});var s=xt.html('
');m.extend(s.style,{position:"relative",top:"0",left:"0",width:"100vw",height:"100vh",backgroundColor:n.interscroll.background.backgroundColor,backgroundImage:n.interscroll.background.backgroundImage,backgroundRepeat:"no-repeat",backgroundPosition:"center top",backgroundAttachment:"fixed",backgroundSize:"cover",pointerEvents:"none"}),c.appendChild(s),n.placement.insertBefore(c,n.placement.firstChild),Ot.addEvent(c,"click",(function(){n&&function(e){e.interscroll.click&&window.open(e.interscroll.click,"_blank");o.tracker("interscroll_exit",e.uuid)}(n)})),p("ADSM_RMB_FULLSCREEN_INTERSCROLL_DESKTOP_DESTROY",(function(e){n&&e&&n.uuid===e.uuid&&n.id===e.id&&(!function(e){var t=e.interscroll.creative;t&&t.parentNode&&t.parentNode.removeChild(t)}(n),n=null)})),o.tracker("interscroll_desktop_init",n.uuid)}var d=document.getElementsByClassName("adnm-desktop-interscroll");if(d)for(var u=0;ue&&(i=e);o<0&&(o=0);o>e&&(o=e);return(o-i)/r*100>=50})()?(t.expanded||(cn.placement.style.paddingTop=cn.inread.ratioHeight+"%",cn.inread.expanded=!0),t.paused&&(t.paused=!1,e(n,{type:dn}))):t.expanded&&!t.paused&&(t.paused=!0,e(n,{type:un}))}function pn(e){o.tracker("format_unsupported",e.uuid||"")}p("ADSM_RMB_INREAD_INIT",(function(e,t){(cn=JSON.parse(JSON.stringify(sn))).uuid=e.uuid||"",cn.source=t;var n=t;for(;n.parent&&n.parent!==window;)n=n.parent;for(var r=document.querySelectorAll("iframe"),i=0;i