var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
{
  let window = _____WB$wombat$assign$function_____("window");
  let self = _____WB$wombat$assign$function_____("self");
  let document = _____WB$wombat$assign$function_____("document");
  let location = _____WB$wombat$assign$function_____("location");
  let top = _____WB$wombat$assign$function_____("top");
  let parent = _____WB$wombat$assign$function_____("parent");
  let frames = _____WB$wombat$assign$function_____("frames");
  let opener = _____WB$wombat$assign$function_____("opener");

var SSPjs;!function(){var e,t,n={6906:function(e,t){"use strict";var n=function(){function e(e){this.regValidKey=new RegExp("([a-zA-Z0-9_-]{0,})","i"),this.hash=e||location.hostname}return e.prototype.isSupported=function(){return"object"==typeof document&&"string"==typeof document.cookie},e.prototype.setItem=function(e,t,n,r,o,i,a,s){void 0===e&&(e=!0),void 0===r&&(r=30),void 0===o&&(o="/"),void 0===i&&(i=location.hostname.split(".").slice(-2).join(".")),void 0===a&&(a="https:"===location.protocol),void 0===s&&(s=!0);try{if("boolean"==typeof e&&"string"==typeof t&&this.regValidKey.test(t)&&"string"==typeof n&&(""===n||this.regValidKey.test(n))&&"number"==typeof r&&"string"==typeof o&&"string"==typeof i&&-1!==location.hostname.indexOf(i)&&"boolean"==typeof a&&a===("https:"===location.protocol)){var c=document.createElement("a");if(c.href="http://"+i+o,c.hostname===i||c.pathname===o){if(!e||this.isSupported()){var u="";u+=s?this.hash+"_"+t:t;var l=new Date;l.setTime(l.getTime()+24*r*60*60*1e3);var p=l.toUTCString();return n=encodeURIComponent(n),document.cookie=u+"="+n+(p?"; expires="+p:"")+(o?"; path="+o:"")+(i?"; domain="+i:"")+(a?"; secure":""),this.getItem(e,t,s)===decodeURIComponent(n)}return!1}return!1}return!1}catch(e){return!1}},e.prototype.getItem=function(e,t,n){void 0===e&&(e=!0),void 0===n&&(n=!0);try{if("boolean"!=typeof e||"string"!=typeof t||!this.regValidKey.test(t))return!1;if(e&&!this.isSupported())return!1;n&&(t=this.hash+"_"+t);for(var r=document.cookie.split(";"),o=[],i=0;i<r.length;i++){var a=r[i],s=this._getCookieParts(a),c=s.left,u=s.right;c===t&&o.push(decodeURIComponent(u))}if(0===o.length)return!1;if(1===o.length)return o[0];try{var l=1/0,p=void 0;for(i=0;i<o.length;i++){var f=o[i].split(":")[1].split(".").length;f<l&&(l=f,p=o[i])}return p||!1}catch(e){return!1}}catch(e){return!1}},e.prototype.removeItem=function(e,t){void 0===e&&(e=!0);try{return!("boolean"!=typeof e||"string"!=typeof t||!this.regValidKey.test(t))&&(!(e&&!this.isSupported())&&(this.setItem(e,t,"",-86400),!1===this.getItem(e,t)))}catch(e){return!1}},e.prototype.getKeys=function(e){void 0===e&&(e=!0);try{if("boolean"==typeof e){if(!e||this.isSupported()){for(var t=[],n=document.cookie.split(";"),r=0;r<n.length;r++){var o=n[r],i=this._getCookieParts(o).left;0===i.indexOf(this.hash)&&t.push(i.substr(this.hash.length+1))}return t}return[]}return[]}catch(e){return[]}},e.prototype.clear=function(e){void 0===e&&(e=!0);try{if("boolean"==typeof e){if(!e||this.isSupported()){var t=this.getKeys(e);if(t)for(var n=0;n<t.length;n++){var r=t[n];this.removeItem(e,r)}return 0===this.getKeys(e).length}return!0}return!1}catch(e){return!1}},e.prototype._getCookieParts=function(e){var t=e.indexOf("=");return t<0?{left:"",right:""}:{left:e.slice(0,t).trim(),right:e.slice(t+1,e.length).trim()}},e}();t.Z=n},9398:function(e){"use strict";var t=function(){var e=new Error("Delay aborted");return e.name="AbortError",e},n=function(e){var n=e.clearTimeout,r=e.setTimeout,o=e.willResolve;return function(e,i){var a,s,c,u=void 0===i?{}:i,l=u.value,p=u.signal;if(p&&p.aborted)return Promise.reject(t());var f=n||clearTimeout,d=function(){f(a),c(t())},h=new Promise((function(t,n){s=function(){p&&p.removeEventListener("abort",d),o?t(l):n(l)},c=n,a=(r||setTimeout)(s,e)}));return p&&p.addEventListener("abort",d,{once:!0}),h.clear=function(){f(a),a=null,s()},h}},r=n({willResolve:!0});r.reject=n({willResolve:!1}),r.range=function(e,t,n){return r(function(e,t){return Math.floor(Math.random()*(t-e+1)+e)}(e,t),n)},r.createWithTimers=function(e){var t=e.clearTimeout,r=e.setTimeout,o=n({clearTimeout:t,setTimeout:r,willResolve:!0});return o.reject=n({clearTimeout:t,setTimeout:r,willResolve:!1}),o},e.exports=r,e.exports.default=r},2120:function(e,t,n){"use strict";!function(e){for(var t=0,n=["ms","moz","webkit","o"],r=0;r<n.length&&!e.requestAnimationFrame;++r)e.requestAnimationFrame=e["".concat(n[r],"RequestAnimationFrame")],e.cancelAnimationFrame=e["".concat(n[r],"CancelAnimationFrame")]||e["".concat(n[r],"CancelRequestAnimationFrame")];e.requestAnimationFrame||(e.requestAnimationFrame=function(n){var r=(new Date).getTime(),o=Math.max(0,16-(r-t)),i=e.setTimeout((function(){n(r+o)}),o);return t=r+o,i}),e.cancelAnimationFrame||(e.cancelAnimationFrame=function(e){clearTimeout(e)})}(window||n.g)},1924:function(e,t,n){"use strict";var r=n(210),o=n(5559),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},5559:function(e,t,n){"use strict";var r=n(8612),o=n(210),i=n(7771),a=o("%TypeError%"),s=o("%Function.prototype.apply%"),c=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||r.call(c,s),l=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=u(r,c,arguments);return i(t,1+p(0,e.length-(arguments.length-1)),!0)};var f=function(){return u(r,s,arguments)};l?l(e.exports,"apply",{value:f}):e.exports.apply=f},3241:function(){
/*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */
"document"in window.self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(e){"use strict";if("Element"in e){var t="classList",n="prototype",r=e.Element[n],o=Object,i=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},a=Array[n].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},s=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},c=function(e,t){if(""===t)throw new s("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new s("INVALID_CHARACTER_ERR","String contains an invalid character");return a.call(e,t)},u=function(e){for(var t=i.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],r=0,o=n.length;r<o;r++)this.push(n[r]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},l=u[n]=[],p=function(){return new u(this)};if(s[n]=Error[n],l.item=function(e){return this[e]||null},l.contains=function(e){return-1!==c(this,e+="")},l.add=function(){var e,t=arguments,n=0,r=t.length,o=!1;do{-1===c(this,e=t[n]+"")&&(this.push(e),o=!0)}while(++n<r);o&&this._updateClassName()},l.remove=function(){var e,t,n=arguments,r=0,o=n.length,i=!1;do{for(t=c(this,e=n[r]+"");-1!==t;)this.splice(t,1),i=!0,t=c(this,e)}while(++r<o);i&&this._updateClassName()},l.toggle=function(e,t){e+="";var n=this.contains(e),r=n?!0!==t&&"remove":!1!==t&&"add";return r&&this[r](e),!0===t||!1===t?t:!n},l.toString=function(){return this.join(" ")},o.defineProperty){var f={get:p,enumerable:!0,configurable:!0};try{o.defineProperty(r,t,f)}catch(e){void 0!==e.number&&-2146823252!==e.number||(f.enumerable=!1,o.defineProperty(r,t,f))}}else o[n].__defineGetter__&&r.__defineGetter__(t,p)}}(window.self),function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,r=arguments.length;for(n=0;n<r;n++)e=arguments[n],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}e=null}())},8249:function(e,t,n){var r;e.exports=(r=r||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(2480)}catch(e){}var o=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),a={},s=a.lib={},c=s.Base={extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=s.WordArray=c.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||p).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++){var a=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(var s=0;s<o;s+=4)t[r+s>>>2]=n[s>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(o());return new u.init(t,e)}}),l=a.enc={},p=l.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new u.init(n,t/2)}},f=l.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new u.init(n,t)}},d=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},h=s.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,a=this.blockSize,s=i/(4*a),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,l=e.min(4*c,i);if(c){for(var p=0;p<c;p+=a)this._doProcessBlock(o,p);n=o.splice(0,c),r.sigBytes-=l}return new u.init(n,l)},clone:function(){var e=c.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),v=(s.Hasher=h.extend({cfg:c.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){h.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new v.HMAC.init(e,n).finalize(t)}}}),a.algo={});return a}(Math),r)},8214:function(e,t,n){var r;e.exports=(r=n(8249),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=a.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=e[t+0],c=e[t+1],d=e[t+2],h=e[t+3],v=e[t+4],g=e[t+5],m=e[t+6],b=e[t+7],y=e[t+8],w=e[t+9],_=e[t+10],S=e[t+11],E=e[t+12],O=e[t+13],k=e[t+14],x=e[t+15],T=i[0],P=i[1],C=i[2],R=i[3];T=u(T,P,C,R,a,7,s[0]),R=u(R,T,P,C,c,12,s[1]),C=u(C,R,T,P,d,17,s[2]),P=u(P,C,R,T,h,22,s[3]),T=u(T,P,C,R,v,7,s[4]),R=u(R,T,P,C,g,12,s[5]),C=u(C,R,T,P,m,17,s[6]),P=u(P,C,R,T,b,22,s[7]),T=u(T,P,C,R,y,7,s[8]),R=u(R,T,P,C,w,12,s[9]),C=u(C,R,T,P,_,17,s[10]),P=u(P,C,R,T,S,22,s[11]),T=u(T,P,C,R,E,7,s[12]),R=u(R,T,P,C,O,12,s[13]),C=u(C,R,T,P,k,17,s[14]),T=l(T,P=u(P,C,R,T,x,22,s[15]),C,R,c,5,s[16]),R=l(R,T,P,C,m,9,s[17]),C=l(C,R,T,P,S,14,s[18]),P=l(P,C,R,T,a,20,s[19]),T=l(T,P,C,R,g,5,s[20]),R=l(R,T,P,C,_,9,s[21]),C=l(C,R,T,P,x,14,s[22]),P=l(P,C,R,T,v,20,s[23]),T=l(T,P,C,R,w,5,s[24]),R=l(R,T,P,C,k,9,s[25]),C=l(C,R,T,P,h,14,s[26]),P=l(P,C,R,T,y,20,s[27]),T=l(T,P,C,R,O,5,s[28]),R=l(R,T,P,C,d,9,s[29]),C=l(C,R,T,P,b,14,s[30]),T=p(T,P=l(P,C,R,T,E,20,s[31]),C,R,g,4,s[32]),R=p(R,T,P,C,y,11,s[33]),C=p(C,R,T,P,S,16,s[34]),P=p(P,C,R,T,k,23,s[35]),T=p(T,P,C,R,c,4,s[36]),R=p(R,T,P,C,v,11,s[37]),C=p(C,R,T,P,b,16,s[38]),P=p(P,C,R,T,_,23,s[39]),T=p(T,P,C,R,O,4,s[40]),R=p(R,T,P,C,a,11,s[41]),C=p(C,R,T,P,h,16,s[42]),P=p(P,C,R,T,m,23,s[43]),T=p(T,P,C,R,w,4,s[44]),R=p(R,T,P,C,E,11,s[45]),C=p(C,R,T,P,x,16,s[46]),T=f(T,P=p(P,C,R,T,d,23,s[47]),C,R,a,6,s[48]),R=f(R,T,P,C,b,10,s[49]),C=f(C,R,T,P,k,15,s[50]),P=f(P,C,R,T,g,21,s[51]),T=f(T,P,C,R,E,6,s[52]),R=f(R,T,P,C,h,10,s[53]),C=f(C,R,T,P,_,15,s[54]),P=f(P,C,R,T,c,21,s[55]),T=f(T,P,C,R,y,6,s[56]),R=f(R,T,P,C,x,10,s[57]),C=f(C,R,T,P,m,15,s[58]),P=f(P,C,R,T,O,21,s[59]),T=f(T,P,C,R,v,6,s[60]),R=f(R,T,P,C,S,10,s[61]),C=f(C,R,T,P,d,15,s[62]),P=f(P,C,R,T,w,21,s[63]),i[0]=i[0]+T|0,i[1]=i[1]+P|0,i[2]=i[2]+C|0,i[3]=i[3]+R|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;n[o>>>5]|=128<<24-o%32;var i=e.floor(r/4294967296),a=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,c=s.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return s},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)+o+a;return(s<<i|s>>>32-i)+t}function l(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)+o+a;return(s<<i|s>>>32-i)+t}function p(e,t,n,r,o,i,a){var s=e+(t^n^r)+o+a;return(s<<i|s>>>32-i)+t}function f(e,t,n,r,o,i,a){var s=e+(n^(t|~r))+o+a;return(s<<i|s>>>32-i)+t}t.MD5=i._createHelper(c),t.HmacMD5=i._createHmacHelper(c)}(Math),r.MD5)},5119:function(e,t,n){"use strict";n.r(t);var r=n(8081),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,".inview-timers-wrapper{font-family:Helvetica, Arial, sans-serif;position:fixed;overflow:hidden;top:50px;right:10px;z-index:9999999999;width:280px;height:auto;max-height:100vh;background:#fff;-webkit-box-shadow:0 0 10px rgba(0,0,0,0.5);-moz-box-shadow:0 0 10px rgba(0,0,0,0.5);box-shadow:0 0 10px rgba(0,0,0,0.5);padding:4px;font-size:12px}.inview-timers-wrapper .inview-timers__row{position:relative;overflow:hidden;width:100%;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.inview-timers-wrapper .inview-timers__row svg{width:1em;height:1em}.inview-timers-wrapper .inview-timers__row.is-widget-header svg{width:1.5em;height:1.5em}.inview-timers-wrapper .column{display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline;overflow:hidden;text-align:center;padding:0.25em;float:none;width:12.5%}.inview-timers-wrapper .column hr{padding:0;margin:0}.inview-timers-wrapper .column.is-title{max-height:32px}.inview-timers-wrapper .column.is-viewed-indicator svg,.inview-timers-wrapper .column.is-nohover-indicator svg,.inview-timers-wrapper .column.is-reloaded-indicator svg{display:none}.inview-timers-wrapper .column.is-viewed-indicator svg.is-visible,.inview-timers-wrapper .column.is-nohover-indicator svg.is-visible,.inview-timers-wrapper .column.is-reloaded-indicator svg.is-visible{display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline}.inview-timers-wrapper .column.is-direction-indicator{-webkit-transform-origin:50% 50%;-moz-transform-origin:50% 50%;-ms-transform-origin:50% 50%;-o-transform-origin:50% 50%;transform-origin:50% 50%}.inview-timers-wrapper .column.is-direction-indicator::after{display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline;content:'';width:0;height:100%}.inview-timers-wrapper .column.is-direction-indicator svg{display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline}.inview-timers-wrapper .is-widget-title{text-align:center}.inviewtime-sticker{display:flex;align-items:center;white-space:nowrap;font:12px/1 Helvetica, Arial, sans-serif;position:absolute;top:0;left:0;background:#f00;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;text-align:center;z-index:9;padding:10px}.inviewtime-sticker::before{content:'';display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline;height:100%}.inviewtime-sticker hr{padding:0;margin:0.25em 0}.inviewtime-sticker span{display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline}.inviewtime-sticker span.inviewtime-sticker__symbol{font-size:18px}\n",""]),t.default=a},8262:function(e,t,n){"use strict";n.r(t);var r=n(8081),o=n.n(r),i=n(3645),a=n.n(i)()(o());a.push([e.id,"div[id^='AdFox_banner'],div[id^='begun_block'],div[id^='begun_block']>iframe,iframe[id^='AdFox_iframe']{display:block;margin-right:auto;margin-left:auto}div[id^='begun_block'],div[id^='__ban_']{flex:1 1 auto;max-width:100%;width:100%}#pushwoosh-popup{pointer-events:auto !important}.pushwoosh__container{pointer-events:none !important}.mol-vast-skip-control{display:none}\n",""]),t.default=a},3645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(a[c]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&a[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},8081:function(e){"use strict";e.exports=function(e){return e[1]}},2296:function(e,t,n){"use strict";var r=n(1044)(),o=n(210),i=r&&o("%Object.defineProperty%",!0);if(i)try{i({},"a",{value:1})}catch(e){i=!1}var a=o("%SyntaxError%"),s=o("%TypeError%"),c=n(7296);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new s("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new s("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new s("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new s("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new s("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new s("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],p=!!c&&c(e,t);if(i)i(e,t,{configurable:null===u&&p?p.configurable:!u,enumerable:null===r&&p?p.enumerable:!r,value:n,writable:null===o&&p?p.writable:!o});else{if(!l&&(r||o||u))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},3654:function(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1})},7648:function(e){"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var o=0;o<t.length;o+=1)n[o+e.length]=t[o];return n};e.exports=function(e){var o=this;if("function"!=typeof o||"[object Function]"!==t.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,a=function(e,t){for(var n=[],r=t||0,o=0;r<e.length;r+=1,o+=1)n[o]=e[r];return n}(arguments,1),s=n(0,o.length-a.length),c=[],u=0;u<s;u++)c[u]="$"+u;if(i=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n}(c,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var t=o.apply(this,r(a,arguments));return Object(t)===t?t:this}return o.apply(e,r(a,arguments))})),o.prototype){var l=function(){};l.prototype=o.prototype,i.prototype=new l,l.prototype=null}return i}},8612:function(e,t,n){"use strict";var r=n(7648);e.exports=Function.prototype.bind||r},210:function(e,t,n){"use strict";var r,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var u=function(){throw new a},l=c?function(){try{return u}catch(e){try{return c(arguments,"callee").get}catch(e){return u}}}():u,p=n(1405)(),f=n(8185)(),d=Object.getPrototypeOf||(f?function(e){return e.__proto__}:null),h={},v="undefined"!=typeof Uint8Array&&d?d(Uint8Array):r,g={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":p&&d?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p&&d?d(d([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p&&d?d((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p&&d?d((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p&&d?d(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":l,"%TypedArray%":v,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(d)try{null.error}catch(e){var m=d(d(e));g["%Error.prototype%"]=m}var b=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&d&&(n=d(o.prototype))}return g[t]=n,n},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=n(8612),_=n(8824),S=w.call(Function.call,Array.prototype.concat),E=w.call(Function.apply,Array.prototype.splice),O=w.call(Function.call,String.prototype.replace),k=w.call(Function.call,String.prototype.slice),x=w.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,C=function(e,t){var n,r=e;if(_(y,r)&&(r="%"+(n=y[r])[0]+"%"),_(g,r)){var i=g[r];if(i===h&&(i=b(r)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===x(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=k(e,0,1),n=k(e,-1);if("%"===t&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return O(e,T,(function(e,t,n,o){r[r.length]=n?O(o,P,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",i=C("%"+r+"%",t),s=i.name,u=i.value,l=!1,p=i.alias;p&&(r=p[0],E(n,S([0,1],p)));for(var f=1,d=!0;f<n.length;f+=1){var h=n[f],v=k(h,0,1),m=k(h,-1);if(('"'===v||"'"===v||"`"===v||'"'===m||"'"===m||"`"===m)&&v!==m)throw new o("property names with quotes must have matching quotes");if("constructor"!==h&&d||(l=!0),_(g,s="%"+(r+="."+h)+"%"))u=g[s];else if(null!=u){if(!(h in u)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&f+1>=n.length){var b=c(u,h);u=(d=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:u[h]}else d=_(u,h),u=u[h];d&&!l&&(g[s]=u)}}return u}},7296:function(e,t,n){"use strict";var r=n(210)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},1044:function(e,t,n){"use strict";var r=n(210)("%Object.defineProperty%",!0),o=function(){if(r)try{return r({},"a",{value:1}),!0}catch(e){return!1}return!1};o.hasArrayLengthDefineBug=function(){if(!o())return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},8185:function(e){"use strict";var t={foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof n)}},1405:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(5419);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},5419:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},8824:function(e,t,n){"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=n(8612);e.exports=i.call(r,o)},4861:function(e){!function(){function t(e,t,n){var r;document.createEvent?(r=document.createEvent("HTMLEvents")).initEvent(t,!0,!0):document.createEventObject&&((r=document.createEventObject()).eventType=t),r.state=n,r.eventName=t,e.dispatchEvent?e.dispatchEvent(r):e.fireEvent&&htmlEvents["on"+t]?e.fireEvent("on"+r.eventType,r):e[t]?e[t]():e["on"+t]&&e["on"+t]()}function n(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&htmlEvents["on"+t]?e.attachEvent("on"+t,n):e["on"+t]=n}function r(){return"undefined"!=typeof window&&window.history&&"pushState"in window.history}if(r()){var o=window.history,i=o.pushState;o.pushState=function(e){var n=i.apply(o,arguments);return t(window,"pushstate",e),t(window,"changestate",e),n};var a=o.replaceState;o.replaceState=function(e){var n=a.apply(o,arguments);return t(window,"replacestate",e),t(window,"changestate",e),n},n(window,"popstate",(function(e){t(window,"changestate",e.state)}))}var s={isHistorySupported:r,addEventListener:n,removeEventListener:function(e,t,n){e.removeventListener?e.removeEventListener(t,n,!1):e.detachEvent&&htmlEvents["on"+t]?e.detachEvent("on"+t,n):e["on"+t]=null},triggerEvent:t};r()&&(window.HistoryEvents=s),e.exports=s}()},6337:function(){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=o(t);n;)n=o(t=n.ownerDocument);return t}(),t=[],n=null,r=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?f(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,r=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,i=null,a=null;this.POLL_INTERVAL?i=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(i&&e.clearInterval(i),c(e,"resize",r,!0)),c(t,"scroll",r,!0),a&&a.disconnect()}));var u=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=u){var l=o(t);l&&this._monitorIntersections(l.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||e,i=this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var i=o(n);if((n=i&&i.ownerDocument)==t)return!0}return!1}));if(!i){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var s=o(t);s&&this._unmonitorIntersections(s.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},a.prototype._checkForIntersections=function(){if(this.root||!n||r){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(r){var o=r.element,a=l(o),s=this._rootContainsTarget(o),c=r.entry,u=e&&s&&this._computeTargetAndRootIntersection(o,a,t),p=null;this._rootContainsTarget(o)?n&&!this.root||(p=t):p={top:0,bottom:0,left:0,right:0,width:0,height:0};var f=r.entry=new i({time:window.performance&&performance.now&&performance.now(),target:o,boundingClientRect:a,rootBounds:p,intersectionRect:u});c?e&&s?this._hasCrossedThreshold(c,f)&&this._queuedEntries.push(f):c&&c.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(t,o,i){if("none"!=window.getComputedStyle(t).display){for(var a=o,s=h(t),c=!1;!c&&s;){var p=null,d=1==s.nodeType?window.getComputedStyle(s):{};if("none"==d.display)return null;if(s==this.root||9==s.nodeType)if(c=!0,s==this.root||s==e)n&&!this.root?!r||0==r.width&&0==r.height?(s=null,p=null,a=null):p=r:p=i;else{var v=h(s),g=v&&l(v),m=v&&this._computeTargetAndRootIntersection(v,g,i);g&&m?(s=v,p=f(g,m)):(s=null,a=null)}else{var b=s.ownerDocument;s!=b.body&&s!=b.documentElement&&"visible"!=d.overflow&&(p=l(s))}if(p&&(a=u(p,a)),!a)break;s=s&&h(s)}return a}},a.prototype._getRootRect=function(){var t;if(this.root&&!v(this.root))t=l(this.root);else{var n=v(this.root)?this.root:e,r=n.documentElement,o=n.body;t={top:0,left:0,right:r.clientWidth||o.clientWidth,width:r.clientWidth||o.clientWidth,bottom:r.clientHeight||o.clientHeight,height:r.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!=i<r)return!0}},a.prototype._rootIsInDom=function(){return!this.root||d(e,this.root)},a.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return d(n,t)&&(!this.root||n==t.ownerDocument)},a.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},a.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=i}function o(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function i(e){this.time=e.time,this.target=e.target,this.rootBounds=p(e.rootBounds),this.boundingClientRect=p(e.boundingClientRect),this.intersectionRect=p(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,o=r.width*r.height;this.intersectionRatio=n?Number((o/n).toFixed(4)):this.isIntersecting?1:0}function a(e,t){var n,r,o,i=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(i.root&&1!=i.root.nodeType&&9!=i.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,o=null,function(){o||(o=setTimeout((function(){n(),o=null}),r))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function c(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detachEvent&&e.detachEvent("on"+t,n)}function u(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),o=Math.max(e.left,t.left),i=Math.min(e.right,t.right),a=i-o,s=r-n;return a>=0&&s>=0&&{top:n,bottom:r,left:o,right:i,width:a,height:s}||null}function l(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function p(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function f(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function d(e,t){for(var n=t;n;){if(n==e)return!0;n=h(n)}return!1}function h(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?o(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function v(e){return e&&9===e.nodeType}}()},1309:function(e,t,n){var r=n(479),o=n(3925);e.exports=r,e.exports.murmur3=r,e.exports.murmur2=o},3925:function(e){e.exports=function(e,t){for(var n,r=e.length,o=t^r,i=0;r>=4;)n=1540483477*(65535&(n=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(n>>>16)&65535)<<16),o=1540483477*(65535&o)+((1540483477*(o>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),r-=4,++i;switch(r){case 3:o^=(255&e.charCodeAt(i+2))<<16;case 2:o^=(255&e.charCodeAt(i+1))<<8;case 1:o=1540483477*(65535&(o^=255&e.charCodeAt(i)))+((1540483477*(o>>>16)&65535)<<16)}return o=1540483477*(65535&(o^=o>>>13))+((1540483477*(o>>>16)&65535)<<16),(o^=o>>>15)>>>0}},479:function(e){e.exports=function(e,t){var n,r,o,i,a,s,c,u;for(n=3&e.length,r=e.length-n,o=t,a=3432918353,s=461845907,u=0;u<r;)c=255&e.charCodeAt(u)|(255&e.charCodeAt(++u))<<8|(255&e.charCodeAt(++u))<<16|(255&e.charCodeAt(++u))<<24,++u,o=27492+(65535&(i=5*(65535&(o=(o^=c=(65535&(c=(c=(65535&c)*a+(((c>>>16)*a&65535)<<16)&4294967295)<<15|c>>>17))*s+(((c>>>16)*s&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+((58964+(i>>>16)&65535)<<16);switch(c=0,n){case 3:c^=(255&e.charCodeAt(u+2))<<16;case 2:c^=(255&e.charCodeAt(u+1))<<8;case 1:o^=c=(65535&(c=(c=(65535&(c^=255&e.charCodeAt(u)))*a+(((c>>>16)*a&65535)<<16)&4294967295)<<15|c>>>17))*s+(((c>>>16)*s&65535)<<16)&4294967295}return o^=e.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295,(o^=o>>>16)>>>0}},631:function(e,t,n){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&c&&"function"==typeof c.get?c.get:null,l=s&&Set.prototype.forEach,p="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,v=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,b=String.prototype.slice,y=String.prototype.replace,w=String.prototype.toUpperCase,_=String.prototype.toLowerCase,S=RegExp.prototype.test,E=Array.prototype.concat,O=Array.prototype.join,k=Array.prototype.slice,x=Math.floor,T="function"==typeof BigInt?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,R="function"==typeof Symbol&&"object"==typeof Symbol.iterator,I="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===R||"symbol")?Symbol.toStringTag:null,A=Object.prototype.propertyIsEnumerable,D=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function j(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-x(-e):x(e);if(r!==e){var o=String(r),i=b.call(t,o.length+1);return y.call(o,n,"$&_")+"."+y.call(y.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(t,n,"$&_")}var B=n(4654),F=B.custom,N=H(F)?F:null;function L(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function M(e){return y.call(String(e),/"/g,"&quot;")}function V(e){return!("[object Array]"!==z(e)||I&&"object"==typeof e&&I in e)}function U(e){return!("[object RegExp]"!==z(e)||I&&"object"==typeof e&&I in e)}function H(e){if(R)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!C)return!1;try{return C.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,o,s){var c=r||{};if(W(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var v=!W(c,"customInspect")||c.customInspect;if("boolean"!=typeof v&&"symbol"!==v)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=c.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return X(t,c);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var S=String(t);return w?j(t,S):S}if("bigint"==typeof t){var x=String(t)+"n";return w?j(t,x):x}var P=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=P&&P>0&&"object"==typeof t)return V(t)?"[Array]":"[Object]";var F=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=O.call(Array(e.indent+1)," ")}return{base:n,prev:O.call(Array(t+1),n)}}(c,o);if(void 0===s)s=[];else if(G(s,t)>=0)return"[Circular]";function q(t,n,r){if(n&&(s=k.call(s)).push(n),r){var i={depth:c.depth};return W(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),e(t,i,o+1,s)}return e(t,c,o+1,s)}if("function"==typeof t&&!U(t)){var J=function(e){if(e.name)return e.name;var t=m.call(g.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),ee=Z(t,q);return"[Function"+(J?": "+J:" (anonymous)")+"]"+(ee.length>0?" { "+O.call(ee,", ")+" }":"")}if(H(t)){var te=R?y.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):C.call(t);return"object"!=typeof t||R?te:$(te)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var ne="<"+_.call(String(t.nodeName)),re=t.attributes||[],oe=0;oe<re.length;oe++)ne+=" "+re[oe].name+"="+L(M(re[oe].value),"double",c);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+="</"+_.call(String(t.nodeName))+">"}if(V(t)){if(0===t.length)return"[]";var ie=Z(t,q);return F&&!function(e){for(var t=0;t<e.length;t++)if(G(e[t],"\n")>=0)return!1;return!0}(ie)?"["+Q(ie,F)+"]":"[ "+O.call(ie,", ")+" ]"}if(function(e){return!("[object Error]"!==z(e)||I&&"object"==typeof e&&I in e)}(t)){var ae=Z(t,q);return"cause"in Error.prototype||!("cause"in t)||A.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+O.call(ae,", ")+" }":"{ ["+String(t)+"] "+O.call(E.call("[cause]: "+q(t.cause),ae),", ")+" }"}if("object"==typeof t&&v){if(N&&"function"==typeof t[N]&&B)return B(t,{depth:P-o});if("symbol"!==v&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return a&&a.call(t,(function(e,n){se.push(q(n,t,!0)+" => "+q(e,t))})),Y("Map",i.call(t),se,F)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ce=[];return l&&l.call(t,(function(e){ce.push(q(e,t))})),Y("Set",u.call(t),ce,F)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return K("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return K("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(e){}return!1}(t))return K("WeakRef");if(function(e){return!("[object Number]"!==z(e)||I&&"object"==typeof e&&I in e)}(t))return $(q(Number(t)));if(function(e){if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}(t))return $(q(T.call(t)));if(function(e){return!("[object Boolean]"!==z(e)||I&&"object"==typeof e&&I in e)}(t))return $(h.call(t));if(function(e){return!("[object String]"!==z(e)||I&&"object"==typeof e&&I in e)}(t))return $(q(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if(t===n.g)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==z(e)||I&&"object"==typeof e&&I in e)}(t)&&!U(t)){var ue=Z(t,q),le=D?D(t)===Object.prototype:t instanceof Object||t.constructor===Object,pe=t instanceof Object?"":"null prototype",fe=!le&&I&&Object(t)===t&&I in t?b.call(z(t),8,-1):pe?"Object":"",de=(le||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||pe?"["+O.call(E.call([],fe||[],pe||[]),": ")+"] ":"");return 0===ue.length?de+"{}":F?de+"{"+Q(ue,F)+"}":de+"{ "+O.call(ue,", ")+" }"}return String(t)};var q=Object.prototype.hasOwnProperty||function(e){return e in this};function W(e,t){return q.call(e,t)}function z(e){return v.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function X(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return X(b.call(e,0,t.maxStringLength),t)+r}return L(y.call(y.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,J),"single",t)}function J(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function $(e){return"Object("+e+")"}function K(e){return e+" { ? }"}function Y(e,t,n,r){return e+" ("+t+") {"+(r?Q(n,r):O.call(n,", "))+"}"}function Q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+O.call(e,","+n)+"\n"+t.prev}function Z(e,t){var n=V(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=W(e,o)?t(e[o],e):""}var i,a="function"==typeof P?P(e):[];if(R){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var c in e)W(e,c)&&(n&&String(Number(c))===c&&c<e.length||R&&i["$"+c]instanceof Symbol||(S.call(/[^\w$]/,c)?r.push(t(c,e)+": "+t(e[c],e)):r.push(c+": "+t(e[c],e))));if("function"==typeof P)for(var u=0;u<a.length;u++)A.call(e,a[u])&&r.push("["+t(a[u])+"]: "+t(e[a[u]],e));return r}},5798:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:o}},129:function(e,t,n){"use strict";var r=n(8261),o=n(5235),i=n(5798);e.exports={formats:i,parse:o,stringify:r}},5235:function(e,t,n){"use strict";var r=n(2769),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},c=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),u=s?i.slice(0,s.index):i,l=[];if(u){if(!n.plainObjects&&o.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}for(var p=0;n.depth>0&&null!==(s=a.exec(i))&&p<n.depth;){if(p+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+i.slice(s.index)+"]"),function(e,t,n,r){for(var o=r?t:c(t,n),i=e.length-1;i>=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&s!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,u={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,p=t.parameterLimit===1/0?void 0:t.parameterLimit,f=l.split(t.delimiter,p),d=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?h="utf-8":"utf8=%26%2310003%3B"===f[n]&&(h="iso-8859-1"),d=n,n=f.length);for(n=0;n<f.length;++n)if(n!==d){var v,g,m=f[n],b=m.indexOf("]="),y=-1===b?m.indexOf("="):b+1;-1===y?(v=t.decoder(m,a.decoder,h,"key"),g=t.strictNullHandling?null:""):(v=t.decoder(m.slice(0,y),a.decoder,h,"key"),g=r.maybeMap(c(m.slice(y+1),t),(function(e){return t.decoder(e,a.decoder,h,"value")}))),g&&t.interpretNumericEntities&&"iso-8859-1"===h&&(g=s(g)),m.indexOf("[]=")>-1&&(g=i(g)?[g]:g),o.call(u,v)?u[v]=r.combine(u[v],g):u[v]=g}return u}(e,n):e,p=n.plainObjects?Object.create(null):{},f=Object.keys(l),d=0;d<f.length;++d){var h=f[d],v=u(h,l[h],n,"string"==typeof e);p=r.merge(p,v,n)}return!0===n.allowSparse?p:r.compact(p)}},8261:function(e,t,n){"use strict";var r=n(7478),o=n(2769),i=n(5798),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,u=Array.prototype.push,l=function(e,t){u.apply(e,c(t)?t:[t])},p=Date.prototype.toISOString,f=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:f,formatter:i.formatters[f],indices:!1,serializeDate:function(e){return p.call(e)},skipNulls:!1,strictNullHandling:!1},h={},v=function e(t,n,i,a,s,u,p,f,v,g,m,b,y,w,_,S){for(var E,O=t,k=S,x=0,T=!1;void 0!==(k=k.get(h))&&!T;){var P=k.get(t);if(x+=1,void 0!==P){if(P===x)throw new RangeError("Cyclic object value");T=!0}void 0===k.get(h)&&(x=0)}if("function"==typeof f?O=f(n,O):O instanceof Date?O=m(O):"comma"===i&&c(O)&&(O=o.maybeMap(O,(function(e){return e instanceof Date?m(e):e}))),null===O){if(s)return p&&!w?p(n,d.encoder,_,"key",b):n;O=""}if("string"==typeof(E=O)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||o.isBuffer(O))return p?[y(w?n:p(n,d.encoder,_,"key",b))+"="+y(p(O,d.encoder,_,"value",b))]:[y(n)+"="+y(String(O))];var C,R=[];if(void 0===O)return R;if("comma"===i&&c(O))w&&p&&(O=o.maybeMap(O,p)),C=[{value:O.length>0?O.join(",")||null:void 0}];else if(c(f))C=f;else{var I=Object.keys(O);C=v?I.sort(v):I}for(var A=a&&c(O)&&1===O.length?n+"[]":n,D=0;D<C.length;++D){var j=C[D],B="object"==typeof j&&void 0!==j.value?j.value:O[j];if(!u||null!==B){var F=c(O)?"function"==typeof i?i(A,j):A:A+(g?"."+j:"["+j+"]");S.set(t,x);var N=r();N.set(h,S),l(R,e(B,F,i,a,s,u,"comma"===i&&w&&c(O)?null:p,f,v,g,m,b,y,w,_,N))}}return R};e.exports=function(e,t){var n,o=e,u=function(e){if(!e)return d;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=i.formatters[n],o=d.filter;return("function"==typeof e.filter||c(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof u.filter?o=(0,u.filter)("",o):c(u.filter)&&(n=u.filter);var p,f=[];if("object"!=typeof o||null===o)return"";p=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=s[p];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var g="comma"===h&&t&&t.commaRoundTrip;n||(n=Object.keys(o)),u.sort&&n.sort(u.sort);for(var m=r(),b=0;b<n.length;++b){var y=n[b];u.skipNulls&&null===o[y]||l(f,v(o[y],y,h,g,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,m))}var w=f.join(u.delimiter),_=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?_+="utf8=%26%2310003%3B&":_+="utf8=%E2%9C%93&"),w.length>0?_+w:""}},2769:function(e,t,n){"use strict";var r=n(5798),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],a=o.obj[o.prop],s=Object.keys(a),c=0;c<s.length;++c){var u=s[c],l=a[u];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:a,prop:u}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,i){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var c="",u=0;u<s.length;++u){var l=s.charCodeAt(u);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===r.RFC1738&&(40===l||41===l)?c+=s.charAt(u):l<128?c+=a[l]:l<2048?c+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?c+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(u)),c+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return c},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(i(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return i(t)&&!i(n)&&(a=s(t,r)),i(t)&&i(n)?(n.forEach((function(n,i){if(o.call(t,i)){var a=t[i];a&&"object"==typeof a&&n&&"object"==typeof n?t[i]=e(a,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var a=n[i];return o.call(t,i)?t[i]=e(t[i],a,r):t[i]=a,t}),a)}}},4171:function(e){function t(e){this.name="RavenConfigError",this.message=e}t.prototype=new Error,t.prototype.constructor=t,e.exports=t},5606:function(e,t,n){var r=n(6862);e.exports={wrapMethod:function(e,t,n){var o=e[t],i=e;if(t in e){var a="warn"===t?"warning":t;e[t]=function(){var e=[].slice.call(arguments),s=r.safeJoin(e," "),c={level:a,logger:"console",extra:{arguments:e}};"assert"===t?!1===e[0]&&(s="Assertion failed: "+(r.safeJoin(e.slice(1)," ")||"console.assert"),c.extra.arguments=e.slice(1),n&&n(s,c)):n&&n(s,c),o&&Function.prototype.apply.call(o,i,e)}}}}},5378:function(e,t,n){var r=n(9026),o=n(2264),i=n(705),a=n(4171),s=n(6862),c=s.isErrorEvent,u=s.isDOMError,l=s.isDOMException,p=s.isError,f=s.isObject,d=s.isPlainObject,h=s.isUndefined,v=s.isFunction,g=s.isString,m=s.isArray,b=s.isEmptyObject,y=s.each,w=s.objectMerge,_=s.truncate,S=s.objectFrozen,E=s.hasKey,O=s.joinRegExp,k=s.urlencode,x=s.uuid4,T=s.htmlTreeAsString,P=s.isSameException,C=s.isSameStacktrace,R=s.parseUrl,I=s.fill,A=s.supportsFetch,D=s.supportsReferrerPolicy,j=s.serializeKeysForMessage,B=s.serializeException,F=s.sanitize,N=n(5606).wrapMethod,L="source protocol user pass host port path".split(" "),M=/^(?:(\w+):)?\/\/(?:(\w+)(:\w+)?@)?([\w\.-]+)(?::(\d+))?(\/.*)/;function V(){return+new Date}var U="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},H=U.document,q=U.navigator;function W(e,t){return v(t)?function(n){return t(n,e)}:t}function z(){for(var e in this._hasJSON=!("object"!=typeof JSON||!JSON.stringify),this._hasDocument=!h(H),this._hasNavigator=!h(q),this._lastCapturedException=null,this._lastData=null,this._lastEventId=null,this._globalServer=null,this._globalKey=null,this._globalProject=null,this._globalContext={},this._globalOptions={release:U.SENTRY_RELEASE&&U.SENTRY_RELEASE.id,logger:"javascript",ignoreErrors:[],ignoreUrls:[],whitelistUrls:[],includePaths:[],headers:null,collectWindowErrors:!0,captureUnhandledRejections:!0,maxMessageLength:0,maxUrlLength:250,stackTraceLimit:50,autoBreadcrumbs:!0,instrument:!0,sampleRate:1,sanitizeKeys:[]},this._fetchDefaults={method:"POST",referrerPolicy:D()?"origin":""},this._ignoreOnError=0,this._isRavenInstalled=!1,this._originalErrorStackTraceLimit=Error.stackTraceLimit,this._originalConsole=U.console||{},this._originalConsoleMethods={},this._plugins=[],this._startTime=V(),this._wrappedBuiltIns=[],this._breadcrumbs=[],this._lastCapturedEvent=null,this._keypressTimeout,this._location=U.location,this._lastHref=this._location&&this._location.href,this._resetBackoff(),this._originalConsole)this._originalConsoleMethods[e]=this._originalConsole[e]}z.prototype={VERSION:"3.27.2",debug:!1,TraceKit:r,config:function(e,t){var n=this;if(n._globalServer)return this._logDebug("error","Error: Raven has already been configured"),n;if(!e)return n;var o=n._globalOptions;t&&y(t,(function(e,t){"tags"===e||"extra"===e||"user"===e?n._globalContext[e]=t:o[e]=t})),n.setDSN(e),o.ignoreErrors.push(/^Script error\.?$/),o.ignoreErrors.push(/^Javascript error: Script error\.? on line 0$/),o.ignoreErrors=O(o.ignoreErrors),o.ignoreUrls=!!o.ignoreUrls.length&&O(o.ignoreUrls),o.whitelistUrls=!!o.whitelistUrls.length&&O(o.whitelistUrls),o.includePaths=O(o.includePaths),o.maxBreadcrumbs=Math.max(0,Math.min(o.maxBreadcrumbs||100,100));var i={xhr:!0,console:!0,dom:!0,location:!0,sentry:!0},a=o.autoBreadcrumbs;"[object Object]"==={}.toString.call(a)?a=w(i,a):!1!==a&&(a=i),o.autoBreadcrumbs=a;var s={tryCatch:!0},c=o.instrument;return"[object Object]"==={}.toString.call(c)?c=w(s,c):!1!==c&&(c=s),o.instrument=c,r.collectWindowErrors=!!o.collectWindowErrors,n},install:function(){var e=this;return e.isSetup()&&!e._isRavenInstalled&&(r.report.subscribe((function(){e._handleOnErrorStackInfo.apply(e,arguments)})),e._globalOptions.captureUnhandledRejections&&e._attachPromiseRejectionHandler(),e._patchFunctionToString(),e._globalOptions.instrument&&e._globalOptions.instrument.tryCatch&&e._instrumentTryCatch(),e._globalOptions.autoBreadcrumbs&&e._instrumentBreadcrumbs(),e._drainPlugins(),e._isRavenInstalled=!0),Error.stackTraceLimit=e._globalOptions.stackTraceLimit,this},setDSN:function(e){var t=this,n=t._parseDSN(e),r=n.path.lastIndexOf("/"),o=n.path.substr(1,r);t._dsn=e,t._globalKey=n.user,t._globalSecret=n.pass&&n.pass.substr(1),t._globalProject=n.path.substr(r+1),t._globalServer=t._getGlobalServer(n),t._globalEndpoint=t._globalServer+"/"+o+"api/"+t._globalProject+"/store/",this._resetBackoff()},context:function(e,t,n){return v(e)&&(n=t||[],t=e,e={}),this.wrap(e,t).apply(this,n)},wrap:function(e,t,n){var r=this;if(h(t)&&!v(e))return e;if(v(e)&&(t=e,e=void 0),!v(t))return t;try{if(t.__raven__)return t;if(t.__raven_wrapper__)return t.__raven_wrapper__}catch(e){return t}function o(){var o=[],i=arguments.length,a=!e||e&&!1!==e.deep;for(n&&v(n)&&n.apply(this,arguments);i--;)o[i]=a?r.wrap(e,arguments[i]):arguments[i];try{return t.apply(this,o)}catch(t){throw r._ignoreNextOnError(),r.captureException(t,e),t}}for(var i in t)E(t,i)&&(o[i]=t[i]);return o.prototype=t.prototype,t.__raven_wrapper__=o,o.__raven__=!0,o.__orig__=t,o},uninstall:function(){return r.report.uninstall(),this._detachPromiseRejectionHandler(),this._unpatchFunctionToString(),this._restoreBuiltIns(),this._restoreConsole(),Error.stackTraceLimit=this._originalErrorStackTraceLimit,this._isRavenInstalled=!1,this},_promiseRejectionHandler:function(e){this._logDebug("debug","Raven caught unhandled promise rejection:",e),this.captureException(e.reason,{mechanism:{type:"onunhandledrejection",handled:!1}})},_attachPromiseRejectionHandler:function(){return this._promiseRejectionHandler=this._promiseRejectionHandler.bind(this),U.addEventListener&&U.addEventListener("unhandledrejection",this._promiseRejectionHandler),this},_detachPromiseRejectionHandler:function(){return U.removeEventListener&&U.removeEventListener("unhandledrejection",this._promiseRejectionHandler),this},captureException:function(e,t){if(t=w({trimHeadFrames:0},t||{}),c(e)&&e.error)e=e.error;else{if(u(e)||l(e)){var n=e.name||(u(e)?"DOMError":"DOMException"),o=e.message?n+": "+e.message:n;return this.captureMessage(o,w(t,{stacktrace:!0,trimHeadFrames:t.trimHeadFrames+1}))}if(p(e));else{if(!d(e))return this.captureMessage(e,w(t,{stacktrace:!0,trimHeadFrames:t.trimHeadFrames+1}));t=this._getCaptureExceptionOptionsFromPlainObject(t,e),e=new Error(t.message)}}this._lastCapturedException=e;try{var i=r.computeStackTrace(e);this._handleStackInfo(i,t)}catch(t){if(e!==t)throw t}return this},_getCaptureExceptionOptionsFromPlainObject:function(e,t){var n=Object.keys(t).sort(),r=w(e,{message:"Non-Error exception captured with keys: "+j(n),fingerprint:[i(n)],extra:e.extra||{}});return r.extra.__serialized__=B(t),r},captureMessage:function(e,t){if(!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(e)){var n,o=w({message:e+=""},t=t||{});try{throw new Error(e)}catch(e){n=e}n.name=null;var i=r.computeStackTrace(n),a=m(i.stack)&&i.stack[1];a&&"Raven.captureException"===a.func&&(a=i.stack[2]);var s=a&&a.url||"";if((!this._globalOptions.ignoreUrls.test||!this._globalOptions.ignoreUrls.test(s))&&(!this._globalOptions.whitelistUrls.test||this._globalOptions.whitelistUrls.test(s))){if(this._globalOptions.stacktrace||t.stacktrace||""===o.message){o.fingerprint=null==o.fingerprint?e:o.fingerprint,(t=w({trimHeadFrames:0},t)).trimHeadFrames+=1;var c=this._prepareFrames(i,t);o.stacktrace={frames:c.reverse()}}return o.fingerprint&&(o.fingerprint=m(o.fingerprint)?o.fingerprint:[o.fingerprint]),this._send(o),this}}},captureBreadcrumb:function(e){var t=w({timestamp:V()/1e3},e);if(v(this._globalOptions.breadcrumbCallback)){var n=this._globalOptions.breadcrumbCallback(t);if(f(n)&&!b(n))t=n;else if(!1===n)return this}return this._breadcrumbs.push(t),this._breadcrumbs.length>this._globalOptions.maxBreadcrumbs&&this._breadcrumbs.shift(),this},addPlugin:function(e){var t=[].slice.call(arguments,1);return this._plugins.push([e,t]),this._isRavenInstalled&&this._drainPlugins(),this},setUserContext:function(e){return this._globalContext.user=e,this},setExtraContext:function(e){return this._mergeContext("extra",e),this},setTagsContext:function(e){return this._mergeContext("tags",e),this},clearContext:function(){return this._globalContext={},this},getContext:function(){return JSON.parse(o(this._globalContext))},setEnvironment:function(e){return this._globalOptions.environment=e,this},setRelease:function(e){return this._globalOptions.release=e,this},setDataCallback:function(e){var t=this._globalOptions.dataCallback;return this._globalOptions.dataCallback=W(t,e),this},setBreadcrumbCallback:function(e){var t=this._globalOptions.breadcrumbCallback;return this._globalOptions.breadcrumbCallback=W(t,e),this},setShouldSendCallback:function(e){var t=this._globalOptions.shouldSendCallback;return this._globalOptions.shouldSendCallback=W(t,e),this},setTransport:function(e){return this._globalOptions.transport=e,this},lastException:function(){return this._lastCapturedException},lastEventId:function(){return this._lastEventId},isSetup:function(){return!!this._hasJSON&&(!!this._globalServer||(this.ravenNotConfiguredError||(this.ravenNotConfiguredError=!0,this._logDebug("error","Error: Raven has not been configured.")),!1))},afterLoad:function(){var e=U.RavenConfig;e&&this.config(e.dsn,e.config).install()},showReportDialog:function(e){if(H){if(!(e=w({eventId:this.lastEventId(),dsn:this._dsn,user:this._globalContext.user||{}},e)).eventId)throw new a("Missing eventId");if(!e.dsn)throw new a("Missing DSN");var t=encodeURIComponent,n=[];for(var r in e)if("user"===r){var o=e.user;o.name&&n.push("name="+t(o.name)),o.email&&n.push("email="+t(o.email))}else n.push(t(r)+"="+t(e[r]));var i=this._getGlobalServer(this._parseDSN(e.dsn)),s=H.createElement("script");s.async=!0,s.src=i+"/api/embed/error-page/?"+n.join("&"),(H.head||H.body).appendChild(s)}},_ignoreNextOnError:function(){var e=this;this._ignoreOnError+=1,setTimeout((function(){e._ignoreOnError-=1}))},_triggerEvent:function(e,t){var n,r;if(this._hasDocument){for(r in t=t||{},e="raven"+e.substr(0,1).toUpperCase()+e.substr(1),H.createEvent?(n=H.createEvent("HTMLEvents")).initEvent(e,!0,!0):(n=H.createEventObject()).eventType=e,t)E(t,r)&&(n[r]=t[r]);if(H.createEvent)H.dispatchEvent(n);else try{H.fireEvent("on"+n.eventType.toLowerCase(),n)}catch(e){}}},_breadcrumbEventHandler:function(e){var t=this;return function(n){if(t._keypressTimeout=null,t._lastCapturedEvent!==n){var r;t._lastCapturedEvent=n;try{r=T(n.target)}catch(e){r="<unknown>"}t.captureBreadcrumb({category:"ui."+e,message:r})}}},_keypressEventHandler:function(){var e=this;return function(t){var n;try{n=t.target}catch(e){return}var r=n&&n.tagName;if(r&&("INPUT"===r||"TEXTAREA"===r||n.isContentEditable)){var o=e._keypressTimeout;o||e._breadcrumbEventHandler("input")(t),clearTimeout(o),e._keypressTimeout=setTimeout((function(){e._keypressTimeout=null}),1e3)}}},_captureUrlChange:function(e,t){var n=R(this._location.href),r=R(t),o=R(e);this._lastHref=t,n.protocol===r.protocol&&n.host===r.host&&(t=r.relative),n.protocol===o.protocol&&n.host===o.host&&(e=o.relative),this.captureBreadcrumb({category:"navigation",data:{to:t,from:e}})},_patchFunctionToString:function(){var e=this;e._originalFunctionToString=Function.prototype.toString,Function.prototype.toString=function(){return"function"==typeof this&&this.__raven__?e._originalFunctionToString.apply(this.__orig__,arguments):e._originalFunctionToString.apply(this,arguments)}},_unpatchFunctionToString:function(){this._originalFunctionToString&&(Function.prototype.toString=this._originalFunctionToString)},_instrumentTryCatch:function(){var e=this,t=e._wrappedBuiltIns;function n(t){return function(n,r){for(var o=new Array(arguments.length),i=0;i<o.length;++i)o[i]=arguments[i];var a=o[0];return v(a)&&(o[0]=e.wrap({mechanism:{type:"instrument",data:{function:t.name||"<anonymous>"}}},a)),t.apply?t.apply(this,o):t(o[0],o[1])}}var r=this._globalOptions.autoBreadcrumbs;function o(n){var o=U[n]&&U[n].prototype;o&&o.hasOwnProperty&&o.hasOwnProperty("addEventListener")&&(I(o,"addEventListener",(function(t){return function(o,i,a,s){try{i&&i.handleEvent&&(i.handleEvent=e.wrap({mechanism:{type:"instrument",data:{target:n,function:"handleEvent",handler:i&&i.name||"<anonymous>"}}},i.handleEvent))}catch(e){}var c,u,l;return r&&r.dom&&("EventTarget"===n||"Node"===n)&&(u=e._breadcrumbEventHandler("click"),l=e._keypressEventHandler(),c=function(e){if(e){var t;try{t=e.type}catch(e){return}return"click"===t?u(e):"keypress"===t?l(e):void 0}}),t.call(this,o,e.wrap({mechanism:{type:"instrument",data:{target:n,function:"addEventListener",handler:i&&i.name||"<anonymous>"}}},i,c),a,s)}}),t),I(o,"removeEventListener",(function(e){return function(t,n,r,o){try{n=n&&(n.__raven_wrapper__?n.__raven_wrapper__:n)}catch(e){}return e.call(this,t,n,r,o)}}),t))}I(U,"setTimeout",n,t),I(U,"setInterval",n,t),U.requestAnimationFrame&&I(U,"requestAnimationFrame",(function(t){return function(n){return t(e.wrap({mechanism:{type:"instrument",data:{function:"requestAnimationFrame",handler:t&&t.name||"<anonymous>"}}},n))}}),t);for(var i=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],a=0;a<i.length;a++)o(i[a])},_instrumentBreadcrumbs:function(){var e=this,t=this._globalOptions.autoBreadcrumbs,n=e._wrappedBuiltIns;function r(t,n){t in n&&v(n[t])&&I(n,t,(function(n){return e.wrap({mechanism:{type:"instrument",data:{function:t,handler:n&&n.name||"<anonymous>"}}},n)}))}if(t.xhr&&"XMLHttpRequest"in U){var o=U.XMLHttpRequest&&U.XMLHttpRequest.prototype;I(o,"open",(function(t){return function(n,r){return g(r)&&-1===r.indexOf(e._globalKey)&&(this.__raven_xhr={method:n,url:r,status_code:null}),t.apply(this,arguments)}}),n),I(o,"send",(function(t){return function(){var n=this;function o(){if(n.__raven_xhr&&4===n.readyState){try{n.__raven_xhr.status_code=n.status}catch(e){}e.captureBreadcrumb({type:"http",category:"xhr",data:n.__raven_xhr})}}for(var i=["onload","onerror","onprogress"],a=0;a<i.length;a++)r(i[a],n);return"onreadystatechange"in n&&v(n.onreadystatechange)?I(n,"onreadystatechange",(function(t){return e.wrap({mechanism:{type:"instrument",data:{function:"onreadystatechange",handler:t&&t.name||"<anonymous>"}}},t,o)})):n.onreadystatechange=o,t.apply(this,arguments)}}),n)}t.xhr&&A()&&I(U,"fetch",(function(t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;++r)n[r]=arguments[r];var o,i=n[0],a="GET";if("string"==typeof i?o=i:"Request"in U&&i instanceof U.Request?(o=i.url,i.method&&(a=i.method)):o=""+i,-1!==o.indexOf(e._globalKey))return t.apply(this,n);n[1]&&n[1].method&&(a=n[1].method);var s={method:a,url:o,status_code:null};return t.apply(this,n).then((function(t){return s.status_code=t.status,e.captureBreadcrumb({type:"http",category:"fetch",data:s}),t})).catch((function(t){throw e.captureBreadcrumb({type:"http",category:"fetch",data:s,level:"error"}),t}))}}),n),t.dom&&this._hasDocument&&(H.addEventListener?(H.addEventListener("click",e._breadcrumbEventHandler("click"),!1),H.addEventListener("keypress",e._keypressEventHandler(),!1)):H.attachEvent&&(H.attachEvent("onclick",e._breadcrumbEventHandler("click")),H.attachEvent("onkeypress",e._keypressEventHandler())));var i=U.chrome,a=!(i&&i.app&&i.app.runtime)&&U.history&&U.history.pushState&&U.history.replaceState;if(t.location&&a){var s=U.onpopstate;U.onpopstate=function(){var t=e._location.href;if(e._captureUrlChange(e._lastHref,t),s)return s.apply(this,arguments)};var c=function(t){return function(){var n=arguments.length>2?arguments[2]:void 0;return n&&e._captureUrlChange(e._lastHref,n+""),t.apply(this,arguments)}};I(U.history,"pushState",c,n),I(U.history,"replaceState",c,n)}if(t.console&&"console"in U&&console.log){var u=function(t,n){e.captureBreadcrumb({message:t,level:n.level,category:"console"})};y(["debug","info","warn","error","log"],(function(e,t){N(console,t,u)}))}},_restoreBuiltIns:function(){for(var e;this._wrappedBuiltIns.length;){var t=(e=this._wrappedBuiltIns.shift())[0],n=e[1],r=e[2];t[n]=r}},_restoreConsole:function(){for(var e in this._originalConsoleMethods)this._originalConsole[e]=this._originalConsoleMethods[e]},_drainPlugins:function(){var e=this;y(this._plugins,(function(t,n){var r=n[0],o=n[1];r.apply(e,[e].concat(o))}))},_parseDSN:function(e){var t=M.exec(e),n={},r=7;try{for(;r--;)n[L[r]]=t[r]||""}catch(t){throw new a("Invalid DSN: "+e)}if(n.pass&&!this._globalOptions.allowSecretKey)throw new a("Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key");return n},_getGlobalServer:function(e){var t="//"+e.host+(e.port?":"+e.port:"");return e.protocol&&(t=e.protocol+":"+t),t},_handleOnErrorStackInfo:function(e,t){(t=t||{}).mechanism=t.mechanism||{type:"onerror",handled:!1},this._ignoreOnError||this._handleStackInfo(e,t)},_handleStackInfo:function(e,t){var n=this._prepareFrames(e,t);this._triggerEvent("handle",{stackInfo:e,options:t}),this._processException(e.name,e.message,e.url,e.lineno,n,t)},_prepareFrames:function(e,t){var n=this,r=[];if(e.stack&&e.stack.length&&(y(e.stack,(function(t,o){var i=n._normalizeFrame(o,e.url);i&&r.push(i)})),t&&t.trimHeadFrames))for(var o=0;o<t.trimHeadFrames&&o<r.length;o++)r[o].in_app=!1;return r=r.slice(0,this._globalOptions.stackTraceLimit)},_normalizeFrame:function(e,t){var n={filename:e.url,lineno:e.line,colno:e.column,function:e.func||"?"};return e.url||(n.filename=t),n.in_app=!(this._globalOptions.includePaths.test&&!this._globalOptions.includePaths.test(n.filename)||/(Raven|TraceKit)\./.test(n.function)||/raven\.(min\.)?js$/.test(n.filename)),n},_processException:function(e,t,n,r,o,i){var a,s=(e?e+": ":"")+(t||"");if((!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(t)&&!this._globalOptions.ignoreErrors.test(s))&&(o&&o.length?(n=o[0].filename||n,o.reverse(),a={frames:o}):n&&(a={frames:[{filename:n,lineno:r,in_app:!0}]}),(!this._globalOptions.ignoreUrls.test||!this._globalOptions.ignoreUrls.test(n))&&(!this._globalOptions.whitelistUrls.test||this._globalOptions.whitelistUrls.test(n)))){var c=w({exception:{values:[{type:e,value:t,stacktrace:a}]},transaction:n},i),u=c.exception.values[0];null==u.type&&""===u.value&&(u.value="Unrecoverable error caught"),!c.exception.mechanism&&c.mechanism&&(c.exception.mechanism=c.mechanism,delete c.mechanism),c.exception.mechanism=w({type:"generic",handled:!0},c.exception.mechanism||{}),this._send(c)}},_trimPacket:function(e){var t=this._globalOptions.maxMessageLength;if(e.message&&(e.message=_(e.message,t)),e.exception){var n=e.exception.values[0];n.value=_(n.value,t)}var r=e.request;return r&&(r.url&&(r.url=_(r.url,this._globalOptions.maxUrlLength)),r.Referer&&(r.Referer=_(r.Referer,this._globalOptions.maxUrlLength))),e.breadcrumbs&&e.breadcrumbs.values&&this._trimBreadcrumbs(e.breadcrumbs),e},_trimBreadcrumbs:function(e){for(var t,n,r,o=["to","from","url"],i=0;i<e.values.length;++i)if((n=e.values[i]).hasOwnProperty("data")&&f(n.data)&&!S(n.data)){r=w({},n.data);for(var a=0;a<o.length;++a)t=o[a],r.hasOwnProperty(t)&&r[t]&&(r[t]=_(r[t],this._globalOptions.maxUrlLength));e.values[i].data=r}},_getHttpData:function(){if(this._hasNavigator||this._hasDocument){var e={};return this._hasNavigator&&q.userAgent&&(e.headers={"User-Agent":q.userAgent}),U.location&&U.location.href&&(e.url=U.location.href),this._hasDocument&&H.referrer&&(e.headers||(e.headers={}),e.headers.Referer=H.referrer),e}},_resetBackoff:function(){this._backoffDuration=0,this._backoffStart=null},_shouldBackoff:function(){return this._backoffDuration&&V()-this._backoffStart<this._backoffDuration},_isRepeatData:function(e){var t=this._lastData;return!(!t||e.message!==t.message||e.transaction!==t.transaction)&&(e.stacktrace||t.stacktrace?C(e.stacktrace,t.stacktrace):e.exception||t.exception?P(e.exception,t.exception):!e.fingerprint&&!t.fingerprint||Boolean(e.fingerprint&&t.fingerprint)&&JSON.stringify(e.fingerprint)===JSON.stringify(t.fingerprint))},_setBackoffState:function(e){if(!this._shouldBackoff()){var t=e.status;if(400===t||401===t||429===t){var n;try{n=A()?e.headers.get("Retry-After"):e.getResponseHeader("Retry-After"),n=1e3*parseInt(n,10)}catch(e){}this._backoffDuration=n||(2*this._backoffDuration||1e3),this._backoffStart=V()}}},_send:function(e){var t=this._globalOptions,n={project:this._globalProject,logger:t.logger,platform:"javascript"},r=this._getHttpData();r&&(n.request=r),e.trimHeadFrames&&delete e.trimHeadFrames,(e=w(n,e)).tags=w(w({},this._globalContext.tags),e.tags),e.extra=w(w({},this._globalContext.extra),e.extra),e.extra["session:duration"]=V()-this._startTime,this._breadcrumbs&&this._breadcrumbs.length>0&&(e.breadcrumbs={values:[].slice.call(this._breadcrumbs,0)}),this._globalContext.user&&(e.user=this._globalContext.user),t.environment&&(e.environment=t.environment),t.release&&(e.release=t.release),t.serverName&&(e.server_name=t.serverName),e=this._sanitizeData(e),Object.keys(e).forEach((function(t){(null==e[t]||""===e[t]||b(e[t]))&&delete e[t]})),v(t.dataCallback)&&(e=t.dataCallback(e)||e),e&&!b(e)&&(v(t.shouldSendCallback)&&!t.shouldSendCallback(e)||(this._shouldBackoff()?this._logDebug("warn","Raven dropped error due to backoff: ",e):"number"==typeof t.sampleRate?Math.random()<t.sampleRate&&this._sendProcessedPayload(e):this._sendProcessedPayload(e)))},_sanitizeData:function(e){return F(e,this._globalOptions.sanitizeKeys)},_getUuid:function(){return x()},_sendProcessedPayload:function(e,t){var n=this,r=this._globalOptions;if(this.isSetup())if(e=this._trimPacket(e),this._globalOptions.allowDuplicates||!this._isRepeatData(e)){this._lastEventId=e.event_id||(e.event_id=this._getUuid()),this._lastData=e,this._logDebug("debug","Raven about to send:",e);var o={sentry_version:"7",sentry_client:"raven-js/"+this.VERSION,sentry_key:this._globalKey};this._globalSecret&&(o.sentry_secret=this._globalSecret);var i=e.exception&&e.exception.values[0];this._globalOptions.autoBreadcrumbs&&this._globalOptions.autoBreadcrumbs.sentry&&this.captureBreadcrumb({category:"sentry",message:i?(i.type?i.type+": ":"")+i.value:e.message,event_id:e.event_id,level:e.level||"error"});var a=this._globalEndpoint;(r.transport||this._makeRequest).call(this,{url:a,auth:o,data:e,options:r,onSuccess:function(){n._resetBackoff(),n._triggerEvent("success",{data:e,src:a}),t&&t()},onError:function(r){n._logDebug("error","Raven transport failed to send: ",r),r.request&&n._setBackoffState(r.request),n._triggerEvent("failure",{data:e,src:a}),r=r||new Error("Raven send failed (no additional details provided)"),t&&t(r)}})}else this._logDebug("warn","Raven dropped repeat event: ",e)},_makeRequest:function(e){var t=e.url+"?"+k(e.auth),n=null,r={};if(e.options.headers&&(n=this._evaluateHash(e.options.headers)),e.options.fetchParameters&&(r=this._evaluateHash(e.options.fetchParameters)),A()){r.body=o(e.data);var i=w({},this._fetchDefaults),a=w(i,r);return n&&(a.headers=n),U.fetch(t,a).then((function(t){if(t.ok)e.onSuccess&&e.onSuccess();else{var n=new Error("Sentry error code: "+t.status);n.request=t,e.onError&&e.onError(n)}})).catch((function(){e.onError&&e.onError(new Error("Sentry error code: network unavailable"))}))}var s=U.XMLHttpRequest&&new U.XMLHttpRequest;s&&(("withCredentials"in s||"undefined"!=typeof XDomainRequest)&&("withCredentials"in s?s.onreadystatechange=function(){if(4===s.readyState)if(200===s.status)e.onSuccess&&e.onSuccess();else if(e.onError){var t=new Error("Sentry error code: "+s.status);t.request=s,e.onError(t)}}:(s=new XDomainRequest,t=t.replace(/^https?:/,""),e.onSuccess&&(s.onload=e.onSuccess),e.onError&&(s.onerror=function(){var t=new Error("Sentry error code: XDomainRequest");t.request=s,e.onError(t)})),s.open("POST",t),n&&y(n,(function(e,t){s.setRequestHeader(e,t)})),s.send(o(e.data))))},_evaluateHash:function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]="function"==typeof r?r():r}return t},_logDebug:function(e){this._originalConsoleMethods[e]&&(this.debug||this._globalOptions.debug)&&Function.prototype.apply.call(this._originalConsoleMethods[e],this._originalConsole,[].slice.call(arguments,1))},_mergeContext:function(e,t){h(t)?delete this._globalContext[e]:this._globalContext[e]=w(this._globalContext[e]||{},t)}},z.prototype.setUser=z.prototype.setUserContext,z.prototype.setReleaseContext=z.prototype.setRelease,e.exports=z},8341:function(e,t,n){var r=n(5378),o="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},i=o.Raven,a=new r;a.noConflict=function(){return o.Raven=i,a},a.afterLoad(),e.exports=a,e.exports.Client=r},6862:function(e,t,n){var r=n(2264),o="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function i(e){return void 0===e}function a(e){return"[object Object]"===Object.prototype.toString.call(e)}function s(e){return"[object String]"===Object.prototype.toString.call(e)}function c(e){return"[object Array]"===Object.prototype.toString.call(e)}function u(){if(!("fetch"in o))return!1;try{return new Headers,new Request(""),new Response,!0}catch(e){return!1}}function l(e,t){var n,r;if(i(e.length))for(n in e)f(e,n)&&t.call(null,n,e[n]);else if(r=e.length)for(n=0;n<r;n++)t.call(null,n,e[n])}function p(e,t){if("number"!=typeof t)throw new Error("2nd argument to `truncate` function should be a number");return"string"!=typeof e||0===t||e.length<=t?e:e.substr(0,t)+"…"}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e){for(var t,n=[],r=0,o=e.length;r<o;r++)s(t=e[r])?n.push(t.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")):t&&t.source&&n.push(t.source);return new RegExp(n.join("|"),"i")}function h(e){var t,n,r,o,i,a=[];if(!e||!e.tagName)return"";if(a.push(e.tagName.toLowerCase()),e.id&&a.push("#"+e.id),(t=e.className)&&s(t))for(n=t.split(/\s+/),i=0;i<n.length;i++)a.push("."+n[i]);var c=["type","name","title","alt"];for(i=0;i<c.length;i++)r=c[i],(o=e.getAttribute(r))&&a.push("["+r+'="'+o+'"]');return a.join("")}function v(e,t){return!!(!!e^!!t)}function g(e,t){if(v(e,t))return!1;var n,r,o=e.frames,i=t.frames;if(void 0===o||void 0===i)return!1;if(o.length!==i.length)return!1;for(var a=0;a<o.length;a++)if(n=o[a],r=i[a],n.filename!==r.filename||n.lineno!==r.lineno||n.colno!==r.colno||n.function!==r.function)return!1;return!0}function m(e){return function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(e))}function b(e){if("string"==typeof e){return p(e,40)}if("number"==typeof e||"boolean"==typeof e||void 0===e)return e;var t=Object.prototype.toString.call(e);return"[object Object]"===t?"[Object]":"[object Array]"===t?"[Array]":"[object Function]"===t?e.name?"[Function: "+e.name+"]":"[Function]":e}function y(e,t){return 0===t?b(e):a(e)?Object.keys(e).reduce((function(n,r){return n[r]=y(e[r],t-1),n}),{}):Array.isArray(e)?e.map((function(e){return y(e,t-1)})):b(e)}e.exports={isObject:function(e){return"object"==typeof e&&null!==e},isError:function(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}},isErrorEvent:function(e){return"[object ErrorEvent]"===Object.prototype.toString.call(e)},isDOMError:function(e){return"[object DOMError]"===Object.prototype.toString.call(e)},isDOMException:function(e){return"[object DOMException]"===Object.prototype.toString.call(e)},isUndefined:i,isFunction:function(e){return"function"==typeof e},isPlainObject:a,isString:s,isArray:c,isEmptyObject:function(e){if(!a(e))return!1;for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},supportsErrorEvent:function(){try{return new ErrorEvent(""),!0}catch(e){return!1}},supportsDOMError:function(){try{return new DOMError(""),!0}catch(e){return!1}},supportsDOMException:function(){try{return new DOMException(""),!0}catch(e){return!1}},supportsFetch:u,supportsReferrerPolicy:function(){if(!u())return!1;try{return new Request("pickleRick",{referrerPolicy:"origin"}),!0}catch(e){return!1}},supportsPromiseRejectionEvent:function(){return"function"==typeof PromiseRejectionEvent},wrappedCallback:function(e){return function(t,n){var r=e(t)||t;return n&&n(r)||r}},each:l,objectMerge:function(e,t){return t?(l(t,(function(t,n){e[t]=n})),e):e},truncate:p,objectFrozen:function(e){return!!Object.isFrozen&&Object.isFrozen(e)},hasKey:f,joinRegExp:d,urlencode:function(e){var t=[];return l(e,(function(e,n){t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))})),t.join("&")},uuid4:function(){var e=o.crypto||o.msCrypto;if(!i(e)&&e.getRandomValues){var t=new Uint16Array(8);e.getRandomValues(t),t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;var n=function(e){for(var t=e.toString(16);t.length<4;)t="0"+t;return t};return n(t[0])+n(t[1])+n(t[2])+n(t[3])+n(t[4])+n(t[5])+n(t[6])+n(t[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},htmlTreeAsString:function(e){for(var t,n=[],r=0,o=0;e&&r++<5&&!("html"===(t=h(e))||r>1&&o+3*n.length+t.length>=80);)n.push(t),o+=t.length,e=e.parentNode;return n.reverse().join(" > ")},htmlElementAsString:h,isSameException:function(e,t){return!v(e,t)&&(e=e.values[0],t=t.values[0],e.type===t.type&&e.value===t.value&&(n=e.stacktrace,r=t.stacktrace,(!i(n)||!i(r))&&g(e.stacktrace,t.stacktrace)));var n,r},isSameStacktrace:g,parseUrl:function(e){if("string"!=typeof e)return{};var t=e.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/),n=t[6]||"",r=t[8]||"";return{protocol:t[2],host:t[4],path:t[5],relative:t[5]+n+r}},fill:function(e,t,n,r){if(null!=e){var o=e[t];e[t]=n(o),e[t].__raven__=!0,e[t].__orig__=o,r&&r.push([e,t,o])}},safeJoin:function(e,t){if(!c(e))return"";for(var n=[],r=0;r<e.length;r++)try{n.push(String(e[r]))}catch(e){n.push("[value cannot be serialized]")}return n.join(t)},serializeException:function e(t,n,o){if(!a(t))return t;o="number"!=typeof(n="number"!=typeof n?3:n)?51200:o;var i=y(t,n);return m(r(i))>o?e(t,n-1):i},serializeKeysForMessage:function(e,t){if("number"==typeof e||"string"==typeof e)return e.toString();if(!Array.isArray(e))return"";if(0===(e=e.filter((function(e){return"string"==typeof e}))).length)return"[object has no keys]";if(t="number"!=typeof t?40:t,e[0].length>=t)return e[0];for(var n=e.length;n>0;n--){var r=e.slice(0,n).join(", ");if(!(r.length>t))return n===e.length?r:r+"…"}return""},sanitize:function(e,t){if(!c(t)||c(t)&&0===t.length)return e;var n,o=d(t);try{n=JSON.parse(r(e))}catch(t){return e}return function e(t){return c(t)?t.map((function(t){return e(t)})):a(t)?Object.keys(t).reduce((function(n,r){return o.test(r)?n[r]="********":n[r]=e(t[r]),n}),{}):t}(n)}}},9026:function(e,t,n){var r=n(6862),o={collectWindowErrors:!0,debug:!1},i="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},a=[].slice,s="?",c=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function u(){return"undefined"==typeof document||null==document.location?"":document.location.href}o.report=function(){var e,t,n=[],l=null,p=null,f=null;function d(e,t){var r=null;if(!t||o.collectWindowErrors){for(var i in n)if(n.hasOwnProperty(i))try{n[i].apply(null,[e].concat(a.call(arguments,2)))}catch(e){r=e}if(r)throw r}}function h(t,n,i,a,l){var p=r.isErrorEvent(l)?l.error:l,h=r.isErrorEvent(t)?t.message:t;if(f)o.computeStackTrace.augmentStackTraceWithInitialElement(f,n,i,h),v();else if(p&&r.isError(p))d(o.computeStackTrace(p),!0);else{var g,m={url:n,line:i,column:a},b=void 0;if("[object String]"==={}.toString.call(h))(g=h.match(c))&&(b=g[1],h=g[2]);m.func=s,d({name:b,message:h,url:u(),stack:[m]},!0)}return!!e&&e.apply(this,arguments)}function v(){var e=f,t=l;l=null,f=null,p=null,d.apply(null,[e,!1].concat(t))}function g(e,t){var n=a.call(arguments,1);if(f){if(p===e)return;v()}var r=o.computeStackTrace(e);if(f=r,p=e,l=n,setTimeout((function(){p===e&&v()}),r.incomplete?2e3:0),!1!==t)throw e}return g.subscribe=function(r){!function(){if(t)return;e=i.onerror,i.onerror=h,t=!0}(),n.push(r)},g.unsubscribe=function(e){for(var t=n.length-1;t>=0;--t)n[t]===e&&n.splice(t,1)},g.uninstall=function(){!function(){if(!t)return;i.onerror=e,t=!1,e=void 0}(),n=[]},g}(),o.computeStackTrace=function(){function e(e){if(void 0!==e.stack&&e.stack){for(var t,n,r,o=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,i=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx(?:-web)|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,a=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,l=/\((\S*)(?::(\d+))(?::(\d+))\)/,p=e.stack.split("\n"),f=[],d=(/^(.*) is undefined$/.exec(e.message),0),h=p.length;d<h;++d){if(n=o.exec(p[d])){var v=n[2]&&0===n[2].indexOf("native");n[2]&&0===n[2].indexOf("eval")&&(t=l.exec(n[2]))&&(n[2]=t[1],n[3]=t[2],n[4]=t[3]),r={url:v?null:n[2],func:n[1]||s,args:v?[n[2]]:[],line:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}else if(n=i.exec(p[d]))r={url:n[2],func:n[1]||s,args:[],line:+n[3],column:n[4]?+n[4]:null};else{if(!(n=a.exec(p[d])))continue;n[3]&&n[3].indexOf(" > eval")>-1&&(t=c.exec(n[3]))?(n[3]=t[1],n[4]=t[2],n[5]=null):0!==d||n[5]||void 0===e.columnNumber||(f[0].column=e.columnNumber+1),r={url:n[3],func:n[1]||s,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}if(!r.func&&r.line&&(r.func=s),r.url&&"blob:"===r.url.substr(0,5)){var g=new XMLHttpRequest;if(g.open("GET",r.url,!1),g.send(null),200===g.status){var m=g.responseText||"",b=(m=m.slice(-300)).match(/\/\/# sourceMappingURL=(.*)$/);if(b){var y=b[1];"~"===y.charAt(0)&&(y=("undefined"==typeof document||null==document.location?"":document.location.origin?document.location.origin:document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:""))+y.slice(1)),r.url=y.slice(0,-4)}}}f.push(r)}return f.length?{name:e.name,message:e.message,url:u(),stack:f}:null}}function t(e,t,n,r){var o={url:t,line:n};if(o.url&&o.line){if(e.incomplete=!1,o.func||(o.func=s),e.stack.length>0&&e.stack[0].url===o.url){if(e.stack[0].line===o.line)return!1;if(!e.stack[0].line&&e.stack[0].func===o.func)return e.stack[0].line=o.line,!1}return e.stack.unshift(o),e.partial=!0,!0}return e.incomplete=!0,!1}function n(e,i){for(var a,c,l=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,p=[],f={},d=!1,h=n.caller;h&&!d;h=h.caller)if(h!==r&&h!==o.report){if(c={url:null,func:s,line:null,column:null},h.name?c.func=h.name:(a=l.exec(h.toString()))&&(c.func=a[1]),void 0===c.func)try{c.func=a.input.substring(0,a.input.indexOf("{"))}catch(e){}f[""+h]?d=!0:f[""+h]=!0,p.push(c)}i&&p.splice(0,i);var v={name:e.name,message:e.message,url:u(),stack:p};return t(v,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),v}function r(t,r){var i=null;r=null==r?0:+r;try{if(i=e(t))return i}catch(e){if(o.debug)throw e}try{if(i=n(t,r+1))return i}catch(e){if(o.debug)throw e}return{name:t.name,message:t.message,url:u()}}return r.augmentStackTraceWithInitialElement=t,r.computeStackTraceFromStackProp=e,r}(),e.exports=o},2264:function(e,t){function n(e,t){for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}function r(e,t){var r=[],o=[];return null==t&&(t=function(e,t){return r[0]===t?"[Circular ~]":"[Circular ~."+o.slice(0,n(r,t)).join(".")+"]"}),function(i,a){if(r.length>0){var s=n(r,this);~s?r.splice(s+1):r.push(this),~s?o.splice(s,1/0,i):o.push(i),~n(r,a)&&(a=t.call(this,i,a))}else r.push(a);return null==e?a instanceof Error?function(e){var t={stack:e.stack,message:e.message,name:e.name};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}(a):a:e.call(this,i,a)}}(e.exports=function(e,t,n,o){return JSON.stringify(e,r(t,o),n)}).getSerialize=r},705:function(e){function t(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function n(e,n,r,o,i,a){return t((s=t(t(n,e),t(o,a)))<<(c=i)|s>>>32-c,r);var s,c}function r(e,t,r,o,i,a,s){return n(t&r|~t&o,e,t,i,a,s)}function o(e,t,r,o,i,a,s){return n(t&o|r&~o,e,t,i,a,s)}function i(e,t,r,o,i,a,s){return n(t^r^o,e,t,i,a,s)}function a(e,t,r,o,i,a,s){return n(r^(t|~o),e,t,i,a,s)}function s(e,n){var s,c,u,l,p;e[n>>5]|=128<<n%32,e[14+(n+64>>>9<<4)]=n;var f=1732584193,d=-271733879,h=-1732584194,v=271733878;for(s=0;s<e.length;s+=16)c=f,u=d,l=h,p=v,f=r(f,d,h,v,e[s],7,-680876936),v=r(v,f,d,h,e[s+1],12,-389564586),h=r(h,v,f,d,e[s+2],17,606105819),d=r(d,h,v,f,e[s+3],22,-1044525330),f=r(f,d,h,v,e[s+4],7,-176418897),v=r(v,f,d,h,e[s+5],12,1200080426),h=r(h,v,f,d,e[s+6],17,-1473231341),d=r(d,h,v,f,e[s+7],22,-45705983),f=r(f,d,h,v,e[s+8],7,1770035416),v=r(v,f,d,h,e[s+9],12,-1958414417),h=r(h,v,f,d,e[s+10],17,-42063),d=r(d,h,v,f,e[s+11],22,-1990404162),f=r(f,d,h,v,e[s+12],7,1804603682),v=r(v,f,d,h,e[s+13],12,-40341101),h=r(h,v,f,d,e[s+14],17,-1502002290),f=o(f,d=r(d,h,v,f,e[s+15],22,1236535329),h,v,e[s+1],5,-165796510),v=o(v,f,d,h,e[s+6],9,-1069501632),h=o(h,v,f,d,e[s+11],14,643717713),d=o(d,h,v,f,e[s],20,-373897302),f=o(f,d,h,v,e[s+5],5,-701558691),v=o(v,f,d,h,e[s+10],9,38016083),h=o(h,v,f,d,e[s+15],14,-660478335),d=o(d,h,v,f,e[s+4],20,-405537848),f=o(f,d,h,v,e[s+9],5,568446438),v=o(v,f,d,h,e[s+14],9,-1019803690),h=o(h,v,f,d,e[s+3],14,-187363961),d=o(d,h,v,f,e[s+8],20,1163531501),f=o(f,d,h,v,e[s+13],5,-1444681467),v=o(v,f,d,h,e[s+2],9,-51403784),h=o(h,v,f,d,e[s+7],14,1735328473),f=i(f,d=o(d,h,v,f,e[s+12],20,-1926607734),h,v,e[s+5],4,-378558),v=i(v,f,d,h,e[s+8],11,-2022574463),h=i(h,v,f,d,e[s+11],16,1839030562),d=i(d,h,v,f,e[s+14],23,-35309556),f=i(f,d,h,v,e[s+1],4,-1530992060),v=i(v,f,d,h,e[s+4],11,1272893353),h=i(h,v,f,d,e[s+7],16,-155497632),d=i(d,h,v,f,e[s+10],23,-1094730640),f=i(f,d,h,v,e[s+13],4,681279174),v=i(v,f,d,h,e[s],11,-358537222),h=i(h,v,f,d,e[s+3],16,-722521979),d=i(d,h,v,f,e[s+6],23,76029189),f=i(f,d,h,v,e[s+9],4,-640364487),v=i(v,f,d,h,e[s+12],11,-421815835),h=i(h,v,f,d,e[s+15],16,530742520),f=a(f,d=i(d,h,v,f,e[s+2],23,-995338651),h,v,e[s],6,-198630844),v=a(v,f,d,h,e[s+7],10,1126891415),h=a(h,v,f,d,e[s+14],15,-1416354905),d=a(d,h,v,f,e[s+5],21,-57434055),f=a(f,d,h,v,e[s+12],6,1700485571),v=a(v,f,d,h,e[s+3],10,-1894986606),h=a(h,v,f,d,e[s+10],15,-1051523),d=a(d,h,v,f,e[s+1],21,-2054922799),f=a(f,d,h,v,e[s+8],6,1873313359),v=a(v,f,d,h,e[s+15],10,-30611744),h=a(h,v,f,d,e[s+6],15,-1560198380),d=a(d,h,v,f,e[s+13],21,1309151649),f=a(f,d,h,v,e[s+4],6,-145523070),v=a(v,f,d,h,e[s+11],10,-1120210379),h=a(h,v,f,d,e[s+2],15,718787259),d=a(d,h,v,f,e[s+9],21,-343485551),f=t(f,c),d=t(d,u),h=t(h,l),v=t(v,p);return[f,d,h,v]}function c(e){var t,n="",r=32*e.length;for(t=0;t<r;t+=8)n+=String.fromCharCode(e[t>>5]>>>t%32&255);return n}function u(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;var r=8*e.length;for(t=0;t<r;t+=8)n[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return n}function l(e){var t,n,r="0123456789abcdef",o="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),o+=r.charAt(t>>>4&15)+r.charAt(15&t);return o}function p(e){return unescape(encodeURIComponent(e))}function f(e){return function(e){return c(s(u(e),8*e.length))}(p(e))}function d(e,t){return function(e,t){var n,r,o=u(e),i=[],a=[];for(i[15]=a[15]=void 0,o.length>16&&(o=s(o,8*e.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],a[n]=1549556828^o[n];return r=s(i.concat(u(t)),512+8*t.length),c(s(a.concat(r),640))}(p(e),p(t))}e.exports=function(e,t,n){return t?n?d(t,e):l(d(t,e)):n?f(e):l(f(e))}},6702:function(){window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)}},2018:function(e,t,n){e.exports=function(){"use strict";var e=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n+=1){var o=r[n];e.call(t,o[1],o[0])}},Object.defineProperties(t.prototype,n),t}()}(),t="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,r=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},i=2,a=function(e,t){var n=!1,r=!1,a=0;function s(){n&&(n=!1,e()),r&&u()}function c(){o(s)}function u(){var e=Date.now();if(n){if(e-a<i)return;r=!0}else n=!0,r=!1,setTimeout(c,t);a=e}return u},s=20,c=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,l=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=a(this.refresh.bind(this),s)};l.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},l.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},l.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},l.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},l.prototype.connect_=function(){t&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},l.prototype.disconnect_=function(){t&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},l.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),c.some((function(e){return!!~t.indexOf(e)}))&&this.refresh()},l.getInstance=function(){return this.instance_||(this.instance_=new l),this.instance_},l.instance_=null;var p=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n+=1){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e};function f(e){return!!(e&&e.ownerDocument&&e.ownerDocument.defaultView&&e.ownerDocument.defaultView.Object)}var d=function(e){return(f(e)?e.ownerDocument.defaultView:null)||r},h=O(0,0,0,0);function v(e){return parseFloat(e)||0}function g(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return t.reduce((function(t,n){return t+v(e["border-"+n+"-width"])}),0)}function m(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n+=1){var o=r[n],i=e["padding-"+o];t[o]=v(i)}return t}function b(e){var t=e.getBBox();return O(0,0,t.width,t.height)}function y(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return h;var r=d(e).getComputedStyle(e),o=m(r),i=o.left+o.right,a=o.top+o.bottom,s=v(r.width),c=v(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==t&&(s-=g(r,"left","right")+i),Math.round(c+a)!==n&&(c-=g(r,"top","bottom")+a)),!_(e)){var u=Math.round(s+i)-t,l=Math.round(c+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(l)&&(c-=l)}return O(o.left,o.top,s,c)}var w="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function _(e){return e===d(e).document.documentElement}function S(e){return t?w(e)?b(e):y(e):h}function E(e){var t=e.x,n=e.y,r=e.width,o=e.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return p(a,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),a}function O(e,t,n,r){return{x:e,y:t,width:n,height:r}}var k=function(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=O(0,0,0,0),this.target=e};k.prototype.isActive=function(){var e=S(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},k.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var x=function(e,t){var n=E(t);p(this,{target:e,contentRect:n})},T=function(e){var t=/element/gi.test(Object.prototype.toString.call(e));return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&t&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName},P=function(t,n,r){if(this.activeObservations_=[],this.observations_=new e,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=r};P.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element||T(e)))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new k(e)),this.controller_.addObserver(this),this.controller_.refresh())}},P.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},P.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},P.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},P.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new x(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},P.prototype.clearActive=function(){this.activeObservations_.splice(0)},P.prototype.hasActive=function(){return this.activeObservations_.length>0};var C="undefined"!=typeof WeakMap?new WeakMap:new e,R=function(e){if(!(this instanceof R))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=l.getInstance(),n=new P(e,t,this);C.set(this,n)};return["observe","unobserve","disconnect"].forEach((function(e){R.prototype[e]=function(){return(t=C.get(this))[e].apply(t,arguments);var t}})),void 0!==r.ResizeObserver?r.ResizeObserver:R}()},7771:function(e,t,n){"use strict";var r=n(210),o=n(2296),i=n(1044)(),a=n(7296),s=r("%TypeError%"),c=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||c(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,u=!0;if("length"in e&&a){var l=a(e,"length");l&&!l.configurable&&(r=!1),l&&!l.writable&&(u=!1)}return(r||u||!n)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},7478:function(e,t,n){"use strict";var r=n(210),o=n(1924),i=n(631),a=r("%TypeError%"),s=r("%WeakMap%",!0),c=r("%Map%",!0),u=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),p=o("WeakMap.prototype.has",!0),f=o("Map.prototype.get",!0),d=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),v=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+i(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return u(e,r)}else if(c){if(t)return f(t,r)}else if(n)return function(e,t){var n=v(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return p(e,r)}else if(c){if(t)return h(t,r)}else if(n)return function(e,t){return!!v(e,t)}(n,r);return!1},set:function(r,o){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),l(e,r,o)):c?(t||(t=new c),d(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=v(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},3249:function(e,t,n){var r=n(5119);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},1485:function(e,t,n){var r=n(8262);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},2238:function(e,t,n){var r;!function(o,i){"use strict";var a="function",s="undefined",c="object",u="string",l="major",p="model",f="name",d="type",h="vendor",v="version",g="architecture",m="console",b="mobile",y="tablet",w="smarttv",_="wearable",S="embedded",E="Amazon",O="Apple",k="ASUS",x="BlackBerry",T="Browser",P="Chrome",C="Firefox",R="Google",I="Huawei",A="LG",D="Microsoft",j="Motorola",B="Opera",F="Samsung",N="Sharp",L="Sony",M="Xiaomi",V="Zebra",U="Facebook",H="Chromium OS",q="Mac OS",W=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},z=function(e,t){return typeof e===u&&-1!==G(t).indexOf(G(e))},G=function(e){return e.toLowerCase()},X=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,350)},J=function(e,t){for(var n,r,o,s,u,l,p=0;p<t.length&&!u;){var f=t[p],d=t[p+1];for(n=r=0;n<f.length&&!u&&f[n];)if(u=f[n++].exec(e))for(o=0;o<d.length;o++)l=u[++r],typeof(s=d[o])===c&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):i:this[s[0]]=l?s[1].call(this,l,s[2]):i:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):i):this[s]=l||i;p+=2}},$=function(e,t){for(var n in t)if(typeof t[n]===c&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(z(t[n][r],e))return"?"===n?i:n}else if(z(t[n],e))return"?"===n?i:n;return e},K={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"},Y={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[v,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[v,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,v],[/opios[\/ ]+([\w\.]+)/i],[v,[f,B+" Mini"]],[/\bopr\/([\w\.]+)/i],[v,[f,B]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,v],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[v,[f,"UC"+T]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[v,[f,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[v,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[v,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[v,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[v,[f,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+T],v],[/\bfocus\/([\w\.]+)/i],[v,[f,C+" Focus"]],[/\bopt\/([\w\.]+)/i],[v,[f,B+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[f,B+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[f,"MIUI "+T]],[/fxios\/([-\w\.]+)/i],[v,[f,C]],[/\bqihu|(qi?ho?o?|360)browser/i],[[f,"360 "+T]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1 "+T],v],[/(comodo_dragon)\/([\w\.]+)/i],[[f,/_/g," "],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[f,v],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,U],v],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,v],[/\bgsa\/([\w\.]+) .*safari\//i],[v,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[f,P+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,P+" WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[f,"Android "+T]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,v],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[v,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[v,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[v,$,{"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],[f,v],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],v],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[v,[f,C+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\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|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[f,v],[/(cobalt)\/([\w\.]+)/i],[f,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,G]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,"",G]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,G]]],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],[p,[h,F],[d,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[p,[h,F],[d,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[p,[h,O],[d,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[p,[h,O],[d,y]],[/(macintosh);/i],[p,[h,O]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[p,[h,N],[d,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[p,[h,I],[d,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[p,[h,I],[d,b]],[/\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,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[p,/_/g," "],[h,M],[d,b]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[p,/_/g," "],[h,M],[d,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[p,[h,"OPPO"],[d,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[p,[h,"Vivo"],[d,b]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[p,[h,"Realme"],[d,b]],[/\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],[p,[h,j],[d,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[p,[h,j],[d,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[p,[h,A],[d,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[p,[h,A],[d,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[p,[h,"Lenovo"],[d,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[p,/_/g," "],[h,"Nokia"],[d,b]],[/(pixel c)\b/i],[p,[h,R],[d,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[p,[h,R],[d,b]],[/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],[p,[h,L],[d,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[p,"Xperia Tablet"],[h,L],[d,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[p,[h,"OnePlus"],[d,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[p,[h,E],[d,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[p,/(.+)/g,"Fire Phone $1"],[h,E],[d,b]],[/(playbook);[-\w\),; ]+(rim)/i],[p,h,[d,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[p,[h,x],[d,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[p,[h,k],[d,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[p,[h,k],[d,b]],[/(nexus 9)/i],[p,[h,"HTC"],[d,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[p,/_/g," "],[d,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[p,[h,"Acer"],[d,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[p,[h,"Meizu"],[d,b]],[/(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],[h,p,[d,b]],[/(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],[h,p,[d,y]],[/(surface duo)/i],[p,[h,D],[d,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[p,[h,"Fairphone"],[d,b]],[/(u304aa)/i],[p,[h,"AT&T"],[d,b]],[/\bsie-(\w*)/i],[p,[h,"Siemens"],[d,b]],[/\b(rct\w+) b/i],[p,[h,"RCA"],[d,y]],[/\b(venue[\d ]{2,7}) b/i],[p,[h,"Dell"],[d,y]],[/\b(q(?:mv|ta)\w+) b/i],[p,[h,"Verizon"],[d,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[p,[h,"Barnes & Noble"],[d,y]],[/\b(tm\d{3}\w+) b/i],[p,[h,"NuVision"],[d,y]],[/\b(k88) b/i],[p,[h,"ZTE"],[d,y]],[/\b(nx\d{3}j) b/i],[p,[h,"ZTE"],[d,b]],[/\b(gen\d{3}) b.+49h/i],[p,[h,"Swiss"],[d,b]],[/\b(zur\d{3}) b/i],[p,[h,"Swiss"],[d,y]],[/\b((zeki)?tb.*\b) b/i],[p,[h,"Zeki"],[d,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],p,[d,y]],[/\b(ns-?\w{0,9}) b/i],[p,[h,"Insignia"],[d,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[p,[h,"NextBook"],[d,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],p,[d,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],p,[d,b]],[/\b(ph-1) /i],[p,[h,"Essential"],[d,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[p,[h,"Envizen"],[d,y]],[/\b(trio[-\w\. ]+) b/i],[p,[h,"MachSpeed"],[d,y]],[/\btu_(1491) b/i],[p,[h,"Rotor"],[d,y]],[/(shield[\w ]+) b/i],[p,[h,"Nvidia"],[d,y]],[/(sprint) (\w+)/i],[h,p,[d,b]],[/(kin\.[onetw]{3})/i],[[p,/\./g," "],[h,D],[d,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[p,[h,V],[d,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[p,[h,V],[d,b]],[/smart-tv.+(samsung)/i],[h,[d,w]],[/hbbtv.+maple;(\d+)/i],[[p,/^/,"SmartTV"],[h,F],[d,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,A],[d,w]],[/(apple) ?tv/i],[h,[p,O+" TV"],[d,w]],[/crkey/i],[[p,P+"cast"],[h,R],[d,w]],[/droid.+aft(\w+)( bui|\))/i],[p,[h,E],[d,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[p,[h,N],[d,w]],[/(bravia[\w ]+)( bui|\))/i],[p,[h,L],[d,w]],[/(mitv-\w{5}) bui/i],[p,[h,M],[d,w]],[/Hbbtv.*(technisat) (.*);/i],[h,p,[d,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,X],[p,X],[d,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,p,[d,m]],[/droid.+; (shield) bui/i],[p,[h,"Nvidia"],[d,m]],[/(playstation [345portablevi]+)/i],[p,[h,L],[d,m]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[p,[h,D],[d,m]],[/((pebble))app/i],[h,p,[d,_]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[p,[h,O],[d,_]],[/droid.+; (glass) \d/i],[p,[h,R],[d,_]],[/droid.+; (wt63?0{2,3})\)/i],[p,[h,V],[d,_]],[/(quest( 2| pro)?)/i],[p,[h,U],[d,_]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[d,S]],[/(aeobc)\b/i],[p,[h,E],[d,S]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[p,[d,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[p,[d,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,b]],[/(android[-\w\. ]{0,9});.+buil/i],[p,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[v,[f,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[v,[f,"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],[f,v],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[v,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,v],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[f,[v,$,K]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[f,"Windows"],[v,$,K]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[v,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,q],[v,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[v,f],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[f,v],[/\(bb(10);/i],[v,[f,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[v,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[v,[f,C+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[v,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[v,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[v,[f,P+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,H],v],[/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],[f,v],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],v],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,v]]},Q=function(e,t){if(typeof e===c&&(t=e,e=i),!(this instanceof Q))return new Q(e,t).getResult();var n=typeof o!==s&&o.navigator?o.navigator:i,r=e||(n&&n.userAgent?n.userAgent:""),m=n&&n.userAgentData?n.userAgentData:i,w=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(Y,t):Y,_=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[f]=i,t[v]=i,J.call(t,r,w.browser),t[l]=typeof(e=t[v])===u?e.replace(/[^\d\.]/g,"").split(".")[0]:i,_&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[f]="Brave"),t},this.getCPU=function(){var e={};return e[g]=i,J.call(e,r,w.cpu),e},this.getDevice=function(){var e={};return e[h]=i,e[p]=i,e[d]=i,J.call(e,r,w.device),_&&!e[d]&&m&&m.mobile&&(e[d]=b),_&&"Macintosh"==e[p]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[p]="iPad",e[d]=y),e},this.getEngine=function(){var e={};return e[f]=i,e[v]=i,J.call(e,r,w.engine),e},this.getOS=function(){var e={};return e[f]=i,e[v]=i,J.call(e,r,w.os),_&&!e[f]&&m&&"Unknown"!=m.platform&&(e[f]=m.platform.replace(/chrome os/i,H).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 r},this.setUA=function(e){return r=typeof e===u&&e.length>350?X(e,350):e,this},this.setUA(r),this};Q.VERSION="1.0.36",Q.BROWSER=W([f,v,l]),Q.CPU=W([g]),Q.DEVICE=W([p,h,d,m,b,w,y,_,S]),Q.ENGINE=Q.OS=W([f,v]),typeof t!==s?(e.exports&&(t=e.exports=Q),t.UAParser=Q):n.amdO?(r=function(){return Q}.call(t,n,t,e))===i||(e.exports=r):typeof o!==s&&(o.UAParser=Q);var Z=typeof o!==s&&(o.jQuery||o.Zepto);if(Z&&!Z.ua){var ee=new Q;Z.ua=ee.getResult(),Z.ua.get=function(){return ee.getUA()},Z.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)Z.ua[n]=t[n]}}}("object"==typeof window?window:this)},2511:function(e,t,n){var r;/*! https://mths.be/punycode v1.4.1 by @mathias */e=n.nmd(e),function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof n.g&&n.g;i.global!==i&&i.window!==i&&i.self;var a,s=2147483647,c=36,u=1,l=26,p=38,f=700,d=72,h=128,v="-",g=/^xn--/,m=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=c-u,_=Math.floor,S=String.fromCharCode;function E(e){throw new RangeError(y[e])}function O(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function k(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+O((e=e.replace(b,".")).split("."),t).join(".")}function x(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function T(e){return O(e,(function(e){var t="";return e>65535&&(t+=S((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=S(e)})).join("")}function P(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function C(e,t,n){var r=0;for(e=n?_(e/f):e>>1,e+=_(e/t);e>w*l>>1;r+=c)e=_(e/w);return _(r+(w+1)*e/(e+p))}function R(e){var t,n,r,o,i,a,p,f,g,m,b,y=[],w=e.length,S=0,O=h,k=d;for((n=e.lastIndexOf(v))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&E("not-basic"),y.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<w;){for(i=S,a=1,p=c;o>=w&&E("invalid-input"),((f=(b=e.charCodeAt(o++))-48<10?b-22:b-65<26?b-65:b-97<26?b-97:c)>=c||f>_((s-S)/a))&&E("overflow"),S+=f*a,!(f<(g=p<=k?u:p>=k+l?l:p-k));p+=c)a>_(s/(m=c-g))&&E("overflow"),a*=m;k=C(S-i,t=y.length+1,0==i),_(S/t)>s-O&&E("overflow"),O+=_(S/t),S%=t,y.splice(S++,0,O)}return T(y)}function I(e){var t,n,r,o,i,a,p,f,g,m,b,y,w,O,k,T=[];for(y=(e=x(e)).length,t=h,n=0,i=d,a=0;a<y;++a)(b=e[a])<128&&T.push(S(b));for(r=o=T.length,o&&T.push(v);r<y;){for(p=s,a=0;a<y;++a)(b=e[a])>=t&&b<p&&(p=b);for(p-t>_((s-n)/(w=r+1))&&E("overflow"),n+=(p-t)*w,t=p,a=0;a<y;++a)if((b=e[a])<t&&++n>s&&E("overflow"),b==t){for(f=n,g=c;!(f<(m=g<=i?u:g>=i+l?l:g-i));g+=c)k=f-m,O=c-m,T.push(S(P(m+k%O,0))),f=_(k/O);T.push(S(P(f,0))),i=C(n,w,r==o),n=0,++r}++n,++t}return T.join("")}a={version:"1.4.1",ucs2:{decode:x,encode:T},decode:R,encode:I,toASCII:function(e){return k(e,(function(e){return m.test(e)?"xn--"+I(e):e}))},toUnicode:function(e){return k(e,(function(e){return g.test(e)?R(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},8575:function(e,t,n){"use strict";var r=n(2511);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),l=["%","/","?",";","#"].concat(u),p=["/","?","#"],f=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},m=n(129);function b(e,t,n){if(e&&"object"==typeof e&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o<e.indexOf("#")?"?":"#",c=e.split(a);c[0]=c[0].replace(/\\/g,"/");var b=e=c.join(a);if(b=b.trim(),!n&&1===e.split("#").length){var y=s.exec(b);if(y)return this.path=b,this.href=b,this.pathname=y[1],y[2]?(this.search=y[2],this.query=t?m.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=i.exec(b);if(w){var _=(w=w[0]).toLowerCase();this.protocol=_,b=b.substr(w.length)}if(n||w||b.match(/^\/\/[^@/]+@[^@/]+/)){var S="//"===b.substr(0,2);!S||w&&v[w]||(b=b.substr(2),this.slashes=!0)}if(!v[w]&&(S||w&&!g[w])){for(var E,O,k=-1,x=0;x<p.length;x++){-1!==(T=b.indexOf(p[x]))&&(-1===k||T<k)&&(k=T)}-1!==(O=-1===k?b.lastIndexOf("@"):b.lastIndexOf("@",k))&&(E=b.slice(0,O),b=b.slice(O+1),this.auth=decodeURIComponent(E)),k=-1;for(x=0;x<l.length;x++){var T;-1!==(T=b.indexOf(l[x]))&&(-1===k||T<k)&&(k=T)}-1===k&&(k=b.length),this.host=b.slice(0,k),b=b.slice(k),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var C=this.hostname.split(/\./),R=(x=0,C.length);x<R;x++){var I=C[x];if(I&&!I.match(f)){for(var A="",D=0,j=I.length;D<j;D++)I.charCodeAt(D)>127?A+="x":A+=I[D];if(!A.match(f)){var B=C.slice(0,x),F=C.slice(x+1),N=I.match(d);N&&(B.push(N[1]),F.unshift(N[2])),F.length&&(b="/"+F.join(".")+b),this.hostname=B.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=r.toASCII(this.hostname));var L=this.port?":"+this.port:"",M=this.hostname||"";this.host=M+L,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!h[_])for(x=0,R=u.length;x<R;x++){var V=u[x];if(-1!==b.indexOf(V)){var U=encodeURIComponent(V);U===V&&(U=escape(V)),b=b.split(V).join(U)}}var H=b.indexOf("#");-1!==H&&(this.hash=b.substr(H),b=b.slice(0,H));var q=b.indexOf("?");if(-1!==q?(this.search=b.substr(q),this.query=b.substr(q+1),t&&(this.query=m.parse(this.query)),b=b.slice(0,q)):t&&(this.search="",this.query={}),b&&(this.pathname=b),g[_]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){L=this.pathname||"";var W=this.search||"";this.path=L+W}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(i=m.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var a=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if("string"==typeof e){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),i=0;i<r.length;i++){var a=r[i];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),c=0;c<s.length;c++){var u=s[c];"protocol"!==u&&(n[u]=e[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.pathname="/",n.path=n.pathname),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var l=Object.keys(e),p=0;p<l.length;p++){var f=l[p];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||v[e.protocol])n.pathname=e.pathname;else{for(var d=(e.pathname||"").split("/");d.length&&!(e.host=d.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),n.pathname=d.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var h=n.pathname||"",m=n.search||"";n.path=h+m}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=y||b||n.host&&e.pathname,_=w,S=n.pathname&&n.pathname.split("/")||[],E=(d=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(E&&(n.hostname="",n.port=null,n.host&&(""===S[0]?S[0]=n.host:S.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host=null),w=w&&(""===d[0]||""===S[0])),y)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,S=d;else if(d.length)S||(S=[]),S.pop(),S=S.concat(d),n.search=e.search,n.query=e.query;else if(null!=e.search){if(E)n.host=S.shift(),n.hostname=n.host,(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.hostname=P.shift(),n.host=n.hostname);return n.search=e.search,n.query=e.query,null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!S.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var O=S.slice(-1)[0],k=(n.host||e.host||S.length>1)&&("."===O||".."===O)||""===O,x=0,T=S.length;T>=0;T--)"."===(O=S[T])?S.splice(T,1):".."===O?(S.splice(T,1),x++):x&&(S.splice(T,1),x--);if(!w&&!_)for(;x--;x)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),k&&"/"!==S.join("/").substr(-1)&&S.push("");var P,C=""===S[0]||S[0]&&"/"===S[0].charAt(0);E&&(n.hostname=C?"":S.length?S.shift():"",n.host=n.hostname,(P=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=P.shift(),n.hostname=P.shift(),n.host=n.hostname));return(w=w||n.host&&S.length)&&!C&&S.unshift(""),S.length>0?n.pathname=S.join("/"):(n.pathname=null,n.path=null),null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.Qc=b},3876:function(e,t,n){e.exports=n(6253)},9661:function(e){!function(t){var n=-1,r={onVisible:function(e){var t=r.isSupported();if(!t||!r.hidden())return e(),t;var n=r.change((function(t,o){r.hidden()||(r.unbind(n),e())}));return n},change:function(e){if(!r.isSupported())return!1;var t=n+=1;return r._callbacks[t]=e,r._listen(),t},unbind:function(e){delete r._callbacks[e]},afterPrerendering:function(e){var t=r.isSupported(),n="prerender";if(!t||n!=r.state())return e(),t;var o=r.change((function(t,i){n!=i&&(r.unbind(o),e())}));return o},hidden:function(){return!(!r._doc.hidden&&!r._doc.webkitHidden)},state:function(){return r._doc.visibilityState||r._doc.webkitVisibilityState||"visible"},isSupported:function(){return void 0!==r._doc.hidden||void 0!==r._doc.webkitHidden},_doc:document||{},_callbacks:{},_change:function(e){var t=r.state();for(var n in r._callbacks)r._callbacks[n].call(r._doc,e,t)},_listen:function(){if(!r._init){var e="visibilitychange";r._doc.webkitVisibilityState&&(e="webkit"+e);var t=function(){r._change.apply(r,arguments)};r._doc.addEventListener?r._doc.addEventListener(e,t):r._doc.attachEvent(e,t),r._init=!0}}};e.exports?e.exports=r:t.Visibility=r}(this)},6253:function(e,t,n){!function(t){var r=-1,o=function(e){return e.every=function(t,n,o){e._time(),o||(o=n,n=null);var i=r+=1;return e._timers[i]={visible:t,hidden:n,callback:o},e._run(i,!1),e.isSupported()&&e._listen(),i},e.stop=function(t){return!!e._timers[t]&&(e._stop(t),delete e._timers[t],!0)},e._timers={},e._time=function(){e._timed||(e._timed=!0,e._wasHidden=e.hidden(),e.change((function(){e._stopRun(),e._wasHidden=e.hidden()})))},e._run=function(n,r){var o,i=e._timers[n];if(e.hidden()){if(null===i.hidden)return;o=i.hidden}else o=i.visible;var a=function(){i.last=new Date,i.callback.call(t)};if(r){var s=new Date-i.last;o>s?i.delay=setTimeout((function(){i.id=setInterval(a,o),a()}),o-s):(i.id=setInterval(a,o),a())}else i.id=setInterval(a,o)},e._stop=function(t){var n=e._timers[t];clearInterval(n.id),clearTimeout(n.delay),delete n.id,delete n.delay},e._stopRun=function(t){var n=e.hidden(),r=e._wasHidden;if(n&&!r||!n&&r)for(var o in e._timers)e._stop(o),e._run(o,!n)},e};e.exports?e.exports=o(n(9661)):o(t.Visibility||n(9661))}(window)},2369:function(e){e.exports=decodeURIComponent("%3Cdiv%20class%3D%22column%20is-banner-id%22%3E%23%7Bsymbol%7D%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-recording-flag%22%3E0%25%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-inview-time%22%3E0.00%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-viewed-indicator%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20class%3D%22not-viewed-icon%20is-visible%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M22.245%204.015a.808.808%200%200%201%200%201.139l-6.276%206.27a.81.81%200%200%200%200%201.14l6.273%206.272a.81.81%200%200%201%200%201.14l-2.285%202.277a.814.814%200%200%201-1.142%200l-6.271-6.271a.81.81%200%200%200-1.141%200l-6.276%206.267a.81.81%200%200%201-1.141%200l-2.282-2.28a.81.81%200%200%201%200-1.14l6.278-6.269a.81.81%200%200%200%200-1.14L1.709%205.147a.808.808%200%200%201%200-1.14l2.284-2.278a.813.813%200%200%201%201.142.001L11.405%208a.81.81%200%200%200%201.141.001l6.276-6.267a.812.812%200%200%201%201.141%200l2.282%202.281z%22%2F%3E%3C%2Fsvg%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20class%3D%22viewed-icon%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21.652%203.211a.747.747%200%200%200-1.061%200L9.41%2014.34a.744.744%200%200%201-1.062%200L3.449%209.351a.743.743%200%200%200-1.062%200L.222%2011.297a.751.751%200%200%200%20.001%201.07l4.94%205.184c.292.296.771.776%201.062%201.07l2.124%202.141a.751.751%200%200%200%201.062%200l14.366-14.34a.762.762%200%200%200%200-1.071l-2.125-2.14z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-nohover-time%22%3E0.00%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-nohover-indicator%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20class%3D%22not-viewed-icon%20is-visible%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M22.245%204.015a.808.808%200%200%201%200%201.139l-6.276%206.27a.81.81%200%200%200%200%201.14l6.273%206.272a.81.81%200%200%201%200%201.14l-2.285%202.277a.814.814%200%200%201-1.142%200l-6.271-6.271a.81.81%200%200%200-1.141%200l-6.276%206.267a.81.81%200%200%201-1.141%200l-2.282-2.28a.81.81%200%200%201%200-1.14l6.278-6.269a.81.81%200%200%200%200-1.14L1.709%205.147a.808.808%200%200%201%200-1.14l2.284-2.278a.813.813%200%200%201%201.142.001L11.405%208a.81.81%200%200%200%201.141.001l6.276-6.267a.812.812%200%200%201%201.141%200l2.282%202.281z%22%2F%3E%3C%2Fsvg%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20class%3D%22viewed-icon%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21.652%203.211a.747.747%200%200%200-1.061%200L9.41%2014.34a.744.744%200%200%201-1.062%200L3.449%209.351a.743.743%200%200%200-1.062%200L.222%2011.297a.751.751%200%200%200%20.001%201.07l4.94%205.184c.292.296.771.776%201.062%201.07l2.124%202.141a.751.751%200%200%200%201.062%200l14.366-14.34a.762.762%200%200%200%200-1.071l-2.125-2.14z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-reloaded-indicator%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20class%3D%22not-viewed-icon%20is-visible%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M22.245%204.015a.808.808%200%200%201%200%201.139l-6.276%206.27a.81.81%200%200%200%200%201.14l6.273%206.272a.81.81%200%200%201%200%201.14l-2.285%202.277a.814.814%200%200%201-1.142%200l-6.271-6.271a.81.81%200%200%200-1.141%200l-6.276%206.267a.81.81%200%200%201-1.141%200l-2.282-2.28a.81.81%200%200%201%200-1.14l6.278-6.269a.81.81%200%200%200%200-1.14L1.709%205.147a.808.808%200%200%201%200-1.14l2.284-2.278a.813.813%200%200%201%201.142.001L11.405%208a.81.81%200%200%200%201.141.001l6.276-6.267a.812.812%200%200%201%201.141%200l2.282%202.281z%22%2F%3E%3C%2Fsvg%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20class%3D%22viewed-icon%22%3E%3Cpath%20d%3D%22M14%208c-.609%200-.898.43-1%20.883C12.635%2010.516%2011.084%2013%208%2013a4.947%204.947%200%200%201-2.114-.474L6.414%2012c.359-.344.586-.555.586-1%200-.523-.438-1-1-1H3c-.609%200-1%20.492-1%201v3c0%20.541.428%201%201%201%20.484%200%20.688-.273%201-.594l.408-.407A6.933%206.933%200%200%200%208%2015c4.99%200%207-4.75%207-5.938C15%208.336%2014.469%208%2014%208zM3%207.117C3.365%205.485%204.916%203%208%203c.757%200%201.473.171%202.114.473L9.586%204C9.227%204.344%209%204.555%209%205c0%20.523.438%201%201%201h3c.609%200%201-.492%201-1V2c0-.541-.428-1-1-1-.484%200-.688.273-1%20.594l-.408.407A6.933%206.933%200%200%200%208%201C3.01%201%201%205.75%201%206.938%201%207.664%201.531%208%202%208c.609%200%20.898-.43%201-.883z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-direction-indicator%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%3E%3Cpath%20d%3D%22M15%206H8V3c0-.484-.375-1-1-1-.461%200-.695.287-1%20.54L.625%207C.242%207.313%200%207.555%200%208s.242.688.625%201L6%2013.46c.305.253.539.54%201%20.54.625%200%201-.516%201-1v-3h7c.55%200%201-.45%201-1V7c0-.55-.45-1-1-1z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E")},4025:function(e){e.exports=decodeURIComponent("%3Cdiv%20class%3D%22inview-timers__row%20is-widget-header%22%3E%3Cdiv%20class%3D%22column%20is-title%20is-banner-id%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20d%3D%22M8%2021c-1.66%200-3%201.34-3%203s1.34%203%203%203%203-1.34%203-3-1.34-3-3-3zM8%209c-1.66%200-3%201.34-3%203s1.34%203%203%203%203-1.34%203-3-1.34-3-3-3zm0%2024.33a2.67%202.67%200%201%200-.001%205.339A2.67%202.67%200%200%200%208%2033.33zM14%2038h28v-4H14v4zm0-12h28v-4H14v4zm0-16v4h28v-4H14z%22%2F%3E%3Cpath%20fill%3D%22none%22%20d%3D%22M0%200h48v48H0z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-title%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22%23333%22%20fill-rule%3D%22evenodd%22%20d%3D%22M17%209C8%209%204%2016%204%2016s4%207%2013%207%2013-7%2013-7-4-7-13-7Zm0%2011a4%204%200%201%200%200-8%204%204%200%200%200%200%208Zm0-1a3%203%200%201%200%200-6%203%203%200%200%200%200%206Zm0-2a1%201%200%201%200%200-2%201%201%200%200%200%200%202Z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-title%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3Anone%3Bstroke%3A%23000%3Bstroke-linejoin%3Around%3Bstroke-width%3A2px%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20data-name%3D%22171-Time%22%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2215%22%20class%3D%22cls-1%22%2F%3E%3Cpath%20d%3D%22M16%205v11l-7%207%22%20class%3D%22cls-1%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-title%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xml%3Aspace%3D%22preserve%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M21.652%203.211a.747.747%200%200%200-1.061%200L9.41%2014.34a.744.744%200%200%201-1.062%200L3.449%209.351a.743.743%200%200%200-1.062%200L.222%2011.297a.751.751%200%200%200%20.001%201.07l4.94%205.184c.292.296.771.776%201.062%201.07l2.124%202.141a.751.751%200%200%200%201.062%200l14.366-14.34a.762.762%200%200%200%200-1.071l-2.125-2.14z%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-title%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3Anone%3Bstroke%3A%23000%3Bstroke-linejoin%3Around%3Bstroke-width%3A2px%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20data-name%3D%22171-Time%22%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%2215%22%20class%3D%22cls-1%22%2F%3E%3Cpath%20d%3D%22M16%205v11l-7%207%22%20class%3D%22cls-1%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-title%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xml%3Aspace%3D%22preserve%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M21.652%203.211a.747.747%200%200%200-1.061%200L9.41%2014.34a.744.744%200%200%201-1.062%200L3.449%209.351a.743.743%200%200%200-1.062%200L.222%2011.297a.751.751%200%200%200%20.001%201.07l4.94%205.184c.292.296.771.776%201.062%201.07l2.124%202.141a.751.751%200%200%200%201.062%200l14.366-14.34a.762.762%200%200%200%200-1.071l-2.125-2.14z%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-title%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20class%3D%22viewed-icon%22%3E%3Cpath%20d%3D%22M14%208c-.609%200-.898.43-1%20.883C12.635%2010.516%2011.084%2013%208%2013a4.947%204.947%200%200%201-2.114-.474L6.414%2012c.359-.344.586-.555.586-1%200-.523-.438-1-1-1H3c-.609%200-1%20.492-1%201v3c0%20.541.428%201%201%201%20.484%200%20.688-.273%201-.594l.408-.407A6.933%206.933%200%200%200%208%2015c4.99%200%207-4.75%207-5.938C15%208.336%2014.469%208%2014%208zM3%207.117C3.365%205.485%204.916%203%208%203c.757%200%201.473.171%202.114.473L9.586%204C9.227%204.344%209%204.555%209%205c0%20.523.438%201%201%201h3c.609%200%201-.492%201-1V2c0-.541-.428-1-1-1-.484%200-.688.273-1%20.594l-.408.407A6.933%206.933%200%200%200%208%201C3.01%201%201%205.75%201%206.938%201%207.664%201.531%208%202%208c.609%200%20.898-.43%201-.883z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3Cdiv%20class%3D%22column%20is-title%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%3E%3Cpath%20d%3D%22M15%206H8V3c0-.484-.375-1-1-1-.461%200-.695.287-1%20.54L.625%207C.242%207.313%200%207.555%200%208s.242.688.625%201L6%2013.46c.305.253.539.54%201%20.54.625%200%201-.516%201-1v-3h7c.55%200%201-.45%201-1V7c0-.55-.45-1-1-1z%22%2F%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%3C%2Fdiv%3E")},7285:function(e){e.exports=decodeURIComponent("%3Cspan%20class%3D%22inviewtime-sticker__symbol%22%3E%23%7Bsymbol%7D%20%7C%3C%2Fspan%3E%3Cspan%20class%3D%22inviewtime-sticker__inview%22%3E0%25%20%7C%3C%2Fspan%3E%3Cspan%20class%3D%22inviewtime-sticker__inview-timer%22%3E0.00%20%7C%3C%2Fspan%3E%3Cspan%20class%3D%22inviewtime-sticker__nohovertimer%22%3E0.00%3C%2Fspan%3E")},2480:function(){},4654:function(){},4772:function(e){"use strict";e.exports=JSON.parse('{"sentryUrl":"","minLoggerLevel":400,"projectName":"sspjs","projectVersion":"38.52.0"}')},1104:function(e){"use strict";e.exports=JSON.parse('{"RQ_COUNT":null,"COLLECT_ANALITYCS_ON_HISTORY_CHANGE":true,"RESET_SYNC_BANNERS_STATE_ON_HISTORY_CHANGE":true,"STYLE_NONCE_VALUE":"","SCRIPT_NONCE_VALUE":""}')}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.m=n,o.amdO={},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce((function(t,n){return o.f[n](e,t),t}),[]))},o.u=function(e){return"js/chunks/"+{443:"2d0387b3b4cbac0598a5",689:"337219733762f69e296f",723:"60aad99b53854898c31e"}[e]+".js"},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e={},t="SSPjs:",o.l=function(n,r,i,a){if(e[n])e[n].push(r);else{var s,c;if(void 0!==i)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var p=u[l];if(p.getAttribute("src")==n||p.getAttribute("data-webpack")==t+i){s=p;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",t+i),s.src=n),e[n]=[r];var f=function(t,r){s.onerror=s.onload=null,clearTimeout(d);var o=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((function(e){return e(r)})),t)return t(r)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),c&&document.head.appendChild(s)}},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},o.p="//webcf.waybackmachine.org/web/20240318155658/https://ssp.rambler.ru/",function(){o.b=document.baseURI||self.location.href;var e={221:0};o.f.j=function(t,n){var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise((function(n,o){r=e[t]=[n,o]}));n.push(r[2]=i);var a=o.p+o.u(t),s=new Error;o.l(a,(function(n){if(o.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,r[1](s)}}),"chunk-"+t,t)}};var t=function(t,n){var r,i,a=n[0],s=n[1],c=n[2],u=0;if(a.some((function(t){return 0!==e[t]}))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);if(c)c(o)}for(t&&t(n);u<a.length;u++)i=a[u],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0},n=self.webpackChunkSSPjs=self.webpackChunkSSPjs||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var i={};!function(){"use strict";o.r(i);var e={};o.r(e),o.d(e,{graph_banner_html:function(){return yf},graph_banner_img:function(){return Sf},graph_banner_js:function(){return Ef},graph_banner_xhtml:function(){return wf},graph_banner_xiframe:function(){return _f}});o(6337),o(6702),o(3241),o(3654),o(2120);"undefined"!=typeof window?window:void 0!==o.g&&o.g;var t,n=function(){var e=window.QW50aS1BZEJsb2Nr;if(null==e?void 0:e.getDebugInfo)return e.getDebugInfo()},r=function(){return window.begun_urls&&window.begun_urls.base_scripts_url?window.begun_urls.base_scripts_url:u},a="38.52.0",s=a.replace(/\./g,"_"),c=parseInt(void 0,10),u="//webcf.waybackmachine.org/web/20240318155658/https://ssp.rambler.ru/";!function(e){e.PDSP="ssp_blockstat_p",e.MDSP="ssp_blockstat_m"}(t||(t={}));var l,p="//webcf.waybackmachine.org/web/20240318155658/https://ssp.rambler.ru/blockstat_post",f=["432345474","448516617","461192368","460428556","437708104","432185890","437707940","433058372","458201932","429663120"],d="[id*='begun_block']",h=/\[\d{2,},(\s|\S)\d{2,}\]/g,v=[429804626,432335590,429804618],g={css:{block_prefix:"begun_block_"},urls:{base_scripts_url:r(),daemon:"".concat(r(),"context.jsp?wl=rambler&"),styles:"".concat(r(),"css?")}},m={json:1},b="\x3c!-- google_rambler_adtech_callbacks --\x3e";!function(e){e.base64="base64",e.url="url"}(l||(l={}));var y;!function(e){e.SSP="ssp_debug=2",e.ADFOX="adfox_debug=2",e.NO_TOOLBAR="ssp_no_debug=1",e.METRICS="metrics_debug=1"}(y||(y={}));var w=function(){var e=new Error;return e&&e.stack&&e.stack.split("\n").slice(5).map((function(e){if(!e)return{};var t=/^(.*)@(.*)\.js:([0-9]+):([0-9]+)$/gi.exec(e);return t?(t[1]&&(t[1]=/([^\/<]+)/gi.exec(t[1]),t[1]&&(t[1]=t[1][0])),{column:t[4]||"",file:t[2]||"",line:t[3]||"",method:t[1]||""}):(t=/^(.*)@(http|https):([^:]+):([0-9]+):([0-9]+)$/gi.exec(e))?{column:t[5]||"",file:t[3]||"",line:t[4]||"",method:t[1]+":"+t[2]||""}:(t=/^(.*)@(.*):([0-9]+):([0-9]+)$/gi.exec(e))||(t=/^\s+at\s([^(]+)\s\((.*):([0-9]+):([0-9]+)\)$/gi.exec(e))?{column:t[4]||"",file:t[2]||"",line:t[3]||"",method:t[1]||""}:(t=/^\s+at\s(.*):([0-9]+):([0-9]+)$/gi.exec(e))?{column:t[3]||"",file:t[1]||"",line:t[2]||"",method:""}:e}))||[]},_=function(){return-1!==navigator.userAgent.indexOf("Opera")},S=function(){return-1!==navigator.userAgent.indexOf("OPR")},E=function(){return-1!==navigator.userAgent.indexOf("Edg")},O=function(){return-1!==navigator.userAgent.indexOf("Edge")},k=function(){return-1!==navigator.userAgent.indexOf("Chrome")},x=function(){return-1!==navigator.userAgent.indexOf("Firefox")},T=function(){return-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")},P=function(){return navigator.userAgent.lastIndexOf(" ")+1<navigator.userAgent.lastIndexOf("/")},C=function(){var e;return _()||S()?e="Opera":E()||O()?e="Edge":k()?e="Chrome":x()?e="Firefox":T()?e="Safari":P()&&(e=function(){var e=navigator.userAgent.lastIndexOf(" ")+1,t=navigator.userAgent.lastIndexOf("/"),n=navigator.userAgent.substring(e,t);return n.toLowerCase()===n.toUpperCase()&&(n=navigator.appName),n}()),e||""},R=function(e){if("string"==typeof e){for(var t=[";"," ",")"],n=0;n<t.length;n++){var r=t[n],o=e.indexOf(r);-1!==o&&(e=e.substring(0,o))}return e}return""},I=function(){var e;return _()?e=function(){var e=navigator.userAgent.indexOf("Opera"),t=navigator.userAgent.substring(e+6);return-1!==(e=navigator.userAgent.indexOf("Version"))&&(t=navigator.userAgent.substring(e+8)),R(t)}():S()?e=function(){var e=navigator.userAgent.indexOf("OPR"),t=navigator.userAgent.substring(e+4);return R(t)}():O()?e=function(){var e=navigator.userAgent.indexOf("Edge"),t=navigator.userAgent.substring(e+5);return R(t)}():E()?e=function(){var e=navigator.userAgent.indexOf("Edg"),t=navigator.userAgent.substring(e+4);return R(t)}():k()?e=function(){var e=navigator.userAgent.indexOf("Chrome"),t=navigator.userAgent.substring(e+7);return R(t)}():x()?e=function(){var e=navigator.userAgent.indexOf("Firefox"),t=navigator.userAgent.substring(e+8);return R(t)}():T()?e=function(){var e=navigator.userAgent.indexOf("Safari"),t=navigator.userAgent.substring(e+7);return-1!==(e=navigator.userAgent.indexOf("Version"))&&(t=navigator.userAgent.substring(e+8)),R(t)}():P()&&(e=function(){var e=navigator.userAgent.lastIndexOf("/"),t=navigator.userAgent.substring(e+1);return R(t)}()),e||""},A=function(){for(var e="",t=[{r:/(Windows 10.0|Windows NT 10.0)/,s:"Windows 10"},{r:/(Windows 8.1|Windows NT 6.3)/,s:"Windows 8.1"},{r:/(Windows 8|Windows NT 6.2)/,s:"Windows 8"},{r:/(Windows 7|Windows NT 6.1)/,s:"Windows 7"},{r:/Windows NT 6.0/,s:"Windows Vista"},{r:/Windows NT 5.2/,s:"Windows Server 2003"},{r:/(Windows NT 5.1|Windows XP)/,s:"Windows XP"},{r:/(Windows NT 5.0|Windows 2000)/,s:"Windows 2000"},{r:/(Win 9x 4.90|Windows ME)/,s:"Windows ME"},{r:/(Windows 98|Win98)/,s:"Windows 98"},{r:/(Windows 95|Win95|Windows_95)/,s:"Windows 95"},{r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,s:"Windows NT 4.0"},{r:/Windows CE/,s:"Windows CE"},{r:/Win16/,s:"Windows 3.11"},{r:/Android/,s:"Android"},{r:/OpenBSD/,s:"Open BSD"},{r:/SunOS/,s:"Sun OS"},{r:/(Linux|X11)/,s:"Linux"},{r:/(iPhone|iPad|iPod)/,s:"iOS"},{r:/Mac OS X/,s:"Mac OS X"},{r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/,s:"Mac OS"},{r:/QNX/,s:"QNX"},{r:/UNIX/,s:"UNIX"},{r:/BeOS/,s:"BeOS"},{r:/OS\/2/,s:"OS/2"},{r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/,s:"Search Bot"}],n=0;n<t.length;n++){var r=t[n];if(r.r.test(navigator.userAgent)){e=r.s;break}}return e},D=function(){var e=A(),t="";switch(/Windows/.test(e)&&(t=/Windows (.*)/.exec(e))&&(t=t[1],e="Windows"),e){case"Mac OS X":(t=/Mac OS X (10[._\d]+)/.exec(navigator.userAgent))&&(t=t[1]);break;case"Android":(t=/Android ([._\d]+)/.exec(navigator.userAgent))&&(t=t[1]);break;case"iOS":var n=/OS (\d+)_(\d+)_?(\d+)?/.exec(navigator.appVersion);n&&(t=n[1]+"."+n[2]+"."+(n[3]||0))}return t||""},j=function(){return{browser:{browser:C(),mobile:/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(navigator.appVersion),version:I()},screen:{availableSize:{height:window.screen.availHeight,width:window.screen.availWidth},colorDepth:window.screen.colorDepth,pixelRatio:(e=0,void 0!==window.screen.systemXDPI&&void 0!==window.screen.logicalXDPI&&window.screen.systemXDPI>window.screen.logicalXDPI?e=window.screen.systemXDPI/window.screen.logicalXDPI:void 0!==window.devicePixelRatio&&(e=window.devicePixelRatio),e),size:{height:window.screen.height,width:window.screen.width}},system:{name:A(),version:D()}};var e},B=window||o.g,F=function(){function e(e){void 0===e&&(e=200);var t=this;this.watch=function(){try{try{t.parallelWatch()}catch(e){t._errorHandler(e)}try{t.serialWatch()}catch(e){t._errorHandler(e)}setTimeout(t.watch,t._delay)}catch(e){t._errorHandler(e)}},this._delay=e,this._serialStackPointer=0,this._parallelStack={},this._serialStack={},this.errorHandler=null,this.watch()}return e.prototype.subscribe=function(e){var t=void 0===e?{}:e,n=t.callback,r=void 0===n?function(){return null}:n,o=t.context,i=void 0===o?B:o,a=t.ID,s=void 0===a?this._generateID():a,c=t.params,u=void 0===c?[]:c;return this.parallelSubscribe({ID:s,callback:r,context:i,params:u})},e.prototype.parallelSubscribe=function(e){var t=e.callback,n=void 0===t?function(){return null}:t,r=e.context,o=void 0===r?B:r,i=e.ID,a=void 0===i?this._generateID():i,s=e.params,c=void 0===s?[]:s;return this._parallelStack[a]={callback:n,context:o,params:c},a},e.prototype.serialSubscribe=function(e){var t=e.callback,n=void 0===t?function(){return null}:t,r=e.context,o=void 0===r?B:r,i=e.ID,a=void 0===i?this._generateID():i,s=e.params,c=void 0===s?[]:s;return this._serialStack[a]={callback:n,context:o,params:c},a},e.prototype.unsubscribe=function(e){return this.parallelUnsubscribe(e)},e.prototype.parallelUnsubscribe=function(e){return!("string"!=typeof e||!this._parallelStack[e])&&(this._parallelStack[e]=null,delete this._parallelStack[e],!0)},e.prototype.serialUnsubscribe=function(e){return!("string"!=typeof e||!this._serialStack[e])&&(this._serialStack[e]=null,delete this._serialStack[e],!0)},e.prototype.parallelWatch=function(){try{if(this._parallelStack&&"object"==typeof this._parallelStack&&Object.keys(this._parallelStack).length>0)for(var e in this._parallelStack)if(this._parallelStack.hasOwnProperty(e))try{if(e&&"string"==typeof e){var t=this._parallelStack[e];t&&"object"==typeof t&&t.context&&t.callback&&t.params&&"object"==typeof t.context&&"function"==typeof t.callback&&Array.isArray(t.params)&&t.callback.apply(t.context,t.params)}}catch(e){this._errorHandler(e)}}catch(e){this._errorHandler(e)}},e.prototype.serialWatch=function(){try{if(this._serialStack&&"object"==typeof this._serialStack){var e=Object.keys(this._serialStack);if(e&&e.length>0){this._serialStackPointer>=e.length&&(this._serialStackPointer=0);var t=e[this._serialStackPointer];if(this._serialStackPointer++,this._serialStack.hasOwnProperty(t)&&t&&"string"==typeof t){var n=this._serialStack[t];n&&"object"==typeof n&&n.context&&n.callback&&n.params&&"object"==typeof n.context&&"function"==typeof n.callback&&Array.isArray(n.params)&&n.callback.apply(n.context,n.params)}}}}catch(e){this._errorHandler(e)}},e.prototype._errorHandler=function(e){this.errorHandler&&this.errorHandler(e)},e.prototype._generateID=function(){return"x-"+(new Date).getTime()+"-"+Math.round(1e6*Math.random())},e}(),N=F,L=function(){function e(){this._watchers={}}return e.getInstance=function(){return e._instance||(e._instance=new e),e._instance},e.prototype.init=function(e){void 0===e&&(e=200);var t=this._watchers[e];return t||(t=new N(e),this._watchers[e]=t),t},e.prototype.remove=function(e){var t=this;Object.keys(this._watchers).forEach((function(n){t._watchers[n]===e&&delete t._watchers[n]}))},e}(),M=L,V=o(8341),U=o.n(V),H=o(8214),q=o.n(H),W=M.getInstance().init(200),z={600:"Some uncaught error",503:"Attempt reattach the scripts to the non-object",502:"Block doesn't exist",501:"Banner place doesn't exist",500:"Some caught error",401:"Deprecated call",400:"Some warning",300:"Some info",200:"Some log",101:"Entry point",100:"Some debug",0:"Something"},G=function(){function e(){}return e.init=function(t){if("object"==typeof t)for(var n in t)t.hasOwnProperty(n)&&(e.settings[n]=t[n]);return e.settings.sentryUrl&&U().config(e.settings.sentryUrl,{environment:"production",logger:"CSLogger",release:e.settings.projectVersion,sampleRate:.25}).install(),e},e.log=function(t,r,o){if("number"==typeof t&&t>0&&"string"==typeof r&&r.length>0){if(t=t||101,r=r||z[t]||"",o=o||{},t>=e.settings.minLoggerLevel){var i={date:new Date,location:location.href,projectName:e.settings.projectName,projectVersion:e.settings.projectVersion,stack:w(),user:j(),message:r,properties:o,status:t,aab_info:n()};e.arrLog.push(i)}return!0}return!1},e.statusLavelSentry=function(e){return"number"==typeof e&&e>0?e>=200&&e<300?"log":e>=300&&e<400?"info":e>=400&&e<500?"warning":e>=500?"error":"debug":""},e.statusLavelConsole=function(e){return"number"==typeof e&&e>0?e>=200&&e<300?"log":e>=300&&e<400?"info":e>=400&&e<500?"warn":e>=500?"error":"debug":""},e.showMessange=function(t,n){if("number"==typeof t&&t>0&&"string"==typeof n&&n.length>0){var r=e.statusLavelConsole(t);return"object"==typeof window&&"object"==typeof window.Debug&&"object"==typeof window.Debug.console&&"function"==typeof window.Debug.console[r]?window.Debug.console[r](n):"object"==typeof window&&"object"==typeof window.CSDebug&&"object"==typeof window.CSDebug.console&&"function"==typeof window.CSDebug.console[r]?window.CSDebug.console[r](n):"object"==typeof console&&"function"==typeof console[r]&&console[r](n),!0}return!1},e.watch=function(){if(e.arrLog.length>0&&e.arrLog.length<100){for(var t=0;t<e.arrLog.length;t++){var n=e.arrLog[t],r=encodeURIComponent(JSON.stringify(n)),o=q()(JSON.stringify({message:n.message,projectName:n.projectName,projectVersion:n.projectVersion,status:n.status})).toString();if(-1===e.arrSended.indexOf(o))if(e.arrSended.push(o),e.settings.sentryUrl)U().captureMessage(n.message,{extra:n,level:e.statusLavelSentry(n.status),logger:"CSLogger",tags:{status:n.status}});else if(e.settings.loggerUrl){(new Image).src="".concat(e.settings.loggerUrl,"?uid=").concat(o,"&data=").concat(r)}else e.showMessange(n.status,n.message)}e.arrLog=[]}},e.eventListenerAdded=!1,e.arrLog=[],e.arrSended=[],e.projectName="sspjs",e.projectVersion=a,e.settings={loggerUrl:"",minLoggerLevel:500,projectName:"",projectVersion:"",sentryUrl:""},e}();W.subscribe({callback:G.watch});var X,J,$=G.init;function K(e){return e||null}var Y=function(){function e(e,t){void 0===t&&(t={}),X=this,this.debugConsole=null,this.initDebugConsole(),this.use=e||!1,this.arrLog=[],"undefined"!=typeof window&&(this.console={debug:window.console.debug||window.console.log||K(),error:window.console.error||window.console.log||K(),info:window.console.info||window.console.log||K(),log:window.console.log||K(),warn:window.console.warn||window.console.log||K()},this.use&&window.console&&(window.console.error=this._error,window.console.warn=this._warn,window.console.info=this._info,window.console.log=this._log,window.console.debug=this._debug)),J=$(t.CSLogger||{})}return e.cloneObjectSafely=function(t,n){var r={};if(n<2)for(var o=0;o<t.length;o++){var i=t[o];t.hasOwnProperty(i)&&("object"==typeof t[i]?r[i]=e.cloneObjectSafely(t[i],n+1):r[i]=t[i])}return r},e.prototype.initDebugConsole=function(){"undefined"!=typeof window&&void 0!==window.document&&window.document.body&&(X.debugConsole=window.document.getElementById("debug-console"),X.debugConsole||(X.debugConsole=window.document.createElement("div"),X.debugConsole.id="debug-console",X.debugConsole.style.width="0px",X.debugConsole.style.height="0px",X.debugConsole.style.left="-10px",X.debugConsole.style.top="-10px",X.debugConsole.style.backgroundColor="#ff0000",X.debugConsole.style.color="#ffffff",X.debugConsole.style.zIndex="1000",X.debugConsole.style.position="absolute",X.debugConsole.style.overflow="hidden",X.debugConsole.style.opacity="0",window.document.body.appendChild(X.debugConsole)),X.debugConsole.innerHTML="[]")},e.prototype.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(X.write("error",e),t.length>0)for(var r=0;r<t.length;r++)X.error(t[r])},e.prototype.warn=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(X.write("warn",e),t.length>0)for(var r=0;r<t.length;r++)X.warn(t[r])},e.prototype.info=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(X.write("info",e),t.length>0)for(var r=0;r<t.length;r++)X.info(t[r])},e.prototype.log=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(X.write("log",e),t.length>0)for(var r=0;r<t.length;r++)X.log(t[r])},e.prototype.debug=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(X.write("debug",e),t.length>0)for(var r=0;r<t.length;r++)X.debug(t[r])},e.prototype.getLogRects=function(e,t,n,r){var o=[];if(!(void 0!==e&&"string"!=typeof e||void 0!==t&&"string"!=typeof t||void 0!==n&&"string"!=typeof n||void 0!==r&&"string"!=typeof r))for(var i=0;i<X.arrLog.length;i++){var a=X.arrLog[i];if(!("string"==typeof e&&e&&a.mode!==e||"string"==typeof t&&t&&"string"==typeof a.message&&-1===a.message.indexOf(t))){if("string"==typeof n&&n||"string"==typeof r&&r){if(!a.stack)continue;for(var s=!1,c=0;c<a.stack.length;c++){var u=a.stack[c];if("string"==typeof n&&n&&"string"==typeof u.method&&-1===u.method.indexOf(n)||"string"==typeof r&&r&&"string"==typeof u.file&&-1===u.file.indexOf(r)){s=!0;break}}if(s)continue}o.push(a)}}return o},e.prototype.getLogRectByID=function(e){return X.arrLog[e]},e.prototype.clearLog=function(){X.arrLog=[]},e.prototype.write=function(t,n){if(t&&n){"object"==typeof n&&(n=e.cloneObjectSafely(n,0));var r={};if(r.mode=t,r.message=n,r.stack=w(),X.arrLog.push(r),X.use){X.debugConsole?X.debugConsole.innerHTML=JSON.stringify(X.arrLog):(X.initDebugConsole(),X.debugConsole&&(X.debugConsole.innerHTML=JSON.stringify(X.arrLog)));try{"undefined"!=typeof window&&void 0!==window.console&&void 0!==X&&void 0!==X.console&&("function"==typeof X.console[t]?X.console[t].apply(window.console,[r]):"function"==typeof X.console.log&&X.console.log.apply(window.console,[r]))}catch(e){K(e)}}}},e.prototype._error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(X)if(J.log(500,e),X.use){if(X.error(e),t.length>0)for(var r=0;r<t.length;r++)X._error(t[r])}else try{"undefined"!=typeof window&&void 0!==window.console&&void 0!==X&&void 0!==X.console&&("function"==typeof X.console.error?X.console.error.apply(window.console,t):"function"==typeof X.console.log&&X.console.log.apply(window.console,t))}catch(e){K(e)}},e.prototype._warn=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(X)if(J.log(400,e),X.use){if(X.warn(e),t.length>0)for(var r=0;r<t.length;r++)X._warn(t[r])}else try{"undefined"!=typeof window&&void 0!==window.console&&void 0!==X&&void 0!==X.console&&("function"==typeof X.console.warn?X.console.warn.apply(window.console,t):"function"==typeof X.console.log&&X.console.log.apply(window.console,t))}catch(e){K(e)}},e.prototype._info=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(X)if(J.log(300,e),X.use){if(X.info(e),t.length>0)for(var r=0;r<t.length;r++)X._info(t[r])}else try{"undefined"!=typeof window&&void 0!==window.console&&void 0!==X&&void 0!==X.console&&("function"==typeof X.console.info?X.console.info.apply(window.console,t):"function"==typeof X.console.log&&X.console.log.apply(window.console,t))}catch(e){K(e)}},e.prototype._log=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(X)if(J.log(200,e),X.use){if(X.log(e),t.length>0)for(var r=0;r<t.length;r++)X._log(t[r])}else try{"undefined"!=typeof window&&void 0!==window.console&&void 0!==X&&void 0!==X.console&&"function"==typeof X.console.log&&X.console.log.apply(window.console,t)}catch(e){K(e)}},e.prototype._debug=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(X)if(J.log(100,e),X.use){if(X.debug(e),t.length>0)for(var r=0;r<t.length;r++)X._debug(t[r])}else try{"undefined"!=typeof window&&void 0!==window.console&&void 0!==X&&void 0!==X.console&&("function"==typeof X.console.debug?X.console.debug.apply(window.console,t):"function"==typeof X.console.log&&X.console.log.apply(window.console,t))}catch(e){K(e)}},e}(),Q=Y,Z={AdfUtil:Symbol.for("AdfUtil"),MethodsInitializer:Symbol.for("MethodsInitializer"),AdfInner:Symbol.for("AdfInner"),BegunAutocontext:Symbol.for("BegunAutocontext"),BegunScripts:Symbol.for("BegunScripts"),MonitorClass:Symbol.for("MonitorClass"),SSPRequestsSessionsObserver:Symbol.for("SSPRequestsSessionsObserver"),SyncShow:Symbol.for("SyncShow"),Refresher:Symbol.for("Refresher"),InViewTimerStarter:Symbol.for("InViewTimerStarter"),ToolbarHelper:Symbol.for("ToolbarHelper"),ResourceTiming:Symbol.for("ResourceTiming"),DataLoader:Symbol.for("DataLoader"),MetricsTransport:Symbol.for("MetricsTransport"),MetricsTimer:Symbol.for("MetricsTimer"),UserID:Symbol.for("UserID"),blockShowLoggerFactory:Symbol.for("Factory<BlockShowLogger>"),cachedBlockShowLoggerFactory:Symbol.for("Factory<CachedBlockShowLogger>"),EventEmitter:Symbol.for("EventEmitter"),Store:Symbol.for("Store"),Config:Symbol.for("Config"),ConfigOptions:Symbol.for("ConfigOptions"),UaParserService:Symbol.for("UaParserService"),RenderingWatcherFactory:Symbol.for("Factory<RenderingWatcher>"),CoveringWatcher:Symbol.for("CoveringWatcher"),BannerTemplatesStore:Symbol.for("BannerTemplatesStore"),SSPRequestParamsBuilderFactory:Symbol.for("SSPRequestParamsBuilderFactory"),SSPRequestParamsDirector:Symbol.for("SSPRequestParamsDirector"),VastPlaybackWrapper:Symbol.for("VastPlaybackWrapper"),PerformanceTemplatesWrapper:Symbol.for("PerformanceTemplatesWrapper")},ee=function(e){this.t=e};ee.prototype.inSingletonScope=function(){this.t.singleton=!0};var te=function(e){this.t=e};te.prototype.to=function(e){return this.t.object=e,new ee(this.t)},te.prototype.toFactory=function(e){return this.t.factory=e,new ee(this.t)},te.prototype.toValue=function(e){if(void 0===e)throw"cannot bind a value of type undefined";this.t.value=e};var ne=function(){this.i=new Map,this.o=[]};ne.prototype.bind=function(e){return new te(this.u(e))},ne.prototype.rebind=function(e){return this.remove(e).bind(e)},ne.prototype.remove=function(e){if(void 0===this.i.get(e))throw e.toString()+" was never bound";return this.i.delete(e),this},ne.prototype.get=function(e){var t=this.i.get(e);if(void 0===t)throw"nothing bound to "+e.toString();var n=t.object,r=t.factory,o=t.value,i=t.cache,a=t.singleton,s=function(e){return a&&void 0!==i?i:a?(t.cache=e(),t.cache):e()};if(void 0!==o)return o;if(void 0!==n)return s((function(){return new n}));if(void 0!==r)return s((function(){return r()}));throw"nothing is bound to "+e.toString()},ne.prototype.snapshot=function(){return this.o.push(new Map(this.i)),this},ne.prototype.restore=function(){return this.i=this.o.pop()||this.i,this},ne.prototype.u=function(e){if(void 0!==this.i.get(e))throw"object can only bound once: "+e.toString();var t={singleton:!1};return this.i.set(e,t),t};var re=Symbol("NOCACHE");function oe(e,t,n,r,o){Object.defineProperty(e,t,{get:function(){var e=n.get(r);return-1===o.indexOf(re)&&Object.defineProperty(this,t,{value:e,enumerable:!0}),e},configurable:!0,enumerable:!0})}var ie,ae,se=new ne,ce=function(e){return function(t){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return function(e,t,n){return function(r,o){oe(r,o,t,e,n)}}(t,e,n)}}(se),ue=function(e){return function(t){for(var n,r=[],o=arguments.length-1;o-- >0;)r[o]=arguments[o+1];return function(){return-1===r.indexOf(re)&&void 0!==n||(n=e.get(t)),n}}}(se),le=function(e){return(e.context&&e.context.location||e.document&&e.document.location).href};!function(e){e.LIB="lib",e.FEED="feed",e.BLOCK="block",e.PAGE="page"}(ie||(ie={})),function(e){e.INIT="init",e.LOAD="load",e.PREDRAW="predraw",e.DRAW="draw",e.DRAW_COMPLETE="drawComplete",e.UNEXIST="unexist",e.SPA_UPDATE="spaUpdate",e.REAL_SHOW="realShow"}(ae||(ae={}));var pe,fe=o(2238),de=o.n(fe),he=o(3876),ve=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ge=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},me=function(){function e(e,t){var n=(void 0===t?{}:t).subscribeOnInit,r=void 0===n||n,o=this;this._externalCallback=e,this._subscribed=!1,this._unregisterSpaPageUpdate=function(){o._eventEmitter.unregister(ie.PAGE,ae.SPA_UPDATE,o._onUnload)},this._registerSpaPageUpdate=function(){var e,t;o._eventEmitter.register(((e={})[ie.PAGE]=((t={})[ae.SPA_UPDATE]=o._onUnload,t),e))},this._onUnload=function(){o.unsubscribe(),o._externalCallback(!0)},r&&this.subscribe()}return e.prototype.subscribe=function(){this._subscribed||(this._subscribed=!0,this._setCommonListeners(),this._setMobileListeners(),this._registerSpaPageUpdate())},e.prototype.unsubscribe=function(){var t=this;this._subscribed&&(this._subscribed=!1,this._unregisterSpaPageUpdate(),e.events.forEach((function(e){return window.removeEventListener(e,t._onUnload)})),(0,he.unbind)(this._pageVisibilityListenerId))},e.prototype._setMobileListeners=function(){var e=this;"mobile"!==this._uaparser.getDevice().type&&"tablet"!==this._uaparser.getDevice().type||(this._pageVisibilityListenerId=(0,he.change)((function(){(0,he.hidden)()&&e._onUnload()})))},e.prototype._setCommonListeners=function(){var t=this;e.events.forEach((function(e){return window.addEventListener(e,t._onUnload,!1)}))},e.events=["unload","beforeunload","pagehide"],ve([ce(Z.EventEmitter),ge("design:type",Object)],e.prototype,"_eventEmitter",void 0),ve([ce(Z.UaParserService),ge("design:type",de())],e.prototype,"_uaparser",void 0),e}(),be=me,ye=function(e,t,n){return e.includes("?")?"".concat(e,"&").concat(t,"=").concat(n):"".concat(e,"?").concat(t,"=").concat(n)},we=function(e){var t,n=!0,r="https:";if(t=window.context&&window.context.location&&(window.context.location.protocol||window.context.location.href)?window.context.location.protocol?window.context.location.protocol.toLowerCase():window.context.location.href.split(":").shift().toLowerCase():document.location.protocol.toLowerCase(),r===(t="".concat(t.split(":").shift(),":"))){var o=e.match(/^[^:\/?#]+:/);null!==o&&(n=o[0]===r)}return n},_e=function(e){if(we(e)){var t=document.createElement("img");return t.setAttribute("src",e),t}return!1},Se=function(e,t){var n=void 0===t?{}:t,r=n.callback,o=n.data,i=n.async,a=void 0===i||i;try{var s=new XMLHttpRequest;s.open(o?"POST":"GET",e,a),"function"==typeof r&&(s.onreadystatechange=function(){s.readyState>3&&r(s.responseText,s)}),s.send(o)}catch(e){console.error(e)}},Ee=function(e,t){var n=e.contentWindow,r=n?n.document:null;r&&"complete"===r.readyState?t(r):e.onload=function(){e.onload=null,t(n.document)}},Oe=function(e){var t="object"==typeof e?e:document.getElementById(e);return t&&!t.id&&(t.id=Math.random().toString(36).replace(/[^a-z]+/g,"")),t},ke=function(){return ke=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ke.apply(this,arguments)},xe=function(e,t){if("string"!=typeof e)throw new TypeError("Expected `url` to be of type `string`, got `".concat(typeof e,"`"));return e=e.trim(),t=ke({https:!1},t),/^.+\/\/|^(?!localhost)\w+:/.test(e)?e:e.replace(/^(\/\/|(?!.+?\/\/))/,t.https?"https://":"http://")},Te=function(){return Te=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Te.apply(this,arguments)},Pe=["alt","crossorigin","src","onerror","onload"],Ce=function(e){return function(e){for(var t=new Image,n=0,r=Pe;n<r.length;n++){var o=r[n];void 0!==e[o]&&(t[o]=e[o])}return t}(e=Te(Te({onerror:function(){},onload:function(){}},e),{src:xe(e.src,{https:!0})}))},Re=function(){return Math.random().toString(36).substring(2).replace(/^[0-9]/,String.fromCharCode(97+Math.floor(26*Math.random())))},Ie=function(){return Ie=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ie.apply(this,arguments)},Ae=["async","defer","crossorigin","type","src","onerror","onload","nonce"],De=function(e){for(var t=e.document.createElement("script"),n=0,r=Ae;n<r.length;n++){var o=r[n];void 0!==e[o]&&(t[o]=e[o])}var i=window.CAPIRS_CONFIG||{};i.SCRIPT_NONCE_VALUE&&t.setAttribute("nonce",i.SCRIPT_NONCE_VALUE);var a=function(){e.removeAfterLoading&&t.parentNode.removeChild(t)};return t.addEventListener("load",a),t.addEventListener("error",a),t},je=function(e,t){switch(e.action){case"append":return n=t,r=e.document,o=e.target,(i=e.entry)?i.parentNode.insertBefore(n,i):o?o.appendChild(n):(r.head||r.body).appendChild(n),n;case"write":return function(e,t){e.id=Re(),t.write(e.outerHTML);var n=t.getElementById(e.id);return n&&(n.addEventListener("load",e.onload),n.addEventListener("error",e.onerror)),n}(t,e.document)}var n,r,o,i},Be=function(e){var t=function(e){var t=e.document.createElement("link"),n=window.CAPIRS_CONFIG||{};return n.SCRIPT_NONCE_VALUE&&t.setAttribute("nonce",n.SCRIPT_NONCE_VALUE),e.preload&&t.relList&&t.relList.supports&&t.relList.supports("preload")?(t.rel="preload",t.as="script",t.href=e.src,t.addEventListener("load",(function(){var e;null===(e=t.parentNode)||void 0===e||e.removeChild(t)})),t.addEventListener("error",(function(){var e;null===(e=t.parentNode)||void 0===e||e.removeChild(t)}))):t=null,t}(e=Ie(Ie({onerror:function(){},onload:function(){},document:document,preload:!(O()&&!e.async),sequentially:!(!O()||!e.async)},e),{src:xe(e.src,{https:!0})}));return function(e,t){return t?((e.document.head||e.document.body).appendChild(t),new Promise((function(n){var r=function(){n(je(e,De(e)))};e.sequentially?(t.addEventListener("load",r),t.addEventListener("error",r)):r()}))):Promise.resolve(je(e,De(e)))}(e,t)},Fe=new Map([[void 0,1],["mobile",2],["tablet",3],["smarttv",5],["wearable",6],["embedded",7],["console",8]]),Ne=function(e){return Fe.get(e)||9},Le=function(){return Le=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Le.apply(this,arguments)},Me=function(e,t){return void 0===e&&(e={}),void 0===t&&(t="unknown"),Object.keys(e).reduce((function(n,r){var o,i=e[r];return Le(Le({},n),((o={})[r]="number"==typeof i?i:i||t,o))}),{})},Ve=function(e){return"object"==typeof e?e.id:e},Ue=/(\d+)\.?(\d+)?.?(\d+)?/,He=function(e){var t=e.version,n=e.name,r=t.match(Ue);return!("iOS"===n&&parseFloat(t)<12.2||"Mac OS"===n&&r&&10===parseInt(r[1],10)&&(void 0===r[2]||14===parseInt(r[2],10)&&(!r[3]||parseInt(r[3],10)<4)||parseInt(r[2],10)<14))},qe=o(8575),We=function(e){var t=qe.Qc(e);if(t&&"localhost"===t.hostname){var n=t.hostname;t.port&&(n+=".:".concat(t.port)),e=e.replace(n,"www.rambler.ru")}return e};!function(e){e.FULLSCREEN="fullscreen",e.FLOATING_BILLBOARD="floatingBillboard"}(pe||(pe={}));var ze,Ge,Xe=function(){function e(){}return e.checkRootLVLBannerByFeed=function(t){if(t&&t.banners.graph[0]){var n=t.banners.graph[0].view_type;for(var r in e.rootBannersTypes)if(e.rootBannersTypes.hasOwnProperty(r)&&n.includes(e.rootBannersTypes[r]))return r}},e.getRootElementType=function(t){for(var n in"string"==typeof t&&(t=window.document.getElementById(t)),e.rootBannersTypes)if(e.rootBannersTypes.hasOwnProperty(n)){var r=e.rootBannersTypes[n];if(t.querySelector("script[src*=".concat(r,"]")))return n}return null},e.getActualBannerPlace=function(t,n){return n||(n=e.getRootElementType(t)),n?e.getNestedBanner(t,n)||e.findByDataPlaceId(t)||e.getGlobalBanner(n):e.findByDataPlaceId(t)},e.getNestedBanner=function(t,n){return t?t.querySelector(e.rootBannersQuerySelectors[n]):null},e.findByDataPlaceId=function(t,n){if(void 0===n&&(n=document),!t)return null;var r=t.querySelector("[".concat(e.PLACE_ID_ATTR,"]"));return r&&Array.from(n.querySelectorAll("[".concat(e.PLACE_ID_ATTR,'="').concat(r.dataset.bannerPlaceId,'"]'))).find((function(e){return e!==r}))||null},e.getGlobalBanner=function(t){return document.querySelector(e.rootBannersQuerySelectors[t])},e.rootBannersTypes={branding:"Branding",fullscreen:"Fullscreen",floatingBillboard:"FloatingBillboard",shade:"Shade"},e.PLACE_ID_ATTR="data-banner-place-id",e.rootBannersQuerySelectors={branding:"[class*='branding-wrapper'][data-banner-place-id]",fullscreen:"[class*='fullscreen-wrapper'][data-banner-place-id]",floatingBillboard:"[class*='floating-billboard'][data-project-name='floatingbillboard']",shade:"[class*='shade-banner'][data-project-name='Shade']"},e}(),Je=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},$e=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Ke=M.getInstance().init(200),Ye=function(){function e(){this.subscriptions={}}return e.setInfo=function(e,t,n){if(n){var r=e.monitor_data||{},o=r[t]||[];o.push(n),r[t]=o,e.monitor_data=r}},e.setBannerInfo=function(t,n){["viewability"].forEach((function(r){return e.setInfo(t,r,n[r])}))},e.prototype.prepareViewAbilityUrls=function(e){return e&&e.monitor_data&&e.monitor_data.viewability&&e.monitor_data.viewability[0]||[]},e.prototype.runViewAbility=function(e){var t=this,n=e.feed,r=e.subscriptionID,o=e.showUrls,i=e.domObj;this.checkSubscription(r)&&this.unsubscribe(r);var a=[i,o],s=Xe.checkRootLVLBannerByFeed(n)||Xe.getRootElementType(i);if(s){var c=null;Ke.subscribe({callback:function(){var e=Xe.getActualBannerPlace(i,s);e&&("string"==typeof r&&(Ke.unsubscribe(r),clearTimeout(c)),a[0]=e,t.addSubscription(r,a))},ID:r}),r?c=setTimeout((function(){"string"==typeof r&&Ke.unsubscribe(r),t.addSubscription(r,a)}),3e3):this.addSubscription(r,a)}else this.addSubscription(r,a)},e.prototype.attemptRunViewabilityWatcher=function(e){var t=e.feed,n=e.watchedElement,r=e.subscriptionID,o=this.prepareViewAbilityUrls(n);o.length>0&&(this.dispatchBlockDrawCallback(n,t),this.runViewAbility({feed:t,subscriptionID:r,showUrls:o,domObj:n}))},e.prototype.dispatchBlockDrawCallback=function(e,t){window.Begun.Autocontext.Callbacks.dispatch(ie.BLOCK,ae.DRAW,e,[t])},e.prototype.addSubscription=function(e,t){var n;this.subscriptions[e]=(n=this._utilService.viewAbility).create.apply(n,t)},e.prototype.checkSubscription=function(e){return!!this.subscriptions[e]},e.prototype.unsubscribe=function(e){this.subscriptions[e]()},Je([ce(Z.AdfUtil),$e("design:type",Object)],e.prototype,"_utilService",void 0),e}(),Qe=Ye;!function(e){e.X_HTML="application/x-html",e.X_MIXED_IFRAME_HTML="application/x-mixed-iframe-html",e.X_IFRAME_HTML="application/x-iframe-html",e.X_FIXED_IFRAME_HTML="application/x-fixed-iframe-html",e.X_JAVASCRIPT="application/x-javascript",e.X_SHOCKWAVE_FLASH="application/x-shockwave-flash",e.X_SHARED_SCRIPTS="application/x-shared-scripts",e.VAST_XML="application/vast-xml",e.TEXT_HTML="text/html",e.TEXT_URL="text/url"}(ze||(ze={})),function(e){e.ATOMS="Atoms",e.BRANDING="Branding",e.FULLSCREEN="Fullscreen"}(Ge||(Ge={}));var Ze=$(o(4772)),et=function(){function e(){}return e.prototype.load=function(e,t){return void 0===t&&(t={}),new Promise((function(n,r){var o=new XMLHttpRequest;void 0!==t.withCredentials&&(o.withCredentials=t.withCredentials);var i=xe(e,{https:!0});o.open("GET",i,!0),o.onload=function(){n({responseText:o.responseText,status:o.status})};var a=0;o.onerror=function(e){Ze.log(500,"Feed fetch src failed",{src:i,Error:e}),a<1?(a+=1,o.open("GET",i,!0),o.send()):r(e)},o.send()}))},e}();var tt=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},nt=Object.create,rt=function(){function e(){}return function(t){if(!tt(t))return{};if(nt)return nt(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var ot=function(){};function it(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}it.prototype=rt(ot.prototype),it.prototype.constructor=it;var at=it;var st=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e},ct="object"==typeof global&&global&&global.Object===Object&&global,ut="object"==typeof self&&self&&self.Object===Object&&self,lt=ct||ut||Function("return this")(),pt=lt.Symbol,ft=Object.prototype,dt=ft.hasOwnProperty,ht=ft.toString,vt=pt?pt.toStringTag:void 0;var gt=function(e){var t=dt.call(e,vt),n=e[vt];try{e[vt]=void 0;var r=!0}catch(e){}var o=ht.call(e);return r&&(t?e[vt]=n:delete e[vt]),o},mt=Object.prototype.toString;var bt=function(e){return mt.call(e)},yt=pt?pt.toStringTag:void 0;var wt=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":yt&&yt in Object(e)?gt(e):bt(e)};var _t=function(e){return null!=e&&"object"==typeof e};var St=function(e){return _t(e)&&"[object Arguments]"==wt(e)},Et=Object.prototype,Ot=Et.hasOwnProperty,kt=Et.propertyIsEnumerable,xt=St(function(){return arguments}())?St:function(e){return _t(e)&&Ot.call(e,"callee")&&!kt.call(e,"callee")},Tt=xt,Pt=Array.isArray,Ct=pt?pt.isConcatSpreadable:void 0;var Rt=function(e){return Pt(e)||Tt(e)||!!(Ct&&e&&e[Ct])};var It=function e(t,n,r,o,i){var a=-1,s=t.length;for(r||(r=Rt),i||(i=[]);++a<s;){var c=t[a];n>0&&r(c)?n>1?e(c,n-1,r,o,i):st(i,c):o||(i[i.length]=c)}return i};var At=function(e){return(null==e?0:e.length)?It(e,1):[]};var Dt=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},jt=Math.max;var Bt=function(e,t,n){return t=jt(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=jt(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),Dt(e,this,s)}};var Ft=function(e){return function(){return e}};var Nt,Lt=function(e){if(!tt(e))return!1;var t=wt(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Mt=lt["__core-js_shared__"],Vt=(Nt=/[^.]+$/.exec(Mt&&Mt.keys&&Mt.keys.IE_PROTO||""))?"Symbol(src)_1."+Nt:"";var Ut=function(e){return!!Vt&&Vt in e},Ht=Function.prototype.toString;var qt=function(e){if(null!=e){try{return Ht.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Wt=/^\[object .+?Constructor\]$/,zt=Function.prototype,Gt=Object.prototype,Xt=zt.toString,Jt=Gt.hasOwnProperty,$t=RegExp("^"+Xt.call(Jt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Kt=function(e){return!(!tt(e)||Ut(e))&&(Lt(e)?$t:Wt).test(qt(e))};var Yt=function(e,t){return null==e?void 0:e[t]};var Qt=function(e,t){var n=Yt(e,t);return Kt(n)?n:void 0},Zt=function(){try{var e=Qt(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var en=function(e){return e},tn=Zt?function(e,t){return Zt(e,"toString",{configurable:!0,enumerable:!1,value:Ft(t),writable:!0})}:en,nn=Date.now;var rn=function(e){var t=0,n=0;return function(){var r=nn(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}},on=rn(tn);var an=function(e){return on(Bt(e,void 0,At),e+"")},sn=Qt(lt,"WeakMap"),cn=sn&&new sn;var un=function(){},ln=cn?function(e){return cn.get(e)}:un,pn={},fn=Object.prototype.hasOwnProperty;var dn=function(e){for(var t=e.name+"",n=pn[t],r=fn.call(pn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t};function hn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}hn.prototype=rt(ot.prototype),hn.prototype.constructor=hn;var vn=hn;var gn=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t};var mn=function(e){if(e instanceof vn)return e.clone();var t=new at(e.__wrapped__,e.__chain__);return t.__actions__=gn(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t},bn=Object.prototype.hasOwnProperty;function yn(e){if(_t(e)&&!Pt(e)&&!(e instanceof vn)){if(e instanceof at)return e;if(bn.call(e,"__wrapped__"))return mn(e)}return new at(e)}yn.prototype=ot.prototype,yn.prototype.constructor=yn;var wn=yn;var _n=function(e){var t=dn(e),n=wn[t];if("function"!=typeof n||!(t in vn.prototype))return!1;if(e===n)return!0;var r=ln(n);return!!r&&e===r[0]};var Sn,En,On,kn=function(e){return an((function(t){var n=t.length,r=n,o=at.prototype.thru;for(e&&t.reverse();r--;){var i=t[r];if("function"!=typeof i)throw new TypeError("Expected a function");if(o&&!a&&"wrapper"==dn(i))var a=new at([],!0)}for(r=a?r:n;++r<n;){i=t[r];var s=dn(i),c="wrapper"==s?ln(i):void 0;a=c&&_n(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?a[dn(c[0])].apply(a,c[3]):1==i.length&&_n(i)?a[s]():a.thru(i)}return function(){var e=arguments,r=e[0];if(a&&1==e.length&&Pt(r))return a.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))},xn=kn(!0),Tn=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Pn=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Cn=xn(decodeURIComponent,window.escape,window.atob),Rn=function(){function e(){}return e.prototype.load=function(e){return Tn(this,void 0,void 0,(function(){return Pn(this,(function(t){return[2,{responseText:Cn(e.split(",",2)[1])}]}))}))},e}(),In=function(){function e(){}return e.getLoaderFor=function(t){var n=0===t.indexOf("data:")?"base64":"url";return new(0,e.loaders[n])},e.loaders=((Sn={})[l.url]=et,Sn[l.base64]=Rn,Sn),e}(),An=function(){function e(){}return e.prototype.load=function(e,t){return In.getLoaderFor(e).load(e,t).then((function(t){return{data:t,input:e}})).catch((function(){return{input:e}}))},e}();!function(e){e.SyncBannerReRequest="New request to ssp is performed in order to get appropriate sync/forced-non-sync banner for this place.",e.Fake='Banner has a "Fake" type that means that banner couldn\'t be loaded through the third-party ad script in some cases.',e.NotRendered="Banner treated as non-rendered due to the too small size after the time end.",e.Empty="There is no banner to show. It could happen if SSP did not find the banner for the place.",e.PlaceNotFound="Time to find the banner place is running out.",e.NoChildren="No children inside begun_block.",e.DoesNotExist="Provided banner wrapper does not exist in the DOM.",e.NoBegunBlock="There is no begun_block inside banner place or there is lack of rendered children inside of the existing begun_block after the end of the watching time."}(En||(En={})),function(e){e.PENDING="pending",e.RENDERED="rendered",e.NOT_RENDERED="not_rendered",e.NO_BANNER="no_banner"}(On||(On={}));var Dn=function(e){var t=document.cookie.match(new RegExp("(?:^|; )".concat(e.replace(/([.$?*|{}()[\]\\/+^])/g,"\\$1"),"=([^;]*)")));return t?decodeURIComponent(t[1]):void 0},jn=function(e,t){if(t<1)return"";if(t%2)return jn(e,t-1)+e;var n=jn(e,t/2);return n+n},Bn=o(1309),Fn="1.2.0",Nn=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Ln=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Mn=function(e,t){void 0===t&&(t=window);var n=this;this._fingerprintStorage=e,this._eventContainer=t,this._getFingerprintHandler=function(e){return Ln(n,void 0,void 0,(function(){var t;return Nn(this,(function(n){switch(n.label){case 0:return e.data&&"octopusGetFingerprint"===e.data.type?[4,this._fingerprintStorage.getFingerPrint()]:[2];case 1:return t=n.sent(),e.source.postMessage({fingerprint:t,type:"octopusSetFingerprint"},e.origin),[2]}}))}))},this._eventContainer.addEventListener("message",this._getFingerprintHandler,!1)},Vn=function(){function e(e){this.name=e}return e.getUserDataWithoutIP=function(e){var t,n=JSON.parse(e);return(null===(t=n[n.length-1])||void 0===t?void 0:t.IP)?n.slice(0,n.length-1):n},e.prototype.getFingerprint=function(t){var n=t.getGatheredIP(),r=e.getUserDataWithoutIP(t.getCollectedUserData());return{fp:yr.getFingerPrintHash(JSON.stringify(r)+n.split(".")[0]),name:this.name}},e}(),Un=function(){function e(e){this.name=e}return e.prototype.getFingerprint=function(e){var t=e.getGatheredIP();return{fp:e.getBaseFingerprint()+t.split(".")[0],name:this.name}},e}(),Hn=function(){function e(e){this.name=e}return e.prototype.getFingerprint=function(e){var t=e.getGatheredIP().split(".");return{fp:"".concat(e.getBaseFingerprint()).concat(t[0]).concat(t[1]),name:this.name}},e}(),qn=function(){function e(e){this.name=e}return e.prototype.getFingerprint=function(e){return{fp:e.getBaseFingerprint(),name:this.name}},e}(),Wn=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},zn="UNKNOWN",Gn=function(){function e(e){this.name=e}return e.prototype.getFingerprint=function(e){var t=JSON.parse(e.getCollectedUserData()),n=Wn(Wn([],t,!0),[this.getCanvas(),this.getWebGL()],!1);return{fp:yr.getFingerPrintHash(JSON.stringify(n)),name:this.name}},e.prototype.getCanvas=function(){var e={},t=document.createElement("canvas");t.width=400,t.height=200,t.style.display="inline";var n=t.getContext("2d");try{null==n||n.rect(0,0,10,10),null==n||n.rect(2,2,6,6),e.canvasWinding=null==n?void 0:n.isPointInPath(5,5,"evenodd")}catch(t){e.canvasWinding=zn}try{n&&(n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.font="11pt no-real-font-123",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),e.image=t.toDataURL())}catch(t){e.image=zn}return e},e.prototype.getWebGL=function(){try{var e=document.createElement("canvas"),t=e.getContext("webgl")||e.getContext("experimental-webgl"),n=void 0,r=void 0;return t.getSupportedExtensions().indexOf("WEBGL_debug_renderer_info")>=0?(n=t.getParameter(t.getExtension("WEBGL_debug_renderer_info").UNMASKED_VENDOR_WEBGL),r=t.getParameter(t.getExtension("WEBGL_debug_renderer_info").UNMASKED_RENDERER_WEBGL)):(n="Not supported",r="Not supported"),[n,r]}catch(e){return"Not supported;;;Not supported"}},e}(),Xn=[new Vn("firstIPByte"),new Un("joinedFirstIPByte"),new Hn("joinedFirstSecondIPBytes"),new qn("withoutIP"),new Gn("withCanvas")],Jn=function(){function e(e){this.userID=e}return e.prototype.get=function(){var t=this;return e.experimentalAlgorithms.reduce((function(e,n){var r,o=n.getFingerprint(t.userID),i=o.name,a=o.fp;return Object.assign(Object.assign({},e),((r={})[i]=a,r))}),{})},e}();Jn.experimentalAlgorithms=Xn;var $n=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Kn=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Yn=function(){function e(){}return e.prototype.getFingerprint=function(){return Kn(this,void 0,void 0,(function(){var e,t,n,r,o,i,a,s,c,u,l;return $n(this,(function(p){switch(p.label){case 0:if(!window.OfflineAudioContext)return[3,5];e=window.OfflineAudioContext,t=4500,5e3,n=new e(1,5e3,44100),(r=n.createOscillator()).type="triangle",r.frequency.value=1e4,(o=n.createDynamicsCompressor()).threshold.value=-50,o.knee.value=40,o.ratio.value=12,o.attack.value=0,o.release.value=.25,r.connect(o),o.connect(n.destination),r.start(0),i=this.startRenderingAudio(n),a=i[0],s=i[1],p.label=1;case 1:return p.trys.push([1,3,,4]),[4,a];case 2:return u=p.sent(),c=this.getHash(u.getChannelData(0).subarray(t)),[3,4];case 3:return(l=p.sent())&&l instanceof Error&&("timeout"===l.name||"suspended"===l.name)&&(c=0),[3,4];case 4:return[2,{ok:!0,webAudioHash:function(){return s(),c}}];case 5:return[2,{ok:!1}]}}))}))},e.prototype.startRenderingAudio=function(e){var t=function(){},n=new Promise((function(n,r){var o=!1,i=0,a=0;e.oncomplete=function(e){return n(e.renderedBuffer)};var s=function(){setTimeout((function(){return r()}),Math.min(500,a+5e3-Date.now()))},c=function(){try{switch(e.startRendering(),e.state){case"running":a=Date.now(),o&&s();break;case"suspended":document.hidden||i++,o&&i>=3?r():setTimeout(c,500)}}catch(e){r(e)}};c(),t=function(){o||(o=!0,a>0&&s())}}));return[n,t]},e.prototype.getHash=function(e){for(var t=0,n=0;n<e.length;++n)t+=Math.abs(e[n]);return t},e}(),Qn=function(){return-1!==navigator.userAgent.indexOf("Opera")},Zn=function(){return-1!==navigator.userAgent.indexOf("OPR")},er=function(){return-1!==navigator.userAgent.indexOf("Edg")},tr=function(){return-1!==navigator.userAgent.indexOf("Edge")},nr=function(){return-1!==navigator.userAgent.indexOf("Chrome")},rr=function(){return-1!==navigator.userAgent.indexOf("Firefox")},or=function(){return-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")},ir=function(){return navigator.userAgent.lastIndexOf(" ")+1<navigator.userAgent.lastIndexOf("/")},ar=function(){var e;return Qn()||Zn()?e="Opera":er()||tr()?e="Edge":nr()?e="Chrome":rr()?e="Firefox":or()?e="Safari":ir()&&(e=function(){var e=navigator.userAgent.lastIndexOf(" ")+1,t=navigator.userAgent.lastIndexOf("/"),n=navigator.userAgent.substring(e,t);return n.toLowerCase()===n.toUpperCase()&&(n=navigator.appName),n}()),e||""},sr=function(e){if("string"==typeof e){for(var t=[";"," ",")"],n=0;n<t.length;n++){var r=t[n],o=e.indexOf(r);-1!==o&&(e=e.substring(0,o))}return e}return""},cr=function(){var e;return Qn()?e=function(){var e=navigator.userAgent.indexOf("Opera"),t=navigator.userAgent.substring(e+6);return-1!==(e=navigator.userAgent.indexOf("Version"))&&(t=navigator.userAgent.substring(e+8)),sr(t)}():Zn()?e=function(){var e=navigator.userAgent.indexOf("OPR"),t=navigator.userAgent.substring(e+4);return sr(t)}():tr()?e=function(){var e=navigator.userAgent.indexOf("Edge"),t=navigator.userAgent.substring(e+5);return sr(t)}():er()?e=function(){var e=navigator.userAgent.indexOf("Edg"),t=navigator.userAgent.substring(e+4);return sr(t)}():nr()?e=function(){var e=navigator.userAgent.indexOf("Chrome"),t=navigator.userAgent.substring(e+7);return sr(t)}():rr()?e=function(){var e=navigator.userAgent.indexOf("Firefox"),t=navigator.userAgent.substring(e+8);return sr(t)}():or()?e=function(){var e=navigator.userAgent.indexOf("Safari"),t=navigator.userAgent.substring(e+7);return-1!==(e=navigator.userAgent.indexOf("Version"))&&(t=navigator.userAgent.substring(e+8)),sr(t)}():ir()&&(e=function(){var e=navigator.userAgent.lastIndexOf("/"),t=navigator.userAgent.substring(e+1);return sr(t)}()),e||""},ur=function(){for(var e="",t=[{r:/(Windows 10.0|Windows NT 10.0)/,s:"Windows 10"},{r:/(Windows 8.1|Windows NT 6.3)/,s:"Windows 8.1"},{r:/(Windows 8|Windows NT 6.2)/,s:"Windows 8"},{r:/(Windows 7|Windows NT 6.1)/,s:"Windows 7"},{r:/Windows NT 6.0/,s:"Windows Vista"},{r:/Windows NT 5.2/,s:"Windows Server 2003"},{r:/(Windows NT 5.1|Windows XP)/,s:"Windows XP"},{r:/(Windows NT 5.0|Windows 2000)/,s:"Windows 2000"},{r:/(Win 9x 4.90|Windows ME)/,s:"Windows ME"},{r:/(Windows 98|Win98)/,s:"Windows 98"},{r:/(Windows 95|Win95|Windows_95)/,s:"Windows 95"},{r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,s:"Windows NT 4.0"},{r:/Windows CE/,s:"Windows CE"},{r:/Win16/,s:"Windows 3.11"},{r:/Android/,s:"Android"},{r:/OpenBSD/,s:"Open BSD"},{r:/SunOS/,s:"Sun OS"},{r:/(Linux|X11)/,s:"Linux"},{r:/(iPhone|iPad|iPod)/,s:"iOS"},{r:/Mac OS X/,s:"Mac OS X"},{r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/,s:"Mac OS"},{r:/QNX/,s:"QNX"},{r:/UNIX/,s:"UNIX"},{r:/BeOS/,s:"BeOS"},{r:/OS\/2/,s:"OS/2"},{r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/,s:"Search Bot"}],n=0;n<t.length;n++){var r=t[n];if(r.r.test(navigator.userAgent)){e=r.s;break}}return e},lr=function(){var e=ur(),t="";switch(/Windows/.test(e)&&(t=/Windows (.*)/.exec(e))&&(t=t[1],e="Windows"),e){case"Mac OS X":(t=/Mac OS X (10[._\d]+)/.exec(navigator.userAgent))&&(t=t[1]);break;case"Android":(t=/Android ([._\d]+)/.exec(navigator.userAgent))&&(t=t[1]);break;case"iOS":var n=/OS (\d+)_(\d+)_?(\d+)?/.exec(navigator.appVersion);n&&(t=n[1]+"."+n[2]+"."+(n[3]||0))}return t||""},pr=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},fr=function(){function e(e){var t;void 0===e&&(e=[]),this.onUserDataGatheredCallbacks=[],(t=this.onUserDataGatheredCallbacks).push.apply(t,e),this.baseFpProperties=this.getBaseFpProperties(),this.userData=this.getCollectedUserData(),this.onUserDataGathered()}return e.prototype.getUserLanguage=function(){try{var e=window.navigator;return{UserLanguage:e.language||e.userLanguage||e.browserLanguage||e.systemLanguage||""}}catch(e){return null}},e.prototype.getBaseFpProperties=function(){return{browser:{browser:{browser:ar(),mobile:/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(navigator.appVersion),version:cr()},screen:{availableSize:{height:window.screen.availHeight,width:window.screen.availWidth},colorDepth:window.screen.colorDepth,pixelRatio:(e=0,void 0!==window.screen.systemXDPI&&void 0!==window.screen.logicalXDPI&&window.screen.systemXDPI>window.screen.logicalXDPI?e=window.screen.systemXDPI/window.screen.logicalXDPI:void 0!==window.devicePixelRatio&&(e=window.devicePixelRatio),e),size:{height:window.screen.height,width:window.screen.width}},system:{name:ur(),version:lr()}},userLanguage:this.getUserLanguage(),timezoneOffset:this.getTimezoneOffset(),plugins:this.getPlugins()};var e},e.prototype.getTimezoneOffset=function(){try{return{TimezoneOffset:(new Date).getTimezoneOffset()}}catch(e){return null}},e.prototype.onUserDataGathered=function(){var e=this;this.onUserDataGatheredCallbacks.forEach((function(t){t(e.userData)}))},e.prototype.getCollectedUserData=function(){var e=Object.assign({},this.baseFpProperties);return 0===this.baseFpProperties.browser.screen.pixelRatio&&(e.browser.screen.pixelRatio=1),pr([{UserAgent:navigator.userAgent}],Object.values(e),!0)},e.prototype.getPlugins=function(){try{return{Plugins:this.getRegularPlugins()}}catch(e){return null}},e.prototype.getRegularPlugins=function(){var e=this;try{for(var t=[],n=0;n<window.navigator.plugins.length;n++)t.push(window.navigator.plugins[n]);return t=t.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0})),this.map(t,(function(t){var n=e.map(t,(function(e){return[e.type,e.suffixes].join("~")})).join(",");return[t.name,t.description,n].join("::")}),this)}catch(e){return[]}},e.prototype.map=function(e,t,n){var r=[];return null===e?r:Array.prototype.map&&e.map===Array.prototype.map?e.map(t,n):(this.each(e,(function(e,o,i){r[r.length]=t.call(n,e,o,i)}),n),r)},e.prototype.each=function(e,t,n){if(null!==e)if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(t,n);else if(e.length===+e.length){for(var r=0,o=e.length;r<o;r++)if(t.call(n,e[r],r,e)==={})return}else for(var i=0;i<e.length;i++){var a=e[i];if(e.hasOwnProperty(a)&&t.call(n,e[a],a,e)==={})return}},e}(),dr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},hr=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},vr=function(){function e(e){var t=this;this.stunServerURI=e,this.cbs=[],this.IPRegex=/(\d{1,3}(\.\d{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/,this.onIceCandidate=function(e,n){var r;if((null===(r=null==e?void 0:e.candidate)||void 0===r?void 0:r.candidate)&&t.IPRegex.test(e.candidate.candidate)){var o=(t.IPRegex.exec(e.candidate.candidate)||[])[0];t.triggerCbs(),n(o)}}}return e.prototype.onWebRTCRequest=function(e){this.cbs.push(e)},e.prototype.getIP=function(){return hr(this,void 0,void 0,(function(){var e=this;return dr(this,(function(t){return[2,new Promise((function(t,n){var r=window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;if(!r)return t();setTimeout((function(){n()}),1e3);var o=new r({iceServers:[{urls:e.stunServerURI}]});o.onicegatheringstatechange=function(e){var t=e.target;"complete"===(null==t?void 0:t.iceGatheringState)&&n()},o.onicecandidate=function(n){e.onIceCandidate(n,t)},o.createDataChannel(""),o.createOffer().then((function(e){o.setLocalDescription(e)}))}))]}))}))},e.prototype.triggerCbs=function(){this.cbs.forEach((function(e){return e()}))},e}(),gr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},mr=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},br=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},yr=function(){function e(t,n){void 0===n&&(n=[]);var r=this;this.isAccurate=!1,this.settings={onInitFPDiscovery:!1},this.onceFullUidResolve=[],this.isGetFingerPrintCalled=!1,this.defaultIP={IP:"0.0.0.0"},t&&(this.settings=Object.assign(Object.assign({},this.settings),t)),this.settings.ipDiscUrl&&(this.settings.ipDiscUrl=function(e,t){if("string"!=typeof e)throw new TypeError("Expected `url` to be of type `string`, got `".concat(typeof e,"`"));return e=e.trim(),t=Object.assign({https:!1},t),/^.+\/\/|^(?!localhost)\w+:/.test(e)?e:e.replace(/^(\/\/|(?!.+?\/\/))/,t.https?"https://":"http://")}(this.settings.ipDiscUrl,{https:!0})),this.userData=new fr(n),this.accurateFingerprint="",this.userDataString=JSON.stringify(this.userData.userData),this.baseFingerprint=e.getFingerPrintHash(this.userDataString),this.isAccurate=!1,this.settings.onInitFPDiscovery&&this.getFingerPrint().catch((function(){r.resetState()})),this.experimentalFingerprints=new Jn(this),this.webAudioFp=new Yn,this.fpWithCanvas=new Gn(""),this.completeFPPromise=this.generateCompleteFingerprint(),this.settings.webRTCStunServerURI&&(this.webRTCIP=new vr(this.settings.webRTCStunServerURI)),new Mn(this)}return e.fnv32a=function(e,t){for(var n=0;n<e.length;n++)t=16777619*(t^=e.charCodeAt(n))&4294967295;return t},e.tobinary=function(e){for(var t="",n=0;n<4;n++)t+=String.fromCharCode(255&e),e>>=8;return t},e.getFingerPrintHash=function(t){var n=1471357547+Number(Fn.split(".").map((function(e){return jn("0",2-e.length)+e})).join("")),r=e.fnv32a(t.substr(0,t.length/2),2166136261),o=e.fnv32a(t.substr(t.length/2),r);o=4294967040&o|1;var i="";return i+=e.tobinary(4004),i+=e.tobinary(n),i+=e.tobinary(r),i+=e.tobinary(o),i+=String.fromCharCode(0),btoa(i)},e.prototype.getUserLanguage=function(){return this.userData.baseFpProperties.userLanguage?this.userData.baseFpProperties.userLanguage:null},e.prototype.getTimezoneOffset=function(){return this.userData.baseFpProperties.timezoneOffset?this.userData.baseFpProperties.timezoneOffset:null},e.prototype.getCompleteFingerprint=function(){return this.completeFPPromise},e.prototype.getJsonFpParams=function(){return br(this,void 0,void 0,(function(){var e,t,n,r,o;return gr(this,(function(i){switch(i.label){case 0:return[4,this.completeFPPromise];case 1:return e=i.sent(),t=e.fp,n=e.screen,r=e.others,o={f:{p:t.plugins,c:t.canvasWinding,i:t.canvasImage,v:t.webGLVendor,r:t.webGLRenderer,w:t.webAudioContext},s:{w:n.screenWidth,h:n.screenHeight,a:n.screenAvalWidth,b:n.screenAvalHeight,p:n.pixelRatio,c:n.colorDepth},o:{t:r.timezoneOffset,u:r.userLanguage}},[2,JSON.stringify(o)]}}))}))},e.prototype.getVersion=function(){return Fn},e.prototype.getGatheredIP=function(){return this._gatheredIP||this.defaultIP.IP},e.prototype.getCollectedUserData=function(){return this.userDataString},e.prototype.getExperimentalFingerprints=function(){return this.experimentalFingerprints.get()},e.prototype.getWebAudioFp=function(){return br(this,void 0,void 0,(function(){var t,n,r;return gr(this,(function(o){switch(o.label){case 0:return[4,this.webAudioFp.getFingerprint()];case 1:return(t=o.sent()).ok?(n=t.webAudioHash(),r=JSON.parse(this.getCollectedUserData()),[2,e.getFingerPrintHash(JSON.stringify(mr(mr([],r,!0),[{hash:n}],!1)))]):[2,""]}}))}))},e.prototype.getUserIDs=function(){return Promise.all([this.getFingerPrint()])},e.prototype.getBaseFingerprint=function(){return this.baseFingerprint},e.prototype.getFingerPrint=function(e){var t=this;return void 0===e&&(e=!1),new Promise((function(n){if(t.isAccurate)return n(t.getID());t.isGetFingerPrintCalled&&!e?t.onceFullUidResolve.push((function(){n(t.getID())})):(t.isGetFingerPrintCalled=!0,t.getUIDParams().then((function(e){t.onUidResolved(e),t.emitUidResolve(),n(t.getID())})).catch((function(){t.resetState(),t.emitUidResolve(),n(t.getID())})))}))},e.prototype.getID=function(){return this.accurateFingerprint||this.baseFingerprint},e.prototype.subscribeOnWebRTC=function(e){this.webRTCIP&&this.webRTCIP.onWebRTCRequest(e)},e.prototype.generateCompleteFingerprint=function(){return br(this,void 0,void 0,(function(){var e,t,n,r,o,i,a,s,c,u,l,p,f,d,h,v,g;return gr(this,(function(m){switch(m.label){case 0:return(e=this.userData.baseFpProperties).plugins?(n=JSON.stringify(e.plugins.Plugins),t=(0,Bn.murmur3)(n)):t=null,r=this.fpWithCanvas.getCanvas(),o=r.canvasWinding,i=r.image,a=!0===o?1:null,s=i?(0,Bn.murmur3)(i):null,"string"==typeof(l=this.fpWithCanvas.getWebGL())?(c=null,u=null):(c=l[0],u=l[1],"Not supported"===c&&(c=null),"Not supported"===u&&(u=null)),[4,this.getWebAudioFp()];case 1:return p=m.sent(),f=""===p?null:(0,Bn.murmur3)(p),d=e.timezoneOffset?e.timezoneOffset.TimezoneOffset:null,h=e.userLanguage?e.userLanguage.UserLanguage:null,v=e.browser.screen,g=v.pixelRatio||null,[2,{fp:{plugins:t,canvasWinding:a,canvasImage:s,webGLVendor:c,webGLRenderer:u,webAudioContext:f},screen:{screenWidth:v.size.width,screenHeight:v.size.height,screenAvalWidth:v.availableSize.width,screenAvalHeight:v.availableSize.height,pixelRatio:g,colorDepth:v.colorDepth},others:{timezoneOffset:d,userLanguage:h}}]}}))}))},e.prototype.getUIDParams=function(){var e=this;return this.getIP().then((function(t){return mr(mr([],e.userData.userData,!0),[null===t?{IP:null}:t],!1)}))},e.prototype.getIP=function(){return br(this,void 0,void 0,(function(){var e,t;return gr(this,(function(n){switch(n.label){case 0:if(!this.settings||!this.settings.ipDiscUrl)return[3,8];n.label=1;case 1:return n.trys.push([1,6,,7]),[4,this.getIPFromServer()];case 2:return(e=n.sent())?(t=e,[3,5]):[3,3];case 3:return[4,this.getWebRTCIP()];case 4:t=n.sent(),n.label=5;case 5:return[2,t];case 6:return n.sent(),[2,this.defaultIP];case 7:return[3,9];case 8:return[2,this.getWebRTCIP()];case 9:return[2]}}))}))},e.prototype.getWebRTCIP=function(){return br(this,void 0,void 0,(function(){var e;return gr(this,(function(t){switch(t.label){case 0:if(!this.webRTCIP)return[2,this.defaultIP];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.webRTCIP.getIP()];case 2:return[2,(e=t.sent())?{IP:e}:this.defaultIP];case 3:return t.sent(),[2,this.defaultIP];case 4:return[2]}}))}))},e.prototype.getIPFromServer=function(){var e=this;return new Promise((function(t){if(!e.settings||!e.settings.ipDiscUrl)return t(null);setTimeout((function(){t(null)}),1e3);var n=new XMLHttpRequest;n.onload=function(){4===n.readyState&&(200===n.status&&n.responseText?t({IP:n.responseText}):t(null))},n.onerror=function(){t(null)},n.open("GET",e.settings.ipDiscUrl,!0),n.send()}))},e.prototype.emitUidResolve=function(){this.onceFullUidResolve.forEach((function(e){e()})),this.onceFullUidResolve=[]},e.prototype.onUidResolved=function(t){this.userDataString=JSON.stringify(t);for(var n=0,r=Object.values(t);n<r.length;n++){var o=r[n];this.accurateFingerprint=null===o.IP||o.IP===this.defaultIP.IP?this.fpWithCanvas.getFingerprint(this).fp:e.getFingerPrintHash(this.userDataString)}this.isAccurate=!0;var i=t[t.length-1];this._gatheredIP=null!==i.IP&&i.IP},e.prototype.resetState=function(){this.isAccurate=!1,this.isGetFingerPrintCalled=!1},e}(),wr=function(){return wr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},wr.apply(this,arguments)},_r=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Sr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Er=new(de())(navigator.userAgent),Or=new yr,kr=function(e,t){return void 0===t&&(t={}),_r(void 0,void 0,void 0,(function(){var n,r,o;return Sr(this,(function(i){switch(i.label){case 0:return n=Dn("ruid"),[4,Or.getFingerPrint()];case 1:return r=i.sent()||Or.getBaseFingerprint(),o=wr(wr({ftime:Math.round(performance.now()),stream:fo(),vcapirs:s,uuid:n||r,block_id:parseInt(e["begun-block-id"],10),pad_id:parseInt(e["begun-auto-pad"],10)},t),Me({browser_family:Er.getBrowser().name,browser_version:Er.getBrowser().version,os_family:Er.getOS().name,os_version:Er.getOS().version,device_type:Ne(Er.getDevice().type)})),Se(ho(p),{data:JSON.stringify(o)}),[2]}}))}))},xr=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Tr=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Pr=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Cr=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Rr=function(){function e(){this.trackingEvTypes={loaded:1,impression:2,render:500,"viewable-pixel":501}}return e.prototype.createTemplate=function(e,t){return Pr(this,void 0,void 0,(function(){var n,r,o,i,a;return Cr(this,(function(s){switch(s.label){case 0:return[4,this.startRender(e,t)];case 1:return!0===(n=s.sent()).result?(r=null==n?void 0:n.tpl.eventStore,o=(null==r?void 0:r.getPixelsByType(this.trackingEvTypes.impression))||[],i=(null==r?void 0:r.getPixelsByType(this.trackingEvTypes.loaded))||[],a=o.map((function(e){return{url:e,time:1e3,percent:.5}})),[2,{result:!0,additionalTracking:i,viewability:a}]):[2,{result:!1,data:n.data,error:n.error}]}}))}))},e.prototype.startRender=function(t,n){return Pr(this,void 0,void 0,(function(){var r,o,i,a;return Cr(this,(function(s){switch(s.label){case 0:return s.trys.push([0,4,,5]),0!==n.indexOf("data:")?[3,2]:[4,this.base64Loader.load(n)];case 1:return o=s.sent().data,r=JSON.parse(o.responseText),[3,3];case 2:r=JSON.parse(n),s.label=3;case 3:return[3,5];case 4:return i=s.sent(),[2,{result:!1,data:{placeToRender:t.renderTo,DSPResponse:r,tplName:"none",width:t.width,height:t.height},error:i}];case 5:return a=this.getTplName(r),e.vendorScript||(e.vendorScript=this.createScript("https://webcf.waybackmachine.org/web/20240318155658/https://ssp.rambler.ru/perf-templates/vendor.js")),e["".concat(a,"Script")]||(e["".concat(a,"Script")]=this.createScript("https://webcf.waybackmachine.org/web/20240318155658/https://ssp.rambler.ru/perf-templates/".concat(a,".js"))),e.vendorPromise||(e.vendorPromise=new Promise((function(t){e.vendorScript.onload=t}))),e["".concat(a,"Promise")]||(e["".concat(a,"Promise")]=new Promise((function(t){e["".concat(a,"Script")].onload=t}))),[4,Promise.all([e.vendorPromise,e["".concat(a,"Promise")]])];case 6:return s.sent(),[2,new Promise((function(e,n){window.templateRenderer.render({placeToRender:t.renderTo,DSPResponse:r,tplName:a,width:t.width,height:t.height}).then((function(t){e(t)})).catch((function(e){n(e)}))}))]}}))}))},e.prototype.getTplName=function(e){switch(e.ad_type){case 1:return"tgb_default";case 2:return"html_default";case 3:return"image_default";default:return""}},e.prototype.createScript=function(e){var t=document.createElement("script");return t.type="text/javascript",t.src=e,t.async=!0,document.getElementsByTagName("body")[0].appendChild(t),t},xr([ce(Z.DataLoader),Tr("design:type",An)],e.prototype,"base64Loader",void 0),e}(),Ir=function(e){return!(!e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||9!==e.nodeType)},Ar=function(e,t){return void 0===t&&(t=document),!!Ir(t)&&(!(!e||"boolean"==typeof e||"number"==typeof e||void 0===e)&&("string"==typeof e&&(e=t.getElementById(e)),!(!e||1!==e.nodeType||!e.parentNode||"HTML"===e.parentNode.nodeName||t.contains&&!t.contains(e)||t.body&&t.body.contains&&!t.body.contains(e))&&e))},Dr=function(e){if("object"==typeof console){if("function"==typeof console.warn)return e;if("function"==typeof console.log)return e}},jr=function(e,t,n){void 0===t&&(t=document),void 0===n&&(n=!1);var r,o={bottom:0,height:0,left:0,right:0,top:0,width:0};if(!(e=Ar(e,t)))return Dr("Utils.DOM.getBoundingClientRect: DOM element doesn't exist in that DOM Document"),o;if((n=!!n)&&(r=getComputedStyle(e))&&"none"===r.display&&(e.style.display="block"),e.getBoundingClientRect)o={bottom:(o=e.getBoundingClientRect()).bottom,height:o.height||e.clientHeight,left:o.left,right:o.right,top:o.top,width:o.width||e.clientWidth};else{for(var i=e,a={height:i.offsetHeight,width:i.offsetWidth,x:0,y:0};i;)a.x+=i.offsetLeft,a.y+=i.offsetTop,i=i.offsetParent;o={bottom:a.y+a.height,height:a.height,left:a.x,right:a.x+a.width,top:a.y,width:a.width}}return n&&e&&(e.style.display=""),o};function Br(e,t){var n=void 0===t?{}:t,r=n.removeType,o=n.shouldFreezeWrapperHeight,i=n.minFreezeValue,a=void 0===i?1:i;if("string"==typeof e&&(e=document.querySelector(e)),e){var s=e.parentElement;if(s)if("except"===r){o&&s.clientHeight>=a&&(s.style.height="auto");for(var c=[],u=0,l=s.children;u<l.length;u++){var p=l[u];p!==e&&c.push(p)}c.forEach((function(e){return s.removeChild(e)}))}else s.removeChild(e)}}var Fr,Nr=$(o(4772)),Lr=function(){function e(e,t,n){void 0===e&&(e="div"),void 0===t&&(t="");var r=(void 0===n?{}:n).isHTML,o=void 0===r||r;this._element=document.createElement(e),this._element[o?"innerHTML":"textContent"]=t,window.CAPIRS_CONFIG&&window.CAPIRS_CONFIG.SCRIPT_NONCE_VALUE&&this._element.setAttribute("nonce",window.CAPIRS_CONFIG.SCRIPT_NONCE_VALUE)}return Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),e.prototype.remove=function(){this._exists()&&this._element.parentElement.removeChild(this._element)},e.prototype.append=function(e,t){void 0===t&&(t={});try{return t.before&&e.firstChild?e.insertBefore(this._element,e.firstChild):e.appendChild(this._element),this}catch(e){return Nr.log(400,"Script append failed",{Error:e}),this}},e.prototype._exists=function(e){return void 0===e&&(e=document),!!Ar(this._element,e)},e}(),Mr=Lr,Vr=function(e){var t=e.rules,n=e.nonce,r=e.className,o=Object.keys(t).map((function(e){return"".concat(e,":").concat(t[e],";")})).join(""),i=".".concat(r,"{").concat(o,"}"),a=document.createElement("style");return a.innerHTML=i,a.setAttribute("nonce",n),a},Ur=function(e,t){return"googletag.pubads().addEventListener('slotRenderEnded',function(event){window.parent.Begun.Autocontext.Callbacks.dispatch('block','realShow',null,[\"".concat(e,'",').concat(t,",event.isEmpty?0:1]);});")},Hr=function(e){var t=e.responseText,n=e.impressionId,r=e.userId;return t.includes("defineSlot")?t.replace(b,function(e,t){return"<script>googletag.cmd.push(function(){".concat(Ur(e,t),"});<\/script>")}(n,r)):t.replace(b,function(e,t){return"<script>".concat(Ur(e,t),"<\/script>")}(n,r))},qr=function(e,t,n){return"window.parent.Begun.Autocontext.Callbacks.dispatch('block','realShow',null,[\"".concat(e,'",').concat(t,",").concat(Number(n),"]);")},Wr=function(e){var t=e.responseText,n=e.impressionId,r=e.userId;return t.replace("/* ya_rambler_adtech_callbacks */",function(e,t){return"onError:function(data){".concat(qr(e,t,!1),"},onRender:function(data){").concat(qr(e,t,!0),"},")}(n,r)).replace("/* ya_rambler_adtech_stub_callback */",qr(n,r,!1))},zr=function(){return zr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},zr.apply(this,arguments)},Gr=$(o(4772)),Xr=function(){function e(){}return e.includeScript=function(t,n,r){if(void 0===n&&(n="append"),t&&we(t)){var o=function(){r&&r()};return"write"===n?Be({action:"write",type:e.SCRIPT_TYPE,src:t,target:document.head||document.body,removeAfterLoading:!0,document:document,onload:o}):"append"===n&&Be({action:"append",type:e.SCRIPT_TYPE,async:!0,src:t,target:document.head||document.body,removeAfterLoading:!0,document:document,onload:o}),!0}return!1},e.foundScript=function(e){return!!Array.from(document.head.getElementsByTagName("script")).find((function(t){return e.src?e.src===t.src:e.textContent===t.textContent}))},e.createScript=function(e,t){try{var n=t.createElement("script");n.type="text/javascript",n.text=e.text||e.innerText||e.textContent,n.text=n.text.replace(/\sdocument\.write\(/gi," window.document.write("),n.text=n.text.replace(/\swindow\.document\.write\(/gi," window.document.open('text/html');window.document.write(");var r=t.getElementsByTagName("script")[0];(window.CAPIRS_CONFIG||{}).SCRIPT_NONCE_VALUE&&n.setAttribute("nonce",window.CAPIRS_CONFIG.SCRIPT_NONCE_VALUE),r?r.parentNode.insertBefore(n,r):(o="head",i=t,a=0,void 0===i&&(i=document),"string"==typeof o&&Ir(i)&&"number"==typeof a&&i.getElementsByTagName(o)[a]||null).appendChild(n)}catch(e){Gr.log(500,"Creating script failed",{Error:e})}var o,i,a},e.reattachScriptsOnce=function(t,n){void 0===n&&(n=document);for(var r=0;r<t.length;r++)try{var o=t[r];o&&o.nodeType===o.ELEMENT_NODE&&o.tagName&&o instanceof HTMLScriptElement&&"SCRIPT"===o.tagName.toUpperCase()&&(o.src||o.text)&&!this.foundScript(o)&&(o.src?Be({action:"append",type:e.SCRIPT_TYPE,async:!!o.async,defer:!!o.defer,src:o.src,entry:n.getElementsByTagName("script")[0],target:n.head||n.body,document:n}):this.createScript(o,n)),o.hasChildNodes()&&this.reattachScriptsOnce(o.children,n)}catch(e){Gr.log(500,"Reattach scripts failed",{Error:e})}},e.reattachScripts=function(t,n){void 0===n&&(n=document);for(var r=t.length,o=0;o<r;o++)try{var i=t[o];i&&i.nodeType===i.ELEMENT_NODE&&i.tagName&&i instanceof HTMLScriptElement&&"SCRIPT"===i.tagName.toUpperCase()&&(i.src||i.text)&&(i.src?Be({action:"append",type:e.SCRIPT_TYPE,async:!!i.async,defer:!!i.defer,src:i.src,entry:n.getElementsByTagName("script")[0],target:n.head||n.body,document:n}):this.createScript(i,n)),i.hasChildNodes()&&this.reattachScripts(i.children,n)}catch(e){Gr.log(500,"Reattach scripts failed",{Error:e})}},e.SCRIPT_TYPE="text/javascript",e}(),Jr=Xr,$r=function(e,t){void 0===t&&(t={});var n,r,o=e,i=(n=t,r={},Object.keys(n).forEach((function(e){r[e.toUpperCase()]=n[e]})),r);return Object.keys(i).forEach((function(e){var t=encodeURIComponent(i[e]);o=o.replace(new RegExp("\\[".concat(e,"\\]"),"gm"),t)})),o};!function(e){e[e.VAST_REQUEST=1]="VAST_REQUEST",e[e.VAST_NOT_RECEIVED_ERROR=2]="VAST_NOT_RECEIVED_ERROR",e[e.VAST_RECEIVED=3]="VAST_RECEIVED",e[e.SOME_ERROR_AFTER_VAST_RECEIVED=4]="SOME_ERROR_AFTER_VAST_RECEIVED"}(Fr||(Fr={}));var Kr=function(e,t){var n=t.event,r=t.description,o=void 0===r?"":r,i=t.url,a=$r("https://webcf.waybackmachine.org/web/20240318155658/https://dsp-rambler.ru/check_video?url=[URL]&session_id=[SESSION_ID]&event=[EVENT]&des=[DESCRIPTION]",{event:n,description:o,url:void 0===i?"":i,session_id:e});(new Image).src=a},Yr=function(){var e="_".concat(Math.random().toString(36).substr(2,9));return Kr.bind(null,e)},Qr=function(e){var t=window.getComputedStyle(e).getPropertyValue("position");""!==t&&"static"!==t||(e.style.position="relative")};function Zr(e,t){var n=e.match(h);if(n){var r=n.map((function(e){return e.replace(/ |:|\[|\]/gi,"")}));r=r.join(",").split(",");for(var o=0,i=1;i<r.length;i+=2)o=Number(r[i])>o?Number(r[i]):o;return"".concat(o,"px")}return t}var eo,to,no=function(){return no=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},no.apply(this,arguments)},ro=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},oo=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},io=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},ao=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},so=o(2018),co=$(o(4772)),uo=[ze.X_HTML,ze.X_MIXED_IFRAME_HTML,ze.X_IFRAME_HTML,ze.X_FIXED_IFRAME_HTML,ze.X_SHARED_SCRIPTS],lo=function(){function e(){}return e.prototype.getGraphHTML=function(t){var n=t.feed,r=t.graphBanner,o=t.block,i=t.nbanner,a=t.domObj,s=t.blockData,c=t.creativeToDraw,u=t.graphBannersCount;return io(this,void 0,void 0,(function(){var t,l,p,f,d,h,v,g,m,b,y,w,_,S,E,O,k,x,T,P,C,R,I=this;return ao(this,(function(A){switch(A.label){case 0:return t=!1,l=r.width||0,p=r.height||0,d=s.click_wrap?s.click_wrap+r.url:r.url,h=r.source,l=(v=function(e){return/^[1-9.]\d*$/.test(e.toString())?"".concat(e,"px"):"0"===e.toString()?"100%":e})(l),p=v(p),g="",n&&n.params&&n.params.impression_id&&(g=n.params.impression_id),b=[],r.view_type.includes(Ge.ATOMS)?(f="graph_banner_atoms",t=!0,[4,this._perfTemplatesWrapper.createTemplate({width:"string"==typeof l?l:"".concat(l,"px"),height:"string"==typeof p?p:"".concat(p,"px"),renderTo:a},r.source)]):[3,5];case 1:return S=A.sent(),e.isMDSPTemplates=!1,S.result?(y=S.additionalTracking,w=S.viewability,b.push.apply(b,y),(R=r.viewability).push.apply(R,w),[3,4]):[3,2];case 2:return[4,this.tryToRenderNextAd({nbanner:i,graphBannersCount:u,impressionID:g,domObj:a})];case 3:if(!A.sent())return[2];A.label=4;case 4:return[3,14];case 5:return r.mime!==ze.X_HTML&&r.mime!==ze.X_MIXED_IFRAME_HTML&&r.mime!==ze.X_SHARED_SCRIPTS?[3,6]:(f="graph_banner_xhtml",m={impressionID:g},c&&setTimeout((function(){I.insertHTML.call(I,c,a,r)}),0),[3,14]);case 6:return r.mime!==ze.X_IFRAME_HTML&&r.mime!==ze.X_FIXED_IFRAME_HTML?[3,7]:(_=r.mime===ze.X_FIXED_IFRAME_HTML?p:"1px",f="graph_banner_xiframe",m={widthValue:l,heightValue:_,impressionID:g},c&&setTimeout((function(){I.insertHTML2.call(I,c,a,r)}),0),[3,14]);case 7:return r.mime!==ze.X_JAVASCRIPT?[3,8]:(f="graph_banner_js",m={},r.tracking&&_e(r.tracking),Jr.includeScript(h,"append"),[3,14]);case 8:return r.mime!==ze.TEXT_HTML?[3,9]:(f="graph_banner_html",m={widthValue:l,heightValue:p,source:h},[3,14]);case 9:return r.mime!==ze.TEXT_URL&&r.mime!==ze.VAST_XML?[3,13]:(f="graph_banner_vast",t=!0,r.viewability=r.viewability.map((function(e){var t=e.percent,n=e.time;return{percent:t,time:.5===t?2e3:n,url:e.url}})),Yr()({event:Fr.VAST_REQUEST}),[4,this.vastPlaybackWrapper.startVideo(a,{mute:!0,url:r.source})]);case 10:return(S=A.sent()).success?[3,12]:[4,this.tryToRenderNextAd({nbanner:i,graphBannersCount:u,impressionID:g,domObj:a})];case 11:if(!A.sent())return[2];A.label=12;case 12:return E=Object.values(window.Adf.util.stack).find((function(e){return e.options_b["begun-block-id"]===s.block_id})),O=document.getElementById("begun_block_".concat(s.block_id)),k=O.getElementsByClassName("capirs-outstream-player"),x=k[0].querySelector("video"),T=Math.round(Number(x.duration)/4),P=1,kr(null==E?void 0:E.options_b,{blocktype:"capirs",impression_id:n.params.impression_id,misc:n.params.marks.misc,reason:"video started"}),x.addEventListener("timeupdate",(function(){Math.round(Number(x.currentTime))===T*P&&(kr(null==E?void 0:E.options_b,{blocktype:"capirs",impression_id:n.params.impression_id,misc:n.params.marks.misc,reason:"video was watched on ".concat(25*P,"%")}),P++),x.duration-x.currentTime==0&&kr(null==E?void 0:E.options_b,{blocktype:"capirs",impression_id:n.params.impression_id,misc:n.params.marks.misc,reason:"video ended"})})),[3,14];case 13:f="graph_banner_img",m={widthValue:l,heightValue:p,source:h,url:d},A.label=14;case 14:return o.banner_id=r.banner_id,Qe.setBannerInfo(a,r),C=this.bannerTemplatesStore.getBannerTemplate(f),[2,{html:C?C(no(no({},m),{styleNonceValue:this.config.getConfigValue("STYLE_NONCE_VALUE"),bannerClassName:Re()})):void 0,url:d,disableInnerHTML:t,additionalTrackingPixels:b}]}}))}))},e.prototype.handleGraphBannerNonExisting=function(e){var t,n,r=e.blockData,o=e.feed,i=r.pad_id;window.Begun.Autocontext.Callbacks.dispatch(ie.BLOCK,ae.UNEXIST,null,[o,r]);var a="".concat(r.div_id||(null===(n=null===(t=r.blockEl)||void 0===t?void 0:t.parentElement)||void 0===n?void 0:n.id));window.Begun.emptySSPResponses["".concat(a,"_").concat(i)]=!0,window.Adf.util.updateBannersStack(a,{status:On.NO_BANNER})},e.prototype.getCreativeToDraw=function(e){var t,n,r,o=e.feed,i=e.nbanner,a=e.blockData;return io(this,void 0,void 0,(function(){var e,s,c,u,l,p,f,d;return ao(this,(function(h){switch(h.label){case 0:e=o.banners.graph,s=function(e){return uo.includes(e)},c=i,h.label=1;case 1:if(!(c<e.length))return[3,8];if(u=e[c],!s(u.mime)&&!u.view_type.includes(Ge.ATOMS))return[3,6];h.label=2;case 2:return h.trys.push([2,4,,5]),[4,this._dataLoader.load(u.source)];case 3:return l=h.sent(),p=null===(t=l.data)||void 0===t?void 0:t.status,(null===(n=l.data)||void 0===n?void 0:n.responseText)&&(!p||p&&204!==p)?(f=null===(r=l.data)||void 0===r?void 0:r.responseText,Number(u.thematics)&&(f=function(e){var t=Wr(zr({},e));return Hr(zr(zr({},e),{responseText:t}))}({responseText:f,impressionId:o.params.impression_id,userId:u.user_id})),a.ad_unit_name&&(f=function(e,t){var n,r=null===(n=e.match(/("|')\/\d*\/(.*)("|'),/))||void 0===n?void 0:n[2];return e.replace(new RegExp("".concat(r),"gi"),t)}(f,a.ad_unit_name)),a.ya_block_id&&(v=f,g=a.ya_block_id,f=v.replace(/blockId: ("|')R-A-.+("|')/gi,'blockId: "'.concat(g,'"'))),[2,[c,f]]):(d=Object.values(window.Adf.util.stack).find((function(e){return e.options_b["begun-block-id"]===a.block_id})),kr(null==d?void 0:d.options_b,{blocktype:204===p?"capirs":"banner_not_loaded",impression_id:o.params.impression_id,misc:o.params.marks.misc,reason:204===p?"empty_banner":"unload"}),[3,5]);case 4:return h.sent(),[3,5];case 5:return[3,7];case 6:return[2,[c,u]];case 7:return c++,[3,1];case 8:return[2,[i,""]]}var v,g}))}))},e.prototype.insertMultipleBanners=function(e){var t=e.feed,n=e.blockData,r=e.blockInfo,i=e.bannerNumbers,a=e.doWipe;return io(this,void 0,void 0,(function(){var e,s,c,u,l=this;return ao(this,(function(p){switch(p.label){case 0:return e=Promise.all([o.e(443),o.e(689)]).then(o.bind(o,4443)),s=this.getBannersByBlockId(t,r.id,"graph"),c=s.filter((function(e,t){return i.includes(t)})).map((function(e,o){return function(a){return io(l,void 0,void 0,(function(){var s,c;return ao(this,(function(u){switch(u.label){case 0:return s=i[o],[4,this.getGraphHTML({feed:t,graphBanner:e,block:r,nbanner:s,domObj:a,blockData:n})];case 1:return(c=u.sent())&&a&&(e.tracking&&_e(e.tracking),a.innerHTML=c.html,this._monitorClass.attemptRunViewabilityWatcher({feed:t,subscriptionID:"".concat(t.params.impression_id,"_").concat(s),watchedElement:a})),[2]}}))}))}})),[4,Promise.all(c)];case 1:return u=p.sent(),e.then((function(e){var t=e.SSPCarousel,r=n.blockEl;(a||n.wipeBeforeRender)&&Br(r,{removeType:"except",shouldFreezeWrapperHeight:n.shouldFreezeWrapperHeight}),new t(r,u)})),[2,!0]}}))}))},e.prototype.insertNonTextBlock=function(e){var t=e.feed,n=e.blockData,r=e.block,o=e.nbanner,i=e.creativeToDraw,a=e.doWipe;return io(this,void 0,void 0,(function(){var e,s,c,u,l;return ao(this,(function(p){switch(p.label){case 0:return e=r.id,(s=this.getBannersByBlockId(t,e,"graph"))&&s[o]?(c=s[o]).loaded?[2,!1]:(u=n.blockEl,[4,this.getGraphHTML({feed:t,graphBanner:c,block:r,nbanner:o,domObj:u,creativeToDraw:i,blockData:n,graphBannersCount:s.length})]):[3,2];case 1:if(l=p.sent(),c.loaded=!0,l&&u)return(a||n.wipeBeforeRender)&&Br(u,{removeType:"except",shouldFreezeWrapperHeight:n.shouldFreezeWrapperHeight}),l.additionalTrackingPixels&&l.additionalTrackingPixels.forEach((function(e){return _e(e)})),c.tracking&&_e(c.tracking),l.disableInnerHTML||(u.innerHTML=l.html),[2,!0];p.label=2;case 2:return[2,!1]}}))}))},e.prototype.insertHTML2=function(e,t,n){var r=this,o=t;if(!o)return co.log(500,"Outer container does not exist"),!1;if(!o.parentElement)return!1;var i=o.getElementsByClassName("xhtml_banner")[0];i?(i.onerror=function(e){co.log(500,"Xhtml banner iframe error",{Error:e})},Ee(i,(function(t){var a,s;if(t.open(),t.write(e),t.close(),"application/x-iframe-html"===n.mime){var c=Re(),u=Vr({rules:{overflow:"auto",height:"auto"},className:c,nonce:r.config.getConfigValue("STYLE_NONCE_VALUE")});o.appendChild(u),i.classList.add(c);var l=new so((function(e,t){var n;Ar(i)||t.disconnect();for(var a=0,s=e;a<s.length;a++){var c=s[a].contentRect.height;if(c-(parseInt(null===(n=getComputedStyle(i))||void 0===n?void 0:n.height,10)||0)>=15){var u=Re(),l=Vr({rules:{height:"".concat(c,"px")},className:u,nonce:r.config.getConfigValue("STYLE_NONCE_VALUE")});o.appendChild(l),i.classList.add(u)}}}));if(8===(null===(a=t.childNodes[0])||void 0===a?void 0:a.nodeType)){var p=Re(),f=Vr({rules:{height:Zr(t.childNodes[0].textContent,"".concat(null===(s=getComputedStyle(i))||void 0===s?void 0:s.height))},className:p,nonce:r.config.getConfigValue("STYLE_NONCE_VALUE")});o.appendChild(f),i.classList.add(p),l.observe(t.documentElement)}if("complete"===t.readyState)"auto"===getComputedStyle(i).height&&l.observe(t.documentElement);else if(t.defaultView){var d=t.defaultView.onload;t.defaultView.onload=function(){d&&d(),"auto"===getComputedStyle(i).height&&l.observe(t.documentElement)}}}}))):co.log(500,"Inner container does not exist")},e.prototype.insertHTML=function(e,t,n){var r=t;if(r){var o=r.getElementsByClassName("xhtml_banner")[0];if(o)if(o.innerHTML=e,"application/x-html"===n.mime)Jr.reattachScripts(o.children);else if("application/x-shared-scripts"===n.mime)Jr.reattachScriptsOnce(o.children);else{var i=document.createElement("iframe");i.onerror=function(e){co.log(500,"Scripts iframe application/x-html error",{Error:e})},i.setAttribute("marginwidth","0"),i.setAttribute("marginheight","0"),i.setAttribute("scrolling","no"),i.setAttribute("frameBorder","0"),i.setAttribute("width","1"),i.setAttribute("height","1");var a=Re(),s=Vr({rules:{position:"absolute"},className:a,nonce:this.config.getConfigValue("STYLE_NONCE_VALUE")});r.appendChild(s),i.classList.add(a),o.appendChild(i),Ee(i,(function(e){"object"==typeof o.childNodes&&"object"==typeof e?Jr.reattachScripts(o.children,e):co.log(503,"Attempt reattach the scripts to the non-object",{typeOfDocument:typeof e,typeOfNode:typeof o.childNodes})}))}else co.log(500,"Inner container does not exist")}else co.log(500,"Outer container does not exist")},e.prototype.getBannersByBlockId=function(e,t,n){var r,o=0,i=[];do{(r=this._getBanner(e,n,o))&&(r.block_id===t&&(i[i.length]=r),o+=1)}while(r);return i},e.prototype._getBanner=function(e,t,n){var r,o;return null===(o=null===(r=null==e?void 0:e.banners)||void 0===r?void 0:r[t])||void 0===o?void 0:o[n]},e.prototype.tryToRenderNextAd=function(e){var t=e.nbanner,n=e.domObj,r=e.graphBannersCount,o=e.impressionID;return io(this,void 0,void 0,(function(){var e;return ao(this,(function(i){switch(i.label){case 0:return(e=r>t+1)?[4,window.Begun.Autocontext.showAd(n,o,t+1)]:[3,2];case 1:i.sent(),i.label=2;case 2:return[2,e]}}))}))},e.isMDSPTemplates=!0,ro([ce(Z.BannerTemplatesStore),oo("design:type",Object)],e.prototype,"bannerTemplatesStore",void 0),ro([ce(Z.DataLoader),oo("design:type",An)],e.prototype,"_dataLoader",void 0),ro([ce(Z.MonitorClass),oo("design:type",Object)],e.prototype,"_monitorClass",void 0),ro([ce(Z.Config),oo("design:type",Object)],e.prototype,"config",void 0),ro([ce(Z.VastPlaybackWrapper),oo("design:type",Object)],e.prototype,"vastPlaybackWrapper",void 0),ro([ce(Z.PerformanceTemplatesWrapper),oo("design:type",Rr)],e.prototype,"_perfTemplatesWrapper",void 0),e}(),po=lo,fo=function(){return po.isMDSPTemplates?t.MDSP:t.PDSP},ho=function(e){var t=fo();return ye(e,"stream",t)},vo=function(){return vo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},vo.apply(this,arguments)},go=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},mo=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},bo=$(o(4772)),yo=function(){function e(){this.bannerInfoMap=new Map,this.commonInfo=this.getCommonInfo()}return e.prototype.serialize=function(e){var t=JSON.stringify(e),n=new TextEncoder;return Array.from(n.encode(t))},e.getInstance=function(){return e.instance||(e.instance=new e),e.instance},e.prototype.logMetrics=function(e,t,n){n||(n=this.bannerInfoMap.get(e));var r=this._metricsTimer.getTime(e,t);if("number"==typeof r){if(r<0)return;return this.bannerInfoMap.set(e,n),this.sendMetrics(e,n,t,r)}bo.log(400,r.message,n)},e.prototype.freezeTimer=function(e){this._metricsTimer.freezeTimer(e)},e.prototype.unFreezeTimer=function(e){this._metricsTimer.unFreezeTimer(e)},e.prototype.clearBannerTimersMap=function(e){e?this._metricsTimer.clearBannerTimersMap(e):this._metricsTimer.clearBannerTimersMap()},e.prototype.sendMetrics=function(e,t,n,r){var o=Date.now(),i=JSON.stringify({req_guid:Math.random().toString(),sent_time:{seconds:Math.floor(o/1e3),nanos:o%1e3*1e6},events:[{event_bytes:this.serialize(vo(vo(vo({divId:e},t),this.commonInfo),{time:r,type:n,timestamp:o})),type:"m-capirs"}]});return fetch("https://webcf.waybackmachine.org/web/20240318155658/https://cls.ad-tech.ru/api/v1/events",{method:"POST",headers:{"Content-Type":"application/json","X-User-ID":"user-4",Accept:"application/json, text/plain, */*"},body:i}).catch((function(e){return console.log("error",e)})),vo(vo(vo({divId:e},t),this.commonInfo),{time:r,type:n})},e.prototype.getCommonInfo=function(){var e=j().browser,t=e.browser,n=e.version;return{capirsVersion:a,browserName:t,browserVersion:n,deviceType:Ne(this._uaparser.getDevice().type)}},go([ce(Z.UaParserService),mo("design:type",de())],e.prototype,"_uaparser",void 0),go([ce(Z.MetricsTimer),mo("design:type",Object)],e.prototype,"_metricsTimer",void 0),e}(),wo=function(){function e(){}return e.prototype.logMetrics=function(){},e.prototype.clearBannerTimersMap=function(){},e.prototype.freezeTimer=function(){},e.prototype.unFreezeTimer=function(){},e}();!function(e){e[void 0]="before_all",e.callAd="m_call_ad",e.startReq="m_start_req",e.feed="m_feed",e.rendered="m_rendered",e.viewable="m_viewable"}(eo||(eo={})),function(e){e.wrongEventType="Wrong event type",e.wrongEventOrder="Wrong event order",e.wrongFreezeOrder="Wrong freeze order"}(to||(to={}));var _o,So=function(){function e(){this.freezeTimersMap=new Map,this.bannerTimersMap=new Map}return e.prototype.freezeTimer=function(e){this.freezeTimersMap.get(e)||this.freezeTimersMap.set(e,[Date.now(),0])},e.prototype.unFreezeTimer=function(e){var t=this.freezeTimersMap.get(e);t[1]||(t[1]=Date.now(),this.freezeTimersMap.set(e,t))},e.prototype.getTime=function(e,t){var n=this.getBannerTimers(e),r=this.freezeTimersMap.get(e),o=n.lastMetricType;if(t===eo.callAd&&t===o)return-1;var i=this.getEventTimers(n,t,r);return!0===i.ok?(n.timers[t]=i.result,n.lastMetricType=t,this.setBannerTimers(e,n),this.freezeTimersMap.delete(e),n.timers[t].timeSinceLast):new Error(i.error)},e.prototype.clearBannerTimersMap=function(e){e?(this.bannerTimersMap.delete(e),this.freezeTimersMap.delete(e)):(this.bannerTimersMap.clear(),this.freezeTimersMap.clear())},e.prototype.getBannerTimers=function(e){var t=this.bannerTimersMap.get(e);return t||{timers:{},lastMetricType:eo.undefined}},e.prototype.setBannerTimers=function(e,t){this.bannerTimersMap.set(e,t)},e.prototype.getEventTimers=function(e,t,n){var r=e.timers,o=e.lastMetricType,i=0;if(n){var a=n[0];i=n[1]-a}return this.getTimer(r,t,i,o)},e.prototype.getTimer=function(e,t,n,r){return n<0?{ok:!1,error:to.wrongFreezeOrder}:t===eo.callAd&&r===eo.undefined?void 0!==e[t]?{ok:!1,error:to.wrongEventOrder}:{ok:!0,result:{eventTime:Date.now(),timeSinceLast:0}}:void 0===e[r]||void 0!==e[t]?{ok:!1,error:to.wrongEventOrder}:{ok:!0,result:{eventTime:Date.now(),timeSinceLast:Date.now()-e[r].eventTime-n}}},e}();function Eo(e,t,n){var r=n.value;n.value=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return se.get(Z.MetricsTransport).logMetrics(e[0].toString(),eo.callAd,{blockId:parseInt(e[2]["begun-block-id"],10),padId:parseInt(e[2]["begun-auto-pad"],10),monetizerId:0}),r.apply(this,e)}}!function(e){e.shown="called",e.declined="declined"}(_o||(_o={}));var Oo=function(){return Oo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Oo.apply(this,arguments)},ko=function(){function e(){this.FILENAME="toolbar.js"}return e.prototype.load=function(){window.Begun.Autocontext.scriptLoader.baseLoad(this.FILENAME)},e.prototype.handleDebugInfo=function(e){var t=e.feed,n=e.blockData;t.debug&&t.debug.request&&(this.load(),this.setClientSideInfo(t,n),window.Begun.Autocontext.unhandledDebugs.push(t.debug),this.removeDebug(t),window.Begun.Autocontext.begunToolbarLoaded())},e.prototype.setClientSideInfo=function(e,t){e.debug.clientside=Oo({},t)},e.prototype.removeDebug=function(e){delete e.debug},e}(),xo=function(){function e(){}return e.prototype.load=function(){},e.prototype.handleDebugInfo=function(){},e}(),To=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Po=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Co=function(){function e(){this._configStore={},this._hydrate()}return e.prototype.getConfigValue=function(e){return this._configStore[e]},e.prototype.getConfigStore=function(){return this._configStore},e.prototype._hydrate=function(){for(var e=window.CAPIRS_CONFIG||{},t=Object.keys(this._allowedOptions),n=0;n<t.length;n++){var r=t[n],o=e.hasOwnProperty(r);this._configStore[r]=o?e[r]:this._allowedOptions[r]}},To([ce(Z.ConfigOptions),Po("design:type",Object)],e.prototype,"_allowedOptions",void 0),e}(),Ro=Co;var Io=function(e){return"symbol"==typeof e||_t(e)&&"[object Symbol]"==wt(e)},Ao=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Do=/^\w*$/;var jo=function(e,t){if(Pt(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Io(e))||(Do.test(e)||!Ao.test(e)||null!=t&&e in Object(t))},Bo=Qt(Object,"create");var Fo=function(){this.__data__=Bo?Bo(null):{},this.size=0};var No=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Lo=Object.prototype.hasOwnProperty;var Mo=function(e){var t=this.__data__;if(Bo){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Lo.call(t,e)?t[e]:void 0},Vo=Object.prototype.hasOwnProperty;var Uo=function(e){var t=this.__data__;return Bo?void 0!==t[e]:Vo.call(t,e)};var Ho=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Bo&&void 0===t?"__lodash_hash_undefined__":t,this};function qo(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}qo.prototype.clear=Fo,qo.prototype.delete=No,qo.prototype.get=Mo,qo.prototype.has=Uo,qo.prototype.set=Ho;var Wo=qo;var zo=function(){this.__data__=[],this.size=0};var Go=function(e,t){return e===t||e!=e&&t!=t};var Xo=function(e,t){for(var n=e.length;n--;)if(Go(e[n][0],t))return n;return-1},Jo=Array.prototype.splice;var $o=function(e){var t=this.__data__,n=Xo(t,e);return!(n<0)&&(n==t.length-1?t.pop():Jo.call(t,n,1),--this.size,!0)};var Ko=function(e){var t=this.__data__,n=Xo(t,e);return n<0?void 0:t[n][1]};var Yo=function(e){return Xo(this.__data__,e)>-1};var Qo=function(e,t){var n=this.__data__,r=Xo(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function Zo(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Zo.prototype.clear=zo,Zo.prototype.delete=$o,Zo.prototype.get=Ko,Zo.prototype.has=Yo,Zo.prototype.set=Qo;var ei=Zo,ti=Qt(lt,"Map");var ni=function(){this.size=0,this.__data__={hash:new Wo,map:new(ti||ei),string:new Wo}};var ri=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var oi=function(e,t){var n=e.__data__;return ri(t)?n["string"==typeof t?"string":"hash"]:n.map};var ii=function(e){var t=oi(this,e).delete(e);return this.size-=t?1:0,t};var ai=function(e){return oi(this,e).get(e)};var si=function(e){return oi(this,e).has(e)};var ci=function(e,t){var n=oi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function ui(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ui.prototype.clear=ni,ui.prototype.delete=ii,ui.prototype.get=ai,ui.prototype.has=si,ui.prototype.set=ci;var li=ui;function pi(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(pi.Cache||li),n}pi.Cache=li;var fi=pi;var di=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,hi=/\\(\\)?/g,vi=function(e){var t=fi(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(di,(function(e,n,r,o){t.push(r?o.replace(hi,"$1"):n||e)})),t}));var gi=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o},mi=pt?pt.prototype:void 0,bi=mi?mi.toString:void 0;var yi=function e(t){if("string"==typeof t)return t;if(Pt(t))return gi(t,e)+"";if(Io(t))return bi?bi.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n};var wi=function(e){return null==e?"":yi(e)};var _i=function(e,t){return Pt(e)?e:jo(e,t)?[e]:vi(wi(e))};var Si=function(e){if("string"==typeof e||Io(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ei=function(e,t){for(var n=0,r=(t=_i(t,e)).length;null!=e&&n<r;)e=e[Si(t[n++])];return n&&n==r?e:void 0};var Oi=function(e,t,n){var r=null==e?void 0:Ei(e,t);return void 0===r?n:r},ki=function(e){return e&&e.params&&e.params.impression_id},xi=function(e){return Oi(e,"feed.params.impression_id",e)},Ti=o(4861),Pi=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ci=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Ri=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Ii=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Ai=function(){function e(){var e=this;this._sessions={},this._shownBanners={},this._cleanBannersAndSessions=function(){e._shownBanners={},e._sessions={},e._metricsTransport.clearBannerTimersMap()},this._registerSpaPageUpdate=function(){var t,n;e._eventEmitter.register(((t={})[ie.PAGE]=((n={})[ae.SPA_UPDATE]=e._cleanBannersAndSessions,n),t))},!1===this._config.getConfigValue("RESET_SYNC_BANNERS_STATE_ON_HISTORY_CHANGE")?this._registerSpaPageUpdate():(0,Ti.addEventListener)(window,"changestate",this._cleanBannersAndSessions)}return e.prototype.addSession=function(e,t){this._sessions[e]=t},e.prototype.getSession=function(e){return this._sessions[e]},e.prototype.show=function(e){var t=e.divID,n=e.options,r=e.optionsB,o=e.priority,i=e.impressionID,a=e.blockID,s=e.sessionKeys,c=e.optClass,u=e.callback,l=e.doWipe;return Ri(this,void 0,void 0,(function(){var e,p;return Ii(this,(function(f){switch(f.label){case 0:return e=this._renderService.getBannerData(i),this._handleDebugInfo(e),this._isRenderAllowed(a,s)?[4,this._renderService.showAd(t,i,0,l)]:[3,2];case 1:return f.sent(),this._stackUtils.updateBannersStack(t,{impressionID:xi(i)}),u&&u(o,i,a),this._markSyncPlaces(s),this._setShown(a,0===e.feed.banners.graph.length),[2,_o.shown];case 2:return this._isRetryAllowed(r.requestRetries,a)&&(p=r.requestRetries||0)<2?(r.requestRetries=p+1,[2,this._adInitializer.ssp(t,n,r,c,null,u,null,l)]):[2,_o.declined]}}))}))},e.prototype.isSessionBanner=function(e){var t=e.nodeID,n=e.blockID;if(!n){var r=this._stackUtils.stack[t];n=r&&r.options_b&&r.options_b["begun-block-id"]}var o=this.getSession(n)||{};return this._isPlaceMarkedAsSync(o)},e.prototype._handleDebugInfo=function(e){e&&this._debugService.handleDebugInfo(e)},e.prototype._isRenderAllowed=function(t,n){var r=!0;if(n){for(var o in n)if(n.hasOwnProperty(o)){var i=this.getSession(o),a=i&&i.key||void 0,s=n[o],c=this._isSyncPlaceTakenByBasicBanner(o),u=this._syncBannerIsRendered(t);if(this._isPlaceMarkedAsForcedNonSyncOrSync(a,s)||u||c){r=!1,this.getSession(t)&&!c||this.addSession(t,{key:e.FORCE_NON_SYNC});break}}}else(a=this.getSession(t))&&a.key!==e.FORCE_NON_SYNC&&(r=!1);return r},e.prototype._markSyncPlaces=function(e){for(var t in e)e.hasOwnProperty(t)&&this.addSession(t,{key:e[t]})},e.prototype._isRetryAllowed=function(e,t){void 0===e&&(e=0);var n=this.getSession(t);return e<2&&(this._isPlaceMarkedAsSync(n)||this._isPlaceMarkedAsForcedNonSync(n))&&!this._syncBannerIsRendered(t)},e.prototype._isPlaceMarkedAsSync=function(t){return t.key!==e.FORCE_NON_SYNC&&""!==t.key&&void 0!==t.key},e.prototype._isPlaceMarkedAsForcedNonSync=function(t){return t.key===e.FORCE_NON_SYNC},e.prototype._isPlaceMarkedAsForcedNonSyncOrSync=function(t,n){return t===e.FORCE_NON_SYNC||void 0!==t&&t!==n},e.prototype._setShown=function(t,n){var r=this.getSession(t);this._shownBanners[t]=r&&r.key||(n?e.EMPTY:e.BASIC)},e.prototype._getShown=function(e){return this._shownBanners[e]},e.prototype._isSyncPlaceTakenByBasicBanner=function(t){return this._getShown(t)===e.BASIC},e.prototype._syncBannerIsRendered=function(t){var n=this._getShown(t);return n&&n!==e.BASIC&&n!==e.FORCE_NON_SYNC},e.BASIC="basic",e.EMPTY="empty",e.FORCE_NON_SYNC="*",Pi([ce(Z.BegunAutocontext),Ci("design:type",Object)],e.prototype,"_renderService",void 0),Pi([ce(Z.MethodsInitializer),Ci("design:type",Object)],e.prototype,"_adInitializer",void 0),Pi([ce(Z.AdfUtil),Ci("design:type",Object)],e.prototype,"_stackUtils",void 0),Pi([ce(Z.ToolbarHelper),Ci("design:type",ko)],e.prototype,"_debugService",void 0),Pi([ce(Z.EventEmitter),Ci("design:type",Object)],e.prototype,"_eventEmitter",void 0),Pi([ce(Z.Config),Ci("design:type",Ro)],e.prototype,"_config",void 0),Pi([ce(Z.MetricsTransport),Ci("design:type",yo)],e.prototype,"_metricsTransport",void 0),e}(),Di=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ji=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Bi=function(){function e(){}return e.prototype.attemptRefresh=function(e,t){var n=this._inViewTimersService.inViewTimers[e];return!(!n||this._syncBannersService.isSessionBanner({nodeID:e}))&&n.attemptRefresh(t)},Di([ce(Z.SyncShow),ji("design:type",Ai)],e.prototype,"_syncBannersService",void 0),Di([ce(Z.MethodsInitializer),ji("design:type",Object)],e.prototype,"_inViewTimersService",void 0),e}(),Fi=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ni=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Li=function(){function e(e,t,n,r){this.isUrlCalled=!1,this._viewableBanner=t,this._ID=n,this.url=e.url,this.percent=e.percent,this.time=e.time,this._div_ID=r}return e.prototype.startTimer=function(){var e=this;this.stopTimer(),this._timer=setTimeout((function(){e._callUrl(),e._logUrlCall()}),this.time)},e.prototype.isTimerStarted=function(){return!!this._timer},e.prototype.stopTimer=function(){clearTimeout(this._timer),this._timer=null},e.prototype.setViewableBanner=function(e){this._viewableBanner=e},e.prototype.getViewableBanner=function(){return this._viewableBanner},e.prototype._callUrl=function(){Ce({src:ye(this.url,"capirs_nocache",Date.now()),target:document.body,document:document}),this.isUrlCalled=!0},e.prototype._logUrlCall=function(){var e=0===this.percent?"minimal part":"".concat(100*this.percent,"%");this._metricsTransport.logMetrics(this._div_ID,eo.viewable),window.Debug.info("Banner was seen for ".concat(e," during ").concat(this.time,"ms, ID: ").concat(this._ID,", called url: ").concat(this.url))},Fi([ce(Z.MetricsTransport),Ni("design:type",yo)],e.prototype,"_metricsTransport",void 0),e}(),Mi=function(e){return e&&"object"==typeof e&&e.document&&"object"==typeof e.document},Vi=function(e){return void 0===e&&(e=window),Mi(e)?e.pageYOffset||e.document.documentElement&&e.document.documentElement.scrollTop||e.document.body&&e.document.body.scrollTop:NaN},Ui=Math.ceil,Hi=Math.max;var qi=function(e,t,n,r){for(var o=-1,i=Hi(Ui((t-e)/(n||1)),0),a=Array(i);i--;)a[r?i:++o]=e,e+=n;return a};var Wi=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var zi=function(e){return null!=e&&Wi(e.length)&&!Lt(e)},Gi=/^(?:0|[1-9]\d*)$/;var Xi=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Gi.test(e))&&e>-1&&e%1==0&&e<t};var Ji=function(e,t,n){if(!tt(n))return!1;var r=typeof t;return!!("number"==r?zi(n)&&Xi(t,n.length):"string"==r&&t in n)&&Go(n[t],e)},$i=/\s/;var Ki=function(e){for(var t=e.length;t--&&$i.test(e.charAt(t)););return t},Yi=/^\s+/;var Qi=function(e){return e?e.slice(0,Ki(e)+1).replace(Yi,""):e},Zi=/^[-+]0x[0-9a-f]+$/i,ea=/^0b[01]+$/i,ta=/^0o[0-7]+$/i,na=parseInt;var ra=function(e){if("number"==typeof e)return e;if(Io(e))return NaN;if(tt(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=tt(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Qi(e);var n=ea.test(e);return n||ta.test(e)?na(e.slice(2),n?2:8):Zi.test(e)?NaN:+e},oa=1/0;var ia=function(e){return e?(e=ra(e))===oa||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};var aa=function(e){return function(t,n,r){return r&&"number"!=typeof r&&Ji(t,n,r)&&(n=r=void 0),t=ia(t),void 0===n?(n=t,t=0):n=ia(n),r=void 0===r?t<n?1:-1:ia(r),qi(t,n,r,e)}}();var sa=function(){this.__data__=new ei,this.size=0};var ca=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var ua=function(e){return this.__data__.get(e)};var la=function(e){return this.__data__.has(e)};var pa=function(e,t){var n=this.__data__;if(n instanceof ei){var r=n.__data__;if(!ti||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new li(r)}return n.set(e,t),this.size=n.size,this};function fa(e){var t=this.__data__=new ei(e);this.size=t.size}fa.prototype.clear=sa,fa.prototype.delete=ca,fa.prototype.get=ua,fa.prototype.has=la,fa.prototype.set=pa;var da=fa;var ha=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var va=function(e){return this.__data__.has(e)};function ga(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new li;++t<n;)this.add(e[t])}ga.prototype.add=ga.prototype.push=ha,ga.prototype.has=va;var ma=ga;var ba=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var ya=function(e,t){return e.has(t)};var wa=function(e,t,n,r,o,i){var a=1&n,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var u=i.get(e),l=i.get(t);if(u&&l)return u==t&&l==e;var p=-1,f=!0,d=2&n?new ma:void 0;for(i.set(e,t),i.set(t,e);++p<s;){var h=e[p],v=t[p];if(r)var g=a?r(v,h,p,t,e,i):r(h,v,p,e,t,i);if(void 0!==g){if(g)continue;f=!1;break}if(d){if(!ba(t,(function(e,t){if(!ya(d,t)&&(h===e||o(h,e,n,r,i)))return d.push(t)}))){f=!1;break}}else if(h!==v&&!o(h,v,n,r,i)){f=!1;break}}return i.delete(e),i.delete(t),f},_a=lt.Uint8Array;var Sa=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var Ea=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},Oa=pt?pt.prototype:void 0,ka=Oa?Oa.valueOf:void 0;var xa=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new _a(e),new _a(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Go(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Sa;case"[object Set]":var c=1&r;if(s||(s=Ea),e.size!=t.size&&!c)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var l=wa(s(e),s(t),r,o,i,a);return a.delete(e),l;case"[object Symbol]":if(ka)return ka.call(e)==ka.call(t)}return!1};var Ta=function(e,t,n){var r=t(e);return Pt(e)?r:st(r,n(e))};var Pa=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i};var Ca=function(){return[]},Ra=Object.prototype.propertyIsEnumerable,Ia=Object.getOwnPropertySymbols,Aa=Ia?function(e){return null==e?[]:(e=Object(e),Pa(Ia(e),(function(t){return Ra.call(e,t)})))}:Ca;var Da=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};var ja=function(){return!1},Ba="object"==typeof exports&&exports&&!exports.nodeType&&exports,Fa=Ba&&"object"==typeof module&&module&&!module.nodeType&&module,Na=Fa&&Fa.exports===Ba?lt.Buffer:void 0,La=(Na?Na.isBuffer:void 0)||ja,Ma={};Ma["[object Float32Array]"]=Ma["[object Float64Array]"]=Ma["[object Int8Array]"]=Ma["[object Int16Array]"]=Ma["[object Int32Array]"]=Ma["[object Uint8Array]"]=Ma["[object Uint8ClampedArray]"]=Ma["[object Uint16Array]"]=Ma["[object Uint32Array]"]=!0,Ma["[object Arguments]"]=Ma["[object Array]"]=Ma["[object ArrayBuffer]"]=Ma["[object Boolean]"]=Ma["[object DataView]"]=Ma["[object Date]"]=Ma["[object Error]"]=Ma["[object Function]"]=Ma["[object Map]"]=Ma["[object Number]"]=Ma["[object Object]"]=Ma["[object RegExp]"]=Ma["[object Set]"]=Ma["[object String]"]=Ma["[object WeakMap]"]=!1;var Va=function(e){return _t(e)&&Wi(e.length)&&!!Ma[wt(e)]};var Ua=function(e){return function(t){return e(t)}},Ha="object"==typeof exports&&exports&&!exports.nodeType&&exports,qa=Ha&&"object"==typeof module&&module&&!module.nodeType&&module,Wa=qa&&qa.exports===Ha&&ct.process,za=function(){try{var e=qa&&qa.require&&qa.require("util").types;return e||Wa&&Wa.binding&&Wa.binding("util")}catch(e){}}(),Ga=za&&za.isTypedArray,Xa=Ga?Ua(Ga):Va,Ja=Object.prototype.hasOwnProperty;var $a=function(e,t){var n=Pt(e),r=!n&&Tt(e),o=!n&&!r&&La(e),i=!n&&!r&&!o&&Xa(e),a=n||r||o||i,s=a?Da(e.length,String):[],c=s.length;for(var u in e)!t&&!Ja.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Xi(u,c))||s.push(u);return s},Ka=Object.prototype;var Ya=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ka)};var Qa=function(e,t){return function(n){return e(t(n))}},Za=Qa(Object.keys,Object),es=Object.prototype.hasOwnProperty;var ts=function(e){if(!Ya(e))return Za(e);var t=[];for(var n in Object(e))es.call(e,n)&&"constructor"!=n&&t.push(n);return t};var ns=function(e){return zi(e)?$a(e):ts(e)};var rs=function(e){return Ta(e,ns,Aa)},os=Object.prototype.hasOwnProperty;var is=function(e,t,n,r,o,i){var a=1&n,s=rs(e),c=s.length;if(c!=rs(t).length&&!a)return!1;for(var u=c;u--;){var l=s[u];if(!(a?l in t:os.call(t,l)))return!1}var p=i.get(e),f=i.get(t);if(p&&f)return p==t&&f==e;var d=!0;i.set(e,t),i.set(t,e);for(var h=a;++u<c;){var v=e[l=s[u]],g=t[l];if(r)var m=a?r(g,v,l,t,e,i):r(v,g,l,e,t,i);if(!(void 0===m?v===g||o(v,g,n,r,i):m)){d=!1;break}h||(h="constructor"==l)}if(d&&!h){var b=e.constructor,y=t.constructor;b==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y||(d=!1)}return i.delete(e),i.delete(t),d},as=Qt(lt,"DataView"),ss=Qt(lt,"Promise"),cs=Qt(lt,"Set"),us="[object Map]",ls="[object Promise]",ps="[object Set]",fs="[object WeakMap]",ds="[object DataView]",hs=qt(as),vs=qt(ti),gs=qt(ss),ms=qt(cs),bs=qt(sn),ys=wt;(as&&ys(new as(new ArrayBuffer(1)))!=ds||ti&&ys(new ti)!=us||ss&&ys(ss.resolve())!=ls||cs&&ys(new cs)!=ps||sn&&ys(new sn)!=fs)&&(ys=function(e){var t=wt(e),n="[object Object]"==t?e.constructor:void 0,r=n?qt(n):"";if(r)switch(r){case hs:return ds;case vs:return us;case gs:return ls;case ms:return ps;case bs:return fs}return t});var ws=ys,_s="[object Arguments]",Ss="[object Array]",Es="[object Object]",Os=Object.prototype.hasOwnProperty;var ks=function(e,t,n,r,o,i){var a=Pt(e),s=Pt(t),c=a?Ss:ws(e),u=s?Ss:ws(t),l=(c=c==_s?Es:c)==Es,p=(u=u==_s?Es:u)==Es,f=c==u;if(f&&La(e)){if(!La(t))return!1;a=!0,l=!1}if(f&&!l)return i||(i=new da),a||Xa(e)?wa(e,t,n,r,o,i):xa(e,t,c,n,r,o,i);if(!(1&n)){var d=l&&Os.call(e,"__wrapped__"),h=p&&Os.call(t,"__wrapped__");if(d||h){var v=d?e.value():e,g=h?t.value():t;return i||(i=new da),o(v,g,n,r,i)}}return!!f&&(i||(i=new da),is(e,t,n,r,o,i))};var xs=function e(t,n,r,o,i){return t===n||(null==t||null==n||!_t(t)&&!_t(n)?t!=t&&n!=n:ks(t,n,r,o,e,i))};var Ts=function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var c=(s=n[o])[0],u=e[c],l=s[1];if(a&&s[2]){if(void 0===u&&!(c in e))return!1}else{var p=new da;if(r)var f=r(u,l,c,e,t,p);if(!(void 0===f?xs(l,u,3,r,p):f))return!1}}return!0};var Ps=function(e){return e==e&&!tt(e)};var Cs=function(e){for(var t=ns(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ps(o)]}return t};var Rs=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}};var Is=function(e){var t=Cs(e);return 1==t.length&&t[0][2]?Rs(t[0][0],t[0][1]):function(n){return n===e||Ts(n,e,t)}};var As=function(e,t){return null!=e&&t in Object(e)};var Ds=function(e,t,n){for(var r=-1,o=(t=_i(t,e)).length,i=!1;++r<o;){var a=Si(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Wi(o)&&Xi(a,o)&&(Pt(e)||Tt(e))};var js=function(e,t){return null!=e&&Ds(e,t,As)};var Bs=function(e,t){return jo(e)&&Ps(t)?Rs(Si(e),t):function(n){var r=Oi(n,e);return void 0===r&&r===t?js(n,e):xs(t,r,3)}};var Fs=function(e){return function(t){return null==t?void 0:t[e]}};var Ns=function(e){return function(t){return Ei(t,e)}};var Ls=function(e){return jo(e)?Fs(Si(e)):Ns(e)};var Ms=function(e){return"function"==typeof e?e:null==e?en:"object"==typeof e?Pt(e)?Bs(e[0],e[1]):Is(e):Ls(e)};var Vs=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1};var Us=function(e){return e!=e};var Hs=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1};var qs=function(e,t,n){return t==t?Hs(e,t,n):Vs(e,Us,n)};var Ws=function(e,t){return!!(null==e?0:e.length)&&qs(e,t,0)>-1};var zs=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1},Gs=cs&&1/Ea(new cs([,-0]))[1]==1/0?function(e){return new cs(e)}:un;var Xs=function(e,t,n){var r=-1,o=Ws,i=e.length,a=!0,s=[],c=s;if(n)a=!1,o=zs;else if(i>=200){var u=t?null:Gs(e);if(u)return Ea(u);a=!1,o=ya,c=new ma}else c=t?[]:s;e:for(;++r<i;){var l=e[r],p=t?t(l):l;if(l=n||0!==l?l:0,a&&p==p){for(var f=c.length;f--;)if(c[f]===p)continue e;t&&c.push(p),s.push(l)}else o(c,p,n)||(c!==s&&c.push(p),s.push(l))}return s};var Js,$s=function(e,t){return e&&e.length?Xs(e,Ms(t,2)):[]},Ks=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Ys=function(e,t){return null==e?void 0:e.contains(t)},Qs=function(e){var t=e.left,n=e.right,r=e.top,o=e.bottom;return{left:t<0?0:t,right:n<0?0:n,top:r<0?0:r,bottom:o>document.documentElement.clientHeight?document.documentElement.clientHeight:o}},Zs=function(e,t){var n=Qs(e),r=Qs(t);return n.top<r.bottom&&n.bottom>r.top&&n.left<r.right&&n.right>r.left},ec=function(e,t){return e.top>=t.top&&e.bottom<=t.bottom&&e.left>=t.left&&e.right<=t.right},tc=fi((function(e,t){return[.3*e,.3*t]})),nc=function(e){var t,n=e.elementFromPoint,r=e.covered,o=e.nodeToExclude;return n&&!r.isSameNode(n)&&!document.body.isSameNode(n)&&!Ys(n,r)&&!Ys(r,n)&&!function(e,t){return!!e&&(Ys(e,t)||t.isSameNode(e))}(o,n)&&!Ys(null===(t=document.getElementsByClassName("branding-wrapper"))||void 0===t?void 0:t[0],n)&&!n.classList.contains("rectangle-point")},rc=function(e,t){var n=document.querySelector(".inview-timers-wrapper"),r=[];return t.forEach((function(e){var t,n,o=(t=e[0],n=e[1],document.elementsFromPoint?document.elementsFromPoint(t,n):Array.from(document.msElementsFromPoint(t,n)));r.push.apply(r,o)})),Array.from(new Set(r)).filter((function(t){return nc({covered:e,elementFromPoint:t,nodeToExclude:n})}))},oc=function(e){var t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left}},ic=function(e){var t,n,r=rc(e,function(e,t){var n=Qs(e.getBoundingClientRect()),r=n.left,o=n.right,i=n.top,a=n.bottom,s=aa(r+2,o-2,t[0]),c=aa(i+2,a-2,t[1]);return s.reduce((function(e,t){return Ks(Ks([],e,!0),c.map((function(e){return[t,e]})),!0)}),[])}(e,tc(e.clientWidth,e.clientHeight)));if(r.length>0){var o=r.find((function(e){return e.id.includes("pushwoosh-popup")})),i=r.reduce((function(t,n){var r=function(e,t){for(var n=[],r=e;r.parentElement&&!r.parentElement.contains(t)&&r.parentElement.clientHeight*r.parentElement.clientWidth>=r.clientHeight*r.clientWidth;)n.push(r.parentElement),r=r.parentElement;return n}(n,e).reverse().find((function(e){return e.getBoundingClientRect().bottom>=0}));return Ks(Ks([],t,!0),[r||n],!1)}),[]);o&&(i=i.filter((function(e){return!e.contains(o)}))).push(o);var a=function(e){if(1===e.length)return e;for(var t=Ks([],e.slice(0),!0),n=function(e){var n=t[e],r=e,o=t.reduce((function(e,t,o){return n&&t&&Zs(t,n)&&r!==o?Ks(Ks([],e,!0),[{intersectedIndex:o,intersectedElement:t}],!1):e}),[]);if(o.length>0)for(var i=0;i<o.length;i++){var a=o[i],s=a.intersectedElement,c=a.intersectedIndex,u=s.top,l=s.right,p=s.bottom,f=s.left,d=n.top,h=n.right,v=n.bottom,g=n.left;if(ec(s,n)&&t.splice(c,1,null),u<d){var m={top:u,right:l,bottom:d,left:f};s.top=d,t.push(m)}l>h&&(m={top:u,right:l,bottom:p,left:h},s.right=h,t.push(m)),p>v&&(m={top:v,right:l,bottom:p,left:f},s.bottom=v,t.push(m)),f<g&&(m={top:u,right:g,bottom:p,left:f},s.left=g,t.push(m))}},r=0;r<t.length;r++)n(r);return t.filter((function(e){return!!e}))}(Array.from(new Set(i)).map(oc));a=$s(a,(function(e){return"".concat(e.top,".").concat(e.right,".").concat(e.bottom,".").concat(e.left)})),a=function(e,t){return e.filter((function(e){return Zs(e,t)}))}(a,oc(e)),location.search.includes("draw_rects=true")&&(t=a,n=document.querySelectorAll(".rectangle-point"),Array.from(n).forEach((function(e){return e.remove()})),t.forEach((function(e,t){var n=e.top,r=e.right,o=e.bottom,i=e.left,a=document.createElement("div");a.classList.add("rectangle-point"),a.style.position="fixed",a.style.zIndex="9999",a.style.border="3px dashed red",a.style.left="".concat(i,"px"),a.style.top="".concat(n,"px"),a.style.right="".concat(r,"px"),a.style.bottom="".concat(o,"px"),a.style.height="".concat(o-n,"px"),a.style.width="".concat(r-i,"px"),a.style.background="rgba(122, 122, 122, .4)",a.innerHTML="<span>".concat(t,"</span>"),document.body.append(a)})));var s=(a||[]).reduce((function(t,n){return t+function(e,t){var n=Qs(e),r=Qs(t),o=r.top,i=r.right,a=r.bottom,s=r.left,c=n.top,u=n.right,l=n.bottom,p=n.left,f=l-c,d=u-p,h=i-s,v=a-o;if(ec(r,n))return Math.round(v*h/(f*d)*100);if(ec(n,r))return 100;var g=0,m=0;return g=o<=c?a>=l?f:a-c:a>=l?l-o:v,m=s<=p?i>=u?d:i-p:i>=u?u-s:h,Math.round(g*m/(f*d)*100)}(oc(e),n)}),0);return Math.min(s,100)}return 0},ac=function(){function e(){this.subscribers={},this.observables={}}return e.prototype.stopCheckCovering=function(e){cancelIdleCallback(this.observables[e].idleCallbackId),delete this.observables[e]},e.prototype.subscribe=function(e,t){this.subscribers[e]=this.subscribers[e]||[],this.subscribers[e].push(t),this.observables[e]||(this.observables[e]=this.observables[e]||{idleCallbackId:null,isCoveringCheckPermitted:!1,coveringPercent:null},this.setCoveringCheckPermission(e),this.initIdleCallback(e))},e.prototype.unsubscribe=function(e,t){this.subscribers[e]=this.subscribers[e].filter((function(e){return e!==t})),this.subscribers[e].length<1&&this.stopCheckCovering(e)},e.prototype.initIdleCallback=function(e){var t=this;if(this.observables[e].isCoveringCheckPermitted){var n=document.getElementById(e),r=function(){t.emitCurrentState(e,ic(n)),requestIdleCallback(r)};this.observables[e].idleCallbackId=requestIdleCallback(r)}},e.prototype.setCoveringCheckPermission=function(e){this.observables[e].isCoveringCheckPermitted=f.some((function(t){return"begun_block_".concat(t)===e}))},e.prototype.emitCurrentState=function(e,t){this.subscribers[e].forEach((function(e){return e(t)}))},e}(),sc=function(){return sc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},sc.apply(this,arguments)},cc=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},uc=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},lc=".unbounded-banner-place",pc="[data-project-name='unbounded']",fc=function(){function e(e,t,n){var r=this;this._isRealBannerPlaceFound=!1,this._unboundedBannerThreshold={isEnabled:!1,value:aa(0,.9,.01).map((function(e){return Math.round(100*e)/100}))},this._coveringPercent=0,this.updateCoveringPercent=function(e){e!==r._coveringPercent&&(r._coveringPercent=e,r._observer.unobserve(r._viewableElement),r._observer.observe(r._viewableElement))},e&&"object"==typeof e&&1===e.nodeType&&e.parentElement&&"HTML"!==e.parentElement.nodeName?(this._ID=e.id||Re(),e.id=this._ID):e&&"string"==typeof e&&e.length>0?(this._ID=e,e=document.getElementById("".concat(this._ID))):e=null,(e||"string"==typeof this._ID)&&(this._viewableElement=e,this._div_ID=this._viewableElement.parentElement.id,this._setUnboundedBannerThreshold(),this._viewabilityBreakpoints=t.map((function(e){return new Li(e,r._viewableElement,r._ID,r._div_ID)})),"string"==typeof n?this._searcherID=n:"string"==typeof this._ID?this._searcherID=this._ID:this._searcherID="",this._timer=M.getInstance().init(100),this._searcherID=this._timer.subscribe({context:this,callback:this._trackViewableElement,ID:this._searcherID||void 0}),this.coveringWatcher.subscribe(this._viewableElement.id,this.updateCoveringPercent),this._watch())}return e.prototype.stopSearch=function(){this._timer.unsubscribe(this._searcherID)},e.prototype._trackViewableElement=function(){if(this._checkBannerExistingInDOM(),this._checkThatViewableElementFound(),this._isRealBannerPlaceFound)this.stopSearch();else{var e=this._viewableElement;this._attemptFindRealBannerPlace(),this._isRealBannerPlaceFound&&(this._observer.unobserve(e),this._observer.observe(this._viewableElement))}},e.prototype._watch=function(){var e=this;this._viewableElement.onclick=this.callViewPoint.bind(this),this._viewableElement.oncontextmenu=this.callViewPoint.bind(this);var t=null;this._unboundedBannerThreshold.isEnabled?(t=this._unboundedBannerThreshold.value,this._mutationObserver=new MutationObserver((function(t){for(var n=0,r=t;n<r.length;n++){var o=r[n],i=e._viewableElement.querySelector(lc);"childList"===o.type&&i&&i.querySelector(pc)&&(e._mutationObserver.disconnect(),e._observer.unobserve(e._viewableElement),e._observer.observe(e._viewableElement))}})),this._mutationObserver.observe(this._viewableElement,{childList:!0,subtree:!0})):t=this._viewabilityBreakpoints.map((function(e){return e.percent}));var n={root:null,rootMargin:"0px",threshold:t};this._observer=new IntersectionObserver((function(t){var n;e._checkBannerExistingInDOM(),e._checkThatViewableElementFound();var r=t&&t[0];e._viewabilityBreakpoints=e._viewabilityBreakpoints.filter((function(t){if(t.isUrlCalled)return!1;t.setViewableBanner(e._viewableElement);var n=(100*r.intersectionRatio-r.intersectionRatio*e._coveringPercent)/100;return r.isIntersecting&&e._isTresholdSatisfied(n,t.percent)&&e._isSizeSatisfied(e._viewableElement.clientWidth,e._viewableElement.clientHeight)&&e._isBannerRendered(r.target)?t.startTimer():t.isTimerStarted()&&t.stopTimer(),!0})),0===e._viewabilityBreakpoints.length&&(e.stopSearch(),e._observer.unobserve(e._viewableElement),null===(n=e._mutationObserver)||void 0===n||n.disconnect())}),sc({},n)),this._observer.observe(this._viewableElement)},e.prototype._checkBannerExistingInDOM=function(){document.body&&document.body.contains(this._viewableElement)||this._destroyViewAbility()},e.prototype._checkThatViewableElementFound=function(){this._viewableElement||(this._ID?this._viewableElement=document.getElementById(this._ID):this._destroyViewAbility())},e.prototype._destroyViewAbility=function(){var e;this._viewabilityBreakpoints.forEach((function(e){return e.stopTimer()})),this._viewabilityBreakpoints.length=0,this._observer.unobserve(this._viewableElement),null===(e=this._mutationObserver)||void 0===e||e.disconnect(),this.stopSearch()},e.prototype._attemptFindRealBannerPlace=function(){var e=Xe.getActualBannerPlace(this._viewableElement);e&&(this._viewableElement=e,this._isRealBannerPlaceFound=!0)},e.prototype._isTresholdSatisfied=function(e,t){return e>=t},e.prototype._isSizeSatisfied=function(e,t){return e>15&&t>15},e.prototype._isBannerRendered=function(e){if(this._unboundedBannerThreshold.isEnabled){var t=e.querySelector(lc);return!!t&&!!t.querySelector(pc)}return!0},e.prototype._setUnboundedBannerThreshold=function(){this._unboundedBannerThreshold.isEnabled=!!this._viewableElement.querySelector("script[src*=Unbounded]")},e.prototype.callViewPoint=function(){this._viewabilityBreakpoints=this._viewabilityBreakpoints.filter((function(e){return!e.isUrlCalled&&(e.startTimer(),!0)}))},cc([ce(Z.CoveringWatcher),uc("design:type",ac)],e.prototype,"coveringWatcher",void 0),e}(),dc=fc,hc=function(){function e(){this.timer=M.getInstance().init(100)}return e.prototype.create=function(e,t){var n,r=this,o=new Promise((function(o){var i;"string"==typeof(i="object"==typeof e?e:"AdFox_banner_".concat(e))&&((i=window.document.getElementById(i))||(i=window.document.getElementById("AdFox_iframe_".concat(e)))),i&&(n=r.timer.subscribe({context:r,callback:function(e,t){(e=Xe.getActualBannerPlace(e)||e).clientWidth*e.clientHeight>0&&e.clientWidth>15&&e.clientHeight>15&&(r.timer.unsubscribe(n),o(new dc(e,t,n)))},params:[i,t]}))}));return function(){r.timer.unsubscribe(n),o.then((function(e){return e.stopSearch()}))}},e}(),vc=hc,gc=function(e){return"object"==typeof e&&null!==e?(e.id||(e.id=Math.random().toString(36).replace(/[^a-z]+/g,"")),e.id):e},mc=function(){return mc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},mc.apply(this,arguments)},bc=function(){function e(){this.debugBase=-1!==window.location.href.indexOf("adfox_debug=1"),this.debugExtend=-1!==window.location.href.indexOf("adfox_debug=2"),this.nolimits=-1!==window.location.href.indexOf("adFox_nolimits=1"),this.viewAbility=new vc,this.stack={}}return e.prototype.updateBannersStack=function(e,t){e=gc(e),this.stack[e]=mc(mc({},this.stack[e]),t)},e}(),yc=o(9398),wc=o.n(yc),_c=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Sc=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Ec=function(){function e(e,t,n){void 0===n&&(n=!0);var r=this;this._bannerPlaceStartTime=0,this._isTimeToWatchFinite=!0,this._handleError=function(e){return{optionsB:r._optionsB,status:!1,reason:"Something went wrong in banner-rendering watcher: ".concat(e.message)}},this._wrapperID="object"==typeof e?e.id:e,this._optionsB=t,this._isTimeToWatchFinite=n,this._findMainBannerPlace(),this._isMainBannerPlaceFound()&&this._saveBannerSizes()}return Object.defineProperty(e.prototype,"mainBannerPlace",{get:function(){return this._mainBannerPlace},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"actualBannerPlace",{get:function(){return this._actualBannerPlace},enumerable:!1,configurable:!0}),e.prototype.start=function(){return _c(this,void 0,void 0,(function(){var e,t;return Sc(this,(function(n){switch(n.label){case 0:this._setTimerStartingPoint(),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this._watch()];case 2:return e=n.sent(),[3,4];case 3:return t=n.sent(),e=this._handleError(t),[3,4];case 4:return[2,e]}}))}))},e.prototype._watch=function(){return _c(this,void 0,void 0,(function(){var t,n,r;return Sc(this,(function(o){switch(o.label){case 0:return[4,wc()(e.CHECK_INTERVAL)];case 1:return o.sent(),this._attemptToFindActualBannerPlace(),document.getElementById(this._wrapperID)?this._isBannerDumb()?[2,{bannerPlace:this._mainBannerPlace,optionsB:this._optionsB,status:!1,reason:En.Empty}]:this.actualBannerPlace?(this._saveBannerSizes(),this._shouldContinueWatching()?[2,this._watch()]:(t=this._isBannerSizeAppropriate(),n=this._isWatchingTimeOver(),r=this._doesBegunBlockHaveAd(),n||t&&r?!n||t&&r?[2,{bannerPlace:this._mainBannerPlace,optionsB:this._optionsB,status:!0,actualBannerPlace:this._actualBannerPlace}]:[2,{optionsB:this._optionsB,status:!1,reason:r?En.NotRendered:En.NoBegunBlock}]:[2,this._watch()])):this._isTimeToFindBannerPlaceOver()?[2,{optionsB:this._optionsB,reason:En.PlaceNotFound,status:!1,nodeID:this._wrapperID}]:[2,this._watch()]:[2,{bannerPlace:this._mainBannerPlace,optionsB:this._optionsB,status:!1,reason:En.DoesNotExist}]}}))}))},e.prototype._shouldContinueWatching=function(){return this._checkBannerSizeChanged()&&!this._isWatchingTimeOver()},e.prototype._isBannerDumb=function(){return!this._doesBannerExist()},e.prototype._attemptToFindActualBannerPlace=function(){this._isMainBannerPlaceFound()?this._findActualBannerPlace():(this._findMainBannerPlace(),this._isMainBannerPlaceFound()&&this._findActualBannerPlace())},e.prototype._setTimerStartingPoint=function(){this._bannerPlaceStartTime=Date.now()},e.prototype._isMainBannerPlaceFound=function(){return!!this._mainBannerPlace},e.prototype._saveBannerSizes=function(){this._bannerPlaceWidth=this._actualBannerPlace.clientWidth,this._bannerPlaceHeight=this._actualBannerPlace.clientHeight},e.prototype._findMainBannerPlace=function(){this._actualBannerPlace=Ar(this._wrapperID)||void 0,this._mainBannerPlace=this._actualBannerPlace},e.prototype._findActualBannerPlace=function(){this._actualBannerPlace=this._findBannerAtRoot()||this._findBannerInsideWrapper()||this._actualBannerPlace},e.prototype._findBannerInsideWrapper=function(){for(var e=0,t=["div[id*='begun_block_']","div[id*='AdFox_banner_'] iframe","div[id*='AdFox_banner_'] img","div[class*='-banner-place'] > .is-link","div[class*='-banner-place'] > div[class*='-banner']"];e<t.length;e++){var n=t[e],r=this._actualBannerPlace.querySelector(n);if(r)return r}},e.prototype._findBannerAtRoot=function(){if(this._actualBannerPlace===this._mainBannerPlace)return Xe.getActualBannerPlace(this._mainBannerPlace)},e.prototype._doesBannerExist=function(){return!window.Begun.emptySSPResponses.hasOwnProperty("".concat(this._wrapperID,"_").concat(this._optionsB["begun-auto-pad"]))},e.prototype._checkBannerSizeChanged=function(){return this._bannerPlaceWidth!==this._actualBannerPlace.clientWidth||this._bannerPlaceHeight!==this._actualBannerPlace.clientHeight},e.prototype._isBannerSizeAppropriate=function(){var e;return this._mainBannerPlace.dataset.begunBlockRepeated?e=this._mainBannerPlace.querySelector("#".concat(this._actualBannerPlace.id)):(e=Xe.getActualBannerPlace(this._actualBannerPlace)||this._actualBannerPlace,this._actualBannerPlace=e),e.clientWidth>15&&e.clientHeight>15},e.prototype._doesBegunBlockHaveAd=function(){var e=this._mainBannerPlace.querySelector("#begun_block_".concat(this._optionsB["begun-block-id"]));return e&&e.children.length>0},e.prototype._isWatchingTimeOver=function(){var e=this._isTimeToWatchFinite?1e4:1/0;return Date.now()-this._bannerPlaceStartTime>e},e.prototype._isTimeToFindBannerPlaceOver=function(){return Date.now()-this._bannerPlaceStartTime>2e3},e.CHECK_INTERVAL=1e3/30,e}(),Oc=Ec,kc=function(e){return e&&e.feed},xc=function(){return xc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},xc.apply(this,arguments)},Tc=[Ge.BRANDING,Ge.FULLSCREEN],Pc=function(e){var t=e.status,n=e.viewTypes,r=(null==n?void 0:n.split(","))||[];return!t||Tc.some((function(e){return r.includes(e)}))},Cc=function(e){return xc(xc({},e),{canHide:Pc(e)})};!function(e){e.total="total",e.session="session"}(Js||(Js={}));var Rc,Ic,Ac=function(){function e(e){this.arrowCssRuleRegExp=/[#]{1}\{.+->.+[&]?.*\}/g,this.tpl=e||"",this.braces=/\{\{(.*?)}}/g}return e.prototype.evaluate=function(e){var t=this.tpl.match(this.arrowCssRuleRegExp);return null!==t&&t.length>0&&(e=this.unifyVariableObject(e)),this.tpl=this.tpl.replace(/[$#]\{([^$#}]+)}/gi,(function(t,n){return n.split("&")[0].split("->").reduce((function(e,t){return e[t]||""}),e)||n.split("&")[1]||""})),this.tpl},e.prototype.unifyVariableObject=function(e){for(var t in e)if(e.hasOwnProperty(t)&&t.indexOf(":")>0){var n=t.split(":");"object"==typeof e[n[0]]||(e[n[0]]={}),e[n[0]][n[1]]=e[t]}return e},e}(),Dc=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},jc=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Bc=aa(0,1.01,.01).map((function(e){return Math.round(100*e)/100})),Fc=function(){function e(e,t){var n=this;this._emitter=t,this.indexScss=o(3249),this.indexPug=o(4025),this.bannerLinePug=o(2369),this.stickerPug=o(7285),this.defaultSettings={defaultViewedPercent:.5,customViewedPercent:0,thresholdViewedTime:0,thresholdNoHoverTime:0,removeAfterResolve:!1,demo:!1,showPanel:-1!==location.search.indexOf("view_time=true")},this.indicators={panel:null,line:null,id:null,recording:null,inviewTimer:null,viewedIndicator:null,viewedIndicatorNotViewed:null,viewedIndicatorViewed:null,nohoverTimer:null,nohoverIndicator:null,nohoverIndicatorNotViewed:null,nohoverIndicatorViewed:null,reloadedIndicator:null,reloadedIndicatorNotViewed:null,reloadedIndicatorViewed:null,directionIndicator:null,sticker:null,stickerInView:null,stickerInViewTimer:null,stickerNoHoverTimer:null},this.inViewTimerStart=Date.now(),this.inViewPrevTimestamp=Date.now(),this.noHoverTimerStart=Date.now(),this.noHoverPrevTimestamp=Date.now(),this.inViewTimerCount=0,this.inViewSessionTime=0,this.noHoverTimerCount=0,this.noHoverTimerSessionTime=0,this._coveringPercent=0,this._updateCoveringPercent=function(e){n._coveringPercent!==e&&(n._coveringPercent=e,n._observer.unobserve(n.params.target),n._observer.observe(n.params.target))},this._handleDemoMode(e.demo),this.params=Object.assign(this.defaultSettings,e),this.params.target&&(this.preInit(),this.params.showPanel&&this.init(),this.postInit())}return e.prototype.attemptRefresh=function(e){var t=e.areaThreshold,n=e.timeThreshold,r=e.targetTimeThreshold;if(!this.isRefreshStarted){var o=this.getInViewTime(r),i=this.calculateInView(jr(this.params.target));if(o>=n&&i>=t)return this.isRefreshStarted=!0,this._manualRefreshPromiseResolve("manualRefresh"),this.inViewTimerResolve(),this.noHoverTimerResolve(),!0}return!1},e.prototype.preInit=function(){var t=this;this._observer=new IntersectionObserver((function(e){var n=e&&e[0];t._inViewBannerPercent=100*n.intersectionRatio-n.intersectionRatio*t._coveringPercent}),{root:null,rootMargin:"0px",threshold:Bc}),this._observer.observe(this.params.target),this.params.target_id="".concat(this.params.target.id,"-").concat(Math.random().toString(36).replace(/[^a-z]+/g,"")),this.inViewTimerPromise=new Promise((function(e,n){t.inViewTimerReject=n,t.inViewTimerResolve=e})),this.noHoverTimerPromise=new Promise((function(e,n){t.noHoverTimerReject=n,t.noHoverTimerResolve=e})),this._manualRefreshPromise=new Promise((function(e,n){t._manualRefreshPromiseResolve=e,t._manualRefreshPromiseReject=n})),this.promise=new Promise((function(e,n){t.reject=n,t.resolve=e,Promise.race([t.inViewTimerPromise,t.noHoverTimerPromise]).then((function(){if(t.indicators.sticker){var e=Re(),n=Vr({rules:{background:"hsl(50, 100%, 33%)"},nonce:t._config.getConfigValue("STYLE_NONCE_VALUE"),className:e});t.indicators.sticker.parentElement.appendChild(n),t.indicators.sticker.classList.add(e)}})),Promise.all([t.inViewTimerPromise,t.noHoverTimerPromise]).then((function(){if(t.indicators.sticker){var n=Re(),r=Vr({rules:{background:"hsl(100, 100%, 33%)"},nonce:t._config.getConfigValue("STYLE_NONCE_VALUE"),className:n});t.indicators.sticker.parentElement.appendChild(r),t.indicators.sticker.classList.add(n)}t.params.removeAfterResolve?e():e(t._manualRefreshPromise)})).catch(n)})),e.timer.errorHandler=this.reject},e.prototype.init=function(){if(this.indicators.panel=this.indicators.panel||window.document.querySelector(".inview-timers-wrapper"),!this.indicators.panel){var t=window.document.createElement("div");t.className="inview-timers-wrapper",t.innerHTML=new Ac(this.indexPug).evaluate({}),this.indicators.panel=window.document.body.appendChild(t);var n=window.document.createElement("style"),r=new Ac(this.indexScss).evaluate({});void 0!==n.textContent?n.textContent=r:n.innerText=r,window.document.body.appendChild(n)}if(this.indicators.panel){var o=this.idOf(e.bannerSymbolIndex);e.bannerSymbolIndex+=1;var i=window.document.createElement("div");if(i.className="inview-timers__row",i.innerHTML=new Ac(this.bannerLinePug).evaluate({symbol:o}),this.indicators.panel.appendChild(i),this.indicators.line=i,this.indicators.id=i.querySelector(".is-banner-id"),this.indicators.recording=i.querySelector(".is-recording-flag"),this.indicators.inviewTimer=i.querySelector(".is-inview-time"),this.indicators.viewedIndicator=i.querySelector(".is-viewed-indicator"),this.indicators.viewedIndicatorNotViewed=i.querySelector(".is-viewed-indicator .not-viewed-icon"),this.indicators.viewedIndicatorViewed=i.querySelector(".is-viewed-indicator .viewed-icon"),this.indicators.nohoverTimer=i.querySelector(".is-nohover-time"),this.indicators.nohoverIndicator=i.querySelector(".is-nohover-indicator"),this.indicators.nohoverIndicatorNotViewed=i.querySelector(".is-nohover-indicator .not-viewed-icon"),this.indicators.nohoverIndicatorViewed=i.querySelector(".is-nohover-indicator .viewed-icon"),this.indicators.reloadedIndicator=i.querySelector(".is-reloaded-indicator"),this.indicators.reloadedIndicatorNotViewed=i.querySelector(".is-reloaded-indicator .not-viewed-icon"),this.indicators.reloadedIndicatorViewed=i.querySelector(".is-reloaded-indicator .viewed-icon"),this.indicators.directionIndicator=i.querySelector(".is-direction-indicator svg"),this.params.removeAfterResolve)try{this.indicators.reloadedIndicatorNotViewed.classList.toggle("is-visible"),this.indicators.reloadedIndicatorViewed.classList.toggle("is-visible")}catch(e){}var a=window.document.createElement("div");a.className="inviewtime-sticker",a.innerHTML=new Ac(this.stickerPug).evaluate({symbol:o}),this.indicators.sticker=a,this.indicators.stickerInView=a.querySelector(".inviewtime-sticker__inview"),this.indicators.stickerInViewTimer=a.querySelector(".inviewtime-sticker__inview-timer"),this.indicators.stickerNoHoverTimer=a.querySelector(".inviewtime-sticker__nohovertimer"),this._appendSticker(this.params.target,a)}},e.prototype.postInit=function(){var e=this;this.inViewTimerCount=0,this.noHoverTimerCount=0,this.browserIsActive=!0,this.inViewDone=!1,this.inViewActivity=!1,this.noHoverDone=!1,this.bannerWasUnderHover=!1,this.bannerIsUnderHover=!1,this.params.target.addEventListener("mouseenter",(function(){e.bannerIsUnderHover=!0})),this.params.target.addEventListener("mouseleave",(function(){e.bannerIsUnderHover=!1})),window.document.addEventListener("visibilitychange",this.checkBrowserWindowActivity.bind(this)),window.document.addEventListener("mozvisibilitychange",this.checkBrowserWindowActivity.bind(this)),window.document.addEventListener("webkitvisibilitychange",this.checkBrowserWindowActivity.bind(this)),window.document.addEventListener("msvisibilitychange",this.checkBrowserWindowActivity.bind(this)),window.addEventListener("pageshow",this.checkBrowserWindowActivity.bind(this)),window.addEventListener("pagehide",this.checkBrowserWindowActivity.bind(this)),window.addEventListener("focus",this.checkBrowserWindowActivity.bind(this)),window.addEventListener("blur",this.checkBrowserWindowActivity.bind(this))},e.prototype.checkBrowserWindowActivity=function(e){var t={focus:!0,focusin:!0,pageshow:!0,blur:!1,focusout:!1,pagehide:!1},n=e||window.event;n.type in t?this.browserIsActive=t[n.type]:this.browserIsActive=!document.hidden,this.noHoverPrevTimestamp=Date.now(),this.inViewPrevTimestamp=Date.now(),this.inViewTimerStart=Date.now(),this.noHoverTimerStart=Date.now()},e.prototype.idOf=function(e){return(e>=26?this.idOf((e/26>>0)-1):"")+"ABCDEFGHIJKLMNOPQRSTUVWXYZ"[e%26>>0]},e.prototype.calculateInView=function(e){var t,n=this;if(this.indicators.directionIndicator){var r=(e.top-.5*window.innerHeight)/(void 0===t&&(t=window),Mi(t)?Math.max(t.document.body.scrollHeight,t.document.body.clientHeight,t.document.body.offsetHeight,t.document.documentElement.scrollHeight,t.document.documentElement.offsetHeight,t.document.documentElement.clientHeight):NaN);["webkitTransform","MozTransform","msTransform","OTransform","transform"].forEach((function(e){n.indicators.directionIndicator.style[e]="rotate(".concat(90*-r,"deg)")}))}if(this.indicators.recording&&(this.indicators.recording.innerHTML="".concat(Math.round(this._inViewBannerPercent),"%"),this.indicators.stickerInView.innerHTML="&nbsp;".concat(this.indicators.recording.innerHTML,"&nbsp;|")),this.indicators.line){var o="hsl(".concat(Math.round(this._inViewBannerPercent),", 100%, ").concat(Math.round(this._inViewBannerPercent/3),"%)"),i=Re(),a=Vr({className:i,rules:{color:o,fill:o},nonce:this._config.getConfigValue("STYLE_NONCE_VALUE")});this.indicators.line.classList.add(i),this.indicators.line.parentElement.appendChild(a)}return this._inViewBannerPercent},e.prototype.calculateInViewActivity=function(){if(Ar(this.params.target,window.document)){var e=void 0;e=this.params.customViewedPercent?.01*this.params.customViewedPercent:this.params.defaultViewedPercent;var t=jr(this.params.target),n=this.calculateInView(t)||0;return!1===this.inViewActivity?(this.inViewPrevTimestamp=Date.now(),this.inViewTimerStart=Date.now(),this.noHoverTimerStart=Date.now(),this._recalcNoHoverTotalTime(),.01*n>=e):(this._recalcNoHoverTotalTime(),.01*n<e?(this.inViewPrevTimestamp=Date.now(),this.inViewTimerStart=Date.now(),this.noHoverTimerStart=Date.now(),!1):(this.inViewTimerCount+=Date.now()-this.inViewPrevTimestamp,this.inViewPrevTimestamp=Date.now(),!0))}return!1},e.prototype.calculateNoHoverActivity=function(){return this.bannerWasUnderHover?!this.bannerIsUnderHover||(this.noHoverTimerStart=Date.now(),!1):(this.noHoverTimerStart=Date.now(),!this.bannerIsUnderHover)},e.prototype.clean=function(){var t;null===(t=this._observer)||void 0===t||t.disconnect(),this._coveringWatcher.unsubscribe(this.params.target.id,this._updateCoveringPercent),e.timer.unsubscribe(this._ID),this.indicators.line&&this.indicators.line.parentNode.removeChild(this.indicators.line),this.indicators.sticker&&this.indicators.sticker.parentNode&&this.indicators.sticker.parentNode.removeChild(this.indicators.sticker)},e.prototype.formatTimer=function(e,t){return t?"".concat(this.formatTime(e),"<hr/>").concat(this.formatTime(t)):"".concat(this.formatTime(e))},e.prototype.formatTime=function(e){var t=~~(e/3600),n=~~(e%3600/60),r=e%60,o="";return o=t?"".concat(t,":").concat(this.padZero(n),":").concat(this.padZero(r)):n?"".concat(n,":").concat(this.padZero(r)):"".concat(r.toFixed(r>=10?1:2)),"&nbsp;".concat(o,"&nbsp;")},e.prototype.padZero=function(e){return"".concat(e=~~e).length<2?"0".concat(e):e},e.prototype.getInViewTime=function(e){var t;switch(e){case Js.total:t=this.inViewTimerCount;break;case Js.session:default:t=this.browserIsActive?Date.now()-this.inViewTimerStart:0}return parseFloat((.001*t).toFixed(2))},e.prototype._getNoHoverTime=function(e){var t;if("total"===e)t=this.noHoverTimerCount;else t=this.bannerIsUnderHover||!this.browserIsActive?0:Date.now()-this.noHoverTimerStart;return parseFloat((.001*t).toFixed(2))},e.prototype.canCleanTimer=function(){if(this._selfDestructionTime){if((new Date).getTime()-this._selfDestructionTime.getTime()>1e3)return!0}else this._selfDestructionTime=new Date;return!1},e.prototype._toggleViewedIndicator=function(e){this.indicators.viewedIndicatorViewed&&this.indicators.viewedIndicatorViewed.classList[e?"add":"remove"]("is-visible"),this.indicators.viewedIndicatorNotViewed&&this.indicators.viewedIndicatorNotViewed.classList[e?"remove":"add"]("is-visible")},e.prototype._toggleNoHoverIndicator=function(e){this.indicators.nohoverIndicatorViewed&&this.indicators.nohoverIndicatorViewed.classList[e?"add":"remove"]("is-visible"),this.indicators.nohoverIndicatorNotViewed&&this.indicators.nohoverIndicatorNotViewed.classList[e?"remove":"add"]("is-visible")},e.prototype._handleDemoMode=function(e){e&&(this.defaultSettings.thresholdViewedTime=1,this.defaultSettings.thresholdNoHoverTime=1)},e.prototype._fixStickerPosition=function(){var e=this,t=this.indicators.sticker.parentElement.getBoundingClientRect(),n=this.indicators.sticker.getBoundingClientRect(),r="".concat(Math.min(t.height-n.height,-Math.min(t.top,0)),"px"),o="".concat(Math.min(t.width-n.width,-Math.min(t.left,0)),"px");["webkitTransform","MozTransform","msTransform","OTransform","transform"].forEach((function(t){e.indicators.sticker.style[t]="translate(".concat(o,", ").concat(r,")")}))},e.prototype._startTimer=function(){this._coveringWatcher.subscribe(this.params.target.id,this._updateCoveringPercent),this._ID=e.timer.subscribe({callback:this._watch,context:this,params:[]})},e.prototype._emitCurrentState=function(){this._emitter.dispatch("inView",this.params.adContainerID,null,[{actualTarget:this.params.target,currentInViewPercent:this._inViewBannerPercent,totalInViewTime:this.getInViewTime(Js.total),sessionInViewTime:this.getInViewTime(Js.session),noHoverTime:this._getNoHoverTime("session")}])},e.prototype._watch=function(){},e.prototype._recalcNoHoverTotalTime=function(){this.calculateNoHoverActivity()?(this.noHoverTimerCount+=Date.now()-this.noHoverPrevTimestamp,this.noHoverPrevTimestamp=Date.now()):(this.noHoverTimerCount=0,this.noHoverPrevTimestamp=Date.now())},e.prototype._appendSticker=function(e,t){"IFRAME"!==e.tagName&&"IMG"!==e.tagName?(Qr(this.params.target),e.appendChild(t)):(Qr(this.params.target.parentElement),e.parentElement.insertBefore(t,e))},e.bannerSymbolIndex=0,e.timer=M.getInstance().init(100),Dc([ce(Z.CoveringWatcher),jc("design:type",ac)],e.prototype,"_coveringWatcher",void 0),Dc([ce(Z.Config),jc("design:type",Object)],e.prototype,"_config",void 0),e}(),Nc=Fc,Lc=(Rc=function(e,t){return Rc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Rc(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Rc(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Mc=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._startTimer(),r}return Lc(t,e),t.prototype._watch=function(){if(this.params.target.clientWidth<15||this.params.target.clientHeight<15)this.canCleanTimer()&&this.clean();else{if(this.indicators.sticker&&this._fixStickerPosition(),this.browserIsActive&&(this.inViewActivity=this.calculateInViewActivity(),this.inViewActivity)){var e=this.getInViewTime();if(this.inViewDone||(this.indicators.nohoverTimer&&(this.indicators.inviewTimer.innerHTML=this.formatTimer(e,this.params.thresholdViewedTime),this.params.thresholdViewedTime?this.indicators.stickerInViewTimer.innerHTML="".concat(this.indicators.inviewTimer.innerHTML.replace("<","|<"),"|"):this.indicators.stickerInViewTimer.innerHTML="".concat(this.indicators.inviewTimer.innerHTML,"|")),0!==this.params.thresholdViewedTime&&e>=this.params.thresholdViewedTime&&(this.inViewDone=!0,this.inViewTimerResolve(),this.noHoverDone&&this.noHoverTimerResolve(),this._toggleViewedIndicator(!0))),this.bannerWasUnderHover=this.calculateNoHoverActivity(),this.bannerWasUnderHover){if(!this.noHoverDone){var t=this._getNoHoverTime();this.indicators.nohoverTimer&&(this.indicators.nohoverTimer.innerHTML=this.formatTimer(t,this.params.thresholdNoHoverTime),this.indicators.stickerNoHoverTimer.innerHTML=this.indicators.nohoverTimer.innerHTML),0!==this.params.thresholdNoHoverTime&&t>=this.params.thresholdNoHoverTime&&(this.noHoverDone=!0,this.inViewDone&&this.noHoverTimerResolve(),this._toggleNoHoverIndicator(!0))}}else this.noHoverDone=!1,this._toggleNoHoverIndicator(!1)}this._emitCurrentState()}},t}(Nc),Vc=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Uc=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._startTimer(),r}return Vc(t,e),t.prototype._watch=function(){if(this.params.target.clientWidth<15||this.params.target.clientHeight<15)this.canCleanTimer()&&this.clean();else if(this.indicators.sticker&&this._fixStickerPosition(),this.browserIsActive&&(this.inViewActivity=this.calculateInViewActivity(),this.inViewActivity)){var e=this.getInViewTime();if(this.indicators.nohoverTimer&&(this.indicators.inviewTimer.innerHTML=this.formatTimer(e),this.params.thresholdViewedTime?this.indicators.stickerInViewTimer.innerHTML=this.indicators.inviewTimer.innerHTML.replace("<","|<"):this.indicators.stickerInViewTimer.innerHTML="".concat(this.indicators.inviewTimer.innerHTML,"|")),0!==this.params.thresholdViewedTime&&e>=this.params.thresholdViewedTime&&(this._toggleViewedIndicator(!0),this.inViewDone=!0,this.inViewTimerResolve(),this.noHoverDone&&this.noHoverTimerResolve()),this.bannerWasUnderHover=this.calculateNoHoverActivity(),this.bannerWasUnderHover){var t=this._getNoHoverTime();this.indicators.nohoverTimer&&(this.indicators.nohoverTimer.innerHTML=this.formatTimer(t),this.indicators.stickerNoHoverTimer.innerHTML=this.indicators.nohoverTimer.innerHTML),0!==this.params.thresholdNoHoverTime&&t>=this.params.thresholdNoHoverTime&&(this._toggleNoHoverIndicator(!0),this.inViewDone&&this.noHoverTimerResolve(),this._toggleNoHoverIndicator(!0))}else this.noHoverDone=!1,this._toggleNoHoverIndicator(!1)}this._emitCurrentState()},t}(Nc),Hc=function(e,t){return e.demo?new Uc(e,t):new Mc(e,t)},qc=function(){return qc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},qc.apply(this,arguments)},Wc=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},zc=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Gc=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Xc=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Jc=$(o(4772));!function(e){e.BANNER="banner",e.BLOCK="block"}(Ic||(Ic={}));var $c=function(){function e(){this.VIEW_DEMO="view_demo=true",this.inViewTimerReloadCounter={}}return e.prototype.startInViewTimer=function(e){var t=e.adWrapperID,n=e.sspOptions,r=e.blockOptions,o=e.bannerPlace,i=e.impressionID;return Gc(this,void 0,void 0,(function(){var e,a,s,c,u,l;return Xc(this,(function(p){switch(p.label){case 0:e=r["begun-block-id"],p.label=1;case 1:return p.trys.push([1,6,,7]),a=gc(t),s=this.getReloadingSettings({impressionID:i,blockOptions:r}),c=void 0,s?(u=!1,s.settings.nonReloadable&&(u=this.isNonReloadablePlace(i,s.settings.nonReloadable)),[4,this.initInViewTimerWithSettings(s,{adWrapperID:a,bannerPlace:o,blockID:e,nonReloadable:u})]):[3,3];case 2:return c=p.sent(),[3,5];case 3:return[4,this.initInViewTimerWithoutSettings(a,o)];case 4:c=p.sent(),p.label=5;case 5:return c?[2,this.adInitializer.ssp(a,n,qc(qc({},r),{forceNewSession:!0}))]:[3,7];case 6:return l=p.sent(),Jc.log(500,"Error during InViewTimerStarter execution",{blockID:e,Error:l}),[3,7];case 7:return[2]}}))}))},e.prototype.initInViewTimerWithSettings=function(e,t){var n=t.adWrapperID,r=t.bannerPlace,o=t.blockID,i=t.nonReloadable;return Gc(this,void 0,void 0,(function(){var t,a,s,c=this;return Xc(this,(function(u){return e.settingsType===Ic.BANNER?(a=qc({target:r,removeAfterResolve:!0,adContainerID:n,demo:le(window).includes(this.VIEW_DEMO)},e.settings),s=Hc(a,this.begunAutocontext.Callbacks),this.adInitializer.inViewTimers[n]=s,[2,s.promise.then((function(e){return c.checkRefreshAvailability({doesInViewTimerParamsExist:!0,inViewTimerResolveValue:e,nodeID:n,nonReloadable:i})}))]):e.settingsType===Ic.BLOCK?(void 0===this.inViewTimerReloadCounter[o]&&(this.inViewTimerReloadCounter[o]=e.settings&&e.settings.inViewTimerReloadCounter||15),t=this.inViewTimerReloadCounter[o]>0,a=qc({target:r,removeAfterResolve:t,adContainerID:n,demo:le(window).includes(this.VIEW_DEMO)},e.settings),s=Hc(a,this.begunAutocontext.Callbacks),this.adInitializer.inViewTimers[n]=s,[2,s.promise.then((function(e){return!!c.checkRefreshAvailability({doesInViewTimerParamsExist:t,inViewTimerResolveValue:e,nodeID:n,nonReloadable:i})&&(c.inViewTimerReloadCounter[o]-=1,!0)}))]):[2]}))}))},e.prototype.initInViewTimerWithoutSettings=function(e,t){return Gc(this,void 0,void 0,(function(){var n,r,o=this;return Xc(this,(function(i){return n={target:t,removeAfterResolve:!1,adContainerID:e,demo:le(window).includes(this.VIEW_DEMO)},r=Hc(n,this.begunAutocontext.Callbacks),this.adInitializer.inViewTimers[e]=r,[2,r.promise.then((function(t){return o.checkRefreshAvailability({doesInViewTimerParamsExist:!1,inViewTimerResolveValue:t,nodeID:e})}))]}))}))},e.prototype.getReloadingSettings=function(e){var t=e.impressionID,n=e.blockOptions,r=this.getBannerReloadingSettings(t);if(r)return{settings:r,settingsType:Ic.BANNER};var o=this.getPlatformBlockReloadingSettings(n)||this.getBlockReloadingSettings(t);return o?{settings:o,settingsType:Ic.BLOCK}:void 0},e.prototype.checkRefreshAvailability=function(e){var t=e.doesInViewTimerParamsExist,n=e.inViewTimerResolveValue,r=e.nodeID,o=e.nonReloadable;return(t||"manualRefresh"===n)&&!(void 0!==o&&o)&&!this.syncShow.isSessionBanner({nodeID:r})},e.prototype.getBannerReloadingSettings=function(e){if(e){var t,n,r=(t=this.begunAutocontext.savedFeeds[e].feed,void 0===(n=this.store.get("".concat(e,".nbanner")))&&(n=0),t&&t.banners&&t.banners.graph&&t.banners.graph[n]&&"object"==typeof t.banners.graph[n]&&t.banners.graph[n].frontend_params&&t.banners.graph[n].frontend_params.reload_thresholds);return r||void 0}},e.prototype.getBlockReloadingSettings=function(e){if(e)return(this.begunAutocontext.savedFeedsOptions[e]||{}).inViewTimer},e.prototype.getPlatformBlockReloadingSettings=function(e){return"object"==typeof e.startInViewTimer&&e.startInViewTimer||void 0},e.prototype.isNonReloadablePlace=function(e,t){var n=this.store.get("".concat(e,".nbanner"))||0,r=this.begunAutocontext.savedFeeds[e].feed.banners.graph[n].user_id;return t.some((function(e){return r===Number(e)}))},Wc([ce(Z.BegunAutocontext),zc("design:type",Object)],e.prototype,"begunAutocontext",void 0),Wc([ce(Z.SyncShow),zc("design:type",Ai)],e.prototype,"syncShow",void 0),Wc([ce(Z.Store),zc("design:type",Object)],e.prototype,"store",void 0),Wc([ce(Z.MethodsInitializer),zc("design:type",Object)],e.prototype,"adInitializer",void 0),e}(),Kc=$c,Yc=function(e){le(window).includes("capirs_log_statuses")&&console.log(e)},Qc=function(){return Qc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Qc.apply(this,arguments)},Zc=function(e){var t=parseInt(void 0,10);if(!t||0===t)return Qc({},e);var n=e["begun-misc"]||0;return Qc(Qc({},e),{"begun-misc":t<<4|n})},eu=function(e,t){return function(n,r,o){var i=o.value;o.value=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var a=n[e];return!a||a.calledMethod&&!t||(a.calledMethod=r),i.apply(this,n)}}},tu=function(){return tu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},tu.apply(this,arguments)},nu=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},ru=function(e,t,n){var r=n.value;n.value=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[2],o=tu(tu({},n),{wipeBeforeRender:"boolean"!=typeof n.wipeBeforeRender||n.wipeBeforeRender,wipeImmediately:"boolean"!=typeof n.wipeImmediately||n.wipeImmediately});return r.call.apply(r,nu(nu(nu([this],e.slice(0,2),!1),[o],!1),e.slice(3),!1))}};var ou=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e};var iu=function(e,t,n){"__proto__"==t&&Zt?Zt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},au=Object.prototype.hasOwnProperty;var su=function(e,t,n){var r=e[t];au.call(e,t)&&Go(r,n)&&(void 0!==n||t in e)||iu(e,t,n)};var cu=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],c=r?r(n[s],e[s],s,n,e):void 0;void 0===c&&(c=e[s]),o?iu(n,s,c):su(n,s,c)}return n};var uu=function(e,t){return e&&cu(t,ns(t),e)};var lu=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},pu=Object.prototype.hasOwnProperty;var fu=function(e){if(!tt(e))return lu(e);var t=Ya(e),n=[];for(var r in e)("constructor"!=r||!t&&pu.call(e,r))&&n.push(r);return n};var du=function(e){return zi(e)?$a(e,!0):fu(e)};var hu=function(e,t){return e&&cu(t,du(t),e)},vu="object"==typeof exports&&exports&&!exports.nodeType&&exports,gu=vu&&"object"==typeof module&&module&&!module.nodeType&&module,mu=gu&&gu.exports===vu?lt.Buffer:void 0,bu=mu?mu.allocUnsafe:void 0;var yu=function(e,t){if(t)return e.slice();var n=e.length,r=bu?bu(n):new e.constructor(n);return e.copy(r),r};var wu=function(e,t){return cu(e,Aa(e),t)},_u=Qa(Object.getPrototypeOf,Object),Su=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)st(t,Aa(e)),e=_u(e);return t}:Ca;var Eu=function(e,t){return cu(e,Su(e),t)};var Ou=function(e){return Ta(e,du,Su)},ku=Object.prototype.hasOwnProperty;var xu=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&ku.call(e,"index")&&(n.index=e.index,n.input=e.input),n};var Tu=function(e){var t=new e.constructor(e.byteLength);return new _a(t).set(new _a(e)),t};var Pu=function(e,t){var n=t?Tu(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},Cu=/\w*$/;var Ru=function(e){var t=new e.constructor(e.source,Cu.exec(e));return t.lastIndex=e.lastIndex,t},Iu=pt?pt.prototype:void 0,Au=Iu?Iu.valueOf:void 0;var Du=function(e){return Au?Object(Au.call(e)):{}};var ju=function(e,t){var n=t?Tu(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var Bu=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return Tu(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return Pu(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ju(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return Ru(e);case"[object Symbol]":return Du(e)}};var Fu=function(e){return"function"!=typeof e.constructor||Ya(e)?{}:rt(_u(e))};var Nu=function(e){return _t(e)&&"[object Map]"==ws(e)},Lu=za&&za.isMap,Mu=Lu?Ua(Lu):Nu;var Vu=function(e){return _t(e)&&"[object Set]"==ws(e)},Uu=za&&za.isSet,Hu=Uu?Ua(Uu):Vu,qu="[object Arguments]",Wu="[object Function]",zu="[object Object]",Gu={};Gu[qu]=Gu["[object Array]"]=Gu["[object ArrayBuffer]"]=Gu["[object DataView]"]=Gu["[object Boolean]"]=Gu["[object Date]"]=Gu["[object Float32Array]"]=Gu["[object Float64Array]"]=Gu["[object Int8Array]"]=Gu["[object Int16Array]"]=Gu["[object Int32Array]"]=Gu["[object Map]"]=Gu["[object Number]"]=Gu[zu]=Gu["[object RegExp]"]=Gu["[object Set]"]=Gu["[object String]"]=Gu["[object Symbol]"]=Gu["[object Uint8Array]"]=Gu["[object Uint8ClampedArray]"]=Gu["[object Uint16Array]"]=Gu["[object Uint32Array]"]=!0,Gu["[object Error]"]=Gu[Wu]=Gu["[object WeakMap]"]=!1;var Xu=function e(t,n,r,o,i,a){var s,c=1&n,u=2&n,l=4&n;if(r&&(s=i?r(t,o,i,a):r(t)),void 0!==s)return s;if(!tt(t))return t;var p=Pt(t);if(p){if(s=xu(t),!c)return gn(t,s)}else{var f=ws(t),d=f==Wu||"[object GeneratorFunction]"==f;if(La(t))return yu(t,c);if(f==zu||f==qu||d&&!i){if(s=u||d?{}:Fu(t),!c)return u?Eu(t,hu(s,t)):wu(t,uu(s,t))}else{if(!Gu[f])return i?t:{};s=Bu(t,f,c)}}a||(a=new da);var h=a.get(t);if(h)return h;a.set(t,s),Hu(t)?t.forEach((function(o){s.add(e(o,n,r,o,t,a))})):Mu(t)&&t.forEach((function(o,i){s.set(i,e(o,n,r,i,t,a))}));var v=p?void 0:(l?u?Ou:rs:u?du:ns)(t);return ou(v||t,(function(o,i){v&&(o=t[i=o]),su(s,i,e(o,n,r,i,t,a))})),s};var Ju,$u=function(e){return Xu(e,5)},Ku=function(e,t){var n=$u(e);return(null==t?void 0:t.pageNumber)&&Number(t.pageNumber)>0?n.pageNumber=Number(t.pageNumber):n.pageNumber=0,n},Yu=["gazeta.ru","auto.rambler.ru","doctor.rambler.ru","finance.rambler.ru","games.rambler.ru","kino.rambler.ru","news.rambler.ru","sport.rambler.ru","travel.rambler.ru","weekend.rambler.ru","woman.rambler.ru","horoscopes.rambler.ru","m.horoscopes.rambler.ru","weather.rambler.ru","m.weather.rambler.ru"],Qu=function(e,t){var n,r;void 0===t&&(t={}),e.params=e.params||{};var o,i,a,s,c=$u(t);c.puid42=function(e){void 0===e&&(e=1e5);var t=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return t?t.downlink>e?void 0:t.downlink:void 0}(),c.pli=t.pli?t.pli:"a",c.plp=t.plp?t.plp:"a",c.pop=t.pop?t.pop:"a",o=new URL(le(window)),i=o.hostname,a=function(e,t){for(var n=!1,r=0;r<e.length;r++)if(t.includes(e[r])){n=!0;break}return n}(Yu,i),s=o.searchParams.has("updated")||o.searchParams.has("refresh"),a&&s&&(c.puid62=t.puid62?t.puid62:"30"),(null===(r=null===(n=window.Adf)||void 0===n?void 0:n.util)||void 0===r?void 0:r.nolimits)&&(c.pli="a",c.plp="a",c.pop="a"),e.params=c},Zu=function(e,t){return function(n,r,o){var i=o.value;o.value=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=n[t],a=n[e];return Qu(o,a),i.apply(this,n)}}},el=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},tl=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},nl=function(){function e(){var e,t,n=this;this._handleLocationChange=function(){n._store.set("rq_sess",n.genNewRequestToken())},this._initRequestToken(),this._eventEmitter.register(((e={})[ie.PAGE]=((t={})[ae.SPA_UPDATE]=this._handleLocationChange,t),e)),(0,Ti.addEventListener)(window,"changestate",this._handleLocationChange)}return e.prototype.getPageRequestToken=function(){return this._store.get("rq_sess")},e.prototype.genNewRequestToken=function(){for(var e="",t=0;t<32;)e+=Math.floor(16*Math.random()).toString(16),t+=1;return e.toUpperCase()},e.prototype._initRequestToken=function(){this._store.get("rq_sess")||this._store.set("rq_sess",this.genNewRequestToken())},el([ce(Z.Store),tl("design:type",Object)],e.prototype,"_store",void 0),el([ce(Z.EventEmitter),tl("design:type",Object)],e.prototype,"_eventEmitter",void 0),e}(),rl="adtech_uid",ol=o(6906),il=function(){function e(){this.cookieStore=new ol.Z}return e.prototype.getItem=function(e){var t=this.cookieStore.getItem(!0,e,!1);return"boolean"!=typeof t&&t},e.prototype.setItem=function(e,t,n){return this.cookieStore.setItem(!0,e,t,365,"/",n,"https:"===location.protocol,!1)},e}(),al=new Uint8Array(16);function sl(){if(!Ju&&!(Ju="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ju(al)}var cl=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var ul=function(e){return"string"==typeof e&&cl.test(e)},ll=[],pl=0;pl<256;++pl)ll.push((pl+256).toString(16).substr(1));var fl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(ll[e[t+0]]+ll[e[t+1]]+ll[e[t+2]]+ll[e[t+3]]+"-"+ll[e[t+4]]+ll[e[t+5]]+"-"+ll[e[t+6]]+ll[e[t+7]]+"-"+ll[e[t+8]]+ll[e[t+9]]+"-"+ll[e[t+10]]+ll[e[t+11]]+ll[e[t+12]]+ll[e[t+13]]+ll[e[t+14]]+ll[e[t+15]]).toLowerCase();if(!ul(n))throw TypeError("Stringified UUID is invalid");return n};var dl=function(e,t,n){var r=(e=e||{}).random||(e.rng||sl)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return fl(r)};var hl=function(e){if(!ul(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)};var vl,gl=function(){function e(){this.uuid="",this.scope=""}return e.prototype.parse=function(e){try{var t=e.split(":");if(2!==t.length)return!1;var n=t[0],r=t[1];return!!function(e){return ul(e)&&4===hl(e)}(n)&&(this.uuid=n,this.scope=r,!0)}catch(e){return!1}},e.prototype.getID=function(){return{scope:this.scope,uuid:this.uuid}},e.prototype.generate=function(e){this.uuid=dl(),this.scope=e},e.prototype.getJoined=function(){return[this.uuid,this.scope].join(":")},e}(),ml=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},bl=function(){function e(){this.storeFacade=new il}return e.prototype.getID=function(){var e=this.storeFacade.getItem(rl);return e?this.getCurrentUID(e):this.generateAndSave()},e.prototype.generateAndSave=function(){var e=this.getScopeDomains(),t=this.tryToSetAllDomains(e);return t?t.getID():{scope:null,uuid:null}},e.prototype.getCurrentUID=function(e){var t=new gl;if(t.parse(e)){var n=t.getID();return n.scope&&n.uuid&&this.storeFacade.setItem(rl,e,n.scope),n}return this.generateAndSave()},e.prototype.tryToSetAllDomains=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=new gl;r.generate(n);var o=r.getJoined();if(this.storeFacade.setItem(rl,o,n))return r}},e.prototype.getScopeDomains=function(e){void 0===e&&(e=location.hostname);var t=e.split(".");if(t.length<=1)return t;for(var n=[],r=0;r<t.length-1;r++){var o=t[r];n.unshift(ml([o],t.slice(r+1),!0).join("."))}return n},e}(),yl=function(e,t,n){for(var r in void 0===n&&(n={}),e)e.hasOwnProperty(r)&&("object"==typeof e[r]&&null!==e[r]?(n[r]={},yl(e[r],t,n[r])):n[r]=t(e[r]));return n},wl=function(){try{return navigator.getBattery().then((function(e){var t={charging:e.charging,charging_time:e.chargingTime,discharging_time:e.dischargingTime,level:e.level};return JSON.stringify(t)})).catch((function(e){return console.error("".concat(e.name,": ").concat(e.message)),""}))}catch(e){return""}},_l=function(){try{return navigator.mediaDevices.enumerateDevices().then((function(e){var t=[];return e.forEach((function(e){t.push({device_id:e.deviceId,group_id:e.groupId,kind:e.kind,label:e.label})})),JSON.stringify(t)})).catch((function(e){return console.error("".concat(e.name,": ").concat(e.message)),""}))}catch(e){return""}},Sl=function(){return Sl=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Sl.apply(this,arguments)},El=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Ol=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},kl=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},xl=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Tl=function(){function e(e){var t=e.block,n=e.callbackName,r=e.divID;this._reqParams=Sl({},m),this._block=t,this._uid=new bl,this._divID=r,this._callbackName=n}return e.prototype.getRequestParams=function(){return this._reqParams},e.prototype.setLocationParams=function(){var e,t;(null===(t=null===(e=window.context)||void 0===e?void 0:e.location)||void 0===t?void 0:t.href)?(this._reqParams.ref=We(window.context.referrer),this._reqParams.url=We(window.context.location.href)):(this._reqParams.ref=We(document.referrer),this._reqParams.url=We(document.URL))},e.prototype.setAuthParams=function(){var e=this._block.authParams,t=Dn("rccid");if(e||t){var n=Sl({},e);t&&(n.rambler_id=t),n&&(this._reqParams.external_ids=JSON.stringify(n))}},e.prototype.setFpParams=function(){return kl(this,void 0,void 0,(function(){var e;return xl(this,(function(t){switch(t.label){case 0:return e=this._reqParams,[4,this._userID.getJsonFpParams()];case 1:return e.fpParams=t.sent(),[2]}}))}))},e.prototype.setFrameParams=function(){var e=this.getFrameLevel();if(e){this._reqParams.frm_level=e;try{this._reqParams.frm_top=top.location.href}catch(e){this._reqParams.frm_top="top_not_accessible"}}},e.prototype.setBlockParams=function(){var e=this._block.pad_id;this._reqParams.pad_id=e,this.setOrGetExistingRequestParam(e,"requested")&&(this._reqParams.first="1",this.Storage.set(e,{rq:parseInt(this._config.getConfigValue("RQ_COUNT"),10)||0})),this._block.block_id&&(this._reqParams.block_id="".concat(this._block.block_id))},e.prototype.setScreenParams=function(){this._reqParams.screenw=window.screen.width,this._reqParams.screenh=window.screen.height,this._reqParams.winw=function(e){return e.context&&e.context.initialIntersection&&e.context.initialIntersection.rootBounds&&void 0!==e.context.initialIntersection.rootBounds.width?e.context.initialIntersection.rootBounds.width:e.innerWidth}(window),this._reqParams.winh=function(e){return e.context&&e.context.initialIntersection&&e.context.initialIntersection.rootBounds&&e.context.initialIntersection.rootBounds.height?e.context.initialIntersection.rootBounds.height:e.innerHeight}(window)},e.prototype.setSessionParams=function(){if(void 0!==this._block.rqNumber)this._reqParams.rq=this._block.rqNumber;else{var e=this._block.pad_id;this._reqParams.rq=this.Storage.get(e).rq,this.Storage.incProperty(e,"rq")}this._reqParams.rq_type=0,this._reqParams.rq_sess=this._block.force_new_session?this._sspRequestsSessionsStorage.genNewRequestToken():this._sspRequestsSessionsStorage.getPageRequestToken(),this._reqParams.skey=this._block.session_key||""},e.prototype.setUserIdentifiers=function(){return kl(this,void 0,void 0,(function(){var e,t;return xl(this,(function(n){switch(n.label){case 0:return e=this._uid.getID(),[4,this._userID.getFingerPrint()];case 1:return t=n.sent()||this._userID.getBaseFingerprint(),this._reqParams.fpruid=t,e.uuid&&e.scope&&(this._reqParams.adtech_uid=e.uuid,this._reqParams.adtech_uid_scope=e.scope),this._block.publisher_uid&&this._block.publisher_uid_scope&&(this._reqParams.publisher_uid=this._block.publisher_uid,this._reqParams.publisher_uid_scope=this._block.publisher_uid_scope),[2]}}))}))},e.prototype.setBrowserParams=function(){this._reqParams=Sl(Sl({},this._reqParams),Me({browser_family:this._uaparser.getBrowser().name,browser_version:this._uaparser.getBrowser().version,os_family:this._uaparser.getOS().name,os_version:this._uaparser.getOS().version,device_type:Ne(this._uaparser.getDevice().type)}))},e.prototype.setJparams=function(){this._reqParams.jparams=JSON.stringify(yl(this._block.jparams,(function(e){return"number"==typeof e?e.toString():e})))},e.prototype.setAntiFraudParams=function(){return kl(this,void 0,void 0,(function(){var e,t,n,r;return xl(this,(function(o){switch(o.label){case 0:return[4,wl()];case 1:return e=o.sent(),[4,_l()];case 2:return t=o.sent(),n=function(){var e=new Date,t={offset:Math.floor(-1*e.getTimezoneOffset()/60),name:Intl.DateTimeFormat().resolvedOptions().timeZone};return JSON.stringify(t)}(),this._reqParams.device_memory=navigator.deviceMemory||"",this._reqParams.hardware_concurrency=navigator.hardwareConcurrency||"",void 0!==navigator.cookieEnabled&&(this._reqParams.cookies_enabled=navigator.cookieEnabled),void 0!==navigator.webdriver&&(this._reqParams.webdriver=navigator.webdriver),this._reqParams.max_touch_points=navigator.maxTouchPoints||"",void 0!==(r=navigator.javaEnabled())&&(this._reqParams.java_enabled=r),this._reqParams.history_length=history.length||"",this._reqParams.battery_info=e,this._reqParams.media_devices=t,this._reqParams.timezone=n,[2]}}))}))},e.prototype.setOtherParams=function(){var e=this._block,t=function(e,t,n){void 0===t&&(t=document),void 0===n&&(n=!1);var r={left:0,top:0};if(!(e=Ar(e,t)))return Dr("ssp-utils/findElementPosition: DOM element doesn't exist in that document"),null;for(n=!!n;e;){var o=void 0;n&&(o=window.getComputedStyle(e))&&"none"===o.display&&(e.style.display="block"),r.left+=e.offsetLeft,r.top+=e.offsetTop,(e=e.offsetParent)&&"fixed"===getComputedStyle(e).position&&(r.top+=Vi()),n&&e&&(e.style.display="")}return r}(Oe(this._divID));t&&(this._reqParams.top=t.top,this._reqParams.left=t.left);var n=e.parent_elt;n&&(n="string"==typeof n?document.getElementById(n):n,this._reqParams.width=n.clientWidth,this._reqParams.height=n.clientHeight),e.misc&&(this._reqParams.misc=e.misc),e.debug&&(this._reqParams.debug="1"),this._reqParams=Sl(Sl({},this._reqParams),{format_w:e.format_w||"",format_h:e.format_h||"",begun_self_keywords:e.keywords||"",begun_self_categories:e.categories||"",secure:"https:"===this._scripts.getConformProtocol()?1:0,vcapirs:s})},e.prototype.setCallbackName=function(){this._reqParams.callback=this._callbackName},e.prototype.setOrGetExistingRequestParam=function(e,t){var n=this.Storage.get(e);return(!n||!n[t])&&((n=n||{})[t]=!0,this.Storage.set(e,n),!0)},e.prototype.getFrameLevel=function(){for(var e=0,t=window;t&&t!==window.top&&e<999;)t=t.parent,e+=1;return e},El([ce(Z.Config),Ol("design:type",Ro)],e.prototype,"_config",void 0),El([ce(Z.Store),Ol("design:type",Object)],e.prototype,"Storage",void 0),El([ce(Z.UserID),Ol("design:type",yr)],e.prototype,"_userID",void 0),El([ce(Z.SSPRequestsSessionsObserver),Ol("design:type",nl)],e.prototype,"_sspRequestsSessionsStorage",void 0),El([ce(Z.BegunScripts),Ol("design:type",Object)],e.prototype,"_scripts",void 0),El([ce(Z.UaParserService),Ol("design:type",de())],e.prototype,"_uaparser",void 0),e}();function Pl(e){if(e instanceof Array){for(var t={boolean:!0,number:!0,string:!0},n=0,r=e.length;n<r;n++){var o=e[n];if(null!==o&&!(typeof o in t))return!1}return!0}return!1}function Cl(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var r=e[n],o=null;null!==r&&(Pl(r)&&(r=r.join(",")),"object"==typeof r?o=Cl(r):""!==r&&(o=[encodeURIComponent(n),encodeURIComponent(r)].join("="))),null!==o&&t.push(o)}return t.length?t.join("&"):null}function Rl(e){var t={url:!0,ref:!0},n=[],r=[];for(var o in e)if(e.hasOwnProperty(o)){var i=e[o],a={};a[o]=i,t.hasOwnProperty(o)&&i?r.push(a):n.push(a)}return Cl(n.concat(r))}!function(e){e.CONTEXTJSP="CONTEXTJSP",e.VAPIRS="VAPIRS"}(vl||(vl={}));var Il=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Al=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Dl=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},jl=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Bl=function(){function e(){}return e.prototype.createRequestParams=function(e,t){return Dl(this,void 0,void 0,(function(){var n;return jl(this,(function(r){switch(r.label){case 0:return[4,this.buildCommonParams(t)];case 1:switch(n=r.sent(),e){case vl.CONTEXTJSP:n.setCallbackName();case vl.VAPIRS:}return[2,n.getRequestParams()]}}))}))},e.prototype.toQuery=function(e){return Rl(e).replace(/%[0-9a-fA-F]?$/,"")},e.prototype.buildCommonParams=function(e){return Dl(this,void 0,void 0,(function(){var t;return jl(this,(function(n){switch(n.label){case 0:return(t=this._reqBuilderFactory(e)).setLocationParams(),t.setFrameParams(),t.setBlockParams(),t.setScreenParams(),t.setSessionParams(),[4,t.setUserIdentifiers()];case 1:return n.sent(),t.setBrowserParams(),t.setJparams(),t.setOtherParams(),t.setAuthParams(),[4,t.setFpParams()];case 2:return n.sent(),[4,t.setAntiFraudParams()];case 3:return n.sent(),[2,t]}}))}))},Il([ce(Z.SSPRequestParamsBuilderFactory),Al("design:type",Function)],e.prototype,"_reqBuilderFactory",void 0),e}(),Fl=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Nl=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Ll=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Ml=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Vl=function(){function e(){}return e.prototype.getRequestURL=function(t){var n=t.sspJparams,r=t.optionsB,o=t.divID;return Ll(this,void 0,void 0,(function(){var t,i;return Ml(this,(function(a){switch(a.label){case 0:return t={block_id:r["begun-block-id"],categories:r["begun-self-categories"],click_wrap:r["begun-click-wrap"],format_h:r["begun-format-h"],format_w:r["begun-format-w"],jparams:n,keywords:r["begun-self-keywords"],pad_id:r["begun-auto-pad"],parent_elt:r["begun-parent-elt"],session_key:r.sessionKey,misc:r["begun-misc"],force_new_session:r.forceNewSession,method:r.calledMethod,div_id:o,rqNumber:r.rqNumber},[4,this._reqParamsDirector.createRequestParams(vl.VAPIRS,{block:t,divID:o})];case 1:return i=a.sent(),[2,e.daemonURL+this._reqParamsDirector.toQuery(i)]}}))}))},e.daemonURL="".concat(u,"vapirs?wl=rambler&"),Fl([ce(Z.SSPRequestParamsDirector),Nl("design:type",Object)],e.prototype,"_reqParamsDirector",void 0),e}(),Ul=function(e,t,n){void 0===t&&(t=0),e.forEach((function(e){var r=n[e];"string"!=typeof r||r.includes("data:")||0===r.indexOf("{")?Array.isArray(r)&&(n[e]=r.map((function(e){return e.url=ye(e.url,"seq",0|t),e}))):n[e]=ye(r,"seq",0|t)}))},Hl=function(e){return void 0===e&&(e=window),Mi(e)?e.innerHeight||e.document.documentElement.clientHeight||e.document.body.clientHeight:NaN},ql=function(e){return void 0===e&&(e=window),Mi(e)?e.innerWidth||e.document.documentElement.clientWidth||e.document.body.clientWidth:NaN},Wl=Function.prototype,zl=Object.prototype,Gl=Wl.toString,Xl=zl.hasOwnProperty,Jl=Gl.call(Object);var $l=function(e){if(!_t(e)||"[object Object]"!=wt(e))return!1;var t=_u(e);if(null===t)return!0;var n=Xl.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Gl.call(n)==Jl};var Kl=function(e){return _t(e)&&1===e.nodeType&&!$l(e)};var Yl=function(e,t){return Xu(e,5,t="function"==typeof t?t:void 0)};var Ql=function(e){return function(t){return null==e?void 0:e[t]}}({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),Zl=/[&<>"']/g,ep=RegExp(Zl.source);var tp=function(e){return(e=wi(e))&&ep.test(e)?e.replace(Zl,Ql):e};function np(e){return np="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},np(e)}function rp(e,t,n){var r=n.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(np(r)));var o=!1;return{configurable:!0,get:function(){if(o||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof r)return r;var n=r.bind(this);return o=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return n},set:function(e){r=e,delete this[t]}}),o=!1,n},set:function(e){r=e}}}var op=function(){return op=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},op.apply(this,arguments)},ip=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ap=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},sp=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},cp=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},up=$(o(4772)),lp=function(e){if(Kl(e))return e},pp=function(){function e(){var e=this;this.inViewTimers={},this.RenderStatus=On,this.RenderFailReason=En,this._vapirsFeed=new Vl,this.attemptRefresh=function(e,t){return window.Adf.refresher.attemptRefresh(e,t)},this.bannerIsRendered=function(t,n){var r=n.sspJparams,o=n.optionsB,i=void 0===o?{}:o,a=n.bannerData,s=n.syncShowResult,c=n.impressionID;return sp(e,void 0,void 0,(function(){var e,n,o,u,l,p;return cp(this,(function(f){switch(f.label){case 0:return e="string"==typeof t?t:t.id,n=new Oc(t,i),s!==_o.declined?[3,1]:(o={bannerPlace:Oe(t),optionsB:i,status:!1,reason:En.SyncBannerReRequest},[3,3]);case 1:return[4,n.start()];case 2:o=f.sent(),f.label=3;case 3:return o.status&&(this._metricsTransport.logMetrics(t.toString(),eo.rendered),this._inViewTimerStarter.startInViewTimer({adWrapperID:t,sspOptions:r,blockOptions:i,bannerPlace:n.actualBannerPlace,impressionID:c})),(null===(p=null===(l=null===window||void 0===window?void 0:window.Adf)||void 0===l?void 0:l.util)||void 0===p?void 0:p.stack[e])&&window.Adf.util.stack[e].status!==On.NO_BANNER&&window.Adf.util.updateBannersStack(e,{status:o.status?On.RENDERED:On.NOT_RENDERED}),function(e,t,n,r){t=gc(t);var o=kc(r);if(!o){var i=window.Adf.util.stack[t].impressionID;o=kc(window.Begun.Autocontext.savedFeeds[i])}var a=o&&o.params&&o.params.impression_id,s=function(e,t){return void 0===t&&(t=0),e&&e.banners&&e.banners.graph&&e.banners.graph[t]&&"object"==typeof e.banners.graph[t]&&e.banners.graph[t].view_type}(o,n.get("".concat(xi(a),".nbanner")));e.viewTypes=s||void 0}(o,t,this._store,a),u=Cc(o),Yc(u),[2,u]}}))}))}}return e.prototype.ssp=function(e,t,n,r,o,i,a){var s=this;void 0===t&&(t={}),(n=Zc(n)).forceNewSession&&(n.shouldFreezeWrapperHeight=!0,this._metricsTransport.clearBannerTimersMap(e.toString()));var c="string"==typeof r&&r.length>0,u="string"==typeof e&&e.length>0;if(c&&u){var l=Oe(e);if(!l)return new Promise((function(t){var r={nodeID:e,reason:En.DoesNotExist,optionsB:n,status:!1};Yc(r),t(r)}));l.className="".concat(l.className||""," ").concat(r)}var p=this._syncShow.getSession(n["begun-block-id"])||{};n.sessionKey=p.key||"",window.Adf.util.updateBannersStack(e,{div_id:e,options_b:n,options:t,status:On.PENDING});var f=Oe(e);return new Promise((function(o,c){window.Begun.Autocontext.addBlock(Yl(n,lp),(function(u,l,p,f,d){var h=Ku({blocktype:"capirs",block_id:parseInt(n["begun-block-id"],10),pad_id:parseInt(n["begun-auto-pad"],10),impression_id:l,misc:n["begun-misc"],reached:0,graphAmount:d,node_id:Ve(e)},t);s._cachedBlockShowLoggerFactory(e,Date.now(),h,n),a?a(u,l,p):s._syncShow.show({divID:e,options:t,optionsB:n,optClass:r,callback:i,priority:u,impressionID:l,blockID:p,sessionKeys:f}).then((function(r){return s.bannerIsRendered(e,{sspJparams:t,optionsB:n,syncShowResult:r,impressionID:l})})).then((function(e){return s._eventEmitter.dispatch(ie.BLOCK,ae.DRAW_COMPLETE,null,[op(op({},Cc(e)),{impressionID:l})]),e})).then(o).catch(c)}),e)})).then((function(e){if(n.wipeBeforeRender&&f){var t=Re(),r=Vr({className:t,rules:{height:"initial"},nonce:s._config.getConfigValue("STYLE_NONCE_VALUE")});f.parentElement.appendChild(r),f.classList.add(t)}return e}))},e.prototype.sspScroll=function(e,t,n,r,o,i,a){var s;return void 0===t&&(t={}),s=void 0!==n["begun-scroll-rate"]?n["begun-scroll-rate"]:void 0!==window.Adf.desktopScrollRate?window.Adf.desktopScrollRate:0,this.scrollCore({methodName:"sspScroll",scrollRate:s},{divID:e,sspJparams:t,optionsB:n,optClass:r,optWin:o,callback:i,hardCallback:a})},e.prototype.sspScrollMobile=function(e,t,n,r,o,i,a){var s;return void 0===t&&(t={}),s=void 0!==n["begun-scroll-rate"]?n["begun-scroll-rate"]:void 0!==window.Adf.mobileScrollRate?window.Adf.mobileScrollRate:0,this.scrollCore({methodName:"sspScrollMobile",scrollRate:s},{divID:e,sspJparams:t,optionsB:n,optClass:r,optWin:o,callback:i,hardCallback:a})},e.prototype.deferredSsp=function(e,t,n,r){var o=this;void 0===t&&(t={}),void 0===r&&(r={}),n=Zc(n);var i=this._syncShow.getSession(n["begun-block-id"])||{};n.sessionKey=i.key||"",window.Adf.util.updateBannersStack(e,{div_id:e,options_b:n,options:t,status:On.PENDING});var a=Oe(e),s=null,c=null,u=new Promise((function(e,t){s=e,c=t}));return window.Begun.Autocontext.addBlock(Yl(n,lp),(function(i,u,l,p,f){var d=Ku({blocktype:"capirs",block_id:parseInt(n["begun-block-id"],10),pad_id:parseInt(n["begun-auto-pad"],10),impression_id:u,misc:n["begun-misc"],reached:0,graphAmount:f,node_id:Ve(e)},t);o._cachedBlockShowLoggerFactory(e,Date.now(),d,n),o._metricsTransport.freezeTimer(e.toString());var h=new IntersectionObserver((function(f){var d=f&&f[0];d&&d.isIntersecting&&(o._metricsTransport.unFreezeTimer(e.toString()),h.unobserve(a),o._syncShow.show({divID:e,options:t,optionsB:n,priority:i,impressionID:u,blockID:l,sessionKeys:p,doWipe:r.doWipe}).then((function(r){return o.bannerIsRendered(e,{sspJparams:t,optionsB:n,syncShowResult:r,impressionID:u})})).then(s).catch(c))}),{root:n.customRoot||null,rootMargin:n.customRootMargin||(n.customRootMarginPercent?"0px 0px ".concat(n.customRootMarginPercent,"% 0px"):"0px 0px 0px 0px"),threshold:r.inViewThresholds||[0]});h.observe(a)}),e),u.then((function(e){if((r.doWipe||n.wipeBeforeRender)&&a){var t=Re(),i=Vr({className:t,rules:{height:"initial"},nonce:o._config.getConfigValue("STYLE_NONCE_VALUE")});a.parentElement.appendChild(i),a.classList.add(t)}return e}))},e.prototype.reloadssp=function(e,t,n,r,o){void 0===t&&(t={}),up.log(401,"Данный метод помечен как deprecated \n Используйте ssp|sspScroll для перезагрузки баннера, \n передав в optionsB forceNewSesion со значением true. \n");var i=Oe(e);return new Promise(i?function(i){n.forceNewSession=!0,n.wipeBeforeRender=!0,n.shouldFreezeWrapperHeight=!0,window.Adf.banner.ssp(e,t,n,null,null,r,o).then((function(e){i(e)}))}:function(t){var r={nodeID:e,optionsB:n,reason:En.DoesNotExist,status:!1};Yc(r),t(r)})},e.prototype.feed_ssp=function(e,t,n,r){var o,i,a=this;void 0===t&&(t={}),n=Zc(n),r.banners.graph.forEach((function(e,t){return Ul(["source","viewability","tracking"],t,e)})),(null===(i=null===(o=r.debug)||void 0===o?void 0:o.request)||void 0===i?void 0:i.url)&&(r.debug.request.url=tp(r.debug.request.url));var s={block_id:n["begun-block-id"],pad_id:n["begun-auto-pad"],method:n.calledMethod},c=Ku({blocktype:"capirs",block_id:parseInt(n["begun-block-id"],10),pad_id:parseInt(n["begun-auto-pad"],10),impression_id:r.params.impression_id,misc:n["begun-misc"],reached:0,uuid:r.cookies&&r.cookies.uuid||"",rq_type:1,graphAmount:r.banners.graph.length,node_id:Ve(e)},t);return this._blockShowLoggerFactory(e,Date.now(),c,n,r),window.Adf.util.updateBannersStack(e,{div_id:e,options_b:n,options:t,status:On.PENDING}),this._syncShow.show({divID:e,options:t,optionsB:n,priority:r.params.priority,impressionID:{feed:r,blockData:s},blockID:s.block_id,sessionKeys:r.params.session_keys}).then((function(o){return a.bannerIsRendered(e,{sspJparams:t,optionsB:n,bannerData:{feed:r,blockData:s},impressionID:ki(r),syncShowResult:o})})).then((function(e){return a._eventEmitter.dispatch(ie.BLOCK,ae.DRAW_COMPLETE,null,[op(op({},Cc(e)),{impressionID:ki(r)})]),e}))},e.prototype.feed_sspScroll=function(e,t,n,r){var o;return void 0===t&&(t={}),o=void 0!==n["begun-scroll-rate"]?n["begun-scroll-rate"]:void 0!==window.Adf.desktopScrollRate?window.Adf.desktopScrollRate:0,this.scrollCore({methodName:"feed_sspScroll",destinationMethod:"feed_ssp",scrollRate:o},{divID:e,sspJparams:t,optionsB:n,feed:r})},e.prototype.feed_sspScrollMobile=function(e,t,n,r){var o;return void 0===t&&(t={}),o=void 0!==n["begun-scroll-rate"]?n["begun-scroll-rate"]:void 0!==window.Adf.mobileScrollRate?window.Adf.mobileScrollRate:0,this.scrollCore({methodName:"feed_sspScrollMobile",destinationMethod:"feed_ssp",scrollRate:o},{divID:e,sspJparams:t,optionsB:n,feed:r})},e.prototype.feed_sspRich=function(e,t,n,r){return void 0===t&&(t={}),this.richCore({methodName:"feed_sspRich",destinationMethod:"feed_ssp"},{divID:e,sspJparams:t,optionsB:n,feed:r})},e.prototype.ssp_video=function(e){var t=e.divID,n=e.sspJparams,r=e.optionsB;return sp(this,void 0,void 0,(function(){var e,o;return cp(this,(function(i){switch(i.label){case 0:return(e=document.getElementById(t))?[4,this._vapirsFeed.getRequestURL({sspJparams:n,optionsB:r,divID:t})]:[2,{success:!1,error:new Error("Unable to find dom element with ".concat(t))}];case 1:return o=i.sent(),[2,this.vastPlaybackWrapper.startVideo(e,{mute:!0,url:o})]}}))}))},e.prototype.spaPageUpdate=function(){this._metricsTransport.clearBannerTimersMap(),this._eventEmitter.dispatch(ie.PAGE,ae.SPA_UPDATE)},e.prototype.log=function(e,t,n){return up.log(e,t,n)},e.prototype.richCore=function(e,t){var n=this,r=e.destinationMethod,o=void 0===r?"ssp":r;t.optionsB=Zc(t.optionsB);var i=Oe(t.divID);return new Promise(i?function(e,r){var i=function(){var a,s=(void 0===a&&(a=window),{height:Hl(a),width:ql(a)}).height;if(Vi()+20>=s)if("feed_ssp"===o)n.feed_ssp(t.divID,t.sspJparams,t.optionsB,t.feed).then(e).catch(r);else n.ssp(t.divID,t.sspJparams,t.optionsB,t.optClass,t.optWin,t.callback,t.hardCallback).then(e).catch(r);else setTimeout(i,100)};i()}:function(e){var n={nodeID:t.divID,reason:En.DoesNotExist,optionsB:t.optionsB,status:!1};Yc(n),e(n)})},e.prototype.scrollCore=function(e,t){var n=this,r=e.destinationMethod,o=void 0===r?"ssp":r,i=e.scrollRate,a=void 0===i?0:i,s=e.topTreshold,c=void 0===s?0:s,u=this._store.get("".concat(gc(t.divID),".intersectionObserver"));u&&u.disconnect(),t.optionsB=Zc(t.optionsB);var l=Oe(t.divID);return l?(t.optionsB.wipeImmediately&&(l.innerHTML=""),new Promise((function(e,r){n._metricsTransport.freezeTimer(t.divID.toString());var i=new IntersectionObserver((function(a){var s=a&&a[0];if(s&&s.isIntersecting)if(n._metricsTransport.unFreezeTimer(t.divID.toString()),i.unobserve(l),n._store.delete("".concat(gc(t.divID),".intersectionObserver")),"feed_ssp"===o)window.Adf.banner.feed_ssp(t.divID,t.sspJparams,t.optionsB,t.feed).then(e).catch(r);else window.Adf.banner.ssp(t.divID,t.sspJparams,t.optionsB,t.optClass,t.optWin,t.callback,t.hardCallback).then(e).catch(r)}),{root:t.optionsB.customRoot||null,rootMargin:t.optionsB.customRootMargin||"0px 0px ".concat(a,"% 0px"),threshold:[c]});i.observe(l),n._store.set("".concat(gc(t.divID),".intersectionObserver"),i)}))):new Promise((function(e){var n={nodeID:t.divID,reason:En.DoesNotExist,optionsB:t.optionsB,status:!1};Yc(n),e(n)}))},ip([ce(Z.cachedBlockShowLoggerFactory),ap("design:type",Function)],e.prototype,"_cachedBlockShowLoggerFactory",void 0),ip([ce(Z.SyncShow),ap("design:type",Ai)],e.prototype,"_syncShow",void 0),ip([ce(Z.InViewTimerStarter),ap("design:type",Kc)],e.prototype,"_inViewTimerStarter",void 0),ip([ce(Z.blockShowLoggerFactory),ap("design:type",Function)],e.prototype,"_blockShowLoggerFactory",void 0),ip([ce(Z.EventEmitter),ap("design:type",Object)],e.prototype,"_eventEmitter",void 0),ip([ce(Z.Store),ap("design:type",Object)],e.prototype,"_store",void 0),ip([ce(Z.Config),ap("design:type",Object)],e.prototype,"_config",void 0),ip([ce(Z.VastPlaybackWrapper),ap("design:type",Object)],e.prototype,"vastPlaybackWrapper",void 0),ip([ce(Z.MetricsTransport),ap("design:type",yo)],e.prototype,"_metricsTransport",void 0),ip([rp,Eo,eu(2),Zu(1,2),ru,ap("design:type",Function),ap("design:paramtypes",[Object,Object,Object,Object,Object,Object,Object]),ap("design:returntype",Promise)],e.prototype,"ssp",null),ip([rp,Eo,eu(2),Zu(1,2),ru,ap("design:type",Function),ap("design:paramtypes",[Object,Object,Object,Object,Object,Object,Object]),ap("design:returntype",Promise)],e.prototype,"sspScroll",null),ip([rp,Eo,eu(2),Zu(1,2),ru,ap("design:type",Function),ap("design:paramtypes",[Object,Object,Object,Object,Object,Object,Object]),ap("design:returntype",Promise)],e.prototype,"sspScrollMobile",null),ip([rp,Eo,eu(2),Zu(1,2),ru,ap("design:type",Function),ap("design:paramtypes",[Object,Object,Object,Object]),ap("design:returntype",Promise)],e.prototype,"deferredSsp",null),ip([rp,eu(2,!0),Zu(1,2),ap("design:type",Function),ap("design:paramtypes",[Object,Object,Object,Object,Object]),ap("design:returntype",Promise)],e.prototype,"reloadssp",null),ip([rp,eu(2),Zu(1,2),ru,ap("design:type",Function),ap("design:paramtypes",[Object,Object,Object,Object]),ap("design:returntype",Promise)],e.prototype,"feed_ssp",null),ip([rp,eu(2),Zu(1,2),ru,ap("design:type",Function),ap("design:paramtypes",[Object,Object,Object,Object]),ap("design:returntype",Promise)],e.prototype,"feed_sspScroll",null),ip([rp,eu(2),Zu(1,2),ru,ap("design:type",Function),ap("design:paramtypes",[Object,Object,Object,Object]),ap("design:returntype",Promise)],e.prototype,"feed_sspScrollMobile",null),ip([rp,eu(2),Zu(1,2),ap("design:type",Function),ap("design:paramtypes",[Object,Object,Object,Object]),ap("design:returntype",Promise)],e.prototype,"feed_sspRich",null),e}(),fp=pp,dp=function(){function e(e){this.Autocontext=e}return e.prototype.push=function(e){var t=this.Autocontext.__blocks||[];t[t.length]=e,this.Autocontext.__blocks=t},e.prototype.getBlockById=function(e,t){if(e){var n=void 0,r=0;t=t||this.Autocontext.__blocks||[];do{if((n=t[r])&&n.id.toString()===e.toString())return n;r+=1}while(n)}},e}(),hp=dp,vp=function(){function e(e){this.Autocontext=e,this.ext={toolbar:"dd02f6914506661366816f62f8767736"},this.loaded=[]}return e.prototype.updateAnticash=function(e){var t=new RegExp("^".concat(g.urls.base_scripts_url,"(\\w+).js$")).exec(e);return null!==t&&2===t.length&&void 0!==this.ext[t[1]]&&this.ext[t[1]]},e.prototype.isLoaded=function(e){return this.loaded.includes(e)},e.prototype.load=function(e){if(!this.isLoaded(e)){var t=this.updateAnticash(e);(t?Jr.includeScript(e.replace(/(.+)\/([^/]+)\.js$/,"$1/js/$2.".concat(t,".js")),"append"):Jr.includeScript(e,"append"))&&this.loaded.push(e)}},e.prototype.baseLoad=function(e){var t=g.urls.base_scripts_url;this.load(t+e)},e.prototype.getNames=function(e){var t="",n="";if("loaded"===e)return this.loaded.toString();for(var r in this.ext)this.ext.hasOwnProperty(r)&&(t+=n+r,n=",");return t},e}(),gp=$(o(4772)),mp=function(){function e(){}return e.parseLinks=function(e){var t=e.links;if(t){var n=0,r=void 0,o=[];do{if(r=t[n]){switch(r.type){case"iframe_js":o.push("script=".concat(encodeURIComponent(r.url)));break;case"iframe_html":o.push("html=".concat(encodeURIComponent(r.url)));break;case"img":o.push("img=".concat(encodeURIComponent(r.url)))}n+=1}}while(r);var i="//webcf.waybackmachine.org/web/20240318155658/https://profile.ssp.rambler.ru/sandbox?".concat(o.join("&")),a=document.createElement("iframe");a.onerror=function(e){gp.log(500,"linksFrame iframe error",{Error:e})},a.setAttribute("style","height:0;width:0;border:0;position:absolute;left:-10000px;top:-1000px;"),a.setAttribute("width","0"),a.setAttribute("height","0"),a.setAttribute("allow","camera;microphone"),a.src=i,window.document.body.appendChild(a)}},e}(),bp=mp,yp=function(e,t,n){for(var r in"object"!=typeof e&&(e={}),t)t.hasOwnProperty(r)&&(n&&"object"==typeof t[r]?e[r]=yp(e[r],t[r]):e[r]=t[r]);return e},wp=function(){return wp=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},wp.apply(this,arguments)},_p=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Sp=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Ep=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Op=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},kp=$(o(4772)),xp=function(){function e(e,t){this.sspCallbackCount=0,this.SSP_LINKS_INSERT_TIMEOUT=1e3,this.graphBannerDomains=[],this.responseParams={},this.FeedBlocksStore=t,this.Graph=e,this.feed_links_parsed=!1,this.savedFeedsOptions={},this._blocksHandled=[]}return e.prototype.processFeed=function(e){var t=e.feed,n=e.blockData,r=e.nbanner,o=e.doWipe;return Ep(this,void 0,void 0,(function(){var e,i,a,s,c,u,l;return Op(this,(function(p){switch(p.label){case 0:return r=r||0,t?[4,this.Graph.getCreativeToDraw({feed:t,nbanner:r,pad_id:n.pad_id,block_id:n.block_id,blockData:n})]:(kp.log(500,"Attempted to load an undefined feed.",{url:document.URL}),[2]);case 1:return e=p.sent(),i=e[0],a=void 0===i?r:i,s=e[1],c=void 0===s?"":s,this.registerGraphBannerDomains(t),this.Callbacks.dispatch(ie.FEED,ae.LOAD,this,[t]),yp(this.responseParams,t&&t.params||{}),(u=this.FeedBlocksStore.getBlockById(n.block_id,t.blocks))?[4,this._insertBanner({feed:t,blockData:n,blockInfo:u,doWipe:o,actualNbanner:a,creativeToDraw:c})]:[3,3];case 2:return l=p.sent(),this.handleSSPSyncLinks(t),this.fillBlocks(t,u),l||this.Graph.handleGraphBannerNonExisting({feed:t,blockData:n}),[3,4];case 3:kp.log(502,"Block doesn't exist",{blockID:n.block_id,blocks:t.blocks}),p.label=4;case 4:return[2]}}))}))},e.prototype.registerGraphBannerDomains=function(e){var t=e&&e.banners&&e.banners.graph;if(t)for(var n=0,r=t;n<r.length;n++){var o=r[n];o.domain&&this.graphBannerDomains.push(o.domain)}},e.prototype.loadFeed=function(t){var n=t.blockData,r=t.divID,o=t.savedFeeds,i=t.savedFeedsOptions;return Ep(this,void 0,void 0,(function(){var t,a,s,c,u=this;return Op(this,(function(l){switch(l.label){case 0:return this.sspCallbackCount+=1,t="Begun_Autocontext_saveFeed".concat(this.sspCallbackCount),[4,this._reqParamsDirector.createRequestParams(vl.CONTEXTJSP,{block:n,callbackName:t,divID:r})];case 1:return a=l.sent(),window.Debug.info("FingerPrint ID ".concat(a.fpruid)),s=g.urls.daemon+this._reqParamsDirector.toQuery(a),n.feedURL=s,window[t]=(p=n,function(e){0!==e.banners.graph.length&&u._metricsTransport.logMetrics(r.toString(),eo.feed),u.saveFeed({feed:e,blockData:p,savedFeeds:o,savedFeedsOptions:i})}),this._metricsTransport.logMetrics(r.toString(),eo.startReq),[4,this._dataLoader.load(s,{withCredentials:!0})];case 2:return c=l.sent().data,e.resStatusCode=c.status,(null==c?void 0:c.responseText)?(new Mr("script",c.responseText,{isHTML:!1}).append(document.body).remove(),[2]):(this._handleEmptySSPResponse({blockData:n,statusCode:null==c?void 0:c.status}),this.Graph.handleGraphBannerNonExisting({blockData:n}),[2])}var p}))}))},e.prototype.saveFeed=function(e){var t=e.feed,n=e.blockData,r=e.savedFeeds,o=e.savedFeedsOptions;this._toolbarHelper.handleDebugInfo({feed:t,blockData:n}),t.banners.graph.forEach((function(e,t){return Ul(["source","viewability","tracking"],t,e)}));var i=t.params,a=i.impression_id,s=i.session_keys,c=i.priority;r[a]={blockData:n,feed:t},o[a]=t.blocks[0].options.json,"function"==typeof n.callback&&n.callback(c,a,n.block_id,s,t.banners.graph.length)},e.prototype.fillBlocks=function(e,t){this._blocksHandled.includes(t)||(this.Callbacks.dispatch(ie.BLOCK,ae.PREDRAW,this,[t,e]),t.options&&t.options.visual&&Object.keys(t.options.visual).length>0&&this.printBlockStyle(t.id,t.options.visual,e),this._blocksHandled.push(t))},e.prototype.printBlockStyle=function(e,t,n){t.name&&n.banners.graph.length&&n.banners.graph.length>0&&function(e,t,n){if(void 0===n&&(n=document.head||document.body),we(e)){var r=document.createElement("link");return r.setAttribute("type","text/css"),r.setAttribute("rel","stylesheet"),r.setAttribute("href",e),t&&(r.id=t),n.appendChild(r),!0}}("".concat(g.urls.styles,"name=").concat(t.name,"&block_id=").concat(e),"begun-additional-".concat(e))},e.prototype.handleSSPSyncLinks=function(e){this.feed_links_parsed||(setTimeout((function(){e.links&&e.links.length>0&&bp.parseLinks(e)}),this.SSP_LINKS_INSERT_TIMEOUT),e.links&&e.links.length>0&&(this.feed_links_parsed=!0))},e.prototype._insertBanner=function(e){var t=e.feed,n=e.blockData,r=e.blockInfo,o=e.doWipe,i=e.actualNbanner,a=e.creativeToDraw;return Ep(this,void 0,void 0,(function(){var e,s;return Op(this,(function(c){switch(c.label){case 0:return this.FeedBlocksStore.push(r),e=!1,s=this._getDualBannersNumbers(t.banners.graph),0===i&&s.length>1?(e=!0,[4,this.Graph.insertMultipleBanners({feed:t,blockData:n,blockInfo:r,bannerNumbers:s,doWipe:o})]):[3,2];case 1:return c.sent(),[3,4];case 2:return[4,this.Graph.insertNonTextBlock({feed:t,blockData:n,block:r,nbanner:i,creativeToDraw:a,doWipe:o})];case 3:(e=c.sent())&&this._monitorClass.attemptRunViewabilityWatcher({feed:t,subscriptionID:t.params.impression_id,watchedElement:n.blockEl}),c.label=4;case 4:return[2,e]}}))}))},e.prototype._getDualBannersNumbers=function(e){return e.map((function(e,t){return{viewType:e.view_type,numberInSequence:t}})).filter((function(e){return e.viewType.includes("Fake")&&e.viewType.includes("Rotatable")})).map((function(e){return e.numberInSequence}))},e.prototype._handleEmptySSPResponse=function(e){var t,n,r=e.blockData,o=e.statusCode,i=le(window),a=i.includes(y.SSP)||i.includes(y.ADFOX)||(t="autocontext",(n=document.cookie.match(new RegExp("(?:^|; )".concat(t.replace(/([.$?*|{}()[\]\\/+^])/g,"\\$1"),"=([^;]*)"))))?decodeURIComponent(n[1]):void 0);if(200!==o&&a){var s={debug:{request:wp({},r),response:{status:o}}};this._toolbarHelper.handleDebugInfo({feed:s,blockData:r})}},_p([ce(Z.Store),Sp("design:type",Object)],e.prototype,"Storage",void 0),_p([ce(Z.EventEmitter),Sp("design:type",Object)],e.prototype,"Callbacks",void 0),_p([ce(Z.MonitorClass),Sp("design:type",Object)],e.prototype,"_monitorClass",void 0),_p([ce(Z.DataLoader),Sp("design:type",An)],e.prototype,"_dataLoader",void 0),_p([ce(Z.ToolbarHelper),Sp("design:type",ko)],e.prototype,"_toolbarHelper",void 0),_p([ce(Z.MetricsTransport),Sp("design:type",yo)],e.prototype,"_metricsTransport",void 0),_p([ce(Z.SSPRequestParamsDirector),Sp("design:type",Object)],e.prototype,"_reqParamsDirector",void 0),e}(),Tp=xp,Pp=function(){function e(e){this.autocontext=e,this.init()}return e.prototype.init=function(){if(window.begun___callbacks&&window.begun___callbacks.length>0){G.log(401,"Используйте window.begun_new_callbacks вместо window.begun___callbacks");for(var e=0;e<window.begun___callbacks.length;e++)this.setCallbacks(window.begun___callbacks[e]);window.begun___callbacks=null}if(window.begun_new_callbacks&&window.begun_new_callbacks.length>0){for(e=0;e<window.begun_new_callbacks.length;e++)this.setCallbacks(window.begun_new_callbacks[e]);window.begun_new_callbacks=null}void 0!==window.begun_callbacks&&(this.setCallbacks(window.begun_callbacks),window.begun_callbacks=null)},e.prototype.setCallbacks=function(e){this.autocontext.Callbacks.register(e||{})},e}(),Cp=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Rp=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Ip=function(){function e(){this._queue={},this._lastCalledOrder=0}return e.getInstance=function(){return e.instance||(e.instance=new e),e.instance},e.prototype.handle=function(e){var t=e.feed,n=e.bannerInsertionCallback;return Cp(this,void 0,void 0,(function(){var e;return Rp(this,(function(r){switch(r.label){case 0:return void 0===(e=this._getElementOrder(t))?[3,2]:[4,this.call(e,n)];case 1:return r.sent(),[3,4];case 2:return[4,n()];case 3:r.sent(),r.label=4;case 4:return[2]}}))}))},e.prototype.call=function(t,n){return Cp(this,void 0,void 0,(function(){var r,o,i=this;return Rp(this,(function(a){switch(a.label){case 0:if(!(t<=this._lastCalledOrder+1))return[3,1];for(r in n(),t===this._lastCalledOrder+1&&(this._lastCalledOrder=t),this._queue)this._queue.hasOwnProperty(r)&&(o=parseInt(r,10),this._queue.hasOwnProperty(o)&&null!==this._queue[o]&&o===this._lastCalledOrder+1&&(this._queue[o].forEach((function(e){return e()})),this._lastCalledOrder=o,this._queue[o]=null));return[3,3];case 1:return this._queue[t]=this._queue[t]||[],this._queue[t].push(n),this._timer?[3,3]:(this._timer=wc()(e.ORDERED_BLOCK_WAITING_TIME).then((function(){for(var e in i._timer=null,i._queue)if(i._queue.hasOwnProperty(e)&&null!==i._queue[e]){for(var t=0;t<i._queue[e].length;t++)i._queue[e][t]();i._queue[e]=null}})),[4,this._timer]);case 2:a.sent(),a.label=3;case 3:return[2]}}))}))},e.prototype._getElementOrder=function(e){return e.blocks[0].options.json.order},e.instance=null,e.ORDERED_BLOCK_WAITING_TIME=500,e}(),Ap=Ip,Dp=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},jp=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Bp=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Fp=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Np=$(o(4772)),Lp=function(){function e(){this._prioritizer=Ap.getInstance(),this.unhandledDebugs=[],this.savedFeeds={},this.savedFeedsOptions={},this.feed_links_parsed=!1,this.__blocks=[],this._graph=new po,this.feedBlocksStore=new hp(this),this._feed=new Tp(this._graph,this.feedBlocksStore),this.scriptLoader=new vp(this),this.Customization=new Pp(this)}return e.prototype.handleSSPSyncLinks=function(e){this.feed_links_parsed||(setTimeout((function(){e.links&&e.links.length>0&&bp.parseLinks(e)}),1e3),e.links&&e.links.length>0&&(this.feed_links_parsed=!0))},e.prototype.showAdCaller=function(e,t,n,r){return Bp(this,void 0,void 0,(function(){var o,i;return Fp(this,(function(a){switch(a.label){case 0:return e.blockData.blockEl=document.createElement("div"),e.blockData.blockEl.id="begun_block_".concat(e.blockData.block_id),(o=Array.from(t.querySelectorAll("#begun_block_".concat(e.blockData.block_id)))).length>0&&(t.dataset.begunBlockRepeated="yes"),o.forEach((function(e){e.parentNode.removeChild(e)})),t.appendChild(e.blockData.blockEl),location.pathname.includes("/msk/restaurant")&&"www.afisha.ru"===location.hostname&&(i=document.createElement("div"),e.blockData.blockEl.appendChild(i)),[4,this._feed.processFeed({feed:e.feed,blockData:e.blockData,nbanner:n,doWipe:r})];case 1:return a.sent(),[2]}}))}))},e.prototype.showAd=function(e,t,n,r){var o,i,a,s,c,u,l,p,f,d;return Bp(this,void 0,void 0,(function(){var h,v,g;return Fp(this,(function(m){switch(m.label){case 0:return e=this._processDivID(e,t),(h="string"==typeof e?document.getElementById(e):e)?(void 0===n&&(v=this._store.get("".concat(xi(t),".nbanner")),n="number"!=typeof v?0:v+1),this._store.set("".concat(xi(t),".nbanner"),n),"object"!=typeof t?[3,2]:(this.savedFeeds[t.feed.params.impression_id]=t,[4,this._prioritizer.handle({bannerInsertionCallback:this.showAdCaller.bind(this,t,h,n,r),feed:t.feed})])):(Np.log(500,'There is no block with id "'.concat(e,'" on the page'),{url:document.URL,divID:e}),[2]);case 1:return m.sent(),[3,5];case 2:return this.savedFeeds&&this.savedFeeds[t]?[4,this._prioritizer.handle({bannerInsertionCallback:this.showAdCaller.bind(this,this.savedFeeds[t],h,n,r),feed:this.savedFeeds[t].feed})]:[3,4];case 3:return m.sent(),[3,5];case 4:Np.log(500,"No feed found"),m.label=5;case 5:return n>0&&(g=xi(t),this._adInitializer.bannerIsRendered(e,{sspJparams:null===(i=null===(o=this.savedFeeds[g])||void 0===o?void 0:o.blockData)||void 0===i?void 0:i.jparams,optionsB:{"begun-auto-pad":null===(s=null===(a=this.savedFeeds[g])||void 0===a?void 0:a.blockData)||void 0===s?void 0:s.pad_id,"begun-block-id":null===(u=null===(c=this.savedFeeds[g])||void 0===c?void 0:c.blockData)||void 0===u?void 0:u.block_id,rqNumber:null===(p=null===(l=this.savedFeeds[g])||void 0===l?void 0:l.blockData)||void 0===p?void 0:p.rqNumber,calledMethod:null===(d=null===(f=this.savedFeeds[g])||void 0===f?void 0:f.blockData)||void 0===d?void 0:d.method},syncShowResult:_o.shown,impressionID:g})),[2]}}))}))},e.prototype.addBlock=function(e,t,n){var r={block_id:e["begun-block-id"],categories:e["begun-self-categories"],click_wrap:e["begun-click-wrap"],format_h:e["begun-format-h"],format_w:e["begun-format-w"],jparams:e.params,keywords:e["begun-self-keywords"],pad_id:e["begun-auto-pad"],parent_elt:e["begun-parent-elt"],session_key:e.sessionKey,misc:e["begun-misc"],force_new_session:e.forceNewSession,method:e.calledMethod,div_id:n.id||n,rqNumber:e.rqNumber,callback:t,shouldFreezeWrapperHeight:e.shouldFreezeWrapperHeight,wipeBeforeRender:e.wipeBeforeRender,ya_block_id:e.ya_block_id,ad_unit_name:e.ad_unit_name,authParams:e.authParams};e.publisher_uid&&e.publisher_uid_scope&&(r.publisher_uid=e.publisher_uid,r.publisher_uid_scope=e.publisher_uid_scope),e.begun_metric_before_feed_load&&((new Image).src=e.begun_metric_before_feed_load),this._feed.loadFeed({blockData:r,divID:n,savedFeeds:this.savedFeeds,savedFeedsOptions:this.savedFeedsOptions})},e.prototype.begunToolbarLoaded=function(){if(this._toolbarHelper.toolbar&&this._toolbarHelper.toolbar.init)for(;this.unhandledDebugs.length>0;)this._toolbarHelper.toolbar.init(this.unhandledDebugs.pop())},e.prototype.getBannerData=function(e){return"object"==typeof e?e:this.savedFeeds&&this.savedFeeds[e]?this.savedFeeds[e]:void 0},e.prototype.registerGraphBannerDomains=function(e){this._feed.registerGraphBannerDomains(e)},e.prototype._processDivID=function(e,t){var n=this._store.get("".concat(xi(t),".divID"));return n||(this._store.set("".concat(xi(t),".divID"),e),e)},Dp([ce(Z.Store),jp("design:type",Object)],e.prototype,"Storage",void 0),Dp([ce(Z.EventEmitter),jp("design:type",Object)],e.prototype,"Callbacks",void 0),Dp([ce(Z.Store),jp("design:type",Object)],e.prototype,"_store",void 0),Dp([ce(Z.ToolbarHelper),jp("design:type",ko)],e.prototype,"_toolbarHelper",void 0),Dp([ce(Z.MethodsInitializer),jp("design:type",Object)],e.prototype,"_adInitializer",void 0),e}(),Mp=Lp;var Vp=function(e,t,n,r){if(!tt(e))return e;for(var o=-1,i=(t=_i(t,e)).length,a=i-1,s=e;null!=s&&++o<i;){var c=Si(t[o]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=a){var l=s[c];void 0===(u=r?r(l,c,s):void 0)&&(u=tt(l)?l:Xi(t[o+1])?[]:{})}su(s,c,u),s=s[c]}return e};var Up=function(e,t,n){return null==e?e:Vp(e,t,n)};var Hp=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};var qp=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i};var Wp=function(e,t){return t.length<2?e:Ei(e,qp(t,0,-1))};var zp=function(e,t){return t=_i(t,e),null==(e=Wp(e,t))||delete e[Si(Hp(t))]};var Gp=function(e,t){return null==e||zp(e,t)},Xp=Object.prototype.hasOwnProperty;var Jp=function(e,t){return null!=e&&Xp.call(e,t)};var $p=function(e,t){return null!=e&&Ds(e,t,Jp)},Kp=function(){function e(){this._state={}}return e.prototype.set=function(e,t){Up(this._state,e,t)},e.prototype.get=function(e){return Oi(this._state,e,void 0)},e.prototype.delete=function(e){return Gp(this._state,e)},e.prototype.has=function(e){return $p(this._state,e)},e.prototype.clear=function(){this._state={}},e.prototype.incProperty=function(e,t){"object"!=typeof this._state[e]?(this._state[e]={},this._state[e][t]=0):this._state[e][t]="number"==typeof this._state[e][t]?this._state[e][t]+1:0},e}(),Yp=function(e,t,n){this.callback=e,this.context=t,this.once=n||!1},Qp="~",Zp=Object.prototype.hasOwnProperty;function ef(){}Object.create&&(ef.prototype=Object.create(null),(new ef).__proto__||(Qp=!1));var tf=function(){function e(){this.eventsCount=0,this.events=new ef}return e.prototype.getEventNames=function(){var e=[],t=this.events;if(0===this.eventsCount)return e;for(var n in t)Zp.call(t,n)&&e.push(Qp?n.slice(1):n);return e},e.prototype.getListeners=function(e){var t=Qp?Qp+e:e,n=this.events[t];return n?Array.isArray(n)?n:[n]:[]},e.prototype.getListenerCount=function(e){var t=Qp?Qp+e:e,n=this.events[t];return n?Array.isArray(n)?n.length:1:0},e.prototype.addListener=function(e){var t=e.event,n=e.callback,r=e.context,o=void 0===r?null:r,i=e.once,a=void 0!==i&&i;if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new Yp(n,o||this,a),c=Qp?Qp+t:t;return this.events[c]?Array.isArray(this.events[c])?this.events[c].push(s):this.events[c]=[this.events[c],s]:(this.events[c]=s,this.eventsCount++),this},e.prototype.addListenerOnce=function(e){var t=e.event,n=e.callback,r=e.context,o=void 0===r?null:r;return this.addListener({event:t,callback:n,context:o,once:!0})},e.prototype.removeListener=function(e){var t=e.event,n=e.callback,r=e.context,o=void 0===r?null:r,i=e.once,a=void 0!==i&&i,s=Qp?Qp+t:t;if(!this.events[s])return this;var c=this.events[s],u=[];if(Array.isArray(c)){for(var l=0;l<c.length;l++)(c[l].callback!==n||a&&!c[l].once||o&&c[l].context!==o)&&u.push(c[l]);u.length>0?this.events[s]=1===u.length?u[0]:u:this.clearEvent(s)}else c.callback!==n||a&&a!==c.once||o&&c.context!==o||this.clearEvent(s);return this},e.prototype.removeAllListeners=function(e){var t;return e?(t=Qp?Qp+e:e,this.events[t]&&this.clearEvent(t)):(this.events=new ef,this.eventsCount=0),this},e.prototype.emit=function(e,t){void 0===t&&(t=null);for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=Qp?Qp+e:e;if(!this.events[o])return!1;var i=this.events[o];if(Array.isArray(i))for(var a=0;a<i.length;a++)i[a].once&&this.removeListener({event:e,callback:i[a].callback,context:void 0,once:!0}),i[a].callback.apply(t||i[a].context,n);else i.once&&this.removeListener({event:e,callback:i.callback,context:null,once:!0}),i.callback.apply(t||i.context,n);return!0},e.prototype.clearEvent=function(e){0==--this.eventsCount?this.events=new ef:delete this.events[e]},e}(),nf=tf,rf=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},of=function(){function e(){this.Emitter=new nf}return Object.defineProperty(e.prototype,"callbacksNew",{get:function(){return this.Emitter.getEventNames()},enumerable:!1,configurable:!0}),e.prototype.register=function(e,t){this.extendNew(e,t)},e.prototype.unregister=function(e,t,n){n?this.Emitter.removeListener({event:"".concat(e,"_").concat(t),callback:n}):this.Emitter.removeAllListeners("".concat(e,"_").concat(t))},e.prototype.dispatch=function(e,t,n,r,o){var i;void 0===n&&(n=null),void 0===r&&(r=[]);try{(i=this.Emitter).emit.apply(i,rf(["".concat(e,"_").concat(t),n],r,!1))}catch(n){console.error("Occurred error during dispatching ".concat(e,"_").concat(t," event"),n)}o&&this.unregister(e,t)},e.prototype.extendNew=function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&"object"==typeof e[n])for(var r in e[n])("function"==typeof e[n][r]&&e[n].hasOwnProperty(r)||e[n][r].hasOwnProperty("name")&&""!==e[n][r].name)&&this.Emitter.addListener({event:"".concat(n,"_").concat(r),callback:e[n][r],context:t})},e}(),af=of,sf=function(){function e(){this.callbacks={},this.SCHEME_REGEX=/^[^:\/?#]+:/,this.SECURE_PROTOCOL="https:",this.DEFAULT_PROTOCOL="http:",window.context&&window.context.location&&(window.context.location.protocol||window.context.location.href)?window.context.location.protocol?this.protocol=window.context.location.protocol.toLowerCase():this.protocol=window.context.location.href.split(":").shift().toLowerCase():this.protocol=document.location.protocol.toLowerCase(),this.protocol="".concat(this.protocol.split(":").shift(),":"),this.required={},this.toRun=[]}return e.prototype.getConformProtocol=function(){var e;return e=this.SECURE_PROTOCOL===this.protocol?this.SECURE_PROTOCOL:this.DEFAULT_PROTOCOL,(this.getConformProtocol=function(){return e})()},e.prototype.conformProtocol=function(e,t){return"string"==typeof t&&t.length||(t=this.getConformProtocol()),e.replace(this.SCHEME_REGEX,t)},e.prototype.hasDomain=function(e){var t=/^\/\//.test(e);return t||(t=this.SCHEME_REGEX.test(e)),t},e.prototype.isLastRequired=function(e){var t=0;for(var n in this.required)this.required.hasOwnProperty(n)&&this.required[n]&&(this._norm(n,!0)===this._norm(e,!0)?delete this.required[n]:t+=1);return t<1},e.prototype.addStrictFunction=function(e){for(var t=e.toString(),n=0;n<this.toRun.length;n++)if(this.toRun[n].toString()===t)return;this.toRun.push(e)},e.prototype._norm=function(e,t){return null!=e&&(0===e.indexOf(r())||this.hasDomain(e)||(e=r()+e.replace(/\?.*$/,"")),t&&(e=e.replace(/acp\/([^.]+)\.[0-9a-f]*(?=\.js)/,"$1"))),e},e}(),cf=sf,uf=function(){function e(e){this._data=e}return e.prototype.toJson=function(){return JSON.stringify(this._data)},e.prototype.value=function(){return this._data},e}(),lf=function(){return lf=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},lf.apply(this,arguments)},pf=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},ff=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},df=o(2018),hf=function(){function e(e,t,n,r,o){void 0===t&&(t=Date.now());var i,a=this;this._isLogged=!1,this._isCanceled=!1,this._shouldWaitRealShow=!1,this._isRealShowFired=!1,this._realShows={},this._webAudio={promise:void 0},this._processRealShowBound=this._processRealShow.bind(this),this._trackBlockShow=function(e,t){var n=e,r=t;return a._isComplexBanner()&&(n=a.targetElement.clientWidth,r=a.targetElement.clientHeight),a._processTracking(n,r)},this._getRequestParams=function(){var e,t,n,r,o,i,u=(new bl).getID(),l=lf(lf({log_visibility:0,blocktype:a._requestParams.blocktype,format:"".concat((null===(e=a.targetElement)||void 0===e?void 0:e.clientWidth)||0,"x").concat((null===(t=a.targetElement)||void 0===t?void 0:t.clientHeight)||0),width:(null===(n=a.targetElement)||void 0===n?void 0:n.clientWidth)||0,height:(null===(r=a.targetElement)||void 0===r?void 0:r.clientHeight)||0,time:a._timeTillShow,ftime:a._ftimeLogTimestamp,ftime_intersection:a._ftimeIntersectionTimestamp,place:a._requestParams.place||"",pad_id:a._requestParams.pad_id,block_id:a._requestParams.block_id,reason:a._logReason,reached:a._requestParams.reached,real_shows:a._realShows,stream:fo(),impression_id:a._requestParams.impression_id,uuid:a._getUuid(),fp:a._userID.getID(),fp_version:a._userID.getVersion(),ip_used_by_fp:a._userID.getGatheredIP(),experimental_fps:a._userID.getExperimentalFingerprints(),vcapirs:s,misc:parseInt(a._requestParams.misc,10)||c<<4,rq_type:a._requestParams.rq_type||0},Me({browser_family:a._uaparser.getBrowser().name,browser_version:a._uaparser.getBrowser().version,os_family:a._uaparser.getOS().name,os_version:a._uaparser.getOS().version,device_type:Ne(a._uaparser.getDevice().type)})),{ya_domain:"",adtech_uid:u.uuid||"",adtech_uid_scope:u.scope||"",publisher_uid:(null===(o=a._optionsB)||void 0===o?void 0:o.publisher_uid)||"",publisher_uid_scope:(null===(i=a._optionsB)||void 0===i?void 0:i.publisher_uid_scope)||""});return void 0!==a._requestParams.pageNumber&&null!==a._requestParams.pageNumber&&(l.pageNumber=a._requestParams.pageNumber),a._requestParams.node_id&&(l.node_id=a._setNodeId()),l},this._tryToLogEarlier=function(){a._couldLogEarlier()&&a._logBlockShow()},this._logBlockShow=function(e){var t;a._isLogged||(a.setLogReason(a._logReason||"unload"),e&&a._isRealShowFired&&a.setLogReason("real_show"),a._requestParams.reached=a._shouldLogImmediately()?0:a._requestParams.reached,a._timeTillShow=a._timeTillShow||a._calcTimeTillShow(),a._setCurrentFtime(),a._setIntersectionFtime(),a._getControlledConfig()&&(0,Ti.removeEventListener)(window,"changestate",a._logBlockShow),null===(t=a._resizeObserver)||void 0===t||t.disconnect(),(!a._shouldWaitRealShow||a._shouldLogImmediately()||e)&&(a._performRequest(e),a._isLogged=!0))},this.targetElement=Oe(e),this._timestampOfTargetElementObservationStart=t,this._requestParams=lf({},n),this._optionsB=r,this._isGraphEmpty()?(this.setLogReason("no_banner"),this._tryToLogEarlier()):this.targetElement?(this._setWatchers(),this._processBannerPlaceSearch(r)):(this.setLogReason("place_not_found"),this._tryToLogEarlier()),204===Tp.resStatusCode&&this.setLogReason("empty_banner");var u=this._getControlledConfig();!this._isLogged&&u&&(0,Ti.addEventListener)(window,"changestate",this._logBlockShow),this._onUnloadCaller=new be(this._logBlockShow);var l=(null===(i=this._contextService.savedFeeds[this._requestParams.impression_id])||void 0===i?void 0:i.feed.banners)||(null==o?void 0:o.banners);this.setShouldWaitRealShow(l),this.registerForRealShowEvent(),this._webAudio.promise=this._userID.getWebAudioFp(),this._webAudio.promise.then((function(e){a._webAudio.fp=e}))}return e.prototype.setRequestParamValue=function(e,t){this._requestParams[e]=t},e.prototype.cancel=function(){var e,t,n;this._isCanceled=!0,this.setLogReason("replaced"),null===(e=this._resizeObserver)||void 0===e||e.disconnect(),null===(t=this._intersectionObserver)||void 0===t||t.disconnect(),null===(n=this._targetRemovalDetection)||void 0===n||n.disconnect(),this.unregisterForRealShowEvent(),this._tryToLogEarlier()},e.prototype.getWebAudioPromise=function(){return this._webAudio.promise},e.prototype._processBannerPlaceSearch=function(e){var t=this;this._renderingWatcherFactory(this.targetElement,e,!1).start().then((function(e){document.body.contains(e.actualBannerPlace)&&t.setActualBannerPlace(e.actualBannerPlace)}))},e.prototype.setActualBannerPlace=function(e){var t,n,r,o;e&&e!==this.targetElement&&!this._isCanceled&&(null===(n=null===(t=this._resizeObserver)||void 0===t?void 0:t.disconnect)||void 0===n||n.call(t),null===(o=null===(r=this._intersectionObserver)||void 0===r?void 0:r.disconnect)||void 0===o||o.call(r),this.targetElement=e,this._setWatchers())},e.prototype._setWatchers=function(){this._watchBlockResize(),this._trackReach(),this._detectTargetRemoval()},e.prototype._detectTargetRemoval=function(){var e,t=this,n=!1;this._targetRemovalDetection=new MutationObserver((function(r){for(var o=0,i=r;o<i.length;o++){var a=i[o],s=a.addedNodes,c=a.removedNodes;s.length&&n&&(t.setRequestParamValue("reached",0),t.setActualBannerPlace(s[0]),t._processBannerPlaceSearch(this._optionsB)),s.length&&(e=s[0]),c.length&&Array.from(c).includes(e)&&(n=!0)}})),this._targetRemovalDetection.observe(this.targetElement,{childList:!0})},e.prototype._trackReach=function(){var e=this;1!==this._requestParams.reached?(this._intersectionObserver=new IntersectionObserver((function(t){(null==t?void 0:t[0]).isIntersecting&&(e.setRequestParamValue("reached",1),e._intersectionObserver.disconnect(),e._setIntersectionFtime(),e._tryToLogEarlier())}),{root:null,rootMargin:"0px",threshold:[0]}),this._intersectionObserver.observe(this.targetElement)):this._tryToLogEarlier()},e.prototype._calcTimeTillShow=function(){return Math.abs(Date.now()-this._timestampOfTargetElementObservationStart)},e.prototype._isGraphEmpty=function(){return 0===this._requestParams.graphAmount},e.prototype._watchBlockResize=function(){var e=this;this._resizeObserver=new df((function(t,n){if(Ar(e.targetElement))for(var r=0,o=t;r<o.length;r++){var i=o[r];e._trackBlockShow(i.contentRect.width,i.contentRect.height)&&n.disconnect()}else n.disconnect()})),this._resizeObserver.observe(this.targetElement)},e.prototype._isComplexBanner=function(){var t=this,n=this.targetElement.querySelector(d);if(!n&&this.targetElement.matches(d)&&(n=this.targetElement),n){var r=Xe.getActualBannerPlace(n);return r?(this.setActualBannerPlace(r),!0):e.specificBanners.some((function(e){return!!n.querySelector(e.selector)&&(t._trackSpecificBanner(e.name),!0)}))}return!1},e.prototype._trackSpecificBanner=function(e){var t=document.body,n=this;new MutationObserver((function(t){for(var r=0,o=t;r<o.length;r++){"childList"===o[r].type&&n.setActualBannerPlace(Xe.getActualBannerPlace(document.body,e)||n.targetElement)}})).observe(t,{childList:!0})},e.prototype._processTracking=function(e,t){if(e>15&&t>15){var n=this.targetElement.querySelector(d);return!n&&this.targetElement.matches(d)&&(n=this.targetElement),this.setLogReason("check_size"),this._timeTillShow=this._calcTimeTillShow(),this._setCurrentFtime(),this._tryToLogEarlier(),!0}return!1},e.prototype._setNodeId=function(){var e,t;return this._requestParams.node_id.includes("__ban_")?null===(t=null===(e=document.querySelector("#".concat(this._requestParams.node_id)))||void 0===e?void 0:e.parentElement)||void 0===t?void 0:t.id:this._requestParams.node_id},e.prototype._getUuid=function(){var e,t;if(this._requestParams.uuid)return this._requestParams.uuid;var n=this._contextService.savedFeeds[this._requestParams.impression_id];return(null===(t=null===(e=null==n?void 0:n.feed)||void 0===e?void 0:e.cookies)||void 0===t?void 0:t.uuid)||""},e.prototype._setCurrentFtime=function(){this._ftimeLogTimestamp=this._ftimeLogTimestamp||Math.round(performance.now())},e.prototype._setIntersectionFtime=function(){this._ftimeIntersectionTimestamp=this._ftimeIntersectionTimestamp||Math.round(performance.now())},e.prototype._couldLogEarlier=function(){return!!this._shouldLogImmediately()||("check_size"===this._logReason||this._isRealShowFired)&&1===this._requestParams.reached},e.prototype._shouldLogImmediately=function(){return"replaced"===this._logReason||"no_banner"===this._logReason||"place_not_found"===this._logReason},e.prototype._sendStat=function(e){var t=e.shouldBeaconSupported,n=e.postUrl,r=e.blockStatReq,o=e.asyncFlag;t?navigator.sendBeacon.call(navigator,n,r):Se(n,{data:r,async:o})},e.prototype._performRequest=function(t){var n=this._getRequestParams(),r=t?n:this.processRealShowEventBeforeStatSent(n),o=this._webAudio.fp;o&&(r.experimental_fps.webAudioFp=o);var i,a=new uf(r);this._sendStat({shouldBeaconSupported:(i=this._uaparser.getOS(),!!(null===navigator||void 0===navigator?void 0:navigator.sendBeacon)&&(!i.version||He(i))),postUrl:ho(e.POST_BLOCKSTAT_URL),blockStatReq:a.toJson(),asyncFlag:!t})},e.prototype._getControlledConfig=function(){return this._config.getConfigValue("COLLECT_ANALITYCS_ON_HISTORY_CHANGE")},e.prototype.setLogReason=function(e){this._logReason=e},e.prototype.setShouldWaitRealShow=function(e){this._shouldWaitRealShow=null==e?void 0:e.graph.some((function(e){return v.some((function(t){return t===e.user_id}))}))},e.prototype.registerForRealShowEvent=function(){var e,t;this._shouldWaitRealShow&&window.Begun.Autocontext.Callbacks.register(((e={})[ie.BLOCK]=((t={})[ae.REAL_SHOW]=this._processRealShowBound,t),e))},e.prototype.unregisterForRealShowEvent=function(){window.Begun.Autocontext.Callbacks.unregister(ie.BLOCK,ae.REAL_SHOW,this._processRealShowBound)},e.prototype._processRealShow=function(e,t,n){this._requestParams.impression_id===e&&(this._realShows[t]=n,this._isRealShowFired=!!n,this._isRealShowFired&&(this._shouldWaitRealShow=!1,this.unregisterForRealShowEvent(),this._tryToLogEarlier()))},e.prototype.processRealShowEventBeforeStatSent=function(e){return this._isRealShowFired?(e.reason=this._shouldLogImmediately()?e.reason:"real_show",e):e},e.POST_BLOCKSTAT_URL=p,e.specificBanners=[{selector:"script[src*='Fullscreen']",name:pe.FULLSCREEN},{selector:"script[src*='FloatingBillboard']",name:pe.FLOATING_BILLBOARD}],pf([ce(Z.UserID),ff("design:type",yr)],e.prototype,"_userID",void 0),pf([ce(Z.BegunAutocontext),ff("design:type",Object)],e.prototype,"_contextService",void 0),pf([ce(Z.Config),ff("design:type",Object)],e.prototype,"_config",void 0),pf([ce(Z.UaParserService),ff("design:type",de())],e.prototype,"_uaparser",void 0),pf([ce(Z.RenderingWatcherFactory),ff("design:type",Function)],e.prototype,"_renderingWatcherFactory",void 0),e}(),vf=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},gf=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},mf=function(e){return"".concat(e,".statLogger")},bf=function(){function e(e,t,n,r){void 0===t&&(t=Date.now());var o=gc(e),i=this._store.get(mf(o));i&&(i.cancel(),this._store.delete(mf(o))),this._store.set(mf(o),new hf(e,t,n,r))}return vf([ce(Z.Store),gf("design:type",Object)],e.prototype,"_store",void 0),e}(),yf=function(e){var t=e.styleNonceValue,n=e.bannerClassName,r=e.widthValue,o=e.heightValue,i=e.source;return'\n  <iframe\n    src="'.concat(i,'"\n    allow="clipboard-write self https://dsp-rambler.ru"\n    scrolling="no"\n    frameborder="0"\n    marginheight="0"\n    marginwidth="0"\n    sandbox="allow-scripts allow-forms allow-popups allow-same-origin allow-popups-to-escape-sandbox"\n    class="').concat(n,'"\n  ></iframe>\n  <style type="text/css" nonce="').concat(t,'">\n    .').concat(n," {\n      display: inherit;\n      width: ").concat(r,";\n      height: ").concat(o,";\n    }\n  </style>\n")},wf=function(e){var t=e.impressionID;return'<div class="xhtml_banner" id="axhtml-'.concat(t,'"></div>')},_f=function(e){var t=e.impressionID,n=e.styleNonceValue,r=e.bannerClassName,o=e.widthValue,i=e.heightValue;return'\n  <iframe\n    scrolling="no"\n    allow="clipboard-write self https://dsp-rambler.ru"\n    frameborder="0"\n    marginheight="0"\n    marginwidth="0"\n    id="axhtml-'.concat(t,'"\n    sandbox="allow-scripts allow-forms allow-popups allow-same-origin allow-popups-to-escape-sandbox"\n    class="xhtml_banner ').concat(r,'"\n  >\n  </iframe>\n  <style type="text/css" nonce="').concat(n,'">\n    .').concat(r," {\n      display: inherit;\n      width: ").concat(o,";\n      height: ").concat(i,";\n    }\n  </style>\n")},Sf=function(e){var t=e.url,n=void 0===t?"":t,r=e.source,o=void 0===r?"":r,i=e.styleNonceValue,a=e.bannerClassName,s=e.widthValue,c=e.heightValue;return'\n  <a href="'.concat(n,'" target="_blank">\n    <img src="').concat(o,'" border="0" class="').concat(a,'" />\n  </a>\n  <style type="text/css" nonce="').concat(i,'">\n    .').concat(a," {\n      display: inherit;\n      width: ").concat(s,";\n      height: ").concat(c,";\n    }\n  </style>\n")},Ef=function(){return""},Of=function(){function t(){}return t.prototype.getBannerTemplate=function(t){return e[t]},t}(),kf=function(){return kf=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},kf.apply(this,arguments)},xf=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},Tf=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Pf=function(){function e(){this.defaultOpts={mute:!0}}return e.prototype.startVideo=function(e,t){return xf(this,void 0,void 0,(function(){var n,r,o,i,a,s;return Tf(this,(function(c){switch(c.label){case 0:n={success:!0},r=Yr(),c.label=1;case 1:return c.trys.push([1,5,,6]),[4,this.getVastPlaybackLazy()];case 2:return o=c.sent(),[4,(i=new o({containerElement:e})).load(kf(kf(kf({},this.defaultOpts),{onLoadLogger:function(e){r({event:Fr.VAST_RECEIVED,url:e})},onErrorAfterLoadLogger:function(e){r({event:Fr.SOME_ERROR_AFTER_VAST_RECEIVED,url:e})}}),t))];case 3:return c.sent(),[4,i.startWhenVisible()];case 4:return(a=c.sent()).error&&(n={success:!1,error:a.error}),[3,6];case 5:return s=c.sent(),r({event:Fr.VAST_NOT_RECEIVED_ERROR,description:s.message}),n={success:!1,error:s},[3,6];case 6:return[2,n]}}))}))},e.prototype.getVastPlaybackLazy=function(){return xf(this,void 0,void 0,(function(){var e;return Tf(this,(function(t){switch(t.label){case 0:return this.VastPlaybackClass?[3,2]:[4,o.e(723).then(o.bind(o,4520))];case 1:e=t.sent(),this.VastPlaybackClass=e.VastPlayback,t.label=2;case 2:return[2,this.VastPlaybackClass]}}))}))},e}(),Cf=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},Rf=$(o(4772));se.bind(Z.SyncShow).to(Ai).inSingletonScope(),se.bind(Z.AdfUtil).to(bc).inSingletonScope(),se.bind(Z.MethodsInitializer).to(fp).inSingletonScope(),se.bind(Z.BegunAutocontext).to(Mp).inSingletonScope(),se.bind(Z.BegunScripts).to(cf).inSingletonScope(),se.bind(Z.MonitorClass).to(Qe).inSingletonScope(),se.bind(Z.Refresher).to(Bi).inSingletonScope(),se.bind(Z.InViewTimerStarter).to(Kc).inSingletonScope(),se.bind(Z.DataLoader).toValue(new An),se.bind(Z.SSPRequestsSessionsObserver).to(nl).inSingletonScope(),se.bind(Z.EventEmitter).to(af).inSingletonScope(),se.bind(Z.Store).to(Kp).inSingletonScope(),se.bind(Z.ConfigOptions).toValue(o(1104)),se.bind(Z.Config).to(Ro).inSingletonScope();var If,Af=le(window);se.bind(Z.ToolbarHelper).toValue(Af.includes(y.NO_TOOLBAR)?new xo:new ko),se.bind(Z.MetricsTimer).to(So).inSingletonScope(),se.bind(Z.blockShowLoggerFactory).toValue((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(hf.bind.apply(hf,Cf([void 0],e,!1)))})),se.bind(Z.cachedBlockShowLoggerFactory).toValue((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(bf.bind.apply(bf,Cf([void 0],e,!1)))})),se.bind(Z.RenderingWatcherFactory).toValue((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(Oc.bind.apply(Oc,Cf([void 0],e,!1)))})),se.bind(Z.UserID).toValue(((If=new yr({onInitFPDiscovery:!0,ipDiscUrl:"//webcf.waybackmachine.org/web/20240318155658/https://ssp.rambler.ru/userip",webRTCStunServerURI:"stun:stun.ssp.rambler.ru"})).getFingerPrint(),If.subscribeOnWebRTC((function(){Rf.log(400,"Method WebRTC.getID() have been called")})),If)),se.bind(Z.UaParserService).toValue(new(de())(navigator.userAgent)),se.bind(Z.CoveringWatcher).to(ac).inSingletonScope(),se.bind(Z.BannerTemplatesStore).to(Of),se.bind(Z.SSPRequestParamsBuilderFactory).toValue((function(e){return new Tl(e)})),se.bind(Z.SSPRequestParamsDirector).to(Bl),se.bind(Z.VastPlaybackWrapper).to(Pf),se.bind(Z.PerformanceTemplatesWrapper).to(Rr),Af.includes(y.METRICS)||Math.random()<.1?se.bind(Z.MetricsTransport).toValue(yo.getInstance()):se.bind(Z.MetricsTransport).to(wo).inSingletonScope();var Df=function(){function e(){}return e.prototype.startsWith=function(e,t){return 0===e.lastIndexOf(t,0)},e.prototype.urlDecode=function(e){return decodeURIComponent(e.replace(/\+/g," "))},e}(),jf=Df,Bf=function(){function e(t){this.localDocument=t,e.SPLIT_RE_=/\s*;\s*/}return e.prototype.getCookie_=function(){return this.localDocument.cookie},e.prototype.getParts_=function(){return(this.getCookie_()||"").split(e.SPLIT_RE_)},e.prototype.get=function(e,t){for(var n="".concat(e,"="),r=this.getParts_(),o=new jf,i=0;i<r.length;i++){var a=r[i];if(o.startsWith(a,n))return a.substr(n.length);if(a===e)return""}return t},e}(),Ff=Bf,Nf=$(o(4772)),Lf=function(){function e(){this.USING_PROTOCOLS={http:"http:",https:"https:"},this.COOKIE_KEY="_montblanc",this.PROTOCOL=this.USING_PROTOCOLS.https===location.protocol?this.USING_PROTOCOLS.https:this.USING_PROTOCOLS.http,this.SYNC_URL="".concat(this.PROTOCOL,"//webcf.waybackmachine.org/web/20240318155658/https://montblanc.rambler.ru/mb"),this.synced=!1,this.string=new jf,this.Cookies=new Ff(document)}return e.prototype.sync=function(){this.synced||(this.synced=!0,Be({action:"append",src:this.SYNC_URL,async:!0}))},e.prototype.getParts_=function(){var e=this.Cookies.get(this.COOKIE_KEY,"");return this.string.urlDecode(e).split("&")},e.prototype.get=function(e,t){this.sync();var n,r="".concat(e,"="),o=this.getParts_(),i=0;do{if(n=o[i]){if(this.string.startsWith(n,r))return this.string.urlDecode(n.substr(r.length));if(n===e)return"";i+=1}}while(n);return t},e}();Object.defineProperty(window,"_montblanc",{configurable:!0,enumerable:!0,get:function(){return Nf.log(401,"Montblanc no longer supported. Please stop using it."),window.__montblanc},set:function(e){window.__montblanc=e}}),window._montblanc=new Lf;var Mf,Vf,Uf=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},Hf=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},qf=function(){function e(){this.mobileScrollRate=(window.Adf?window.Adf.mobileScrollRate:0)||0,this.desktopScrollRate=(window.Adf?window.Adf.desktopScrollRate:0)||0}return Uf([ce(Z.AdfUtil),Hf("design:type",Object)],e.prototype,"util",void 0),Uf([ce(Z.MethodsInitializer),Hf("design:type",Object)],e.prototype,"banner",void 0),Uf([ce(Z.Refresher),Hf("design:type",Bi)],e.prototype,"refresher",void 0),e}(),Wf=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},zf=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},Gf=function(){function e(){if(this.Asynced=!0,this.loaderCallbacks=[],this.emptySSPResponses={},void 0!==this.loaderCallbacks)for(var e=0;e<this.loaderCallbacks.length;e++)this.loaderCallbacks[e]()}return Wf([ce(Z.BegunAutocontext),zf("design:type",Object)],e.prototype,"Autocontext",void 0),Wf([ce(Z.BegunScripts),zf("design:type",Object)],e.prototype,"Scripts",void 0),Wf([ce(Z.ToolbarHelper),zf("design:type",ko)],e.prototype,"toolbarHelper",void 0),e}(),Xf=Gf,Jf=function(){function e(){}return e.attemptPreload=function(){e.checkPlace()&&e.optimizeDomain()},e.checkPlace=function(){return e.places.some((function(e){return window.location.href.includes(e)||document.referrer.includes(e)}))},e.optimizeDomain=function(){Object.keys(e.optimizedDomains).forEach((function(t){e.createLink(e.optimizedDomains[t],"preconnect"),e.createLink(e.optimizedDomains[t],"dns-prefetch")}))},e.createLink=function(e,t){var n=document.createElement("link");n.rel=t,n.href=e,"preconnect"===t&&(n.crossOrigin="anonymous"),(document.head||document.body).appendChild(n)},e.optimizedDomains=["https://webcf.waybackmachine.org/web/20240318155658/https://bs.serving-sys.com","https://webcf.waybackmachine.org/web/20240318155658/https://secure-ds.serving-sys.com"],e.places=["lenta.ru","www.championat.com"],e}(),$f=Jf,Kf=function(){function e(){}return e.preloadSizmek=function(){$f.attemptPreload()},e}();Mf=ue(Z.Config)().getConfigValue("STYLE_NONCE_VALUE"),(Vf=document.createElement("style")).innerHTML=o(1485),Vf.setAttribute("nonce",Mf),document&&(document.body||document.head).appendChild(Vf),window.Debug=new Q(-1!==location.href.indexOf("adfox_debug=1"),{CSLogger:o(4772)}),window.Adf=new qf,window.Begun=new Xf,window.Begun.Autocontext.Callbacks.dispatch(ie.LIB,ae.INIT),Kf.preloadSizmek()}(),SSPjs=i}();

}
/*
     FILE ARCHIVED ON 15:56:58 Mar 18, 2024 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 09:54:11 Nov 18, 2024.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 0.566
  exclusion.robots: 0.021
  exclusion.robots.policy: 0.009
  esindex: 0.01
  cdx.remote: 7.265
  LoadShardBlock: 262.399 (6)
  PetaboxLoader3.datanode: 259.041 (8)
  load_resource: 458.323 (2)
  PetaboxLoader3.resolve: 242.177 (2)
*/