(()=>{"use strict";var e={};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var t="cc_dm";const r={tagConfigUrl:"/bxrituegs0/29t1diptgj.json?",version:"3.132.0",devModeQueryStringParameter:t,adManagerWindowNamespace:"AdManager",helpersWindowNamespace:"_CAdM",overrideConfigWindowNamespace:"__adm_override",tagIdIdentifier:"data-m3vycyqwf6",clickIdIdentifier:"data-clickId",noAutostartIdentifier:"data-admman",customDomainIdentifier:"data-custom-domain",devMode:window.location.search.includes("".concat(t,"=1")),auctionUrl:"https://ssp.zog.link/get/",initTrackingUrl:"https://metricswpsh.com",subCookieName:"source",subQueryStringKey1:"promo",subQueryStringKey2:"source",vastProxyAuctionRoute:"/a/",vastProxyWrappedUrlPath:"/c/",adManagerTrackingProxyPath:"/api/track",sentryDSNUrl:"MISSING_ENV_VAR".SENTRY_DSN,buildEnv:"production",buildUrl:"https://js.wpadmngr.com/static/adManager",isMB:!!parseInt("0",10),isOnCl:!!parseInt("0",10),sharedStorageUrl:"https://storage.multstorage.com/log/count.html",keywordsServiceUrl:"https://ntvpforever.com/keywords",cabsId:parseInt("1",10)};class n{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.logPrefix=e,this.silentMode=t}info(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];!this.silentMode&&console.info("%c [".concat(this.logPrefix,"] -"),"color:cyan",...t)}warn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];!this.silentMode&&console.warn("%c [".concat(this.logPrefix,"] -"),"color:orange",...t)}error(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];console.error("%c [".concat(this.logPrefix,"] -"),"color:red",...t)}}function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r,n,i){var o=new Error(e);return o.config=t,r&&(o.code=r),o.request=n,o.response=i,o.isHttpError=!0,o.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},o}function c(e,t){var r;if(null!=e)if("object"!=typeof e&&(e=[e]),r=e,"[object Array]"===Object.prototype.toString.call(r))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function u(e){return new Promise((function(t,r){var n,i,o=e.data,u=e.headers,l=new XMLHttpRequest,d=(n=e.baseURL,i=e.url,n&&!function(e){return/^([a-z][a-z\d\\+\-\\.]*:)?\/\//i.test(e)}(i)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(n,i):i);if(l.open(e.method.toUpperCase(),function(e,t){if(!t)return e;var r=Object.keys(t).reduce(((e,r,n,i)=>{var o="".concat(e).concat(r,"=").concat(encodeURIComponent(t[r]));return n!==i.length-1&&(o+="&"),o}),"");return"".concat(e,"?").concat(r)}(d,e.params),!0),l.timeout=e.timeout,l.onreadystatechange=function(){if(l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in l?l.getAllResponseHeaders().split("\r\n").reduce(((e,t)=>{var[r,n]=t.split(": ");return r?a(a({},e),{},{[null==r?void 0:r.toLowerCase()]:n}):e}),{}):null,i={data:e.responseType&&"text"!==e.responseType?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:n,config:e,request:l};!function(e,t,r){!r.status||r.status>=200&&r.status<300?e(r):t(s("Request failed with status code "+r.status,r.config,null,r.request,r))}(t,r,i),l=null}},l.onabort=function(){l&&(r(s("Request aborted",e,"ECONNABORTED",l)),l=null)},l.onerror=function(){r(s("Network Error",e,null,l)),l=null},l.ontimeout=function(){var t="timeout of ".concat(e.timeout,"ms exceeded");e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(s(t,e,"ECONNABORTED",l)),l=null},"setRequestHeader"in l&&c(u,(function(e,t){void 0===o&&"content-type"===t.toLowerCase()?delete u[t]:l.setRequestHeader(t,e)})),void 0!==e.withCredentials&&(l.withCredentials=!!e.withCredentials),e.responseType)try{l.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}o||(o=null),l.send(o)}))}function l(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}var d=new class{constructor(e){this.defaults={timeout:0}}dispatchRequest(e){var t;return null!==(t=e.data)&&"object"==typeof t&&(e.headers||(e.headers={}),e.headers["Content-Type"]="application/json;charset=utf-8",e.data=JSON.stringify(e.data)),u(e).then((function(e){return e.data=l(e.data),e}),(function(e){return e&&e.response&&(e.response.data=l(e.response.data)),Promise.reject(e)}))}get(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.dispatchRequest(a(a({},t),{},{url:e,method:"get"}))}post(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.dispatchRequest(a(a({},r),{},{url:e,method:"post",data:r.data?r.data:t}))}};function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length-1;if(!e.length||t>r)return null;var n=e.slice(t,r+1);return n[Math.floor(Math.random()*n.length)]}function h(e){return new Promise((t=>{e||t({status:"error"});var r=new Image;r.crossOrigin="anonymous",r.src=e,r.onload=()=>t({status:"ok"}),r.onerror=()=>t({status:"error"})}))}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2e3;return new Promise((n=>{var i=0,o=setInterval((()=>{try{var a=document.querySelectorAll(e);a&&(clearInterval(o),n(a)),(i+=t)>=r&&(clearInterval(o),n(null))}catch(e){clearInterval(o),n(null)}}),t)}))}function m(e){return"[object Array]"===Object.prototype.toString.call(e)}function v(e){return null!==e&&"object"==typeof e}function g(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function w(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),m(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function b(){var e={};function t(t,r){g(e[r])&&g(t)?e[r]=b(e[r],t):g(t)?e[r]=b({},t):m(t)?e[r]=t.slice():e[r]=t}for(var r=0,n=arguments.length;r<n;r++)w(arguments[r],t);return e}function y(e,t){for(var r in t)e=e.replace(new RegExp(r,"g"),t[r]);return e}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return Math.floor(Math.random()*(t-e)+e)}var k=function(){return k=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},k.apply(this,arguments)};function _(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{c(n.next(e))}catch(e){o(e)}}function s(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))}function x(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}"function"==typeof SuppressedError&&SuppressedError;function A(e,t){return new Promise((function(r){return setTimeout(r,e,t)}))}function C(e,t){try{var r=e();(n=r)&&"function"==typeof n.then?r.then((function(e){return t(!0,e)}),(function(e){return t(!1,e)})):t(!0,r)}catch(e){t(!1,e)}var n}function T(e,t){return _(this,arguments,void 0,(function(e,t,r){var n,i,o,a;return void 0===r&&(r=16),x(this,(function(s){switch(s.label){case 0:n=Array(e.length),i=Date.now(),o=0,s.label=1;case 1:return o<e.length?(n[o]=t(e[o],o),(a=Date.now())>=i+r?(i=a,[4,A(0)]):[3,3]):[3,4];case 2:s.sent(),s.label=3;case 3:return++o,[3,1];case 4:return[2,n]}}))}))}function I(e){e.then(void 0,(function(){}))}function P(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]+t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]+t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]+t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]+t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]}function O(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]*t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]*t[3],r[1]+=r[2]>>>16,r[2]&=65535,r[2]+=e[3]*t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]*t[3],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[2]*t[2],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[3]*t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]}function E(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function j(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function D(e,t){return[e[0]^t[0],e[1]^t[1]]}function N(e){return e=D(e,[0,e[0]>>>1]),e=D(e=O(e,[4283543511,3981806797]),[0,e[0]>>>1]),e=D(e=O(e,[3301882366,444984403]),[0,e[0]>>>1])}function M(e){return parseInt(e)}function R(e){return parseFloat(e)}function L(e,t){return"number"==typeof e&&isNaN(e)?t:e}function H(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function U(e){return e&&"object"==typeof e&&"message"in e?e:{message:e}}function F(e,t,r){var n=Object.keys(e).filter((function(e){return!function(e,t){for(var r=0,n=e.length;r<n;++r)if(e[r]===t)return!0;return!1}(r,e)})),i=T(n,(function(r){return function(e,t){var r=new Promise((function(r){var n=Date.now();C(e.bind(null,t),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=Date.now()-n;if(!e[0])return r((function(){return{error:U(e[1]),duration:i}}));var o=e[1];if(function(e){return"function"!=typeof e}(o))return r((function(){return{value:o,duration:i}}));r((function(){return new Promise((function(e){var t=Date.now();C(o,(function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=i+Date.now()-t;if(!r[0])return e({error:U(r[1]),duration:o});e({value:r[1],duration:o})}))}))}))}))}));return I(r),function(){return r.then((function(e){return e()}))}}(e[r],t)}));return I(i),function(){return _(this,void 0,void 0,(function(){var e,t,r,o;return x(this,(function(a){switch(a.label){case 0:return[4,i];case 1:return[4,T(a.sent(),(function(e){var t=e();return I(t),t}))];case 2:return e=a.sent(),[4,Promise.all(e)];case 3:for(t=a.sent(),r={},o=0;o<n.length;++o)r[n[o]]=t[o];return[2,r]}}))}))}}function q(e,t){return _(this,arguments,void 0,(function(e,t,r){var n,i,o,a,s;return void 0===r&&(r=50),x(this,(function(c){switch(c.label){case 0:n=document,c.label=1;case 1:return n.body?[3,3]:[4,A(r)];case 2:return c.sent(),[3,1];case 3:i=n.createElement("iframe"),c.label=4;case 4:return c.trys.push([4,,10,11]),[4,new Promise((function(e,r){var o=!1,a=function(){o=!0,e()};i.onload=a,i.onerror=function(e){o=!0,r(e)};var s=i.style;s.setProperty("display","block","important"),s.position="absolute",s.top="0",s.left="0",s.visibility="hidden",t&&"srcdoc"in i?i.srcdoc=t:i.src="about:blank",n.body.appendChild(i);var c=function(){var e,t;o||("complete"===(null===(t=null===(e=i.contentWindow)||void 0===e?void 0:e.document)||void 0===t?void 0:t.readyState)?a():setTimeout(c,10))};c()}))];case 5:c.sent(),c.label=6;case 6:return(null===(a=null===(o=i.contentWindow)||void 0===o?void 0:o.document)||void 0===a?void 0:a.body)?[3,8]:[4,A(r)];case 7:return c.sent(),[3,6];case 8:return[4,e(i,i.contentWindow)];case 9:return[2,c.sent()];case 10:return null===(s=i.parentNode)||void 0===s||s.removeChild(i),[7];case 11:return[2]}}))}))}var B=["monospace","sans-serif","serif"],z=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function V(){var e=window,t=navigator;return H(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function W(){var e=window,t=navigator;return H(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===t.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function G(){var e=window,t=navigator;return H(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===t.vendor.indexOf("Apple"),"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}var K={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};var J={fonts:function(){var e=this;return q((function(t,r){return _(e,[t,r],void 0,(function(e,t){var r,n,i,o,a,s,c,u,l,d,p,h=t.document;return x(this,(function(e){switch(e.label){case 0:return(r=h.body).style.fontSize="48px",(n=h.createElement("div")).style.setProperty("visibility","hidden","important"),i={},o={},a=function(e){var t=h.createElement("span"),r=t.style;return r.position="absolute",r.top="0",r.left="0",r.fontFamily=e,t.textContent="mmMwWLliI0O&1",n.appendChild(t),t},s=function(e,t){return a("'".concat(e,"',").concat(t))},c=function(){for(var e={},t=function(t){e[t]=B.map((function(e){return s(t,e)}))},r=0,n=z;r<n.length;r++){t(n[r])}return e},u=function(e){return B.some((function(t,r){return e[r].offsetWidth!==i[t]||e[r].offsetHeight!==o[t]}))},l=function(){return B.map(a)}(),d=c(),r.appendChild(n),[4,A(0)];case 1:for(e.sent(),p=0;p<B.length;p++)i[B[p]]=l[p].offsetWidth,o[B[p]]=l[p].offsetHeight;return[2,z.filter((function(e){return u(d[e])}))]}}))}))}))},fontPreferences:function(){return function(e,t){void 0===t&&(t=4e3);return q((function(r,n){var i=n.document,o=i.body,a=o.style;a.width="".concat(t,"px"),a.webkitTextSizeAdjust=a.textSizeAdjust="none",W()?o.style.zoom="".concat(1/n.devicePixelRatio):G()&&(o.style.zoom="reset");var s=i.createElement("div");return s.textContent=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}([],Array(t/20|0),!0).map((function(){return"word"})).join(" "),o.appendChild(s),e(i,o)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}((function(e,t){for(var r={},n={},i=0,o=Object.keys(K);i<o.length;i++){var a=o[i],s=K[a],c=s[0],u=void 0===c?{}:c,l=s[1],d=void 0===l?"mmMwWLliI0fiflO&1":l,p=e.createElement("span");p.textContent=d,p.style.whiteSpace="nowrap";for(var h=0,f=Object.keys(u);h<f.length;h++){var m=f[h],v=u[m];void 0!==v&&(p.style[m]=v)}r[a]=p,t.appendChild(e.createElement("br")),t.appendChild(p)}for(var g=0,w=Object.keys(K);g<w.length;g++){n[a=w[g]]=r[a].getBoundingClientRect().width}return n}))},languages:function(){var e,t=navigator,r=[],n=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(void 0!==n&&r.push([n]),Array.isArray(t.languages))W()&&H([!("MediaSettingsRange"in(e=window)),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3||r.push(t.languages);else if("string"==typeof t.languages){var i=t.languages;i&&r.push(i.split(","))}return r},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return L(R(navigator.deviceMemory),void 0)},screenResolution:function(){var e=screen,t=function(e){return L(M(e),null)},r=[t(e.width),t(e.height)];return r.sort().reverse(),r},hardwareConcurrency:function(){return L(M(navigator.hardwareConcurrency),void 0)},timezone:function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t){var r=(new t).resolvedOptions().timeZone;if(r)return r}var n,i=(n=(new Date).getFullYear(),-Math.max(R(new Date(n,0,1).getTimezoneOffset()),R(new Date(n,6,1).getTimezoneOffset())));return"UTC".concat(i>=0?"+":"").concat(Math.abs(i))},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){var e,t;if(!(V()||(e=window,t=navigator,H(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!V())))try{return!!window.indexedDB}catch(e){return!0}},platform:function(){var e,t=navigator.platform;return"MacIntel"!==t||!G()||H(["safari"in(e=window),!("DeviceMotionEvent"in e),!("ongestureend"in e),!("standalone"in navigator)])>=3?t:function(){if("iPad"===navigator.platform)return!0;var e=screen,t=e.width/e.height;return H(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPad":"iPhone"},plugins:function(){var e=navigator.plugins;if(e){for(var t=[],r=0;r<e.length;++r){var n=e[r];if(n){for(var i=[],o=0;o<n.length;++o){var a=n[o];i.push({type:a.type,suffixes:a.suffixes})}t.push({name:n.name,description:n.description,mimeTypes:i})}}return t}},vendor:function(){return navigator.vendor||""},cookiesEnabled:function(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch(e){return!1}},colorGamut:function(){for(var e=0,t=["rec2020","p3","srgb"];e<t.length;e++){var r=t[e];if(matchMedia("(color-gamut: ".concat(r,")")).matches)return r}},rendererUnmasked:function(e){var t,r=function(e){if(e.webgl)return e.webgl.context;var t,r=document.createElement("canvas");r.addEventListener("webglCreateContextError",(function(){return t=void 0}));for(var n=0,i=["webgl","experimental-webgl"];n<i.length;n++){var o=i[n];try{t=r.getContext(o)}catch(e){}if(t)break}return e.webgl={context:t},t}(e.cache);if(!r)return-1;if(!function(e){return"function"==typeof e.getParameter}(r))return-2;var n=function(){var e,t,r=window;return H(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in r,"mozInnerScreenX"in r,"CSSMozDocumentRule"in r,"CanvasCaptureMediaStream"in r])>=4}()?null:r.getExtension("WEBGL_debug_renderer_info");return n?null===(t=r.getParameter(n.UNMASKED_RENDERER_WEBGL))||void 0===t?void 0:t.toString():""}};function Y(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?k({name:(r=t).name,message:r.message,stack:null===(n=r.stack)||void 0===n?void 0:n.split("\n")},r):t;var r,n}),2)}function Q(e){return function(e,t){t=t||0;var r,n=(e=e||"").length%16,i=e.length-n,o=[0,t],a=[0,t],s=[0,0],c=[0,0],u=[2277735313,289559509],l=[1291169091,658871167];for(r=0;r<i;r+=16)s=[255&e.charCodeAt(r+4)|(255&e.charCodeAt(r+5))<<8|(255&e.charCodeAt(r+6))<<16|(255&e.charCodeAt(r+7))<<24,255&e.charCodeAt(r)|(255&e.charCodeAt(r+1))<<8|(255&e.charCodeAt(r+2))<<16|(255&e.charCodeAt(r+3))<<24],c=[255&e.charCodeAt(r+12)|(255&e.charCodeAt(r+13))<<8|(255&e.charCodeAt(r+14))<<16|(255&e.charCodeAt(r+15))<<24,255&e.charCodeAt(r+8)|(255&e.charCodeAt(r+9))<<8|(255&e.charCodeAt(r+10))<<16|(255&e.charCodeAt(r+11))<<24],s=E(s=O(s,u),31),o=P(o=E(o=D(o,s=O(s,l)),27),a),o=P(O(o,[0,5]),[0,1390208809]),c=E(c=O(c,l),33),a=P(a=E(a=D(a,c=O(c,u)),31),o),a=P(O(a,[0,5]),[0,944331445]);switch(s=[0,0],c=[0,0],n){case 15:c=D(c,j([0,e.charCodeAt(r+14)],48));case 14:c=D(c,j([0,e.charCodeAt(r+13)],40));case 13:c=D(c,j([0,e.charCodeAt(r+12)],32));case 12:c=D(c,j([0,e.charCodeAt(r+11)],24));case 11:c=D(c,j([0,e.charCodeAt(r+10)],16));case 10:c=D(c,j([0,e.charCodeAt(r+9)],8));case 9:c=O(c=D(c,[0,e.charCodeAt(r+8)]),l),a=D(a,c=O(c=E(c,33),u));case 8:s=D(s,j([0,e.charCodeAt(r+7)],56));case 7:s=D(s,j([0,e.charCodeAt(r+6)],48));case 6:s=D(s,j([0,e.charCodeAt(r+5)],40));case 5:s=D(s,j([0,e.charCodeAt(r+4)],32));case 4:s=D(s,j([0,e.charCodeAt(r+3)],24));case 3:s=D(s,j([0,e.charCodeAt(r+2)],16));case 2:s=D(s,j([0,e.charCodeAt(r+1)],8));case 1:s=O(s=D(s,[0,e.charCodeAt(r)]),u),o=D(o,s=O(s=E(s,31),l))}return o=P(o=D(o,[0,e.length]),a=D(a,[0,e.length])),a=P(a,o),o=P(o=N(o),a=N(a)),a=P(a,o),("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)+("00000000"+(a[0]>>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)}(function(e){for(var t="",r=0,n=Object.keys(e).sort();r<n.length;r++){var i=n[r],o=e[i],a=o.error?"error":JSON.stringify(o.value);t+="".concat(t?"|":"").concat(i.replace(/([:|\\])/g,"\\$1"),":").concat(a)}return t}(e))}function $(e){return void 0===e&&(e=50),function(e,t){void 0===t&&(t=1/0);var r=window.requestIdleCallback;return r?new Promise((function(e){return r.call(window,(function(){return e()}),{timeout:t})})):A(Math.min(e,t))}(e,2*e)}function X(e,t){var r=Date.now();return{get:function(n){return _(this,void 0,void 0,(function(){var i,o,a;return x(this,(function(s){switch(s.label){case 0:return i=Date.now(),[4,e()];case 1:return o=s.sent(),a=function(e){var t;return{get visitorId(){return void 0===t&&(t=Q(this.components)),t},set visitorId(e){t=e},components:e,version:"3.5.6"}}(o),(t||(null==n?void 0:n.debug))&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(a.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(i-r,"\nvisitorId: ").concat(a.visitorId,"\ncomponents: ").concat(Y(o),"\n```")),[2,a]}}))}))}}}function Z(){return _(this,arguments,void 0,(function(e){var t=void 0===e?{}:e,r=t.delayFallback,n=t.debug;return x(this,(function(e){switch(e.label){case 0:return[4,$(r)];case 1:return e.sent(),[2,X(F(J,{debug:n,cache:{}},[]),n)]}}))}))}function ee(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}function te(){var e=function(){var e=!1;try{var t=document.createElement("div");t.className="_adbchkr adsbygoogle Ad-Container sidebar-ad ad-slot ad ads doubleclick ad-placement ad-placeholder adbadge BannerAd adsbox",t.setAttribute("style","width: 1px !important; height: 1px !important; position: absolute !important; left: -10000px !important; top: -1000px !important;"),t.setAttribute("data-ad-manager-id","1"),t.setAttribute("data-ad-module","1"),t.setAttribute("data-ad-width","100"),t.setAttribute("data-adblockkey","200"),t.setAttribute("data-advadstrackid","1"),t.innerHTML='<div style="z-index:-1; height:0; width:1px; visibility: hidden; bottom: -1px; left: 0;"></div>',document.body.appendChild(t);var r=document.querySelector(".Ad-Container");e=!r||0===r.offsetHeight}catch(e){}return e}()||function(){var e=["AdHeader","AdContainer","AD_Top","homead","ad-lead"],t=document.createElement("div");for(var r of(t.className="_adbchkr",t.innerHTML=e.map((e=>'<div id="'.concat(e,'"></div>'))).join(""),t.setAttribute("style","width: 1px !important; height: 1px !important; position: absolute !important; left: -10000px !important; top: -1000px !important;"),document.body.appendChild(t),e))if(!document.querySelector("#".concat(r)))return!0;return!1}();return document.querySelectorAll("._adbchkr").forEach((e=>document.body.removeChild(e))),e}function re(){return ne.apply(this,arguments)}function ne(){var e;return e=function*(){var{useScriptLoadCheck:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(window.self!==window.top)return!1;var t=te(),r=e&&(yield new Promise((e=>{var t=document.createElement("script");t.async=!0,t.src="https://js.capndr.com/advertising.js";var r=setTimeout((()=>{t.onerror=null,e(!1)}),4e3);t.onload=()=>{clearTimeout(r),e(!1)},t.onerror=()=>{clearTimeout(r),e(!0)},document.head.appendChild(t)})));return r||t},ne=function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){ee(o,n,i,a,s,"next",e)}function s(e){ee(o,n,i,a,s,"throw",e)}a(void 0)}))},ne.apply(this,arguments)}function ie(e){return"string"==typeof e}var oe={write:function(e,t,r,n,i,o){var a=[];a.push("".concat(e,"=").concat(encodeURIComponent(t))),"number"==typeof r&&a.push("expires="+new Date(r).toUTCString()),ie(n)&&a.push("path="+n),ie(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}};function ae(e){var t,r="0123456789abcdef";function n(e){var t,n="";for(t=0;t<=3;t++)n+=r.charAt(e>>8*t+4&15)+r.charAt(e>>8*t&15);return n}function i(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function o(e,t,r,n,o,a){return i(function(e,t){return e<<t|e>>>32-t}(i(i(t,e),i(n,a)),o),r)}function a(e,t,r,n,i,a,s){return o(t&r|~t&n,e,t,i,a,s)}function s(e,t,r,n,i,a,s){return o(t&n|r&~n,e,t,i,a,s)}function c(e,t,r,n,i,a,s){return o(t^r^n,e,t,i,a,s)}function u(e,t,r,n,i,a,s){return o(r^(t|~n),e,t,i,a,s)}var l,d,p,h,f=function(e){var t,r=1+(e.length+8>>6),n=new Array(16*r);for(t=0;t<16*r;t++)n[t]=0;for(t=0;t<e.length;t++)n[t>>2]|=e.charCodeAt(t)<<t%4*8;return n[t>>2]|=128<<t%4*8,n[16*r-2]=8*e.length,n}(e),m=1732584193,v=-271733879,g=-1732584194,w=271733878;for(t=0;t<f.length;t+=16)l=m,d=v,p=g,h=w,m=a(m,v,g,w,f[t+0],7,-680876936),w=a(w,m,v,g,f[t+1],12,-389564586),g=a(g,w,m,v,f[t+2],17,606105819),v=a(v,g,w,m,f[t+3],22,-1044525330),m=a(m,v,g,w,f[t+4],7,-176418897),w=a(w,m,v,g,f[t+5],12,1200080426),g=a(g,w,m,v,f[t+6],17,-1473231341),v=a(v,g,w,m,f[t+7],22,-45705983),m=a(m,v,g,w,f[t+8],7,1770035416),w=a(w,m,v,g,f[t+9],12,-1958414417),g=a(g,w,m,v,f[t+10],17,-42063),v=a(v,g,w,m,f[t+11],22,-1990404162),m=a(m,v,g,w,f[t+12],7,1804603682),w=a(w,m,v,g,f[t+13],12,-40341101),g=a(g,w,m,v,f[t+14],17,-1502002290),m=s(m,v=a(v,g,w,m,f[t+15],22,1236535329),g,w,f[t+1],5,-165796510),w=s(w,m,v,g,f[t+6],9,-1069501632),g=s(g,w,m,v,f[t+11],14,643717713),v=s(v,g,w,m,f[t+0],20,-373897302),m=s(m,v,g,w,f[t+5],5,-701558691),w=s(w,m,v,g,f[t+10],9,38016083),g=s(g,w,m,v,f[t+15],14,-660478335),v=s(v,g,w,m,f[t+4],20,-405537848),m=s(m,v,g,w,f[t+9],5,568446438),w=s(w,m,v,g,f[t+14],9,-1019803690),g=s(g,w,m,v,f[t+3],14,-187363961),v=s(v,g,w,m,f[t+8],20,1163531501),m=s(m,v,g,w,f[t+13],5,-1444681467),w=s(w,m,v,g,f[t+2],9,-51403784),g=s(g,w,m,v,f[t+7],14,1735328473),m=c(m,v=s(v,g,w,m,f[t+12],20,-1926607734),g,w,f[t+5],4,-378558),w=c(w,m,v,g,f[t+8],11,-2022574463),g=c(g,w,m,v,f[t+11],16,1839030562),v=c(v,g,w,m,f[t+14],23,-35309556),m=c(m,v,g,w,f[t+1],4,-1530992060),w=c(w,m,v,g,f[t+4],11,1272893353),g=c(g,w,m,v,f[t+7],16,-155497632),v=c(v,g,w,m,f[t+10],23,-1094730640),m=c(m,v,g,w,f[t+13],4,681279174),w=c(w,m,v,g,f[t+0],11,-358537222),g=c(g,w,m,v,f[t+3],16,-722521979),v=c(v,g,w,m,f[t+6],23,76029189),m=c(m,v,g,w,f[t+9],4,-640364487),w=c(w,m,v,g,f[t+12],11,-421815835),g=c(g,w,m,v,f[t+15],16,530742520),m=u(m,v=c(v,g,w,m,f[t+2],23,-995338651),g,w,f[t+0],6,-198630844),w=u(w,m,v,g,f[t+7],10,1126891415),g=u(g,w,m,v,f[t+14],15,-1416354905),v=u(v,g,w,m,f[t+5],21,-57434055),m=u(m,v,g,w,f[t+12],6,1700485571),w=u(w,m,v,g,f[t+3],10,-1894986606),g=u(g,w,m,v,f[t+10],15,-1051523),v=u(v,g,w,m,f[t+1],21,-2054922799),m=u(m,v,g,w,f[t+8],6,1873313359),w=u(w,m,v,g,f[t+15],10,-30611744),g=u(g,w,m,v,f[t+6],15,-1560198380),v=u(v,g,w,m,f[t+13],21,1309151649),m=u(m,v,g,w,f[t+4],6,-145523070),w=u(w,m,v,g,f[t+11],10,-1120210379),g=u(g,w,m,v,f[t+2],15,718787259),v=u(v,g,w,m,f[t+9],21,-343485551),m=i(m,l),v=i(v,d),g=i(g,p),w=i(w,h);return n(m)+n(v)+n(g)+n(w)}var se=new class{constructor(){this.state={}}set(e,t){this.state[e]=t}get(e){return this.state[e]||null}remove(e){delete this.state[e]}},ce={set:(e,t)=>localStorage.setItem(e,t),get:e=>localStorage.getItem(e),remove:e=>localStorage.removeItem(e)};try{ce.set("__try",1),ce.get("__try"),ce.remove("__try")}catch(e){ce=se}var ue=ce;class le{constructor(){this.localStoreKey="_ytbaсс",this.betweenUpdateDelayMins=60,this.authStatus=!1,this.nextUpdate=null}lazyAccountCheck(){return!!this.authStatus||(this.detectYouTubeAuth().then((e=>{this.setYoutubeAuthMarker(e,e?null:Date.now())})).catch((()=>null)),!1)}setYoutubeAuthMarker(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.authStatus=e,this.nextUpdate=t,ue.set(this.localStoreKey,JSON.stringify({authStatus:e,nextUpdate:t}))}isUpdatePossible(){return!this.nextUpdate||function(e,t){if(!e||!t)return null;var r=60*t*1e3;return Date.now()-e>r}(this.nextUpdate,this.betweenUpdateDelayMins)}loadYoutubeAuthMarker(){var e=ue.get(this.localStoreKey);if(e)try{var t=JSON.parse(e);this.authStatus=t.authStatus,this.nextUpdate=t.nextUpdate}catch(e){}}detectYouTubeAuth(){var e=document.createElement("img");return e.referrerPolicy="no-referrer",e.src="https://accounts.google.com/ServiceLogin?passive=true&continue=https%3A%2F%2Fm.youtube.com%2Ffavicon.ico&uilel=3&hl=en&service=youtube",new Promise((t=>{e.onload=()=>{t(!0)},e.onerror=()=>{t(!1)}}))}}function de(e){var t,r="0123456789abcdef";function n(e){var t,n="";for(t=0;t<=3;t++)n+=r.charAt(e>>8*t+4&15)+r.charAt(e>>8*t&15);return n}function i(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function o(e,t,r,n,o,a){return i(function(e,t){return e<<t|e>>>32-t}(i(i(t,e),i(n,a)),o),r)}function a(e,t,r,n,i,a,s){return o(t&r|~t&n,e,t,i,a,s)}function s(e,t,r,n,i,a,s){return o(t&n|r&~n,e,t,i,a,s)}function c(e,t,r,n,i,a,s){return o(t^r^n,e,t,i,a,s)}function u(e,t,r,n,i,a,s){return o(r^(t|~n),e,t,i,a,s)}var l,d,p,h,f=function(e){var t,r=1+(e.length+8>>6),n=new Array(16*r);for(t=0;t<16*r;t++)n[t]=0;for(t=0;t<e.length;t++)n[t>>2]|=e.charCodeAt(t)<<t%4*8;return n[t>>2]|=128<<t%4*8,n[16*r-2]=8*e.length,n}(e),m=1732584193,v=-271733879,g=-1732584194,w=271733878;for(t=0;t<f.length;t+=16)l=m,d=v,p=g,h=w,m=a(m,v,g,w,f[t+0],7,-680876936),w=a(w,m,v,g,f[t+1],12,-389564586),g=a(g,w,m,v,f[t+2],17,606105819),v=a(v,g,w,m,f[t+3],22,-1044525330),m=a(m,v,g,w,f[t+4],7,-176418897),w=a(w,m,v,g,f[t+5],12,1200080426),g=a(g,w,m,v,f[t+6],17,-1473231341),v=a(v,g,w,m,f[t+7],22,-45705983),m=a(m,v,g,w,f[t+8],7,1770035416),w=a(w,m,v,g,f[t+9],12,-1958414417),g=a(g,w,m,v,f[t+10],17,-42063),v=a(v,g,w,m,f[t+11],22,-1990404162),m=a(m,v,g,w,f[t+12],7,1804603682),w=a(w,m,v,g,f[t+13],12,-40341101),g=a(g,w,m,v,f[t+14],17,-1502002290),m=s(m,v=a(v,g,w,m,f[t+15],22,1236535329),g,w,f[t+1],5,-165796510),w=s(w,m,v,g,f[t+6],9,-1069501632),g=s(g,w,m,v,f[t+11],14,643717713),v=s(v,g,w,m,f[t+0],20,-373897302),m=s(m,v,g,w,f[t+5],5,-701558691),w=s(w,m,v,g,f[t+10],9,38016083),g=s(g,w,m,v,f[t+15],14,-660478335),v=s(v,g,w,m,f[t+4],20,-405537848),m=s(m,v,g,w,f[t+9],5,568446438),w=s(w,m,v,g,f[t+14],9,-1019803690),g=s(g,w,m,v,f[t+3],14,-187363961),v=s(v,g,w,m,f[t+8],20,1163531501),m=s(m,v,g,w,f[t+13],5,-1444681467),w=s(w,m,v,g,f[t+2],9,-51403784),g=s(g,w,m,v,f[t+7],14,1735328473),m=c(m,v=s(v,g,w,m,f[t+12],20,-1926607734),g,w,f[t+5],4,-378558),w=c(w,m,v,g,f[t+8],11,-2022574463),g=c(g,w,m,v,f[t+11],16,1839030562),v=c(v,g,w,m,f[t+14],23,-35309556),m=c(m,v,g,w,f[t+1],4,-1530992060),w=c(w,m,v,g,f[t+4],11,1272893353),g=c(g,w,m,v,f[t+7],16,-155497632),v=c(v,g,w,m,f[t+10],23,-1094730640),m=c(m,v,g,w,f[t+13],4,681279174),w=c(w,m,v,g,f[t+0],11,-358537222),g=c(g,w,m,v,f[t+3],16,-722521979),v=c(v,g,w,m,f[t+6],23,76029189),m=c(m,v,g,w,f[t+9],4,-640364487),w=c(w,m,v,g,f[t+12],11,-421815835),g=c(g,w,m,v,f[t+15],16,530742520),m=u(m,v=c(v,g,w,m,f[t+2],23,-995338651),g,w,f[t+0],6,-198630844),w=u(w,m,v,g,f[t+7],10,1126891415),g=u(g,w,m,v,f[t+14],15,-1416354905),v=u(v,g,w,m,f[t+5],21,-57434055),m=u(m,v,g,w,f[t+12],6,1700485571),w=u(w,m,v,g,f[t+3],10,-1894986606),g=u(g,w,m,v,f[t+10],15,-1051523),v=u(v,g,w,m,f[t+1],21,-2054922799),m=u(m,v,g,w,f[t+8],6,1873313359),w=u(w,m,v,g,f[t+15],10,-30611744),g=u(g,w,m,v,f[t+6],15,-1560198380),v=u(v,g,w,m,f[t+13],21,1309151649),m=u(m,v,g,w,f[t+4],6,-145523070),w=u(w,m,v,g,f[t+11],10,-1120210379),g=u(g,w,m,v,f[t+2],15,718787259),v=u(v,g,w,m,f[t+9],21,-343485551),m=i(m,l),v=i(v,d),g=i(g,p),w=i(w,h);return n(m)+n(v)+n(g)+n(w)}class pe{constructor(){this.AUCTION_AND_METRIC_SECRET="adblock-proxy-super-secret-for-formats",this.PROXY_SECRET="adblock-proxy-super-secret-proxy",this.CDN_SECRET="adblock-proxy-super-secret",this.cdnAssetsPathSecret="adblocksucks",this.tagConfigPathSecret="adblocksucs",this.FORMATS_WITH_UNIQ_SECRETS={native:"adblock-proxy-super-secret-for-formats-inpage",inpage:"adblock-proxy-super-secret-for-formats-inpage",popunder:"adblock-proxy-super-secret",banner:"adblock-proxy-super-secret"}}getDateForHash(){var e=(new Date).toISOString().split("T")[0].replace(/-/gi,".").substring(2);return["24.10.18","24.10.20","24.10.31"].includes(e)?"24.10.17":e}generateCdnDomain(e){var t="".concat(e||this.getDateForHash(),":").concat(this.CDN_SECRET,":domain"),r="".concat(de(t).substring(0,10),".com");return"https://".concat(de("".concat(r,":").concat(this.CDN_SECRET)).substring(0,10),".").concat(r)}generateHashedProxyDomain(){var e="".concat(this.getDateForHash(),":").concat(this.PROXY_SECRET,":domain"),t="".concat(de(e).substring(0,10),".com"),r="".concat(t,":").concat(this.PROXY_SECRET,":proxy");return"https://".concat(de(r).substring(0,10),".").concat(t)}generateMetricHashDomain(){var e="".concat(this.getDateForHash(),":").concat(this.AUCTION_AND_METRIC_SECRET,":domain"),t="".concat(de(e).substring(0,10),".com"),r="".concat(t,":").concat(this.AUCTION_AND_METRIC_SECRET,":front");return"https://".concat(de(r).substring(0,10),".").concat(t)}generateAuctionUrl(e){var t,r=null!==(t=this.FORMATS_WITH_UNIQ_SECRETS[e])&&void 0!==t?t:this.AUCTION_AND_METRIC_SECRET,n="".concat(this.getDateForHash(),":").concat(r,":domain"),i="".concat(de(n).substring(0,10),".com"),o="".concat(i,":").concat(r,":").concat(e);return"https://".concat(de(o).substring(0,10),".").concat(i)}generateNativeAuctionUrl(){var e="".concat(this.AUCTION_AND_METRIC_SECRET,"-native"),t="".concat(this.getDateForHash(),":").concat(e,":domain"),r="".concat(de(t).substring(0,10),".com"),n="".concat(r,":").concat(e,":native");return"https://".concat(de(n).substring(0,10),".").concat(r)}convertToHashedUrl(e){var t=e.replace(/^(https?):\/\//,"").split("/").slice(1).join("/").split("?")[0];return"".concat(this.createHashPath("/".concat(t)),".js")}templateSecondPartUrl(e,t){return"".concat(t||this.getDateForHash(),":").concat(this.cdnAssetsPathSecret,":").concat(e)}createHashPath(e,t){return"".concat(this.generateCdnDomain(t),"/").concat(de(this.templateSecondPartUrl(e,t)))}createHashTagUrl(){return"".concat(this.generateCdnDomain(),"/").concat(de("".concat(this.getDateForHash(),":").concat(this.tagConfigPathSecret,":tags")))}}function he(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}function fe(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach((function(t){fe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ge(e){return"string"==typeof e}function we(e,t){var r;if(null!=e)if("object"!=typeof e&&(e=[e]),r=e,"[object Array]"===Object.prototype.toString.call(r))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}class be{constructor(){this.state={}}set(e,t){this.state[e]=t}get(e){return this.state[e]||null}remove(e){delete this.state[e]}}var ye=new be,Se={set:(e,t)=>sessionStorage.setItem(e,t),get:e=>sessionStorage.getItem(e),remove:e=>sessionStorage.removeItem(e)};try{Se.set("__try",1),Se.get("__try"),Se.remove("__try")}catch(e){Se=ye}var ke=Se;var _e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e.g?e.g:"undefined"!=typeof self?self:{};var xe,Ae,Ce=(xe=function(e,t){!function(r,n){var i="function",o="undefined",a="object",s="string",c="major",u="model",l="name",d="type",p="vendor",h="version",f="architecture",m="console",v="mobile",g="tablet",w="smarttv",b="wearable",y="embedded",S="Amazon",k="Apple",_="ASUS",x="BlackBerry",A="Browser",C="Chrome",T="Firefox",I="Google",P="Huawei",O="LG",E="Microsoft",j="Motorola",D="Opera",N="Samsung",M="Sharp",R="Sony",L="Xiaomi",H="Zebra",U="Facebook",F="Chromium OS",q="Mac OS",B=" Browser",z=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},V=function(e,t){return typeof e===s&&-1!==W(t).indexOf(W(e))},W=function(e){return e.toLowerCase()},G=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,""),typeof t===o?e:e.substring(0,500)},K=function(e,t){for(var r,o,s,c,u,l,d=0;d<t.length&&!u;){var p=t[d],h=t[d+1];for(r=o=0;r<p.length&&!u&&p[r];)if(u=p[r++].exec(e))for(s=0;s<h.length;s++)l=u[++o],typeof(c=h[s])===a&&c.length>0?2===c.length?typeof c[1]==i?this[c[0]]=c[1].call(this,l):this[c[0]]=c[1]:3===c.length?typeof c[1]!==i||c[1].exec&&c[1].test?this[c[0]]=l?l.replace(c[1],c[2]):n:this[c[0]]=l?c[1].call(this,l,c[2]):n:4===c.length&&(this[c[0]]=l?c[3].call(this,l.replace(c[1],c[2])):n):this[c]=l||n;d+=2}},J=function(e,t){for(var r in t)if(typeof t[r]===a&&t[r].length>0){for(var i=0;i<t[r].length;i++)if(V(t[r][i],e))return"?"===r?n:r}else if(V(t[r],e))return"?"===r?n:r;return t.hasOwnProperty("*")?t["*"]:e},Y={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,h],[/opios[\/ ]+([\w\.]+)/i],[h,[l,D+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[h,[l,D+" GX"]],[/\bopr\/([\w\.]+)/i],[h,[l,D]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[h,[l,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[l,h],[/quark(?:pc)?\/([-\w\.]+)/i],[h,[l,"Quark"]],[/\bddg\/([\w\.]+)/i],[h,[l,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[l,"UC"+A]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[h,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[l,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[h,[l,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[h,[l,"Smart Lenovo "+A]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure "+A],h],[/\bfocus\/([\w\.]+)/i],[h,[l,T+" Focus"]],[/\bopt\/([\w\.]+)/i],[h,[l,D+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[l,D+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[l,"MIUI "+A]],[/fxios\/([-\w\.]+)/i],[h,[l,T]],[/\bqihu|(qi?ho?o?|360)browser/i],[[l,"360"+B]],[/\b(qq)\/([\w\.]+)/i],[[l,/(.+)/,"$1Browser"],h],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1"+B],h],[/samsungbrowser\/([\w\.]+)/i],[h,[l,N+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],h],[/metasr[\/ ]?([\d\.]+)/i],[h,[l,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[l,"Sogou Mobile"],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[l,h],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,U],h],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[l,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[l,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[h,[l,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[l,C+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,C+" WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[l,"Android "+A]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[h,J,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[l,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],h],[/(wolvic)\/([\w\.]+)/i],[l,h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[l,T+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[l,[h,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[l,[h,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,W]],[/((?:i[346]|x)86)[;\)]/i],[[f,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[f,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[f,"armhf"]],[/windows (ce|mobile); ppc;/i],[[f,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[f,/ower/,"",W]],[/(sun4\w)[;\)]/i],[[f,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[f,W]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[u,[p,N],[d,g]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[u,[p,N],[d,v]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[u,[p,k],[d,v]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[p,k],[d,g]],[/(macintosh);/i],[u,[p,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[p,M],[d,v]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[u,[p,P],[d,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[u,[p,P],[d,v]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[u,/_/g," "],[p,L],[d,v]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[p,L],[d,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[p,"OPPO"],[d,v]],[/\b(opd2\d{3}a?) bui/i],[u,[p,"OPPO"],[d,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[p,"Vivo"],[d,v]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[u,[p,"Realme"],[d,v]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[u,[p,j],[d,v]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[p,j],[d,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[p,O],[d,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[p,O],[d,v]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[u,[p,"Lenovo"],[d,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[u,/_/g," "],[p,"Nokia"],[d,v]],[/(pixel c)\b/i],[u,[p,I],[d,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[p,I],[d,v]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[p,R],[d,v]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[p,R],[d,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[p,"OnePlus"],[d,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[p,S],[d,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[p,S],[d,v]],[/(playbook);[-\w\),; ]+(rim)/i],[u,p,[d,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[p,x],[d,v]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[p,_],[d,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[p,_],[d,v]],[/(nexus 9)/i],[u,[p,"HTC"],[d,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[p,[u,/_/g," "],[d,v]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[u,[p,"TCL"],[d,g]],[/(itel) ((\w+))/i],[[p,W],u,[d,J,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[p,"Acer"],[d,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[p,"Meizu"],[d,v]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[u,[p,"Ulefone"],[d,v]],[/droid.+; (a(?:015|06[35]|142p?))/i],[u,[p,"Nothing"],[d,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[p,u,[d,v]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,u,[d,g]],[/(surface duo)/i],[u,[p,E],[d,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[p,"Fairphone"],[d,v]],[/(u304aa)/i],[u,[p,"AT&T"],[d,v]],[/\bsie-(\w*)/i],[u,[p,"Siemens"],[d,v]],[/\b(rct\w+) b/i],[u,[p,"RCA"],[d,g]],[/\b(venue[\d ]{2,7}) b/i],[u,[p,"Dell"],[d,g]],[/\b(q(?:mv|ta)\w+) b/i],[u,[p,"Verizon"],[d,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[p,"Barnes & Noble"],[d,g]],[/\b(tm\d{3}\w+) b/i],[u,[p,"NuVision"],[d,g]],[/\b(k88) b/i],[u,[p,"ZTE"],[d,g]],[/\b(nx\d{3}j) b/i],[u,[p,"ZTE"],[d,v]],[/\b(gen\d{3}) b.+49h/i],[u,[p,"Swiss"],[d,v]],[/\b(zur\d{3}) b/i],[u,[p,"Swiss"],[d,g]],[/\b((zeki)?tb.*\b) b/i],[u,[p,"Zeki"],[d,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],u,[d,g]],[/\b(ns-?\w{0,9}) b/i],[u,[p,"Insignia"],[d,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[p,"NextBook"],[d,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],u,[d,v]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],u,[d,v]],[/\b(ph-1) /i],[u,[p,"Essential"],[d,v]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[p,"Envizen"],[d,g]],[/\b(trio[-\w\. ]+) b/i],[u,[p,"MachSpeed"],[d,g]],[/\btu_(1491) b/i],[u,[p,"Rotor"],[d,g]],[/(shield[\w ]+) b/i],[u,[p,"Nvidia"],[d,g]],[/(sprint) (\w+)/i],[p,u,[d,v]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[p,E],[d,v]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[p,H],[d,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[p,H],[d,v]],[/smart-tv.+(samsung)/i],[p,[d,w]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[p,N],[d,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,O],[d,w]],[/(apple) ?tv/i],[p,[u,k+" TV"],[d,w]],[/crkey/i],[[u,C+"cast"],[p,I],[d,w]],[/droid.+aft(\w+)( bui|\))/i],[u,[p,S],[d,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[u,[p,M],[d,w]],[/(bravia[\w ]+)( bui|\))/i],[u,[p,R],[d,w]],[/(mitv-\w{5}) bui/i],[u,[p,L],[d,w]],[/Hbbtv.*(technisat) (.*);/i],[p,u,[d,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[p,G],[u,G],[d,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,u,[d,m]],[/droid.+; (shield) bui/i],[u,[p,"Nvidia"],[d,m]],[/(playstation [345portablevi]+)/i],[u,[p,R],[d,m]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[p,E],[d,m]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[u,[p,N],[d,b]],[/((pebble))app/i],[p,u,[d,b]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[u,[p,k],[d,b]],[/droid.+; (glass) \d/i],[u,[p,I],[d,b]],[/droid.+; (wt63?0{2,3})\)/i],[u,[p,H],[d,b]],[/(quest( \d| pro)?)/i],[u,[p,U],[d,b]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[d,y]],[/(aeobc)\b/i],[u,[p,S],[d,y]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[u,[d,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[d,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,g]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,v]],[/(android[-\w\. ]{0,9});.+buil/i],[u,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[l,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[l,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,h],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[l,[h,J,Y]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,J,Y],[l,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,q],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,h],[/\(bb(10);/i],[h,[l,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[l,T+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[l,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[h,[l,"watchOS"]],[/crkey\/([\d\.]+)/i],[h,[l,C+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[l,F],h],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[l,h],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[l,h]]},$=function(e,t){if(typeof e===a&&(t=e,e=n),!(this instanceof $))return new $(e,t).getResult();var m=typeof r!==o&&r.navigator?r.navigator:n,w=e||(m&&m.userAgent?m.userAgent:""),b=m&&m.userAgentData?m.userAgentData:n,y=t?function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r}(Q,t):Q,S=m&&m.userAgent==w;return this.getBrowser=function(){var e={};return e[l]=n,e[h]=n,K.call(e,w,y.browser),e[c]=function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:n}(e[h]),S&&m&&m.brave&&typeof m.brave.isBrave==i&&(e[l]="Brave"),e},this.getCPU=function(){var e={};return e[f]=n,K.call(e,w,y.cpu),e},this.getDevice=function(){var e={};return e[p]=n,e[u]=n,e[d]=n,K.call(e,w,y.device),S&&!e[d]&&b&&b.mobile&&(e[d]=v),S&&"Macintosh"==e[u]&&m&&typeof m.standalone!==o&&m.maxTouchPoints&&m.maxTouchPoints>2&&(e[u]="iPad",e[d]=g),e},this.getEngine=function(){var e={};return e[l]=n,e[h]=n,K.call(e,w,y.engine),e},this.getOS=function(){var e={};return e[l]=n,e[h]=n,K.call(e,w,y.os),S&&!e[l]&&b&&b.platform&&"Unknown"!=b.platform&&(e[l]=b.platform.replace(/chrome os/i,F).replace(/macos/i,q)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return w},this.setUA=function(e){return w=typeof e===s&&e.length>500?G(e,500):e,this},this.setUA(w),this};$.VERSION="1.0.39",$.BROWSER=z([l,h,c]),$.CPU=z([f]),$.DEVICE=z([u,p,d,m,v,w,g,b,y]),$.ENGINE=$.OS=z([l,h]),e.exports&&(t=e.exports=$),t.UAParser=$;var X=typeof r!==o&&(r.jQuery||r.Zepto);if(X&&!X.ua){var Z=new $;X.ua=Z.getResult(),X.ua.get=function(){return Z.getUA()},X.ua.set=function(e){Z.setUA(e);var t=Z.getResult();for(var r in t)X.ua[r]=t[r]}}}("object"==typeof window?window:_e)},xe(Ae={exports:{}},Ae.exports),Ae.exports);var Te=function(e,t,r,n,i,o){var a=[];a.push("".concat(e,"=").concat(encodeURIComponent(t))),"number"==typeof r&&a.push("expires="+new Date(r).toUTCString()),ge(n)&&a.push("path="+n),ge(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},Ie=function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},Pe="source",Oe="promo",Ee="source";var je="_adm_erd";function De(e,t){var r;try{r=window.top!==window&&window.location.origin===window.top.location.origin&&3826===t}catch(e){r=!1}je=r?"_adm_erdso":je;var{referrer:n}=document,i=e.getItem(je),o=n.split("/")[2]||"",a="";return a=""===i||i?i:o,e.setItem(je,a),a}var Ne=new be,Me={set:(e,t)=>localStorage.setItem(e,t),get:e=>localStorage.getItem(e),remove:e=>localStorage.removeItem(e)};try{Me.set("__try",1),Me.get("__try"),Me.remove("__try")}catch(e){Me=Ne}var Re=Me;function Le(){var e="cb_gyro",t=Re.get(e)||0;return t||window.addEventListener("deviceorientation",(t=>{null!==t.alpha&&Re.set(e,1)})),Number(t)}function He(e){var t,r;return{plugins:(null===(t=e.components.plugins.value)||void 0===t?void 0:t.reduce(((e,t)=>(e.push(t.name),e)),[]))||[],languages:(null===(r=e.components.languages.value)||void 0===r?void 0:r.reduce(((e,t)=>(t.forEach((t=>{e.includes(t)||e.push(t)})),e)),[]))||[],fonts:e.components.fonts.value||[],fontPreferences:e.components.fontPreferences.value||{},platform:e.components.platform.value||"",colorDepth:e.components.colorDepth.value||0,deviceMemory:e.components.deviceMemory.value||0,hardwareConcurrency:e.components.hardwareConcurrency.value||0,indexedDB:e.components.indexedDB.value||!1,sessionStorage:e.components.sessionStorage.value||!1,localStorage:e.components.localStorage.value||!1,cookiesEnabled:e.components.cookiesEnabled.value||!1,colorGamut:e.components.colorGamut.value||""}}function Ue(e,t,r,n,i){var o=new Error(e);return o.config=t,r&&(o.code=r),o.request=n,o.response=i,o.isHttpError=!0,o.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},o}function Fe(e){return new Promise((function(t,r){var n,i,o=e.data,a=e.headers,s=new XMLHttpRequest,c=(n=e.baseURL,i=e.url,n&&!function(e){return/^([a-z][a-z\d\\+\-\\.]*:)?\/\//i.test(e)}(i)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(n,i):i);if(s.open(e.method.toUpperCase(),function(e,t){if(!t)return e;var r=Object.keys(t).reduce(((e,r,n,i)=>{var o="".concat(e).concat(r,"=").concat(encodeURIComponent(t[r]));return n!==i.length-1&&(o+="&"),o}),"");return"".concat(e,"?").concat(r)}(c,e.params),!0),s.timeout=e.timeout,s.onreadystatechange=function(){if(s&&4===s.readyState&&(0!==s.status||s.responseURL&&0===s.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in s?s.getAllResponseHeaders().split("\r\n").reduce(((e,t)=>{var[r,n]=t.split(": ");return r?ve(ve({},e),{},{[null==r?void 0:r.toLowerCase()]:n}):e}),{}):null,i={data:e.responseType&&"text"!==e.responseType?s.response:s.responseText,status:s.status,statusText:s.statusText,headers:n,config:e,request:s};!function(e,t,r){!r.status||r.status>=200&&r.status<300?e(r):t(Ue("Request failed with status code "+r.status,r.config,null,r.request,r))}(t,r,i),s=null}},s.onabort=function(){s&&(r(Ue("Request aborted",e,"ECONNABORTED",s)),s=null)},s.onerror=function(){r(Ue("Network Error",e,null,s)),s=null},s.ontimeout=function(){var t="timeout of ".concat(e.timeout,"ms exceeded");e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(Ue(t,e,"ECONNABORTED",s)),s=null},"setRequestHeader"in s&&we(a,(function(e,t){void 0===o&&"content-type"===t.toLowerCase()?delete a[t]:s.setRequestHeader(t,e)})),void 0!==e.withCredentials&&(s.withCredentials=!!e.withCredentials),e.responseType)try{s.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}o||(o=null),s.send(o)}))}function qe(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}var Be=new class{constructor(e){this.defaults={timeout:0}}dispatchRequest(e){var t;return null!==(t=e.data)&&"object"==typeof t&&(e.headers||(e.headers={}),e.headers["Content-Type"]="application/json;charset=utf-8",e.data=JSON.stringify(e.data)),Fe(e).then((function(e){return e.data=qe(e.data),e}),(function(e){return e&&e.response&&(e.response.data=qe(e.response.data)),Promise.reject(e)}))}get(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.dispatchRequest(ve(ve({},t),{},{url:e,method:"get"}))}post(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.dispatchRequest(ve(ve({},r),{},{url:e,method:"post",data:r.data?r.data:t}))}};function ze(e,t){if(!e||!t)return null;var r=60*t*1e3;return Date.now()-e>r}function Ve(){return new Promise((function(e,t){var r,n,i="Unknown";function o(t){e({isPrivate:t,browserName:i})}function a(e){return e===eval.toString().length}function s(){void 0!==navigator.maxTouchPoints?function(){try{var e=window.indexedDB.open("test",1);e.onupgradeneeded&&(e.onupgradeneeded=function(e){var t=e.target.result;try{t.createObjectStore("test",{autoIncrement:!0}).put(new Blob),o(!1)}catch(e){/BlobURLs are not yet supported/.test(e.message)?o(!0):o(!1)}}),o(!1)}catch(e){o(!1)}}():function(){var e=window.openDatabase,t=window.localStorage;try{e(null,null,null,null)}catch(e){return o(!0)}try{t.setItem("test","1"),t.removeItem("test")}catch(e){return o(!0)}o(!1)}()}function c(){navigator.webkitTemporaryStorage.queryUsageAndQuota((function(e,t){var r;o(t<(void 0!==(r=window).performance&&void 0!==r.performance.memory&&void 0!==r.performance.memory.jsHeapSizeLimit?performance.memory.jsHeapSizeLimit:1073741824))}),(function(e){t(new Error("detectIncognito somehow failed to query storage quota: "+e.message))}))}function u(){void 0!==Promise&&void 0!==Promise.allSettled?c():(0,window.webkitRequestFileSystem)(0,1,(function(){o(!1)}),(function(){o(!0)}))}void 0!==(n=navigator.vendor)&&0===n.indexOf("Apple")&&a(37)?(i="Safari",s()):function(){var e=navigator.vendor;return void 0!==e&&0===e.indexOf("Google")&&a(33)}()?(r=navigator.userAgent,i=r.match(/Chrome/)?void 0!==navigator.brave?"Brave":r.match(/Edg/)?"Edge":r.match(/OPR/)?"Opera":"Chrome":"Chromium",u()):void 0!==document.documentElement&&void 0!==document.documentElement.style.MozAppearance&&a(37)?(i="Firefox",o(void 0===navigator.serviceWorker)):void 0!==navigator.msSaveBlob&&a(39)?(i="Internet Explorer",o(void 0===window.indexedDB)):t(new Error("detectIncognito cannot determine the browser"))}))}var We="__adm-vid",Ge="__adm-vid_new",Ke=10080;function Je(){var e;return e=function*(e,t,r){var n=window.Intl&&Intl.DateTimeFormat().resolvedOptions().timeZone,i=yield Ve();try{var o,{browserFamily:a,browserName:s}=function(e){var t=e.browser.name||"",r=(e.browser.version||"").split(".")[0];return{browserFamily:t,browserName:"".concat(t," ").concat(r).trim()}}(r),c=yield Be.post("https://fp.metricswpsh.com/fp?tag_id=".concat(e),ve(ve({timezoneOlson:n,incognito:i.isPrivate},t.components),{},{brand:r.device.vendor||"",device:r.device.model||"",os_type:r.device.type,os_family:r.os.name,front_browser_family:a,front_browser_name:s}),{withCredentials:!0});return{fp:c.data.fp,fp_str:(null==c||null===(o=c.data)||void 0===o?void 0:o.fp_str)||""}}catch(e){return console.warn(e),null}},Je=function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){he(o,n,i,a,s,"next",e)}function s(e){he(o,n,i,a,s,"throw",e)}a(void 0)}))},Je.apply(this,arguments)}function Ye(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=function(){var e=JSON.parse(Re.get(We)),t=JSON.parse(Re.get(Ge));return t&&!ze(t.createdAt,Ke)?{fp:t.fpValue,fp_str:t.fpValueStr||""}:e&&"object"==typeof e.fpValue&&null!==e.fpValue&&!ze(e.createdAt,Ke)?{fp:e.fpValue.fp,fp_str:e.fpValue.fp_str||""}:e&&"number"==typeof e.fpValue&&!ze(e.createdAt,Ke)?{fp:e.fpValue,fp_str:e.fpValueStr||""}:null}();return n||function(e,t,r){return Je.apply(this,arguments)}(e,t,r).then((e=>{return t=e,Re.remove(We),void Re.set(Ge,JSON.stringify({fpValue:t.fp,fpValueStr:t.fp_str,createdAt:Date.now()}));var t})),n}var Qe={utm_source:"utm1",utm_medium:"utm2",utm_campaign:"utm3",utm_content:"utm4",campaign:"camp"};function $e(e){return function(e){try{return new URL(e),!0}catch(e){return!1}}(e)&&"t.co"===new URL(e).hostname.toLowerCase()}function Xe(e){var{ua:t}=e,r=$e(document.referrer),n=/android-app/i.test(document.referrer),i=/MicroMessenger|WeChat|Weixin/i.test(t),o=/snapchat/i.test(t),a=/FBAN|FBIOS|FBAV|FB_IAB|FB4A/i.test(t),s=/instagram/i.test(t);return r||n||i||o||a||s}var Ze="cc_dm",et={devModeQueryStringParameter:Ze,utm_mapping:!1,iabcat:25,iab_extended:"25-3",label:1,script_defer:!1,tagId:null,default_keywords:[]};function tt(e){var t,{visitorId:r,isAdBlock:n,isTubeSite:i,fingerprint:o,userAgentData:a={},tagAbVersion:s="a",magmaClickResolverEnable:c,config:u=et,v2:l=0,siteId:d=null,isGoogleTopicsDisallowed:p=!1,sessionService:h}=e,f=(t=location.search.split("?"))[t.length-1].split("&").reduce(((e,t)=>{var[r,n]=t.split("=");return r&&(e[r]=n),e}),{}),m=Boolean(window.web3||window.ethereum),v=function(){var{title:e}=document,t=document.head.querySelector("meta[name=keywords]"),r=document.head.querySelector("meta[name=description]"),n=e;return[t,r].forEach((e=>{n+=e?" ".concat(e.content):""})),n.trim().replace(/\s?[,.:;!?/|&-]?\s/g,(e=>"&"===e||"|"===e?"":","))}(),g=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n="_tp_",i={};return e.forEach((e=>{var o=Re.get(n+e),a=t[e]||t[Qe[e]]||t[r[e]];i[e]=a||o||"",a&&Re.set(n+e,a)})),i}(["utm_source","utm_medium","utm_campaign","utm_content","campaign"],f,u.utm_mapping),w=function(e){var t=0;return null!==Ie(Pe)&&(t=Ie(Pe)),[Oe,Ee].forEach((r=>{e[r]&&(Te(Pe,e[r],Date.now()+31536e6),t=e[r])})),Number(t)}(f);c&&0===w&&g.campaign&&(g.utm_source="mck",g.utm_medium=g.campaign,g.utm_campaign=d,w=Number(d));var b,y,S,k,_,x,A,C,T,I,P=p?[]:function(){try{var e,t="topsids";if("browsingTopics"in document&&null!==(e=document)&&void 0!==e&&null!==(e=e.featurePolicy)&&void 0!==e&&e.allowsFeature("browsing-topics")){document.browsingTopics().then((e=>{var r=e.map((e=>e.topic));Re.set(t,JSON.stringify(r))}));var r=Re.get(t);return r&&JSON.parse(r)||[]}return[]}catch(e){return[]}}(),O=((b=(new Ce).getResult()).device.type=b.device.type||"desktop",b),E=Ye(u.tagId,o,O);return{userId:r,isAdBlock:n,isMetaMaskActive:m,isSslProtocol:"https:"===window.location.protocol,resolution:[+(screen&&screen.width||window.outerWidth),+(screen&&screen.height||window.outerHeight)],labels:ke.get("labels")||"",sub:w,title:window.document.title,tags:"",debugMode:"1"===f[Ze],holdableQSParams:g,qs:f,ua:O,timezone:Math.trunc((new Date).getTimezoneOffset()/-60),timezoneOlson:window.Intl&&Intl.DateTimeFormat().resolvedOptions().timeZone,entryReferrerDomain:De(h,u.tagId),magmaSourceId:Ie("magma_source"),keywords:encodeURIComponent(v),isAccelerometer:(T="cb_acce",I=Re.get(T)||0,I||window.addEventListener("devicemotion",(e=>{null!==e.accelerationIncludingGravity.x&&Re.set(T,1)})),Number(I)),isGyroscope:Le(),isTubeSite:i,fingerprintParams:He(o),page:encodeURIComponent(window.location.href).replace(/%2F/g,"/"),userAgentData:a,visitorId:E?E.fp:null,visitorIdString:E?E.fp_str:"",v2:l,iabCategory:u.iabcat,iabCategoryExtended:u.iab_extended,mainCategory:u.label,scriptDefer:u.script_defer,tagAbVersion:s,defaultKeywords:u.default_keywords,topics:P,isWebView:(y=navigator.userAgent||navigator.vendor||window.opera,S=/safari/i.test(y)&&!/chrome/i.test(y),k=/iPhone|iPod|iPad/i.test(y)&&!window.MSStream&&!S,_=!(!window.webkit||!window.webkit.messageHandlers),x=S&&void 0===navigator.standalone,A=/android/i.test(y)&&(/wv/.test(y)||/Android.*Version\/[0-9]+\.[0-9]+/.test(y)),C=!(!window.Android&&!window.JSInterface),k||_||x||A||C),isInApp:Xe(O)}}function rt(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}function nt(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){rt(o,n,i,a,s,"next",e)}function s(e){rt(o,n,i,a,s,"throw",e)}a(void 0)}))}}var it=new class{constructor(){this.state={}}set(e,t){this.state[e]=t}get(e){return this.state[e]||null}remove(e){delete this.state[e]}},ot={set:(e,t)=>localStorage.setItem(e,t),get:e=>localStorage.getItem(e),remove:e=>localStorage.removeItem(e)};try{ot.set("__try",1),ot.get("__try"),ot.remove("__try")}catch(e){ot=it}var at=ot;class st{constructor(e){this.iframeUrl=e,this.iframe=null,this.iframeLoaded=!1,this.eventsQueue=[],this.messagesQueue={}}init(){this.iframe=document.createElement("iframe"),this.iframe.style.display="none",this.iframe.src=this.iframeUrl,document.body.appendChild(this.iframe),this.iframe.onload=()=>{this.iframeLoaded=!0,this.eventsQueue.forEach((e=>{this.iframe.contentWindow.postMessage(e,"*")})),this.eventsQueue=[]},window.addEventListener("message",(e=>this.handleIframeResponse(e.data)))}handleIframeResponse(e){var{messageId:t,value:r}=e;t&&this.messagesQueue[t]&&(this.messagesQueue[t].resolve(r),clearTimeout(this.messagesQueue[t].rejectTimeout),delete this.messagesQueue[t])}send(e,t,r){return new Promise(((n,i)=>{var o=(Math.random()+1).toString(36).substring(5);this.iframeLoaded?this.iframe.contentWindow.postMessage({action:e,messageId:o,key:t,value:r},"*"):this.eventsQueue.push({action:e,messageId:o,key:t,value:r}),this.messagesQueue[o]={resolve:e=>n(e),rejectTimeout:setTimeout((()=>i(new Error("iFrame did not respond"))),50)}}))}set(e,t){var r=this;return nt((function*(){at.set(e,JSON.stringify(t)),yield r.send("SET",e,t)}))()}get(e){var t=this;return nt((function*(){return yield t.synchronize(e)}))()}remove(e){var t=this;return nt((function*(){at.remove(e),yield t.send("REMOVE",e),yield t.synchronize(e)}))()}clear(){return this.send("CLEAR")}synchronize(e){var t=this;return nt((function*(){var r,n;try{r=yield t.send("GET",e);var i=at.get(e)||null;n=i?JSON.parse(i):null}catch(e){n=null}if(!r&&n){try{yield t.send("SET",e,n)}catch(e){}return n}return r?(at.set(e,JSON.stringify(r)),r):null}))()}}function ct(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}function ut(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){ct(o,n,i,a,s,"next",e)}function s(e){ct(o,n,i,a,s,"throw",e)}a(void 0)}))}}function lt(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(r),!0).forEach((function(t){lt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ht(e,t,r,n,i){var o=new Error(e);return o.config=t,r&&(o.code=r),o.request=n,o.response=i,o.isHttpError=!0,o.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},o}function ft(e,t){var r;if(null!=e)if("object"!=typeof e&&(e=[e]),r=e,"[object Array]"===Object.prototype.toString.call(r))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function mt(e){return new Promise((function(t,r){var n,i,o=e.data,a=e.headers,s=new XMLHttpRequest,c=(n=e.baseURL,i=e.url,n&&!function(e){return/^([a-z][a-z\d\\+\-\\.]*:)?\/\//i.test(e)}(i)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(n,i):i);if(s.open(e.method.toUpperCase(),function(e,t){if(!t)return e;var r=Object.keys(t).reduce(((e,r,n,i)=>{var o="".concat(e).concat(r,"=").concat(encodeURIComponent(t[r]));return n!==i.length-1&&(o+="&"),o}),"");return"".concat(e,"?").concat(r)}(c,e.params),!0),s.timeout=e.timeout,s.onreadystatechange=function(){if(s&&4===s.readyState&&(0!==s.status||s.responseURL&&0===s.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in s?s.getAllResponseHeaders().split("\r\n").reduce(((e,t)=>{var[r,n]=t.split(": ");return r?pt(pt({},e),{},{[null==r?void 0:r.toLowerCase()]:n}):e}),{}):null,i={data:e.responseType&&"text"!==e.responseType?s.response:s.responseText,status:s.status,statusText:s.statusText,headers:n,config:e,request:s};!function(e,t,r){!r.status||r.status>=200&&r.status<300?e(r):t(ht("Request failed with status code "+r.status,r.config,null,r.request,r))}(t,r,i),s=null}},s.onabort=function(){s&&(r(ht("Request aborted",e,"ECONNABORTED",s)),s=null)},s.onerror=function(){r(ht("Network Error",e,null,s)),s=null},s.ontimeout=function(){var t="timeout of ".concat(e.timeout,"ms exceeded");e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(ht(t,e,"ECONNABORTED",s)),s=null},"setRequestHeader"in s&&ft(a,(function(e,t){void 0===o&&"content-type"===t.toLowerCase()?delete a[t]:s.setRequestHeader(t,e)})),void 0!==e.withCredentials&&(s.withCredentials=!!e.withCredentials),e.responseType)try{s.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}o||(o=null),s.send(o)}))}function vt(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}var gt=new class{constructor(e){this.defaults={timeout:0}}dispatchRequest(e){var t;return null!==(t=e.data)&&"object"==typeof t&&(e.headers||(e.headers={}),e.headers["Content-Type"]="application/json;charset=utf-8",e.data=JSON.stringify(e.data)),mt(e).then((function(e){return e.data=vt(e.data),e}),(function(e){return e&&e.response&&(e.response.data=vt(e.response.data)),Promise.reject(e)}))}get(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.dispatchRequest(pt(pt({},t),{},{url:e,method:"get"}))}post(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.dispatchRequest(pt(pt({},r),{},{url:e,method:"post",data:r.data?r.data:t}))}},wt="_kwrds",bt={keywords:{},pages_count:0};class yt{constructor(e){this.keywordsHistory=bt,this.sharedStorage=e}mapForAuction(e){var t={keywords:[],pages_count:e.pages_count};return t.keywords=Object.keys(e.keywords).map((t=>({keyword:t,counter:e.keywords[t].length||0}))),t}mapForManager(e){var t=Date.now();return{keywords:e.reduce(((e,r)=>(e[r]||(e[r]=[]),e[r].push(t),e)),{}),pages_count:1}}filterHistoryFromExpired(e){var t=new Set,{keywords:r}=e;return Object.keys(r).forEach((e=>{var n=r[e];r[e]=n.filter((e=>{var r=e+2592e5<Date.now();return r&&t.add(e),!r})),r[e].length||delete r[e]})),{keywords:r,pages_count:e.pages_count-t.size}}mergeKeywords(e,t){var r={};return[...Object.entries(e),...Object.entries(t)].forEach((e=>{var[t,n]=e;r[t]||(r[t]=[]),r[t].push(...n)})),r}getCurrentHistory(){var e=this;return ut((function*(){if(!e.keywordsHistory.pages_count){var t=yield e.getFromStorage();e.keywordsHistory=t}return e.mapForAuction(e.keywordsHistory)}))()}asyncProcessKeywords(e,t,r){var n=this;return ut((function*(){try{var i=yield n.getFromAuctionAndMap(e,t,r),o=yield n.getFromStorage(),a=n.mergeKeywords(o.keywords,i.keywords),s=o.pages_count+i.pages_count;n.keywordsHistory={keywords:a,pages_count:s},n.sharedStorage.set(wt,JSON.stringify(n.keywordsHistory)).catch((()=>null))}catch(e){return null}}))()}getFromStorage(){var e=this;return ut((function*(){var t,r=yield e.sharedStorage.get(wt).catch((()=>null));try{t=JSON.parse(r)||bt,t=e.filterHistoryFromExpired(t)}catch(e){t=bt}return t}))()}getFromAuctionAndMap(e,t,r){var n=this;return ut((function*(){var{data:i}=yield gt.post(e,{ad_tags:t,page:r}).catch((()=>({}))),o=bt;return i&&i.keywords&&i.keywords.length&&(o=n.mapForManager(i.keywords)),o}))()}}var St=864e5,kt={popunder:{js:"pjs.$domain/popunder-admanager/build.js",auction:"p.$domain/get"},in_stream_ad:{js:"vjs.$domain/in-stream-ad-admanager/build.js",auction:"v.$domain/vast"},banner:{js:"bjs.$domain/banner-admanager/build.js",auction:"b.$domain/get"},interstitial:{js:"sjs.$domain/interstitial-admanager/build.js",auction:"s.$domain/get"},native:{js:"njs.$domain/npc/sdk/native.js",auction:"n.$domain/in/multy"},inpage:{js:"ijs.$domain/npc/sdk/wpu/npush.js",auction:"i.$domain/in/multy"},push:{js:"wjs.$domain/npc/sdk/push.js?v=1",auction:"w.$domain/in/multy"}},_t=["inpage","native","push","popunder","resale-popunder","banner","extension","calendar","interstitial","direct_link"];function xt(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(r&&!_t.includes(r))return e;return e.replace(".js",{modern:".m.js",legacy:".l.js"}[t])}function At(e,t,r){var n=kt[t];if(!e||!n)return null;var i=n[r];return"".concat(e.protocol,"//").concat(i.replace("$domain",e.host))}var Ct=["inpage","native","calendar","popunder"],Tt=[360974],It="noModule"in document.createElement("script");function Pt(e){var{label:t,iabcat:r,isPhpLoaderActive:n,adFormats:i,hashHelpers:o,isAdBlock:a,legacySpotsExtend:s,hashService:c,isTubeSite:u,customDomain:l}=e;return i.map((e=>{var{createHashPath:i}=o,d=It?"modern":"legacy",p=e.assets["".concat(d,"_js")],h=null!=p?p:function(e,t,r){return!_t.includes(e.type)||r?e.assets.js:e.assets.js.map((e=>e.includes(".m.js")||e.includes(".l.js")?e:xt(e,t)))}(e,d,n),f=function(e){var t,r=e.customDomain,n=e.isTubeSite,i=e.formatType,o=e.source;try{if(r){var a=At(r,i,"js");t=new URL(a).origin}else t=n?"":new URL(o).origin}catch(e){t=""}return t}({customDomain:l,isTubeSite:u,formatType:e.type,source:h[0]});e.assets.js=h.map((t=>{var r={src:t,type:d};return!n&&i&&Ct.includes(e.type)&&(r.src=c.convertToHashedUrl(r.src,i)),r}));var v=s[e.type];return e.spots=e.spots.map(((o,s)=>(o.config.label=t,o.config.iabcat=r,o.config.adm_loader=!!i||n,"banner"===e.type&&"1x1"===o.config.options.size&&(o.delay_ms=3e3),Tt.includes(o.config.spot_id)&&"in_stream_ad"===e.type&&(o.delay_ms=24e4),a&&"popunder"===e.type&&(o.config.options.bind_to=null,o.config.options.ignore_to=null),i&&"popunder"===e.type&&(o.config.scripts.interstitial=c.convertToHashedUrl(o.config.scripts.interstitial)),"inpage"===e.type&&(o.config.origin=f),v?m(v)&&v[s]?b(o,v[s]):b(o,v):o))),e}))}for(var Ot="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",Et=new Uint8Array(256),jt=0;jt<64;jt++)Et[Ot.charCodeAt(jt)]=jt;Et[45]=62,Et[95]=63;var Dt,Nt=[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],Mt=(Dt={},Nt.forEach(((e,t)=>Dt[e]=t)),String.fromCharCode.bind(String),e=>{for(var t,r,n,i,o="",a=e.length%3,s=0;s<e.length;){if((r=e.charCodeAt(s++))>255||(n=e.charCodeAt(s++))>255||(i=e.charCodeAt(s++))>255)throw new TypeError("invalid character found");o+=Nt[(t=r<<16|n<<8|i)>>18&63]+Nt[t>>12&63]+Nt[t>>6&63]+Nt[63&t]}return a?o.slice(0,a-3)+"===".substring(a):o});class Rt{constructor(e){var{wrappedUrlPath:t}=e;this.wrappedUrlPath=t}extendedEncode(e){return y(Mt(e),{sw:"gu1",Sw:"gu2",sW:"gu3",SW:"gu4"})}wrapVastUrl(e,t){var r=e.includes("http")?e:"https://".concat(e);return"".concat(r).concat(this.wrappedUrlPath).concat(this.extendedEncode(t))}}var Lt=new class{constructor(){this.state={}}set(e,t){this.state[e]=t}get(e){return this.state[e]||null}remove(e){delete this.state[e]}},Ht={set:(e,t)=>localStorage.setItem(e,t),get:e=>localStorage.getItem(e),remove:e=>localStorage.removeItem(e)};try{Ht.set("__try",1),Ht.get("__try"),Ht.remove("__try")}catch(e){Ht=Lt}var Ut=Ht,Ft="__adm_user_id";function qt(){var e=Ut.get(Ft);if(e)return e;var t=S(1,0x10000000000000000);return Ut.set(Ft,t),String(t)}window.__adFormats=window.__adFormats||{},window.__formatsGetters=window.__formatsGetters||{};var Bt=window.__adFormats,zt=window.__formatsGetters;function Vt(e,t){if(Bt[e])return t(Bt[e]);zt[e]||(zt[e]=[]),zt[e].push(t)}function Wt(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=Object.keys(e).filter((t=>{var r=e[t];return!(!m(r)||!r.length)||!!v(r)&&Object.keys(r).filter((e=>void 0!==r[e])).length}));return n.length?n.every((r=>t[r]&&t[r](e[r]))):r}function Gt(e,t){var{env:r,Logger:n}=t,i=function(e){var{ua:t,qs:r,entryReferrerDomain:n}=e;return{platforms:e=>e.includes(t.device.type||"desktop"),browsers:e=>e.includes(t.browser.name),urls:e=>e.some((e=>{if(0===e.indexOf("[regExp]")){var t=e.replace(/^\[regExp]\s*/,"");return new RegExp(t).test(window.location.href)}return window.location.href.includes(e)})),ls:e=>Object.keys(e).every((t=>localStorage.getItem(t)===e[t])),ss:e=>Object.keys(e).every((t=>localStorage.getItem(t)===e[t])),qs:e=>Object.keys(e).every((t=>r[t]===e[t])),cookies:e=>(e=Array.isArray(e)?e:[e]).some((e=>Object.keys(e).every((t=>e[t]===oe.read(t))))),vars:e=>Object.keys(e).every((t=>window[t]===e[t])),entry_referrer:e=>e.some((e=>(":direct:"===e||""===e)&&""===n||e&&n.includes(e)))}}(r);return e.filter((e=>e.ignore&&e.ignore.length&&e.ignore.some((e=>Wt(e,i)))?(n.warn("spot was excluded by ignore rules",e),!1):!e.bind||!e.bind.length||e.bind.some((t=>{var r=Wt(t,i,!0);return r||n.warn("spot was not bind by conditions",e),r}))))}function Kt(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}class Jt{constructor(e){this.script=e}start(){return(e=function*(){return!1},function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){Kt(o,n,i,a,s,"next",e)}function s(e){Kt(o,n,i,a,s,"throw",e)}a(void 0)}))})();var e}runScript(){var e=document.createElement("div");return e.innerHTML=this.script,e.childNodes.forEach((e=>{var t=e.cloneNode(!0);if("SCRIPT"===e.nodeName){for(var r=document.createElement("script"),n=0;n<t.attributes.length;n+=1){var i=t.attributes[n];r.setAttribute(i.name,i.value)}return r.textContent=null==t?void 0:t.textContent,void document.body.append(r)}document.body.append(t)})),!0}}function Yt(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}class Qt extends Jt{start(){var e,t=this;return(e=function*(){return t.runScript(),!1},function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){Yt(o,n,i,a,s,"next",e)}function s(e){Yt(o,n,i,a,s,"throw",e)}a(void 0)}))})()}}function $t(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}function Xt(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){$t(o,n,i,a,s,"next",e)}function s(e){$t(o,n,i,a,s,"throw",e)}a(void 0)}))}}class Zt extends Jt{constructor(e,t,r,n){super(r),this.type=t,this.tagId=e,this.deviceType=function(e){if(!e)return"";var t=e.split("");return t[0]=t[0].toUpperCase(),t.join("")}(n)}start(){var e=this;return Xt((function*(){var t=yield e.checkMediation();return!!t&&e.startMediation(t.m_script)}))()}fetchTargets(e,t,r){var n=this;return Xt((function*(){var{data:t}=yield d.get("".concat(e,"?tag_id=").concat(n.tagId,"&device=").concat(r));return t.rule_validation_result}))()}startMediation(){return this.runScript()}checkMediation(){var e=this;return Xt((function*(){if("inpage"===e.type){var t=yield e.fetchTargets("https://ntvpwpush.com/mediation",e.tagId,e.deviceType);if(t)return t}return!1}))()}}function er(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}class tr{constructor(e){var{tagId:t,type:r,inpageMediationScript:n,deviceType:i,formatMediationScript:o,mediationTrackingUrl:a}=e;this.mediation=null,this.mediationTrackingUrl=a,o?this.mediation=new Qt(o):n&&(this.mediation=new Zt(t,r,n,i))}start(){var e,t=this;return(e=function*(){return t.mediationTrackingUrl&&h(t.mediationTrackingUrl),!!t.mediation&&t.mediation.start()},function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){er(o,n,i,a,s,"next",e)}function s(e){er(o,n,i,a,s,"throw",e)}a(void 0)}))})()}}var rr="t_v",nr=(e,t)=>{if(!t)return Ut.remove(rr),e;try{var r=JSON.parse(Ut.get(rr));if(r&&r.ttl+St>Date.now())return[e[r.version]]}catch(e){Ut.remove(rr)}var n=(e=>Math.floor(Math.random()*e.length))(e);return Ut.set(rr,JSON.stringify({version:n,ttl:Date.now()})),[e[n]]};function ir(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}function or(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ar(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?or(Object(r),!0).forEach((function(t){sr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):or(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function sr(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class cr{constructor(e,t,r,n,i,o,a,s){var{type:c,spots:u,assets:l,autostart:d,m_script:p,adb_protect:h=!0}=e;this.type=c,this.spots=u,this.jsLinks=l.js,this.isSplitTestActive=l.split_js,this.connectionName=l.name,this.providedDependencies=r,this.env=ar({},t),this.autostart=void 0===d||d,this.Logger=n,this.isAssetsLoaded=!1,this.inpageMediationScript=p,this.formatMediationScript=a,this.tagId=i,this.tagAbVersion=o,this.adb_protect=h,this.customDomain=s,this.adb_protect||(this.env.isAdBlock=!1)}start(){var e,t=this;return(e=function*(){if(!t.formatMediationScript){var e=new tr({tagId:t.tagId,type:t.type,inpageMediationScript:t.inpageMediationScript,deviceType:t.env.ua.device.type});if(yield e.start())return}if(!t.jsLinks||!t.jsLinks.length)throw new Error("[AdManager] - spot ".concat(t.type," doesn't provide at least one js asset link"));t.Logger.info("init format ".concat(t.type),{spots:t.spots,jsLinks:t.jsLinks,autostart:t.autostart}),Array.isArray(t.spots)||t.Logger.error("".concat(t.type," spots property was empty or not equal to array type"));var r=t.filterSpots(t.spots);if(r.length){var n=r.map((e=>{var r,n,i=ar(ar({},e),{},{autostart:null===(r=null!==(n=e.autostart)&&void 0!==n?n:t.autostart)||void 0===r||r});return t.customDomain&&(i.config.primary_auction_url=At(t.customDomain,t.type,"auction")),i})).filter((e=>e.autostart));n.length&&(t.loadAssets(),t.provideSpotsToLibrary(n))}},function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){ir(o,n,i,a,s,"next",e)}function s(e){ir(o,n,i,a,s,"throw",e)}a(void 0)}))})()}runSpot(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{spot_id:t}=e;if(t){var r=this.spots.find((e=>e.config.spot_id===t));r&&(e=ar(ar({},r),e)),this.filterSpots([r]).length&&(this.loadAssets(),Vt(this.connectionName,(t=>{this.Logger.info("Run ".concat(this.type," spot"),e),this.provideSpotToLibrary(e,t)})))}}provideSpotsToLibrary(e){var t=t=>e.forEach((e=>this.provideSpotToLibrary(e,t)));Vt(this.connectionName,(e=>t(e)));try{new Event("try"),window.addEventListener(this.connectionName,(e=>{"function"==typeof e._init&&t(e._init)}),!1)}catch(e){var r=window[this.connectionName];"function"!=typeof r&&(r=function(e,t,n){r._list.forEach((r=>{"function"==typeof r&&r(e,t,n)}))}),r._list||(r._list=[]),r._list.push((e=>{"function"==typeof e&&t(e)})),window[this.connectionName]=r}}applySpotConfigTests(e){var t,r,n=null==e||null===(t=e.options)||void 0===t?void 0:t.split_test;if(null==e||null===(r=e.options)||void 0===r||!r.has_split_tests||!n)return e;var i=S(1,100),o=p(e.test_options);return n.traffic_volume<i||!o?e:ar(ar({},e),{},{options:ar(ar({},e.options),o)})}provideSpotToLibrary(e,t){var{delay_ms:r,config:n,original_config:i}=e,o=this.applySpotConfigTests(n);o.isSplitTestActive=this.isSplitTestActive;var a=()=>t(o,this.env,this.providedDependencies,i);r?setTimeout(a,r):a()}filterSpots(e){return Gt(e,{env:this.env,Logger:this.Logger})}loadAssets(){if(!this.isAssetsLoaded){this.isAssetsLoaded=!0;var e=this.jsLinks;"inpage"===this.type&&(e=nr(this.jsLinks,this.isSplitTestActive));var t=document.querySelector("head, body");e.forEach((e=>{if(this.customDomain)!function(e){var{node:t,scriptRecord:r,scriptDefer:n,customSrc:i,adFormat:o}=e;if(!document.querySelector('[src="'.concat(r.src,'"]'))){var a=document.createElement("script");a.src=xt(i,r.type,o),n?a.defer=!0:a.async=!0,a.onerror=()=>{var e=document.createElement("script");e.src=r.src,n?e.defer=!0:e.async=!0,t.append(e)},t.append(a)}}({node:t,scriptRecord:e,scriptDefer:this.env.scriptDefer,customSrc:At(this.customDomain,this.type,"js"),adFormat:this.type});else{var r=function(e,t){if(document.querySelector('[src="'.concat(e.src,'"]')))return null;var r=document.createElement("script");return r.src=e.src,t?r.defer=!0:r.async=!0,r}(e,this.env.scriptDefer);r&&t.appendChild(r)}}))}}}var ur=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{c(n.next(e))}catch(e){o(e)}}function s(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},lr=function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},dr=function(){function e(e){var t=e.hashedDomain;this.hashedDomain=t,this.proxyPathname="/api/senddata",this.proxyIpv4Pathname="/api/ipv4check"}return e.prototype.fetchCreatives=function(e){var t=e.type,r=e.params,n=e.proxyDomain,i=e.proxyPathname,o=e.requestType,a=void 0===o?"POST":o;return ur(this,void 0,void 0,(function(){var e,o,s,c,u;return lr(this,(function(l){switch(l.label){case 0:return e=n||this.hashedDomain,o=i||this.proxyPathname,s="".concat(e).concat(o,"?"),c=Mt(r),"GET"===a&&(s+="?site=".concat(t,"&tail=").concat(Mt(r))),u={url:s,method:a.toLowerCase(),withCredentials:!1},"POST"===a&&(u.data={site:t,tail:c}),[4,d.dispatchRequest(u)];case 1:return[2,l.sent().data]}}))}))},e.prototype.sendIpv4Check=function(e){var t=e.proxyDomain,r=e.proxyPathname,n=e.params,i=e.type,o=void 0===i?"inpage":i,a=t||this.hashedDomain,s=r||this.proxyIpv4Pathname;d.get("".concat(a).concat(s,"?mark=").concat(Mt(n),"&site=").concat(o))},e}();var pr=new class{constructor(){this.state={}}set(e,t){this.state[e]=t}get(e){return this.state[e]||null}remove(e){delete this.state[e]}},hr={set:(e,t)=>sessionStorage.setItem(e,t),get:e=>sessionStorage.getItem(e),remove:e=>sessionStorage.removeItem(e)};try{hr.set("__try",1),hr.get("__try"),hr.remove("__try")}catch(e){hr=pr}var fr=hr;class mr{constructor(){this.SESSION_KEY="a_s_ts",this.SESSION_KEY_DATA="_ses_dt",this.INITIAL_SESSION_KEY="lastId",this.SESSION_END_TIME_KEY="_ses_tmend",this.initialSessionId=Ut.get(this.INITIAL_SESSION_KEY)||"",this.localStorageExpiresMS=6e4,this.sessionState={id:null,startTs:null}}isSessionTheSame(){return this.initialSessionId===this.getSessionId()}replaceLastSessionData(){var e=this.getSessionId();Ut.set(this.INITIAL_SESSION_KEY,e),this.initialSessionId=e}getItem(e){if(!this.isSessionTheSame())return this.replaceLastSessionData(),this.removeItem(this.SESSION_KEY_DATA),null;try{var t=Ut.get(this.SESSION_KEY_DATA),r=JSON.parse(t);return"object"==typeof r?r[e]:null}catch(e){return null}}setItem(e,t){var r;this.isSessionTheSame()||(this.replaceLastSessionData(),this.removeItem(this.SESSION_KEY_DATA));try{var n,i=null!==(n=Ut.get(this.SESSION_KEY_DATA))&&void 0!==n?n:"{}";r=JSON.parse(i)}catch(e){r={}}r[e]=t,Ut.set(this.SESSION_KEY_DATA,JSON.stringify(r))}removeItem(e){Ut.remove(e)}getFromStorage(e){try{var t=e.get(this.SESSION_KEY),r=JSON.parse(t);return"object"==typeof r?r:null}catch(e){return null}}setToStorage(e,t){e.set(this.SESSION_KEY,JSON.stringify(t))}startSession(){var e=Date.now(),t=this.getFromStorage(fr),r=this.getFromStorage(Ut),n=Ut.get(this.SESSION_END_TIME_KEY);!t&&r&&n&&n>e&&(this.setToStorage(fr,r),t=r),this.sessionState=t||{id:Math.random().toString(36).substring(2),startTs:e},t||(this.setToStorage(fr,this.sessionState),this.setToStorage(Ut,this.sessionState)),setInterval((()=>{var e=Date.now()+this.localStorageExpiresMS;Ut.set(this.SESSION_END_TIME_KEY,e)}),5e3)}getDurationTime(e){var t=Date.now()-this.sessionState.startTs;return"min"===e?Number((t/1e3/60).toFixed(2)):t}getSessionId(){return this.sessionState.id}}var vr=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},gr="_admSptsInVw",wr=function(){function e(){this.spotsInView=window[gr]||[],window[gr]=this.spotsInView,this.deviceType=null,this.setWidgetPosition=function(e,t,r){e.positionOffset=t?10+t.positionOffset+t.widgetNode.offsetHeight:r,e.position.includes("top")&&(e.widgetNode.style.top="".concat(e.positionOffset,"px")),e.position.includes("bottom")&&(e.widgetNode.style.bottom="".concat(e.positionOffset,"px"))}}return e.prototype.placeToPosition=function(e){var t=e.spotId,r=e.widgetNode,n=e.position,i=e.margin,o=void 0===i?10:i;this.spotsInView.push({spotId:t,widgetNode:r,position:n,margin:o,positionOffset:0}),this.reposition(n)},e.prototype.removeFromPosition=function(e,t){var r,n=this.spotsInView.filter((function(t){return t.spotId!==e}));(r=this.spotsInView).splice.apply(r,vr([0,this.spotsInView.length],n,!1)),this.reposition(t)},e.prototype.reposition=function(e){var t=this,r=this.spotsInView.filter((function(r){return"mobile"===t.deviceType?r.position.split("-")[0]===e.split("-")[0]:r.position===e})),n=r.reduce((function(e,t){return e=t.margin>e?t.margin:e}),0);r.forEach((function(e,i){t.setWidgetPosition(e,r[i-1],n)}))},e}();function br(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}function yr(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){br(o,n,i,a,s,"next",e)}function s(e){br(o,n,i,a,s,"throw",e)}a(void 0)}))}}var Sr=[1411,1410],kr="pxlsStrSnt",_r="pxlsSnt";function xr(e){return Ut.get(e)}function Ar(e){Ut.set(e,"1")}function Cr(e){var t=document.createElement("iframe");t.referrerPolicy="no-referrer",t.src=e,t.width="1px",t.height="1px",t.setAttribute("allowtransparency",!0),t.setAttribute("style","padding:0;margin:0;border:0;position:absolute;width:1px!important;height:1px!important;top:0!important;"),t.marginheight="0",t.marginwidth="0",document.body.appendChild(t)}function Tr(e,t){return Ir.apply(this,arguments)}function Ir(){return(Ir=yr((function*(e,t){e&&(Sr.forEach((t=>Cr("https://s.uuidksinc.net/match/".concat(t,"/?remote_uid=").concat(e)))),/[ab]/.test(t)&&Cr("https://lbs-eu1.ads.betweendigital.com/match?bidder_id=46084&external_user_id=".concat(e,"&external_matching=1&forward=1")))}))).apply(this,arguments)}function Pr(){return(Pr=yr((function*(e,t){var r;if(e)return xr(kr)||xr(_r)?void(xr(_r)&&Math.random()<.5&&(Tr(e,t),Ar(kr),r=_r,Ut.remove(r))):(Tr(e,t),void Ar(kr))}))).apply(this,arguments)}class Or{constructor(){this.generalParameters={imp:[{secure:"https:"===window.location.protocol?1:0,ext:{v2:!1,tag_ab:"",mm:0,st:0,ad_tags:""},pext:{},banner:{w:0,h:0}}],site:{id:"",cat:[],page:""},device:{w:0,h:0},ext:{dt:Date.now()},user:{fp:0,id:""}}}fillGeneralParameters(e){var{iabCategoryExtended:t,visitorId:r,userId:n,isMetaMask:i,sessionTime:o,tagAbVersion:a,publisherKeywords:s,cloaking:c,width:u,height:l,userAgentData:d}=e,p=window.top!==window.self;this.generalParameters.site.cat[0]=t,this.generalParameters.site.page=p?document.referrer:document.URL,this.generalParameters.user.fp=r,this.generalParameters.user.id=n,this.generalParameters.imp[0].ext.v2=c,this.generalParameters.imp[0].ext.mm=i,this.generalParameters.imp[0].ext.tag_ab=a,this.generalParameters.imp[0].ext.st=o,this.generalParameters.imp[0].ext.ad_tags=s,this.generalParameters.device.w=u,this.generalParameters.device.h=l,this.generalParameters.user.ua_data=d}createRequestData(e){var t=this.generalParameters,r=b(t.imp[0].ext,e.imp[0].ext),n=b(t.imp[0].pext,e.imp[0].pext),i=e.imp[0].banner||null;return t.imp[0].ext=r,t.imp[0].pext=n,t.imp[0].banner=i,t.fp_params=e.fp_params||null,t.site.id=e.site.id,t}}function Er(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}function jr(){return Dr.apply(this,arguments)}function Dr(){var e;return e=function*(){if(!navigator.userAgentData||!navigator.userAgentData.getHighEntropyValues)return null;try{return yield navigator.userAgentData.getHighEntropyValues(["uaFullVersion","architecture","bitness","brands","mobile","model","platform","platformVersion","fullVersionList","wow64"])}catch(e){return null}},Dr=function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){Er(o,n,i,a,s,"next",e)}function s(e){Er(o,n,i,a,s,"throw",e)}a(void 0)}))},Dr.apply(this,arguments)}var Nr="t_v_a";function Mr(){var e="";try{e=JSON.parse(Ut.get(Nr))}catch(e){}if(e&&e.ttl+6048e5>Date.now())return e.version;var t=p(["a","b","c","d"]);return Ut.set(Nr,JSON.stringify({version:t,ttl:Date.now()})),t}var Rr="in_stream_ad",Lr="popunder",Hr=function(){function e(){this.handlers=[]}return e.prototype.init=function(){var e=this;document.addEventListener("click",(function(t){return e.handleClick(t)}))},e.prototype.addHandler=function(e){this.handlers.push(e)},e.prototype.removeHandler=function(e){this.handlers=this.handlers.filter((function(t){return t!==e}))},e.prototype.handleClick=function(e){this.handlers.forEach((function(t){return t(e)}))},e}();function Ur(e,t){if(void 0===t&&(t=!1),!e)return"";var r=t?"v2":"v1";return"".concat(e.protocol,"//").concat(r,".").concat(e.host,"/tags")}var Fr=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{c(n.next(e))}catch(e){o(e)}}function s(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},qr=function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},Br="s_v_m_i";var zr=function(){function e(e,t){var r,n,i=this;this.LSfield="usCC",this.handler=function(e){i.clickHandler(),i.emptyClicksHandler(e)},this.globalClickHandler=e,this.sessionService=t;var o=this.sessionService.getItem(this.LSfield);this.clickCount=null!==(r=null==o?void 0:o.cls)&&void 0!==r?r:0,this.emptyClicks=null!==(n=null==o?void 0:o.emt)&&void 0!==n?n:0,this.setHandler()}return e.prototype.setHandler=function(){this.globalClickHandler.addHandler(this.handler)},e.prototype.clickHandler=function(){this.firstActionTS||(this.firstActionTS=Date.now()),this.clickCount+=1,this.saveToLS()},e.prototype.emptyClicksHandler=function(e){var t=e.target,r=t.parentElement,n=["a","input","img","svg","path","label","button","video","textarea"],i=["button","textbox"],o=!1;[t,r,null==r?void 0:r.parentElement].forEach((function(e){e&&!o&&(n.includes(e.tagName.toLowerCase())||e.className.match(/btn|button|jw-|player-/gi)||e.hasAttribute("contenteditable")||i.includes(e.getAttribute("role")||""))&&(o=!0)})),o||(this.emptyClicks+=1,this.saveToLS())},e.prototype.saveToLS=function(){var e={cls:this.clickCount,emt:this.emptyClicks};this.sessionService.setItem(this.LSfield,e)},Object.defineProperty(e.prototype,"count",{get:function(){return this.clickCount||0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"emptyCount",{get:function(){return this.emptyClicks||0},enumerable:!1,configurable:!0}),e}(),Vr=function(){function e(e){var t=this;this.isTracking=!1,this.LSfield="maxScP",this.maxScrollPercentage=0,this.prevPixelScrolled=0,this.totalPixelScrolled=0,this.totalPercentScrolled=0,this.computeScrollPercentage=function(){var e=window.pageYOffset||document.documentElement.scrollTop,r=document.documentElement.scrollHeight-window.innerHeight;return e>t.prevPixelScrolled&&(t.totalPixelScrolled+=e-t.prevPixelScrolled,t.totalPercentScrolled=Math.round(t.totalPixelScrolled/r*100)),t.prevPixelScrolled=e,Math.round(Math.min(100,Math.max(0,e/r*100)))},this.sessionService=e;var r=this.sessionService.getItem(this.LSfield)||{};this.maxScrollPercentage=r.maxScrollPercentage||0,this.totalPercentScrolled=r.totalPercentScrolled||0,this.totalPixelScrolled=r.totalPixelScrolled||0,setTimeout((function(){return t.startTracking()}),100)}return e.prototype.throttle=function(e,t){var r,n;return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=Date.now();r&&a<r+t?(clearTimeout(n),n=window.setTimeout((function(){r=a,e.apply(void 0,i)}),t)):(r=a,e.apply(void 0,i))}},e.prototype.startTracking=function(){var e=this;this.isTracking=!0;var t=this.throttle((function(){e.firstActionTS||(e.firstActionTS=Date.now());var t=e.computeScrollPercentage();e.maxScrollPercentage=Math.max(e.maxScrollPercentage,t)}),150);window.addEventListener("scroll",t),this.saveInterval=window.setInterval((function(){return e.saveToSession()}),1e3),setTimeout((function(){e.isTracking=!1,window.removeEventListener("scroll",t),clearInterval(e.saveInterval),e.saveToSession()}),25e3)},e.prototype.saveToSession=function(){var e={maxScrollPercentage:this.maxScrollPercentage,totalPercentScrolled:this.totalPercentScrolled,totalPixelScrolled:this.totalPixelScrolled};this.sessionService.setItem(this.LSfield,e)},Object.defineProperty(e.prototype,"maxScroll",{get:function(){return this.maxScrollPercentage},enumerable:!1,configurable:!0}),e}(),Wr=function(e,t){this.sessionService=e,this.globalClickHandler=t,this.trackers={clickProcessor:new zr(this.globalClickHandler,this.sessionService),scrollTracker:new Vr(this.sessionService)}};class Gr{constructor(e,t){this.ClickCounterLSfield="userClicksCounter",this.globalClickHandler=e,this.sessionService=t,this.clickCount=this.sessionService.getItem(this.ClickCounterLSfield)||0,this.setHandler()}setHandler(){this.globalClickHandler.addHandler((()=>{this.sessionService.setItem(this.ClickCounterLSfield,this.clickCount+=1)}))}get count(){var e;return null!==(e=this.sessionService.getItem(this.ClickCounterLSfield))&&void 0!==e?e:0}}function Kr(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}function Jr(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){Kr(o,n,i,a,s,"next",e)}function s(e){Kr(o,n,i,a,s,"throw",e)}a(void 0)}))}}class Yr{constructor(){this.storageKey="_shrdstrg"}init(){}setToStorage(e){Ut.set(this.storageKey,JSON.stringify(e))}getFromStorage(){try{return JSON.parse(Ut.get(this.storageKey)||"{}")}catch(e){return{}}}set(e,t){var r=this;return Jr((function*(){var n=r.getFromStorage();n[e]=t,r.setToStorage(n)}))()}get(e){var t=this;return Jr((function*(){return t.getFromStorage()[e]}))()}remove(e){var t=this;return Jr((function*(){var r=t.getFromStorage();delete r[e],t.setToStorage(r)}))()}clear(){var e=this;return Jr((function*(){e.setToStorage({})}))()}}function Qr(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}function $r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=document.createElement("div");return r.style="".concat(e),t&&(r.className=t),r}function Xr(){var e;return e=function*(e,t){if(e&&t){var r=yield f("#qrrc");if(r.length){var n=t.slice(-6).split("").map((e=>Number(e))),i=$r("width: 60px; height: 10px; overflow: hidden;"),[o,a]=function(e){var t="width: 60px; height: 5px; overflow: hidden; display: flex; justify-content: space-between",r=$r(t),n=$r(t);return e.forEach((e=>{var t=e<=5;e%2==0?r.appendChild($r("width: 8px; height: 4px; background-color: black; opacity: 0.6","_blackSquare")):r.appendChild($r("width: 8px; height: 4px; background-color: white","_whiteSquare")),t?n.appendChild($r("width: 8px; height: 4px; background-color: black; opacity: 0.6","_blackSquare")):n.appendChild($r("width: 8px; height: 4px; background-color: white","_whiteSquare"))})),[r,n]}(n);i.appendChild(o),i.appendChild(a),r[0].appendChild(i)}}},Xr=function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){Qr(o,n,i,a,s,"next",e)}function s(e){Qr(o,n,i,a,s,"throw",e)}a(void 0)}))},Xr.apply(this,arguments)}var Zr=function(){return Zr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Zr.apply(this,arguments)};function en(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}function tn(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){en(o,n,i,a,s,"next",e)}function s(e){en(o,n,i,a,s,"throw",e)}a(void 0)}))}}class rn{constructor(){var e;this.tagId=null,this.clickId=null,this.tagAbVersion=Mr(),this.siteId=null,this.magmaClickResolverEnable=!1,this.adFormats=[],this.env=null,this.cloakingConfig=null,this.SessionService=new mr,this.SessionService.startSession(),this.PositionService=new wr,this.HashService=new pe,this.AuctionService=new Or,this.Logger=new n("AdManager",!r.devMode),this.ytAuthDetector=new le,this.ytAuthDetector.loadYoutubeAuthMarker(),this.formatMediationScript=null,this.globalClickHandler=new Hr,this.clickCounter=new Gr(this.globalClickHandler,this.SessionService),this.metrics=new Wr(this.SessionService,this.globalClickHandler),this.customDomain=null,this.globalClickHandler.init(),this.customSettings={},this.providedDependencies={GlobalClickHandler:this.globalClickHandler,ClickCounter:this.clickCounter,VastProxyService:new Rt({wrappedUrlPath:r.vastProxyWrappedUrlPath}),hashGenerator:{md5:ae,getDate:this.HashService.getDateForHash,generateCdnDomain:()=>this.HashService.generateCdnDomain(),generateAuctionUrl:e=>this.HashService.generateAuctionUrl(e),generateNativeAuctionUrl:()=>this.HashService.generateNativeAuctionUrl(),convertToHashedUrl:e=>this.HashService.convertToHashedUrl(e)},DisplayAdblockService:new dr({hashedDomain:this.HashService.generateHashedProxyDomain()}),metrics:this.metrics.trackers,SessionService:this.SessionService,PositionService:this.PositionService,AuctionService:this.AuctionService,cookies:oe,ytAuthDetector:this.ytAuthDetector},this.hashHelpers={},this.Logger.info("version ".concat(r.version)),this._paramReconciler={},this.adformatsUrls=[null===(e=document.currentScript)||void 0===e?void 0:e.src],this.tagIdsLiteVersion=[123481,114039,83975,26075,41577],this.tagIdsDisabledTopics=[83571],this.tagIdsDisabledAdBlockCheck=[123481,114039,83975,26075,41577],this.tagIdsDisabledTracking=[224955,224953,224949]}addReconsileParams(e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this._paramReconciler[t]=e[t])}getLocalConfig(){var e=window["_gz0n0vxfzn"];return this.getActualConfig(e)}getActualConfig(e){return e.tag_configs?e.tag_configs[this.tagAbVersion]:e}loadCustomTagConfig(e,t){var r=this;return tn((function*(){var n,i=Ur(r.customDomain),{hostname:o}=window.location,a="version_name=".concat(r.tagAbVersion,"&domain=").concat(o);try{n=yield d.get("".concat(i,"/").concat(e,"?").concat(a)).then((e=>e.data))}catch(r){n=yield d.get("".concat(t,"/").concat(e,"?").concat(a)).then((e=>e.data))}return n}))()}loadTagConfig(e){var t=this;return tn((function*(){var{createHashTagUrl:n}=t.hashHelpers,i=n?n():r.tagConfigUrl,{hostname:o}=window.location,a="version_name=".concat(t.tagAbVersion,"&domain=").concat(o);return t.customDomain?t.loadCustomTagConfig(e,i):d.get("".concat(i,"/").concat(e,"?").concat(a)).then((e=>e.data))}))()}runFormatSpot(e,t){var r=this.adFormats.find((t=>t.type===e));r?r.runSpot(t):this.Logger.warn("AdFormat ".concat(r," no found in config"))}getConfigHelpers(e){var t=t=>e.adformats.find((e=>e.type===t));return{findFormat:t,addSpotToFormat:(e,r)=>{var n=t(e);n&&n.spots.push(r)},findFormatSpot:(e,r)=>{var n=t(e);return n&&n.spots.length?n.spots.find((e=>e.config.spot_id===r)):(this.Logger.warn("Spot ".concat(r," doesn't exist in config")),{config:{},ignore:[],bind:[]})}}}push(e){"function"==typeof e&&e()}enableMagmaClickResolver(e){if(!e)throw Error("siteId - must be passed for magma click resolver proper work");this.magmaClickResolverEnable=!0,this.siteId=e}changeAdFormatOrder(e,t){var r=this.adFormats.findIndex((t=>t.type===e));if(-1!==r){var[n]=this.adFormats.splice(r,1);this.adFormats.splice(t,0,n)}}runAdFormats(){this.adFormats.length&&(this.Logger.info("run tag formats"),(10149===this.tagId||this.customSettings.isInstreamFirst)&&this.changeAdFormatOrder(Rr,0),([23106,58635].includes(this.tagId)||this.customSettings.isPopunderFirst)&&this.changeAdFormatOrder(Lr,0),this.adFormats=this.adFormats.map((e=>{var t=new cr(e,this.env,this.providedDependencies,this.Logger,this.tagId,this.tagAbVersion,this.formatMediationScript,this.customDomain);return t.start(),t})))}ph(){var e=this;this.hashHelpers={createHashPath:function(){return e.HashService.createHashPath(...arguments)},createHashTagUrl:function(){return e.HashService.createHashTagUrl(...arguments)},domainHashed:function(){return e.HashService.generateCdnDomain(...arguments)},date:function(){return e.HashService.getDateForHash(...arguments)},md5:ae}}getAdformatsUrls(){return this.adFormats.reduce(((e,t)=>{var r=t.assets.js.map((e=>{var{src:t}=e;return t}));if("in_stream_ad"===t.type){var n=Object.values(t.spots[0].config.scripts);return e.concat([...n,...r])}return e.concat(r)}),[])}initializeSharedStorageAndKeywordsManager(e){if(this.isDonnyFriendly=e=>("31134"===this.env.qs.promo||"10146"===this.env.qs.campaign)&&e,this.isDonnyFriendly(e))this.SharedStorage=new Yr;else{var t=this.customDomain?function(e){return"".concat(e.protocol,"//ajs.").concat(e.host,"/log/count.html")}(this.customDomain):r.sharedStorageUrl;this.SharedStorage=new st(t)}this.SharedStorage.init(),this.KeywordsManager=new yt(this.SharedStorage),this.providedDependencies.KeywordsManager=this.KeywordsManager,this.providedDependencies.SharedStorage=this.SharedStorage}init(){var e=arguments,t=this;return tn((function*(){var n=e.length>0&&void 0!==e[0]?e[0]:t.tagId,i=e.length>1?e[1]:void 0;if(!n)throw new Error("[Admanager] - method init accept only string | number | object param");var o=Date.now(),a=performance.now(),s=v(n);t.tagId=v(n)?n.tagId:n;var c=Number(t.tagId),u=s?t.getActualConfig(n):t.loadTagConfig(n),l=r.isMB||r.isOnCl||s&&u.is_tnet||t.tagIdsDisabledAdBlockCheck.includes(c),[p,h,f,g]=yield Promise.all([u,Z().then((e=>e.get())).then((e=>e)),jr(),re({useScriptLoadCheck:!l})]);if(!v(p)||!m(p.adformats))throw new Error("[Admanager] - tag config must be object type and its adformats field must be an array type");var w=!!p.is_tnet,b=window.Intl&&Intl.DateTimeFormat().resolvedOptions().timeZone;p.v2&&(t.cloakingConfig=yield function(e,t,r,n,i){return Fr(this,void 0,void 0,(function(){var o,a,s,c,u;return qr(this,(function(l){switch(l.label){case 0:if(null==(o=i.getItem(Br))&&(o=S(0,100),i.setItem(Br,o)),a=encodeURIComponent(window.location.href).replace(/%2F/g,"/"),s="tag_id=".concat(e,"&timezone_olson=").concat(t,"&version_name=").concat(r,"&med_script_id=").concat(o,"&page=").concat(a),c="https://notification.tubecup.net/tags",n)return[3,4];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,d.get("".concat(c,"?").concat(s))];case 2:return[2,l.sent().data];case 3:return l.sent(),[2,null];case 4:u=Ur(n,!0),l.label=5;case 5:return l.trys.push([5,7,,12]),[4,d.get("".concat(u,"?").concat(s))];case 6:return[2,l.sent().data];case 7:l.sent(),l.label=8;case 8:return l.trys.push([8,10,,11]),[4,d.get("".concat(c,"?").concat(s))];case 9:return[2,l.sent().data];case 10:return l.sent(),[2,null];case 11:return[3,12];case 12:return[2]}}))}))}(p.tagId,b,t.tagAbVersion,t.customDomain,t.SessionService));var y,k=t.cloakingConfig||p;t.cloakingConfig&&!t.cloakingConfig.med_script_url&&p.med_script_url&&(k.med_script_url=p.med_script_url),t.customSettings=(y=k.custom_settings||{},Zr({isLiteVersion:!1,areTopicsDisabled:!1,isInstreamFirst:!1,isPopunderFirst:!1},y));var _,x,A=t.tagIdsLiteVersion.includes(c)||t.customSettings.isLiteVersion;t.env=tt({visitorId:h.visitorId,isAdBlock:g,sessionService:t.SessionService,isTubeSite:w,fingerprint:h,userAgentData:f,tagAbVersion:(_=t.tagAbVersion,x=k.testId,x?"".concat(_,"_").concat(x):"".concat(_)),magmaClickResolverEnable:t.magmaClickResolverEnable,config:k,v2:t.cloakingConfig?1:0,siteId:t.siteId,isGoogleTopicsDisallowed:t.tagIdsDisabledTopics.includes(c)||t.customSettings.areTopicsDisabled}),t.env.isMB=r.isMB,t.env.cabsId=r.cabsId,t.env.loadedAt=o,t.env.clickId=t.clickId,t.formatMediationScript=k.o_script,t.initializeSharedStorageAndKeywordsManager(w),A||function(e,t){Pr.apply(this,arguments)}(t.env.visitorIdString,t.env.tagAbVersion),function(e,t){Xr.apply(this,arguments)}(w,t.env.visitorIdString),t.PositionService.deviceType=t.env.ua.device.type,t.AuctionService.fillGeneralParameters({iabCategoryExtended:"IAB".concat(t.env.iabCategoryExtended),visitorId:t.env.visitorId,isMetaMask:t.env.sessionTime,tagAbVersion:t.env.tagAbVersion,sessionTime:t.SessionService.getDurationTime("min"),publisherKeywords:t.env.keywords,cloaking:t.env.v2,width:t.env.resolution[0],height:t.env.resolution[1],userId:t.env.userId,userAgentData:f});var C=t.HashService.generateHashedProxyDomain(),T=(w||r.isMB||r.isOnCl?null:t.HashService.generateMetricHashDomain())||r.initTrackingUrl,I=performance.now();t.adFormats=Pt({tagId:t.tagId,label:k.label,iabcat:k.iabcat,isPhpLoaderActive:!!k.adm_loader,adFormats:k.adformats,hashHelpers:t.hashHelpers,isAdBlock:t.env.isAdBlock,hashedProxyDomain:C,legacySpotsExtend:t._paramReconciler,hashService:t.HashService,tagAbVersion:t.tagAbVersion,isTubeSite:w,customDomain:t.customDomain}),i&&i(),t.tagIdsDisabledTracking.includes(c)||function(e,t){var n=t.label,i=t.subId,o=t.userId,a=t.timezone,s=t.adManagerVersion,c=t.tagId,u=t.screenResolution,l=t.isAdBlock,p=t.timezoneOlson,h=t.utmSource,f=t.utmMedium,m=t.utmCampaign,v=t.utmContent,g=t.isMetaMaskActive,w=t.initToStartLatency,b=t.isCloaking,y=t.isCloakingResponseEmpty,S={wl:n,subid:i,user_id:o,timezone:a,ver:s,tag_id:Number(c||0),screen_resolution:u.join("x"),adblock:Number(l),timezone_olson:p,utm_source:h,utm_medium:f,utm_campaign:m,utm_content:v,mm:Number(g),init_start_latency:Number(w),is_v2:Number(b||!1),is_v2_empty:Number(y||!1)},k="/in/track?data=".concat(Mt(JSON.stringify(S))),_="".concat(e).concat(k),x="".concat(r.initTrackingUrl).concat(k);d.get(_).catch((function(){d.get(x)}))}(T,{label:k.label,subId:t.env.sub,userId:qt(),timezone:t.env.timezone,adManagerVersion:r.version,tagId:k.tagId,screenResolution:t.env.resolution,isAdBlock:t.env.isAdBlock,timezoneOlson:t.env.timezoneOlson,utmSource:t.env.holdableQSParams.utm_source,utmMedium:t.env.holdableQSParams.utm_medium,utmCampaign:t.env.holdableQSParams.utm_campaign,utmContent:t.env.holdableQSParams.utm_content,isMetaMaskActive:t.env.isMetaMaskActive,initToStartLatency:((I-a)/1e3).toFixed(2),isCloaking:p.v2,isCloakingResponseEmpty:t.cloakingConfig,userKeywords:t.env.keywords});var P=t.getAdformatsUrls();t.adformatsUrls=[...t.adformatsUrls,...P];var O=new tr({formatMediationScript:t.formatMediationScript,mediationTrackingUrl:k.med_script_url});yield O.start(),t.runAdFormats()}))()}}var nn=document.querySelector("script[".concat(r.tagIdIdentifier,"]")),on=Array.isArray(window[r.adManagerWindowNamespace])?window[r.adManagerWindowNamespace]:[];if(window[r.adManagerWindowNamespace]=window[r.adManagerWindowNamespace]instanceof rn||new rn,window.a3klsam=window[r.adManagerWindowNamespace],window[r.adManagerWindowNamespace]._paramReconciler=window[r.overrideConfigWindowNamespace]||{},on.forEach((e=>e())),nn){var an=nn.getAttribute(r.tagIdIdentifier);nn.removeAttribute(r.tagIdIdentifier);var sn=nn.getAttribute(r.clickIdIdentifier);nn.removeAttribute(r.clickIdIdentifier);var cn=nn.hasAttribute(r.noAutostartIdentifier),un=nn.hasAttribute(r.customDomainIdentifier);if(an&&(window[r.adManagerWindowNamespace].tagId=an),sn&&(window[r.adManagerWindowNamespace].clickId=sn),un){var ln=new URL(nn.getAttribute("src"));window[r.adManagerWindowNamespace].customDomain={host:ln.host.replace("ajs.",""),protocol:ln.protocol}}an&&!cn&&window[r.adManagerWindowNamespace].init()}})();