(()=>{"use strict";var e={356:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(81),i=n.n(o),r=n(645),a=n.n(r)()(i());a.push([e.id,'.poper{background-color:#fff;border-radius:6px;box-shadow:4px 4px 11px -3px rgba(0,0,0,.5);color:#333;font-family:Noto,Helvetica Neue,Helvetica,Arial,sans-serif;left:75px;opacity:0;position:fixed;top:10px;transition:visibility 0s linear .25s,opacity .25s 0s,transform .25s;visibility:hidden;width:320px;z-index:2258594000}.poper:before{border:11px solid transparent;border-bottom-color:#fff;content:"";height:0;left:20px;position:absolute;top:-22px;width:0}.poper-content{align-items:center;display:flex;font-size:16px;line-height:1.5;padding:18px 15px 15px 25px}.poper-close{cursor:pointer;height:25px;opacity:.3;position:absolute;right:10px;top:10px;width:25px}.poper-close:hover{opacity:1}.poper-close:after,.poper-close:before{background-color:#333;content:" ";height:25px;left:11px;position:absolute;width:2px}.poper-close:before{transform:rotate(45deg)}.poper-close:after{transform:rotate(-45deg)}.poper-button{background-color:transparent;border:none;color:#b8bbbd;cursor:pointer;display:inline-flex;font-size:14px;font-weight:700;padding:7px 20px;text-transform:uppercase}.actor-positive{color:#1c72bd}.poper-buttons{-webkit-box-pack:end;-moz-box-pack:end;-ms-flex-pack:end;display:flex;justify-content:flex-end;padding:15px 19px}.poper_show{opacity:1;transition:visibility 0s linear 0s,opacity .25s 0s,transform .25s;visibility:visible}.poper-icon{margin-right:20px}.poper-bell{width:30px}@media only screen and (max-width:768px){.poper{left:6vw;top:40%;width:87vw}.poper:before{display:none}}@media screen and (max-width:500px){.poper{border-radius:20px;box-shadow:none;font-family:Roboto,Helvetica,Arial,sans-serif}.puoverlay{background-color:rgba(0,0,0,.65)}.poper-content{font-size:16px;line-height:20px;padding:30px 24px 24px}.poper-buttons{align-items:center;display:flex;padding:12px 24px 24px}.poper-button{color:#2656c9;font-size:18px;font-weight:500;padding:0;text-transform:none}.actor-negative{margin-right:30px}.poper-icon{align-items:center;display:flex}.poper-bell{height:30px;margin:0 15px 0 10px;width:24px}}.puoverlay{background-color:rgba(0,0,0,.8);bottom:0;height:100%;left:0;position:fixed;right:0;top:0;width:100%;z-index:225859400}.puoverlay-box{margin:150px 0 0 200px;width:250px}.puoverlay-img{transform:scaleX(-1) rotate(90deg);width:150px}.puoverlay-text{-webkit-box-pack:center;-moz-box-pack:center;-ms-flex-pack:center;color:#fff;display:flex;flex-direction:column;font-family:Noto,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:18px;justify-content:center;margin-top:10px}.puoverlay-hidden{display:none}.noselect{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media only screen and (max-width:1200px){.puoverlay-box,.puoverlay-box_show{display:none}}',""]);const s=a},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,i,r){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(o)for(var s=0;s0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),t.push(l))}},t}},81:e=>{e.exports=function(e){return e[1]}}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={get:function(e){for(var t=e+"=",n=decodeURIComponent(document.cookie).split(";"),o=0;o1?t-1:0),o=1;o{var n=t.split("=");return e[n[0]]=n[1],e}),{});return void 0!==e?e.reduce(((e,n)=>(t[n]&&(e[n]=t[n]),e)),{}):t}function s(e){var t="_tcpu_",n=a(),o={};return e.forEach((function(e){var i=localStorage.getItem(t+e),r=n[e]||i;r&&(o[e]=r),n[e]&&localStorage.setItem(t+e,n[e])})),o}var c=(e,t,n)=>{if(t&&e&&n){document.body.addEventListener(e,(function(e){var o=Array.from(function(e){if(e.path)return e.path;for(var t=[],n=e.target;n.parentNode;)t.push(n),n=n.parentNode;return t.push(document,window),t}(e)).filter((e=>e!=document&&e!=window)).filter((e=>(e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector).call(e,t)))[0];o&&n.call(o,e)}))}};function u(){return!!window.matchMedia("(display-mode: standalone)").matches||!(!("standalone"in navigator)||!navigator.standalone)}function l(e){return"Mobile Safari"===e}function d(e){return"Safari"===e}function p(e){return-1!==e.indexOf("Edg")}const h={eventsStack:{},fireAll(e,t){var n=this.eventsStack[e];Array.isArray(n)&&n.forEach((function(e){e(t)}))},dispatch(e,t){this.fireAll(e,t)},on(e,t){if(null==typeof e)return new Error("Bad tcpusher messager event");if("function"!=typeof t)return new Error("tcpusher messager callback must be a function");var n=this.eventsStack[e];n?n.push(t):this.eventsStack[e]=[t]},sendParent(e,t){window.opener?window.opener.postMessage({event:e,data:t},"*"):console.warn("Cannot run in parent window")},init(e){window.addEventListener("message",(t=>{var n,o;t.origin===(n=e,(o=document.createElement("a")).href=n,o.protocol+"//"+o.host)&&this.dispatch(t.data.event,t.data.data)}))}};function v(e,t,n,o,i,r,a){try{var s=e[r](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(o,i)}class m{constructor(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.path=e,this.options=Object.assign(t,{updateViaCache:"none"})}register(){var e,t=this;return(e=function*(){try{var e=yield navigator.serviceWorker.register(t.path,t.options);return yield e.update(),e}catch(e){throw new Error("TCPusher service worker register error "+e)}},function(){var t=this,n=arguments;return new Promise((function(o,i){var r=e.apply(t,n);function a(e){v(r,o,i,a,s,"next",e)}function s(e){v(r,o,i,a,s,"throw",e)}a(void 0)}))})()}}const w={possEvents:["click"],made:!1,wait(e){var t=this;return new Promise((n=>{this.made&&n(!0),"object"==typeof e&&0!==Object.keys(e).length||n(!0),this.possEvents.indexOf(event)>-1&&n(!0);var o=function(o){Array.isArray(e[o])&&e[o].forEach((e=>{c(o,e,((e,o)=>{t.made=!0,n(!0)}))}))};for(var i in e)o(i)}))}};var f="tcPusherRemoteRegStatus",b=Number("0"),g="https://p.wuporg.com",y=("".concat("https://protwq.com").concat("/in/multy"),"".concat(g).concat("/in/detect-ipv4"),"".concat(g,"/in/subscription-offers")),x="_calActivator",S="_calActivatorStarted",P="granted",D="denied";function j(e,t,n,o,i,r,a){try{var s=e[r](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(o,i)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var r=e.apply(t,n);function a(e){j(r,o,i,a,s,"next",e)}function s(e){j(r,o,i,a,s,"throw",e)}a(void 0)}))}}const k={isPermissionDenied:()=>"denied"===Notification.permission,isPermissionGranted:()=>"granted"===Notification.permission,isPushAvailible:()=>"PushManager"in window,isNotPushAvailable:()=>!("PushManager"in window),isSslMode:()=>b||"https:"===location.protocol,isNotSslMode:()=>!(b||"https:"===location.protocol),isRemoteMode:()=>!(!opener||!a().remTSub),isFirefox:()=>null!==navigator.userAgent.match(/Firefox\/\d+/),isChrome:()=>null!==navigator.userAgent.match(/Chrome\/\d+/)&&!p(navigator.userAgent),isSafari:()=>!!navigator.userAgent.match(/Safari\/\d+/),isAndroid:e=>"Android"===e.os.name,isAdBlock:()=>new Promise((e=>{var t=document.createElement("script");t.async=1,t.src="https://sw.cowtpvi.com/npc/sdk/wp-banners.js",t.onload=()=>e(!1),t.onerror=()=>e(!0),document.head.appendChild(t)})),isPrivateMode(){return new Promise((e=>{var t=()=>e(!0),n=()=>e(!1);if("https:"!==location.protocol)return n();if(this.isChrome())return void 0!==Promise&&void 0!==Promise.allSettled?void navigator.webkitTemporaryStorage.queryUsageAndQuota((function(e,o){var i;o<(void 0!==(i=window).performance&&void 0!==i.performance.memory&&void 0!==i.performance.memory.jsHeapSizeLimit?performance.memory.jsHeapSizeLimit:1073741824)?t():n()})):function(){if(window.webkitRequestFileSystem||window.RequestFileSystem){function e(){return o.apply(this,arguments)}function o(){return(o=A((function*(){if("storage"in navigator&&"estimate"in navigator.storage){var{usage:e,quota:o}=yield navigator.storage.estimate();return o<12e7?t():n()}}))).apply(this,arguments)}e()}}();if("MozAppearance"in document.documentElement.style){if(null===indexedDB)return t();var o=indexedDB.open("test");return o.onerror=t,void(o.onsuccess=n)}var i=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(i){if(parseInt(i[1],10)<11)return(()=>{try{localStorage.length||(localStorage.x=1,localStorage.removeItem("x")),n()}catch(e){navigator.cookieEnabled?t():n()}})();try{return window.openDatabase(null,null,null,null),n()}catch(e){return t()}}return window.indexedDB||!window.PointerEvent&&!window.MSPointerEvent?n():t()}))}},M="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTEyIDUxMjsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBjbGFzcz0iIj48Zz48Zz4KCTxnPgoJCTxwYXRoIGQ9Ik00NjcuODEyLDQzMS44NTFsLTM2LjYyOS02MS4wNTZjLTE2LjkxNy0yOC4xODEtMjUuODU2LTYwLjQ1OS0yNS44NTYtOTMuMzEyVjIyNGMwLTY3LjUyLTQ1LjA1Ni0xMjQuNjI5LTEwNi42NjctMTQzLjA0ICAgIFY0Mi42NjdDMjk4LjY2LDE5LjEzNiwyNzkuNTI0LDAsMjU1Ljk5Mywwcy00Mi42NjcsMTkuMTM2LTQyLjY2Nyw0Mi42NjdWODAuOTZDMTUxLjcxNiw5OS4zNzEsMTA2LjY2LDE1Ni40OCwxMDYuNjYsMjI0djUzLjQ4MyAgICBjMCwzMi44NTMtOC45MzksNjUuMTA5LTI1LjgzNSw5My4yOTFsLTM2LjYyOSw2MS4wNTZjLTEuOTg0LDMuMzA3LTIuMDI3LDcuNDAzLTAuMTI4LDEwLjc1MmMxLjg5OSwzLjM0OSw1LjQxOSw1LjQxOSw5LjI1OSw1LjQxOSAgICBINDU4LjY2YzMuODQsMCw3LjM4MS0yLjA2OSw5LjI4LTUuMzk3QzQ2OS44MzksNDM5LjI3NSw0NjkuNzc1LDQzNS4xMzYsNDY3LjgxMiw0MzEuODUxeiIgZGF0YS1vcmlnaW5hbD0iIzAwMDAwMCIgY2xhc3M9ImFjdGl2ZS1wYXRoIiBzdHlsZT0iZmlsbDojMUM3MkJEIiBkYXRhLW9sZF9jb2xvcj0iIzFjNzJiZCI + PC9wYXRoPgoJPC9nPgo8L2c + PGc + Cgk8Zz4KCQk8cGF0aCBkPSJNMTg4LjgxNSw0NjkuMzMzQzIwMC44NDcsNDk0LjQ2NCwyMjYuMzE5LDUxMiwyNTUuOTkzLDUxMnM1NS4xNDctMTcuNTM2LDY3LjE3OS00Mi42NjdIMTg4LjgxNXoiIGRhdGEtb3JpZ2luYWw9IiMwMDAwMDAiIGNsYXNzPSJhY3RpdmUtcGF0aCIgc3R5bGU9ImZpbGw6IzFDNzJCRCIgZGF0YS1vbGRfY29sb3I9IiMxYzcyYmQiPjwvcGF0aD4KCTwvZz4KPC9nPjwvZz4gPC9zdmc + ",O={en:{title:"Subscribe to our push notifications.",buttonAction:"Subscribe",buttonDecline:"No Thanks"},ru:{title:"Подпишитесь на наши push-уведомления!",buttonAction:"Подписаться",buttonDecline:"Позже"},de:{title:"Abonnieren Sie unsere Push-Benachrichtigungen!",buttonAction:"Ermöglichen",buttonDecline:"Später"},fr:{title:"Abonnez-vous à nos notifications push!",buttonAction:"Retirer",buttonDecline:"Plus tard"},it:{title:"Iscriviti alle nostre notifiche push!",buttonAction:"Permettere",buttonDecline:"Dopo"},es:{title:"Suscríbete a nuestras notificaciones push!",buttonAction:"Permitir",buttonDecline:"Luego"},ja:{title:"私たちのプッシュ通知を購読する!",buttonAction:"許可する",buttonDecline:"後"},hi:{title:"हमारे पुश सूचनाओं की सदस्यता लें!",buttonAction:"अनुमति दें",buttonDecline:"बाद में"}},I={en:{title:"".concat(window.location.hostname," has been asked to send notifications"),buttonAction:"Allow",buttonDecline:"Block"},ru:{title:"с сайта ".concat(window.location.hostname," поступил запрос на отправку уведомлений"),buttonAction:"Разрешить",buttonDecline:"Блокировать"},de:{title:"Es liegt eine Anfrage von ".concat(window.location.hostname," zum Senden von Benachrichtigungen vor"),buttonAction:"Ermöglichen",buttonDecline:"Block"},fr:{title:"".concat(window.location.hostname," a reçu une demande d'envoi de notifications"),buttonAction:"Retirer",buttonDecline:"Blocs"},it:{title:"".concat(window.location.hostname," ha ricevuto una richiesta di invio di notifiche"),buttonAction:"Permettere",buttonDecline:"Blocco"},es:{title:"".concat(window.location.hostname," ha recibido una solicitud para enviar notificaciones"),buttonAction:"Permitir",buttonDecline:"Bloque"},ja:{title:"".concat(window.location.hostname,"が通知の送信を依頼されました。"),buttonAction:"許可する",buttonDecline:"ブロック"},hi:{title:"".concat(window.location.hostname," को सूचनाएं भेजने के लिए कहा गया है"),buttonAction:"अनुमति दें",buttonDecline:"अवरोध पैदा करना"}};var L=O[t]||O.en,E=I[t]||I.en,N={negative:"actor-negative",positive:"actor-positive"};const _={pop:null,show(e){this.pop&&(this.pop.classList.add("poper_show"),o(e,this))},close(e){this.pop&&(this.pop.classList.remove("poper_show"),o(e,this))},setEvents(e,t){this.pop.addEventListener("click",(n=>{(n.target.matches(".actor-negative")||n.target.matches(".actor-negative font"))&&this.close(e),(n.target.matches(".actor-positive")||n.target.matches(".actor-positive font"))&&this.close(t)}),!1)},create(){var{title:e=L.title,buttonAction:t={},buttonDecline:n={},icon:o=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,a=[Object.assign(n,{text:n.text||(r?E.buttonDecline:L.buttonDecline),order:n.order||"0",style:n.style,type:"negative"}),Object.assign(t,{text:t.text||(r?E.buttonAction:L.buttonAction),order:t.order||"1",style:t.style,type:"positive"})].sort(((e,t)=>e.order-t.order)).map((e=>function(e){var t="";if(e.style)for(var n in e.style)t+="".concat(n,":").concat(e.style[n],";");return'")}(e))).join(""),s=i('
'+e+'
'+a+"
");return document.body.appendChild(s),s},init(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return this.pop=this.create({title:t?E.title:e.title,buttonAction:e.buttonAction||E.buttonAction,buttonDecline:e.buttonDecline||E.buttonDecline,icon:e.icon},t),this.setEvents(e.onClose,e.onAccept),this}};function T(e){return{get:function(t){try{return e.getItem(t)}catch(e){return console.warn(e),null}},add:function(t,n){try{e.setItem(t,n)}catch(e){console.warn(e)}},delete:function(t){try{e.removeItem(t)}catch(e){console.warn(e)}}}}function z(e){return Object.assign({},e,{get:function(t){var n=null;try{n=JSON.parse(e.get(t))}catch(e){console.error(e)}return!n||n.timestamp&&Date.now()>=n.timestamp?(e.delete(t),null):n.value},add:function(t,n,o){var i=60*o*1e3;return e.add(t,JSON.stringify({value:n,timestamp:Date.now()+i})),n}})}var C=T(window.sessionStorage),R=(z(C),T(window.localStorage)),Y=z(R);var U,B,W;B=document.scrollingElement||document.documentElement,W=null,U=null;var G=function(){return W=B.scrollTop,U=document.body.style.cssText,document.body.style.cssText=";overflow: hidden; position: fixed; height: 100%; width: 100%; top:"+-W+"px; "},H=function(){return document.body.style.cssText=U,B.scrollTop=W};class F{constructor(e){this.params=Object.assign(e,{transparency:e.transparency||".8",text:e.text||"Press “Allow” to continue!",onShow:e.onShow,onClose:e.onClose}),this.overlay=this.createOverlay(),this.is=!1}createOverlay(){var e=i('
\n
\n '],{type:"image/svg+xml"})),'">\n
').concat(this.params.text,"
\n
\n
"));return document.body.appendChild(e),e}show(){var{helperTopMargin:e=null,showHelper:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.is){if(t){var n=document.getElementById("puoverlay-box");e&&(n.style.marginTop=e),n.classList.remove("puoverlay-hidden")}this.overlay.classList.remove("puoverlay-hidden"),this.is=!0,G(),o(this.params.onShow)}}close(){this.is&&(this.overlay.classList.add("puoverlay-hidden"),this.is=!1,H(),o(this.params.onClose))}showHelper(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.is){var t=document.getElementById("puoverlay-box");e&&(t.style.marginTop=e),t.classList.remove("puoverlay-hidden")}}}var Z=n(356);function Q(e,t,n,o,i,r,a){try{var s=e[r](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(o,i)}class J{constructor(e){var t,n;this.overlay=e?new F(e):null,t=Z.Z,(n=document.createElement("style")).innerHTML=t.toString(),document.head.appendChild(n)}showNativePrompt(){var e,t=this;return(e=function*(){t.overlay&&t.overlay.show({showHelper:!0});var e=yield Notification.requestPermission();return t.overlay&&t.overlay.close(),e},function(){var t=this,n=arguments;return new Promise((function(o,i){var r=e.apply(t,n);function a(e){Q(r,o,i,a,s,"next",e)}function s(e){Q(r,o,i,a,s,"throw",e)}a(void 0)}))})()}canShow(e){return!Y.get("tcPPopupStoper_".concat(e))}showPopupPrompt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((n=>{var i=e.id?"tcPPopupStoper_".concat(e.id):"tcPPopupStoper",r=_.init({title:e.title,buttonAction:e.buttonAction,buttonDecline:e.buttonDecline,icon:e.icon,onClose:()=>{var t;this.overlay&&this.overlay.close(),Y.add(i,1,null!==(t=e.capping)&&void 0!==t?t:360),o(e.onClose),n({status:!1})},onAccept:()=>{var r;(o(e.onAccept),t)&&(this.overlay&&this.overlay.close(),Y.add(i,1,null!==(r=e.capping)&&void 0!==r?r:360));n({status:!0,end:()=>{this.overlay&&this.overlay.close()}})}},t);setTimeout((()=>{this.overlay&&!e.noOverlay&&this.overlay.show({showHelper:e.showHelper,helperTopMargin:"170px"}),r.show(e.onShow)}),e.showDelay)}))}}const X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&e.blocked){var o=e.blocked[t]||e.default&&e.default[t]||e.blocked.en;if(o)return o}return e.default&&(e.default[t]||e.default.en)||e};window.__adFormats=window.__adFormats||{},window.__formatsGetters=window.__formatsGetters||{};var q=window.__adFormats,K=window.__formatsGetters;function V(e){var t=window["_on".concat(e)];t&&t()}var $={DENIED:"PermissionDenied",GRANTED:"PermissionAllowed",NOT_SUPPORTED:"WebPushNotSupported",ALREADY_DENIED:"AlreadyDenied",ALREADY_SUBSCRIBED:"AlreadySubscribed"};function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function te(e){for(var t=1;t{var n=t||y;(new Image).src="".concat(n,"?").concat(e)};function ie(e){return(e=>Object.keys(e).map((t=>encodeURIComponent(t)+"="+encodeURIComponent(e[t]))).join("&"))(te(te({href:location.href,tcid:e.tcid,spot_id:e.spot_id,site:e.tube,source_id:e.sub},s(["utm_source","utm_medium","utm_campaign","utm_content"])),e.extSubParams))}class re{constructor(e){this.params=Object.assign(e,{skip:e.skip||[],onRemoteWinClose:e.onRemoteWinClose||null,remoteDomain:e.remoteDomain||"https://".concat(Math.random().toString(36).substring(7),".").concat("makenoads.com/sub/")}),this.remoteWin={width:300,height:100},this.resenderParams=["sub","subid1","subid2","subid3","subid4","tcid","spot_id","tube"],this.remoteStatus=R.get(f)||3}isPossible(){return!this.params.skip.some((e=>location.href.indexOf(e)>-1))&&3==+this.remoteStatus}subscribe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h.init(this.params.remoteDomain);var t=this.params.remoteDomain+"?remTSub="+encodeURIComponent(location.origin+location.pathname)+this.resenderParams.reduce(((t,n)=>t+"&".concat(n,"=").concat(encodeURIComponent(e[n]))),"");return new Promise((e=>{var n=function(e,t,n,o){null!=window.screenLeft?window.screenLeft:window.screenX,null!=window.screenTop?window.screenTop:window.screenY;var i=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,r=(window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,i/window.screen.availWidth),a=window.open(e,t,"scrollbars=yes, width="+n/r+", height="+o/r+", top=0, left=0");return window.focus&&a.focus(),a}(t,"_blank",this.remoteWin.width,this.remoteWin.height),i=setInterval((()=>{n.closed&&(clearInterval(i),o(this.params.onRemoteWinClose),e(3))}),500);h.on("sub",(t=>{n.close(),R.add(f,t),e(t)}))}))}}window.getRemoteSubscriber=function(){return re};var ae=e=>{var t=new Image;t.referrerPolicy="no-referrer",t.src=e},se=e=>{ae("https://s.uuidksinc.net/match/1256/?remote_uid=".concat(e)),ae("https://s.uuidksinc.net/match/1257/?remote_uid=".concat(e))};Error;Error;function ce(e){e&&!window._rdrlnk&&(window._rdrlnk=e,window.location.replace(e))}function ue(e){window.open(location.href,"_blank"),location.href=e}function le(e){if(e){var t=!1,n=o=>(o.preventDefault(),t&&setTimeout((()=>{window.removeEventListener("beforeunload",n),window.location.replace(e)}),100),"*"),o=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t=e,window.addEventListener("beforeunload",n)};history.pushState({foo:"bar"},"back btn",window.location.href),history.replaceState(null,document.title,location.pathname+location.search);for(var i=0;i<2;i++)try{history.pushState(null,document.title,location.pathname+location.search)}catch(e){i=10}window.addEventListener("popstate",(function(){history.replaceState(null,document.title,location.pathname+location.search),window.removeEventListener("beforeunload",n),ce(e)}),!1);try{window.performance.getEntriesByType("navigation").forEach((function(e){"reload"!==e.type&&("navigate"===e.type?o():o(!0))}))}catch(e){o(!0)}}}class de{constructor(){this.CAPPING_KEY="_si_lst_shw"}show(e){if(this.canShow(e.capping))return setTimeout((()=>{_.init({onClose:()=>ue(e.directLink),onAccept:()=>ue(e.directLink)},!0).show(),e.contentBlocked&&new F({}).show({})}),1e3*e.showDelay)}canShow(e){var t=JSON.parse(localStorage.getItem(this.CAPPING_KEY));if(!t)return localStorage.setItem(this.CAPPING_KEY,JSON.stringify(Date.now())),!0;var n=Date.now()-new Date(t)>1e3*e;return n&&localStorage.setItem(this.CAPPING_KEY,JSON.stringify(Date.now())),n}}function pe(){var e=new RegExp("(WebView|(iPhone|iPod|iPad)(?!.*Safari/)|Android.*(wv))","ig");return Boolean(window.navigator.userAgent.match(e))&&-1!==window.navigator.userAgent.indexOf("fb")||-1!==window.navigator.userAgent.indexOf("android")||-1!==window.navigator.userAgent.indexOf("wv")}function he(e){return"intent://"+e+"#Intent;scheme=https;package=com.android.chrome;end"}function ve(e){document.body.addEventListener("click",(()=>{window.onbeforeunload=null,window.open(e,"_system")}))}function me(e){return"".concat(1===e?x:3===e?"_startMBpush":4===e?"pushONclsuboffer":x)}function we(e){return"".concat(1===e?S:3===e?"_startMBpushStarted":4===e?"pushONclStarted":S)}function fe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=t||{};return Object.keys(e).forEach((t=>{e[t]&&(n[t]=e[t])})),n}function be(e,t,n,o,i,r,a){try{var s=e[r](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(o,i)}function ge(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var r=e.apply(t,n);function a(e){be(r,o,i,a,s,"next",e)}function s(e){be(r,o,i,a,s,"throw",e)}a(void 0)}))}}class ye{constructor(e,t,n){this.promptManager=e,this.promptOptions=t,this.trackShowNotification=n,this.prompt=null}closeOverlay(){var e;null===(e=this.prompt)||void 0===e||e.end()}showPopupPrompt(){var e=this;return ge((function*(){return yield e.promptManager.showPopupPrompt(e.promptOptions)}))()}run(e){var t=this;return ge((function*(){return t.trackShowNotification(),t.prompt=yield t.showPopupPrompt(),t.prompt.status?e?yield e():P:D}))()}}function xe(e,t,n,o,i,r,a){try{var s=e[r](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(o,i)}class Se{constructor(e){this.trackShowNotification=e}run(e){var t,n=this;return(t=function*(){return n.trackShowNotification(),yield e()},function(){var e=this,n=arguments;return new Promise((function(o,i){var r=t.apply(e,n);function a(e){xe(r,o,i,a,s,"next",e)}function s(e){xe(r,o,i,a,s,"throw",e)}a(void 0)}))})()}}function Pe(e,t,n,o,i,r,a){try{var s=e[r](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(o,i)}class De{constructor(e){this.trackShowNotification=e}run(e){var t=this;return new Promise((n=>{var o=function(){var i,r=(i=function*(){document.body.removeEventListener("click",o),t.trackShowNotification();var i=yield e();return n(i)},function(){var e=this,t=arguments;return new Promise((function(n,o){var r=i.apply(e,t);function a(e){Pe(r,n,o,a,s,"next",e)}function s(e){Pe(r,n,o,a,s,"throw",e)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();document.body.addEventListener("click",o)}))}}function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ae(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},{_pdomain:n=null,_psubdomain:i=null,initActions:a=null,withoutPermissionRegister:c=!0,serviceWorkerPath:v="/tcpusher.js",serviceWorkerOptions:f={},isRemoteSW:b=!1,promptOptions:g={},subLocker:y=null,remoteSub:x={poperText:{},tryDelay:360,onSubscriptionReceived:null},tube:S="tcpublisher",sub:j=t.magmaSourceId||t.sub||r(),subid1:A="",subid2:M="",subid3:O="",subid4:I="",tcid:L=0,spot_id:E=0,extSubParams:N={},skipsw:_=!1,onProcessPermission:T=null,onRequestPermission:z=null,onSubProcess:C=null,auction_url:R,allowed_link:Y="",denied_link:U="",already_subscribed_link:B="",unsupported_link:W="",back_button_link:G="",track_sub_url:H,subInterstitialSettings:F={enabled:!1,onlyAndroid:!0},primary_auction_url:Z,options:Q,isManualStart:q=!1}=e,K=new URLSearchParams(window.location.search),ee={activate:()=>Oe((function*(){if(null!=Q&&Q.redirect_chrome&&pe()){ve(he(window.location.hostname+window.location.pathname+window.location.search))}else{var n=t=>{e.onSubscribed&&e.onSubscribed(t),ce(Y)},r=!F.onlyAndroid||k.isAndroid(t.ua),q=F.enabled&&r;le(G);var ee=()=>(new de).show(F),te=e.remoteSubOnDenied,ne=ie({tcid:L,spot_id:E,tube:S,sub:j,extSubParams:N});if(t.visitorId&&se(t.visitorId),_){if("object"!=typeof _)return;if(_.ff&&k.isFirefox())return}if((yield k.isPrivateMode())||!k.isPushAvailible())return V($.NOT_SUPPORTED),void ce(W);if(k.isSslMode()&&c){var ae=new m(v,f);Ee.serviceWorkerRegistration=yield ae.register()}a&&!k.isPermissionGranted()&&(yield w.wait(a));var ue=new J(y);if(k.isPermissionDenied()&&q)ee();else{if(!Ee.isRemote&&(!k.isSslMode()||te&&k.isPermissionDenied())){if(!ue.canShow("remote"))return;var me=new re(x);if(!me.isPossible())return;var we=X(x.poperText,k.isPermissionDenied()),be={title:we.title,buttonAction:we.buttonAction,buttonDecline:we.buttonDecline,icon:x.icon,onClose:x.onPoperDecline,onAccept:x.onPoperAction,onShow:x.onPoperShow,showDelay:x.showPoperDelay,capping:x.tryDelay,noOverlay:x.noOverlay,showHelper:!0,id:"remote"},ge=new ye(ue,be,(()=>{var e=new URLSearchParams(ne);e.append("custom_p","1");var t=e.toString();oe(t,H)}));if((yield ge.run())!==P)return;var xe=yield me.subscribe({sub:j,subid1:A,subid2:M,subid3:O,subid4:I,tcid:L,spot_id:E,tube:S});return o(x.onSubscriptionReceived,xe),void ge.closeOverlay()}if(k.isPermissionDenied())V($.ALREADY_DENIED);else{var Pe=new Se((()=>{oe(ne,H)}));if(!k.isPermissionGranted()){if(o(T),l(t.ua.browser.name)&&!u())return;if(p(t.ua.browser.name))Pe=new De((()=>{oe(ne,H)}));else if(k.isFirefox()||d(t.ua.browser.name)||l(t.ua.browser.name)&&u()||Object.keys(g).length>0){if(!ue.canShow("prompt"))return;var je=Object.assign(g,{title:g.title,buttonAction:g.buttonAction,buttonDecline:g.buttonDecline,onAccept:g.onAccept,onClose:g.onClose,onShow:g.onShow,capping:g.closeCapping,showHelper:!1,id:"prompt"});Pe=new ye(ue,je,(()=>{oe(ne,H)}))}var ke=yield Pe.run(Oe((function*(){var e=yield ue.showNativePrompt();return o(z,e),V($[e.toUpperCase()]),e!==P&&(Ee.isRemote&&h.sendParent("sub",e===D?2:3),q&&ee(),ce(U)),e})));if(ke!==P)return}if(!Ee.serviceWorkerRegistration){var Me=new m(v,f);Ee.serviceWorkerRegistration=yield Me.register()}var Ie=t.clickId||K.get("clickid"),Le=s(["utm_source","utm_medium","utm_campaign","utm_content"]),Ne=fe(t.pushUTMParams,Le);Ee.serviceWorkerRegistration.active.postMessage({adManagerEnv:t,language:navigator.language,auctionUrl:R,primaryAuctionUrl:Z,subscribeSW:!0,subscribeParams:Ae({_psubdomain:i,tube:S,sub:j,subid1:A,subid2:M,subid3:O,subid4:I,referrer:document.referrer,tcid:L,spot_id:E,is_adblock:t.isAdBlock,is_pwa_subscriber:l(t.ua.browser.name)&&u(),href:window.location.href,fp:t.userId,fp_str:t.visitorIdString,clickId:Ie,extSubParams:N,utm:Ne},b&&{uriParams:Ee.uriParams})});navigator.serviceWorker.addEventListener("message",(e=>{"subscribed"===e.data.status&&(o(n,e.data.data),Ee.isRemote&&h.sendParent("sub",e.data.data?1:3)),"failed"===e.data.status&&(console.error("Subscription error",e.data.data),Ee.isRemote&&h.sendParent("sub",3)),"progress"===e.data.status&&o(C),"subscriptionExist"===e.data.status&&(V($.ALREADY_SUBSCRIBED),ce(B),o(n,e.data.data))}))}}}}))()};if(q){var te=t.cabsId,ne=me(te),ae=we(te);window["".concat(ne)]=ee;var ue=new Event(ae,{bubbles:!0,cancelable:!1});document.dispatchEvent(ue)}else ee.activate()})),_e.apply(this,arguments)}window.init=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{t(q[e])}))}(Ie),K[Ie]=null)})()})();