/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={},r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s});
;(function(){'use strict';function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var p=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};function ba(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object")}var ca=ba(this);function q(a,b){if(b)a:{var c=ca;a=a.split(".");for(var e=0;e<a.length-1;e++){var d=a[e];if(!(d in c))break a;c=c[d]}a=a[a.length-1];e=c[a];b=b(e);b!=e&&b!=null&&p(c,a,{configurable:!0,writable:!0,value:b})}}
q("Symbol",function(a){function b(k){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(e+(k||"")+"_"+d++,k)}function c(k,m){this.g=k;p(this,"description",{configurable:!0,writable:!0,value:m})}if(a)return a;c.prototype.toString=function(){return this.g};var e="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",d=0;return b});q("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var e=ca[b[c]];typeof e==="function"&&typeof e.prototype[a]!="function"&&p(e.prototype,a,{configurable:!0,writable:!0,value:function(){return da(aa(this))}})}return a});function da(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
function ea(a){return fa(a,a)}function fa(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));return a}function r(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:aa(a)};throw Error(String(a)+" is not an iterable or ArrayLike")}function ha(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c}
var ia=typeof Object.create=="function"?Object.create:function(a){function b(){}b.prototype=a;return new b},ja;if(typeof Object.setPrototypeOf=="function")ja=Object.setPrototypeOf;else{var ka;a:{var la={a:!0},ma={};try{ma.__proto__=la;ka=ma.a;break a}catch(a){}ka=!1}ja=ka?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var na=ja;function u(a,b){a.prototype=ia(b.prototype);a.prototype.constructor=a;if(na)na(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var e=Object.getOwnPropertyDescriptor(b,c);e&&Object.defineProperty(a,c,e)}else a[c]=b[c];a.I=b.prototype}function qa(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b}function v(a,b){return Object.prototype.hasOwnProperty.call(a,b)}
q("Object.values",function(a){return a?a:function(b){var c=[],e;for(e in b)v(b,e)&&c.push(b[e]);return c}});q("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});q("Array.prototype.includes",function(a){return a?a:function(b,c){var e=this;e instanceof String&&(e=String(e));var d=e.length;c=c||0;for(c<0&&(c=Math.max(c+d,0));c<d;c++){var k=e[c];if(k===b||Object.is(k,b))return!0}return!1}});q("String.prototype.includes",function(a){return a?a:function(b,c){if(this==null)throw new TypeError("The 'this' value for String.prototype.includes must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype.includes must not be a regular expression");return this.indexOf(b,c||0)!==-1}});q("WeakMap",function(a){function b(g){this.g=(f+=Math.random()+1).toString();if(g){g=r(g);for(var h;!(h=g.next()).done;)h=h.value,this.set(h[0],h[1])}}function c(){}function e(g){var h=typeof g;return h==="object"&&g!==null||h==="function"}function d(g){if(!v(g,m)){var h=new c;p(g,m,{value:h})}}function k(g){var h=Object[g];h&&(Object[g]=function(l){if(l instanceof c)return l;Object.isExtensible(l)&&d(l);return h(l)})}if(function(){if(!a||!Object.seal)return!1;try{var g=Object.seal({}),h=Object.seal({}),l=new a([[g,2],[h,3]]);if(l.get(g)!=2||l.get(h)!=3)return!1;l.delete(g);l.set(h,4);return!l.has(g)&&l.get(h)==4}catch(n){return!1}}())return a;var m="$jscomp_hidden_"+Math.random();k("freeze");k("preventExtensions");k("seal");var f=0;b.prototype.set=function(g,h){if(!e(g))throw Error("Invalid WeakMap key");d(g);if(!v(g,m))throw Error("WeakMap key fail: "+g);g[m][this.g]=h;return this};b.prototype.get=function(g){return e(g)&&v(g,m)?g[m][this.g]:void 0};b.prototype.has=function(g){return e(g)&&v(g,m)&&v(g[m],this.g)};b.prototype.delete=function(g){return e(g)&&v(g,m)&&v(g[m],this.g)?delete g[m][this.g]:!1};return b});q("Map",function(a){function b(){var f={};return f.l=f.next=f.head=f}function c(f,g){var h=f[1];return da(function(){if(h){for(;h.head!=f[1];)h=h.l;for(;h.next!=h.head;)return h=h.next,{done:!1,value:g(h)};h=null}return{done:!0,value:void 0}})}function e(f,g){var h=g&&typeof g;h=="object"||h=="function"?k.has(g)?h=k.get(g):(h=""+ ++m,k.set(g,h)):h="p_"+g;var l=f[0][h];if(l&&v(f[0],h))for(f=0;f<l.length;f++){var n=l[f];if(g!==g&&n.key!==n.key||g===n.key)return{id:h,list:l,index:f,i:n}}return{id:h,list:l,index:-1,i:void 0}}function d(f){this[0]={};this[1]=b();this.size=0;if(f){f=r(f);for(var g;!(g=f.next()).done;)g=g.value,this.set(g[0],g[1])}}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var f=Object.seal({x:4}),g=new a(r([[f,"s"]]));if(g.get(f)!="s"||g.size!=1||g.get({x:4})||g.set({x:4},"t")!=g||g.size!=2)return!1;var h=g.entries(),l=h.next();if(l.done||l.value[0]!=f||l.value[1]!="s")return!1;l=h.next();return l.done||l.value[0].x!=4||l.value[1]!="t"||!h.next().done?!1:!0}catch(n){return!1}}())return a;var k=new WeakMap;d.prototype.set=function(f,g){f=f===0?0:f;var h=e(this,f);h.list||(h.list=this[0][h.id]=[]);h.i?h.i.value=g:(h.i={next:this[1],l:this[1].l,head:this[1],key:f,value:g},h.list.push(h.i),this[1].l.next=h.i,this[1].l=h.i,this.size++);return this};d.prototype.delete=function(f){f=e(this,f);return f.i&&f.list?(f.list.splice(f.index,1),f.list.length||delete this[0][f.id],f.i.l.next=f.i.next,f.i.next.l=f.i.l,f.i.head=null,this.size--,!0):!1};d.prototype.clear=function(){this[0]={};this[1]=this[1].l=b();this.size=0};d.prototype.has=function(f){return!!e(this,f).i};d.prototype.get=function(f){return(f=e(this,f).i)&&f.value};d.prototype.entries=function(){return c(this,function(f){return[f.key,f.value]})};d.prototype.keys=function(){return c(this,function(f){return f.key})};d.prototype.values=function(){return c(this,function(f){return f.value})};d.prototype.forEach=function(f,g){for(var h=this.entries(),l;!(l=h.next()).done;)l=l.value,f.call(g,l[1],l[0],this)};d.prototype[Symbol.iterator]=d.prototype.entries;var m=0;return d});q("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});q("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});q("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991});q("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});q("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});function ra(a,b){a instanceof String&&(a+="");var c=0,e=!1,d={next:function(){if(!e&&c<a.length){var k=c++;return{value:b(k,a[k]),done:!1}}e=!0;return{done:!0,value:void 0}}};d[Symbol.iterator]=function(){return d};return d}q("globalThis",function(a){return a||ca});q("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||b===Infinity||b===-Infinity||b===0)return b;var c=Math.floor(Math.abs(b));return b<0?-c:c}});q("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});q("Array.prototype.values",function(a){return a?a:function(){return ra(this,function(b,c){return c})}});var w=this||self;function sa(a,b){a=a.split(".");var c=w;a[0]in c||typeof c.execScript=="undefined"||c.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)a.length||b===void 0?c[e]&&c[e]!==Object.prototype[e]?c=c[e]:c=c[e]={}:c[e]=b};var ta={F:"loaded",G:"prov"};function ua(a){return typeof a==="string"&&Object.values(ta).includes(a)};function va(a){a=(a===void 0?null:a)||w;return a.googlefc||(a.googlefc={})};function wa(a){w.setTimeout(function(){throw a},0)};var xa,z;a:{for(var ya=["CLOSURE_FLAGS"],za=w,Aa=0;Aa<ya.length;Aa++)if(za=za[ya[Aa]],za==null){z=null;break a}z=za}var Ba=z&&z[610401301];xa=Ba!=null?Ba:!1;var A,Ca=w.navigator;A=Ca?Ca.userAgentData||null:null;function Da(a){return xa?A?A.brands.some(function(b){return(b=b.brand)&&b.indexOf(a)!=-1}):!1:!1}function B(a){var b;a:{if(b=w.navigator)if(b=b.userAgent)break a;b=""}return b.indexOf(a)!=-1};function C(){return xa?!!A&&A.brands.length>0:!1}function Ea(){return C()?Da("Chromium"):(B("Chrome")||B("CriOS"))&&!(C()?0:B("Edge"))||B("Silk")};function Fa(a,b){for(var c=a.length,e=typeof a==="string"?a.split(""):a,d=0;d<c;d++)if(d in e&&b.call(void 0,e[d],d,a))return!0;return!1};var Ga=C()?!1:B("Trident")||B("MSIE");!B("Android")||Ea();Ea();B("Safari")&&(Ea()||(C()?0:B("Coast"))||(C()?0:B("Opera"))||(C()?0:B("Edge"))||(C()?Da("Microsoft Edge"):B("Edg/"))||C()&&Da("Opera"));var Ha={},Ia=null;var Ja=typeof Uint8Array!=="undefined",Ka=!Ga&&typeof btoa==="function";function La(){return typeof BigInt==="function"};function Ma(a){a.H=!0;return a};var Na=Ma(function(a){return typeof a==="number"}),Oa=Ma(function(a){return typeof a==="string"}),Pa=Ma(function(a){return typeof a==="boolean"});var Ra=typeof w.BigInt==="function"&&typeof w.BigInt(0)==="bigint";function D(a){var b=a;if(Oa(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b))}else if(Na(b)&&!Number.isSafeInteger(b))throw Error(String(b));return Ra?BigInt(a):a=Pa(a)?a?"1":"0":Oa(a)?a.trim()||"0":String(a)}var Xa=Ma(function(a){return Ra?a>=Sa&&a<=Ta:a[0]==="-"?Ua(a,Va):Ua(a,Wa)}),Va=Number.MIN_SAFE_INTEGER.toString(),Sa=Ra?BigInt(Number.MIN_SAFE_INTEGER):void 0,Wa=Number.MAX_SAFE_INTEGER.toString(),Ta=Ra?BigInt(Number.MAX_SAFE_INTEGER):void 0;function Ua(a,b){if(a.length>b.length)return!1;if(a.length<b.length||a===b)return!0;for(var c=0;c<a.length;c++){var e=a[c],d=b[c];if(e>d)return!1;if(e<d)return!0}};var E=0,F=0;function Ya(a){var b=a>>>0;E=b;F=(a-b)/4294967296>>>0}function Za(a){if(a<0){Ya(-a);var b=r($a(E,F));a=b.next().value;b=b.next().value;E=a>>>0;F=b>>>0}else Ya(a)}function ab(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else La()?c=""+(BigInt(b)<<BigInt(32)|BigInt(a)):(c=(a>>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+c*6777216+b*6710656,c+=b*8147497,b*=2,a>=1E7&&(c+=a/1E7>>>0,a%=1E7),c>=1E7&&(b+=c/1E7>>>0,c%=1E7),c=b+bb(c)+bb(a));return c}
function bb(a){a=String(a);return"0000000".slice(a.length)+a}function cb(){var a=E,b=F;b&2147483648?La()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=r($a(a,b)),a=b.next().value,b=b.next().value,a="-"+ab(a,b)):a=ab(a,b);return a}function $a(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};var G=typeof Symbol==="function"&&typeof Symbol()==="symbol",H;H=typeof Symbol==="function"&&typeof Symbol()==="symbol"?Symbol():void 0;var db=G?function(a,b){a[H]|=b}:function(a,b){a.j!==void 0?a.j|=b:Object.defineProperties(a,{j:{value:b,configurable:!0,writable:!0,enumerable:!1}})},eb=G?function(a,b){a[H]&=~b}:function(a,b){a.j!==void 0&&(a.j&=~b)},I=G?function(a){return a[H]|0}:function(a){return a.j|0},fb=G?function(a){return a[H]}:function(a){return a.j},J=G?function(a,b){a[H]=b}:function(a,b){a.j!==void 0?a.j=b:Object.defineProperties(a,{j:{value:b,configurable:!0,writable:!0,enumerable:!1}})};function gb(a,b){J(b,(a|0)&-30975)}function hb(a,b){J(b,(a|34)&-30941)};var ib={},jb={};function kb(a){return!(!a||typeof a!=="object"||a.g!==jb)}function lb(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object}function mb(a){return!Array.isArray(a)||a.length?!1:I(a)&1?!0:!1}var nb,ob=[];J(ob,55);nb=Object.freeze(ob);function pb(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};function qb(){var a=Error();pb(a,"incident");wa(a)}function rb(a){a=Error(a);pb(a,"warning");return a};var sb=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function tb(a){var b=0;b=b===void 0?0:b;a:{var c=typeof a;switch(c){case "bigint":c=!0;break a;case "number":c=Number.isFinite(a);break a}c=c!=="string"?!1:sb.test(a)}if(!c)throw rb("int64");c=typeof a;switch(b){case 4096:switch(c){case "string":return ub(a);case "bigint":return String(BigInt.asIntN(64,a));default:return vb(a)}case 8192:switch(c){case "string":return b=Math.trunc(Number(a)),Number.isSafeInteger(b)?a=D(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),a=La()?D(BigInt.asIntN(64,BigInt(a))):D(wb(a))),a;case "bigint":return D(BigInt.asIntN(64,a));default:return Number.isSafeInteger(a)?D(xb(a)):D(vb(a))}case 0:switch(c){case "string":return ub(a);case "bigint":return D(BigInt.asIntN(64,a));default:return xb(a)}default:throw Error("Unknown format requested type for int64")}}function yb(a){return a[0]==="-"?a.length<20?!0:a.length===20&&Number(a.substring(0,7))>-922337:a.length<19?!0:a.length===19&&Number(a.substring(0,6))<922337}
function wb(a){if(yb(a))return a;if(a.length<16)Za(Number(a));else if(La())a=BigInt(a),E=Number(a&BigInt(4294967295))>>>0,F=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");F=E=0;for(var c=a.length,e=b,d=(c-b)%6+b;d<=c;e=d,d+=6)e=Number(a.slice(e,d)),F*=1E6,E=E*1E6+e,E>=4294967296&&(F+=Math.trunc(E/4294967296),F>>>=0,E>>>=0);b&&(b=r($a(E,F)),a=b.next().value,b=b.next().value,E=a,F=b)}return cb()}
function xb(a){a=Math.trunc(a);if(!Number.isSafeInteger(a)){Za(a);var b=E,c=F;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);b=c*4294967296+(b>>>0);a=a?-b:b}return a}function vb(a){a=Math.trunc(a);if(Number.isSafeInteger(a))a=String(a);else{var b=String(a);yb(b)?a=b:(Za(a),a=cb())}return a}function ub(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return wb(a)};function zb(a){K===void 0&&(K=typeof Proxy==="function"?Ab(Proxy):null);if(!K||!Bb())return a;var b=Cb(a);if(b)return b;if(Math.random()>.01)return a;Db(a);b=new K(a,{set:function(c,e,d){Eb();c[e]=d;return!0}});Fb(a,b);return b}function Eb(){qb()}var Gb=void 0,Hb=void 0;function Cb(a){var b;return(b=Gb)==null?void 0:b.get(a)}function Fb(a,b){(Gb||(Gb=new L)).set(a,b);(Hb||(Hb=new L)).set(b,a)}var K=void 0,L=void 0;function Bb(){L===void 0&&(L=typeof WeakMap==="function"?Ab(WeakMap):null);return L}function Ab(a){try{return a.toString().indexOf("[native code]")!==-1?a:null}catch(b){return null}}var Ib=void 0;function Db(a){if(Ib===void 0){var b=new K([],{});Ib=Array.prototype.concat.call([],b).length===1}Ib&&typeof Symbol==="function"&&Symbol.isConcatSpreadable&&(a[Symbol.isConcatSpreadable]=!0)}function Jb(a,b){var c=Kb(a,b);c&&!Lb(a,c)&&(Mb(),Nb(a,b))}
function Lb(a,b){if(a.length!==b.length)return!1;for(var c in b){var e=Number(c),d;if(d=Object.prototype.hasOwnProperty.call(b,c)&&Number.isInteger(e))d=a[e],e=b[e],d=!(Number.isNaN(d)?Number.isNaN(e):d===e);if(d)return!1}return!0}function Ob(a){var b;if(a&&(b=M)!=null&&b.has(a)&&(b=a.h))for(var c=0;c<b.length;c++){var e=b[c];if(c===b.length-1&&lb(e))for(var d in e){if(Object.prototype.hasOwnProperty.call(e,d)){var k=e[d];Array.isArray(k)&&Jb(k,a)}}else Array.isArray(e)&&Jb(e,a)}}
function Mb(){qb()}var M=void 0;function Kb(a,b){var c,e;return(c=M)==null?void 0:(e=c.get(b))==null?void 0:e.get(a)}function Nb(a,b){var c,e;(c=M)==null||(e=c.get(b))==null||e.delete(a)};var Pb;function Sb(a,b){Pb=b;a=new a(b);Pb=void 0;return a}
function P(a,b,c){var e=e!=null?e:0;a==null&&(a=Pb);Pb=void 0;if(a==null){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-33521665|(b&1023)<<15)}else{if(!Array.isArray(a))throw Error("narr");d=I(a);if(d&2048)throw Error("farr");if(d&64)return a;e===1||e===2||(d|=64);if(c&&(d|=512,c!==a[0]))throw Error("mid");a:{c=a;if(e=c.length){var k=e-1;if(lb(c[k])){d|=256;b=k-(+!!(d&512)-1);if(b>=1024)throw Error("pvtlmt");d=d&-33521665|(b&1023)<<15;break a}}if(b){b=Math.max(b,e-(+!!(d&512)-1));if(b>1024)throw Error("spvt");d=d&-33521665|(b&1023)<<15}}}J(a,d);return a};function Tb(a,b){return Ub(b)}
function Ub(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "bigint":return Xa(a)?Number(a):String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(mb(a))return}else if(Ja&&a!=null&&a instanceof Uint8Array){if(Ka){for(var b="",c=0,e=a.length-10240;c<e;)b+=String.fromCharCode.apply(null,a.subarray(c,c+=10240));b+=String.fromCharCode.apply(null,c?a.subarray(c):a);a=btoa(b)}else{b===void 0&&(b=0);if(!Ia){Ia={};c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split("");e=["+/=","+/","-_=","-_.","-_"];for(var d=0;d<5;d++){var k=c.concat(e[d].split(""));Ha[d]=k;for(var m=0;m<k.length;m++){var f=k[m];Ia[f]===void 0&&(Ia[f]=m)}}}b=Ha[b];c=Array(Math.floor(a.length/3));e=b[64]||"";for(d=k=0;k<a.length-2;k+=3){var g=a[k],h=a[k+1];f=a[k+2];m=b[g>>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|f>>6];f=b[f&63];c[d++]=m+g+h+f}m=0;f=e;switch(a.length-k){case 2:m=a[k+1],f=b[(m&15)<<2]||e;case 1:a=a[k],c[d]=b[a>>2]+b[(a&3)<<4|m>>4]+f+e}a=c.join("")}return a}}return a};function Vb(a,b,c){a=Array.prototype.slice.call(a);var e=a.length,d=b&256?a[e-1]:void 0;e+=d?-1:0;for(b=b&512?1:0;b<e;b++)a[b]=c(a[b]);if(d){b=a[b]={};for(var k in d)Object.prototype.hasOwnProperty.call(d,k)&&(b[k]=c(d[k]))}return a}function Wb(a,b,c,e,d){if(a!=null){if(Array.isArray(a))a=mb(a)?void 0:d&&I(a)&2?a:Xb(a,b,c,e!==void 0,d);else if(lb(a)){var k={},m;for(m in a)Object.prototype.hasOwnProperty.call(a,m)&&(k[m]=Wb(a[m],b,c,e,d));a=k}else a=b(a,e);return a}}
function Xb(a,b,c,e,d){var k=e||c?I(a):0;e=e?!!(k&32):void 0;a=Array.prototype.slice.call(a);for(var m=0;m<a.length;m++)a[m]=Wb(a[m],b,c,e,d);c&&c(k,a);return a}function Yb(a){return a.v===ib?a.toJSON():Ub(a)};function Zb(a,b,c){c=c===void 0?hb:c;if(a!=null){if(Ja&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var e=I(a);if(e&2)return a;b&&(b=e===0||!!(e&32)&&!(e&64||!(e&16)));return b?(J(a,(e|34)&-12293),a):Xb(a,Zb,e&4?hb:c,!0,!0)}a.v===ib&&(c=a.h,e=fb(c),e&2||(Ob(a),a=Sb(a.constructor,$b(c,e,!0))));return a}}function $b(a,b,c){var e=c||b&2?hb:gb,d=!!(b&32);a=Vb(a,b,function(k){return Zb(k,d,e)});db(a,32|(c?2:0));return a};function ac(a,b,c){var e=a.h,d=fb(e);if(d&2)throw Error();bc(e,d,b,c);return a}function bc(a,b,c,e){var d=b>>15&1023||536870912;if(c>=d){var k=b;if(b&256)var m=a[a.length-1];else{if(e==null)return k;m=a[d+(+!!(b&512)-1)]={};k|=256}m[c]=e;c<d&&(a[c+(+!!(b&512)-1)]=void 0);k!==b&&J(a,k);return k}a[c+(+!!(b&512)-1)]=e;b&256&&(a=a[a.length-1],c in a&&delete a[c]);return b}function Q(a){return!!(2&a)&&!!(4&a)||!!(2048&a)}function cc(a,b,c){c==null&&(c=void 0);return ac(a,b,c)}
function dc(a,b){a=(2&b?a|2:a&-3)|32;return a&=-2049}function ec(a,b){32&b||(a&=-33);return a};var R;function S(a,b,c){this.h=P(a,b,c)}S.prototype.toJSON=function(){return fc(this)};function T(a){try{return R=!0,JSON.stringify(fc(a),Tb)}finally{R=!1}}S.prototype.v=ib;S.prototype.toString=function(){try{return R=!0,fc(this).toString()}finally{R=!1}};function fc(a){Ob(a);a=R?a.h:Xb(a.h,Yb,void 0,void 0,!1);var b=!R,c=a.length;if(c){var e=a[c-1],d=lb(e);d?c--:e=void 0;var k=a;if(d){b:{var m=e;var f;var g=!1;if(m)for(var h in m)if(Object.prototype.hasOwnProperty.call(m,h))if(isNaN(+h))d=void 0,((d=f)!=null?d:f={})[h]=m[h];else if(d=m[h],Array.isArray(d)&&(mb(d)||kb(d)&&d.size===0)&&(d=null),d==null&&(g=!0),d!=null){var l=void 0;((l=f)!=null?l:f={})[h]=d}g||(f=m);if(f)for(var n in f){g=f;break b}g=null}m=g==null?e!=null:g!==e}for(;c>0;c--){f=k[c-1];if(!(f==null||mb(f)||kb(f)&&f.size===0))break;var t=!0}if(k!==a||m||t){if(!b)k=Array.prototype.slice.call(k,0,c);else if(t||m||g)k.length=c;g&&k.push(g)}t=k}else t=a;return t};function U(a){return function(b){if(b==null||b=="")b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");db(b,32);b=Sb(a,b)}return b}};function gc(a){this.h=P(a)}u(gc,S);var hc=U(gc);function ic(a){this.h=P(a)}u(ic,S);var jc=U(ic);function kc(a){this.h=P(a)}u(kc,S);function lc(a){var b=new kc;if(a!=null){if(!Number.isFinite(a))throw rb("enum");a|=0}return ac(b,1,a)};function V(a){this.h=P(a)}u(V,S);function mc(a,b){return cc(a,2,b)}V.prototype.setCmpModeObject=function(a){return cc(this,3,a)};V.prototype.setExperimentsObject=function(a){return cc(this,5,a)};var nc=U(V);function Y(){this.o=this.g=null;this.B=!1}Y.prototype.setCmpModeObject=function(a){try{this.g=hc(a)}catch(b){}};Y.prototype.setExperimentsObject=function(a){try{this.o=jc(a)}catch(b){}};Y.prototype.getSerializedReturnMessageForCommand=function(a){if(this.B)return T(mc(new V,lc(4)));switch(a){case "loaded":return T(oc(this));case "prov":return T(oc(this));default:return this.getSerializedReturnMessageForInvalidCommand()}};Y.prototype.getSerializedReturnMessageForInvalidCommand=function(){return T(mc(new V,lc(2)))};Y.prototype.setError=function(){this.B=!0};function oc(a){return mc((new V).setCmpModeObject(a.g).setExperimentsObject(a.o),lc(1))}function pc(a){var b=a.__fcInternalApiManager;if(typeof b!=="undefined")return b;b=new Y;return a.__fcInternalApiManager=b};function Z(a){this.h=P(a)}u(Z,S);var qc=U(Z);function rc(a){this.h=P(a)}u(rc,S);var sc=U(rc);function tc(a,b){this.s=b;this.A=new Map;this.u=new Map;this.m=0;this.C=pc(a);this.u.set("prov",!0)}
tc.prototype.push=function(a,b){b=b&&typeof b==="object"&&typeof b.cb==="function"?b:{cb:b};if(!ua(a)){var c=this.C.getSerializedReturnMessageForInvalidCommand();uc(this,b.cb,c);return this.m}if(!this.u.get(a))return b=b.cb,c=this.A.get(a)||[],c.push(b),this.A.set(a,c),this.m;c=this.C.getSerializedReturnMessageForCommand(a);switch(a){case "prov":if(b.spsp){var e=qc(b.spsp);a=new rc;this.s.D.has(18)&&(a=(a=this.s.D.get(18))?sc(a):new rc);var d=fb(a.h);if(d&2)throw Error();var k=d,m,f=a.h,g=(d=!!(2&k))?1:2;m&&(m=!d);d=k>>15&1023||536870912;if(1>=d)d=k&256?f[f.length-1][1]:void 0;else{var h=1+(+!!(k&512)-1);d=h<0||h>=f.length||h>=d?void 0:f[h]}d=Array.isArray(d)?d:nb;var l=I(d);h=d;Jb(h,a);g!==2&&g!==1||Nb(h,a);h=!!(4&l);if(!h){var n=l;n===0&&(n=dc(n,k));l=d;n|=1;var t=k,y=!!(2&n);y&&(t|=2);for(var N=!y,O=!0,oa=0,Qa=0;oa<l.length;oa++){var x=l[oa];var pa=Z,Qb=t;if(x==null||typeof x!=="object"||x.v!==ib)if(Array.isArray(x)){var Rb=I(x),W=Rb;W===0&&(W|=Qb&32);W|=Qb&2;W!==Rb&&J(x,W);x=new pa(x)}else x=void 0;x instanceof Z&&(y||(pa=!!(I(x.h)&2),N&&(N=!pa),O&&(O=pa)),l[Qa++]=x)}Qa<oa&&(l.length=Qa);n|=4;n=O?n|16:n&-17;n=N?n|8:n&-9;J(l,n);y&&Object.freeze(l);l=n}if(m&&!(8&l||!d.length&&(g===1||g===4&&32&l))){Q(l)?(d=Array.prototype.slice.call(d),l=dc(l,k),k=bc(f,k,1,d)):Nb(d,a);m=d;for(n=0;n<m.length;n++)t=m[n],O=t.h,N=fb(O),N&2?(y=t,Ob(y),y=Sb(y.constructor,$b(O,N,!1))):y=t,t!==y&&(m[n]=y);l|=8;l=m.length?l&-17:l|16;J(m,l)}if(g===1||g===4&&32&l)Q(l)||(k=l,f=!!(32&l),l|=!d.length||16&l&&(!h||f)?2:2048,l!==k&&J(d,l),Object.freeze(d));else if(h=g!==5?!1:!!(32&l)||Q(l)||!!Cb(d),(g===2||h)&&Q(l)&&(d=Array.prototype.slice.call(d),l=dc(l,k),l=ec(l,k),J(d,l),k=bc(f,k,1,d)),Q(l)||(f=l,l=ec(l,k),l!==f&&J(d,l)),h){var X=zb(d);k=d;if(Bb()&&!(Kb(k,a)||Math.random()>.01)){g=k.length;f={length:g};for(h=0;h<Math.min(g,10);h++)g<=10?m=h:(m=g/10,l=Math.floor(h*m),m=l+Math.floor(Math.random()*(Math.floor((h+1)*m)-l))),f[m]=k[m];Lb(k,f)?(g=M||(M=new L),h=g.get(a),h||(h=new L,g.set(a,h)),h.set(k,f)):(qb(),Nb(k,a))}}X=X||d;e=e!=null?e:new Z;X.push(e);I(e.h)&2?eb(X,8):eb(X,16);T(a)}uc(this,b.cb,c);break;case "loaded":uc(this,b.cb,c)}return this.m};tc.prototype.executeCommandType=function(a){if(!ua(a))return this.m;this.u.set(a,!0);for(var b=this.A.get(a)||[];b.length>0;){var c=b.shift();typeof c==="function"&&this.push(a,c)}return this.m};tc.prototype.executeAllRemainingCommands=function(){for(var a=r(Object.values(ta)),b=a.next();!b.done;b=a.next())this.executeCommandType(b.value);return this.m};function uc(a,b,c){typeof b==="function"&&(b(c),a.m++)}function vc(a,b){var c=va(a).__fci||[];if(!Array.isArray(c))return c;a=new tc(a,b);if(c.length%2===0)for(b=0;b<c.length-1;b+=2){var e=c[b],d=c[b+1];typeof e!=="string"||typeof d!=="function"&&typeof d!=="object"||a.push(e,d)}c=!0;c=c===void 0?!1:c;b=va(null);if(!b.hasOwnProperty("__fci")||c)b.__fci=a;return a};function wc(a){this.g=window;this.s=a;this.o=null}wc.prototype.load=function(){vc(this.g,this.s);xc(this)};function xc(a){a.g.__fcInternalApiPostMessageReady||(a.o=function(b){yc(a,b)},a.g.addEventListener("message",a.o),a.g.__fcInternalApiPostMessageReady=!0)}
function yc(a,b){var c=b.data.__fciCall;if(c&&ua(c.command)&&typeof c.callId==="number"&&(typeof c.spsp==="undefined"||typeof c.spsp==="string")){var e={cb:function(d){try{var k=nc(d),m=c.callId;var f=m==null?m:tb(m);var g=ac(k,1,f)}catch(h){return}d={__fciReturn:T(g)};b.source&&typeof b.source.postMessage==="function"&&b.source.postMessage(d,b.origin);return d}};c.spsp&&(e.spsp=c.spsp);vc(a.g,a.s).push(c.command,e)}};var zc=globalThis.trustedTypes,Ac;function Bc(){var a=null;if(!zc)return a;try{var b=function(c){return c};a=zc.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a};function Cc(a){this.g=a}Cc.prototype.toString=function(){return this.g+""};function Dc(a){Ac===void 0&&(Ac=Bc());var b=Ac;return new Cc(b?b.createScriptURL(a):a)};function Ec(a){var b=Fc;if(b instanceof Cc)b=b.g;else throw Error("");a.src=b.toString()};function Gc(a){var b=qa.apply(1,arguments);if(b.length===0)return Dc(a[0]);for(var c=a[0],e=0;e<b.length;e++)c+=encodeURIComponent(b[e])+a[e+1];return Dc(c)};function Hc(){this.g=w.top.document||w.document||document}function Ic(a){a=a.g;var b="IFRAME";a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)};var Jc=ea(['javascript:""']),Kc=ea(["about:blank"]),Fc=Ga?Gc(Jc):Gc(Kc);function Lc(){this.g=new Hc}function Mc(a,b){if(!Nc(a,b)){var c=Ic(a.g);c.name=b;Ec(c);c.style.display="none";c.style.width="0px";c.style.height="0px";c.style.border="none";c.style.zIndex="-1000";c.style.left="-1000px";c.style.top="-1000px";var e=function(){a.g.g.body?a.g.g.body.appendChild(c):w.setTimeout(e,5)};e()}}function Nc(a,b){return Fa(a.g.g.getElementsByTagName("IFRAME"),function(c){return c.name===b})};function Oc(){this.D=new Map};(function(a,b){w[a]=function(){var c=qa.apply(0,arguments);w[a]=function(){};b.call.apply(b,[null].concat(c instanceof Array?c:ha(r(c))))}})("__an6na521li18__",function(a){var b=w.btoa(a+"loader_js"),c=w.btoa(Date.now().toString());sa(b,c);a=w.btoa(a+"cached_js");b=w.btoa(Date.now().toString());sa(a,b);a=new Oc;(new wc(a)).load();pc(window).setError();vc(window,a).executeAllRemainingCommands();a=new Lc;Mc(a,"googlefcInactive");Mc(a,"googlefcLoaded")})}).call(this);__an6na521li18__('')
;(function(){function signalGooglefcPresent(){if(!window.frames.googlefcPresent){if(document.body){const iframe=document.createElement('iframe');iframe.style='width: 0; height: 0; border: none; z-index: -1000; left: -1000px; top: -1000px;';iframe.style.display='none';iframe.name='googlefcPresent';document.body.appendChild(iframe)}else{setTimeout(signalGooglefcPresent,0)}}}signalGooglefcPresent()})()
;(function(){'use strict';function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};function ea(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object")}var fa=ea(this);function ha(a,b){if(b)a:{var c=fa;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!0,writable:!0,value:b})}}
var ia="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},l;if("function"==typeof Object.setPrototypeOf)l=Object.setPrototypeOf;else{var m;a:{var ja={a:!0},ka={};try{ka.__proto__=ja;m=ka.a;break a}catch(a){}m=!1}l=m?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var la=l;function n(a,b){a.prototype=ia(b.prototype);a.prototype.constructor=a;if(la)la(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.A=b.prototype}function ma(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b}
var na="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(a[e]=d[e])}return a};ha("Object.assign",function(a){return a||na});var p=this||self;function q(a){return a};var t,u;a:{for(var oa=["CLOSURE_FLAGS"],v=p,x=0;x<oa.length;x++)if(v=v[oa[x]],null==v){u=null;break a}u=v}var pa=u&&u[610401301];t=null!=pa?pa:!1;var z,qa=p.navigator;z=qa?qa.userAgentData||null:null;function A(a){return t?z?z.brands.some(function(b){return(b=b.brand)&&-1!=b.indexOf(a)}):!1:!1}function B(a){var b;a:{if(b=p.navigator)if(b=b.userAgent)break a;b=""}return-1!=b.indexOf(a)};function C(){return t?!!z&&0<z.brands.length:!1}function D(){return C()?A("Chromium"):(B("Chrome")||B("CriOS"))&&!(C()?0:B("Edge"))||B("Silk")};var ra=C()?!1:B("Trident")||B("MSIE");!B("Android")||D();D();B("Safari")&&(D()||(C()?0:B("Coast"))||(C()?0:B("Opera"))||(C()?0:B("Edge"))||(C()?A("Microsoft Edge"):B("Edg/"))||C()&&A("Opera"));var sa={},E=null;var ta="undefined"!==typeof Uint8Array,ua=!ra&&"function"===typeof btoa;var F="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():void 0,G=F?function(a,b){a[F]|=b}:function(a,b){void 0!==a.g?a.g|=b:Object.defineProperties(a,{g:{value:b,configurable:!0,writable:!0,enumerable:!1}})};function va(a){var b=H(a);1!==(b&1)&&(Object.isFrozen(a)&&(a=Array.prototype.slice.call(a)),I(a,b|1))}
var H=F?function(a){return a[F]|0}:function(a){return a.g|0},J=F?function(a){return a[F]}:function(a){return a.g},I=F?function(a,b){a[F]=b}:function(a,b){void 0!==a.g?a.g=b:Object.defineProperties(a,{g:{value:b,configurable:!0,writable:!0,enumerable:!1}})};function wa(){var a=[];G(a,1);return a}function xa(a,b){I(b,(a|0)&-99)}function K(a,b){I(b,(a|34)&-73)}function L(a){a=a>>11&1023;return 0===a?536870912:a};var M={};function N(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object}var O,ya=[];I(ya,39);O=Object.freeze(ya);var P;function Q(a,b){P=b;a=new a(b);P=void 0;return a}
function R(a,b,c){null==a&&(a=P);P=void 0;if(null==a){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-2095105|(b&1023)<<11)}else{if(!Array.isArray(a))throw Error();d=H(a);if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error();a:{c=a;var e=c.length;if(e){var f=e-1,g=c[f];if(N(g)){d|=256;b=(d>>9&1)-1;e=f-b;1024<=e&&(za(c,b,g),e=1023);d=d&-2095105|(e&1023)<<11;break a}}b&&(g=(d>>9&1)-1,b=Math.max(b,e-g),1024<b&&(za(c,g,{}),d|=256,b=1023),d=d&-2095105|(b&1023)<<11)}}I(a,d);return a}
function za(a,b,c){for(var d=1023+b,e=a.length,f=d;f<e;f++){var g=a[f];null!=g&&g!==c&&(c[f-b]=g)}a.length=d+1;a[d]=c};function Aa(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a&&!Array.isArray(a)&&ta&&null!=a&&a instanceof Uint8Array){if(ua){for(var b="",c=0,d=a.length-10240;c<d;)b+=String.fromCharCode.apply(null,a.subarray(c,c+=10240));b+=String.fromCharCode.apply(null,c?a.subarray(c):a);a=btoa(b)}else{void 0===b&&(b=0);if(!E){E={};c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split("");d=["+/=","+/","-_=","-_.","-_"];for(var e=0;5>e;e++){var f=c.concat(d[e].split(""));sa[e]=f;for(var g=0;g<f.length;g++){var h=f[g];void 0===E[h]&&(E[h]=g)}}}b=sa[b];c=Array(Math.floor(a.length/3));d=b[64]||"";for(e=f=0;f<a.length-2;f+=3){var k=a[f],w=a[f+1];h=a[f+2];g=b[k>>2];k=b[(k&3)<<4|w>>4];w=b[(w&15)<<2|h>>6];h=b[h&63];c[e++]=g+k+w+h}g=0;h=d;switch(a.length-f){case 2:g=a[f+1],h=b[(g&15)<<2]||d;case 1:a=a[f],c[e]=b[a>>2]+b[(a&3)<<4|g>>4]+h+d}a=c.join("")}return a}}return a};function Ba(a,b,c){a=Array.prototype.slice.call(a);var d=a.length,e=b&256?a[d-1]:void 0;d+=e?-1:0;for(b=b&512?1:0;b<d;b++)a[b]=c(a[b]);if(e){b=a[b]={};for(var f in e)Object.prototype.hasOwnProperty.call(e,f)&&(b[f]=c(e[f]))}return a}function Da(a,b,c,d,e,f){if(null!=a){if(Array.isArray(a))a=e&&0==a.length&&H(a)&1?void 0:f&&H(a)&2?a:Ea(a,b,c,void 0!==d,e,f);else if(N(a)){var g={},h;for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&(g[h]=Da(a[h],b,c,d,e,f));a=g}else a=b(a,d);return a}}
function Ea(a,b,c,d,e,f){var g=d||c?H(a):0;d=d?!!(g&32):void 0;a=Array.prototype.slice.call(a);for(var h=0;h<a.length;h++)a[h]=Da(a[h],b,c,d,e,f);c&&c(g,a);return a}function Fa(a){return a.s===M?a.toJSON():Aa(a)};function Ga(a,b,c){c=void 0===c?K:c;if(null!=a){if(ta&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=H(a);if(d&2)return a;if(b&&!(d&64)&&(d&32||0===d))return I(a,d|34),a;a=Ea(a,Ga,d&4?K:c,!0,!1,!0);b=H(a);b&4&&b&2&&Object.freeze(a);return a}a.s===M&&(b=a.h,c=J(b),a=c&2?a:Q(a.constructor,Ha(b,c,!0)));return a}}function Ha(a,b,c){var d=c||b&2?K:xa,e=!!(b&32);a=Ba(a,b,function(f){return Ga(f,e,d)});G(a,32|(c?2:0));return a};function Ia(a,b){a=a.h;return Ja(a,J(a),b)}function Ja(a,b,c,d){if(-1===c)return null;if(c>=L(b)){if(b&256)return a[a.length-1][c]}else{var e=a.length;if(d&&b&256&&(d=a[e-1][c],null!=d))return d;b=c+((b>>9&1)-1);if(b<e)return a[b]}}function Ka(a,b,c,d,e){var f=L(b);if(c>=f||e){e=b;if(b&256)f=a[a.length-1];else{if(null==d)return;f=a[f+((b>>9&1)-1)]={};e|=256}f[c]=d;e&=-1025;e!==b&&I(a,e)}else a[c+((b>>9&1)-1)]=d,b&256&&(d=a[a.length-1],c in d&&delete d[c]),b&1024&&I(a,b&-1025)}
function La(a,b){var c=Ma;var d=void 0===d?!1:d;var e=a.h;var f=J(e),g=Ja(e,f,b,d);var h=!1;if(null==g||"object"!==typeof g||(h=Array.isArray(g))||g.s!==M)if(h){var k=h=H(g);0===k&&(k|=f&32);k|=f&2;k!==h&&I(g,k);c=new c(g)}else c=void 0;else c=g;c!==g&&null!=c&&Ka(e,f,b,c,d);e=c;if(null==e)return e;a=a.h;f=J(a);f&2||(g=e,c=g.h,h=J(c),g=h&2?Q(g.constructor,Ha(c,h,!1)):g,g!==e&&(e=g,Ka(a,f,b,e,d)));return e}function Na(a,b){a=Ia(a,b);return null==a||"string"===typeof a?a:void 0}
function Oa(a,b){a=Ia(a,b);return null!=a?a:0}function S(a,b){a=Na(a,b);return null!=a?a:""};function T(a,b,c){this.h=R(a,b,c)}T.prototype.toJSON=function(){var a=Ea(this.h,Fa,void 0,void 0,!1,!1);return Pa(this,a,!0)};T.prototype.s=M;T.prototype.toString=function(){return Pa(this,this.h,!1).toString()};function Pa(a,b,c){var d=a.constructor.v,e=L(J(c?a.h:b)),f=!1;if(d){if(!c){b=Array.prototype.slice.call(b);var g;if(b.length&&N(g=b[b.length-1]))for(f=0;f<d.length;f++)if(d[f]>=e){Object.assign(b[b.length-1]={},g);break}f=!0}e=b;c=!c;g=J(a.h);a=L(g);g=(g>>9&1)-1;for(var h,k,w=0;w<d.length;w++)if(k=d[w],k<a){k+=g;var r=e[k];null==r?e[k]=c?O:wa():c&&r!==O&&va(r)}else h||(r=void 0,e.length&&N(r=e[e.length-1])?h=r:e.push(h={})),r=h[k],null==h[k]?h[k]=c?O:wa():c&&r!==O&&va(r)}d=b.length;if(!d)return b;var Ca;if(N(h=b[d-1])){a:{var y=h;e={};c=!1;for(var ca in y)Object.prototype.hasOwnProperty.call(y,ca)&&(a=y[ca],Array.isArray(a)&&a!=a&&(c=!0),null!=a?e[ca]=a:c=!0);if(c){for(var rb in e){y=e;break a}y=null}}y!=h&&(Ca=!0);d--}for(;0<d;d--){h=b[d-1];if(null!=h)break;var cb=!0}if(!Ca&&!cb)return b;var da;f?da=b:da=Array.prototype.slice.call(b,0,d);b=da;f&&(b.length=d);y&&b.push(y);return b};function Qa(a){return function(b){if(null==b||""==b)b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error(void 0);G(b,32);b=Q(a,b)}return b}};function Ra(a){this.h=R(a)}n(Ra,T);var Sa=Qa(Ra);var U;function V(a){this.g=a}V.prototype.toString=function(){return this.g+""};var Ta={};function Ua(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)};function Va(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)}function Wa(a){this.g=a||p.document||document}Wa.prototype.appendChild=function(a,b){a.appendChild(b)};function Xa(a,b){a.src=b instanceof V&&b.constructor===V?b.g:"type_error:TrustedResourceUrl";var c,d;(c=(b=null==(d=(c=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)?void 0:d.call(c,"script[nonce]"))?b.nonce||b.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",c)};function Ya(a){a=void 0===a?document:a;return a.createElement("script")};function Za(a,b,c,d,e,f){try{var g=a.g,h=Ya(g);h.async=!0;Xa(h,b);g.head.appendChild(h);h.addEventListener("load",function(){e();d&&g.head.removeChild(h)});h.addEventListener("error",function(){0<c?Za(a,b,c-1,d,e,f):(d&&g.head.removeChild(h),f())})}catch(k){f()}};var $a=p.atob("aHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vaW1hZ2VzL2ljb25zL21hdGVyaWFsL3N5c3RlbS8xeC93YXJuaW5nX2FtYmVyXzI0ZHAucG5n"),ab=p.atob("WW91IGFyZSBzZWVpbmcgdGhpcyBtZXNzYWdlIGJlY2F1c2UgYWQgb3Igc2NyaXB0IGJsb2NraW5nIHNvZnR3YXJlIGlzIGludGVyZmVyaW5nIHdpdGggdGhpcyBwYWdlLg=="),bb=p.atob("RGlzYWJsZSBhbnkgYWQgb3Igc2NyaXB0IGJsb2NraW5nIHNvZnR3YXJlLCB0aGVuIHJlbG9hZCB0aGlzIHBhZ2Uu");function db(a,b,c){this.i=a;this.l=new Wa(this.i);this.g=null;this.j=[];this.m=!1;this.u=b;this.o=c}
function eb(a){if(a.i.body&&!a.m){var b=function(){fb(a);p.setTimeout(function(){return gb(a,3)},50)};Za(a.l,a.u,2,!0,function(){p[a.o]||b()},b);a.m=!0}}
function fb(a){for(var b=W(1,5),c=0;c<b;c++){var d=X(a);a.i.body.appendChild(d);a.j.push(d)}b=X(a);b.style.bottom="0";b.style.left="0";b.style.position="fixed";b.style.width=W(100,110).toString()+"%";b.style.zIndex=W(2147483544,2147483644).toString();b.style["background-color"]=hb(249,259,242,252,219,229);b.style["box-shadow"]="0 0 12px #888";b.style.color=hb(0,10,0,10,0,10);b.style.display="flex";b.style["justify-content"]="center";b.style["font-family"]="Roboto, Arial";c=X(a);c.style.width=W(80,85).toString()+"%";c.style.maxWidth=W(750,775).toString()+"px";c.style.margin="24px";c.style.display="flex";c.style["align-items"]="flex-start";c.style["justify-content"]="center";d=Va(a.l.g,"IMG");d.className=Ua();d.src=$a;d.alt="Warning icon";d.style.height="24px";d.style.width="24px";d.style["padding-right"]="16px";var e=X(a),f=X(a);f.style["font-weight"]="bold";f.textContent=ab;var g=X(a);g.textContent=bb;Y(a,e,f);Y(a,e,g);Y(a,c,d);Y(a,c,e);Y(a,b,c);a.g=b;a.i.body.appendChild(a.g);b=W(1,5);for(c=0;c<b;c++)d=X(a),a.i.body.appendChild(d),a.j.push(d)}function Y(a,b,c){for(var d=W(1,5),e=0;e<d;e++){var f=X(a);b.appendChild(f)}b.appendChild(c);c=W(1,5);for(d=0;d<c;d++)e=X(a),b.appendChild(e)}function W(a,b){return Math.floor(a+Math.random()*(b-a))}function hb(a,b,c,d,e,f){return"rgb("+W(Math.max(a,0),Math.min(b,255)).toString()+","+W(Math.max(c,0),Math.min(d,255)).toString()+","+W(Math.max(e,0),Math.min(f,255)).toString()+")"}function X(a){a=Va(a.l.g,"DIV");a.className=Ua();return a}
function gb(a,b){0>=b||null!=a.g&&0!=a.g.offsetHeight&&0!=a.g.offsetWidth||(ib(a),fb(a),p.setTimeout(function(){return gb(a,b-1)},50))}
function ib(a){var b=a.j;var c="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if(c)b=c.call(b);else if("number"==typeof b.length)b={next:aa(b)};else throw Error(String(b)+" is not an iterable or ArrayLike");for(c=b.next();!c.done;c=b.next())(c=c.value)&&c.parentNode&&c.parentNode.removeChild(c);a.j=[];(b=a.g)&&b.parentNode&&b.parentNode.removeChild(b);a.g=null};function jb(a,b,c,d,e){function f(k){document.body?g(document.body):0<k?p.setTimeout(function(){f(k-1)},e):b()}function g(k){k.appendChild(h);p.setTimeout(function(){h?(0!==h.offsetHeight&&0!==h.offsetWidth?b():a(),h.parentNode&&h.parentNode.removeChild(h)):a()},d)}var h=kb(c);f(3)}function kb(a){var b=document.createElement("div");b.className=a;b.style.width="1px";b.style.height="1px";b.style.position="absolute";b.style.left="-10000px";b.style.top="-10000px";b.style.zIndex="-10000";return b};function Ma(a){this.h=R(a)}n(Ma,T);function lb(a){this.h=R(a)}n(lb,T);var mb=Qa(lb);function nb(a){a=Na(a,4)||"";if(void 0===U){var b=null;var c=p.trustedTypes;if(c&&c.createPolicy){try{b=c.createPolicy("goog#html",{createHTML:q,createScript:q,createScriptURL:q})}catch(d){p.console&&p.console.error(d.message)}U=b}else U=b}a=(b=U)?b.createScriptURL(a):a;return new V(a,Ta)};function ob(a,b){this.m=a;this.o=new Wa(a.document);this.g=b;this.j=S(this.g,1);this.u=nb(La(this.g,2));this.i=!1;b=nb(La(this.g,13));this.l=new db(a.document,b,S(this.g,12))}ob.prototype.start=function(){pb(this)};function pb(a){qb(a);Za(a.o,a.u,3,!1,function(){a:{var b=a.j;var c=p.btoa(b);if(c=p[c]){try{var d=Sa(p.atob(c))}catch(e){b=!1;break a}b=b===Na(d,1)}else b=!1}b?Z(a,S(a.g,14)):(Z(a,S(a.g,8)),eb(a.l))},function(){jb(function(){Z(a,S(a.g,7));eb(a.l)},function(){return Z(a,S(a.g,6))},S(a.g,9),Oa(a.g,10),Oa(a.g,11))})}function Z(a,b){a.i||(a.i=!0,a=new a.m.XMLHttpRequest,a.open("GET",b,!0),a.send())}function qb(a){var b=p.btoa(a.j);a.m[b]&&Z(a,S(a.g,5))};(function(a,b){p[a]=function(){var c=ma.apply(0,arguments);p[a]=function(){};b.apply(null,c)}})("__h82AlnkH6D91__",function(a){"function"===typeof window.atob&&(new ob(window,mb(window.atob(a)))).start()})}).call(this);window.__h82AlnkH6D91__("WyJwdWItOTY0NDkzODUxOTkwMDE1OCIsW251bGwsbnVsbCxudWxsLCJodHRwczovL2Z1bmRpbmdjaG9pY2VzbWVzc2FnZXMuZ29vZ2xlLmNvbS9iL3B1Yi05NjQ0OTM4NTE5OTAwMTU4Il0sbnVsbCxudWxsLCJodHRwczovL2Z1bmRpbmdjaG9pY2VzbWVzc2FnZXMuZ29vZ2xlLmNvbS9lbC9BR1NLV3hWV3VldnNObjF1ODVnNWl4Yzlvc0VIVzJXY3hqWENYbVBXZWdyYWdWRE5IV0RDMnZYajdyMWxlVDRreHBtdTZBRFlUMnJEM1J0bGp2QzRYM0FYRlMxMVpBXHUwMDNkXHUwMDNkP3RlXHUwMDNkVE9LRU5fRVhQT1NFRCIsImh0dHBzOi8vZnVuZGluZ2Nob2ljZXNtZXNzYWdlcy5nb29nbGUuY29tL2VsL0FHU0tXeFVHTnlHVEViRFB5dmU1aFZjZUNycFNLYTUwejFfY01qWS1zNmVqbHdlNGdpRzM0LUhLSWtOeHRXcTItcEtLaEJzRG1OUG5PalF1WTFJTUE0VnU5MjcxMWdcdTAwM2RcdTAwM2Q/YWJcdTAwM2QxXHUwMDI2c2JmXHUwMDNkMSIsImh0dHBzOi8vZnVuZGluZ2Nob2ljZXNtZXNzYWdlcy5nb29nbGUuY29tL2VsL0FHU0tXeFc1VVBYZXdtZVJVN29zSi1LU2F5ZWlaSk9ybF8tLWQ5UUNfSVpUTW1SMDNhOVlzMWV6Vm5LN1NLeWEyQlFKR3NpRUdKWjdJWVk2Yjd0aDRCdHpIQlZrQ1FcdTAwM2RcdTAwM2Q/YWJcdTAwM2QyXHUwMDI2c2JmXHUwMDNkMSIsImh0dHBzOi8vZnVuZGluZ2Nob2ljZXNtZXNzYWdlcy5nb29nbGUuY29tL2VsL0FHU0tXeFU1QzQ5elVuZWozZzE1ZFpROTBVQm1nVDktdUNVQmlQQ09rZlpnREFncHcwTVMtd295bF8xbGx3cW9YTG1nMFE5SDc5akxHLVdZbFQ0OWtNYWVzaWpsREFcdTAwM2RcdTAwM2Q/c2JmXHUwMDNkMiIsImRpdi1ncHQtYWQiLDIwLDEwMCwiY0hWaUxUazJORFE1TXpnMU1UazVNREF4TlRnXHUwMDNkIixbbnVsbCxudWxsLG51bGwsImh0dHBzOi8vd3d3LmdzdGF0aWMuY29tLzBlbW4vZi9wL3B1Yi05NjQ0OTM4NTE5OTAwMTU4LmpzP3VzcXBcdTAwM2RDQVkiXSwiaHR0cHM6Ly9mdW5kaW5nY2hvaWNlc21lc3NhZ2VzLmdvb2dsZS5jb20vZWwvQUdTS1d4WHVtQTFLLXZDTVVJR0lFdFVlVzR5alRDUXNHTlBiWHZSM0lCQmdETGpqMzZldF9lYmkzSmNPWjdFTVM2N2JPVHVzMTBKS1BvWlBNS2taWVBBNzd5UzVDd1x1MDAzZFx1MDAzZCJd")
;(()=>{var ar=Object.create;var be=Object.defineProperty;var rr=Object.getOwnPropertyDescriptor;var nr=Object.getOwnPropertyNames;var or=Object.getPrototypeOf,pr=Object.prototype.hasOwnProperty;var q=(w,t)=>()=>(w&&(t=w(w=0)),t);var Xt=(w,t)=>()=>(t||w((t={exports:{}}).exports,t),t.exports),K=(w,t)=>{for(var e in t)be(w,e,{get:t[e],enumerable:!0})},cr=(w,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of nr(t))!pr.call(w,s)&&s!==e&&be(w,s,{get:()=>t[s],enumerable:!(i=rr(t,s))||i.enumerable});return w};var Qt=(w,t,e)=>(e=w!=null?ar(or(w)):{},cr(t||!w||!w.__esModule?be(e,"default",{value:w,enumerable:!0}):e,w));var V,C=q(()=>{V={library:"e6a9a4fd",dash:"4bea9e4a",widgetBuilder:"a7c4ce55"}});var F,B=q(()=>{F={"0":{GENERAL:{translations:{"[GO]":"GO","[INFORMER_BACK_BUTTON_BANNER_TEXT]":"More stories to check out before you go","[INFORMER_BTN_DISCOVER_MORE]":"Discover More","[INFORMER_BUTTON_MORE]":"More","[INFORMER_CLOSE_AD_BUTTON]":"Close Ad","[INFORMER_CTA_LEARN_MORE]":"Read more","[INFORMER_DSA_ICON_TITLE]":"Widget Context Menu","[INFORMER_OPEN_BUTTON]":"Open","[INFORMER_READ_FULL_ARTICLE]":"Read Full Article","[INFORMER_RECOMMENDED_FOR_YOU]":"Recommended for you","[INFORMER_VIDEO_CLICK_TEXT]":"Learn more","[LS_CAB_SITE_BLOCK_ANTIFRAUD_SUBJECT_V2]":"Your website %s has been blocked (%s)","[LS_INFORMERS_CLOSE_BUTTON]":"Close","[LS_INFORMERS_MOBILEMODAL_GO]":"Go","[LS_INFORMERS_WIDGET_MOBILE_CONTINUE]":"Continue","[WIDGET_TITLE_CHECK_THIS_OUT]":"Check This Out","[WIDGET_TITLE_INTERESTING]":"Interesting in network","[WIDGET_TITLE_INTERESTING_FOR_YOU]":"Interesting For You","[WIDGET_TITLE_MORE_COOL_STUFF]":"More Cool Stuff","[WIDGET_TITLE_MORE_FROM_AROUND_THE_WEB]":"More From Around The Web","[WIDGET_TITLE_PARTNERS_NEWS]":"Partner News","[WIDGET_TITLE_POPULAR]":"Popular in network","[WIDGET_TITLE_PROMOTED_CONTENT]":"Promoted Content","[WIDGET_TITLE_SMI]":"In other media","[WIDGET_TITLE_SPONSORED_CONTENT]":"Sponsored Content","[WIDGET_TITLE_SUGGESTED_NEWS]":"Suggested News","[WIDGET_TITLE_YOU_MAY_LIKE]":"You may like"},forbiddenPatterns:["make cl[i1!]ck","(cl[i!1]ck|cl[i!1]que|kl[i!1]kone|shtyp|kl[i!1]k|kl[i!1]kn[i!1]\u0435e) ((on|[i!1]n the) )?(h[e3]re|me|please|ads|to|en cualqu[i!1]er anunc[i!1]o|qu\u1EA3ng c\xE1o|na [i!1]megen|nje nga reklamat|no an\xFAnc[i!1]o|reklamen|em alguma propaganda|[i!1]klan atan|below banner)","pres[i1!]ona \u0441ualqu[i1!]er [i1!]magen","toca la pr[i1!]mera [i1!]magen ","(cl[i!1]ck|cl[i!1]que|kl[i!1]kone|shtyp|kl[i!1]k|kl[i!1]kn[i!1]\u0435e) ((on|[i!1]n the) )?([i!1]zpod)","adclick","criteo.com","cdn.geozo.com","taboola","trck.tracking505.com"]},METADATA:{hashCommitsData:{library:"e6a9a4fd",dash:"4bea9e4a",widgetBuilder:"a7c4ce55"},compileTimestamp:1728239065},ASSETS:{customAdLinkConfig:{"in-article":{"in-article-impact":"mgid-in-article-impact"}},adLinkBlock:{marketgid:`<div class="mgheader"><span class="mghead">%WIDGET_TITLE%</span><div class="mg_addad%id mglogo"><a href="#" style="display: flex !important; align-items: center; justify-content: center; position: static;"><object aria-label="logo" width="58" height="26"><a style="position: static !important; margin-right: 3px !important; width: 55px; height: 26px" href="https://widgets.mgid.com/%lang/%utm%id" target="_blank"><img style="display: inline-block; width: 55px !important; height: 26px !important; margin: 0 !important; position: static;" src="https://cdn.mgid.com/images/mgid/mgid_ua.svg" width="55" height="26" alt /></a></object><object aria-label="logo" width="20" height="26"><a style="position: static !important; margin: 0 !important; width: 20px; height: 26px" href="https://www.mgid.com/services/privacy-policy" target="_blank"><img style="display: inline-block; width: 20px !important; height: 20px !important; margin: 0 !important; position: static;" src="https://cdn.mgid.com/images/logos/Adchoices.svg" width="20" height="20" alt /></a></object></a></div></div><style>.mghead {font-weight: 700;font-size: 14px;text-transform: uppercase;text-align: left;font-family: Verdana, sans-serif;color: #4555a7;display: block;margin: 5px 0 0px 5px;float: left;}.mgheader {display: table !Important;width: 100% !important;margin-bottom: 0px;}div.mg_addad%id {text-align: right;opacity: 0.5;margin-right: 10px;display: inline-block;float: right;}div.mg_addad%id:hover {opacity: 1}div.mg_addad%id a {color: #000000;font: normal 10px Myriad Pro;text-decoration: none;}div.mg_addad%id img {margin: 0px -5px 0px 0px;border: 0px;float: none;padding: 0px;}div.mg_addad%id object a {height: 26px;display: flex;align-items: center;position: static !important; margin: 0 !important;}</style>
`},scaleInfoHtml:`<!doctype html><html><head><meta charset="utf-8"><style>html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed,figure, figcaption, footer, header, hgroup,menu, nav, output, ruby, section, summary,time, mark, audio, video {margin: 0;padding: 0;border: 0;font-size: 100%;font: inherit;vertical-align: baseline;}/* HTML5 display-role reset for older browsers */article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}body {line-height: 1;}ol, ul {list-style: none;}blockquote, q {quotes: none;}blockquote:before, blockquote:after,q:before, q:after {content: '';content: none;}table {border-collapse: collapse;border-spacing: 0;}</style></head><body><div id="test">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cumque deleniti dolor impedit nobis quo ratione temporibus. Accusantium adipisci animi cupiditate eligendi hic modi officiis perspiciatis provident tenetur, vero voluptate voluptatem.</div><script>window.addEventListener('load', function() {if (window.innerWidth !== 0) {window.parent.postMessage({id: 'scaleInfo',scale_metric_1: document.getElementById('test').offsetHeight,scale_metric_2: (window.outerWidth / window.innerWidth) * 100,scale_metric_3: (window.parent.outerWidth / window.parent.innerWidth) * 100,},'*');}});<\/script></body></html>`},WIDGET:{debug:!1,iframe:"0",changeIframeSize:!1,widgetClickZones:"[]",widgetReplica:!1,activateDelay:2e3,clickableDelay:0,sendDimensions:!0,subType:"header-widget-rectangular",widgetIframeAutoSize:"",globalSettings:'{"capping_observer_threshold":"0.5","current_language":"en","widget_lazy_load_margin":"1000","accidental_clicks_delay":"10","ia_page_view_timeout":"180","ia_page_imp_timeout":"180","widget_intentiq_refresh_millis":"43200000","retention_tool_widget_utm":"utm_mgid_push","except_ads_limit":"150","capping_observer_time":"","widget_consent_wait_time_ms":"30","widget_consent_outdated_time":"168"}',widgetAccidentalClicks:"wages",afShortEnabled:!0,loggerEnabled:!1,enableSource:!1,hasNewsPart:!1,newsPartUid:0,hasGoodsPart:!0,checkAnura:!1,anuraValue:0,disableCookies:!1,adLink:1,adLinkHref:"",adBlockChangeStyles:!0,adblockIntegration:!1,availableLangs:'["es","vi","it","hi","pl","ru","uk"]',useConstructor:!1,popup:!1,type:"header-widget",mobileDoubleclickDelay:0,desktopDoubleclickDelay:0,markWagesAdInIntExchange:!0,projectName:"mgid",newsPartIdPartner:0,newsPartAcStatsEnabled:!1,newsPartKind:"",widgetUseConstructor:!1,useInNewsRanker:!1,widgetLngId:7,widgetCountersDisabled:0,widgetClientSiteId:882312,autoCreativeCounterDomain:"counter.mgid.com",siteId:882312,modulePrefix:"MarketGidC",informerPrefix:"MarketGid",countersDomain:"c.mgid.com",currentSubnet:0,topMargin:0,popupText:"One more before you go",cdnDomain:"cdn.mgid.com",mobileApp:!1,usePlaceReservation:!0,subnets:'[{"id":0,"informer_prefix":"MarketGid","mirror":"mgid.com","mirrorName":"marketgid","imageDomain":"mgid.com","dashboardDomain":"dashboard.mgid.com","utm":"?utm_source={domain}&utm_medium=referral&utm_campaign=widgets&utm_content=","advSrcId":37100}]',exposeSubnets:!0,childWidgets:"[]",allowMultipleWidgets:!1,widgetMirror:"marketgid",widgetDomain:"nowfastanswer.com",customFuncBlocks:"[]",widgetAutorefresh:!1,widgetReturnedRefresh:0,widgetPaginator:!1,imageFormat:19,elastic:!1,unlimited:!1,doubleclickParameters:'{"1":{"borderTop":{"max":1,"min":0,"percent":100}},"2":{"borderLeft":{"max":1,"min":0,"percent":100}},"3":{"borderRight":{"max":1,"min":0,"percent":100}},"4":{"borderBottom":{"max":1,"min":0,"percent":100}}}',dfpWidth:0,dfpHeight:0,popupFrequency:15,elasticPageCount:2,countNews:2,blankImage:`data:image/svg+xml,%3Csvg
            xmlns="http://www.w3.org/2000/svg"
            width="492" height="328"
            viewBox="0 0 492 328"
            %3E%3C/svg%3E`,isResponsive:!0,mobileCountNews:'{"mobile":2}',childFuncBlocks:"[]",childProperties:"[]",customGradient:"",shadowDom:!0,sspPerformancePercentage:10,adBlockTemplateStyles:"",cookieMatchingDomain:"cm.mgid.com",isLoggerEnabled:!1,titleBreak:0,titleLimit:75,informerTitleDotsFlag:1,disableCaps:0,descBreak:0,descLimit:75,hasVideoPart:!1,noFollow:!0,useDefaultJs:!1,blocksDomainAddressJs:"mgid.com",sourceName:"",disableResizeImageAfterLoad:!1,adTypes:"",enabledCooperationTypes:'["wages"]',createIntExchange:!1,sspSanctionsEnabled:!1,cooperationTypes:'["wages"]',newsPartPagesCount:0,goodsPartPagesCount:20,codePaginatorEnabled:!0,adblockTemplate:"",activeChilds:"[]",imageSizeAttributes:'width="492" height="328"',servicerDomain:"servicer.mgid.com",debugInfoOn:!1,useLazyLoad:!1,onTranzPage:!1,widgetEnabled:!0,branchName:"main",autoPlacementStatus:"off",staticRootDomain:"",sendScaleInfo:!0,libraryVersion:"1.11.241",adblockEmulation:!1,autoplacementSelector:"",widgetPerformanceMetric:!1,shadowDomClosed:!1,refreshAdsTime:45,refreshAdsBy:0,additionalWidgets:"[]",useApiRefresh:!1,videoCfg:"{}",customWidgetLib:"",spaEnabled:!1,passageFrequency:60,cookieStoragePrefix:"Mgid",useHoneypot:!1,disableCwvOptimization:!1,disableBannerSafeframe:!1,gptEnabled:!1,gptOptions:"{}",gptUnitId:{low:0,high:0,unsigned:!1},retentionToolEnabled:!1,collectWidgetReports:!1,ampSpaSupport:!0,backButtonOptions:"null",retentionToolScriptLink:"",retentionToolLoadFromWidgets:!1,immediateRollout:!1,requestsLimitOptions:"{}",id5Enabled:!0,externalAnalytics:"[]",bannersEnabled:!0,originTrialTokens:'[{"name":"X-Requested-With Trial. servicer.mgid.com","token":"A00OovyFoivp5xgE074+G3hiIk00oBqovMlZYlJd\\/gVpyF7t0vfq+2flpGTOUtezADAnKew0nlBFSAmijsLtlA0AAAB\\/eyJvcmlnaW4iOiJodHRwczovL3NlcnZpY2VyLm1naWQuY29tOjQ0MyIsImZlYXR1cmUiOiJXZWJWaWV3WFJlcXVlc3RlZFdpdGhEZXByZWNhdGlvbiIsImV4cGlyeSI6MTcxOTUzMjc5OSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ==","conditions":["webview"]},{"name":"X-Requested-With Trial. c.mgid.com","token":"A\\/TuIKGyAWlQptIROuEuX1RnZ8F17uxV+uDuQibYYFbe\\/jXBHbZzB7O0PR8NqtkSskdPP45qEu6GRs9oAMQXUgsAAAB4eyJvcmlnaW4iOiJodHRwczovL2MubWdpZC5jb206NDQzIiwiZmVhdHVyZSI6IldlYlZpZXdYUmVxdWVzdGVkV2l0aERlcHJlY2F0aW9uIiwiZXhwaXJ5IjoxNzE5NTMyNzk5LCJpc1RoaXJkUGFydHkiOnRydWV9","conditions":["webview"]}]',useTimePerformance:!1,waitConsentEnabled:!1,usePixelate:!0,clientId:798200,readMoreButtonOptions:"{}",backfillData:"{}",useScrollClick:!1,iframeDomain:"mg.mgid.com",crossDomainStorageEnabled:!1,customStylesEnabled:!1,loggingConsentEnabled:!0,flippEnabled:!1,blurEnabled:!1,gradientEnabled:!1,refreshTeaserAfterClick:!0,loadVisibleWidgetDisabled:!1,supportDarkTheme:!1,darkThemeSelector:"",bidmaticEnabled:!1,bidmaticOptions:"{}",ampLimitAdsEnabled:!1,clicktrackingEnabled:!1,clicktrackingMacros:"",collectTopicsDisabled:!1,autocreativeCampaignId:0,omidEnabled:!1,newTabEnabled:!1,newTabOptions:"{}",swipeUpEnabled:!1,swipeUpOptions:"{}",lazyCustomMargin:0,BLOCKS:{ConstructorBlock:!1,BackButtonBlock:!0,SendDimensionsBlock:!0,VersionControlBlock:!1,InternalExchangeBlock:!0,RetentionToolBlock:!1,BlurBlock:!1,GradientBlock:!1,ColorBlock:!1,PaginatorBlock:!1,AutoRefreshInformerBlock:0,RefreshTeaserAfterClickBlock:!0,IframeSizeChangerBlock:"0",RejectBlock:!0,ViewabilityRefreshBlock:!1,OriginTrialsBlock:!0,RenderClassicBlock:!0,RenderSchematicBlock:!1,ResponsiveBlock:!0,ElasticBlock:!1,ScaleInfoBlock:!0,AntifraudBlock:!0,HoneypotBlock:!1,LazyLoadBlock:!1,FillCardLikesBlock:!1,ExternalApiBlock:!1,ImpactBlock:!1,InArticleAutoplacement:!1,AccidentalClicksBlock:!0,ActivateDelayBlock:2e3,OnTransitPageBlock:!1,GoogleGptBlock:!1,ImpactBlocks:!1,MobileExitBlock:!1,PassageBlock:!1,InterstitialBlock:!1,PopupBlock:!1,CollectWidgetReportsBlock:!1,ExternalAnalyticsBlock:!1,RtbBlock:!0,FlippBlock:!1,ID5Block:!0,widgetUseConstructor:!1,CarouselWidgetSuperBlock:!1,CarouselWidgetBlock:!1,InSiteNotificationBlock:!1,BackfillBlock:!1,MobileWidgetBlock:!1,VideoLibrary:!1,DarkThemeBlock:!1,BidmaticBlock:!1,BrowserTopicsBlock:!0,OmidBlock:!1,NewTabBlock:!1,SwipeUpBlock:!1}},SITE:{id:882312,cdnDomain:"cdn.mgid.com",crossDomainStorageEnabled:!1},BLOCKS:{ConstructorBlock:!1,BackButtonBlock:!0,SendDimensionsBlock:!0,VersionControlBlock:!1,InternalExchangeBlock:!0,RetentionToolBlock:!1,BlurBlock:!1,GradientBlock:!1,ColorBlock:!1,PaginatorBlock:!1,AutoRefreshInformerBlock:0,RefreshTeaserAfterClickBlock:!0,IframeSizeChangerBlock:"0",RejectBlock:!0,ViewabilityRefreshBlock:!1,OriginTrialsBlock:!0,RenderClassicBlock:!0,RenderSchematicBlock:!1,ResponsiveBlock:!0,ElasticBlock:!1,ScaleInfoBlock:!0,AntifraudBlock:!0,HoneypotBlock:!1,LazyLoadBlock:!1,FillCardLikesBlock:!1,ExternalApiBlock:!1,ImpactBlock:!1,InArticleAutoplacement:!1,AccidentalClicksBlock:!0,ActivateDelayBlock:2e3,OnTransitPageBlock:!1,GoogleGptBlock:!1,ImpactBlocks:!1,MobileExitBlock:!1,PassageBlock:!1,InterstitialBlock:!1,PopupBlock:!1,CollectWidgetReportsBlock:!1,ExternalAnalyticsBlock:!1,RtbBlock:!0,FlippBlock:!1,ID5Block:!0,widgetUseConstructor:!1,CarouselWidgetSuperBlock:!1,CarouselWidgetBlock:!1,InSiteNotificationBlock:!1,BackfillBlock:!1,MobileWidgetBlock:!1,VideoLibrary:!1,DarkThemeBlock:!1,BidmaticBlock:!1,BrowserTopicsBlock:!0,OmidBlock:!1,NewTabBlock:!1,SwipeUpBlock:!1}},"1661702":{WIDGET:{id:1661702,_constructor:'{"blur":"auto","cols":"2","font":"verdana","kind":"wages","rows":1,"type":"header-widget","media":{"opacity":80,"duration":1,"minWidth":250,"position":"bottom","minHeight":150,"videoOverlay":1},"mgbox":{"styles":{"maxWidth":1220}},"theme":"#000000","width":"100%","button":1,"mcdesc":{"styles":{"font":"verdana","color":"#666666","display":"none","fontSize":12,"fontStyle":"normal","textAlign":"center","fontWeight":"normal","textDecoration":"none"}},"mgline":{"styles":{"width":"200","height":"250","margin":"7","borderColor":"","borderStyle":"solid","borderWidth":0,"borderRadius":"8"}},"imgType":"super","mcimage":{"size":200,"styles":{"padding":0,"borderColor":"#ffffff","borderStyle":"solid","borderWidth":0},"size-width":492,"size-height":328},"mcprice":{"show":"true","styles":{"font":"verdana","color":"#2a3a7b","fontSize":14,"fontStyle":"normal","textAlign":"left","fontWeight":"bold","textDecoration":"none"}},"mctable":{"styles":{"borderColor":"","borderWidth":0,"backgroundColor":""}},"mctitle":{"styles":{"color":"#333333","fontSize":15,"fontStyle":"normal","textAlign":"left","fontWeight":"bold","text-transform":"uppercase","textDecoration":"none"}},"subType":"header-widget-rectangular","mcdomain":{"styles":{"font":"verdana","color":"#bbbbbb","display":"block","fontSize":10,"fontStyle":"normal","textAlign":"center","fontWeight":"normal","textDecoration":"none"}},"isToaster":1,"colsMobile":2,"isDragDown":1,"colorButton":"","imageFormat":19,"imageShadow":"","scrollEffect":"1","textPosition":"bottom","autoplacement":"off","formatChanged":true,"customGradient":"","isInterstitial":0,"popupFrequency":15,"widgetFormatId":3,"is_int_exchange":"0","passageFrequency":60,"showEffectButton":"false","showWidgetButton":"true","teaserCardShadow":"0","teaserFixedWidth":"0","imageScaleOnHover":"","interstitialAfter":3,"is_show_ad_marker":0,"frequencyOfDisplay":"30","widgetTitleSettings":{"styles":{"font":"verdana","color":"#2b397b","fontSize":14,"text-transform":"uppercase"}},"frequencyCappingShow":3,"frequencyCappingTime":2,"notificationPosition":"top","toasterInactivityTime":8,"widgetTypeDescription":1,"activateAdsAfterScroll":"0.00"}',goodsPartUid:57992463,widgetTitle:"[WIDGET_TITLE_PROMOTED_CONTENT]",I:"MarketGidInfC1661702",customBanners:'{"1661702":[]}',templateStyles:`.mgresponsive {display:inherit;}.mgbox {padding:0 !important;position:relative !important;text-align:center;vertical-align:top !important;margin:0 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;line-height:100% !important;transition:none !important;box-sizing:border-box;width:100%;max-width:100%;min-width:90px;}div.mcimg {padding:0;text-align:center;}img.mcimg {width:100% !important;height:auto !important;max-width:492px;max-height:328px;box-sizing:border-box;display:block;margin:0;opacity:1 !important;}.mctitle {text-align:left;margin-top:2px;line-height:1 !important;}.mctitle a {font-size:15px;color:#333333;font-family:Verdana, sans-serif;line-height:110% !important;font-weight:normal;}.mcdomain {display:block;text-align:center;overflow:hidden;padding:4px;}.mcdomain a {font-weight:normal;font-size:10px;line-height:10px;color:#bbbbbb;font-family:Verdana, sans-serif;padding:5px 0 2px;display:block;overflow:hidden;text-transform:capitalize;}.mcdomain a img.mcimgsrc {vertical-align:bottom;margin-bottom:-3px;height:20px;width:20px;display:inline-block;}.mgline {background:none repeat scroll 0 0;cursor:pointer;overflow:hidden;zoom:1;display:inline;padding:0 !important;width:49%;max-width:49%;box-sizing:border-box;margin:10px 0.5%;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;word-wrap:break-word;position:relative;vertical-align:top;min-width:90px;}.mgline:hover .mctitle a {color:#000000;text-decoration:underline !important;}.mgline[max-width~="120px"] .mgarrowbox, .mgline[max-width~="120px"] .mgbuybox, .mgline[max-width~="120px"] .mcdesc {display:none !important;}.mgline .fake {visibility:hidden;position:relative;padding-top:4px;}.mgline .image-with-text {position:relative;min-height:1px;}.mgline .image-with-text, .mgline .mgtobottom {width:100% !important;max-width:492px;margin:0 auto;}.mgline .image-container {position:relative;}.mgline .image-container .mcimgad {position:absolute;right:0;bottom:0;width:20px;height:20px;}.text-elements a {text-decoration:none;}span.mcpriceold {text-decoration:line-through !important;}.fake, .mgtobottom {display:table;bottom:0;width:100%;text-align:left;}.mgtobottom__buy {padding-right:20px;}.mgtobottom {position:absolute;}.mghead {font-family:Verdana, sans-serif !important;color:#2b397b;font-size:14px !important;text-transform:uppercase !important;font-weight:normal;}.mcdesc {display:none;text-align:center;margin:0 0 2px;}.mcdesc a {font-weight:normal;font-size:12px;line-height:1.5 !important;font-style:normal;text-decoration:none;color:#666666;font-family:Verdana,Geneva,sans-serif;}.mcprice, .mcriceold {font-weight:bold;font-size:14px;line-height:14px;color:#2a3a7b;font-family:Verdana, sans-serif;}.mcprice {text-align:left;}.mcprice span {font-weight:bold;font-size:14px;line-height:14px;color:#2a3a7b;font-family:Verdana, sans-serif;}.mcprice-wrap {position:absolute;display:block;top:0;left:0;text-decoration:none;}.mcprice-cover {display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-align-items:stretch;-moz-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;height:42px;font-size:14px;}.mcprice-cover .mcprice {font-size:1.29em;color:#fff;}.mcprice-cover.mcprice-cover_old .mcprice-inner {padding-top:4px;width:auto;}.mcprice-cover.mcprice-cover_old .mcprice-val {padding-right:0;}.mcprice-cover.mcprice-cover_old .mcprice {margin-bottom:4px;color:#2a3a7b;font-size:1em;}.mcprice-cover.mcprice-cover_old + .mcprice-cover {display:none !important;}.mcprice-val, .mcprice-inner {display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:flex-start;justify-content:flex-start;white-space:nowrap;}.mcprice-inner {background:#ed181d;position:relative;padding:0 2px 0 8px;text-align:center;color:#fff;width:100%;}.mcprice-inner:before {content:\\'\\';position:absolute;top:0;right:-10px;border-top:21px solid transparent;border-bottom:21px solid transparent;border-left:10px solid #ed181d;}.mcprice-val {padding:2px 10px 0 14px;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-content:center;justify-content:center;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start;font-weight:bold;text-align:left;}.mcdiscount {color:#fff;border:none;font-size:1.21em;}.mgarrowbox {position:relative;background:#fff;padding-right:12px;}.mgarrowbox:before {content:\\'\\';position:absolute;top:0;right:-10px;border-top:21px solid transparent;border-bottom:21px solid transparent;border-left:10px solid #fff;}.mcpriceold {display:block !important;position:relative;width:100%;font-size:0.78em;font-weight:inherit;color:#ed181d;text-decoration:line-through !important;}.mcpriceold span {position:relative;}.mcpriceold span:before {content:\\'\\';height:1px;background:#ed181d;left:0;right:0;top:50%;position:absolute;}.mgbuybox {text-align:right;font-weight:700;font-size:12px;color:#666666;}div.mgbuybox, div.mgarrowbox {display:inline-block;}div.mcprice {display:block;}@supports not (flex-wrap:wrap) {.mgbox {display:block !important;}.mgline {display:inline-block !important;}}@media (max-width:480px) {.mgline {width:48% !important;margin:1% !important;max-width:48% !important;}}.mg-slider-overlay {overflow:hidden;position:relative;}.mg-slider-overlay .mg-slider-wrap {min-height:200px;position:relative;width:100%;-webkit-transform:translate3D(0, 0, 0);-moz-transform:translate3D(0, 0, 0);-ms-transform:translate3D(0, 0, 0);-o-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0);-webkit-transition-duration:200ms;-moz-transition-duration:200ms;-ms-transition-duration:200ms;-o-transition-duration:200ms;transition-duration:200ms;}.mg-slider-overlay .mg-slider-wrap .mg-slider-box {left:0;top:0;position:absolute;width:100%;}.mg-pagination {text-align:center;}.mg-pagination .mg-pagination-list {display:inline-block;}.mg-pagination .mg-pagination-item {cursor:pointer;display:inline-block;*display:inline;*zoom:1;width:8px;height:8px;margin:0 2px;background:#ddd;border-radius:50%;}.mg-pagination .mg-pagination-item-prev, .mg-pagination .mg-pagination-item-next {background:#f7f7f7;border:1px solid #cecece;border-radius:2px;cursor:pointer;display:inline-block;height:11px;margin:0 10px;padding:5px 0;text-align:center;vertical-align:middle;width:29px;}.mg-pagination .mg-pagination-item-prev:after, .mg-pagination .mg-pagination-item-next:after {background:url(https://images.dable.io/static/i/prevnext2.png?3) no-repeat 0 0;background-size:17px 11px;content:"";display:inline-block;height:13px;width:9px;}.mg-pagination .mg-pagination-item-next:after {background-position:-10px 0;width:8px;}.mg-pagination .mg-pagination-item-current {background:#508eef;}`,widgetTemplate:'<div class="mgbox"><!--advertPrefix-->{foreach}<div class="mgline">{if $banner}{$banner}{/if}{if $teaser}<div class="image-with-text"><div class="mcimg"><a {$target}{$href} ><div class="image-container"><img class="mcimg" {$src} /><!--intExchangeWagesImagePlace--></div></a></div>{if $price}<a {$target}{$href} class="mcprice-wrap"><div class="mgarrowbox">{if $priceold}<div class="mcprice-cover mcprice-cover_old mcpriceouter"><div class="mcprice-inner"><div class="mcdiscount">{$discount}</div></div><div class="mcprice-val"><div class="mcprice">{$price}</div><div class="mcpriceold"><span>{$priceold}</span></div></div></div>{/if}<div class="mcprice-cover mcpriceouter"><div class="mcprice-inner"><div class="mcprice">{$price}</div></div></div></div></a>{/if}<div class="text-elements"><div class="text_on_hover"><div class="mcdomain-top mcdomain" style="display: none;"><a {$target}{$href}>{$source}</a></div><div class="mctitle"><a {$target}{$href}>{$title}</a></div><div class="fake"><div class="mcdomain"><a {$target}{$href}>{$source}</a></div>{if $price}<div class="mgbuybox">Buy!</div>{/if}</div><div class="mgtobottom"><div class="mcdomain"><a {$target}{$href}>{$source}</a></div>{if $price}<a {$target}{$href} class="mgtobottom__buy"><div class="mgbuybox">Buy!</div></a>{/if}</div></div></div></div>{/if}</div>{/foreach}</div>',crossId:1661702,widgetPathES5:"https://jsc.mgid.com/n/o/nowfastanswer.com.1661702.es5.js",widgetPathES6:"https://jsc.mgid.com/n/o/nowfastanswer.com.1661702.es6.js",publisherId:57992463}},"1661713":{WIDGET:{id:1661713,_constructor:'{"type":"header-widget","subType":"header-widget-rectangular","font":"verdana","textPosition":"bottom","rows":1,"cols":"2","width":"100%","kind":"wages","formatChanged":true,"imageScaleOnHover":"","imageShadow":"","isToaster":1,"isDragDown":1,"isInterstitial":0,"frequencyCappingShow":3,"frequencyCappingTime":2,"interstitialAfter":3,"popupFrequency":15,"passageFrequency":60,"toasterInactivityTime":8,"button":1,"widgetTypeDescription":1,"autoplacement":"off","is_show_ad_marker":0,"widgetFormatId":3,"mctable":{"styles":{"borderWidth":0,"borderColor":"","backgroundColor":""}},"mctitle":{"styles":{"fontSize":15,"fontWeight":"bold","fontStyle":"normal","textDecoration":"none","textAlign":"left","color":"#333333","text-transform":"uppercase"}},"mcprice":{"show":"true","styles":{"fontSize":14,"fontWeight":"bold","color":"#2a3a7b","textAlign":"left","fontStyle":"normal","textDecoration":"none","font":"verdana"}},"widgetTitleSettings":{"styles":{"fontSize":14,"font":"verdana","color":"#2b397b","text-transform":"uppercase"}},"mcimage":{"size":200,"size-width":492,"size-height":328,"styles":{"borderWidth":0,"borderColor":"#ffffff","borderStyle":"solid","padding":0}},"mcdesc":{"styles":{"display":"none","fontSize":12,"fontWeight":"normal","color":"#666666","textAlign":"center","fontStyle":"normal","textDecoration":"none","font":"verdana"}},"mcdomain":{"styles":{"display":"block","fontSize":10,"fontWeight":"normal","color":"#bbbbbb","textAlign":"center","fontStyle":"normal","textDecoration":"none","font":"verdana"}},"mgline":{"styles":{"borderStyle":"solid","borderWidth":0,"borderColor":"","height":"120","width":"150","borderRadius":"0","margin":"2"}},"mgbox":{"styles":{"maxWidth":1220}},"media":{"position":"bottom","minWidth":250,"minHeight":150,"opacity":80,"duration":1,"videoOverlay":1},"theme":"#2b397b","colsMobile":2,"scrollEffect":"0","showWidgetButton":"true","showEffectButton":"false","colorButton":"","blur":"auto","customGradient":"","frequencyOfDisplay":"30","activateAdsAfterScroll":"0.00","notificationPosition":"top","teaserCardShadow":"0","teaserFixedWidth":"0","is_int_exchange":"0","imageFormat":19,"imgType":"super"}',goodsPartUid:57992474,widgetTitle:"[WIDGET_TITLE_INTERESTING_FOR_YOU]",I:"MarketGidInfC1661713",customBanners:'{"1661713":[]}',templateStyles:`.mgresponsive {display:inherit;}.mgbox {padding:0 !important;position:relative !important;text-align:center;vertical-align:top !important;margin:0 auto;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;line-height:100% !important;transition:none !important;box-sizing:border-box;width:100%;max-width:100%;min-width:90px;}div.mcimg {padding:0;text-align:center;}img.mcimg {width:100% !important;height:auto !important;max-width:492px;max-height:328px;box-sizing:border-box;display:block;margin:0;opacity:1 !important;}.mctitle {text-align:left;margin-top:2px;line-height:1 !important;}.mctitle a {font-size:15px;color:#333333;font-family:Verdana, sans-serif;line-height:110% !important;font-weight:normal;}.mcdomain {display:block;text-align:center;overflow:hidden;padding:4px;}.mcdomain a {font-weight:normal;font-size:10px;line-height:10px;color:#bbbbbb;font-family:Verdana, sans-serif;padding:5px 0 2px;display:block;overflow:hidden;text-transform:capitalize;}.mcdomain a img.mcimgsrc {vertical-align:bottom;margin-bottom:-3px;height:20px;width:20px;display:inline-block;}.mgline {background:none repeat scroll 0 0;cursor:pointer;overflow:hidden;zoom:1;display:inline;padding:0 !important;width:49%;max-width:49%;box-sizing:border-box;margin:10px 0.5%;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;word-wrap:break-word;position:relative;vertical-align:top;min-width:90px;}.mgline:hover .mctitle a {color:#2b397b;text-decoration:underline !important;}.mgline[max-width~="120px"] .mgarrowbox, .mgline[max-width~="120px"] .mgbuybox, .mgline[max-width~="120px"] .mcdesc {display:none !important;}.mgline .fake {visibility:hidden;position:relative;padding-top:4px;}.mgline .image-with-text {position:relative;min-height:1px;}.mgline .image-with-text, .mgline .mgtobottom {width:100% !important;max-width:492px;margin:0 auto;}.mgline .image-container {position:relative;}.mgline .image-container .mcimgad {position:absolute;right:0;bottom:0;width:20px;height:20px;}.text-elements a {text-decoration:none;}span.mcpriceold {text-decoration:line-through !important;}.fake, .mgtobottom {display:table;bottom:0;width:100%;text-align:left;}.mgtobottom__buy {padding-right:20px;}.mgtobottom {position:absolute;}.mghead {font-family:Verdana, sans-serif !important;color:#2b397b;font-size:14px !important;text-transform:uppercase !important;font-weight:normal;}.mcdesc {display:none;text-align:center;margin:0 0 2px;}.mcdesc a {font-weight:normal;font-size:12px;line-height:1.5 !important;font-style:normal;text-decoration:none;color:#666666;font-family:Verdana,Geneva,sans-serif;}.mcprice, .mcriceold {font-weight:bold;font-size:14px;line-height:14px;color:#2a3a7b;font-family:Verdana, sans-serif;}.mcprice {text-align:left;}.mcprice span {font-weight:bold;font-size:14px;line-height:14px;color:#2a3a7b;font-family:Verdana, sans-serif;}.mcprice-wrap {position:absolute;display:block;top:0;left:0;text-decoration:none;}.mcprice-cover {display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-align-items:stretch;-moz-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;height:42px;font-size:14px;}.mcprice-cover .mcprice {font-size:1.29em;color:#fff;}.mcprice-cover.mcprice-cover_old .mcprice-inner {padding-top:4px;width:auto;}.mcprice-cover.mcprice-cover_old .mcprice-val {padding-right:0;}.mcprice-cover.mcprice-cover_old .mcprice {margin-bottom:4px;color:#2a3a7b;font-size:1em;}.mcprice-cover.mcprice-cover_old + .mcprice-cover {display:none !important;}.mcprice-val, .mcprice-inner {display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:flex-start;justify-content:flex-start;white-space:nowrap;}.mcprice-inner {background:#ed181d;position:relative;padding:0 2px 0 8px;text-align:center;color:#fff;width:100%;}.mcprice-inner:before {content:\\'\\';position:absolute;top:0;right:-10px;border-top:21px solid transparent;border-bottom:21px solid transparent;border-left:10px solid #ed181d;}.mcprice-val {padding:2px 10px 0 14px;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-content:center;justify-content:center;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start;font-weight:bold;text-align:left;}.mcdiscount {color:#fff;border:none;font-size:1.21em;}.mgarrowbox {position:relative;background:#fff;padding-right:12px;}.mgarrowbox:before {content:\\'\\';position:absolute;top:0;right:-10px;border-top:21px solid transparent;border-bottom:21px solid transparent;border-left:10px solid #fff;}.mcpriceold {display:block !important;position:relative;width:100%;font-size:0.78em;font-weight:inherit;color:#ed181d;text-decoration:line-through !important;}.mcpriceold span {position:relative;}.mcpriceold span:before {content:\\'\\';height:1px;background:#ed181d;left:0;right:0;top:50%;position:absolute;}.mgbuybox {text-align:right;font-weight:700;font-size:12px;color:#666666;}div.mgbuybox, div.mgarrowbox {display:inline-block;}div.mcprice {display:block;}@supports not (flex-wrap:wrap) {.mgbox {display:block !important;}.mgline {display:inline-block !important;}}@media (max-width:480px) {.mgline {width:48% !important;margin:1% !important;max-width:48% !important;}}.mg-slider-overlay {overflow:hidden;position:relative;}.mg-slider-overlay .mg-slider-wrap {min-height:200px;position:relative;width:100%;-webkit-transform:translate3D(0, 0, 0);-moz-transform:translate3D(0, 0, 0);-ms-transform:translate3D(0, 0, 0);-o-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0);-webkit-transition-duration:200ms;-moz-transition-duration:200ms;-ms-transition-duration:200ms;-o-transition-duration:200ms;transition-duration:200ms;}.mg-slider-overlay .mg-slider-wrap .mg-slider-box {left:0;top:0;position:absolute;width:100%;}.mg-pagination {text-align:center;}.mg-pagination .mg-pagination-list {display:inline-block;}.mg-pagination .mg-pagination-item {cursor:pointer;display:inline-block;*display:inline;*zoom:1;width:8px;height:8px;margin:0 2px;background:#ddd;border-radius:50%;}.mg-pagination .mg-pagination-item-prev, .mg-pagination .mg-pagination-item-next {background:#f7f7f7;border:1px solid #cecece;border-radius:2px;cursor:pointer;display:inline-block;height:11px;margin:0 10px;padding:5px 0;text-align:center;vertical-align:middle;width:29px;}.mg-pagination .mg-pagination-item-prev:after, .mg-pagination .mg-pagination-item-next:after {background:url(https://images.dable.io/static/i/prevnext2.png?3) no-repeat 0 0;background-size:17px 11px;content:"";display:inline-block;height:13px;width:9px;}.mg-pagination .mg-pagination-item-next:after {background-position:-10px 0;width:8px;}.mg-pagination .mg-pagination-item-current {background:#508eef;}`,widgetTemplate:'<div class="mgbox"><!--advertPrefix-->{foreach}<div class="mgline">{if $banner}{$banner}{/if}{if $teaser}<div class="image-with-text"><div class="mcimg"><a {$target}{$href} ><div class="image-container"><img class="mcimg" {$src} /><!--intExchangeWagesImagePlace--></div></a></div>{if $price}<a {$target}{$href} class="mcprice-wrap"><div class="mgarrowbox">{if $priceold}<div class="mcprice-cover mcprice-cover_old mcpriceouter"><div class="mcprice-inner"><div class="mcdiscount">{$discount}</div></div><div class="mcprice-val"><div class="mcprice">{$price}</div><div class="mcpriceold"><span>{$priceold}</span></div></div></div>{/if}<div class="mcprice-cover mcpriceouter"><div class="mcprice-inner"><div class="mcprice">{$price}</div></div></div></div></a>{/if}<div class="text-elements"><div class="text_on_hover"><div class="mcdomain-top mcdomain" style="display: none;"><a {$target}{$href}>{$source}</a></div><div class="mctitle"><a {$target}{$href}>{$title}</a></div><div class="mglbtn"><a {$target}{$href}>{$cta}<span>&rarr;</span></a></div><div class="fake"><div class="mcdomain"><a {$target}{$href}>{$source}</a></div>{if $price}<div class="mgbuybox">Buy!</div>{/if}</div><div class="mgtobottom"><div class="mcdomain"><a {$target}{$href}>{$source}</a></div>{if $price}<a {$target}{$href} class="mgtobottom__buy"><div class="mgbuybox">Buy!</div></a>{/if}</div></div></div></div>{/if}</div>{/foreach}</div>',crossId:1661713,widgetPathES5:"https://jsc.mgid.com/n/o/nowfastanswer.com.1661713.es5.js",widgetPathES6:"https://jsc.mgid.com/n/o/nowfastanswer.com.1661713.es6.js",publisherId:57992474}}}});var G,$=q(()=>{C();B();G=class{constructor(t){this.app=t}addHook(t,e,i=0,s=!1){if(this.app.widgetParams.WIDGET.useConstructor)this.app[t].push(a=>{try{a=a||[],e.apply(this,a)}catch{}});else{let a=i!==0;this.app[t].push(p=>{let d=this.name||this.constructor.name,u=[];return u.push(this.app.lifeCycleBlock.execute(`${t} hook ${d}`,m=>{try{a?(p=p||[],p.push(m),e.apply(this,p)):(e.apply(this,p),m())}catch(k){this.app.log(`${t} hook ${d}:`,"error",k),this.app.debugBlock.sendData(k.message),m()}},0,!1,!0)),a&&i!==999999&&u.push(this.app.lifeCycleBlock.execute("",m=>{m()},i,s,!0)),Promise.race(u)})}}}});var Z,J,Nt,gt,$t,wt=q(()=>{C();B();(function(w){w.Teaser="teaser",w.Banner="banner",w.Gpt="gpt"})(Z||(Z={}));(function(w){w.Wages="w",w.Exchange="e",w.InternalExchange="i",w.Video="v",w.DirectPublisherDemand="dpd"})(J||(J={}));(function(w){w.Desktop="desktop",w.Mobile="mobile",w.Tablet="tablet",w.SmartTV="smarttv"})(Nt||(Nt={}));(function(w){w[w.MG=0]="MG",w[w.L=1]="L",w[w.AK=2]="AK",w[w.IM=3]="IM"})(gt||(gt={}));(function(w){w.Storage="storage",w.Cmp="cmp"})($t||($t={}))});function Wt(w,t){async function e(...i){await Vt.acquireStorage(()=>{w.call(this,...i)}),typeof i[i.length-1]=="function"&&i[i.length-1]()}return e}var Gt,pt,ve,Vt,bt,Rr,kt,ee=q(()=>{C();B();(function(w){w.ping="ping",w.get="get",w.set="set",w.lock="lock",w.unlock="unlock"})(Gt||(Gt={}));(function(w){w.local="local",w.session="session",w.page="page"})(pt||(pt={}));ve=class{constructor(){if(this.callbacks={},this.pingIntervalId=null,this.internalStore={},this.isCrossDomainStorageEnabled()){let t=document.createElement("iframe");t.src="https://cdn.mgid.com/widgets/storage.html",t.style.display="none",document.body.appendChild(t),this.frame=t.contentWindow,this.internalStore[pt.local]={},this.internalStore[pt.session]={},this.internalStore[pt.page]={},window.addEventListener("message",e=>{if(typeof e.data._mgstorage<"u"){let i=e.data._mgstorage;i.error&&console.error(i.error),this.callbacks[i.eventId](i)}})}else this.internalStore[pt.local]=localStorage,this.internalStore[pt.session]=sessionStorage,this.internalStore[pt.page]=window}async waitForFrame(){return new Promise(t=>{this.pingIntervalId=setInterval(()=>{let e=this.getEventId();this.callbacks[e]=()=>{clearInterval(this.pingIntervalId),t()},this.request({eventId:e,srcId:"widget",action:Gt.ping})},100)})}async get(t,e,i){return new Promise(s=>{let a=this.getEventId();this.callbacks[a]=p=>{s(p.data)},this.request({eventId:a,engine:e,srcId:"widget",action:Gt.get,lockId:t,key:i})})}async set(t,e,i,s){return new Promise(a=>{let p=this.getEventId();this.callbacks[p]=()=>{a()},this.request({eventId:p,engine:e,srcId:"widget",action:Gt.set,lockId:t,key:i,val:s})})}async lock(){return new Promise(t=>{let e=this.getEventId();this.callbacks[e]=i=>{t(i.data)},this.request({eventId:e,srcId:"widget",action:Gt.lock})})}async unlock(t){return new Promise(e=>{let i=this.getEventId();this.callbacks[i]=s=>{e(s)},this.request({eventId:i,srcId:"widget",action:Gt.unlock,lockId:t})})}async fetch(t){this.internalStore[pt.local]=JSON.parse(await this.get(t,pt.local,this.getStorageKey()))??{},this.internalStore[pt.session]=JSON.parse(await this.get(t,pt.session,this.getStorageKey()))??{},this.internalStore[pt.page]=JSON.parse(await this.get(t,pt.page,this.getStorageKey()))??{}}async flush(t){await this.set(t,pt.local,this.getStorageKey(),JSON.stringify(this.internalStore[pt.local])),await this.set(t,pt.session,this.getStorageKey(),JSON.stringify(this.internalStore[pt.session])),await this.set(t,pt.page,this.getStorageKey(),JSON.stringify(this.internalStore[pt.page])),this.internalStore[pt.local]={},this.internalStore[pt.session]={},this.internalStore[pt.page]={},await this.unlock(t)}getStorageKey(){return"storage882312"}isCrossDomainStorageEnabled(){return!1}engine(t){return{getItem:e=>{let i=this.internalStore[t][e]??null;return i==="undefined"&&(i=null),i},setItem:(e,i)=>{this.internalStore[t][e]=i},removeItem:e=>{delete this.internalStore[t][e]}}}async acquireStorage(t){try{if(this.isCrossDomainStorageEnabled()){let e=await this.lock();await this.fetch(e),t(),await this.flush(e)}else t()}catch(e){console.error(e)}}getEventId(){return("0000000000"+Math.round(Math.random()*1e10).toString(16)).slice(-10)}request(t){this.frame.postMessage({_mgstorage:t},"*")}},Vt=new ve,bt=Vt.engine(pt.local),Rr=Vt.engine(pt.session),kt=Vt.engine(pt.page)});var Hi={};K(Hi,{VideoMetricsBlock:()=>ke});var ke,Mi=q(()=>{C();B();$();wt();ke=class extends G{constructor(t){super(t),this.name="VideoMetricsBlock",this.userAgent=this.app.context.navigator?.userAgent||"",this.exceptionAgentList=["Zalo iOS"],this.videoType="video/mp4",this.isMetricsCollected=!1,this.collectMetrics()}waitForCollectMetrics(){let t,i=new Date().getTime();return new Promise(s=>{t=setInterval(()=>{if(new Date().getTime()-i>=1e3){this.app.videoMetricsParams={mp4:0,ap:0},clearInterval(t),this.app.log(`${this.name}: too long Video Promise resolving process.`),s();return}this.isMetricsCollected&&(clearInterval(t),s())},10)})}collectMetrics(){let t={mp4:0,ap:0},e=()=>{this.isMetricsCollected=!0,this.app.videoMetricsParams={...t};try{this.app.context.sessionStorage&&this.app.context.sessionStorage.setItem("_mgVideoMetricsParams",JSON.stringify(t))}catch{}};if(this.isIosWebview()&&(this.isExceptionAgent()||this.app.widgetParams.WIDGET.currentSubnet===gt.IM)){e();return}try{let i=new Blob([new Uint8Array([0,0,0,28,102,116,121,112,105,115,111,109,0,0,2,0,105,115,111,109,105,115,111,50,109,112,52,49,0,0,0,8,102,114,101,101,0,0,2,239,109,100,97,116,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,0,0,2,194,109,111,111,118,0,0,0,108,109,118,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,232,0,0,0,47,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,1,236,116,114,97,107,0,0,0,92,116,107,104,100,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,47,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36,101,100,116,115,0,0,0,28,101,108,115,116,0,0,0,0,0,0,0,1,0,0,0,47,0,0,0,0,0,1,0,0,0,0,1,100,109,100,105,97,0,0,0,32,109,100,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,172,68,0,0,8,0,85,196,0,0,0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0,0,0,1,15,109,105,110,102,0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0,0,0,0,36,100,105,110,102,0,0,0,28,100,114,101,102,0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1,0,0,0,211,115,116,98,108,0,0,0,103,115,116,115,100,0,0,0,0,0,0,0,1,0,0,0,87,109,112,52,97,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,16,0,0,0,0,172,68,0,0,0,0,0,51,101,115,100,115,0,0,0,0,3,128,128,128,34,0,2,0,4,128,128,128,20,64,21,0,0,0,0,1,244,0,0,1,243,249,5,128,128,128,2,18,16,6,128,128,128,1,2,0,0,0,24,115,116,116,115,0,0,0,0,0,0,0,1,0,0,0,2,0,0,4,0,0,0,0,28,115,116,115,99,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,28,115,116,115,122,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,115,0,0,1,116,0,0,0,20,115,116,99,111,0,0,0,0,0,0,0,1,0,0,0,44,0,0,0,98,117,100,116,97,0,0,0,90,109,101,116,97,0,0,0,0,0,0,0,33,104,100,108,114,0,0,0,0,0,0,0,0,109,100,105,114,97,112,112,108,0,0,0,0,0,0,0,0,0,0,0,0,45,105,108,115,116,0,0,0,37,169,116,111,111,0,0,0,29,100,97,116,97,0,0,0,1,0,0,0,0,76,97,118,102,53,54,46,52,48,46,49,48,49])],{type:this.videoType}),s=this.app.context.document.createElement("video");if(s.muted=!0,s.autoplay=!0,s.loop=!0,s.setAttribute("playsinline",""),s.setAttribute("webkit-playsinline",""),s.src=URL.createObjectURL(i),typeof s.canPlayType<"u"){let p=s.canPlayType(this.videoType);(p=="maybe"||p=="probably")&&(t.mp4=1)}let a=s.play();typeof a<"u"?a.then(()=>{t.ap=1,s.src="",typeof s.remove<"u"&&s.remove(),e()}).catch(p=>{t.ap=0,s.src="",typeof s.remove<"u"&&s.remove(),e()}):(t.ap=0,s.src="",typeof s.remove<"u"&&s.remove(),e())}catch{t.mp4=0,t.ap=0,e()}}isIosWebview(){return/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(this.userAgent)}isExceptionAgent(){return this.exceptionAgentList.some(t=>this.userAgent.indexOf(t)!==-1)}}});var Ni={};K(Ni,{NavigatorAgentDataBlock:()=>ye});var Ft,ye,Vi=q(()=>{C();B();$();(function(w){w.architecture="scua",w.bitness="scub",w.brands="scu",w.fullVersionList="scufvl",w.mobile="scum",w.model="scumd",w.platform="scup",w.platformVersion="scupv",w.uaFullVersion="scufv",w.wow64="scuw"})(Ft||(Ft={}));ye=class extends G{constructor(t){super(t),this.name="NavigatorAgentDataBlock",this.isDataCollected=!1,this.collectUserAgentData()}waitForUserAgentData(){let t,i=new Date().getTime();return new Promise(s=>{t=setInterval(()=>{if(new Date().getTime()-i>=1e3){this.app.userAgentDataParams=null,clearInterval(t),this.app.log(`${this.name}: too long collecting data process.`),s();return}this.isDataCollected&&(clearInterval(t),s())},10)})}collectUserAgentData(){this.app.context.navigator.userAgentData.getHighEntropyValues(Object.keys(Ft)).then(t=>{let e={};Object.keys(t).forEach(i=>{let s=t[i];if(typeof s=="boolean"&&(e[Ft[i]]=`${encodeURIComponent(s?"?1":"?0")}`),typeof s=="string"&&s.length&&(e[Ft[i]]=`${encodeURIComponent('"'+s+'"')}`),Array.isArray(s)&&s.length){let a=s.reduce((p,d,u,m)=>p+`"${d.brand}";v="${d.version}"${u!==m.length-1?", ":""}`,"");e[Ft[i]]=`${encodeURIComponent(a)}`}}),this.isDataCollected=!0,this.app.userAgentDataParams={...e};try{this.app.context.sessionStorage&&this.app.context.sessionStorage.setItem("_mgAgentDataParams",JSON.stringify(e))}catch{}}).catch(t=>{this.isDataCollected=!0,this.app.userAgentDataParams=null})}}});var Fi={};K(Fi,{AmpRenderBlock:()=>Ie});var Ie,qi=q(()=>{C();B();$();Ie=class extends G{constructor(t){super(t),this.name="AmpRenderBlock",this.addHook("afterPreRenderNewsHooks",this.ampRenderStart),this.addHook("afterLoadNewsHooks",this.ampResizeHook),this.app.widgetParams.WIDGET.ampSpaSupport&&(this.ampPageView(),this.addHook("beforePrepareCappingDataHooks",this.ampPageImp,1e4))}ampRenderStart(){this.ampResizedHeight=this.app.precalcRect.height,this.app.context.context.renderStart({width:this.app.precalcRect.width,height:this.app.precalcRect.height})}ampPageView(){typeof this.app.context.context.computeInMasterFrame<"u"&&this.app.context.context.computeInMasterFrame(this.app.context,"_mgPageViewAmp"+this.app.widgetParams.WIDGET.siteId,t=>{let e=this.app.context.context.pageViewId,i=localStorage.getItem("_mgPageViewAmpId"+this.app.widgetParams.WIDGET.siteId)?localStorage.getItem("_mgPageViewAmpId"+this.app.widgetParams.WIDGET.siteId):"";if(e===i){let s=this.app.getMostTopWindow();s["_mgPageView"+this.app.widgetParams.WIDGET.siteId]=s["_mgPageView"+this.app.widgetParams.WIDGET.siteId]||[],s["_mgPageView"+this.app.widgetParams.WIDGET.siteId].push(s.location.pathname),s["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId]=s["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId]||[],s["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId].push(s.location.pathname),this.app.initServicerRequest=!1}localStorage.setItem("_mgPageViewAmpId"+this.app.widgetParams.WIDGET.siteId,e),t()},()=>{})}ampPageImp(t){typeof this.app.context.context.computeInMasterFrame<"u"?this.app.context.context.computeInMasterFrame(this.app.context,"_mgPageImpAmp"+this.app.widgetParams.WIDGET.siteId,e=>{let i=this.app.context.context.pageViewId,s=localStorage.getItem("_mgPageImpAmpId"+this.app.widgetParams.WIDGET.siteId)?localStorage.getItem("_mgPageImpAmpId"+this.app.widgetParams.WIDGET.siteId):"";if(i===s){let a=this.app.getMostTopWindow();a["_mgPageImp"+this.app.widgetParams.WIDGET.siteId]=a["_mgPageImp"+this.app.widgetParams.WIDGET.siteId]||[],a["_mgPageImp"+this.app.widgetParams.WIDGET.siteId].push(a.location.pathname)}localStorage.setItem("_mgPageImpAmpId"+this.app.widgetParams.WIDGET.siteId,i),e()},()=>{}):t()}askAmpForResize(){let t=Math.ceil(this.app.root.getBoundingClientRect().height),e=this.app.precalcRect.width;this.app.context.context.requestResize(e,t).then(()=>{this.app.ampResizeDenied=!1,this.ampResizedHeight=t},()=>{this.app.ampResizeDenied=!0})}ampResizeHook(){typeof this.ampResizeInterval>"u"&&(this.ampResizeInterval=setInterval(()=>{let t=Math.ceil(this.app.root.getBoundingClientRect().height);typeof this.app.ampResizeDenied<"u"&&this.app.ampResizeDenied?this.askAmpForResize():t!==this.ampResizedHeight&&this.askAmpForResize()},100))}}});var Ui={};K(Ui,{MgqBlock:()=>jt});var jt,Pe=q(()=>{C();B();$();jt=class extends G{constructor(t){super(t),this.isLongCheck=!1,this.name="MgqBlock",this.worker=this.createWorker(),this.init()}init(){this.app.context._mgq=this.app.context._mgq||[],typeof this.app.context._mgqp>"u"&&(this.app.context._mgqp=this.worker,this.app.context._mgqt=new Date().getTime(),this.worker())}createWorker(){return()=>{let t=this.app.context._mgq.length,e=this.app.context._mgq.slice(0),i=0;for(let s=0;s<t;s++){let a=e[s],p=this.app.context,d=a[0];if(a[0].indexOf(".")>0&&(p=p[a[0].split(".")[0]],d=a[0].split(".")[1]),typeof p[d]=="function"&&d!=="MgSensorInvoke"){try{p[d].apply(p,a.slice(1))}catch(u){this.app.log("mgq error:","error",u),this.app.debugBlock.sendData(`mgq error: ${u.message}`)}this.app.context._mgq.splice(s-i,1),i++}}this.app.context._mgqi||(this.app.context._mgqi=this.app.context.setInterval(()=>{this.worker()},5)),this.isLongCheck||new Date().getTime()-this.app.context._mgqt>1e4&&(this.isLongCheck=!0,this.app.context.clearInterval(this.app.context._mgqi),this.app.context._mgqi=this.app.context.setInterval(()=>{this.worker()},100))}}}});var zi={};K(zi,{UtilsBlock:()=>Se});var Se,$i=q(()=>{C();B();$();Se=class extends G{constructor(t){super(t),this.isMobileResult=null,this.name="UtilsBlock"}getScroll(){let t=this.app.getMostTopWindow();return{top:t.document.body.scrollTop||t.document.documentElement.scrollTop||0,left:t.document.body.scrollLeft||t.document.documentElement.scrollLeft||0}}getViewportSize(){let t=this.app.getMostTopWindow();return{width:t.innerWidth||t.document.documentElement.clientWidth,height:t.innerHeight||t.document.documentElement.clientHeight}}getRect(t,e){let i=t.getBoundingClientRect(),s={top:i.top,bottom:i.bottom,left:i.left,right:i.right,height:i.height?i.height:i.bottom-i.top,width:i.width?i.width:i.right-i.left};if(this.app.context.self!==this.app.context.top){let a=this.getFrame();if(a){let p=a.getBoundingClientRect();s.top+=p.top,s.bottom+=p.top,s.left+=p.left,s.right+=p.left}}if(e){let a=this.getScroll();s.top+=a.top,s.bottom+=a.top,s.left+=a.left,s.right+=a.left}return s}getFrame(){let t;try{let e;for(let i=this.app.context;i.frameElement;i=i.parent)e=i.frameElement;t=e}catch{t=null}return t}elementViewportIntersection(t){let e=this.app.utils.getRect(t,!0),i=this.app.utils.getViewportSize(),s=this.app.utils.getScroll();for(let m in e)e.hasOwnProperty(m)&&(e[m]=Math.floor(e[m]));i.top=s.top,i.bottom=s.top+i.height,i.left=s.left,i.right=s.left+i.width;let a=e.width*e.height;if(!a)return 0;if(this.app.omidBlock&&this.app.omidBlock.getLastOmidData()){let m=this.app.omidBlock.getLastOmidData(),k={left:0,right:m.viewport.width,top:0,bottom:m.viewport.height},I={left:m.adView.geometry.x,right:m.adView.geometry.x+m.adView.geometry.width,top:m.adView.geometry.y,bottom:m.adView.geometry.y+m.adView.geometry.height},T=this.app.utils.rectangleIntersection(k,I),b={left:m.adView.onScreenGeometry.x,right:m.adView.onScreenGeometry.x+m.adView.onScreenGeometry.width,top:m.adView.onScreenGeometry.y,bottom:m.adView.onScreenGeometry.y+m.adView.onScreenGeometry.height},D=this.app.utils.rectangleIntersection(T,b),v={left:e.left-s.left+m.adView.geometry.x,right:e.right-s.left+m.adView.geometry.x,top:e.top-s.top+m.adView.geometry.y,bottom:e.bottom-s.top+m.adView.geometry.y},y=this.app.utils.rectangleIntersection(D,v),W=(v.bottom-v.top)*(v.right-v.left),R=y.width*y.height;return m.adView.onScreenGeometry.obstructions.forEach(Q=>{let et={left:Q.x,top:Q.y,right:Q.x+Q.width,bottom:Q.y+Q.height},lt=this.app.utils.rectangleIntersection(et,y),ht=lt.width*lt.height;R-=ht}),R/W}let p=Math.max(0,Math.min(e.right,i.right)-Math.max(e.left,i.left)),d=Math.max(0,Math.min(e.bottom,i.bottom)-Math.max(e.top,i.top));return p*d/a}rectangleIntersection(t,e){let i={};return i.top=Math.max(t.top,e.top),i.left=Math.max(t.left,e.left),i.bottom=Math.min(t.bottom,e.bottom),i.right=Math.min(t.right,e.right),i.width=i.right-i.left,i.height=i.bottom-i.top,i.top<i.bottom&&i.left<i.right?i:{top:0,left:0,bottom:0,right:0,width:0,height:0}}isMobile(){if(this.isMobileResult===null){let t=!1;(function(e){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0)})(navigator.userAgent||navigator.vendor||window.opera),this.isMobileResult=t}return this.isMobileResult}isTablet(){let t=(navigator.userAgent||navigator.vendor||window.opera).toLowerCase();return/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(t)}generateHash(){return Date.now().toString(36)+Math.random().toString(36).substring(2)}isChromeWebView(){let t=["WebView","Android.*(;\\s+wv|Version/\\d.\\d\\s+Chrome/\\d+(\\.0){3})","Linux; U; Android"],e=new RegExp("("+t.join("|")+")","ig");return!!navigator.userAgent.match(e)}isSupportES6(){try{return new Function("async (x = 0) => x; try {const x=window?.x;} catch {};"),!0}catch{return!1}}getLeavePageValue(){let e=["hidden","mozHidden","msHidden","webkitHidden"].filter(s=>typeof this.app.context.document[s]<"u")[0],i=e==="hidden"?"visibilitychange":e.replace("Hidden","")+"visibilitychange";return{hidden:e,visibilityChange:i}}}});var ji=Xt(ie=>{"use strict";C();B();Object.defineProperty(ie,"__esModule",{value:!0});ie.ConsentsBlock=void 0;var dr=function(){function w(t,e,i){e===void 0&&(e=30),i===void 0&&(i=!1);var s;this.hasStorageConsentTCFv2=!1,this.app=t,this.consentTimeout=e,this.isWaitConsent=i,this.app.requestParams=this.app.requestParams||{},this.topWindow=this.app.getMostTopWindow(),this.actualizeStorageConsentTCFv2(),this.isWaitConsent&&!this.hasStorageConsentTCFv2&&(this.consentTimeout=Number((s=this.app.globalSettings)===null||s===void 0?void 0:s.widget_consent_wait_time_ms)||300,this.app.requestParams.nocmp=1)}return w.prototype.actualizeStorageConsentTCFv2=function(){var t,e=Number((t=this.app.globalSettings)===null||t===void 0?void 0:t.widget_consent_outdated_time)||168;try{if(this.app.context.localStorage&&!this.app.isOurIframe){var i=JSON.parse(this.app.context.localStorage.getItem("MG_tcfv2Data")||"{}");i?.timestamp&&new Date().getTime()-i.timestamp<e*60*60*1e3?this.hasStorageConsentTCFv2=!0:this.app.context.localStorage.removeItem("MG_tcfv2Data")}}catch{this.app.log("ConsentsAdapter - localStorage not found.")}},w.prototype.initTCFv2Proxy=function(){if(typeof this.app.context.__tcfapi=="function")return;this.isSearchingLocator=!0;for(var t=this.app.context,e,i={};t;){try{if(t.frames.__tcfapiLocator){e=t;break}}catch(a){this.app.log(a,"warn",a)}if(t===this.app.context.top)break;t=t.parent}if(this.isSearchingLocator=!1,!e)return;this.app.context.__tcfapi=function(a,p,d,u){var m=Math.random()+"",k={__tcfapiCall:{command:a,parameter:u,version:p,callId:m}};i[m]=d,e.postMessage(k,"*")};function s(a){var p={};try{p=typeof a.data=="string"?JSON.parse(a.data):a.data}catch(u){this.app.log(u,"warn",u)}var d=p?p.__tcfapiReturn:null;d&&typeof i[d.callId]=="function"&&i[d.callId](d.returnValue,d.success)}this.app.context.addEventListener("message",s.bind(this),!1)},w.prototype.tcfv2Api=function(t){var e=this,i=new Date().getTime(),s;return new Promise(function(a,p){var d=function(){e.app.tcfv2Enabled=!0,e.app.requestParams.tcfV2=1;try{var u=function(m,k){if(k&&(m.eventStatus==="tcloaded"||m.eventStatus==="useractioncomplete")){var I=new Date().getTime();e.app.tcfv2Data=m,e.app.context.localStorage&&(e.app.isOurIframe?e.app.context.localStorage.removeItem("MG_tcfv2Data"):(m.timestamp=I,e.app.context.localStorage.setItem("MG_tcfv2Data",JSON.stringify(m)))),e.app.log("Consents. TCFv2 API done."),e.app.startServicerTime&&e.app.sendConsentLog(I),e.app.waitConsentResolver&&e.app.waitConsentResolver(),t&&setTimeout(function(){t()},0),a()}else k&&!m.gdprApplies&&(t&&setTimeout(function(){t()},0),a()),e.app.log("Consents. TCFv2 API paused.")};e.app.context.__tcfapi("addEventListener",2,u)}catch(m){e.app.log("Consents. TCFv2 API fail."),t&&setTimeout(function(){t()},0),p(m)}};e.initTCFv2Proxy(),typeof e.app.context.__tcfapi=="function"?d():s=setInterval(function(){if(new Date().getTime()-i>=e.consentTimeout*1e3){clearInterval(s),e.app.log("Consents. TCFv2 API not found. Limit time end."),t&&setTimeout(function(){t()},0),a();return}e.isSearchingLocator||e.initTCFv2Proxy(),typeof e.app.context.__tcfapi=="function"&&(clearInterval(s),d())},500)})},w.prototype.gdprApi=function(t){var e=this;return new Promise(function(i,s){if(typeof e.topWindow.__cmp=="function"){e.app.cmpEnabled=!0,e.app.requestParams.tcfV1=1;try{e.topWindow.__cmp("getConsentData",null,function(a){e.app.consentData=a,e.app.context.localStorage&&(e.app.isOurIframe?e.app.context.localStorage.removeItem("MG_ConsentData"):e.app.context.localStorage.setItem("MG_ConsentData",JSON.stringify(a))),e.app.log("Consents. TCFv1 API done."),t&&setTimeout(function(){t()},0),i()})}catch(a){t&&setTimeout(function(){t()},0),s(a)}}else t&&setTimeout(function(){t()},0),i()})},w.prototype.ccpaApi=function(t){var e=this;return new Promise(function(i,s){if(typeof e.topWindow.__uspapi=="function"){e.app.uspEnabled=!0;try{e.topWindow.__uspapi("getUSPData",1,function(a,p){p?(e.app.uspString=a.uspString||"",e.app.context.localStorage&&e.app.uspString!==""&&(e.app.isOurIframe?e.app.context.localStorage.removeItem("MG_uspString"):e.app.context.localStorage.setItem("MG_uspString",e.app.uspString)),e.app.log("Consents. CCPA API done.")):e.app.log("Consents. CCPA API fail."),t&&setTimeout(function(){t()},0),i()})}catch(a){t&&setTimeout(function(){t()},0),s(a)}}else t&&setTimeout(function(){t()},0),i()})},w.prototype.getGdprData=function(){var t,e,i,s,a=null;if((this.app.cmpEnabled||this.app.tcfv2Enabled||this.app.isAmp())&&(this.app.isAmp()&&this.app.context.context.initialConsentValue?a={gdpr_consent:this.app.context.context.initialConsentValue,gdpr:1}:!((t=this.app)===null||t===void 0)&&t.tcfv2Data&&typeof((e=this.app.tcfv2Data)===null||e===void 0?void 0:e.tcString)<"u"?(a={gdpr_consent:this.app.tcfv2Data.tcString,gdpr:typeof this.app.tcfv2Data.gdprApplies<"u"?+this.app.tcfv2Data.gdprApplies:""},this.app.consentOrigin="cmp"):!((i=this.app)===null||i===void 0)&&i.consentData&&typeof((s=this.app.consentData)===null||s===void 0?void 0:s.consentData)<"u"&&(a={gdpr_consent:this.app.consentData.consentData,gdpr:typeof this.app.consentData.gdprApplies<"u"?+this.app.consentData.gdprApplies:""})),a===null)try{if(this.app.context.localStorage&&!this.app.isOurIframe){var p=null;p=JSON.parse(this.app.context.localStorage.getItem("MG_ConsentData")||"null"),p!==null&&typeof p.consentData<"u"&&(a={gdpr_consent:p.consentData,gdpr:typeof p.gdprApplies<"u"?+p.gdprApplies:""}),p=JSON.parse(this.app.context.localStorage.getItem("MG_tcfv2Data")||"null"),p!==null&&typeof p.tcString<"u"&&(a={gdpr_consent:p.tcString,gdpr:typeof p.gdprApplies<"u"?+p.gdprApplies:""},this.app.consentOrigin="storage")}}catch(d){this.app.log("getGdprData -> "+d.message)}return a},w.prototype.getUspData=function(){var t=null;if(this.app.uspEnabled&&this.app.uspString!=""&&typeof this.app.uspString<"u")t={us_privacy:this.app.uspString};else try{if(this.app.context.localStorage&&!this.app.isOurIframe){var e=this.app.context.localStorage.getItem("MG_uspString");e!=null&&e!=""&&typeof e<"u"&&(t={us_privacy:e})}}catch(i){this.app.log("getUspData -> "+i.message)}return t},w.prototype.getConsentData=function(){var t={},e=this.getGdprData(),i=this.getUspData();return e!=null&&Object.keys(e).forEach(function(s){return t[s]=e[s]}),i!=null&&Object.keys(i).forEach(function(s){return t[s]=i[s]}),Object.keys(t).length>0?t:null},w.prototype.fetchConsents=function(){var t=this;return Promise.allSettled([this.tcfv2Api(),this.gdprApi(),this.ccpaApi()]).then(function(){return t.getConsentData()})},w}();ie.ConsentsBlock=dr});var Ji={};K(Ji,{ConsentsBlock:()=>Te});var Ki,Te,Zi=q(()=>{C();B();$();Ki=Qt(ji()),Te=class extends G{constructor(t){super(t),this.consentTimeout=30,this.isWidgetLoaded=!1,this.name="ConsentsBlock",this.isWidgetObservable=!this.app.widgetParams.WIDGET.loadVisibleWidgetDisabled&&this.app.iframePlacementType<2,this.isWaitConsent=this.getWaitConsent(),this.consentsAdapter=new Ki.ConsentsBlock(t,this.consentTimeout,this.isWaitConsent),this.addHook("beforeInitHooks",this.consentsAdapter.tcfv2Api.bind(this.consentsAdapter),50),this.addHook("beforeInitHooks",this.consentsAdapter.gdprApi.bind(this.consentsAdapter),50),this.addHook("beforeInitHooks",this.consentsAdapter.ccpaApi.bind(this.consentsAdapter),50)}getWaitConsent(){return this.app.isAmp()?!1:this.app.widgetParams.WIDGET.waitConsentEnabled?this.isWidgetObservable&&this.app.root?(this.app.root.style.minHeight="1px",this.app.root.style.width="100%",this.app.utils.elementViewportIntersection(this.app.root)>0?(this.app.requestParams.cmpreason="wvz",!1):!0):!0:!1}observeWidget(){this.viewInterval=setInterval(()=>{this.app.utils.elementViewportIntersection(this.app.root)>0&&(clearInterval(this.viewInterval),this.loadWidget(!0))},150)}loadWidget(t=!1){this.isWidgetLoaded||(this.isWidgetLoaded=!0,this.viewInterval&&clearInterval(this.viewInterval),typeof this.app.requestParams.nocmp<"u"&&delete this.app.requestParams.nocmp,t&&(this.app.log(`${this.name}: waiting for consents is complete, widget in viewable zone.`),this.app.requestParams.cmpreason="wvzs"),this.app.injectScript(!1))}getConsentData(){let t=this.consentsAdapter.getConsentData();return(!t||!t.gdpr)&&typeof this.app.context._mgGdprApplies<"u"&&(t=t||{},t.gdpr=this.app.context._mgGdprApplies),(!t||!t.gdpr_consent)&&typeof this.app.context._mgConsentData<"u"&&(t=t||{},t.gdpr_consent=this.app.context._mgConsentData),t}waitConsent(t){this.waitConsentResolve().then(()=>{this.app.log(`${this.name}: waiting for consents is complete, consents received.`),this.loadWidget()}),this.isWidgetObservable&&this.observeWidget(),setTimeout(()=>{this.app.log(`${this.name}: waiting for consents is complete, limit time end.`),this.loadWidget()},t*1e3)}async waitConsentResolve(){return new Promise(t=>{this.app.waitConsentResolver=t})}}});var Xi={};K(Xi,{RequestBlock:()=>De});var De,Qi=q(()=>{C();B();$();De=class extends G{pixel(t,e,i,s){this._send(t,e,i,s,(a,p)=>{this._imgRequest(a,p)})}beacon(t,e,i,s){this._send(t,e,i,s,(a,p,d)=>{if(typeof navigator.sendBeacon=="function")try{navigator.sendBeacon(p),this.app.log(`Request beacon ${a} started`)}catch(u){this.app.log(`Request beacon ${a} error: `,"error",u),this._imgRequest(a,p)}else this._imgRequest(a,p)})}beaconBlob(t,e,i,s){this._send(t,e,{},s,(a,p,d)=>{if(typeof navigator.sendBeacon=="function")try{navigator.sendBeacon(p,i),this.app.log(`Request beaconBlob ${a} started`)}catch(u){this.app.log(`Request beaconBlob ${a} error: `,"error",u),this._xhrRequest(a,p,"POST",i)}else this._xhrRequest(a,p,"POST",i)})}script(t,e,i,s){this._send(t,e,i,s,(a,p)=>{let d=this.app.context.document.createElement("SCRIPT");d.src=p,d.type="text/javascript",d.charset="utf-8",d.async=!0,s.onerror&&(d.onerror=s.onerror),s.dest?(s.dest.appendChild(d),this.app.log(`Request script ${a} started`)):this.app.log(`Request script ${a} failed - options.dest is undefined!`,"warn")})}_prepareUrl(t,e){this.app.consentDataParams=this.app.consentsBlock.getConsentData(),this.app.consentDataParams&&t.indexOf("/vz")==-1&&Object.keys(this.app.consentDataParams).forEach(s=>{let a=this.app.consentDataParams[s];t.indexOf(s)===-1&&(e[s]=`${s}=${a}`)});let i=[];for(let s of Object.keys(e))(e[s][0]==="?"||e[s][0]==="&")&&(e[s]=e[s].substring(1)),i.push(e[s]);return i.length&&(t.slice(-1)!=="?"&&t.slice(-1)!=="&"&&(t+=t.indexOf("?")===-1?"?":"&"),t+=i.join("&")),t}_send(t,e,i,s,a){if(s.unique){if(this.app.context._mgRequests=this.app.context._mgRequests||{},this.app.context._mgRequests[t]){this.app.log(`Request ${t} stopped - already defined on page`,"warn");return}this.app.context._mgRequests[t]=!0}e=this._prepareUrl(e,i),a(t,e,s)}_imgRequest(t,e){let i=this.app.context.document.createElement("IMG");i.referrerPolicy="strict-origin-when-cross-origin",i.src=e,i.onerror=()=>this.app.log(`Request image ${t} load error`,"error"),this.app.log(`Request image ${t} started`)}_xhrRequest(t,e,i,s){let a=new XMLHttpRequest;a.open(i,e,!0),a.onerror=()=>this.app.log(`Request XHR ${t} load error`),a.send(s),this.app.log(`Request image ${t} started`)}}});var Yi={};K(Yi,{ContextBlock:()=>Ee});var Ee,ts=q(()=>{C();B();$();Ee=class extends G{constructor(t){super(t),this.topmostWindowAccessible=null,this.name="ContextBlock"}getTopmostWindowAccessible(){if(!this.topmostWindowAccessible)try{for(let t=this.app.context;t.document&&(this.topmostWindowAccessible=t,t!=t.top);t=t.parent);}catch{}return this.topmostWindowAccessible}parseUrl(t){let e=document.createElement("A");e.href=t;let i=e.search.replace(/^\?/,"").split("&"),s=[];for(let p of i)if(p!==""){let d=p.split("=");s.push({key:d[0],value:typeof d[1]<"u"?d[1]:""})}let a=e.pathname;return a===""&&(a="/"),a.charAt(0)!=="/"&&(a="/"+e.pathname),{protocol:e.protocol,host:e.host,pathname:a,search:e.search,hash:e.hash,parsedParams:s}}composeUrl(t){return t.protocol+"//"+t.host+t.pathname+t.search+t.hash}stripAmpParts(t){let e=t,i=this.parseUrl(t),s="cdn.ampproject.org";if(i.host.indexOf(s)>0&&i.host.indexOf(s)===i.host.length-s.length){let a=i.pathname.split("/");if(typeof a[1]<"u"&&(a[1]==="c"||a[1]==="v"||a[1]==="wp")){let p=!1;typeof a[2]<"u"&&a[2]==="s"&&(p=!0),e=(p?"https":"http")+"://";let d=0;for(let u of a)u!==""&&u!=="c"&&u!=="v"&&u!=="wp"&&u!=="s"&&(e+=(d++!==0?"/":"")+u);e+=i.search+i.hash}else if(typeof a[1]>"u"||a[1]===""){let p=new RegExp(`.${s}/?$`);e=e.replace(p,"").replace(/^0-/,"").replace(/-0$/,"").replace(/-+/g,d=>d.length===2?"-":d.length===1?".":d)}}return e}contextUriSanitize(t){if(t){t=this.stripAmpParts(t);let e=this.parseUrl(t);this.app.context._mgCanonicalUri=this.composeUrl(e)}return this.app.context._mgCanonicalUri}contextUriParse(){if(!this.app.context._mgCanonicalUri){this.app.context._mgCanonicalUri="";try{let t=this.getTopmostWindowAccessible(),e="",i=t.document.querySelector('meta[property="og:url"]');if(i&&i.getAttribute("content")&&i.getAttribute("content").indexOf("http")!==-1)e=i.getAttribute("content");else{let s=t.document.querySelector("link[rel='canonical']");s&&s.getAttribute("href")&&s.getAttribute("href").indexOf("http")!==-1&&(e=s.getAttribute("href"))}if(e===""){switch(this.app.iframePlacementType){case 0:e=this.app.pageUrl;break;case 1:e=this.app.pageUrl;break;case 2:e=this.app.refererUrl;break;case 3:try{e=this.app.context.context.canonicalUrl}catch{}e||(e=this.app.pageUrl!==""?this.app.pageUrl:this.app.refererUrl);break}this.contextUriSanitize(e)}else this.app.context._mgCanonicalUri=e}catch{}}return this.app.context._mgCanonicalUri}}});var es={};K(es,{PageViewPixelBlock:()=>Ce});var Ce,is=q(()=>{C();B();$();Ce=class extends G{constructor(t){super(t),this.name="PageViewPixelBlock",this.sendPageViewPixel()}sendPageViewPixel(){this.w=this.app.getMostTopWindow();let t=this.w.location.pathname;this.w["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId]=this.w["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId]||[];let e=this.w["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId],i=Number(this.app.globalSettings?.ia_page_view_timeout)||180,s=0,a=0;try{this.app.context.localStorage&&(s=Number(this.app.context.localStorage.getItem("_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId)),a=Number(this.app.context.localStorage.getItem("_mgPvidTime")),new Date().getTime()-a>i*1e3&&this.app.context.localStorage.setItem("_mgPvid",this.app.generatePvid()))}catch{}if(new Date().getTime()-s>i*1e3&&Array.isArray(e)&&e.indexOf(t)===-1){e.push(t);let p=this.getPageViewPixelParams(),d={};for(let u in p)d[u]=`${u}=${p[u]}`;this.app.initServicerRequest&&this.app.request.pixel("pageView",this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.countersDomain+"/pv/",d,{})}this.app.initServicerRequest=!1}getPageDataParams(){let t={};this.setPageData();try{if(!sessionStorage.MG_Session_lastUpdate||Number(sessionStorage.MG_Session_lastUpdate)+30*60*1e3<Date.now()){let e=this.app.contextBlock.stripAmpParts(this.app.refererUrl)?.match(/:\/\/([^\/:]+)/i);sessionStorage.MG_Session_pr=e&&e[1]?e[1]:"",sessionStorage.MG_Session_lu=this.app.pageUrl}sessionStorage.MG_Session_lastUpdate=Date.now(),sessionStorage&&sessionStorage.MG_Session_pr&&(t.pr=encodeURIComponent(sessionStorage.MG_Session_pr)),sessionStorage&&sessionStorage.MG_Session_lu&&(t.lu=encodeURIComponent(sessionStorage.MG_Session_lu))}catch{}return t.cbuster=this.app.getCbusterParameter(),t.pvid=this.app.pvid,this.app.context["isFBIA"+this.app.widgetParams.WIDGET.id]?t.implVersion=14:this.app.isAmp()?t.implVersion=12:this.app.context._mgc&&this.app.getRoot().dataset.type==="_mgwidget"?t.implVersion=17:this.app.versionWidget&&(t.implVersion=this.app.versionWidget),t.cxurl=encodeURIComponent(this.app.contextBlock.contextUriParse()),t}setPageData(){this.app.pageView=0;let t=!1;try{t=!!this.app.context["isFBIA"+this.app.widgetParams.WIDGET.id]&&!!this.app.context.localStorage}catch{}if(this.app.pvid||(this.app.pvid=this.app.generatePvid()),t){let e=this.app.context.localStorage.getItem("_mgPageView"+this.app.widgetParams.WIDGET.siteId),i=Number(this.app.globalSettings.ia_page_view_timeout)||180;(!e||new Date().getTime()-parseInt(e)>i*1e3)&&!this.app.initServicerRequest&&(this.app.context.localStorage.setItem("_mgPageView"+this.app.widgetParams.WIDGET.siteId,new Date().getTime().toString()),this.app.pageView=1),this.app.initServicerRequest&&(this.app.context.localStorage.setItem("_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId,new Date().getTime().toString()),this.app.context.localStorage.setItem("_mgPvidTime",new Date().getTime().toString()),this.app.pageView=1);let s=this.app.context.localStorage.getItem("_mgPvid");s&&(this.app.pvid=s)}else{let e=this.w.location.pathname;this.w["_mgPageView"+this.app.widgetParams.WIDGET.siteId]=this.w["_mgPageView"+this.app.widgetParams.WIDGET.siteId]||[];let i=this.w["_mgPageView"+this.app.widgetParams.WIDGET.siteId];this.w["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId]=this.w["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId]||[];let s=this.w["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId];this.w._mgPvidList=this.w._mgPvidList||[];let a=this.w._mgPvidList;Array.isArray(i)&&i.indexOf(e)===-1&&!this.app.initServicerRequest&&(i.push(e),this.app.pageView=1),Array.isArray(s)&&s.indexOf(e)===-1&&this.app.initServicerRequest&&(s.push(e),this.app.pageView=1),typeof this.w._mgPvid<"u"&&(this.app.pvid=this.w._mgPvid),Array.isArray(a)&&a.indexOf(e)===-1&&(a.push(e),this.app.pvid=this.app.generatePvid(),this.w._mgPvid=this.app.pvid)}}getPageViewPixelParams(){let t={...this.getPageDataParams(),site:this.app.widgetParams.WIDGET.widgetClientSiteId,i:1},e=this.app.getUserAgentDataParams();return e&&(t={...t,...e}),t}}});var Kt,se,ss=q(()=>{C();B();(function(w){w.es5="es5",w.es6="es6"})(Kt||(Kt={}));se=class{constructor(t,e){if(this.additionalWidgets=t,this.urlType=e,this.additionalWidgets.length)for(let i=0;i<this.additionalWidgets.length;i++)setTimeout(()=>{this.init(this.additionalWidgets[i])},0)}init(t){let e=t.widgetDivId?this.createWidgetDiv(t.id,t.widgetDivId):null,i=this.createWidgetScript(t.urls[this.urlType]),s=t.insertTo||"before";this.waitForElement(t.searchSelector).then(a=>{t.widgetDivId&&this.insertWidgetBlock(a,e,s),window.performance?.mark("main_script_start_load",{detail:{_mgwidget:t.id}}),this.insertWidgetScript(i)})}createWidgetDiv(t,e){let i=document.createElement("div"),s=document.createElement("div"),a=e;return i.classList.add(`${a}-additional`),s.id=a,i.appendChild(s),i}createWidgetScript(t){let e=document.createElement("script");return e.src=t,e.async=!0,e.crossOrigin="anonymous",e}insertWidgetBlock(t,e,i){switch(i){case"into":t.appendChild(e);break;case"before":t.parentElement.insertBefore(e,t);break;case"after":t.insertAdjacentElement("afterend",e);break}}insertWidgetScript(t){document.head?document.head.appendChild(t):document.body.appendChild(t)}waitForElement(t){return new Promise(e=>{if(document.querySelector(t))return e(document.querySelector(t));let i=new MutationObserver(()=>{document.querySelector(t)&&(e(document.querySelector(t)),i.disconnect())});i.observe(document,{childList:!0,subtree:!0})})}}});var as={};K(as,{BackButtonBlock:()=>Be});var z,Be,rs=q(()=>{C();B();$();ss();(function(w){w.startedPage="mg-started-page",w.additionalPage="mg-additional-page",w.container="mg-additional-container",w.header="mg-additional-header",w.headerAdded="mg-header-added",w.popup="mg-additional-popup",w.popupInner="mg-additional-popup-inner",w.popupText="mg-additional-popup-text",w.popupTriangle="mg-additional-popup-triangle",w.popupCloseBtn="mg-additional-popup-close-btn",w.popupAdded="mg-popup-added",w.popupShowed="mg-popup-showed",w.popupClosed="mg-popup-closed",w.crossButtonContainer="mg-additional-cross-button",w.crossButton="mg-cross-button"})(z||(z={}));Be=class extends G{constructor(t){if(super(t),this.startedPage="_mgStartedPage",this.additionalPage="_mgAdditionalPage",this.storageStartUrl="_mgStartUrl",this.storagePopupCloseTime="_mgPopupCloseTime",this.storagePagesList="_mgStartPagesList",this.name="BackButtonBlock",this.options=JSON.parse(this.app.widgetParams.WIDGET.backButtonOptions||"{}"),this.widgetId=Number(this.options?.widget_id),this.widgetId){this.siteBody=this.app.context.document.body,this.widgetContainerSelector=`M${this.app.widgetParams.WIDGET.widgetClientSiteId}ScriptRootC${this.widgetId}-additional`,this.hasFilters=!!this.options?.filters?.length,this.isAggressiveMode=this.options?.aggressive_mode,this.initialEvent=typeof this.app.context.onpointerdown>"u"?"click":"pointerdown",this.pointerHandler=this.pointerHandler.bind(this);try{this.app.context.sessionStorage&&(this.hasFilters?this.addHook("beforeLoadNewsHooks",this.init):this.init())}catch(e){this.app.log(`${this.name}: sessionStorage not available.`,"warn",e)}}}init(){if(this.hasFilters&&!this.isFiltersChecked()){this.app.log(`${this.name}: the block didn't pass the filtering conditions.`);return}let t=this.options?.filters?.filter(e=>e.type==="exclude_countries")[0]?.value;t&&t.length?this.checkGeoFilters(t):this.start()}start(){let t,i=new Date().getTime(),s=null;if(this.app.context?.performance?.getEntriesByType("navigation")?.length?s=this.app.context.performance.getEntriesByType("navigation")[0]:this.app.context?.performance?.timing&&(s=this.app.context.performance.timing),s?.loadEventEnd&&s.loadEventEnd>0){this.startEvents();return}t=setInterval(()=>{if(new Date().getTime()-i>=42e4){clearInterval(t),this.app.log(`${this.name}: didn't load, too long page loading process.`);return}s?.loadEventEnd&&s.loadEventEnd>0&&(clearInterval(t),this.startEvents())},100)}startEvents(){let t=this.app.context.history.state,e=this.getStartedUrl(),i=this.app.context.document.location.href;(this.isAggressiveMode?this.hasStoragePage(i):e===i)&&this.isObject(t)&&t.hasOwnProperty(this.additionalPage)&&typeof this.app.context[this.additionalPage]>"u"&&(this.app.context[this.additionalPage]=!0,this.buildAdditionalPage(),this.showAdditionalPage()),this.siteBody.addEventListener(this.initialEvent,this.pointerHandler),this.app.context.addEventListener("popstate",this.popstateHandler.bind(this))}checkGeoFilters(t){let e=typeof SITE<"u"?"https://jsc.mgid.com/site/882312.js":this.app.widgetParams.WIDGET.widgetPathES6;typeof fetch=="function"&&typeof e=="string"&&fetch(e,{method:"HEAD",cache:"force-cache"}).then(i=>{let s=i.headers?.get("X-Cntry")?.toLowerCase();s?t.some(a=>a.toLowerCase()===s)?this.app.log(`${this.name}: the block didn't pass GEO filtering conditions.`):this.start():this.app.log(`${this.name}: X-Cntry didn't found.`)}).catch(i=>{this.app.log(`${this.name}: fetch error.`,"error",i)})}isFiltersChecked(){let t=!0,e=this.options.filters.filter(a=>a.type==="traffic_type")[0]?.value;if(t&&e?.length&&typeof this.app.servicerData.tt<"u"){let a=this.app.servicerData.tt.toLowerCase();a.length?t=e.some(p=>p.toLowerCase()===a):t=!1}let i=this.options.filters.filter(a=>a.type==="traffic_source")[0]?.value;if(t&&i?.length&&typeof this.app.servicerData.ts<"u"){let a=this.app.servicerData.ts.toLowerCase();a.length?t=i.some(p=>p.toLowerCase().indexOf(a)!==-1):t=!1}let s=this.options.filters.filter(a=>a.type==="device")[0]?.value;if(t&&s?.length&&typeof this.app.servicerData.dt<"u"){let a=this.app.servicerData.dt.toLowerCase();a.length?t=s.some(p=>p.toLowerCase()===a):t=!1}return t}pointerHandler(){this.siteBody.removeEventListener(this.initialEvent,this.pointerHandler);let t=this.app.context.document.location.href;this.isAggressiveMode?this.hasStoragePage(t)||(this.setStoragePage(t),this.pushHistoryState()):this.getStartedUrl()||(this.setStartedUrl(t),this.pushHistoryState())}popstateHandler(t){let e=t.target?.history?.state||t.state,i=this.getStartedUrl(),s=this.app.context.document.location.href,a=e===null||e===""||this.isObject(e)&&!e.hasOwnProperty(this.startedPage)&&!e.hasOwnProperty("flowcards"),p=this.isAggressiveMode?this.hasStoragePage(s):i===s;if(p&&a&&typeof this.app.context[this.additionalPage]>"u"){this.app.context[this.additionalPage]=!0,this.replaceHistoryState(),this.buildAdditionalPage(),this.showAdditionalPage();return}this.isObject(e)&&(!p&&!e.hasOwnProperty(this.additionalPage)&&!e.hasOwnProperty(this.startedPage)&&this.showRegularPage(),e.hasOwnProperty(this.startedPage)&&this.showStartedPage(),e.hasOwnProperty(this.additionalPage)&&this.showAdditionalPage())}pushHistoryState(){let t=this.app.context.history.state,e={[this.startedPage]:!0},i=this.app.context.document.location;if(t===null||t==="")(this.isIosFBWebview()||this.isFBAndroid())&&!i.hash?this.app.context.history.pushState(e,"",i.href+"#"+this.app.utils.generateHash()):this.app.context.history.pushState(e,"","");else if(this.isObject(t)){let s={...t,...e};(this.isIosFBWebview()||this.isFBAndroid())&&!i.hash?this.app.context.history.pushState(s,"",i.href+"#"+this.app.utils.generateHash()):this.app.context.history.pushState(s,"","")}else this.app.log(`${this.name}: client also uses history.state and its not an object, so module will not work.`)}replaceHistoryState(){let t=this.app.context.history.state,e={[this.additionalPage]:!0};t===null||t===""?this.app.context.history.replaceState(e,"",""):this.isObject(t)?this.app.context.history.replaceState({...t,...e},"",""):this.app.log(`${this.name}: client also uses history.state and its not an object, so module will not work.`)}buildAdditionalPage(){let t=this.options?.display?.some(a=>a.type==="header"),e=this.options?.display?.some(a=>a.type==="banner"),i=this.options?.cross_button||!1,s=document.createElement("div");s.classList.add(z.container),s.style.display="none",this.siteBody.appendChild(s),this.styles=`body.${z.additionalPage} > *:not(.${z.container}) {
      display: none !important;}body.${z.additionalPage} .${z.container} {
      display: block !important;}body.${z.startedPage} .${z.container} {
      display: none !important;}body.${z.additionalPage} {padding-top: 0 !important;
      margin-top: 0 !important;transform: none !important;}.${z.container} {
      display: none;margin: 0 auto;box-sizing: border-box;padding: 15px 10px;width: 100%;
      max-width: 1100px;background: #fff;}`,t&&this.insertHeader(s),i&&this.insertCrossButton(s),e&&this.insertPopup(s),(i||e)&&this.changeSize(s),this.addingStyles(s),this.addingWidget(s)}insertHeader(t){let e=this.options.display.filter(s=>s.type==="header")[0]?.options?.selector||"header",i=this.app.context.document.querySelector(e);if(i){let s=getComputedStyle(i),a=i.cloneNode(!0);a.classList.add(z.header),t.classList.add(z.headerAdded),t.appendChild(a),this.styles=this.styles+`.${z.container}.${z.headerAdded} {padding: 0 !important;}
        .${z.header} {margin-bottom: 10px !important;z-index: 9999999 !important;}
        .${z.container}.${z.headerAdded} div[class=${this.widgetContainerSelector}] {
        padding: 0 10px;box-sizing: border-box;}`,!this.app.utils.isMobile()&&!this.app.utils.isTablet()&&(t.style.maxWidth=s.width),s.position==="fixed"&&(a.style.maxWidth="100%",a.style.top="0px",a.style.zIndex="9999999",t.style.setProperty("padding-top",s.height,"important"))}}insertCrossButton(t){let i=document.createElement("div");i.classList.add(z.crossButtonContainer);let s=document.createElement("div");s.classList.add(z.crossButton),s.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" 
      xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" 
      width="30px" height="30px" viewBox="0 0 43 40" enable-background="new 0 0 43 40" 
      xml:space="preserve"><path fill="#4C4C4C" d="M21.5,2c-9.941,0-18,8.06-18,18.001c0,9.941,8.059,18,
      18,18s18-8.059,18-18C39.5,10.059,31.441,2,21.5,2z"></path><path fill="#FFFFFF" d="M30.076,24.07c0.564,
      0.564,0.564,1.482,0,2.047l-2.459,2.459c-0.564,0.564-1.48,0.564-2.047,0l-4.07-4.07  
      l-4.07,4.07c-0.566,0.564-1.482,0.564-2.051,0l-2.455-2.459c-0.566-0.564-0.566-1.482,
      0-2.047l4.07-4.07l-4.07-4.071  c-0.566-0.565-0.566-1.482,0-2.049l2.455-2.455c0.568-0.566,
      1.484-0.566,2.051,0l4.07,4.07l4.07-4.07  c0.566-0.566,1.482-0.566,2.047,0l2.459,2.455c0.564,
      0.566,0.564,1.483,0,2.049L26.006,20L30.076,24.07z"></path></svg>`,this.styles=this.styles+`.${z.crossButtonContainer} {display: block !important;
      margin: 10px auto !important;} .${z.crossButton} {display: block !important;
      width: 30px !important;height: 30px !important;max-width: 30px !important;
      max-height: 30px !important;cursor: pointer;border-radius: 50%;overflow: hidden;
      margin-left: auto;} .${z.crossButton} svg {max-width: 30px !important; 
      max-height: 30px !important;}`,t.appendChild(i),i.appendChild(s),s.addEventListener("click",()=>{this.app.context.history.back(),this.showStartedPage()})}insertPopup(t){let e=this.app.context?.localStorage.getItem(this.storagePopupCloseTime),i=24*60*60*1e3,s=e&&new Date().getTime()-Number(e)>=i;if(!e||s){let a=this.options.display.filter(I=>I.type==="banner")[0]?.options,p=a?.bg_color||"#0279f5",d=a?.text_color||"#ffffff",u=a?.text||this.app.getTranslation("[INFORMER_BACK_BUTTON_BANNER_TEXT]"),m=document.createElement("div");m.classList.add(z.popup),t.classList.add(z.popupAdded),m.innerHTML=`<div class="${z.popupInner}">
        <div class="${z.popupText}">${u}</div><div class="${z.popupTriangle}"></div>
        <div class="${z.popupCloseBtn}"><svg width="11" height="11" viewBox="0 0 11 11">
        <path fill="${d}" fill-rule="evenodd" d="M10.34.038L5.5 4.878.66.038.038.66l4.84 
        4.84-4.84 4.84.622.622 4.84-4.84 4.84 4.84.622-.622-4.84-4.84 4.84-4.84z"></path></svg></div></div>`,t.appendChild(m),this.styles=this.styles+`.${z.popup} {display: block;margin: 0 auto;width: 100%;
        height: 50px;overflow: hidden;position: relative;z-index: 999999;}
        .${z.popupInner} {position: relative;display: flex;align-items: center;
        justify-content: space-between;margin: 0 auto;width: 100%;height: 40px;text-align: center;
        transition: all 0.7s ease;opacity: 0;transform: translateY(-150px);background: ${p};}
        .${z.popup}.${z.popupShowed} .${z.popupInner} {transform: translateY(0px);
        opacity: 1;}.${z.popup}.${z.popupClosed} .${z.popupInner} {
        display: none;}.${z.popup}.${z.popupClosed} {z-index: -1;}
        .${z.popupText} {box-sizing: border-box;padding: 10px;width: 100%;height: 100%;
        display: flex;align-items: center;justify-content: center;font-family: Helvetica, Arial, sans-serif;
        font-size: 16px;line-height: 1;font-weight: 400;color: ${d};}
        .${z.popupTriangle} {display: block;position: absolute;bottom: -10px;left: 50%;
        transform: translateX(-50%);width: 0;height: 0;border-left: 12px solid transparent;
        border-right: 12px solid transparent;border-top: 12px solid;color: ${p};}
        .${z.popupCloseBtn} {display: flex;align-items: center;justify-content: center;
        width: 15px;height: 15px;margin-right: 10px;color: ${d};cursor: pointer;}
        .${z.container}.${z.popupAdded} div[class=${this.widgetContainerSelector}] {
        margin-top: -40px;}@media (max-width: 480px) {.${z.popupText} {font-size: 13px;}}`;let k=this.app.context.document.querySelector(`.${z.popupCloseBtn}`);k&&this.app.addEvent(k,"click",()=>{m.classList.add(z.popupClosed),this.app.context?.localStorage.setItem(this.storagePopupCloseTime,String(new Date().getTime()))})}}changeSize(t){let e=t.querySelector(`.${z.popup}`),i=t.querySelector(`.${z.crossButtonContainer}`),s,a=90*1e3,p=new Date().getTime();s=setInterval(()=>{if(new Date().getTime()-p>=a){clearInterval(s),this.app.log(`${this.name}: additional widget didn't load.`);return}let d=t.querySelector(`div[class=${this.widgetContainerSelector}]`);if(d&&d.children.length){let u=d.children[0],m,k;if(u.shadowRoot&&u.shadowRoot.children.length?m=u.shadowRoot.children:u.children.length&&(m=u.children),m?.length&&[].slice.call(m).forEach(I=>{I.getElementsByClassName("mgbox")[0]&&(k=I.getElementsByClassName("mgbox")[0])}),k){clearInterval(s);let I=getComputedStyle(k).width;e&&(e.style.maxWidth=I,e.classList.add(z.popupShowed)),i&&(i.style.maxWidth=I),this.app.context.addEventListener("resize",()=>{e&&(e.style.maxWidth=getComputedStyle(k).width),i&&(i.style.maxWidth=getComputedStyle(k).width)})}}},100)}addingStyles(t){let e=document.createElement("style");e.setAttribute("id","mgAdditionalStyles"),e.appendChild(document.createTextNode(this.styles)),t.appendChild(e)}addingWidget(t){if(this.app.isSingleJS){let e=this.app.getSingleJsController(),i=document.createElement("div"),s=document.createElement("div");s.dataset.type="_mgwidget",s.dataset.widgetId=String(this.widgetId),i.classList.add(this.widgetContainerSelector),i.appendChild(s),t.appendChild(i),e&&e.load()}else new se([{id:this.widgetId,urls:{es5:this.app.widgetParams.WIDGET.widgetPathES5.split(".").map((e,i,s)=>i===s.length-3?this.widgetId:e).join("."),es6:this.app.widgetParams.WIDGET.widgetPathES6.split(".").map((e,i,s)=>i===s.length-3?this.widgetId:e).join(".")},widgetDivId:`M${this.app.widgetParams.WIDGET.widgetClientSiteId}ScriptRootC${this.widgetId}`,searchSelector:`.${z.container}`,insertTo:"into"}],this.app.utils.isSupportES6()?Kt.es6:Kt.es5)}showAdditionalPage(){this.siteBody.classList.remove(z.startedPage),this.siteBody.classList.add(z.additionalPage)}showStartedPage(){this.siteBody.classList.remove(z.additionalPage),this.siteBody.classList.add(z.startedPage)}showRegularPage(){this.siteBody.classList.remove(z.startedPage),this.siteBody.classList.remove(z.additionalPage)}getStartedUrl(){return this.app.context.sessionStorage.getItem(this.storageStartUrl)}setStartedUrl(t){this.app.context.sessionStorage.setItem(this.storageStartUrl,t)}hasStoragePage(t){return(JSON.parse(this.app.context.sessionStorage.getItem(this.storagePagesList))||[]).some(i=>i===t)}setStoragePage(t){let e=JSON.parse(this.app.context.sessionStorage.getItem(this.storagePagesList))||[];e.push(t),this.app.context.sessionStorage.setItem(this.storagePagesList,JSON.stringify(e))}isObject(t){return t!==null&&t.constructor===Object}isIosFBWebview(){let t=this.app.context.navigator.userAgent.toLowerCase();return t.indexOf("apple")>-1&&t.indexOf("iphone")>-1&&t.indexOf("webkit")>-1&&(t.indexOf("fban")>-1||t.indexOf("fbav")>-1)&&t.indexOf("safari")===-1&&t.indexOf("firefox")===-1&&t.indexOf("chrome")===-1}isFBAndroid(){let t=this.app.context.navigator.userAgent||this.app.context.navigator.vendor||this.app.context.opera;return(t.indexOf("FBAN")>-1||t.indexOf("FBAV")>-1)&&t.indexOf("Android")>-1}}});var ns={};K(ns,{MainBlock:()=>We});var We,os=q(()=>{C();B();$();wt();We=class extends G{constructor(t){super(t),this.cappingRealShowTime=0,this.widgetRealShowTime=0,this.name="MainBlock",this.addHook("beforeInitHooks",()=>{this.app.addEvent(this.app.root,"mousemove",e=>{this.app.root.mouseX=e.pageX-this.app.root.offsetLeft,this.app.root.mouseY=e.pageY-this.app.root.offsetTop})}),this.setAppFunctions(),this.addHook("afterPrepareCappingDataHooks",()=>{this.cappingRealShowTime=this.app.getCurrentTimestamp()}),this.addHook("observerWidgetHooks",(e,i)=>{e&&i>=.01&&(this.widgetRealShowTime=this.app.getCurrentTimestamp())}),this.addHook("afterLoadNewsHooks",()=>{this.fixWrongExternalImages(),this.app.widgetParams.WIDGET.type==="header-widget"&&this.fixHeaderWidgetHeight()}),this.addHook("afterInitHooks",this.sendBannerInfoListener),this.addHook("afterPrepareCappingDataHooks",this.renderLazyBanners),this.addHook("afterLoadNewsHooks",this.setAltToImages),this.addHook("afterLoadNewsHooks",this.fixBackfillDomainPlacement)}setAppFunctions(){this.app.extractClass=t=>{if(t&&typeof t.className<"u"){let e=t.className.replace(/\s/g,".").split(".")[0];if(e)return e.replace(`${this.app.widgetParams.WIDGET.id}`,"")}return""},this.app.getCurrentTimestamp=()=>Math.floor(Date.now()/1e3),this.app.prepareNiceHref=(t,e,i)=>{let s,a=this.app.teaserData[t];if(a?.type!=Z.Teaser)return;let p=a;if(a.coopType!=J.InternalExchange&&p.sdl==1){if(s=this.app.clickTracking,p.dl!="")s+=p.dl;else{let d=decodeURIComponent(p.source.replace(/[`|',:\/?;$%&\(\)^*!@\s]/g,"")).toLowerCase(),u=decodeURIComponent(p.title.replace(/[`|',:\/?;$%&\(\)^*!@]/g,"")).replace(/\s/g,"_");s+=this.app.webProtocol+"//"+(d?d+"/":"")+u}this.app.clickTracking&&s.indexOf(this.app.clickTracking)!==-1&&(s=this.app.clickTracking+encodeURIComponent(s.replace(this.app.clickTracking,"")))}else s=this.app.prepareHref(t,e,i);return s},this.app.prepareHref=(t,e,i)=>{let s=this.app.teaserData[t],a=this.app.getQueryParameterByName("dc"),p=this.getClickZone(),d="",u="";if(i&&this.app.context._mgExternalLinkChanger===1){let m=i.search;if(d=i.protocol+"//"+i.hostname+i.pathname,m!=""){m=m.replace("?","");let k=m.split("&");for(let I=0;I<k.length;I++){let T=k[I].split("=");T[0]!="k"&&T[0]!="dc"&&(d+=(I==0?"?":"&")+k[I])}}}else d=this.app.clickTracking+this.app.webProtocol,s?s.link&&(/^http[s]?:/.test(s.link)?d=this.app.clickTracking+s.link:s.coopType==J.InternalExchange?d=this.app.clickTracking+this.app.intExchangeProtocol+s.link:d=this.app.clickTracking+this.app.webProtocol+s.link):d="#";if(this.app.clickableDelay&&this.app.activateDelayBlock&&this.app.activateDelayBlock.isWagesLink(i)&&(u="dc=1"),u=a?"dc="+parseInt(a):u,u=p!==""&&u===""?"dc="+p:u,u!==""&&(d+=(d.indexOf("?")>=0?"&":"?")+u),this.app.transitParamsInit){let m=this.app.getQueryParameterByName("extclckid");m&&/[\&\?]extclckid\=/.test(d)===!1&&(d+=(d.indexOf("?")>=0?"&":"?")+"extclckid="+m)}if(this.app.antifraudBlock?.getAntifraudParams&&s&&s.coopType!=J.InternalExchange&&(d+=this.app.getAntifraudQueryParameter(d,e,i)),s&&s.coopType!=J.InternalExchange&&(this.cappingRealShowTime&&/[\&\?]crst\=/.test(d)===!1&&(d+=(d.indexOf("?")>=0?"&":"?")+"crst="+this.cappingRealShowTime),this.widgetRealShowTime&&/[\&\?]wrst\=/.test(d)===!1&&(d+=(d.indexOf("?")>=0?"&":"?")+"wrst="+this.widgetRealShowTime)),this.app.context.transitType&&/[\&\?]trt\=/.test(d)===!1&&(d+=(d.indexOf("?")>=0?"&":"?")+"trt="+this.app.context.transitType),this.app.clickTracking&&d.indexOf(this.app.clickTracking)!==-1&&(d=this.app.clickTracking+encodeURIComponent(d.replace(this.app.clickTracking,""))),i&&/[\&\?]wct\=/.test(d)===!1&&this.getParameterFromLink(i,"wct")&&(d+=(d.indexOf("?")===-1?"?":"&")+this.getParameterFromLink(i,"wct")),e?.type==="click"){let m=e.target,k="."+this.app.extractClass(m),I=m.tagName;if(I==="A"){let T=m.parentNode;I=T.tagName,k="."+this.app.extractClass(T)}(!s||s.coopType!==J.InternalExchange&&s.coopType!==J.DirectPublisherDemand)&&(d+=(d.indexOf("?")>=0?"&":"?")+"ce="+I+k)}if(s&&s.coopType!==J.InternalExchange&&s.coopType!==J.DirectPublisherDemand){let m=this.app.getMuid();m.length&&d.indexOf("muid")<0&&(d+=(d.indexOf("?")>=0?"&":"?")+"muid="+m)}return this.app.context.transitThrownParams&&this.app.context.transitThrownParams.forEach(m=>{let k=this.app.getQueryParameterByName(m);k&&k.length>0&&(d=this.replaceUrlParam(d,m,k))}),d},this.app.getAntifraudQueryParameter=(t,e,i)=>{let s=this.app.antifraudBlock.getAntifraudParams(e,i);if(s){let a=this.app.id;return(t.indexOf("?")>=0?"&":"?")+"k="+a+"f"+s}return""},this.app.getTranslation=t=>{let e=this.app.widgetParams.GENERAL.translations;return t.search(/^\[\S*\]$/g)===0?e[t]?e[t]:"":t},this.app.getParentLink=t=>{for(;t&&t.tagName!=="BODY";){if(t.tagName==="A")return t;t=t.parentElement}return null},this.app.getParentElWithClass=(t,e)=>{try{for(;t&&t.tagName!=="BODY";){if(t.classList.contains(e))return t;t=t.parentElement}}catch{return null}return null},this.app.findClosest=(t,e)=>{let i;for(;t.parentNode;){i=t.parentNode.querySelectorAll(e);for(let s=0;s<i.length;s++)if(t.isEqualNode(i[s]))return i[s];t=t.parentNode}return null},this.app.htmlToElement=t=>{let e=document.createElement("div");return e.innerHTML=t,e.firstChild},this.app.concatUniqueArray=(t,e)=>t.concat(e.filter(i=>t.indexOf(i)<0)),this.app.getExceptTeasersIds=t=>{let e=Number(this.app.globalSettings?.except_ads_limit)||150,i=this.app.context.document?.mgExceptIds?.[t]||[],s=[],a=[];switch(t){case J.Wages:s=this.app.context._mgExceptAds||[],a=this.app.exceptAdsList;break;case J.InternalExchange:s=this.app.context._mgIntExchangeNews||[];break;case J.Exchange:s=this.app.context._mgExchangeNews||[],a=this.app.exceptExchangeList;break}return s.length&&(a=this.app.concatUniqueArray(a,s)),i.length&&(a=this.app.concatUniqueArray(a,i)),a.length>e&&(a=a.slice(a.length-e)),a},this.app.tox64String=(t,e)=>{e=e||!1;let i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="",a,p,d,u,m,k,I,T=0;for(;T<t.length;)a=t.charCodeAt(T++),p=t.charCodeAt(T++),d=t.charCodeAt(T++),u=a>>2,m=(a&3)<<4|p>>4,k=isNaN(p)?64:(p&15)<<2|d>>6,I=isNaN(d)?64:d&63,s+=i.charAt(u)+i.charAt(m)+i.charAt(k)+i.charAt(I);return e===!0&&(s=s.replace("+","-").replace("/","_").replace("=","*")),s},this.app.hangNiceLinkListener=(t,e)=>{if(this.app.loadedDefault)return;let i=t.getAttribute("data-hash");return this.app.teaserData[i].type==Z.Teaser&&this.app.teaserData[i].sdl&&(this.app.teaserData[i].sdl=0),t[this.app.hrefAttr]=this.app.prepareHref(i,e,t),!0},this.app.eventsHangNiceLinkListener=t=>{t||(t=this.app.context.event);let e=t.target||t.srcElement;e.tagName!="A"&&(e=this.app.getParentLink(e),e===null)||e.hasAttribute("data-hash")&&this.app.hangNiceLinkListener(e,t)},this.app.isHiddenElement=t=>{for(;t.tagName!=="BODY";){if(t.style.position!=="fixed"&&t.offsetParent||t.style.visibility==="hidden"||t.style.display==="none")return!0;t=t.parentNode}return!1},this.app.random=(t,e)=>Math.floor(t+Math.random()*(e-t+1)),this.app.isTouchDevice=()=>"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.maxTouchPoints>0,this.app.getExpectedCountNews=()=>{let t=this.app.widgetParams.WIDGET.countNews,e=JSON.parse(this.app.widgetParams.WIDGET.mobileCountNews);if(this.app.utils.isMobile()&&typeof e.mobile<"u"&&(t=e.mobile),this.app.widgetParams.WIDGET.adblockIntegration&&this.app.adBlockDetect()){for(let i in this.app.childWidgetsData)if(this.app.childWidgetsData.hasOwnProperty(i)&&this.app.childWidgetsData[i].isAdblockChild){t=this.app.childWidgetsData[i].childCountNews;break}}return t},this.app.isPassiveSupported=()=>{if(typeof this.app.passiveIsSupported<"u")return this.app.passiveIsSupported;this.app.passiveIsSupported=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){this.app.passiveIsSupported=!0}}))}catch{}return this.app.passiveIsSupported},this.app.getWidgetValue=(t,e)=>{let i=JSON.parse(this.app.widgetParams.WIDGET.childProperties);return this.app.originalId!==this.app.id&&typeof i[this.app.id]?.[t]<"u"?i[this.app.id][t]:e},this.app.isEnabledDoubleClick=()=>typeof this.app.servicerData.dcb<"u"}fixWrongExternalImages(){let t=this.app.root.getElementsByClassName("mg-wrong-image");if(t.length>0&&this.app.debugBlock.sendData("Wrong external images count: "+t.length),t.length)for(let e=0;e<t.length;e++){let i=t[e],s=i.src;i.src=this.app.blankImage,setTimeout(()=>{let a=i.getBoundingClientRect();i.classList.add("mg-wrongImage"+e),i.src=s,this.app.stylesheetsBlock.add("wrongImage"+e,".mg-wrongImage"+e+" { width: "+a.width+`px !important;
height: `+a.height+`px !important;
object-fit: cover;
-o-object-fit: cover;
object-position: top;
-o-object-position: top;
 }`),this.app.debugBlock.sendData("fixWrongExternalImages. "+JSON.stringify(a))},50)}}fixHeaderWidgetHeight(){let t="M"+this.app.widgetParams.WIDGET.siteId+"ScriptRootC"+this.app.widgetParams.WIDGET.id,e=this.app.context.document.getElementById(t);e||(e=this.app.getRoot()),e&&e.setAttribute("style","min-height:auto !important;")}getClickZone(){let t=JSON.parse(this.app.widgetParams.WIDGET.widgetClickZones);if(t.length===0||!t.top||!t.left||!t.right||!t.bottom)return"";let e=this.app.root.offsetHeight,i=this.app.root.offsetWidth,s=this.app.root.mouseX,a=this.app.root.mouseY,p={top:e/100*t.top,left:i/100*t.left,right:i-i/100*t.right,bottom:e/100*t.bottom},d=a<=p.top?0:a>=p.bottom?2:1,u=s<=p.left?0:s>=p.right?2:1;return[[2,3,4],[5,"",6],[7,8,9]][d][u]}getParameterFromLink(t,e){let i=t?.search;if(i==="")return null;let s=i.replace("?","").split("&");for(let a=0;a<s.length;a++)if(s[a].split("=")[0]===e)return s[a];return null}replaceUrlParam(t,e,i){let s=new RegExp("\\b("+e+"=).*?(&|#|$)");return i===null?t:t.search(s)>=0?t.replace(s,"$1"+i+"$2"):(t=t.replace(/[?#]$/,""),t+(t.indexOf("?")>0?"&":"?")+e+"="+i)}renderLazyBanners(t){this.app.root&&this.app.teaserData[t].type==="banner"&&this.app.renderBanners(!1,this.app.teaserData[t].iteration)}fixBackfillDomainPlacement(){if(typeof this.app.context._mgIsBackfillBanner<"u"){let t=this.app.root.querySelector(".mcdomain");if(!t)return;typeof this.app.context._mgBackfillStyles<"u"&&!this.app.widgetParams.WIDGET.customStylesEnabled?this.app.context._mgBackfillStyles.indexOf(".mcdomain-top")===-1&&this.app.root.querySelector(".mctitle")?.insertAdjacentElement("afterend",t):t.style.display="block"}}setAltToImages(){if(this.app.root){let t=this.app.root.getElementsByTagName("img");for(let e=0;e<t.length;e++)t[e].getAttribute("alt")===null&&t[e].setAttribute("alt","")}}sendBannerInfoListener(){try{this.app.context.addEventListener("message",({data:t})=>{if(t&&t.type==="_mgBannerInfo"){let e=this.app.root.querySelector(`#${t.id}`);if(!e)return;let i=this.app.teaserData[e.dataset.hash],s=Math.round(e.parentElement.getBoundingClientRect().width),a=Math.round(this.app.root.querySelector(".mgbox").getBoundingClientRect().width);if(t.isEmpty&&(e.style.display="none",e.parentElement.style.display="none"),t.height&&(e.style.height=t.height+"px",i.type===Z.Banner)){let p=s>=.95*a&&s<=a?650:this.app.preRenderTeaserSizes[i.iteration-1].height+50;e.style.maxHeight=p+"px"}t.width&&i.type===Z.Banner&&(e.style.width=t.width+"px",e.style.maxWidth=s+"px")}},!1)}catch{}}}});var ps={};K(ps,{ResponseParserBlock:()=>Le});var Le,cs=q(()=>{C();B();$();wt();Le=class extends G{getParsedTeaserData(t,e){let i=this.getServicerTeaser(t),s=(1-parseFloat(i.price)/parseFloat(i.priceold))*100;return s<=1||s>100?(i.priceold="",i.discount=""):i.discount=s?`${Math.floor(s)}%`:"",i.other.i=i.other.i?this.app.htmlEntities(i.other.i):this.app.blankImage,this.app.deviceType!=Nt.Desktop&&(i.other.sdl=0),{type:Z.Teaser,hash:i.hash,id:i.id,source:i.source,title:i.title,desc:i.desc,price:i.price,priceold:i.priceold,discount:i.discount,category:i.other.category,catId:i.other?.catId||null,cta:i.other.cta??"",cdt:i.other.cdt??"",img:i.other.i,link:i.other.l??"",mirror:i.mirror,extd:i.other.extd,coopType:i.other.type??null,mediaType:i.other["media-type"],sdl:i.other.sdl,dl:i.other.dl,clicktrackers:i.other.clicktrackers??[],imp:i.other.imp??[],impt:i.other.impt??[],jst:i.other.jst??[],iteration:e,page:this.app.pagesServicerData.length,cdomain:i.other.cdomain||null,ccid:i.other.ccid||null,ch:i.other.ch||null,isViewed:!1,dsa_link:i.other.dsa_link||null,bidPrice:i.other.b?parseFloat(i.other.b):0}}getServicerTeaser(t){return{source:this.app.htmlEntities(t[0]),id:this.app.htmlEntities(t[1]),title:t[3]?this.app.prepareTitle(t[3]):"",desc:t[4]?this.app.prepareDesc(t[4]):"",mirror:this.app.widgetParams.WIDGET.widgetMirror,key:t[6],price:t[7]?this.app.htmlEntities(t[7]).replace(",00","").replace(new RegExp("[^0-9,]"),""):"",priceold:t[8]?this.app.htmlEntities(t[8]).replace(",00","").replace(new RegExp("[^0-9,]"),""):"",discount:"",other:t[10]?t[10]:{},hash:t[9]}}getParsedBannerData(t,e){(this.app.widgetParams.WIDGET.type==="in-article"&&this.app.widgetParams.WIDGET.autoPlacementStatus!=="off"||this.app.widgetParams.WIDGET.type==="in-article"&&this.app.widgetParams.WIDGET.autoPlacementStatus==="off"&&this.app.widgetParams.WIDGET.subType!=="in-article-carousel-super")&&(t.rs=!0);let s="mgBanner_"+this.app.widgetParams.WIDGET.id+"_"+this.app.pagesServicerData.length+"_"+e;return{type:Z.Banner,id:s,hash:t.h,coopType:J.Wages,imp:t.imp??[],page:this.app.pagesServicerData.length,iteration:e,impt:t.impt??[],jst:t.jst??[],html:t.html,width:t.width??0,height:t.height??0,rs:t.rs??!1,useSecureIframe:!1,clickUrl:t.clickUrl,isViewed:!1}}getCustomBannerData(t,e){e===1&&(this.app.widgetCappingEnabled=!0),this.app.consentDataParams&&(typeof this.app.consentDataParams.gdpr<"u"&&typeof this.app.consentDataParams.gdpr_consent<"u"&&(t=t.replace(/\${GDPR}/g,String(this.app.consentDataParams.gdpr)).replace(/\${GDPR_CONSENT}/g,this.app.consentDataParams.gdpr_consent)),typeof this.app.consentDataParams.us_privacy<"u"&&(t=t.replace(/\${CCPA}/g,this.app.consentDataParams.us_privacy)));let i="mgBanner_"+this.app.widgetParams.WIDGET.id+"_"+this.app.pagesServicerData.length+"_"+e;return{type:Z.Banner,hash:"",coopType:J.Wages,imp:[],page:this.app.pagesServicerData.length,iteration:e,impt:[],jst:[],html:t,id:i,width:0,height:0,rs:!1,useSecureIframe:!this.app.widgetParams.WIDGET.disableBannerSafeframe,clickUrl:"",isViewed:!1,isCustomBanner:!0}}getParsedGptData(t,e){let i=this.app.getWidgetValue("gptOptions",null);i&&(this.app.gptOptions=i);let s="mgGpt_"+this.app.widgetParams.WIDGET.id+"_"+this.app.pagesServicerData.length+"_"+e,a=Object.keys(this.app.preRenderTeaserSizes).filter(u=>this.app.preRenderTeaserSizes[u].position===e).map(u=>this.app.preRenderTeaserSizes[u])[0],p=t?.price?this.formatPrice(t.price):null,d=this.app.gptOptions?.price?"d"+this.formatPrice(this.app.gptOptions.price):null;return e===1&&(this.app.widgetCappingEnabled=!0),{id:s,type:Z.Gpt,hash:"",coopType:J.Wages,page:this.app.pagesServicerData.length,iteration:e,imp:[],impt:[],jst:[],width:a?.width||0,height:a?.height||0,afrd:this.app.servicerData.afrd||0,divId:this.app.gptOptions.divId,slot:this.app.gptOptions.slot,lazy:this.app.gptOptions?.lazy||null,backfill:this.app.gptOptions?.backfill||null,lineItemFlow:this.app.gptOptions?.lineItemFlow||!1,isRendered:!1,isViewed:!1,slotPrice:p||d,loadAfterActivity:this.app.gptOptions?.loadAfterActivity||!1,loggingEnabled:this.app.gptOptions?.loggingEnabled||!1,refreshTime:this.app.gptOptions?.refreshTime||null,loadBackfillImmediately:this.app.gptOptions?.loadBackfillImmediately||!1,googleLazyEnabled:this.app.gptOptions?.googleLazyEnabled||!1,googleLazyOptions:this.app.gptOptions?.googleLazyOptions||null}}getAdUnitsFromJson(t){let e=[];return Array.isArray(t)&&t.forEach((i,s)=>{let a=s+1;if("gpt"in i){let p=this.getParsedGptData(i,a);e.push(p)}else if("html"in i){let p=this.getParsedBannerData(i,a);e.push(p)}else if(this.app.customBanners[this.app.id]?.[a]?.length>0){let p=this.getCustomBannerData(this.app.customBanners[this.app.id][a],a);e.push(p)}else{let p=this.getParsedTeaserData(i,a);e.push(p)}}),e}fillAdUnitsData(t){t.forEach(e=>{switch(e.type){case Z.Teaser:this.fillTeaserData(e);break;case Z.Banner:this.fillBannerData(e);break;case Z.Gpt:this.fillGptData(e);break}})}fillTeaserData(t){this.app.teaserData[t.hash]=t,t.coopType===J.InternalExchange&&this.app.context._mgIntExchangeNews.indexOf(t.id)===-1&&this.app.context._mgIntExchangeNews.push(t.id),t.coopType===J.Wages&&t.extd!==1&&this.app.exceptAdsList.indexOf(t.id)===-1&&this.app.exceptAdsList.push(t.id),t.coopType===J.Exchange&&this.app.exceptExchangeList.indexOf(t.id)===-1&&this.app.exceptExchangeList.push(t.id)}fillBannerData(t){this.app.teaserData[t.hash||t.id]=t,this.app.banners[t.id]=t}fillGptData(t){this.app.teaserData[t.id]=t}formatPrice(t){return parseFloat(String(t)).toFixed(2)}}});var hs={};K(hs,{CookieBlock:()=>Ae});var Ae,ls=q(()=>{C();B();$();Ae=class extends G{constructor(t){super(t),this.name="CookieBlock",this.cookieStorage={},this.sharedCookieStorage={},this.storageName=this.app.widgetParams.WIDGET.cookieStoragePrefix+"Storage"+(this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"PageOffset"]?this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"PageOffset"]:"")}getCookieValue(){if(this.app.widgetParams.WIDGET.disableCookies)return{};try{let t=this.app.context.document.cookie?.match(new RegExp("(?:^|; )"+this.storageName+"=([^;]*)")),e={};return t&&(e=JSON.parse(decodeURIComponent(t[1]))),e}catch{}}getCookie(){let t=this.getCookieValue();typeof t["C"+this.app.widgetParams.WIDGET.id]<"u"?this.cookieStorage=t["C"+this.app.widgetParams.WIDGET.id]:this.cookieStorage={},typeof t[0]<"u"?this.sharedCookieStorage=t[0]:this.sharedCookieStorage={}}setCookie(t){if(!this.app.widgetParams.WIDGET.disableCookies){let e=t||new Date(new Date().setFullYear(new Date().getFullYear()+1)).toUTCString(),i=this.app.isAmp()?";domain=.ampproject.net;expires="+e+";SameSite=None;Secure":";path=/",s=this.getCookieValue();s["C"+this.app.widgetParams.WIDGET.id]=this.cookieStorage,s[0]=this.sharedCookieStorage;try{let a=encodeURIComponent(JSON.stringify(s));this.app.context.document.cookie=this.storageName+"="+a+i}catch{}}}}});var ds={};K(ds,{StylesheetsBlock:()=>_e});var _e,ms=q(()=>{C();B();$();_e=class extends G{constructor(t){super(t),this.name="StylesheetsBlock",this.isIE=typeof Proxy>"u",this.stylesDom={},this.isIE||(this.stylesDom=new Proxy(this.stylesDom,{set:(e,i,s)=>{let a=s.container,p=s.style;return e[i]&&delete this.stylesDom[i],this.inject(p,i,a),e[i]=s,!0},has:(e,i)=>this.app.root.querySelector("style#"+i)===null&&typeof e[i]<"u"?!1:typeof e[i]<"u",deleteProperty:(e,i)=>(this.removeFromDom(i),delete e[i],!0)}))}add(t,e,i=null){t+="_"+this.app.uniqId,!(!this.isIE&&typeof i>"u"&&t in this.stylesDom)&&(e=e.replace(/((@media|@supports not) \([^(]*\) {)/g,"$1}"),e=e.replace(/((?:^|}|,|;)\W*)((?:\w+)?\.(?:mc|mg|row)[\-\w]+)/g,"$1"+this.app.getMainCssSelector()+" $2"),e=e.replace(/(((@media|@supports not) \([^(]*\) \{)\})/g,"$2"),e=e.replace(/video-cdn\.(.+)\/mgPlayer/g,this.app.currentSubnetDomain),e.length&&(this.isIE?(this.removeFromDom(t),this.inject(e,t,i)):this.stylesDom[t]={style:e,container:i}))}remove(t){t+="_"+this.app.uniqId,!this.isIE&&t in this.stylesDom?delete this.stylesDom[t]:this.removeFromDom(t)}removeFromDom(t){let e=this.app.root.querySelector("#"+t);e&&e.parentNode.removeChild(e)}inject(t,e,i){if(i){let s=i;if(s.className=this.app.widgetParams.WIDGET.modulePrefix+this.app.widgetParams.WIDGET.id,s.styleSheet)s.styleSheet.cssText=t;else{for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(this.app.context.document.createTextNode(t))}}else{let s=this.app.context.document.createElement("style");s.setAttribute("id",e),s.className=this.app.widgetParams.WIDGET.modulePrefix+this.app.widgetParams.WIDGET.id,s.type="text/css",(typeof this.app.realRoot<"u"?this.app.realRoot:this.app.root).appendChild(s),s.styleSheet?s.styleSheet.cssText=t:s.appendChild(this.app.context.document.createTextNode(t))}}}});var us={};K(us,{AdvertLinkBlock:()=>Ge,AdvertLinkSettings:()=>qt});var qt,Ge,xs=q(()=>{C();B();$();(function(w){w[w.Off=0]="Off",w[w.LogoAndTitle=1]="LogoAndTitle",w[w.OnlyTitle=2]="OnlyTitle",w[w.OnlyLogo=3]="OnlyLogo"})(qt||(qt={}));Ge=class extends G{constructor(t){super(t),this.name="AdvertLinkBlock",this.addHook("beforeLoadNewsHooks",this.refreshAdvertLink)}parseAdvertLink(t){let e="<!--advertPrefix-->",i=t.indexOf(e)>t.length/2;return i&&this.removeElements(this.app.root.getElementsByClassName("mg_addad"+this.app.id)),(i||this.app.countLoadBlocks===0)&&(t.indexOf(e)>=0?t=t.replace(e,this.app.tickerPrefix):t=this.app.tickerPrefix+t),t}refreshAdvertLink(){let t=this.getAdvertLinkValue(),e=!1,i=this.app.widgetParams.WIDGET.adBlockChangeStyles;if(this.app.widgetParams.WIDGET.adblockIntegration&&(e=this.app.adBlockDetect()),t||e&&i)try{let s=this.getAdLinkBlock()?.replace(/%id/g,String(this.app.id)),a="";e?a=this.app.getTranslation("[WIDGET_TITLE_PROMOTED_CONTENT]"):a=this.app.getTranslation(this.app.widgetParams.WIDGET.widgetTitle);let p=navigator.language.substr(0,2),d=this.app.widgetParams.WIDGET.availableLangs.indexOf(p)!==-1?p:"";this.app.widgetParams.WIDGET.useConstructor&&(a=this.app.context.widgetConstructor.getWidgetTitle()),s=s.replace("%WIDGET_TITLE%",a),s=s.replace("%lang/",d.length?d+"/":""),s=s.replace(/\((\'|\")?\/\//g,"($1"+this.app.webProtocol+"//"),s=s.replace('src="//','src="'+this.app.webProtocol+"//"),s=s.replace('href="//','href="'+this.app.webProtocol+"//");let u=this.app.widgetParams.WIDGET.adLinkHref;if(!u.length){u=this.app.subnetMirrorsUtm;let k=this.app.context.document.location?.hostname;if(this.app.context!==this.app.context.top){let I=this.app.context.document.referrer?.match(/:\/\/(.[^/]+)/);I!==null&&(k=I[1])}u=u.replace("{domain}",k)}this.app.tickerPrefix=s.replace(/%utm/,u);let m=document.createElement("div");if(e&&i)m.innerHTML=this.app.tickerPrefix;else{if(t===qt.LogoAndTitle)return;m.innerHTML=this.app.tickerPrefix,t===qt.OnlyTitle&&this.removeElements(m.getElementsByClassName("mg_addad"+this.app.id)),t===qt.OnlyLogo&&(this.removeElements(m.getElementsByClassName("mghead")),this.removeElements(m.getElementsByClassName("mghead"+this.app.id)))}this.app.tickerPrefix=m.innerHTML}catch{}else this.app.tickerPrefix=""}getAdvertLinkValue(){return Number(this.app.widgetParams.WIDGET.adLink)}removeElements(t){for(let e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e])}getAdLinkBlock(){let t=this.app.widgetParams.WIDGET.useConstructor?this.app.context.widgetConstructor.getWidgetType():this.app.widgetParams.WIDGET.type,e=this.app.widgetParams.WIDGET.useConstructor?this.app.context.widgetConstructor.getWidgetSubType():this.app.widgetParams.WIDGET.subType,i=this.app.widgetParams.WIDGET.widgetMirror,s=this.app.widgetParams.ASSETS.customAdLinkConfig;typeof s<"u"&&typeof s[t]<"u"&&(typeof s[t]["*"]<"u"&&(i=s[t]["*"]),typeof s[t][e]<"u"&&(i=s[t][e]));let a=this.app.widgetParams.ASSETS.adLinkBlock;return typeof a[i]>"u"&&(i=this.app.widgetParams.WIDGET.widgetMirror),a[i]}}});var gs={};K(gs,{SendDimensionsBlock:()=>Re});var Oe,Re,fs=q(()=>{C();B();$();wt();Oe={title:"Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum",domain:"Lorem ipsum dolor",description:"Lorem ipsum dolor sit amet Lorem ipsum"},Re=class extends G{constructor(t){super(t),this.childMarginFixPixels=1,this.adblockMinWidgetWidth=500,this.adblockMaxPercentage=0,this.bannerWidth=300,this.bannerHeight=250,this.bannerMinHeight=220,this.name="SendDimensionsBlock",this.isAdblock=this.app.widgetParams.WIDGET.adblockIntegration&&this.app.adBlockDetect(),this.isBannerMacros=this.app.templateText.indexOf("$banner")!==-1||this.app.templateText.indexOf('data-template-schema="banner"')!==-1,this.isBannerAllowed=this.app.widgetParams.WIDGET.bannersEnabled&&this.isBannerMacros&&!this.isAdblock,this.bannerStretchHeight=this.app.utils.isMobile()?280:this.bannerHeight,this.storageKey=`${(this.isAdblock?"_mgAdbDimsData":"_mgDimsData")+this.app.widgetParams.WIDGET.id}`,this.isShowedUpFormat=this.app.widgetParams.WIDGET.popup||["mobile-widget","in-site-notification","passage","interstitial"].indexOf(this.app.widgetParams.WIDGET.type)!==-1,this.isPlaceReservation=this.app.widgetParams.WIDGET.usePlaceReservation&&!this.isShowedUpFormat,this.styleAppliedPromise=new Promise(e=>{this.styleAppliedResolver=e}),this.checkStorageDimsData(),this.checkStylesApplied()}waitForStyleApplied(){return this.styleAppliedPromise}checkStylesApplied(){let t,e=null,i=()=>{if(e=this.app.root.getElementsByClassName("mgbox")[0],e&&this.app.context.getComputedStyle(e).textAlign==="center"){clearInterval(t),this.styleAppliedResolver();return}};i(),t=setInterval(()=>{i()},50)}calcPreRenderingBlock(){this.app.precalcRect={},this.app.preRenderTeaserSizes={},this.app.preRenderImageSizes={},this.teasers=[].slice.call(this.app.root.getElementsByClassName("mgline")),this.isAdblock&&this.reformatForAdblock(),typeof this.app.iframeSizeChangerBlock?.initIframeSizeChange=="function"&&this.app.iframeSizeChangerBlock.initIframeSizeChange();let t=this.app.root.getBoundingClientRect();this.app.precalcRect.width=Math.ceil(t.width?t.width:t.right-t.left),this.app.precalcRect.height=Math.ceil(t.height?t.height:t.bottom-t.top)-this.childMarginFixPixels,this.app.requestParams.w=this.app.precalcRect.width,this.app.requestParams.h=this.app.precalcRect.height;for(let e=0;e<this.teasers.length;e++){let i=e+1,s=this.teasers[e];this.calcPrerenderTeaserSizes(s,i)}if(this.isBannerAllowed){let e=Object.keys(this.app.preRenderTeaserSizes).map(p=>this.app.preRenderTeaserSizes[p]);e.every(p=>p.height>=this.bannerHeight&&p.width>=this.bannerWidth)&&(this.app.requestParams.ident_p=!0);let i=e.reduce((p,d)=>{let u=`${d.width}x${d.height}`,m=p[u]||[];return{...p,[u]:[...m,d.position]}},{});this.app.requestParams.sz=Object.keys(i).join(";"),this.app.requestParams.szp=Object.keys(i).map(p=>i[p]).join(";");let s=e[0].top,a=e.reduce((p,d)=>{let u=d.top+(s<0?-s:0),m=p[u]||[];return{...p,[u]:[...m,d.position]}},{});this.app.requestParams.szl=Object.keys(a).map(p=>a[p]).join(";")}this.updateStorageDimsData(),this.cleanAfterPrerender(),this.performAfterPrerender()}cleanAfterPrerender(){this.app.root=this.app.realRoot;let t="preRenderingBlock"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId,e=this.app.root;this.app.root.parentNode.id===t&&this.app.root.parentNode.parentNode!=null&&(e=this.app.root.parentNode.parentNode),e.querySelector("#"+t)!==null&&e.removeChild(e.querySelector("#"+t)),this.app.loadedType="",this.app.currentSubnet=null,this.app.countLoadBlocks=this.app.countLoadBlocksContainer,this.app.template="",delete this.app.teaserData[""]}performAfterPrerender(){this.app.root.style.overflow="visible",this.app.root.style.visibility="visible",this.isPlaceReservation&&(this.app.root.style.width=this.app.precalcRect.width+"px",this.app.root.style.height=this.app.precalcRect.height+"px"),this.addHook("afterLoadNewsHooks",()=>{this.app.widgetParams.WIDGET.type==="banner"&&Math.ceil(this.app.root.querySelector(".mgbox")?.getBoundingClientRect().width)>this.app.precalcRect.width&&(this.app.root.style.overflow="hidden"),this.isPlaceReservation&&(this.app.root.style.width="auto",this.app.root.style.height="auto"),this.adblockMaxPercentage>0&&this.changeWidgetWidth()})}checkStorageDimsData(){try{if(this.app.context.localStorage){let t=null,e=this.app.getLct(1728239065),i=V.widgetBuilder,s=Math.ceil(this.app.getRoot().getBoundingClientRect().width),a=JSON.parse(this.app.context.localStorage.getItem(this.storageKey)||"[]").filter(p=>p.rootWidth===s?p.lct===e&&p.hashCommit===i?(t=p,!0):!1:!0);t&&(this.app.precalcRect=t.precalcRect,this.app.preRenderTeaserSizes=t.preRenderTeaserSizes,this.app.preRenderImageSizes=t.preRenderImageSizes,t.adblockMaxPercentage&&(this.adblockMaxPercentage=t.adblockMaxPercentage),Object.keys(t.requestParams).forEach(p=>{this.app.requestParams[p]=t.requestParams[p]}),this.addHook("beforeInitHooks",this.performAfterPrerender)),this.app.context.localStorage.setItem(this.storageKey,JSON.stringify(a))}}catch{}}updateStorageDimsData(){let t=["w","h","ident_p","sz","szp","szl","limitads"],e={};e.requestParams={},e.precalcRect=this.app.precalcRect,e.preRenderTeaserSizes=this.app.preRenderTeaserSizes,e.preRenderImageSizes=this.app.preRenderImageSizes,e.lct=this.app.getLct(1728239065),e.hashCommit=V.widgetBuilder,e.rootWidth=Math.ceil(this.app.getRoot().getBoundingClientRect().width),this.adblockMaxPercentage>0&&(e.adblockMaxPercentage=this.adblockMaxPercentage),Object.keys(this.app.requestParams).forEach(i=>{t.indexOf(i)!==-1&&(e.requestParams[i]=this.app.requestParams[i])});try{if(this.app.context.localStorage){let i=JSON.parse(this.app.context.localStorage.getItem(this.storageKey)||"[]");i.push(e),this.app.context.localStorage.setItem(this.storageKey,JSON.stringify(i))}}catch{}}preparePrerenderData(t){let e=this.app.context.document.createElement("div"),i=this.app.context.document.createElement("div"),s=t||this.app.getExpectedCountNews(),a=[],p="preRenderingBlock"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId;if(e.id=p,e.style.visibility="hidden",i.id=this.app.root.id,i.style.padding=`${this.childMarginFixPixels}px 0 0 0`,i.style.margin=`-${this.childMarginFixPixels}px auto 0 auto`,e.appendChild(i),this.app.loadedType="goods",this.app.currentSubnet=0,this.app.realRoot=this.app.root,this.app.countLoadBlocksContainer=this.app.countLoadBlocks,this.app.root.appendChild(e),this.app.root=i,this.isShowedUpFormat&&this.app.widgetParams.WIDGET.type!=="mobile-widget"){let d=`#${p} {position: fixed;bottom: -150%;left: -150%;width: 100%;
        opacity: 0;}#${p} div.mgbox {position: relative !important;}`;this.app.stylesheetsBlock.add("preRender",d),this.app.widgetParams.WIDGET.popup&&(this.app.widgetParams.WIDGET.type==="mobile-exit"?this.app.mobileExitBlock.updateWrapperWidth(e):this.app.popupBlock.updateWrapperStyles(e))}for(let d=1;d<=s;d++)a.push({type:Z.Teaser,coopType:J.Wages,hash:"",id:d.toString(),source:Oe.domain,title:Oe.title,desc:Oe.description,img:this.app.blankImage,price:"",priceold:"",discount:"",iteration:d,imp:[],impt:[],clicktrackers:[],jst:[],category:"",catId:null,cdt:"",cta:"",dl:"",extd:0,link:"",mediaType:"",mirror:"",page:1,sdl:0,dsa_link:null,bidPrice:0});return this.app.teaserData[""]=a[0],a}prerenderNews(t){if(this.app.root&&t){this.app.fallbackMode&&this.app.countLoadBlocks===0&&(this.app.root.innerHTML=""),this.app.advertLinkBlock.refreshAdvertLink(),t=this.app.advertLinkBlock.parseAdvertLink(t),this.addPreRenderTemplate(t);let e=this.app.root.getElementsByTagName("a");for(let i=0;i<e.length;i++)e[i].rel="sponsored nofollow noopener"}}addPreRenderTemplate(t){this.app.root.insertAdjacentHTML("beforeend",this.app.preTemplate+t+this.app.postTemplate)}calcPrerenderTeaserSizes(t,e){let i=t.getBoundingClientRect(),s=Math.ceil(t?.clientHeight||(i.height?i.height:i.bottom-i.top)),a=Math.ceil(t?.clientWidth||(i.width?i.width:i.right-i.left)),p=t.querySelector("img.mcimg");if(p&&this.calcPrerenderImageSizes(p,e),this.isNeedRecalcTeaserHeight(a,s,e)){let d=!1;this.teasers[e-1].innerHTML=`<div style="min-width: ${this.bannerWidth}px; min-height: ${this.bannerStretchHeight}px;"></div>`;let u=this.teasers[e-1].getBoundingClientRect(),m=this.app.root.getBoundingClientRect();if(u.width>=this.bannerWidth&&u.height>=this.bannerStretchHeight){d=!0;let k=this.app.root.parentNode;for(;k&&typeof k.tagName<"u"&&k.tagName!=="BODY";){let I=k.getBoundingClientRect();if(I.width<m.width||I.height<m.height){d=!1;break}else k=k.parentNode}}d&&(s=this.bannerStretchHeight)}this.app.preRenderTeaserSizes[e-1]={height:s,width:a,position:e,top:Math.floor(i.top)}}isNeedRecalcTeaserHeight(t,e,i){return this.isBannerAllowed&&t>=this.bannerWidth&&e>=this.bannerMinHeight&&e<this.bannerStretchHeight}calcPrerenderImageSizes(t,e){let i=t.getBoundingClientRect();if(i.height===0||i.width===0){let s="#preRenderingBlock"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId;if(this.app.realRoot.querySelector(s)!==null){let a=this.app.realRoot.querySelector(s);a.style.clear="both",i=t.getBoundingClientRect()}}this.app.preRenderImageSizes[e-1]={height:i.height,width:i.width}}reformatForAdblock(){if(this.app.utils.isMobile()){for(let t=this.teasers.length;t>1;t--){let e=this.teasers[t-1];if(this.app.root.getBoundingClientRect().height>this.app.context.screen.height&&e&&e.parentNode)e.parentNode.removeChild(e);else break}this.teasers=[].slice.call(this.app.root.getElementsByClassName("mgline")),this.app.requestParams.limitads=this.teasers.length}else{let t="",e=0;for(let i in this.app.childWidgetsData)if(this.app.childWidgetsData.hasOwnProperty(i)&&this.app.childWidgetsData[i].isAdblockChild){t=this.app.childWidgetsData[i].childSubtype;break}t==="under-article-widget-adblock"||t==="in-article-adblock"?e=25:t==="header-widget-adblock"&&(e=15),t&&t.indexOf("adblock")!==-1&&e>0&&(this.adblockMaxPercentage=e)}}changeWidgetWidth(){let t=this.app.root.querySelector(".mgbox"),e=t.offsetWidth,i=t.offsetHeight,s=e*i,a=this.app.context.innerWidth*this.app.context.innerHeight;if(s/a*100>this.adblockMaxPercentage&&e>this.adblockMinWidgetWidth){let d=a*this.adblockMaxPercentage/100,u=s-d,m=e-e*(u/s/2),k=m>=this.adblockMinWidgetWidth?Math.floor(m):this.adblockMinWidgetWidth;t.style.maxWidth=k+"px"}}}});var ws={};K(ws,{InternalExchangeBlock:()=>He});var He,bs=q(()=>{C();B();$();wt();He=class extends G{constructor(t){super(t),this.name="InternalExchangeBlock",this.addHook("afterLoadNewsHooks",this.initIntExchangeLabels)}initIntExchangeLabels(){if(this.app.enabledCooperationTypes.indexOf("int_exchange")===-1&&[gt.IM,gt.AK].indexOf(this.app.currentSubnet)===-1)return;let t=this.getComments(this.app.root),e=this.app.root.getElementsByClassName("type-w");if(!(this.app.currentSubnet===gt.IM&&this.app.enabledCooperationTypes.indexOf("wages")!==-1&&this.app.enabledCooperationTypes.length===1&&e.length===t.length))for(let i=0;i<t.length;i++){let s=t[i],a=this.app.findClosest(s,".mgline");if(!a||a.className.indexOf("type-w")===-1)continue;let p=this.app.context.document.createElement("IMG");p.setAttribute("height","20"),p.setAttribute("width","20"),p.setAttribute("alt",""),s.data==="intExchangeWagesImagePlace"&&(p.className="mcimgad",this.app.widgetParams.WIDGET.currentSubnet===gt.IM?(p.src=this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.cdnDomain+"/images/"+this.app.widgetParams.WIDGET.cdnDomain.split(".")[1]+"/int_exchange_wages_ad.svg",p.style.maxWidth="20px"):p.src=this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.cdnDomain+"/images/"+this.app.widgetParams.WIDGET.projectName+"/int_exchange_wages_ad.svg");let d=a.querySelector("a"),u=d["data-hash"]||d.getAttribute("data-hash");u&&this.app.teaserData[u]&&this.app.teaserData[u].source&&s.data==="intExhangeWagesSourcePlace"&&(p.className="mcimgsrc",p.src=this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.cdnDomain+"/images/"+this.app.widgetParams.WIDGET.projectName+"/int_exchange_wages_src.svg"),p.src&&s.parentNode.replaceChild(p,s)}}getComments(t){let e=[],i=[t];for(;i.length>0;){let s=i.pop();for(let a=0;a<s.childNodes.length;a++){let p=s.childNodes[a];p.nodeType===Node.COMMENT_NODE?e.push(p):i.push(p)}}return e}}});var vs={};K(vs,{InternalExchangeLoggerBlock:()=>Me});var Me,ks=q(()=>{C();B();$();wt();Me=class extends G{constructor(t){super(t),this.name="InternalExchangeLoggerBlock",this.app.internalExchangeLoggerHandler=this.clickHandler.bind(this),this.addHook("afterLoadNewsHooks",this.init)}init(){this.app.addClickHandler(this.app.clickHandlerList.internalExchangeLogger.handler,this.app.clickHandlerList.internalExchangeLogger.priority)}clickHandler(t,e){if(typeof e.button<"u"&&e.button!==0)return!0;let i=t.getAttribute("data-hash"),s=this.app.teaserData[i];if(s&&s.coopType==J.InternalExchange){let a={};a.cid=`cid=${this.app.id}`,a.tid=`tid=${s.id}`,a.h=`h=${i}`,typeof this.app.servicerData.isBot<"u"&&(a.bot=`bot=${this.app.servicerData.isBot}`),typeof this.app.servicerData.tt<"u"&&(a.tt=`tt=${this.app.servicerData.tt}`),typeof this.app.servicerData.ts<"u"&&(a.ts=`ts=${this.app.servicerData.ts}`),typeof this.app.servicerData.psid<"u"&&(a.psid=`psid=${this.app.servicerData.psid}`),typeof this.app.servicerData.dt<"u"&&(a.dt=`dt=${this.app.servicerData.dt}`);let p=t.parentElement.tagName,d="."+this.app.extractClass(t.parentElement);a.ce=`ce=${p}${d}`,this.app.request.pixel("internalExchangeLogger",this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.countersDomain+"/clie",a,{})}return!0}}});var ys={};K(ys,{RefreshTeaserAfterClickBlock:()=>Ne});var Ne,Is=q(()=>{C();B();$();wt();Ne=class extends G{constructor(t){super(t),this.name="RefreshTeaserAfterClickBlock",this.addHook("afterLoadNewsHooks",this.init)}init(){this.app.getWidgetValue("refreshTeaserAfterClick",this.app.widgetParams.WIDGET.refreshTeaserAfterClick)&&typeof this.app.refreshNewsHandler>"u"&&(this.app.refreshNewsHandler=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.refreshNews.handler,this.app.clickHandlerList.refreshNews.priority))}onClick(t,e){if(typeof e.button<"u"&&e.button!==0)return!0;let i=t.getAttribute("data-hash"),s=this.app.teaserData[i];return s&&s.type===Z.Teaser&&(s.coopType===J.Wages&&s.extd!==1||s.coopType===J.Exchange)&&(this.app.refreshedElement=this.findParentMgline(t),this.app.requestParams.limitads=1,this.app.requestParams.pos=s.iteration,this.app.collectExceptParams(),this.app.injectScript(!1,1)),!0}findParentMgline(t){for(;(t=t.parentElement)&&!t.classList.contains("mgline"););return t}}});var Ps={};K(Ps,{IframeSizeChangerBlock:()=>Ve});var Ve,Ss=q(()=>{C();B();$();Fe();Ve=class extends G{constructor(t){super(t),this.name="IframeSizeChangerBlock",this.addHook("afterLoadNewsHooks",this.initIframeSizeChange)}initIframeSizeChange(){let t=null;try{if(this.app.widgetParams.WIDGET.changeIframeSize&&(t=this.app.context.parent.document.getElementById("google_ads_iframe_"+this.app.context.name)),t||(t=this.app.context.parent.document.getElementById(this.app.context.name)),t)try{let e=this.app.context.parent.document.getElementById(t.name+"__container__").parentNode;e.style.width="initial",e.style.height="initial"}catch{}}catch{this.app.log("SafeFrame. Checking for support..."),this.isSafeFrameSupported()&&this.isSafeFrameAllowedPush()?(this.app.log("SafeFrame. Supported"),this.safeFrameRegister(),this.safeFrameExpand()):this.app.log("SafeFrame. Unsupported!");return}if(t){if(this.app.widgetParams.WIDGET.changeIframeSize){if(this.app.lifeCycleBlock.stage===Ut.Init){let e=this.app.root.getBoundingClientRect(),s=Math.round(this.app.root.getBoundingClientRect().height)+40;t.width=this.app.context.parent.innerWidth-e.left*2+"px",t.height=s+"px"}else t.width=this.app.precalcRect.width+"px",t.height=this.app.precalcRect.height+"px";this.app.widgetParams.WIDGET.dfpWidth!==0&&(t.width=this.app.widgetParams.WIDGET.dfpWidth+"px"),this.app.widgetParams.WIDGET.dfpHeight!==0&&(t.height=this.app.widgetParams.WIDGET.dfpHeight+"px")}else if(this.app.widgetParams.WIDGET.iframe!==""){let e=this.app.widgetParams.WIDGET.iframe.split("*");typeof e[0]<"u"&&(t.width=e[0]+"px"),typeof e[1]<"u"&&(t.height=e[1]+"px")}}}isSafeFrameSupported(){return typeof this.app.context.$sf<"u"}isSafeFrameAllowedPush(){return this.app.context.$sf.ext.supports()["exp-push"]}safeFrameExpand(){this.app.log("SafeFrame. Expanding...");let t=this.app.context.$sf.ext.geom().exp,e={push:!0,t:t.t,l:t.l,r:t.r,b:t.b};this.app.context.$sf.ext.expand(e)}safeFrameRegister(){this.app.log("SafeFrame. Register..."),this.app.context.$sf.ext.register(300,250,(t,e)=>{this.app.log("SafeFrame. "+t+"; "+JSON.stringify(e))})}}});var Ts={};K(Ts,{RejectBlock:()=>qe});var qe,Ds=q(()=>{C();B();$();qe=class extends G{constructor(t){super(t),this.isRejectNeeded=!1,this.name="RejectBlock",this.app.isInsertedRejectStyles=!1,this.app[this.app.widgetParams.WIDGET.informerPrefix+"Reject"]=()=>{this.isRejectNeeded=!0},this.addHook("afterLoadNewsHooks",this.initReject)}initReject(){this.isRejectNeeded&&this.reject()}reject(){let t=this.app.root.querySelectorAll(".mgline");for(let e=0;e<t.length;e++){let i=t[e],s=i.querySelector(".close-informer"),a=i.querySelector("div.mcimg"),p=i.className.match(/teaser-([0-9]+)/),d=i.className.match(/type-(w|e|i)/);if(!s&&a&&i.className.indexOf("dsp")<=0&&p&&d&&d[1]!=="i"){let m=this.buildCloseBtn(p,d);this.app.widgetParams.WIDGET.type==="in-site-notification"?i.querySelector(".image-container")?.appendChild(m):this.app.widgetParams.WIDGET.subType==="in-article-card-media"||this.app.widgetParams.WIDGET.subType==="under-article-widget-card-media"?i.querySelector(".mgline-inner")?.appendChild(m):i.querySelector(".image-with-text")?.appendChild(m)}}this.initRejectStyles()}buildCloseBtn(t,e){let i=this.app.subnetDashboardDomain+"/publisher/blocked",s=this.app.context.document.createElement("a");return s.className="close-informer",s.href=i+"/teaser/"+t[1]+"/widget/"+(e[1]==="w"?this.app.widgetParams.WIDGET.goodsPartUid+"/type/goods":this.app.widgetParams.WIDGET.newsPartUid+"/type/news"),s.target="_blank",s.style.top="2px",s.style.right="3px",this.app.widgetParams.WIDGET.noFollow&&(s.rel="sponsored nofollow"),s}initRejectStyles(){if(this.app.isInsertedRejectStyles)return;this.app.stylesheetsBlock.add("reject",`
div.mgline a.close-informer {
width: 14px !important;
height: 14px !important;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5NzI0ODBDMzY3ODcxMUU1OEM4RUU2RUJCOUREODIyQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5NzI0ODBDNDY3ODcxMUU1OEM4RUU2RUJCOUREODIyQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjk3MjQ4MEMxNjc4NzExRTU4QzhFRTZFQkI5REQ4MjJCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjk3MjQ4MEMyNjc4NzExRTU4QzhFRTZFQkI5REQ4MjJCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+uNcpEQAAAHxJREFUeNqckgEKwCAIRe3fYjfKc2zX6hydaLRbbDnGkLDIPggl/5lKIcbIRJRqbDSnUmOHE6LPm+CEfhj6lnN+o5WVh1VOm6xColCXc/cgLWYev9gaejnQojCab5RDzyDt6RantqoBaz5zq54ZywJ3CXjIwQGd8skfAQYALdQqftYulocAAAAASUVORK5CYIJ0ZW50Ij4NCiA8ZGl2IGNsYXNzPSJjb250ZW50LWNvbnRhaW5lciI+PGZpZWxkc2V0Pg0KICA8aDI+NTAyIC0gV2ViIHNlcnZlciByZWNlaXZlZCBhbiBpbnZhbGlkIHJlc3BvbnNlIHdoaWxlIGFjdGluZyBhcyBhIGdhdGV3YXkgb3IgcHJveHkgc2VydmVyLjwvaDI+DQogIDxoMz5UaGVyZSBpcyBhIHByb2JsZW0gd2l0aCB0aGUgcGFnZSB5b3UgYXJlIGxvb2tpbmcgZm9yLCBhbmQgaXQgY2Fubm90IGJlIGRpc3BsYXllZC4gV2hlbiB0aGUgV2ViIHNlcnZlciAod2hpbGUgYWN0aW5nIGFzIGEgZ2F0ZXdheSBvciBwcm94eSkgY29udGFjdGVkIHRoZSB1cHN0cmVhbSBjb250ZW50IHNlcnZlciwgaXQgcmVjZWl2ZWQgYW4gaW52YWxpZCByZXNwb25zZSBmcm9tIHRoZSBjb250ZW50IHNlcnZlci48L2gzPg0KIDwvZmllbGRzZXQ+PC9kaXY+DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg==");
display: block;
opacity: 0;
position: absolute;
right: 2px;
top: 2px;
z-index: 149999;
cursor: pointer;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
.mgline a.close-informer:hover {
opacity: 1;
}
.mgline .image-with-text img.mcimgad {
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
div.mcimg {
position: relative;
}
div.image-with-price {
position: relative;
}
.mgline .image-container {
width: auto;
margin: 0 auto;
position: relative;
}`),this.app.isInsertedRejectStyles=!0}}});var Es={};K(Es,{DSAIconBlock:()=>Ue});var Ue,Cs=q(()=>{C();B();$();Ue=class extends G{constructor(t){super(t),this.isStylesAppended=!1,this.iconSize=16,this.name="DSAIconBlock",this.isMobile=this.app.utils.isMobile()||this.app.utils.isTablet(),this.nonClickZone=this.isMobile?9:5,this.addHook("afterLoadNewsHooks",this.init)}init(){let t=this.app.root.querySelectorAll(".mgline");for(let e=0;e<t.length;e++){let i=t[e];if(typeof i.dataset.dsa<"u"||i.classList.contains("type-v"))continue;let s=i.getAttribute("data-i"),a=this.app.teaserData[s];if(a&&a.dsa_link){i.dataset.dsa="true";let p=this.buildIcon(a.dsa_link),d=i.querySelector(".image-with-text");this.app.widgetParams.WIDGET.type==="in-site-notification"||this.app.widgetParams.WIDGET.type==="banner"?d=i.querySelector(".image-container"):(this.app.widgetParams.WIDGET.subType==="in-article-card-media"||this.app.widgetParams.WIDGET.subType==="under-article-widget-card-media")&&(d=i.querySelector(".mgline-inner")),d&&(d.style.position="relative",d.appendChild(p),this.appendStyles())}}}buildIcon(t){let e=this.app.context.document.createElement("div"),i=this.app.context.document.createElement("a"),s=`<svg class="mgdsa-icon" xmlns="http://www.w3.org/2000/svg" width="18" height="18" 
      viewBox="0 0 18 18" fill="none"><rect width="18" height="18" fill="white"/><g clip-path="url(#clip0_49_159)">
      <path d="M9 1.5C4.86 1.5 1.5 4.86 1.5 9C1.5 13.14 4.86 16.5 9 16.5C13.14 16.5 16.5 13.14 16.5 9C16.5 4.86
        13.14 1.5 9 1.5ZM9 15C5.6925 15 3 12.3075 3 9C3 5.6925 5.6925 3 9 3C12.3075 3 15 5.6925 15 9C15 12.3075
        12.3075 15 9 15Z" fill="#737373"/>
        <path d="M9.65019 11.8586L9.6502 8.21708H7.47609V9.35846H8.50881L8.50881 13L10.6829 13V11.8586H9.65019Z"
        fill="#737373"/>
        <path d="M10 6C10 6.55228 9.55229 7 9 7C8.44772 7 8 6.55228 8 6C8 5.44772 8.44772 5 9 5C9.55229 5 10
        5.44772 10 6Z" fill="#737373"/></g><defs><clipPath id="clip0_49_159">
        <rect width="16" height="16" fill="white" transform="translate(1 1)"/></clipPath></defs></svg>`;return e.classList.add("mgdsa-container"),i.classList.add("mgdsa-link"),i.href=t,i.target="_blank",i.title=this.app.getTranslation("[INFORMER_DSA_ICON_TITLE]"),this.app.widgetParams.WIDGET.noFollow&&(i.rel="sponsored nofollow"),i.innerHTML=s,e.appendChild(i),e}appendStyles(){if(this.isStylesAppended)return;let t=`.mgdsa-container {display: flex;justify-content: flex-end;
      width: ${this.iconSize+this.nonClickZone}px;height: ${this.iconSize+this.nonClickZone}px;
      position: absolute;right: 0px;top: 0px;z-index: 2147483646;opacity: ${this.isMobile?1:0};
      transition: opacity 0.3s ease-out;}.mgdsa-link {display: block;max-width: ${this.iconSize}px;
      max-height: ${this.iconSize}px;text-decoration: none;outline: none;border: none;cursor: pointer;}
      .mgdsa-icon {width: ${this.iconSize}px;height: ${this.iconSize}px;max-width: ${this.iconSize}px;
      max-height: ${this.iconSize}px;}`;this.isMobile?t+=`.mgdsa-link {padding: 0 0 ${this.nonClickZone}px ${this.nonClickZone}px;
        box-sizing: content-box;}`:t+=".mgline:hover .mgdsa-container {opacity: 1;}",this.app.stylesheetsBlock.add("dsa-icon",t),this.isStylesAppended=!0}}});var Bs={};K(Bs,{TeaserHoverBlock:()=>ze});var ze,Ws=q(()=>{C();B();$();ze=class extends G{constructor(t){super(t),this.name="TeaserHoverBlock",this.addHook("afterLoadNewsHooks",this.init)}init(){let t=this.app.root.querySelectorAll(".mgline");for(let e=0;e<t.length;e++){let i=t[e],s={mgline:i,advIcon:i.querySelector("img.mcimgad"),rejectIcon:i.querySelector(".close-informer")};this.teaserHover(s)}}teaserHover(t){let{mgline:e,advIcon:i,rejectIcon:s}=t,a={advIcon:{el:i,positionLimits:this.iconPositionLimits(i,s)},rejectIcon:{el:s}};this.app.isTouchDevice()?e.addEventListener("click",()=>{s&&this.moveIconsForward(a)}):e.addEventListener("mouseenter",()=>{s&&this.moveIconsForward(a)}),e.addEventListener("mouseleave",()=>{s&&this.moveIconsBack(a)})}iconPositionLimits(t,e){let i=this.getIconCurrentPosition(t),s=this.getIconCurrentPosition(e);return!t||!e?{initial:null,ending:null}:{initial:i.right,ending:i.right+e.offsetWidth+s.right}}moveIconsForward(t){this.isAdvIconOnTop(t.advIcon.el)&&this.changeIconPosition(t.advIcon,"mouseenter"),t.rejectIcon.el&&(t.rejectIcon.el.style.opacity="0.7")}moveIconsBack(t){this.isAdvIconOnTop(t.advIcon.el)&&this.changeIconPosition(t.advIcon,"mouseleave"),t.rejectIcon.el&&(t.rejectIcon.el.style.opacity="0")}changeIconPosition(t,e){let i=t.positionLimits.initial,s=t.positionLimits.ending;t.el&&(e==="mouseenter"&&s!==null&&(t.el.style.right=s+"px"),e==="mouseleave"&&i!==null&&(t.el.style.right=i+"px"))}getIconCurrentPosition(t){let e=t?this.app.context.getComputedStyle(t):null;return{right:e?parseInt(e.right.replace("px","")):null,top:e?parseInt(e.top.replace("px","")):null}}isAdvIconOnTop(t){if(t){let e=+this.app.context.getComputedStyle(t).top.replace("px","");return e>=0&&e<=5}}}});var As={};K(As,{InAppParamsBlock:()=>$e});var Ls,$e,_s=q(()=>{C();B();$();Ls=["mgBundle","mgStoreurl","mgIfa","gdpr","gdprConsent","usPrivacy","gdprApplies","consentData","uspString","mgContenturl","mgIfatype","mgUserlat"],$e=class extends G{constructor(t){super(t),this.name="InAppParamsBlock",this.addHook("afterInitHooks",()=>{this.rootContainer=this.app.getRoot();for(let e in this.rootContainer.dataset)if(Ls.indexOf(e)!==-1){this.setMgDataAttributes();break}})}setMgDataAttributes(){let t=["${BUNDLE}","${STORE_URL}","%%ADVERTISING_IDENTIFIER_PLAIN%%","${GDPR}","${GDPR_CONSENT_358}","${CCPA}","%%PATTERN:url%%","%%ADVERTISING_IDENTIFIER_TYPE%%","%%ADVERTISING_IDENTIFIER_IS_LAT%%"];for(let e in this.rootContainer.dataset)if(Ls.indexOf(e)!==-1){let i=this.rootContainer.dataset[e];if(t.indexOf(i)!==-1)continue;e==="gdpr"||e==="gdprApplies"?this.app.requestParams.gdpr=Number(i)||1:e==="gdprConsent"||e==="consentData"?this.app.requestParams.gdpr_consent=i:e==="usPrivacy"||e==="uspString"?this.app.requestParams.us_privacy=i:this.app.requestParams[e]=i}}}});var Gs={};K(Gs,{CountersBlock:()=>je});var je,Os=q(()=>{C();B();$();je=class extends G{constructor(t){super(t),this.impTrackCapping={},this.name="CountersBlock",this.addHook("afterLoadNewsHooks",this.countersLoad),this.addHook("afterLoadNewsHooks",this.parseImpTracker),this.addHook("afterPrepareCappingDataHooks",this.sendImpTrackCapping),this.addHook("afterPrepareCappingDataHooks",this.sendJsTrackers)}countersLoad(){let t=this.app.widgetParams.WIDGET.newsPartIdPartner;if(Number(this.app.id)!==Number(this.app.widgetParams.WIDGET.id)){let e=this.app.childWidgetsData[this.app.id];t=e?e.newsWidgetIdPartner:null}if(this.app.widgetParams.WIDGET.autocreativeCampaignId&&(t=this.app.widgetParams.WIDGET.autocreativeCampaignId),!this.app.widgetParams.WIDGET.widgetUseConstructor&&(this.app.widgetParams.WIDGET.hasNewsPart&&this.app.widgetParams.WIDGET.newsPartAcStatsEnabled&&this.app.widgetParams.WIDGET.newsPartKind==="exchange"&&this.app.widgetParams.WIDGET.useInNewsRanker||this.app.widgetParams.WIDGET.autocreativeCampaignId)){let e={},i=this.app.context.document.referrer.replace(/&/g,"%26");this.app.isAmp()&&(i=this.app.context.context.canonicalUrl),e.id="id="+this.app.widgetParams.WIDGET.widgetClientSiteId,e.pid="pid="+t,e.referer="referer="+i,typeof this.app.contextBlock.contextUriParse=="function"&&(e.cxurl="cxurl="+this.app.contextBlock.contextUriParse()),this.app.context.self!==this.app.context.top&&(e.iframe="iframe=1"),typeof this.app.servicerData.h2<"u"&&(e.h2="h2="+this.app.servicerData.h2),e.cbuster="cbuster="+this.app.getCbusterParameter(),this.app.request.pixel("autoCounter",this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.autoCreativeCounterDomain+"/autocreative/counter.php",e,{unique:!0})}}parseImpTracker(){if(this.app.widgetParams.WIDGET.widgetCountersDisabled===1)return;let t=Object.keys(this.app.teaserData);for(let e in t)if(Array.isArray(this.app.teaserData[t[e]].impt)){for(let i=0;i<this.app.teaserData[t[e]].impt.length;i++)if(!(typeof this.app.teaserData[t[e]].impt[i].completed<"u")){if(this.app.teaserData[t[e]].impt[i].only_viewable===1)typeof this.impTrackCapping[t[e]]>"u"&&(this.impTrackCapping[t[e]]=[]),this.impTrackCapping[t[e]].push(this.app.teaserData[t[e]].impt[i]);else{let s=this.app.teaserData[t[e]].impt[i].code;this.app.teaserData[t[e]].impt[i].type==="i"&&this.sendCustomCounter(s),this.app.teaserData[t[e]].impt[i].type==="j"&&(this.app.teaserData[t[e]].impt[i].iframe===1?this.sendIframeTracker(t[e],s,i):this.sendInlineTracker(t[e],s))}this.app.teaserData[t[e]].impt[i].completed=1}}}sendImpTrackCapping(t){if(!(typeof this.impTrackCapping[t]>"u"))for(let e=0;e<this.impTrackCapping[t].length;e++)this.impTrackCapping[t][e].type==="i"&&this.sendCustomCounter(this.impTrackCapping[t][e].code),this.impTrackCapping[t][e].type==="j"&&(this.impTrackCapping[t][e].iframe===1?this.sendIframeTracker(t,this.impTrackCapping[t][e].code,e):this.sendInlineTracker(t,this.impTrackCapping[t][e].code))}sendCustomCounter(t){this.app.request.pixel("widgetCustomCounter",t,{mgbuster:"mgbuster="+("00000"+Math.round(Math.random()*1e5).toString(16)).slice(-5)},{})}sendIframeTracker(t,e,i){let s="<script>window.onerror = function() { return true; };<\/script>";s+=e;let a=this.app.context.document.createElement("iframe");a.style.display="none",this.app.renderInSafeIframe(a,`${t}_${i}`,s),this.app.root.appendChild(a)}sendInlineTracker(t,e){let i=this.getMglineByHash(t);if(!i)return;i.insertAdjacentHTML("beforeend",e);let s=i.childNodes;for(let a=0;a<s.length;a++)if(s[a]instanceof HTMLScriptElement){let p=s[a],d=this.app.context.document.createElement("script");d.src=p.src,i.removeChild(p),i.appendChild(d)}}getMglineByHash(t){let e=this.app.root.getElementsByClassName("mgline");for(let i=0;i<e.length;i++)if(e[i].getAttribute("data-i")===t)return e[i];return null}sendJsTrackers(t){if(Array.isArray(this.app.teaserData[t].jst))for(let e=0;e<this.app.teaserData[t].jst.length;e++){let i="<script>window.onerror = function() { return true; };<\/script>";i+=this.app.teaserData[t].jst[e];let s=this.app.context.document.createElement("iframe");s.style.display="none",this.app.renderInSafeIframe(s,`${t}_${e}`,i),this.app.root.appendChild(s)}}}});var Rs={};K(Rs,{SubnetsBlock:()=>Ke});var Ke,Hs=q(()=>{C();B();$();wt();Ke=class extends G{constructor(t){super(t),this.name="SubnetsBlock",this.addHook("afterInitHooks",this.init),this.app.currentSubnet=this.app.widgetParams.WIDGET.currentSubnet,this.app.subnetMirrorsImage="",this.app.subnetMirrorsUtm="",this.app.subnetDashboardDomain=""}init(){let t=[this.app.widgetParams.WIDGET.id];this.childWidgets=JSON.parse(this.app.widgetParams.WIDGET.childWidgets);let e=JSON.parse(this.app.widgetParams.WIDGET.childFuncBlocks);this.childFuncBlockList=[];for(let a in this.childWidgets)this.childWidgets.hasOwnProperty(a)&&t.push(this.childWidgets[a].childId);for(let a in e)if(e.hasOwnProperty(a)){this.childFuncBlockList[a]=this.childFuncBlockList[a]||[];for(let p in e[a])e[a].hasOwnProperty(p)&&this.childFuncBlockList[a].push(e[a][p].split("/").pop())}let i=this.loadSubnets(),s=this.app.uniqId!==""&&this.app.widgetParams.WIDGET.allowMultipleWidgets?"_"+this.app.uniqId:"";t.forEach(a=>{this.app.context["mgReject"+a]=this.app[this.app.widgetParams.WIDGET.informerPrefix+"Reject"],this.app.context["mgLoadAds"+a+s]=(p,d)=>{let u=i[this.app.widgetParams.WIDGET.currentSubnet];this.loadAds(p,d,a,this.app.widgetParams.WIDGET.currentSubnet,u.mirror)},this.app.context["_mgConsentWait"+a+s]=p=>{this.app.consentsBlock.waitConsent(p),typeof this.app.context["_mgGPT"+a]<"u"&&delete this.app.context["_mgGPT"+a]};for(let p in i)if(i.hasOwnProperty(p)){let d=i[p];d.id!==gt.L&&(this.app.context[d.informer_prefix+"CReject"+a]=this.app[this.app.widgetParams.WIDGET.informerPrefix+"Reject"],this.app.context[d.informer_prefix+"LoadGoods"+a+s]=(u,m)=>{this.loadAds(u,m,a,d.id,d.mirror)})}})}loadSubnets(){let t=JSON.parse(this.app.widgetParams.WIDGET.subnets),e=t[this.app.widgetParams.WIDGET.currentSubnet];return this.app.subnetMirrorsImage=e.imageDomain,this.app.subnetMirrorsUtm=e.utm,this.app.subnetDashboardDomain=this.app.webProtocol+"//"+e.dashboardDomain,t}loadAds(t,e,i,s,a){if(window.performance?.mark("ssp_response",{detail:{_mgwidget:this.app.widgetParams.WIDGET.id}}),this.app.widgetParams.WIDGET.loggingConsentEnabled&&!this.app.tcfv2Data&&!this.app.startServicerTime&&(this.app.startServicerTime=new Date().getTime()),this.app.id=i,this.app.loadedType="goods",this.app.currentSubnet=s,this.app.currentSubnetDomain=a,this.app.originalId!==this.app.id){if(typeof this.childFuncBlockList[this.app.id]<"u"){let p=this.childFuncBlockList[this.app.id];this.executeFuncBlock(p)}if(typeof this.childWidgets[this.app.id]<"u"&&typeof this.childWidgets[this.app.id].customFuncBlocks<"u"){let p=this.childWidgets[this.app.id].customFuncBlocks;this.executeFuncBlock(p)}}this.app.lifeCycleBlock.render(t,e)}executeFuncBlock(t){for(let e in t)if(t.hasOwnProperty(e)){let i=t[e],s=i.replace(/[-_]/g,"").replace(/./,a=>a.toUpperCase())+"Block";try{this.app[s]=new window[`${this.app.widgetParams.WIDGET.I}`].childFuncBlocks[i](this.app)}catch(a){this.app.log(`SubnetsBlock - ${i} error:`,"error",a)}}}}});var Ms={};K(Ms,{ScrollTimeDoubleClickBlock:()=>Je});var Je,Ns=q(()=>{C();B();$();Je=class extends G{constructor(t){super(t),this.lastScrollTime=0,this.lastClickTime=0,this.name="ScrollTimeDoubleClickBlock",this.app.getWidgetValue("useScrollClick",this.app.widgetParams.WIDGET.useScrollClick)&&(this.app.addEvent(this.app.context,"scroll",()=>this.onContextScrollEvent()),this.app.scrollTimeDoubleClickHandler=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.scrollTimeDoubleClick.handler,this.app.clickHandlerList.scrollTimeDoubleClick.priority))}onClick(t,e){return this.onContextClickEvent(),this.app.doubleClickType="scrollTime",this.lastScrollTime<=this.lastClickTime&&this.lastClickTime-this.lastScrollTime<=.5?(this.app.doubleClickHandler(t),e.preventDefault(),this.app.linksBlocked=!0,!1):(this.app.linksBlocked=!1,!0)}onContextScrollEvent(){this.lastScrollTime=this.app.getCurrentTimestamp()}onContextClickEvent(){this.lastClickTime=this.app.getCurrentTimestamp()}}});var Fs={};K(Fs,{SmartDoubleClickBlock:()=>Ze});var Vs,mr,ur,Ze,qs=q(()=>{C();B();$();Vs=1,mr=100,ur={undefined:-1,desktop:1,mobile:2,tablet:3,smarttv:4},Ze=class extends G{constructor(t){super(t),this.name="SmartDoubleClickBlock",this.app.isDisabledBySmartDoubleClick=!1,this.addHook("afterInitHooks",this.init)}init(){this.groups=this.app.getWidgetValue("doubleclickParameters",JSON.parse(this.app.widgetParams.WIDGET.doubleclickParameters)),!(!this.groups||!this.app.isEnabledDoubleClick())&&(this.doubleClickCheckId=0,this.loadedTime=this.app.getCurrentTimestamp(),this.handlers=this.getHandlers(),this.app.onSmartDoubleClickHandler=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.onSmartDoubleClick.handler,this.app.clickHandlerList.onSmartDoubleClick.priority))}getGroupPercent(t,e,i){let s=0,a=e.getBoundingClientRect();for(let p in this.handlers){if(!this.handlers[p])continue;let d=this.handlers[p](t,i,a);if(d===!1)return!1;s+=d}return s/Object.keys(t).length}getGroupElementPercent(t,e,i){return t.hasOwnProperty(e)?t[e].hasOwnProperty("value")&&i===t[e].value||t[e].hasOwnProperty("min")&&i>=t[e].min&&i<=t[e].max?t[e].percent:!1:0}getDoubleClickPercent(t,e){for(let i in this.groups){if(!this.groups[i])continue;let s=this.getGroupPercent(this.groups[i],t,e);if(s!==!1)return this.doubleClickCheckId=i,s}return this.doubleClickCheckId=0,Vs-1}onClick(t,e){let i=this.app.random(Vs,mr);return this.app.doubleClickPercent=Number(this.getDoubleClickPercent(t,e)),this.app.isDisabledBySmartDoubleClick=this.app.doubleClickPercent<i,this.app.doubleClickCheckId=this.app.isDisabledBySmartDoubleClick?0:this.doubleClickCheckId,!0}getHandlers(){return[t=>this.getGroupElementPercent(t,"device",ur[this.app.deviceType]||""),t=>this.getGroupElementPercent(t,"browser",this.app.browserId),t=>this.getGroupElementPercent(t,"click_time",this.app.getCurrentTimestamp()-this.loadedTime),t=>this.getGroupElementPercent(t,"width",this.app.root.offsetWidth),t=>this.getGroupElementPercent(t,"height",this.app.root.offsetHeight),t=>this.getGroupElementPercent(t,"click_y",this.app.root.mouseY),t=>this.getGroupElementPercent(t,"click_x",this.app.root.mouseX),t=>this.getGroupElementPercent(t,"hw_ratio",this.app.root.offsetHeight/this.app.root.offsetWidth),(t,e)=>this.getGroupElementPercent(t,"borderTop",e.offsetY),(t,e)=>this.getGroupElementPercent(t,"borderLeft",e.offsetX),(t,e,i)=>this.getGroupElementPercent(t,"borderRight",i.width-e.offsetX),(t,e,i)=>this.getGroupElementPercent(t,"borderBottom",i.height-e.offsetY),t=>this.getGroupElementPercent(t,"research",1)]}}});var Us={};K(Us,{MobileDoubleClickBlock:()=>Xe});var Xe,zs=q(()=>{C();B();$();Xe=class extends G{constructor(t){super(t),this.name="MobileDoubleClickBlock",("ontouchstart"in window||navigator.maxTouchPoints>0)&&(this.addHook("afterSendCappingHooks",this.init),this.addHook("beforeInitHooks",()=>{this.informerId=this.app.root.getAttribute("id")}))}init(){this.app.isEnabledDoubleClick()&&(this.app.doubleClickTimeLoaded||(this.app.doubleClickTimeLoaded=new Date().getTime()/1e3),this.app.stylesheetsBlock.add("doubleclickMobile",this.getStyles()),this.app.showDoubleClickButton=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.showMobileDoubleClick.handler,this.app.clickHandlerList.showMobileDoubleClick.priority))}onClick(t,e){if(this.app.isDisabledBySmartDoubleClick||typeof e.button<"u"&&e.button!==0)return!0;this.app.doubleClickType="mobile",this.app.linksBlocked=!1;let i=t;if(this.app.widgetParams.WIDGET.mobileApp){if(this.app.doubleClickHandler(i),i.className.indexOf("mgbuybox")===-1){for(;i.tagName!=="A"&&i.id!==this.informerId;)if(i=i.parentElement,i.id===this.informerId)return!1;try{for(;i.className.indexOf("mgline")===-1;)i=i.parentElement}catch{return!1}let s=i;s.dataset.clicked!=="1"&&(e.preventDefault(),this.app.linksBlocked=!0),s.dataset.clicked="1";let a=s.querySelector(".mgfree"),p=s.querySelector(".mgbuybox");a.style.opacity="0",p.style.opacity="1",p.style.opacity="1",p.style.zIndex="9999",setTimeout(()=>{a.style.opacity="1",p.style.opacity="0",s.dataset.clicked="0",p.style.zIndex="-9999"},1e4)}}else{let s=new Date().getTime()/1e3,a=this.app.getWidgetValue("mobileDoubleclickDelay",this.app.widgetParams.WIDGET.mobileDoubleclickDelay);if(i.className!==this.app.widgetParams.WIDGET.modulePrefix+"DButton"+this.app.widgetParams.WIDGET.id&&(a===0||s-this.app.doubleClickTimeLoaded<a)){for(this.app.doubleClickHandler(i),this.app.linksBlocked=!0,e.preventDefault();i.tagName!=="A"&&i.id!==this.informerId;)if(i=i.parentElement,i.id===this.informerId)return;let p=e.target;for(;!p.classList.contains("mgline");)p=p.parentElement;let d=this.app.context.document.createElement("div");d.className=this.app.widgetParams.WIDGET.modulePrefix+"DLayout"+this.app.widgetParams.WIDGET.id,d.style.zIndex="100000";let u=this.createLinkGo(i,p,a);d.appendChild(u);let m=p.querySelector(".mgline-inner");m?m.appendChild(d):p.appendChild(d),setTimeout(()=>{d.parentNode.removeChild(d)},1e4)}else return this.app.doubleClickHandler(i,!0),!0}}createLinkGo(t,e,i){let s=this.app.context.document.createElement("a");s.innerHTML=this.app.getTranslation("[GO]");let a=t.getAttribute(this.app.hrefAttr);typeof a=="string"&&(a=a+(a.indexOf("?")>=0?"&":"?")+"wct="+this.app.doubleClickType),s.href=a;let p=e.querySelector("a")?.getAttribute("data-hash");p&&s.setAttribute("data-hash",p);let d=80,u=80,m=(1-d/e.offsetHeight)/2*100,k=e.offsetWidth/u*.98;s.style.top=m+"%";let I=k>1?(1-u/e.offsetWidth)/2*100:0;return s.style.left=I+"%",e.offsetHeight<=100&&(k=.5),k<1&&(s.style.transform="scale3d("+k+","+k+","+k+")",s.style.webkitTransform="scale3d("+k+","+k+","+k+")",s.style.transformOrigin="left",s.style.webkitTransformOrigin="left"),s.target="_blank",s.className=this.app.widgetParams.WIDGET.modulePrefix+"DButton"+this.app.widgetParams.WIDGET.id,setTimeout(()=>{k=k<1?k:1,s.style.transform="scale3d("+k+","+k+","+k+")",s.style.webkitTransform="scale3d("+k+","+k+","+k+")"},i),s}getStyles(){return"."+this.app.widgetParams.WIDGET.modulePrefix+"DButton"+this.app.widgetParams.WIDGET.id+'{display:       inline-block;width:         170px !important;height:        50px !important;line-height:        50px !important;background-color: RGBA(0,0,0,0);border:        1px solid white;border-radius:        3px;color:         white !important;font:          normal 500 18px/50px "Sans", sans-serif;transform: scale3d(0.0001,0.0001,0.0001);text-align:    center;padding:    0 10px;text-shadow:   none;position: absolute;left: 0 !important;right: 0 !important;top: 0 !important;bottom: 0 !important;margin: auto !important;text-decoration: none !important;transition:all 1s;}.'+this.app.widgetParams.WIDGET.modulePrefix+"DLayout"+this.app.widgetParams.WIDGET.id+"{height: 100%;width: 100%;position: absolute;top: 0px;left: 0px;background-color: rgba(0, 0, 0, 0.5);z-index: 99999;}#"+this.app.widgetParams.WIDGET.modulePrefix+"Composite"+this.app.widgetParams.WIDGET.id+" .mgline {position:relative}"}}});var $s={};K($s,{DesktopDoubleClickBlock:()=>Qe});var Qe,js=q(()=>{C();B();$();Qe=class extends G{constructor(t){super(t),this.name="DesktopDoubleClickBlock";let e="ontouchstart"in window||navigator.maxTouchPoints>0,i="addEventListener"in window.document;!e&&i&&(this.addHook("afterSendCappingHooks",this.init),this.addHook("beforeInitHooks",()=>{this.informerId=this.app.root.getAttribute("id")}))}init(){this.app.isEnabledDoubleClick()&&(this.app.doubleClickTimeLoaded||(this.app.doubleClickTimeLoaded=new Date().getTime()/1e3),this.app.stylesheetsBlock.add("desktopDoubleClick",this.getStyles()),this.app.showDesktopDoubleClickButton=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.showDesktopDoubleClick.handler,this.app.clickHandlerList.showDesktopDoubleClick.priority))}onClick(t,e){if(this.app.isDisabledBySmartDoubleClick||typeof e.button<"u"&&e.button!==0)return!0;this.app.doubleClickType="desktop",this.app.linksBlocked=!1;let i=t,s=new Date().getTime()/1e3,a=this.app.getWidgetValue("desktopDoubleclickDelay",this.app.widgetParams.WIDGET.desktopDoubleclickDelay);if(i.className!==this.app.widgetParams.WIDGET.modulePrefix+"DButton"+this.app.widgetParams.WIDGET.id&&(a===0||s-this.app.doubleClickTimeLoaded<a)){for(this.app.doubleClickHandler(i),e.preventDefault(),this.app.linksBlocked=!0;i.tagName!=="A"&&i.id!==this.informerId;)if(i=i.parentElement,i.id===this.informerId)return!1;let p=e.target;try{for(;!p.classList.contains("mgline");)p=p.parentElement}catch{return!1}let d=this.app.context.document.createElement("div");d.className=this.app.widgetParams.WIDGET.modulePrefix+"DLayout"+this.app.widgetParams.WIDGET.id,d.style.zIndex="100000";let u=this.createLinkGo(i,p,e);d.appendChild(u);let m=p.querySelector(".mgline-inner");m?m.appendChild(d):p.appendChild(d),setTimeout(()=>{d.parentNode.removeChild(d)},1e4)}else return this.app.doubleClickHandler(i,!0),!0}createLinkGo(t,e,i){let s=this.app.context.document.createElement("a");s.innerHTML=this.app.getTranslation("[GO]");let a=t.getAttribute(this.app.hrefAttr);typeof a=="string"&&(a=a+(a.indexOf("?")>=0?"&":"?")+"wct="+this.app.doubleClickType),s.href=a;let p=e.querySelector("a")?.getAttribute("data-hash");p&&s.setAttribute("data-hash",p);let d=e.offsetHeight,u=d/3+2,m=u;s.style.width=u-2+"px",s.style.lineHeight=u-2+"px",s.style.height="33.33%",e.offsetHeight<=100&&(m=80,u=80,s.style.width="80px",s.style.lineHeight="78px",s.style.height="80px");let k=(1-u/e.offsetHeight)/2*100;i.clientY-e.getBoundingClientRect().top<d/2?k=(1-2*u/d)*100/4+50:k=(1-2*u/d)*100/4,e.offsetHeight<=100&&(k=-34),s.style.top=k+"%";let T=e.offsetWidth/m*.98,b=T>1?(1-m/e.offsetWidth)/2*100:0;return e.offsetHeight<=100&&(b=45.5),s.style.left=b+"%",parseFloat(s.style.width)<=50&&(s.style.font="normal 500 12px/"+s.style.width+' "Sans", sans-serif'),e.offsetHeight<=100&&(T=.5),T<1&&(s.style.transform="scale3d("+T+","+T+","+T+")",s.style.webkitTransform="scale3d("+T+","+T+","+T+")",s.style.transformOrigin="left",s.style.webkitTransformOrigin="left"),s.target="_blank",s.className=this.app.widgetParams.WIDGET.modulePrefix+"DButton"+this.app.widgetParams.WIDGET.id,setTimeout(()=>{T=T<1?T:1,s.style.transform="scale3d("+T+","+T+","+T+")",s.style.webkitTransform="scale3d("+T+","+T+","+T+")"},500),s}getStyles(){return"."+this.app.widgetParams.WIDGET.modulePrefix+"DButton"+this.app.widgetParams.WIDGET.id+'{display:       inline-block;width:         170px !important;height:        50px !important;line-height:        50px !important;background-color: RGBA(0,0,0,0);border:        1px solid white;border-radius:        3px;color:         white !important;font:          normal 500 18px/50px "Sans", sans-serif;transform: scale3d(0.0001,0.0001,0.0001);text-align:    center;padding:    0 10px;text-shadow:   none;position: absolute;left: 0 !important;right: 0 !important;top: 0 !important;bottom: 0 !important;margin: auto !important;text-decoration: none !important;transition:all 1s;}.'+this.app.widgetParams.WIDGET.modulePrefix+"DLayout"+this.app.widgetParams.WIDGET.id+"{height: 100%;width: 100%;position: absolute;top: 0px;left: 0px;background-color: rgba(0, 0, 0, 0.5);z-index: 100;}#"+this.app.widgetParams.WIDGET.modulePrefix+"Composite"+this.app.widgetParams.WIDGET.id+" .mgline {position:relative}"}}});var Ks={};K(Ks,{SspDoubleClickBlock:()=>Ye});var Ye,Js=q(()=>{C();B();$();wt();Ye=class extends G{constructor(t){super(t),this.servicerDoubleClickStatus=!1,this.name="SspDoubleClickBlock",this.addHook("afterSendCappingHooks",this.onCapping),this.addHook("afterInjectScriptHooks",this.init),this.app.doubleClickType="ssp",this.app.hashTimer=[]}init(){this.app.stylesheetsBlock.add("ssp_doubleclick",this.getStyles());let t=setInterval(()=>{if(this.servicerDoubleClickStatus){clearInterval(t);return}!this.app.isEnabledDoubleClick()&&typeof this.app.servicerData.dc<"u"&&this.app.root.querySelectorAll("a[data-hash]").length&&(this.app.sspDoubleClickHandler=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.sspDoubleClick.handler,this.app.clickHandlerList.sspDoubleClick.priority),this.servicerDoubleClickStatus=!0)},100)}onClick(t,e){if(typeof e.button<"u"&&e.button!==0)return!0;let i=t.getAttribute("data-hash"),s=new Date().getTime();return i in this.app.hashTimer&&s-this.app.hashTimer[i]>this.app.servicerData.dc||this.app.teaserData[i].coopType!==J.Wages||t.className===this.app.widgetParams.WIDGET.informerPrefix+"DButton"+this.app.widgetParams.WIDGET.id?(this.app.doubleClickHandler(t,!0),!0):(this.app.doubleClickHandler(t),e.preventDefault(),this.showButton(t),!1)}showButton(t){let e=this.app.context.document.createElement("div");e.classList.add(this.app.widgetParams.WIDGET.informerPrefix+"DLayout"+this.app.widgetParams.WIDGET.id);let i=t.closest(".mgline");i!==null&&i.appendChild(e);let s=this.app.context.document.createElement("a");s.classList.add(this.app.widgetParams.WIDGET.informerPrefix+"DButton"+this.app.widgetParams.WIDGET.id);let a=t.getAttribute("href");typeof a=="string"&&(a=a+(a.indexOf("?")>=0?"&":"?")+"wct="+this.app.doubleClickType),s.href=a,s.setAttribute("data-hash",t.getAttribute("data-hash"));let p=this.app.widgetParams.WIDGET.currentSubnet!==gt.MG?50:80,d=this.app.widgetParams.WIDGET.currentSubnet!==gt.MG?170:80,u=(1-p/i.offsetHeight)/2*100,m=i.offsetWidth/d*.98;s.style.backgroundImage="url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMzggMzgiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwb2x5Z29uIHBvaW50cz0iMTIsMjkuMSAyMi4yLDE5IDEyLjEsOC45IDE0LDcgMjYsMTkgMTQsMzEiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utb3BhY2l0eT0iMSI+PC9wb2x5Z29uPjwvc3ZnPg==)",s.style.backgroundPosition="center",s.style.top=u+"%";let k=m>1?(1-d/i.offsetWidth)/2*100:0;this.app.widgetParams.WIDGET.currentSubnet===gt.MG&&(s.style.left=k+"%"),m<1&&(s.style.transform="scale3d("+m+","+m+","+m+")",s.style.webkitTransform="scale3d("+m+","+m+","+m+")",s.style.transformOrigin="left",s.style.webkitTransformOrigin="left"),s.target="_blank",e.appendChild(s),setTimeout(()=>{this.app.widgetParams.WIDGET.currentSubnet!==gt.MG?(s.style.left=k+"%",s.style.opacity="1"):(m=m<1?m:1,s.style.transform="scale3d("+m+","+m+","+m+")",s.style.webkitTransform="scale3d("+m+","+m+","+m+")")},10),setTimeout(()=>{e.parentNode.removeChild(e)},1e4)}onCapping(){if(typeof this.app.sspDoubleClickHash<"u")for(let t=0;t<this.app.sspDoubleClickHash.length;t++)typeof this.app.hashTimer[this.app.sspDoubleClickHash[t]]>"u"&&(this.app.hashTimer[this.app.sspDoubleClickHash[t]]=new Date().getTime())}getStyles(){let t={0:{borderColor:"#0a1b53",gradient:"#2b3c84, #0c1b52",fontColor:"#fff"},2:{borderColor:"#010101",gradient:"#111312, #010101",fontColor:"#fff"},3:{borderColor:"#F36729",gradient:"#F79220, #F26B29",fontColor:"#fff"}},e=typeof t[this.app.widgetParams.WIDGET.currentSubnet]<"u"?t[this.app.widgetParams.WIDGET.currentSubnet]:t[0],i="."+this.app.widgetParams.WIDGET.informerPrefix+"DButton"+this.app.widgetParams.WIDGET.id+"{display:       inline-block;";return this.app.widgetParams.WIDGET.currentSubnet!==gt.MG?i+="width:         168px;height:        48px;background:    -moz-linear-gradient("+e.gradient+");background:    -o-linear-gradient("+e.gradient+");background:    -webkit-linear-gradient("+e.gradient+");background:    linear-gradient("+e.gradient+");border:        1px solid "+e.borderColor+";color:         "+e.fontColor+' !important;font:          normal 700 21px/48px "Zapf Dingbats", sans-serif;opacity: 0;left: -100%;':i+='width:     170px !important;height:        50px !important;line-height:        50px !important;background-color: RGBA(0,0,0,0);border:        1px solid white;border-radius:        3px;color:         white !important;font:          normal 500 18px/50px "Sans", sans-serif;transform: scale3d(0.0001,0.0001,0.0001);',i+="text-align:    center;position: absolute;left: 0 !important;right: 0 !important;top: 0 !important;bottom: 0 !important;margin: auto !important;text-decoration: none !important;transition:all 1s;}."+this.app.widgetParams.WIDGET.informerPrefix+"DLayout"+this.app.widgetParams.WIDGET.id+"{height: 100%;width: 100% !important;position: absolute !important;top: 0px;left: 0px;background-color: rgba(0, 0, 0, 0.5);z-index: 99999;}#"+this.app.widgetParams.WIDGET.informerPrefix+"Composite"+this.app.widgetParams.WIDGET.id+" .mgline {position:relative}",i}}});var Zs={};K(Zs,{ExternalCountersBlock:()=>ti});var ti,Xs=q(()=>{C();B();$();ti=class extends G{constructor(t){super(t),this.name="ExternalCountersBlock",this.app.externalCountersLinkHandler=this.externalCountersLinkHandler.bind(this),this.handleExternalCountersListener()}externalCountersLinkHandler(t,e){if(typeof e.button<"u"&&e.button!==0)return!0;let i=t.getAttribute("data-hash"),s=this.app.teaserData[i];if(s&&Array.isArray(s.clicktrackers)){let a=s.clicktrackers;if(a.length)for(let p=0;p<a.length;p++)this.app.request.pixel(`clickTracker ${i} - ${a[p]}`,a[p],{},{})}return!0}handleExternalCountersListener(){this.app.addClickHandler(this.app.clickHandlerList.externalCountersLink.handler,this.app.clickHandlerList.externalCountersLink.priority)}}});var Qs={};K(Qs,{VideoTeasersBlock:()=>ei});var ei,Ys=q(()=>{C();B();$();ei=class extends G{constructor(t){super(t),this.name="VideoTeasersBlock",this.siteBody=this.app.getMostTopWindow().document.body,this.playVideos=this.playVideos.bind(this),this.addHook("beforeLoadNewsHooks",this.setVideoStyles),this.addHook("afterLoadNewsHooks",this.playVideos)}setVideoStyles(){let t=this.app.widgetParams.WIDGET.templateStyles;this.app.widgetParams.WIDGET.adblockIntegration&&this.app.adBlockDetect()&&(t=this.app.adBlockStyles),t=t.split("img.mcimg {").filter((e,i)=>i!==0).map(e=>e.substring(0,e.indexOf("}"))).join("").trim(),this.app.stylesheetsBlock.add("new-mcvideo-styles",`.mgline video.mcvideo {${t}}`)}playVideos(){let t=this.app.root.getElementsByClassName("mcvideo");for(let e=0;e<t.length;e++){let i=t[e],s=()=>{if(i.classList.contains("played"))this.siteBody.removeEventListener("pointerdown",s);else{let a=i.play();typeof a<"u"&&a.catch(p=>{this.app.log("_playVideosHandler. Error: ","error",p),i.controls=!0})}};this.siteBody.addEventListener("pointerdown",s,!1)}}}});var ta={};K(ta,{OriginTrialsBlock:()=>ii});var ii,ea=q(()=>{C();B();$();ii=class extends G{constructor(t){super(t),this.name="OriginTrialsBlock",this.addHook("beforeInitHooks",this.initOriginTrials)}initOriginTrials(){JSON.parse(this.app.widgetParams.WIDGET.originTrialTokens).forEach(e=>{if(e.conditions.indexOf("webview")!==-1&&!this.app.utils.isChromeWebView())return;let i=this.app.context.document.createElement("META");i.httpEquiv="origin-trial",i.content=e.token,this.app.context.document.head.appendChild(i),this.app.log("Origin Trial Token inserted: "+e.name)})}}});var ia={};K(ia,{CalculateSessionsBlock:()=>gr});var xr,ae,gr,sa=q(()=>{C();B();$();ee();xr=function(w,t,e){for(var i=arguments.length>2,s=0;s<t.length;s++)e=i?t[s].call(w,e):t[s].call(w);return i?e:void 0},ae=function(w,t,e,i,s,a){function p(W){if(W!==void 0&&typeof W!="function")throw new TypeError("Function expected");return W}for(var d=i.kind,u=d==="getter"?"get":d==="setter"?"set":"value",m=!t&&w?i.static?w:w.prototype:null,k=t||(m?Object.getOwnPropertyDescriptor(m,i.name):{}),I,T=!1,b=e.length-1;b>=0;b--){var D={};for(var v in i)D[v]=v==="access"?{}:i[v];for(var v in i.access)D.access[v]=i.access[v];D.addInitializer=function(W){if(T)throw new TypeError("Cannot add initializers after decoration has completed");a.push(p(W||null))};var y=(0,e[b])(d==="accessor"?{get:k.get,set:k.set}:k[u],D);if(d==="accessor"){if(y===void 0)continue;if(y===null||typeof y!="object")throw new TypeError("Object expected");(I=p(y.get))&&(k.get=I),(I=p(y.set))&&(k.set=I),(I=p(y.init))&&s.unshift(I)}else(I=p(y))&&(d==="field"?s.unshift(I):k[u]=I)}m&&Object.defineProperty(m,i.name,k),T=!0},gr=(()=>{var w;let t=G,e=[],i,s,a,p;return w=class extends t{constructor(u){super(u),this.topWindow=xr(this,e),this.expirationLimit=30*24*60*60*1e3,this.weekLimit=7*24*60*60*1e3,this.sessionLimit=30*60*1e3,this.storageKeys={sessionsList:"_mgSessionsTimeList",sessionsNumber:"_mgSessionsNumber",sessionId:"_mgSessionId",sessionPage:"_mgSessionPagesNumber",sessionTeasersData:"_mgSessionTeasersData"},this.pagesKey="_mgSessionPages",this.name="CalculateSessionsBlock",this.init()}init(){this.topWindow=this.app.getMostTopWindow();try{this.topWindow.localStorage&&(this.app.countSessionClicksHandler=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.countSessionClicks.handler,this.app.clickHandlerList.countSessionClicks.priority),this.addHook("beforeInjectScriptHooks",this.calculateSessions,1e3,!0),this.addHook("beforeInjectScriptHooks",this.sendSessions,1e3,!0),this.addHook("beforeLoadNewsHooks",this.savedSessions,1e3,!0),this.addHook("afterPrepareCappingDataHooks",this.setTeaserImps,1e3,!0))}catch(u){this.app.log(`${this.name} no localStorage found`,"error",u)}}calculateSessions(){let u=this.topWindow.location.pathname;this.app.isAmp()&&this.app.context.context.location&&(u=this.app.context.context.location);let m=this.getCurrentTime();if(this.sessionPage=Number(kt.getItem(this.storageKeys.sessionPage))||Number(bt.getItem(this.storageKeys.sessionPage))||0,this.sessionsList=(JSON.parse(kt.getItem(this.storageKeys.sessionsList)||"false")||JSON.parse(bt.getItem(this.storageKeys.sessionsList)||"false")||[]).filter(k=>m-k<this.expirationLimit),kt.setItem(this.pagesKey,kt.getItem(this.pagesKey)||"[]"),kt.getItem(this.pagesKey).indexOf(u)===-1){let k=JSON.parse(kt.getItem(this.pagesKey));k.push(u),kt.setItem(this.pagesKey,JSON.stringify(k)),this.sessionPage=this.sessionPage+1}if(this.sessionsList.length){let k=this.sessionsList[this.sessionsList.length-1];m-k<this.sessionLimit?(this.sessionsList[this.sessionsList.length-1]=m,this.sessionId=kt.getItem(this.storageKeys.sessionId)||bt.getItem(this.storageKeys.sessionId)||this.generateSessionId()):(this.sessionId=this.generateSessionId(),this.sessionsList=[...this.sessionsList,m],kt.setItem(this.pagesKey,JSON.stringify([u])),this.sessionPage=1)}else this.sessionId=this.generateSessionId(),this.sessionsList=[m],kt.setItem(this.pagesKey,JSON.stringify([u])),this.sessionPage=1;this.sessionsByWeek=this.sessionsList.filter(k=>m-k<this.weekLimit),kt.setItem(this.storageKeys.sessionId,this.sessionId),kt.setItem(this.storageKeys.sessionPage,this.sessionPage.toString()),kt.setItem(this.storageKeys.sessionsList,JSON.stringify(this.sessionsList))}sendSessions(){if(this.app.requestParams.sessionId=this.sessionId,this.app.requestParams.sessionPage=this.sessionPage,this.app.requestParams.sessionNumberWeek=this.sessionsByWeek.length,this.sessionsList.length===1)this.app.requestParams.sessionNumber=1;else if(this.sessionsList.length>=2){let u=this.sessionsList[this.sessionsList.length-1],m=this.sessionsList[this.sessionsList.length-2],k=Math.floor((u-m)/6e4);this.app.requestParams.sessionNumber=this.sessionsList.length,this.app.requestParams.timeBetweenSessions=k}if(this.sessionTeasersData=JSON.parse(bt.getItem(this.storageKeys.sessionTeasersData)||"[]"),this.sessionTeasersData.length){let u=this.sessionTeasersData.map(m=>`${m.catId},${m.imps||0}${m.clicks?","+m.clicks:""}`);this.app.requestParams.sessionCats=u.join(";")}}savedSessions(){this.app.servicerData.consent?(bt.setItem(this.storageKeys.sessionId,this.sessionId),bt.setItem(this.storageKeys.sessionPage,this.sessionPage.toString()),bt.setItem(this.storageKeys.sessionsList,JSON.stringify(this.sessionsList)),this.app.widgetParams.WIDGET.retentionToolEnabled&&bt.setItem(this.storageKeys.sessionsNumber,this.sessionsByWeek.length.toString())):Object.keys(this.storageKeys).forEach(u=>{bt.removeItem(this.storageKeys[u])})}generateSessionId(){return bt.removeItem(this.storageKeys.sessionTeasersData),Math.round(Date.now()/1e3).toString(16)+"-"+("00000"+Math.round(Math.random()*1e5).toString(16)).slice(-5)}getCurrentTime(){return new Date().getTime()}setTeaserImps(u){this.updateTeaserData(u,"imps")}onClick(u,m){let k=u.getAttribute("data-hash");return this.updateTeaserData(k,"clicks"),!0}updateTeaserData(u,m){if(this.app.servicerData.consent&&this.app.teaserData[u].catId){let k=this.app.teaserData[u].catId;this.sessionTeasersData=JSON.parse(bt.getItem(this.storageKeys.sessionTeasersData)||"[]"),this.sessionTeasersData.some(I=>I.catId===k)?this.sessionTeasersData=this.sessionTeasersData.map(I=>I.catId===k?{...I,[m]:(I[m]||0)+1}:I):this.sessionTeasersData.push({catId:k,[m]:1}),bt.setItem(this.storageKeys.sessionTeasersData,JSON.stringify(this.sessionTeasersData))}}getSessionId(){return this.sessionId||null}},(()=>{let d=typeof Symbol=="function"&&Symbol.metadata?Object.create(t[Symbol.metadata]??null):void 0;i=[Wt],s=[Wt],a=[Wt],p=[Wt],ae(w,null,i,{kind:"method",name:"calculateSessions",static:!1,private:!1,access:{has:u=>"calculateSessions"in u,get:u=>u.calculateSessions},metadata:d},null,e),ae(w,null,s,{kind:"method",name:"sendSessions",static:!1,private:!1,access:{has:u=>"sendSessions"in u,get:u=>u.sendSessions},metadata:d},null,e),ae(w,null,a,{kind:"method",name:"savedSessions",static:!1,private:!1,access:{has:u=>"savedSessions"in u,get:u=>u.savedSessions},metadata:d},null,e),ae(w,null,p,{kind:"method",name:"updateTeaserData",static:!1,private:!1,access:{has:u=>"updateTeaserData"in u,get:u=>u.updateTeaserData},metadata:d},null,e),d&&Object.defineProperty(w,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:d})})(),w})()});var aa={};K(aa,{CalculateViewrateBlock:()=>si});var si,ra=q(()=>{C();B();$();si=class extends G{constructor(t){super(t),this.weekLimit=7*24*60*60*1e3,this.storageKey="_mgViewrate"+this.app.widgetParams.WIDGET.id,this.name="CalculateViewrateBlock",this.app.isAmp()||this.init()}init(){this.topWindow=this.app.getMostTopWindow(),this.currentViewrateId=this.app.utils.generateHash();let t=new Date().getTime();try{if(this.topWindow.localStorage){this.viewrateDataList=(this.topWindow[this.storageKey]||JSON.parse(this.topWindow.localStorage[this.storageKey]||"false")||[]).filter(i=>t-i.st<this.weekLimit);let e={id:this.currentViewrateId,st:t,v:0,r:0};this.viewrateDataList.push(e),this.addHook("afterSendCappingHooks",this.updateViewrates),this.addHook("beforeInjectScriptHooks",this.sendViewrates),this.addHook("afterLoadNewsHooks",this.savedViewrates),this.topWindow.addEventListener("beforeunload",()=>{this.clearEmptyViewrates()})}}catch(e){this.app.log(`${this.name} no localStorage found`,"error",e)}}updateViewrates(){let{views:t,renders:e}=this.app.getViewrateParams();this.viewrateDataList=this.viewrateDataList.map(i=>i.id===this.currentViewrateId?{...i,v:t,r:e}:i),this.savedViewrates()}sendViewrates(){let{v:t,r:e}=this.viewrateDataList.reduce((i,s)=>(i.v=s.v+i.v,i.r=s.r+i.r,i),{v:0,r:0});t>0&&e>0&&(this.app.requestParams.viewrate_1w=`${t},${e}`)}savedViewrates(){this.topWindow[this.storageKey]=this.viewrateDataList,this.app.servicerData.consent?this.topWindow.localStorage[this.storageKey]=JSON.stringify(this.viewrateDataList):this.topWindow.localStorage.removeItem(this.storageKey)}clearEmptyViewrates(){if(this.topWindow.localStorage[this.storageKey]){let t=JSON.parse(this.topWindow.localStorage[this.storageKey]).filter(e=>e.v>0&&e.r>0);this.topWindow.localStorage[this.storageKey]=JSON.stringify(t)}}}});var na={};K(na,{SharedIdBlock:()=>wr});var fr,re,wr,oa=q(()=>{C();B();$();ee();fr=function(w,t,e){for(var i=arguments.length>2,s=0;s<t.length;s++)e=i?t[s].call(w,e):t[s].call(w);return i?e:void 0},re=function(w,t,e,i,s,a){function p(W){if(W!==void 0&&typeof W!="function")throw new TypeError("Function expected");return W}for(var d=i.kind,u=d==="getter"?"get":d==="setter"?"set":"value",m=!t&&w?i.static?w:w.prototype:null,k=t||(m?Object.getOwnPropertyDescriptor(m,i.name):{}),I,T=!1,b=e.length-1;b>=0;b--){var D={};for(var v in i)D[v]=v==="access"?{}:i[v];for(var v in i.access)D.access[v]=i.access[v];D.addInitializer=function(W){if(T)throw new TypeError("Cannot add initializers after decoration has completed");a.push(p(W||null))};var y=(0,e[b])(d==="accessor"?{get:k.get,set:k.set}:k[u],D);if(d==="accessor"){if(y===void 0)continue;if(y===null||typeof y!="object")throw new TypeError("Object expected");(I=p(y.get))&&(k.get=I),(I=p(y.set))&&(k.set=I),(I=p(y.init))&&s.unshift(I)}else(I=p(y))&&(d==="field"?s.unshift(I):k[u]=I)}m&&Object.defineProperty(m,i.name,k),T=!0},wr=(()=>{var w;let t=G,e=[],i,s,a,p;return w=class extends t{constructor(u){super(u),this.waitLimit=(fr(this,e),90*1e3),this.sharedId="",this.storageKey="_mgSharedId",this.name="SharedIdBlock",this.init()}init(){try{this.app.context.localStorage&&(this.detectSharedId(),this.addHook("beforeInjectScriptHooks",this.sendSharedId,1e3,!0))}catch(u){this.app.log(`${this.name} no localStorage found`,"error",u)}}detectSharedId(){let u,m=new Date().getTime();this.findSharedId(),u=setInterval(()=>{if(new Date().getTime()-m>=this.waitLimit){clearInterval(u),this.savedSharedId();return}this.findSharedId()},200),this.app.context.addEventListener("beforeunload",()=>{this.savedSharedId()})}findSharedId(){if(this.sharedId.length)return;let u=kt.getItem("pbjs");if(u){let m=u?.getUserIds();if(m&&Object.keys(m).length){let k=m.pubcid||m.sharedid?.id||"";k.length&&(this.sharedId=k)}}}sendSharedId(){if(this.sharedId.length)this.app.requestParams.sharedId=this.sharedId;else{let u=bt.getItem(this.storageKey);u&&u.length&&(this.app.requestParams.sharedId=u)}}savedSharedId(){this.app.servicerData.consent?this.sharedId.length&&bt.setItem(this.storageKey,this.sharedId):bt.removeItem(this.storageKey)}},(()=>{let d=typeof Symbol=="function"&&Symbol.metadata?Object.create(t[Symbol.metadata]??null):void 0;i=[Wt],s=[Wt],a=[Wt],p=[Wt],re(w,null,i,{kind:"method",name:"detectSharedId",static:!1,private:!1,access:{has:u=>"detectSharedId"in u,get:u=>u.detectSharedId},metadata:d},null,e),re(w,null,s,{kind:"method",name:"findSharedId",static:!1,private:!1,access:{has:u=>"findSharedId"in u,get:u=>u.findSharedId},metadata:d},null,e),re(w,null,a,{kind:"method",name:"sendSharedId",static:!1,private:!1,access:{has:u=>"sendSharedId"in u,get:u=>u.sendSharedId},metadata:d},null,e),re(w,null,p,{kind:"method",name:"savedSharedId",static:!1,private:!1,access:{has:u=>"savedSharedId"in u,get:u=>u.savedSharedId},metadata:d},null,e),d&&Object.defineProperty(w,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:d})})(),w})()});var pa={};K(pa,{RenderClassicBlock:()=>ai});var ai,ca=q(()=>{C();B();$();wt();ai=class extends G{constructor(t){super(t),this.name="RenderClassicBlock",this.expressionMap={"||":e=>{for(let i in e)if(this.expressionParser(e[i]))return!0;return!1},"&&":e=>{for(let i in e)if(!this.expressionParser(e[i]))return!1;return!0},"==":e=>this.expressionParser(e[0])==this.expressionParser(e[1]),"!=":e=>this.expressionParser(e[0])!=this.expressionParser(e[1]),"+":e=>this.expressionParser(e[0])+this.expressionParser(e[1]),"-":e=>this.expressionParser(e[0])-this.expressionParser(e[1]),"*":e=>this.expressionParser(e[0])*this.expressionParser(e[1]),"/":e=>this.expressionParser(e[0])/this.expressionParser(e[1]),"%":e=>this.expressionParser(e[0])%this.expressionParser(e[1])}}setRawTemplate(t){this.templateText=t}getHtml(t){if(t.length===0){this.app.isAmp()&&this.app.context.context.noContentAvailable();return}let e=/(.*)?\{foreach\}(.*)?\{\/foreach\}(.*)?/.exec(this.templateText);if(!e)return;let i=typeof e[1]<"u"?e[1]:"";for(let s=0;s<t.length;s++){let a=this.renderItem(t[s],e[2]);i+=typeof a<"u"?a:""}return i+=typeof e[3]<"u"?e[3]:"",i}expressionParser(t){for(let e in this.expressionMap)if(t.indexOf(e)!==-1)return this.expressionMap[e](t.split(e));return(t||"").replace(/^([\'|\s]+)|([\'|\s]+)$/g,"")}renderItem(t,e){let i=[];i.push("teaser-"+t.id);let s="";if(t.type==Z.Banner){let u=t,m="100%";u.width!=0?m=u.width+"px":typeof this.app.preRenderTeaserSizes[u.iteration-1]<"u"&&(m=this.app.preRenderTeaserSizes[u.iteration-1].width+"px");let k="100%";u.height!=0?k=u.height+"px":typeof this.app.preRenderTeaserSizes[u.iteration-1]<"u"&&(k=this.app.preRenderTeaserSizes[u.iteration-1].height+"px");let I="width: "+m+"; height: "+k+"; border: 0px; margin: auto; overflow: hidden; position: relative;z-index: 1;";s='<iframe id="'+u.id+'" data-hash="'+(u.hash||u.id)+'" scrolling="no" style="'+I+'"></iframe>',i.push("mgline-banner"),this.app.stylesheetsBlock.add("mgline-banner",`.mgline-banner {  display: inline-flex;
  overflow: hidden;
  height: auto;
  background: initial;
  }`)}t.type==Z.Teaser&&t.link.match(/[\?|&]u=/)!=null&&i.push("dsp"),t.coopType!=null&&(i.push("type-"+t.coopType),t.coopType==J.Video&&i.push("vrline"),t.type===Z.Teaser&&t.extd==1&&t.coopType===J.Wages&&i.push("extd")),t.type===Z.Gpt&&(i.push("mgline-gpt"),this.app.stylesheetsBlock.add(`style-${t.id}`,`.mgbox .teaser-${t.id} {
        width: ${t.width?t.width+"px":"100%"};
        height: ${t.height?t.height+"px":"auto"};
        overflow: hidden;
      }`));let a=u=>u&&u.indexOf("//")===0?this.app.webProtocol+u:u,p=t.coopType!=J.Video?this.app.hrefAttr+'="'+this.app.prepareNiceHref(t.hash)+'" data-hash="'+t.hash+'"':"";t.hash==""&&(p=`onclick="return false" ${this.app.hrefAttr}="#"`);let d=[[/\{\*.*?\*\}/,""],[/\{\$href\}/g,p],[/\{\$pmc_item\}/,this.app.id],[/\{\$hash\}/g,t.hash],[/\{\$target\}/g,t.coopType==J.InternalExchange||typeof this.app.servicerData.ats<"u"&&this.app.servicerData.ats?'target="_top"':'target="_blank"'],[/(class\=\".*?)(mgline)([^\"]*\")/,"$1$2 "+i.join(" ")+'$3 data-i="'+(t.hash||t.id)+'"'],[/(class\=\'.*?)(mgline)([^\']*\')/,"$1$2 "+i.join(" ")+'$3 data-i="'+(t.hash||t.id)+'"'],[/\{\$source\}/g,t.type==Z.Teaser?t.source:""],[/\{\$src\}/g,this.app.widgetParams.WIDGET.imageSizeAttributes+' data-i="'+(Z.Teaser?t.id:"")+'" data-src="'+a(Z.Teaser?t.img:"")+'" nopin="nopin"'+((Z.Teaser?t.extd:0)==1?"":" crossOrigin")],[/\{\$title\}/g,this.app.htmlEntities(Z.Teaser?t.title:"")],[/\{\$desc\}/g,this.app.htmlEntities(Z.Teaser?t.desc:"")],[/\{\$iteration\}/g,t.iteration],[/\$iteration/g,t.iteration],[/this\.iteration/g,t.iteration],[/\{\$price\}/g,Z.Teaser?t.price:""],[/\{\$priceold\}/g,Z.Teaser?t.priceold:""],[/\{\$discount\}/g,Z.Teaser?t.discount:""],[/\{if \$price\}/g,"{if '' != "+(Z.Teaser&&t.price?t.price:"''")+"}"],[/\{if !\$price\}/g,"{if '' == "+(Z.Teaser&&t.price?t.price:"''")+"}"],[/\{if \$priceold\}/g,"{if '' != "+(Z.Teaser&&t.priceold?t.priceold:"''")+"}"],[/\{if \$price != " "\}/g,"{if "+(Z.Teaser&&t.price?t.price:"''").trim().length+" != 0}"],[/\{if \$price == " "\}/g,"{if "+(Z.Teaser&&t.price?t.price:"''").trim().length+" == 0}"],[/\$priceold/g,Z.Teaser?t.priceold:""],[/\$price/g,Z.Teaser?t.price:""],[/\{\$banner\}/g,s],[/\{if \$teaser\}/g,"{if '' == '"+s+"'}"],[/\{if \$banner\}/g,"{if '' != '"+s+"'}"],[/\{\$category\}/g,Z.Teaser?t.category:""],[/\{\$cta\}/g,Z.Teaser?t.cta:""],[/\{if \$cta\}/g,"{if '"+(Z.Teaser&&t.cta?t.cta:"''")+"' != ''}"],[/\{if !\$cta\}/g,"{if '"+(Z.Teaser&&t.cta?t.cta:"''")+"' != ''}"],[/\{\$disclaimer\}/g,Z.Teaser?t.cdt:""],[/\{if \$disclaimer\}/g,"{if '"+(Z.Teaser&&t.cdt?t.cdt:"''")+"' != ''}"],[/\{if !\$disclaimer\}/g,"{if '"+(Z.Teaser&&t.cdt?t.cdt:"''")+"' != ''}"],[/\{\$sourceName\}/g,this.app.sourceName]];for(let u=0;u<d.length;u++)e=e.replace(d[u][0],d[u][1]);for(e=e.replace(/\r?\n/g,"");;){let u=e,m=/\{if ([^\}]*?)\}(((?!\{(?:\/)?if).)*)\{\/if\}/g;if(e=e.replace(m,(k,I,T)=>this.expressionParser(I)?T:""),u==e)break}if(t.type==Z.Teaser&&(t.mediaType=="video"||t.img.match(/\.mp4/))){let m=/<img class="mcimg" width="(\d+)" height="(\d+)"/.exec(e),k=m?m[1]+"px;":"100%;",I=m?m[2]+"px;":"100%;";e=e.replace(/<img( class="mcimg[^>]+)/,'<video autoplay loop muted webkit-playsinline playsinline class="mcvideo" $1'),this.app.stylesheetsBlock.add("video",`video.mcvideo { border-style: solid;
  border-color: #ffffff;
  border-width: 0;
  width: 100%;
  height: auto;
  max-width: `+k+`
  max-height: `+I+`
  box-sizing: border-box;
  display: block; }`)}if(t.type==Z.Teaser&&t.extd===1&&this.app.preRenderImageSizes[t.iteration-1]){let u=this.app.preRenderImageSizes[t.iteration-1].width,m=this.app.preRenderImageSizes[t.iteration-1].height;if(m==0||u==0)this.app.debugBlock.sendData("Wrong external image size! Using fallback"),e=e.replace(/<img( class="mcimg")/,'<img class="mcimg mg-wrong-image"');else{let k={width:u+"px !important",height:m+"px !important","object-fit":"cover","-o-object-fit":"cover","object-position":"top","-o-object-position":"top"},I="";Object.keys(k).forEach(T=>{I+=T+":"+k[T]+";"}),e=e.replace(/<img( class="mcimg")/,'<img class="mcimg" style="'+I+'"')}}return e}}});var ha={};K(ha,{ResponsiveBlock:()=>ri});var ri,la=q(()=>{C();B();$();ri=class extends G{constructor(t){super(t),this.name="ResponsiveBlock",this.addHook("afterLoadNewsHooks",this.responsiveInit)}responsiveInit(){this.fixPrices(),setTimeout(()=>{this.fixFlexbox()},100)}fixElementPrice(t){let e=t.getElementsByClassName("mcpriceouter");for(let i=0;i<e.length;i++){let s=e[i].parentNode,a=s.getElementsByClassName("mcpriceold");if(e[i].getBoundingClientRect().bottom>=s.getBoundingClientRect().bottom)for(let p=0;p<a.length;p++)a[p].style.display="none";else for(let p=0;p<a.length;p++)a[p].style.display="inline-block",e[i].getBoundingClientRect().bottom>=s.getBoundingClientRect().bottom&&(a[p].style.display="none")}}fixPrices(){let t=this.app.root.getElementsByClassName("mgline");for(let e=0;e<t.length;e++)(i=>{i.getElementsByClassName("mcpriceouter").length&&this.fixElementPrice(i)})(t[e])}fixFlexbox(){let e=(this.app.context.document.body||this.app.context.document.documentElement).style;if(e.webkitFlexWrap==""||e.msFlexWrap==""||e.flexWrap=="")return!0;let i=this.app.root.getElementsByClassName("mgline");for(let s=0;s<i.length;s++)i[s].style.height="auto";setTimeout(()=>{let s=0,a=0;for(let p=0;p<i.length;p++){let d=i[p].getBoundingClientRect();a=d.bottom-d.top,a>s&&(s=a)}if(a!=0)for(let p=0;p<i.length;p++)i[p].style.height=s+"px";this.fixImages()},0)}fixImages(){setTimeout(()=>{let t=!1,e=this.app.root.getElementsByClassName("mcimg");for(let i=0;i<e.length;i++)if(e[i].tagName=="DIV"){let s=e[i].getBoundingClientRect();s.bottom-s.top<=25&&(t=!0,e[i].style.display="none",function(a){setTimeout(function(){a.style.display="block"},0)}(e[i]))}t&&this.fixFlexbox()},200)}}});var da={};K(da,{ScaleInfoBlock:()=>ni});var ni,ma=q(()=>{C();B();$();ni=class extends G{constructor(t){super(t),this.name="ScaleInfoBlock",this.addHook("afterInitHooks",this.calculateScaleInfo,50)}calculateScaleInfo(t){let e=this.app.context.document.createElement("iframe");e.id="scaleInfo",e.style.display="block",e.style.visibility="hidden",e.style.width="500px",e.style.height="100px",e.style.position="fixed",e.style.bottom="0",e.style.left="-200%",e.style.zIndex="-1",this.app.context.document.body.appendChild(e);let i=s=>{s.data?.id==="scaleInfo"&&(this.app.requestParams.scale_metric_1=s.data.scale_metric_1.toFixed(2),this.app.requestParams.scale_metric_2=s.data.scale_metric_2.toFixed(2),this.app.requestParams.scale_metric_3=s.data.scale_metric_3.toFixed(2),this.app.context.document.body.removeChild(e),this.app.context.removeEventListener("message",i,!1),t())};this.app.context.addEventListener("message",i,!1),e.contentWindow.document.open(),e.contentWindow.document.write(this.app.widgetParams.ASSETS.scaleInfoHtml),e.contentWindow.document.close()}}});var ua={};K(ua,{BrowserTopicsBlock:()=>oi});var oi,xa=q(()=>{C();B();$();oi=class extends G{constructor(t){super(t),this.name="BrowserTopicsBlock",this.addHook("beforeInitHooks",this.init,50)}init(){try{this.isFeatureAvailable()&&this.getTopics()}catch(t){this.app.log(`${this.name} received topics Failed`,"error",t)}}isFeatureAvailable(){return"browsingTopics"in this.app.context.document&&this.app.context.document?.featurePolicy?.allowsFeature("browsing-topics")}getTopics(){this.app.context.document.browsingTopics().then(t=>{t.length&&(this.app.requestParams.topics=t.map(({topic:e})=>e).join(","))})}}});var Lt,ga=q(()=>{C();B();Lt=function(w,t){var e={},i=e.lib={},s=function(){},a=i.Base={extend:function(b){s.prototype=this;var D=new s;return b&&D.mixIn(b),D.hasOwnProperty("init")||(D.init=function(){D.$super.init.apply(this,arguments)}),D.init.prototype=D,D.$super=this,D},create:function(){var b=this.extend();return b.init.apply(b,arguments),b},init:function(){},mixIn:function(b){for(var D in b)b.hasOwnProperty(D)&&(this[D]=b[D]);b.hasOwnProperty("toString")&&(this.toString=b.toString)},clone:function(){return this.init.prototype.extend(this)}},p=i.WordArray=a.extend({init:function(b,D){b=this.words=b||[],this.sigBytes=D!=t?D:4*b.length},toString:function(b){return(b||u).stringify(this)},concat:function(b){var D=this.words,v=b.words,y=this.sigBytes;if(b=b.sigBytes,this.clamp(),y%4)for(var W=0;W<b;W++)D[y+W>>>2]|=(v[W>>>2]>>>24-8*(W%4)&255)<<24-8*((y+W)%4);else if(65535<v.length)for(W=0;W<b;W+=4)D[y+W>>>2]=v[W>>>2];else D.push.apply(D,v);return this.sigBytes+=b,this},clamp:function(){var b=this.words,D=this.sigBytes;b[D>>>2]&=4294967295<<32-8*(D%4),b.length=w.ceil(D/4)},clone:function(){var b=a.clone.call(this);return b.words=this.words.slice(0),b},random:function(b){for(var D=[],v=0;v<b;v+=4)D.push(4294967296*w.random()|0);return new p.init(D,b)}}),d=e.enc={},u=d.Hex={stringify:function(b){var D=b.words;b=b.sigBytes;for(var v=[],y=0;y<b;y++){var W=D[y>>>2]>>>24-8*(y%4)&255;v.push((W>>>4).toString(16)),v.push((W&15).toString(16))}return v.join("")},parse:function(b){for(var D=b.length,v=[],y=0;y<D;y+=2)v[y>>>3]|=parseInt(b.substr(y,2),16)<<24-4*(y%8);return new p.init(v,D/2)}},m=d.Latin1={stringify:function(b){var D=b.words;b=b.sigBytes;for(var v=[],y=0;y<b;y++)v.push(String.fromCharCode(D[y>>>2]>>>24-8*(y%4)&255));return v.join("")},parse:function(b){for(var D=b.length,v=[],y=0;y<D;y++)v[y>>>2]|=(b.charCodeAt(y)&255)<<24-8*(y%4);return new p.init(v,D)}},k=d.Utf8={stringify:function(b){try{return decodeURIComponent(escape(m.stringify(b)))}catch{throw Error("Malformed UTF-8 data")}},parse:function(b){return m.parse(unescape(encodeURIComponent(b)))}},I=i.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new p.init,this._nDataBytes=0},_append:function(b){typeof b=="string"&&(b=k.parse(b)),this._data.concat(b),this._nDataBytes+=b.sigBytes},_process:function(b){var D=this._data,v=D.words,y=D.sigBytes,W=this.blockSize,R=y/(4*W),R=b?w.ceil(R):w.max((R|0)-this._minBufferSize,0);if(b=R*W,y=w.min(4*b,y),b){for(var Q=0;Q<b;Q+=W)this._doProcessBlock(v,Q);Q=v.splice(0,b),D.sigBytes-=y}return new p.init(Q,y)},clone:function(){var b=a.clone.call(this);return b._data=this._data.clone(),b},_minBufferSize:0});i.Hasher=I.extend({cfg:a.extend(),init:function(b){this.cfg=this.cfg.extend(b),this.reset()},reset:function(){I.reset.call(this),this._doReset()},update:function(b){return this._append(b),this._process(),this},finalize:function(b){return b&&this._append(b),this._doFinalize()},blockSize:16,_createHelper:function(b){return function(D,v){return new b.init(v).finalize(D)}},_createHmacHelper:function(b){return function(D,v){return new T.HMAC.init(b,v).finalize(D)}}});var T=e.algo={};return e}(Math);(function(){var w=Lt,t=w.lib.WordArray;w.enc.Base64={stringify:function(e){var i=e.words,s=e.sigBytes,a=this._map;e.clamp(),e=[];for(var p=0;p<s;p+=3)for(var d=(i[p>>>2]>>>24-8*(p%4)&255)<<16|(i[p+1>>>2]>>>24-8*((p+1)%4)&255)<<8|i[p+2>>>2]>>>24-8*((p+2)%4)&255,u=0;4>u&&p+.75*u<s;u++)e.push(a.charAt(d>>>6*(3-u)&63));if(i=a.charAt(64))for(;e.length%4;)e.push(i);return e.join("")},parse:function(e){var i=e.length,s=this._map,a=s.charAt(64);a&&(a=e.indexOf(a),a!=-1&&(i=a));for(var a=[],p=0,d=0;d<i;d++)if(d%4){var u=s.indexOf(e.charAt(d-1))<<2*(d%4),m=s.indexOf(e.charAt(d))>>>6-2*(d%4);a[p>>>2]|=(u|m)<<24-8*(p%4),p++}return t.create(a,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}})();(function(w){function t(I,T,b,D,v,y,W){return I=I+(T&b|~T&D)+v+W,(I<<y|I>>>32-y)+T}function e(I,T,b,D,v,y,W){return I=I+(T&D|b&~D)+v+W,(I<<y|I>>>32-y)+T}function i(I,T,b,D,v,y,W){return I=I+(T^b^D)+v+W,(I<<y|I>>>32-y)+T}function s(I,T,b,D,v,y,W){return I=I+(b^(T|~D))+v+W,(I<<y|I>>>32-y)+T}for(var a=Lt,u=a.lib,p=u.WordArray,d=u.Hasher,u=a.algo,m=[],k=0;64>k;k++)m[k]=4294967296*w.abs(w.sin(k+1))|0;u=u.MD5=d.extend({_doReset:function(){this._hash=new p.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(I,T){for(var b=0;16>b;b++){var D=T+b,v=I[D];I[D]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var b=this._hash.words,D=I[T+0],v=I[T+1],y=I[T+2],W=I[T+3],R=I[T+4],Q=I[T+5],et=I[T+6],lt=I[T+7],ht=I[T+8],st=I[T+9],X=I[T+10],at=I[T+11],ut=I[T+12],ot=I[T+13],Y=I[T+14],ft=I[T+15],A=b[0],_=b[1],O=b[2],H=b[3],A=t(A,_,O,H,D,7,m[0]),H=t(H,A,_,O,v,12,m[1]),O=t(O,H,A,_,y,17,m[2]),_=t(_,O,H,A,W,22,m[3]),A=t(A,_,O,H,R,7,m[4]),H=t(H,A,_,O,Q,12,m[5]),O=t(O,H,A,_,et,17,m[6]),_=t(_,O,H,A,lt,22,m[7]),A=t(A,_,O,H,ht,7,m[8]),H=t(H,A,_,O,st,12,m[9]),O=t(O,H,A,_,X,17,m[10]),_=t(_,O,H,A,at,22,m[11]),A=t(A,_,O,H,ut,7,m[12]),H=t(H,A,_,O,ot,12,m[13]),O=t(O,H,A,_,Y,17,m[14]),_=t(_,O,H,A,ft,22,m[15]),A=e(A,_,O,H,v,5,m[16]),H=e(H,A,_,O,et,9,m[17]),O=e(O,H,A,_,at,14,m[18]),_=e(_,O,H,A,D,20,m[19]),A=e(A,_,O,H,Q,5,m[20]),H=e(H,A,_,O,X,9,m[21]),O=e(O,H,A,_,ft,14,m[22]),_=e(_,O,H,A,R,20,m[23]),A=e(A,_,O,H,st,5,m[24]),H=e(H,A,_,O,Y,9,m[25]),O=e(O,H,A,_,W,14,m[26]),_=e(_,O,H,A,ht,20,m[27]),A=e(A,_,O,H,ot,5,m[28]),H=e(H,A,_,O,y,9,m[29]),O=e(O,H,A,_,lt,14,m[30]),_=e(_,O,H,A,ut,20,m[31]),A=i(A,_,O,H,Q,4,m[32]),H=i(H,A,_,O,ht,11,m[33]),O=i(O,H,A,_,at,16,m[34]),_=i(_,O,H,A,Y,23,m[35]),A=i(A,_,O,H,v,4,m[36]),H=i(H,A,_,O,R,11,m[37]),O=i(O,H,A,_,lt,16,m[38]),_=i(_,O,H,A,X,23,m[39]),A=i(A,_,O,H,ot,4,m[40]),H=i(H,A,_,O,D,11,m[41]),O=i(O,H,A,_,W,16,m[42]),_=i(_,O,H,A,et,23,m[43]),A=i(A,_,O,H,st,4,m[44]),H=i(H,A,_,O,ut,11,m[45]),O=i(O,H,A,_,ft,16,m[46]),_=i(_,O,H,A,y,23,m[47]),A=s(A,_,O,H,D,6,m[48]),H=s(H,A,_,O,lt,10,m[49]),O=s(O,H,A,_,Y,15,m[50]),_=s(_,O,H,A,Q,21,m[51]),A=s(A,_,O,H,ut,6,m[52]),H=s(H,A,_,O,W,10,m[53]),O=s(O,H,A,_,X,15,m[54]),_=s(_,O,H,A,v,21,m[55]),A=s(A,_,O,H,ht,6,m[56]),H=s(H,A,_,O,ft,10,m[57]),O=s(O,H,A,_,et,15,m[58]),_=s(_,O,H,A,ot,21,m[59]),A=s(A,_,O,H,R,6,m[60]),H=s(H,A,_,O,at,10,m[61]),O=s(O,H,A,_,y,15,m[62]),_=s(_,O,H,A,st,21,m[63]);b[0]=b[0]+A|0,b[1]=b[1]+_|0,b[2]=b[2]+O|0,b[3]=b[3]+H|0},_doFinalize:function(){var I=this._data,T=I.words,b=8*this._nDataBytes,D=8*I.sigBytes;T[D>>>5]|=128<<24-D%32;var v=w.floor(b/4294967296);for(T[(D+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,T[(D+64>>>9<<4)+14]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,I.sigBytes=4*(T.length+1),this._process(),I=this._hash,T=I.words,b=0;4>b;b++)D=T[b],T[b]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360;return I},clone:function(){var I=d.clone.call(this);return I._hash=this._hash.clone(),I}}),a.MD5=d._createHelper(u),a.HmacMD5=d._createHmacHelper(u)})(Math);(function(){var w=Lt,i=w.lib,t=i.Base,e=i.WordArray,i=w.algo,s=i.EvpKDF=t.extend({cfg:t.extend({keySize:4,hasher:i.MD5,iterations:1}),init:function(a){this.cfg=this.cfg.extend(a)},compute:function(a,p){for(var I=this.cfg,d=I.hasher.create(),u=e.create(),m=u.words,k=I.keySize,I=I.iterations;m.length<k;){T&&d.update(T);var T=d.update(a).finalize(p);d.reset();for(var b=1;b<I;b++)T=d.finalize(T),d.reset();u.concat(T)}return u.sigBytes=4*k,u}});w.EvpKDF=function(a,p,d){return s.create(d).compute(a,p)}})();Lt.lib.Cipher||function(w){var b=Lt,t=b.lib,e=t.Base,i=t.WordArray,s=t.BufferedBlockAlgorithm,a=b.enc.Base64,p=b.algo.EvpKDF,d=t.Cipher=s.extend({cfg:e.extend(),createEncryptor:function(v,y){return this.create(this._ENC_XFORM_MODE,v,y)},createDecryptor:function(v,y){return this.create(this._DEC_XFORM_MODE,v,y)},init:function(v,y,W){this.cfg=this.cfg.extend(W),this._xformMode=v,this._key=y,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(v){return this._append(v),this._process()},finalize:function(v){return v&&this._append(v),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(v){return{encrypt:function(y,W,R){return(typeof W=="string"?D:T).encrypt(v,y,W,R)},decrypt:function(y,W,R){return(typeof W=="string"?D:T).decrypt(v,y,W,R)}}}});t.StreamCipher=d.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var I=b.mode={},u=function(v,y,W){var R=this._iv;R?this._iv=w:R=this._prevBlock;for(var Q=0;Q<W;Q++)v[y+Q]^=R[Q]},m=(t.BlockCipherMode=e.extend({createEncryptor:function(v,y){return this.Encryptor.create(v,y)},createDecryptor:function(v,y){return this.Decryptor.create(v,y)},init:function(v,y){this._cipher=v,this._iv=y}})).extend();m.Encryptor=m.extend({processBlock:function(v,y){var W=this._cipher,R=W.blockSize;u.call(this,v,y,R),W.encryptBlock(v,y),this._prevBlock=v.slice(y,y+R)}}),m.Decryptor=m.extend({processBlock:function(v,y){var W=this._cipher,R=W.blockSize,Q=v.slice(y,y+R);W.decryptBlock(v,y),u.call(this,v,y,R),this._prevBlock=Q}}),I=I.CBC=m,m=(b.pad={}).Pkcs7={pad:function(v,y){for(var W=4*y,W=W-v.sigBytes%W,R=W<<24|W<<16|W<<8|W,Q=[],et=0;et<W;et+=4)Q.push(R);W=i.create(Q,W),v.concat(W)},unpad:function(v){v.sigBytes-=v.words[v.sigBytes-1>>>2]&255}},t.BlockCipher=d.extend({cfg:d.cfg.extend({mode:I,padding:m}),reset:function(){d.reset.call(this);var y=this.cfg,v=y.iv,y=y.mode;if(this._xformMode==this._ENC_XFORM_MODE)var W=y.createEncryptor;else W=y.createDecryptor,this._minBufferSize=1;this._mode=W.call(y,this,v&&v.words)},_doProcessBlock:function(v,y){this._mode.processBlock(v,y)},_doFinalize:function(){var v=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){v.pad(this._data,this.blockSize);var y=this._process(!0)}else y=this._process(!0),v.unpad(y);return y},blockSize:4});var k=t.CipherParams=e.extend({init:function(v){this.mixIn(v)},toString:function(v){return(v||this.formatter).stringify(this)}}),I=(b.format={}).OpenSSL={stringify:function(v){var y=v.ciphertext;return v=v.salt,(v?i.create([1398893684,1701076831]).concat(v).concat(y):y).toString(a)},parse:function(v){v=a.parse(v);var y=v.words;if(y[0]==1398893684&&y[1]==1701076831){var W=i.create(y.slice(2,4));y.splice(0,4),v.sigBytes-=16}return k.create({ciphertext:v,salt:W})}},T=t.SerializableCipher=e.extend({cfg:e.extend({format:I}),encrypt:function(v,y,W,R){R=this.cfg.extend(R);var Q=v.createEncryptor(W,R);return y=Q.finalize(y),Q=Q.cfg,k.create({ciphertext:y,key:W,iv:Q.iv,algorithm:v,mode:Q.mode,padding:Q.padding,blockSize:v.blockSize,formatter:R.format})},decrypt:function(v,y,W,R){return R=this.cfg.extend(R),y=this._parse(y,R.format),v.createDecryptor(W,R).finalize(y.ciphertext)},_parse:function(v,y){return typeof v=="string"?y.parse(v,this):v}}),b=(b.kdf={}).OpenSSL={execute:function(v,y,W,R){return R||(R=i.random(8)),v=p.create({keySize:y+W}).compute(v,R),W=i.create(v.words.slice(y),4*W),v.sigBytes=4*y,k.create({key:v,iv:W,salt:R})}},D=t.PasswordBasedCipher=T.extend({cfg:T.cfg.extend({kdf:b}),encrypt:function(v,y,W,R){return R=this.cfg.extend(R),W=R.kdf.execute(W,v.keySize,v.ivSize),R.iv=W.iv,v=T.encrypt.call(this,v,y,W.key,R),v.mixIn(W),v},decrypt:function(v,y,W,R){return R=this.cfg.extend(R),y=this._parse(y,R.format),W=R.kdf.execute(W,v.keySize,v.ivSize,y.salt),R.iv=W.iv,T.decrypt.call(this,v,y,W.key,R)}})}();(function(){for(var w=Lt,t=w.lib.BlockCipher,ht=w.algo,e=[],i=[],s=[],a=[],p=[],d=[],u=[],m=[],k=[],I=[],T=[],b=0;256>b;b++)T[b]=128>b?b<<1:b<<1^283;for(var D=0,v=0,b=0;256>b;b++){var y=v^v<<1^v<<2^v<<3^v<<4,y=y>>>8^y&255^99;e[D]=y,i[y]=D;var W=T[D],R=T[W],Q=T[R],et=257*T[y]^16843008*y;s[D]=et<<24|et>>>8,a[D]=et<<16|et>>>16,p[D]=et<<8|et>>>24,d[D]=et,et=16843009*Q^65537*R^257*W^16843008*D,u[y]=et<<24|et>>>8,m[y]=et<<16|et>>>16,k[y]=et<<8|et>>>24,I[y]=et,D?(D=W^T[T[T[Q^W]]],v^=T[T[v]]):D=v=1}var lt=[0,1,2,4,8,16,32,64,128,27,54],ht=ht.AES=t.extend({_doReset:function(){for(var at=this._key,st=at.words,X=at.sigBytes/4,at=4*((this._nRounds=X+6)+1),ut=this._keySchedule=[],ot=0;ot<at;ot++)if(ot<X)ut[ot]=st[ot];else{var Y=ut[ot-1];ot%X?6<X&&ot%X==4&&(Y=e[Y>>>24]<<24|e[Y>>>16&255]<<16|e[Y>>>8&255]<<8|e[Y&255]):(Y=Y<<8|Y>>>24,Y=e[Y>>>24]<<24|e[Y>>>16&255]<<16|e[Y>>>8&255]<<8|e[Y&255],Y^=lt[ot/X|0]<<24),ut[ot]=ut[ot-X]^Y}for(st=this._invKeySchedule=[],X=0;X<at;X++)ot=at-X,Y=X%4?ut[ot]:ut[ot-4],st[X]=4>X||4>=ot?Y:u[e[Y>>>24]]^m[e[Y>>>16&255]]^k[e[Y>>>8&255]]^I[e[Y&255]]},encryptBlock:function(st,X){this._doCryptBlock(st,X,this._keySchedule,s,a,p,d,e)},decryptBlock:function(st,X){var at=st[X+1];st[X+1]=st[X+3],st[X+3]=at,this._doCryptBlock(st,X,this._invKeySchedule,u,m,k,I,i),at=st[X+1],st[X+1]=st[X+3],st[X+3]=at},_doCryptBlock:function(st,X,at,ut,ot,Y,ft,A){for(var H=this._nRounds,mt=st[X]^at[0],Dt=st[X+1]^at[1],Et=st[X+2]^at[2],dt=st[X+3]^at[3],O=4,_=1;_<H;_++)var Rt=ut[mt>>>24]^ot[Dt>>>16&255]^Y[Et>>>8&255]^ft[dt&255]^at[O++],At=ut[Dt>>>24]^ot[Et>>>16&255]^Y[dt>>>8&255]^ft[mt&255]^at[O++],yt=ut[Et>>>24]^ot[dt>>>16&255]^Y[mt>>>8&255]^ft[Dt&255]^at[O++],dt=ut[dt>>>24]^ot[mt>>>16&255]^Y[Dt>>>8&255]^ft[Et&255]^at[O++],mt=Rt,Dt=At,Et=yt;Rt=(A[mt>>>24]<<24|A[Dt>>>16&255]<<16|A[Et>>>8&255]<<8|A[dt&255])^at[O++],At=(A[Dt>>>24]<<24|A[Et>>>16&255]<<16|A[dt>>>8&255]<<8|A[mt&255])^at[O++],yt=(A[Et>>>24]<<24|A[dt>>>16&255]<<16|A[mt>>>8&255]<<8|A[Dt&255])^at[O++],dt=(A[dt>>>24]<<24|A[mt>>>16&255]<<16|A[Dt>>>8&255]<<8|A[Et&255])^at[O++],st[X]=Rt,st[X+1]=At,st[X+2]=yt,st[X+3]=dt},keySize:8});w.AES=t._createHelper(ht)})()});var fa={};K(fa,{AntifraudStatisticsBlock:()=>di});var pi,Ot,Bt,ci,hi,li,di,wa=q(()=>{C();B();ga();$();pi=class{constructor(){this.mousePositions=[],this.lineSegments=[],this.lineIndex=0,this.scrollActive=!1}isLinear(){return this.calculateTotalLength()<10?!1:this.lineSegments.every(t=>{let e=this.mousePositions.slice(t.start,t.end+1);return this.checkLinear(e)})}reset(){this.mousePositions=[],this.lineSegments=[],this.lineIndex=0,this.scrollActive=!1}onMouseMoveHandler(t){this.scrollActive||(this.mousePositions.push({x:t.clientX,y:t.clientY}),this.mousePositions.length>2&&this.checkForNewLineSegment())}onScrollHandler(){this.scrollActive=!0}onScrollEndHandler(){this.scrollActive=!1}checkForNewLineSegment(){let t=this.mousePositions[this.mousePositions.length-2],e=this.mousePositions[this.mousePositions.length-1],i=(e.y-t.y)/(e.x-t.x);if(this.lineSegments[this.lineIndex]){let s=this.mousePositions[this.lineSegments[this.lineIndex].start],a=(t.y-s.y)/(t.x-s.x);Math.abs(i-a)>5?(this.lineSegments[this.lineIndex].end=this.mousePositions.length-2,this.lineSegments.push({start:this.mousePositions.length-1}),this.lineIndex++):this.lineSegments[this.lineIndex].end=this.mousePositions.length-1}else this.lineSegments.push({start:0,end:this.mousePositions.length-1})}checkLinear(t){if(t.length<2)return!0;let e=3,[i,s]=[t[0].x,t[0].y],[a,p]=[t[t.length-1].x,t[t.length-1].y];for(let d=1;d<t.length-1;d++){let[u,m]=[t[d].x,t[d].y];if(Math.abs((p-s)*u-(a-i)*m+a*s-p*i)/Math.sqrt(Math.pow(p-s,2)+Math.pow(a-i,2))>e)return!1}return!0}calculateTotalLength(){let t=0;for(let e=1;e<this.mousePositions.length;e++){let i=this.mousePositions[e-1],s=this.mousePositions[e],a=Math.sqrt(Math.pow(s.x-i.x,2)+Math.pow(s.y-i.y,2));t+=a}return t}},Ot=class{static getClosestDistanceInSquare(t,e){let i=t.x-e.left,s=t.y-e.top,a=e.width-i,p=e.height-s;return Math.min(i,s,a,p)}static getInnerElementPercent(t,e){let i=t.getBoundingClientRect(),s=Math.abs(i.width*i.height),a=i.width,p=i.height;i.top<0&&(p+=i.top),i.left<0&&(a+=i.left);let d=i.top+i.height;e.height<d&&(p-=d-e.height);let u=i.left+i.width;return e.width<u&&(a-=u-e.width),p=p>0?p:0,a=a>0?a:0,a*p*100/s}static findImageElementOfTeaser(t){return t.querySelector("img.mcimg")}static getViewportSize(){return{width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}}static isElementMatches(t,e){return t.matches?t.matches(e):t.msMatchesSelector?t.msMatchesSelector(e):!1}};(function(w){w.Undefined="undefined",w.Click="click",w.Close="close",w.Like="like",w.DsaIconClick="dsaIconClick",w.IntExchange="int_exchange"})(Bt||(Bt={}));ci=class{constructor(){this.action=Bt.Undefined,this.isTabActive=!0,this.clickTime=0,this.lastScrollTime=0,this.lastPageResizeTime=0,this.widgetCoordinateX=0,this.widgetCoordinateY=0,this.tapRadiusX=0,this.tapRadiusY=0,this.isHidden=!1,this.clickToBorderDistance=0,this.teaserCoordinateX=0,this.teaserCoordinateY=0,this.teaserWidth=0,this.teaserHeight=0,this.imageWidth=0,this.imageHeight=0,this.teaserViewportPercent=0,this.widgetOnLoadDisposition=!1,this.clickCoordinateX=0,this.clickCoordinateY=0,this.compileTime=1728239065,this.forbiddenPatternMatches=0,this.widgetType="",this.isLinear=!1,this.isPixalateTriggered=!1,this.isWidgetOverlapped=!1,this.isRefreshedTeaserClicked=!1,this.muidn="",this.referrer="",this.primaryReferrer="",this.snapShot="",this.deepSession=-1,this.gpuAdapterInfoArchitecture="",this.gpuAdapterInfoVendor=""}},hi=class{constructor(t,e,i=[]){this.app=t,this.parameters=e,this.forbiddenPatterns=i,this.linearMovementDetector=new pi}onWidgetLoadEvent(){let t=this.app.root.getBoundingClientRect();this.initialWidgetCoordinates={x:t.left+window.scrollX,y:t.top+window.scrollY},this.setForbiddenPatternMatches()}onContextFocusEvent(){this.parameters.isTabActive=!0,this.setForbiddenPatternMatches()}onContextBlurEvent(){this.parameters.isTabActive=!1,this.setForbiddenPatternMatches()}async onWidgetClickEvent(t,e,i){this.setGPUAdapterData(),this.setWidgetCoordinates(),this.setForbiddenPatternMatches(),this.setClickCoordinates(i),this.setWidgetType(),this.setPrimaryReferrer(),this.setDeepSession(),this.setSnapShot(),this.parameters.action=t,this.parameters.clickTime=this.app.getCurrentTimestamp(),this.parameters.widgetOnLoadDisposition=this.getWidgetDisposition(),this.parameters.referrer=this.app.refererUrl,this.parameters.muidn=this.app.servicerData.muidn;let s=this.app.findClosest(e,"div[data-i]");if(s){let a=s.getBoundingClientRect();this.parameters.isHidden=!s.offsetParent,this.parameters.teaserCoordinateX=a.left,this.parameters.teaserCoordinateY=a.top,this.parameters.teaserWidth=a.width,this.parameters.teaserHeight=a.height,this.parameters.teaserViewportPercent=Ot.getInnerElementPercent(s,Ot.getViewportSize()),this.parameters.isLinear=this.linearMovementDetector.isLinear(),"clientX"in i&&"clientY"in i&&(this.parameters.clickToBorderDistance=Ot.getClosestDistanceInSquare({x:i.clientX,y:i.clientY},a));let p=Ot.findImageElementOfTeaser(s);p&&this.setImageProperties(p)}}setForbiddenPatternMatches(){if(typeof this.app.context.document=="object"&&typeof this.app.context.document.documentElement=="object"){let t=this.countPatternMatchesInElement(this.app.context.document.documentElement,this.forbiddenPatterns);this.parameters.forbiddenPatternMatches<t&&(this.parameters.forbiddenPatternMatches=t)}}onContextMouseMoveEvent(t){if(this.app.getCurrentTimestamp()-this.loadTimestamp>10){this.linearMovementDetector.reset();return}this.linearMovementDetector.onMouseMoveHandler(t)}onContextScrollEvent(){this.parameters.lastScrollTime=this.app.getCurrentTimestamp(),this.linearMovementDetector.onScrollHandler(),this.scrollEndHandler&&clearTimeout(this.scrollEndHandler),this.scrollEndHandler=setTimeout(()=>{this.linearMovementDetector.onScrollEndHandler()},150)}onContextResizeEvent(){this.parameters.lastPageResizeTime=this.app.getCurrentTimestamp()}onRootTouchEndEvent(t){let e=t.changedTouches.item(0);e&&(this.parameters.tapRadiusX=e.radiusX,this.parameters.tapRadiusY=e.radiusY)}setWidgetCoordinates(){let t=this.app.root.getBoundingClientRect();this.parameters.widgetCoordinateX=t.left,this.parameters.widgetCoordinateY=t.top}setImageProperties(t){let e=t.getBoundingClientRect();this.parameters.imageWidth=e.width,this.parameters.imageHeight=e.height}getWidgetDisposition(){return this.parameters.widgetCoordinateX+window.scrollX!==this.initialWidgetCoordinates.x||this.parameters.widgetCoordinateY+window.scrollY!==this.initialWidgetCoordinates.y}setClickCoordinates(t){"clientX"in t&&"clientY"in t?(this.parameters.clickCoordinateX=t.clientX,this.parameters.clickCoordinateY=t.clientY):t.touches&&t.touches[0]&&(this.parameters.clickCoordinateX=t.touches[0].clientX,this.parameters.clickCoordinateY=t.touches[0].clientY)}setWidgetType(){switch(!0){case this.app.getWidgetValue("hasGoodsPart",this.app.widgetParams.WIDGET.hasGoodsPart):this.parameters.widgetType="goods";break;case this.app.getWidgetValue("hasNewsPart",this.app.widgetParams.WIDGET.hasNewsPart):this.parameters.widgetType="news";break;case this.app.getWidgetValue("hasVideoPart",this.app.widgetParams.WIDGET.hasVideoPart):this.parameters.widgetType="video";break;default:this.parameters.widgetType="exchange"}}countPatternMatchesInElement(t,e){let i=t.outerHTML;return e.reduce((s,a)=>{try{let p=new RegExp(a,"gi"),d=i.match(p);if(d)return s+d.length}catch(p){this.app.log(`Error processing pattern "${a}": ${p.message}`)}return s},0)}setPrimaryReferrer(){typeof this.app.cookieBlock.sharedCookieStorage.svspr<"u"&&(this.parameters.primaryReferrer=this.app.cookieBlock.sharedCookieStorage.svspr)}setDeepSession(){typeof this.app.cookieBlock.sharedCookieStorage.svsds<"u"&&(this.parameters.deepSession=this.app.cookieBlock.sharedCookieStorage.svsds)}setSnapShot(){this.app.context.localStorage.getItem("mgSnapShot")!=null&&(this.parameters.snapShot=this.app.context.localStorage.getItem("mgSnapShot"))}async setGPUAdapterData(){if(!this.app.context.navigator.gpu)return;let t=await this.app.context.navigator.gpu.requestAdapter();if(!t)return;let e=await t.requestAdapterInfo();this.parameters.gpuAdapterInfoArchitecture=e.architecture,this.parameters.gpuAdapterInfoVendor=e.vendor}},li=class{constructor(t,e,i,s){this.protocol=t,this.parameters=e,this.client=i,this.app=s}send(t,e){let i=btoa(JSON.stringify({rid:e,showHash:t,parameters:this.getEncodedParameters(t,e)})),s=new Blob([i]);this.client.beaconBlob("antifraud-event-hash",this.protocol+"//"+this.app.widgetParams.WIDGET.countersDomain+"/aws",s,{})}getEncodedParameters(t,e){let i={stringify:function(s){let a={ct:btoa(s.ciphertext.toString())};return s.iv&&(a.iv=s.iv.toString()),s.salt&&(a.s=btoa(s.salt.toString())+Math.random().toString(36).slice(-2)),JSON.stringify(a).replace(/\s/g,"")}};return btoa(Lt.AES.encrypt(JSON.stringify(this.parameters),t+e,{format:i}).toString())}},di=class w extends G{constructor(t){super(t),this.name="AntifraudStatisticsBlock",this.parameters=new ci,this.statistics=new li(this.app.webProtocol,this.parameters,this.app.request,this.app),this.eventHandler=new hi(this.app,this.parameters,Object.keys(this.app.widgetParams.GENERAL.forbiddenPatterns).length?this.app.widgetParams.GENERAL.forbiddenPatterns:[]),this.addHook("afterLoadNewsHooks",this.initAntifraudStatistics.bind(this)),this.app.onAntifraudStatisticsClickHandler=this.clickHandler.bind(this),this.app.addClickHandler(this.app.clickHandlerList.onAntifraudStatisticsClick.handler,this.app.clickHandlerList.onAntifraudStatisticsClick.priority)}setPixalateTriggered(){this.parameters.isPixalateTriggered=!0}setIsWidgetOverlapped(t){this.parameters.isWidgetOverlapped=t}setIsRefreshedTeaserClicked(t){this.parameters.isRefreshedTeaserClicked=t}initAntifraudStatistics(){this.eventHandler.onWidgetLoadEvent(),this.app.addEvent(this.app.context,"focus",()=>this.eventHandler.onContextFocusEvent()),this.app.addEvent(this.app.context,"blur",()=>this.eventHandler.onContextBlurEvent()),this.app.addEvent(this.app.context,"scroll",()=>this.eventHandler.onContextScrollEvent()),this.app.addEvent(this.app.context,"resize",()=>this.eventHandler.onContextResizeEvent()),this.app.addEvent(this.app.context,"mousemove",e=>this.eventHandler.onContextMouseMoveEvent(e)),this.app.addEvent(this.app.root,"touchend",e=>this.eventHandler.onRootTouchEndEvent(e));let t=this.app.root.querySelector("a[data-hash]")?.getAttribute("data-hash");t&&(this.addElementAction(".mgclose-btn",Bt.Close,t),this.addElementAction(".mg-close-button",Bt.Close,t),this.addElementAction(".mg-close-action",Bt.Close,t),this.addElementAction(".mgbtn_media-like",Bt.Like,t),this.addElementAction(".mgdsa-icon",Bt.DsaIconClick,t),this.app.widgetParams.WIDGET.type==="mobile-widget"&&this.app.root&&this.app.addEvent(this.app.root.parentElement,"click",e=>{Ot.isElementMatches(e.target,"#adwidget-close-action")&&this.actionHandler(Bt.Close,e,t)}))}clickHandler(t,e){return this.app.findClosest(t,".type-i")!=null?this.actionHandler(Bt.IntExchange,e,t.getAttribute("data-hash")):this.actionHandler(Bt.Click,e,t.getAttribute("data-hash")),!0}addElementAction(t,e,i){let s=this.app.root.querySelector(t);s&&this.app.addEvent(s,"click",a=>{this.actionHandler(e,a,i)})}actionHandler(t,e,i){this.eventHandler.onWidgetClickEvent(t,this.app.root,e).catch(s=>{this.app.log(`Click Handler name: ${w.name} action: ${t}, error: `,"error",s)}).finally(()=>{this.statistics.send(i,this.app.servicerData.rid)})}}});var va=Xt((Ap,ba)=>{C();B();function M(w,t){var e=ne();return M=function(i,s){i=i-111;var a=e[i];return a},M(w,t)}(function(w,t){for(var e=M,i=w();;)try{var s=-parseInt(e(694))/1*(-parseInt(e(511))/2)+-parseInt(e(570))/3+-parseInt(e(656))/4*(parseInt(e(763))/5)+parseInt(e(145))/6+-parseInt(e(149))/7*(parseInt(e(204))/8)+-parseInt(e(587))/9*(-parseInt(e(118))/10)+-parseInt(e(906))/11;if(s===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(ne,856034);(function(){var w=M,t={494:function(a,p){var d=M,u;u=function(m){var k=M;m.version=k(112),m[k(240)]=function(I,T){var b=k,D=1,v=0,y=I[b(506)],W=0;b(282)==typeof T&&(D=65535&T,v=T>>>16);for(var R=0;R<y;){for(W=Math.min(y-R,2654)+R;R<W;R++)v+=D+=255&I[b(628)](R);D=15*(D>>>16)+(65535&D),v=15*(v>>>16)+(65535&v)}return v%65521<<16|D%65521},m[k(324)]=function(I,T){var b=k,D=1,v=0,y=I.length,W=0;b(282)==typeof T&&(D=65535&T,v=T>>>16&65535);for(var R=0;R<y;){for(W=Math[b(188)](y-R,2654)+R;R<W;R++)v+=D+=255&I[R];D=15*(D>>>16)+(65535&D),v=15*(v>>>16)+(65535&v)}return v%65521<<16|D%65521},m[k(296)]=function(I,T){var b=k,D=1,v=0,y=I[b(506)],W=0,R=0,Q=0;b(282)==typeof T&&(D=65535&T,v=T>>>16);for(var et=0;et<y;){for(W=Math[b(188)](y-et,2918);W>0;)(R=I[b(628)](et++))<128?D+=R:R<2048?(v+=D+=192|R>>6&31,--W,D+=128|63&R):R>=55296&&R<57344?(v+=D+=240|(R=64+(1023&R))>>8&7,--W,v+=D+=128|R>>2&63,--W,v+=D+=128|(Q=1023&I[b(628)](et++))>>6&15|(3&R)<<4,--W,D+=128|63&Q):(v+=D+=224|R>>12&15,--W,v+=D+=128|R>>6&63,--W,D+=128|63&R),v+=D,--W;D=15*(D>>>16)+(65535&D),v=15*(v>>>16)+(65535&v)}return v%65521<<16|D%65521}},d(669)==typeof DO_NOT_EXPORT_ADLER?u(p):u({})}},e={};function i(a){var p=M,d=e[a];if(d!==void 0)return d[p(839)];var u=e[a]={exports:{}};return t[a](u,u[p(839)],i),u[p(839)]}i.n=function(a){var p=M,d=a&&a[p(383)]?function(){var u=p;return a[u(185)]}:function(){return a};return i.d(d,{a:d}),d},i.d=function(a,p){var d=M;for(var u in p)i.o(p,u)&&!i.o(a,u)&&Object[d(152)](a,u,{enumerable:!0,get:p[u]})},i.o=function(a,p){var d=M;return Object[d(705)][d(309)][d(560)](a,p)},i.r=function(a){var p=M;typeof Symbol<"u"&&Symbol.toStringTag&&Object[p(152)](a,Symbol[p(917)],{value:p(245)}),Object.defineProperty(a,p(383),{value:!0})};var s={};(function(){"use strict";var a=M;i.r(s),i.d(s,{AntiFraud:function(){return R},Anura:function(){return _i},AnuraStatus:function(){return fe},Application:function(){return sr},BaseConfiguration:function(){return Q},EventMask:function(){return y},Pixalate:function(){return Gi},Snapshot:function(){return Ya}});var p,d=i(494),u=i.n(d),m=function(){var o=M;function c(){}return c[o(123)]=function(r){var n=o;if(r===null||isNaN(r)||r==="")return"";var h="";r<0&&(h=",",r*=-1);for(var l=parseInt(String(r),10)[n(221)](8),g=Math.ceil(l[n(506)]/2),P=0;P<g;P++){var x=l[n(876)](2*P,2);h+=c.oct2chr(x)}return h},c[o(523)]=function(r){var n=o;r=r.toString(),r=unescape(encodeURIComponent(r));for(var h,l,g,P,x,f,S,E="ABCDEFGHIJKLMNOPQR$TUVWXYZabcde*ghijklmnopqrstuvwxyz0123456789+/=",L="",N=0;N<r[n(506)];)P=(h=r.charCodeAt(N++))>>2,x=(3&h)<<4|(l=r[n(628)](N++))>>4,g=r[n(628)](N++),f=isNaN(l)?64:(15&l)<<2|g>>6,S=isNaN(g)?64:63&g,L+=E[n(557)](P)+E[n(557)](x)+E[n(557)](f)+E[n(557)](S);return L},c[o(373)]=function(r){var n=o;return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcde.ghijklmnopqrstuv0123456789wxyz-_"[n(876)](r,1)},c[o(385)]=function(r){return{"00":"A","01":"B","02":"C","03":"D","04":"E","05":"F","06":"G","07":"H",10:"I",11:"J",12:"K",13:"L",14:"M",15:"N",16:"O",17:"P",20:"Q",21:"R",22:"S",23:"T",24:"U",25:"V",26:"W",27:"X",30:"Y",31:"Z",32:"a",33:"b",34:"c",35:"d",36:"e",37:".",40:"g",41:"h",42:"i",43:"j",44:"k",45:"l",46:"m",47:"n",50:"o",51:"p",52:"q",53:"r",54:"s",55:"t",56:"u",57:"v",60:"0",61:"1",62:"2",63:"3",64:"4",65:"5",66:"6",67:"7",70:"8",71:"9",72:"w",73:"x",74:"y",75:"z",76:"-",77:"_",0:"!",1:"*",2:";",3:":",4:"=",5:"+",6:"$",7:"~"}[r]},c[o(291)]=function(r){var n=o;return u()[n(296)](r)>>>0},c}(),k=function(){var o=M;function c(){}return c[o(258)]=function(r){var n=[];for(var h in r)n.push(h+"="+r[h]);return n.join("&")},c}(),I=function(){var o=M;function c(){}return c[o(821)]=function(r,n,h){var l=o;h===void 0&&(h=!1);var g=r.length;if(g<=n)return r;var P=h?g-n:0,x=h?g:n;return r[l(336)](P,x)},c}(),T=function(){var o=M;function c(){}return c[o(318)]=function(r,n,h){var l=o;r.addEventListener?r[l(834)](n,h,!1):r[l(126)]("on"+n,h)},c.removeEvent=function(r,n,h){var l=o;r[l(302)]?r[l(302)](n,h,!1):r[l(259)]("on"+n,h)},c}(),b=function(){var o=M;function c(r){var n=M;this[n(216)]=r,this[n(220)]=null,this.context=r[n(704)]}return c.prototype.isSessionStorageEnabled=function(){var r=M,n=null;if(r(790)in this[r(704)])try{this[r(704)].sessionStorage.setItem(r(250),1),n=this[r(704)].sessionStorage[r(572)]("svs")}catch{}return n?1:0},c[o(705)][o(922)]=function(){var r=o,n=0;return(this[r(704)][r(486)]||this[r(704)].opr!==void 0)&&(n+=1),(this[r(704)].opera&&this[r(704)][r(486)][r(314)]||this[r(704)][r(556)]!==void 0)&&(n+=2),(this[r(704)][r(202)][r(825)]||this[r(704)][r(193)])&&(n+=4),this[r(704)].btoa&&!this.context[r(811)].msPointerEnabled&&this[r(704)].clearImmediate===void 0||(n+=8),this[r(704)][r(749)]&&(n+=16),this.context.mozInnerScreenX!==void 0&&(n+=32),this[r(704)].external||(n+=64),n},c[o(705)].isJavaEnabled=function(){var r=o;return this[r(704)][r(811)][r(631)]()?1:0},c[o(705)][o(680)]=function(){var r=o,n=0,h=this.context.navigator[r(397)];if(h!==void 0&&h?.[r(327)]==="object")n=1;else if(this.context[r(881)]!==void 0)try{new ActiveXObject(r(424))&&(n=1)}catch{}return n},c.prototype[o(818)]=function(){var r=o;return this[r(704)].navigator[r(621)]?1:0},c.prototype[o(355)]=function(){var r=o,n=null;if(r(172)in this[r(704)])try{this.context[r(172)].setItem(r(250),1),n=this[r(704)][r(172)][r(572)](r(250))}catch{}return n?1:0},c.prototype[o(163)]=function(){var r=o,n=0;return this[r(583)]()&&(n+=1),this[r(680)]()&&(n+=2),this.isCookieEnabled()&&(n+=4),this[r(355)]()&&(n+=8),this[r(340)]()&&(n+=16),this[r(430)]()&&(n+=32),n},c[o(705)][o(430)]=function(){var r=o;return this[r(704)][r(890)]!==void 0},c[o(705)].getRectOfElement=function(r){var n=o,h=-32768,l={top:h,bottom:h,left:h,right:h,height:h,width:h};try{l=r[n(867)]()}catch{return l}var g={top:l.top,bottom:l[n(792)],left:l[n(519)],right:l[n(605)],height:l[n(601)]?l[n(601)]:l.bottom-l.top,width:l[n(364)]?l[n(364)]:l[n(605)]-l[n(519)]};if(this.context.self!==this[n(704)][n(850)]){var P=this[n(241)]();if(P){var x=P.getBoundingClientRect();g[n(850)]+=x[n(850)],g[n(792)]+=x.top,g[n(519)]+=x.left,g[n(605)]+=x[n(519)]}}return g},c[o(705)][o(241)]=function(){var r=o;if(this.topIFrame===void 0)try{var n=void 0,h=void 0;for(h=(n=this.context)[r(275)];n.frameElement;n=n[r(342)])h=n[r(275)];this.topIFrame=h}catch{this.topIFrame=null}return this[r(220)]},c[o(705)][o(427)]=function(r){var n=o,h=0,l=0;return"clientX"in r&&n(624)in r?(h=r[n(684)],l=r[n(624)]):n(528)in r&&r[n(528)]&&r[n(528)][0]&&(h=r[n(528)][0].clientX,l=r[n(528)][0][n(624)]),{x:h,y:l}},c[o(705)][o(757)]=function(r){var n=o,h=0,l=0;return r||(r=this[n(704)].event),n(160)in r&&n(838)in r?(h=r[n(160)],l=r[n(838)]):n(528)in r&&r.touches&&r[n(528)][0]?(h=r.touches[0][n(160)],l=r[n(528)][0][n(838)]):n(684)in r&&n(624)in r&&(h=r[n(684)]+(this[n(704)][n(202)].documentElement[n(912)]||this[n(704)][n(202)][n(257)][n(912)])-this.context[n(202)][n(662)][n(196)],l=r[n(624)]+(this.context[n(202)].documentElement[n(225)]||this[n(704)][n(202)][n(257)].scrollTop)-this[n(704)].document[n(662)].clientTop),{x:h,y:l}},c[o(705)][o(764)]=function(r){var n=o,h=0,l=0;do h+=r[n(874)],l+=r[n(640)],r=r[n(244)];while(r);return{x:h,y:l}},c[o(705)][o(425)]=function(r){var n=o,h=-32768,l=h,g=h;return n(684)in r&&n(624)in r?(l=r[n(684)],g=r.clientY):n(528)in r&&r.touches&&r.touches[0]&&(l=r[n(528)][0][n(684)],g=r[n(528)][0][n(624)]),{x:l,y:g}},c[o(705)][o(882)]=function(r){var n=o;if(this[n(704)][n(713)]){var h=!0,l=0;T.addEvent(this[n(704)],n(565),function(){var g=n;h&&(l++,h=!1,setTimeout(function(){h=!0},1e3)),r(l[g(221)]())})}else r("-1")},c[o(705)][o(688)]=function(r){var n=o,h=-32768,l=h,g=h;return r||(r=this.context.event),n(160)in r&&n(838)in r?(l=r[n(160)],g=r[n(838)]):n(528)in r&&r[n(528)]&&r.touches[0]?(l=r[n(528)][0][n(160)],g=r[n(528)][0][n(838)]):n(684)in r&&"clientY"in r&&(l=r[n(684)]+(this[n(704)][n(202)][n(662)].scrollLeft||this.context.document[n(257)].scrollLeft)-this[n(704)][n(202)][n(662)][n(196)],g=r[n(624)]+(this[n(704)].document[n(662)][n(225)]||this[n(704)][n(202)].body[n(225)])-this[n(704)][n(202)][n(662)][n(679)]),{x:l,y:g}},c[o(705)][o(568)]=function(r){for(var n=o;r[n(418)]&&r[n(418)][n(352)]===1;)r=r[n(418)];for(;r[n(892)]&&r!==this[n(704)].document[n(257)];){if(parseFloat(this.context[n(611)](r)[n(692)]("opacity"))<=.2)return 1;r=r.parentNode}return r!==null&&r!==this[n(704)].document.body&&r[n(741)]()instanceof ShadowRoot?(r=r[n(741)]()[n(610)],this[n(568)](r)):0},c[o(705)][o(900)]=function(){var r=o,n=1;return this.context[r(811)][r(213)]!==void 0&&(n=this.context[r(811)][r(213)]?1:0),n},c[o(705)][o(872)]=function(r){var n=o;this[n(704)][n(811)][n(728)]&&this[n(704)].navigator.getBattery()[n(444)](function(h){var l=n;r(+h[l(761)],100*h[l(426)])})},c[o(705)][o(416)]=function(){var r=o,n=this[r(704)].document[r(534)](r(542));return n.getContext&&n[r(337)]("2d")?1:0},c.prototype[o(471)]=function(){var r=o,n=0;return this[r(704)].screenX!==void 0&&(n=Math[r(591)](this[r(704)][r(711)])),n},c[o(705)][o(369)]=function(){var r=o,n=0;return this[r(704)][r(146)]!==void 0&&(n=Math[r(591)](this.context.screenY)),n},c.prototype[o(575)]=function(r){for(var n=o,h=/\/\/img.*\/[\d]+\/([\d]+).*\.(jpg|gif)/,l=/\/\/s-img.*\/([\d]+)\/.*\.(jpg|gif)/,g=this.config[n(158)][n(641)]("IMG"),P=this.config.root[n(641)](n(270)),x=[],f=0;f<g.length;f++)x.push(g[f]);for(f=0;f<P[n(506)];f++)x.push(P[f]);for(f=0;f<x[n(506)];f++){var S=h[n(462)](x[f][n(363)]);S||(S=l[n(462)](x[f][n(363)])),T.addEvent(x[f],n(919),r)}},c[o(705)][o(627)]=function(){var r=o,n=0;return this[r(704)].navigator.hardwareConcurrency!==void 0&&(n=this[r(704)][r(811)][r(857)]),n},c[o(705)][o(853)]=function(){var r=o,n="";if(this[r(704)][r(811)].plugins!==void 0){for(var h=this[r(704)][r(811)][r(397)],l=[],g=0;g<h[r(506)];g++)l[r(304)](h[g][r(798)]);n=I[r(821)](l[r(381)]("|")[r(463)](/\s/g,""),300)}return n},c.prototype[o(319)]=function(){var r=o,n={networkInformationType:r(636),networkInformationEffectiveType:"unknown",networkInformationSaveData:0};try{var h=this[r(704)][r(811)][r(509)]||this[r(704)].navigator[r(774)]||this[r(704)][r(811)][r(715)];h[r(816)]!==void 0&&(n[r(910)]=h[r(816)]),h[r(515)]!==void 0&&(n[r(249)]=h[r(515)]),h[r(873)]!==void 0&&(n[r(150)]=h[r(873)]?1:0)}catch{}return n},c[o(705)][o(670)]=function(){return new Promise(function(r){for(var n=M,h=performance[n(622)](),l=new Array(5e3),g=0;g<5e3;g++)l[g]=Math[n(546)]();l.sort();var P=performance[n(622)]();r(Math.round(P-h))})},c.prototype[o(635)]=function(){var r=o;return this[r(355)]()&&(n=this[r(704)][r(172)].getItem(r(450)))!==null?n:"";var n},c[o(705)].getStringValueFromLocalStorage=function(r,n){var h=o;if(!this.isLocalStorageEnabled())return n;var l=this[h(704)].localStorage.getItem(r);return this[h(704)][h(172)][h(860)](r),l??n},c[o(705)][o(129)]=function(r,n){var h=o;if(!this[h(355)]())return n;var l=this.context[h(172)][h(572)](r);return this[h(704)][h(172)][h(860)](r),l?parseInt(l):n},c}(),D=function(){var o=M;function c(){var r=M;this.referrers=[],this[r(858)]=[]}return c.prototype.add=function(r,n){var h=M;return this.referrers[h(304)](r),this.sizes[h(304)](n),this},c[o(705)][o(499)]=function(){var r=o,n=this[r(858)][r(399)](function(x,f){return x+f},0);if(this[r(911)][r(399)](function(x,f){return x+f.length},0)<=n)return this[r(911)];for(var h=this[r(747)](),l=h[0],g=h[1],P=h[2];this[r(771)](l););return this[r(311)](l,g,P),l},c[o(705)][o(747)]=function(){for(var r=o,n=[],h=[],l=[],g=0;g<this.referrers[r(506)];g++){var P=this[r(911)][g].length>=8?this[r(911)][g][r(678)]("/",8):-1;P===-1?(n[g]=this[r(911)][g],this[r(911)][g]=""):(n[g]=this.referrers[g].substr(0,P),this[r(911)][g]=this[r(911)][g][r(876)](P)),this[r(858)][g]-=n[g][r(506)]}return h.push.apply(h,n),h[0]===h[1]?l[0]="++":h[0]===h[2]&&(l[0]="::"),h[1]===h[2]&&(l[1]=";;"),[n,h,l]},c[o(705)][o(771)]=function(r){for(var n=o,h=Array(this.referrers[n(506)]).fill(!1),l=!1,g=0;g<this[n(911)].length;g++)if(h[g]||this[n(911)][g][n(506)])h[g]||(l=!0,r[g]+=this[n(911)][g][0],this[n(911)][g]=this.referrers[g].length!==1?this.referrers[g][n(876)](1):"",this[n(858)][g]--,this[n(858)][g]||(h[g]=!0));else{h[g]=!0;var P=this[n(858)][g];this[n(858)][g]=0;var x=h[n(678)](!1);x!==-1&&(this.sizes[x]+=P)}return l},c.prototype[o(311)]=function(r,n,h){var l=o;for(var g in h)l(264)!=typeof r[g]&&(r[g]=""),r[g]=r[g][l(914)](n[g]).join(h[g])},c}();function v(o){var c=M;return v=c(758)==typeof Symbol&&c(415)==typeof Symbol[c(865)]?function(r){return typeof r}:function(r){var n=c;return r&&n(758)==typeof Symbol&&r[n(893)]===Symbol&&r!==Symbol[n(705)]?n(415):typeof r},v(o)}(function(o){var c=M;o[c(178)]=c(178),o[c(432)]="MUST_NOT_EXIST",o[c(207)]=c(207),o[c(518)]=c(518),o[c(730)]="NOT_EQUALS",o[c(793)]=c(793),o[c(127)]="LESS_THAN",o.INCLUDES="INCLUDES",o.EXCLUDES=c(755),o[c(594)]=c(594),o[c(612)]="IS_NOT_NULL",o[c(445)]="IS_TRUE",o[c(473)]=c(473),o[c(888)]=c(888),o[c(475)]=c(475),o.IS_STRING=c(887),o[c(165)]=c(165)})(p||(p={}));var y,W=function(){var o=M;function c(r){var n=M;this[n(216)]=r}return c[o(705)][o(709)]=function(){var r=o,n=this,h={isValid:!0,isDebugPropertyTriggered:!1};return h[r(709)]=this[r(216)][r(783)][r(896)](function(l){var g=r,P,x=l[g(798)],f=l.rule,S=l[g(410)],E=l.is_debug;if(E!==void 0&&E)return h[g(925)]=!0,!0;var L=(x=x.replace(/^window\./,""))[g(914)](".").reduce(function(N,U){return N?N[U]:void 0},n.config[g(704)]);switch(f){case p[g(178)]:return L!==void 0;case p[g(432)]:return L===void 0;case p.REGEX_MATCH:return new RegExp(S)[g(648)](String(L));case p.EQUALS:return L===S;case p[g(730)]:return L!==S;case p[g(793)]:return L>S;case p[g(127)]:return L<S;case p[g(697)]:return L[g(814)](S);case p.EXCLUDES:return!L[g(814)](S);case p[g(594)]:return L===null;case p[g(612)]:return L!==null;case p.IS_TRUE:return L===!0;case p[g(473)]:return L===!1;case p.IS_ARRAY:return Array[g(915)](L);case p[g(475)]:return g(121)===v(L)&&L!==null;case p[g(887)]:return g(264)==typeof L;case p[g(165)]:return g(282)==typeof L;default:return(P=n[g(216)][g(674)])===null||P===void 0||P[g(453)](g(847)[g(690)](f)),!1}}),h},c}();(function(o){var c=M;o[o[c(469)]=0]=c(469),o[o.MouseOver=1]=c(720),o[o.MouseMove=2]="MouseMove",o[o[c(288)]=4]=c(288),o[o[c(478)]=8]=c(478),o[o.MouseDown=16]=c(505),o[o[c(408)]=32]=c(408)})(y||(y={}));var R=function(){var o=M;function c(r){var n=M;this[n(216)]=r,this.miliSecondsFromScroll=null,this[n(712)]="",this[n(806)]="",this[n(360)]="",this[n(548)]=0,this[n(615)]=0,this[n(921)]=0,this[n(654)]="",this[n(514)]="",this[n(134)]="",this.afBrowserFlag=0,this.afPlugins="",this[n(498)]=0,this[n(510)]=-1,this[n(607)]=-1,this[n(608)]="unknown|unknown|0",this.afTimePerformance=-1,this[n(653)]=y[n(469)],this[n(738)]=!0,this[n(480)]=!1,this.isWidgetResized=!1,this[n(362)]=new b(r),this[n(293)]=new W(r)}return c[o(705)][o(756)]=function(){var r=o,n=this;this[r(216)].cookieStorage[r(856)](),this[r(300)](),this.setDeepSession(),this[r(184)](),this.afMgLoaded=new Date().getTime(),this.afBrowserFlag=this[r(362)][r(922)](),this[r(498)]=this[r(362)][r(922)](),this[r(561)]=this.domExtractor.getPlugins();try{var h=this.browserValidator[r(709)]();this.isBrowserValid=h.isValid,this.isDebugBrowserPropertyTriggered=h[r(925)]}catch{this.isBrowserValid=!1}this[r(216)][r(543)]&&this[r(362)][r(670)]()[r(444)](function(l){n.afTimePerformance=l}),this[r(274)]()},c[o(705)][o(235)]=function(r,n,h){var l=o;h===void 0&&(h="");var g=new Date,P=this[l(362)].getCoordsClickOfWindow(r),x=this[l(362)][l(544)](n),f=this[l(362)].isTransparent(n);return this[l(877)](n),this[l(125)](r,n),c[l(384)]({1:m.compressNumber(this[l(738)]?1:0),2:m.compressNumber(this.isDebugBrowserPropertyTriggered?1:0),3:m[l(123)](this[l(615)]),4:m.compressNumber(g[l(389)]()),5:m[l(523)](this[l(362)][l(635)]()),7:m.x64String(P.x+"|"+P.y),8:m.compressNumber(c[l(683)](n,l(878))?1:0),9:m[l(123)](x[l(519)]),10:m[l(123)](this[l(438)]),11:m[l(123)](x[l(850)]),12:m[l(123)](this[l(194)]?1:0),13:m[l(523)](x[l(364)]+"|"+x.height),14:m[l(123)](this[l(362)][l(129)](l(348),-1)),15:m[l(123)](this[l(362)][l(129)](l(784),-1)),16:m[l(523)](this[l(362)][l(564)](l(633),"")),17:m[l(123)](this[l(536)]),18:m[l(123)](this[l(653)]),19:this[l(360)],20:this[l(806)],21:this[l(712)],22:m[l(123)](this[l(548)]),23:m[l(523)](this[l(514)]),24:m[l(523)](this[l(134)]),25:m[l(123)](this[l(377)]),27:m[l(123)](this[l(216)][l(239)]),28:m[l(373)](this[l(362)][l(163)]()),29:m[l(523)](this[l(654)]),30:m[l(123)](this.config.context[l(374)].width),31:m[l(123)](this[l(216)][l(704)][l(374)][l(601)]),33:m[l(123)](this.afImgLoaded),34:m[l(123)](f),35:m.x64String(this[l(216)][l(704)].navigator[l(765)]),36:m.x64String(this[l(561)]),37:m[l(123)](this.domExtractor[l(129)](l(287),0)),38:m[l(523)](this[l(216)][l(704)][l(811)][l(895)]),39:m.x64String(-g.getTimezoneOffset()),40:m[l(523)](this[l(510)]+"|"+this[l(607)]),41:m.x64String(this[l(216)][l(704)][l(374)][l(263)]+"|"+this[l(216)][l(704)][l(374)][l(409)]),42:m.x64String(this[l(608)]),43:m[l(123)](this[l(362)][l(471)]()),44:m[l(123)](this[l(362)][l(369)]()),45:m.compressNumber(this.afBrowserHookMask),46:m[l(123)](m[l(291)](h)),47:m[l(123)](this[l(362)][l(416)]()),48:m[l(123)](this.domExtractor[l(900)]())})},c[o(705)][o(339)]=function(r){var n=o;this[n(653)]=r|this.eventMask},c[o(705)][o(735)]=function(){var r=o,n=this;this[r(362)][r(575)](function(){var h=r;n[h(921)]||(n[h(921)]=new Date()[h(389)]())})},c.prototype.setIsWidgetResize=function(r){var n=o;r===void 0&&(r=!1),this[n(194)]=r},c[o(705)][o(274)]=function(){var r=o,n=this;T[r(318)](this[r(216)][r(704)][r(202)],r(229),function(h){var l=r;h||(h=n[l(216)][l(704)][l(474)]),n[l(216)].context.clearInterval(n[l(691)]),n[l(691)]=n.config[l(704)][l(394)](function(){var g=l;n[g(438)]===null&&(n[g(438)]=0),n[g(438)]++},100)}),this[r(362)].getDeviceOrientation(function(h){var l=r;n[l(134)]=h}),this[r(362)][r(872)](function(h,l){var g=r;n[g(510)]=h,n.afLevel=l})},c.prototype[o(184)]=function(){var r=o,n=this[r(362)][r(319)]();this[r(608)]=[n.networkInformationType,n[r(249)],n[r(150)]][r(381)]("|")},c.prototype[o(125)]=function(r,n){var h=o,l=this[h(362)][h(688)](r),g=this[h(362)].getCoordsElementOfPage(n);this[h(514)]=[l.x,l.y,g.x,g.y].map(function(P){return parseInt(P)}).join("|")},c[o(705)].setCoords=function(r){var n=o,h=this[n(362)][n(544)](r);this[n(654)]=[h[n(601)],h.width,h.left,h.top][n(762)](function(l){return parseInt(l)}).join("|")},c[o(705)].setReferrers=function(){var r=o;this[r(216)].cookieStorage[r(375)][r(253)]===void 0?(this[r(712)]=I[r(821)](this[r(216)].context[r(202)][r(848)],500),this[r(216)][r(442)][r(375)][r(253)]=this.afPrimaryReferrer,this.config[r(442)][r(156)]()):this[r(712)]=this.config.cookieStorage[r(375)][r(253)],this.config[r(704)][r(309)]("referer")?this[r(806)]=this.config[r(704)][r(456)]:this[r(806)]=this[r(216)][r(704)][r(202)][r(848)],this[r(360)]=this[r(216)].context[r(202)].location[r(708)];var n=new D,h=this[r(216)].afShortEnabled?[70,50,50]:[300,300,300],l=n[r(699)](this[r(712)],h[0])[r(699)](this.afReferrer,h[1])[r(699)](this.afHref,h[2])[r(499)]();this[r(712)]=m[r(523)](I[r(821)](l[0],256)),this.afReferrer=m[r(523)](I[r(821)](l[1],256)),this[r(360)]=m[r(523)](I[r(821)](l[2],256))},c[o(705)][o(378)]=function(){var r=o;if(this.config.cookieStorage[r(375)][r(218)]!==void 0){this.afDeepSession=this[r(216)].cookieStorage[r(375)][r(218)];var n=this[r(216)][r(530)]+r(366);this[r(216)][r(704)][n]===void 0&&(this[r(548)]++,this[r(216)][r(704)][n]=!0)}else this[r(548)]=1;this[r(216)].cookieStorage.sharedCookieStorage[r(218)]=this[r(548)],this.config[r(442)][r(156)]()},c[o(683)]=function(r,n){var h=o,l=r[h(313)];if(l==="")return null;for(var g=l[h(463)]("?","")[h(914)]("&"),P=0;P<g[h(506)];P++)if(g[P].split("=")[0]===n)return g[P];return null},c[o(384)]=function(r){var n=o,h="";for(var l in r)h+=parseInt(l)===1?"c":"f",r[n(309)](l)&&(h+=r[l]);var g=m.compressNumber(m[n(291)](h));return encodeURIComponent(h+"("+g)},c}(),Q=function(o){var c=M;this.id=o.id,this[c(530)]=o.modulePrefix,this[c(674)]=o[c(674)],this[c(442)]=o[c(442)],this.context=o.context||window,this[c(158)]=o[c(158)]||window[c(202)],this[c(356)]=o[c(356)]||!1,this.iframePlacementType=o[c(239)]||0,this[c(543)]=o.useTimePerformance||!1,this[c(783)]=o[c(783)]||[]},et=function(){return et=Object.assign||function(o){for(var c=M,r,n=1,h=arguments[c(506)];n<h;n++)for(var l in r=arguments[n])Object[c(705)].hasOwnProperty[c(560)](r,l)&&(o[l]=r[l]);return o},et.apply(this,arguments)};function lt(o,c,r,n){return new(r||(r=Promise))(function(h,l){var g=M;function P(S){try{f(n.next(S))}catch(E){l(E)}}function x(S){var E=M;try{f(n[E(234)](S))}catch(L){l(L)}}function f(S){var E=M,L;S[E(286)]?h(S.value):(L=S[E(500)],L instanceof r?L:new r(function(N){N(L)}))[E(444)](P,x)}f((n=n[g(517)](o,c||[]))[g(588)]())})}function ht(o,c){var r=M,n,h,l,g,P={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return g={next:x(0),throw:x(1),return:x(2)},r(758)==typeof Symbol&&(g[Symbol[r(865)]]=function(){return this}),g;function x(f){return function(S){return function(E){var L=M;if(n)throw new TypeError(L(420));for(;g&&(g=0,E[0]&&(P=0)),P;)try{if(n=1,h&&(l=2&E[0]?h[L(338)]:E[0]?h.throw||((l=h[L(338)])&&l[L(560)](h),0):h[L(588)])&&!(l=l[L(560)](h,E[1])).done)return l;switch(h=0,l&&(E=[2&E[0],l[L(500)]]),E[0]){case 0:case 1:l=E;break;case 4:return P[L(280)]++,{value:E[1],done:!1};case 5:P[L(280)]++,h=E[1],E=[0];continue;case 7:E=P[L(686)].pop(),P[L(333)][L(840)]();continue;default:if(!((l=(l=P.trys).length>0&&l[l.length-1])||E[0]!==6&&E[0]!==2)){P=0;continue}if(E[0]===3&&(!l||E[1]>l[0]&&E[1]<l[3])){P[L(280)]=E[1];break}if(E[0]===6&&P[L(280)]<l[1]){P[L(280)]=l[1],l=E;break}if(l&&P[L(280)]<l[2]){P.label=l[2],P.ops.push(E);break}l[2]&&P[L(686)].pop(),P[L(333)][L(840)]();continue}E=c.call(o,P)}catch(N){E=[6,N],h=0}finally{n=l=0}if(5&E[0])throw E[1];return{value:E[0]?E[1]:void 0,done:!0}}([f,S])}}}function st(o,c,r){var n=M;if(r||arguments.length===2)for(var h,l=0,g=c[n(506)];l<g;l++)!h&&l in c||(h||(h=Array[n(705)][n(317)][n(560)](c,0,l)),h[l]=c[l]);return o[n(690)](h||Array[n(705)][n(317)][n(560)](c))}Object[a(372)],Object[a(372)],typeof SuppressedError=="function"&&SuppressedError;function X(o,c){return new Promise(function(r){return setTimeout(r,o,c)})}function at(o){var c=a;return!!o&&typeof o[c(444)]=="function"}function ut(o,c){var r=a;try{var n=o();at(n)?n[r(444)](function(h){return c(!0,h)},function(h){return c(!1,h)}):c(!0,n)}catch(h){c(!1,h)}}function ot(o,c,r){return r===void 0&&(r=16),lt(this,void 0,void 0,function(){var n,h,l,g;return ht(this,function(P){var x=M;switch(P.label){case 0:n=Array(o[x(506)]),h=Date[x(622)](),l=0,P[x(280)]=1;case 1:return l<o.length?(n[l]=c(o[l],l),(g=Date[x(622)]())>=h+r?(h=g,[4,X(0)]):[3,3]):[3,4];case 2:P[x(461)](),P[x(280)]=3;case 3:return++l,[3,1];case 4:return[2,n]}})})}function Y(o){o.then(void 0,function(){})}function ft(o,c){o=[o[0]>>>16,65535&o[0],o[1]>>>16,65535&o[1]],c=[c[0]>>>16,65535&c[0],c[1]>>>16,65535&c[1]];var r=[0,0,0,0];return r[3]+=o[3]+c[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=o[2]+c[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=o[1]+c[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=o[0]+c[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]}function A(o,c){o=[o[0]>>>16,65535&o[0],o[1]>>>16,65535&o[1]],c=[c[0]>>>16,65535&c[0],c[1]>>>16,65535&c[1]];var r=[0,0,0,0];return r[3]+=o[3]*c[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=o[2]*c[3],r[1]+=r[2]>>>16,r[2]&=65535,r[2]+=o[3]*c[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=o[1]*c[3],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=o[2]*c[2],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=o[3]*c[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=o[0]*c[3]+o[1]*c[2]+o[2]*c[1]+o[3]*c[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]}function H(o,c){return(c%=64)==32?[o[1],o[0]]:c<32?[o[0]<<c|o[1]>>>32-c,o[1]<<c|o[0]>>>32-c]:(c-=32,[o[1]<<c|o[0]>>>32-c,o[0]<<c|o[1]>>>32-c])}function O(o,c){return(c%=64)==0?o:c<32?[o[0]<<c|o[1]>>>32-c,o[1]<<c]:[o[1]<<c-32,0]}function _(o,c){return[o[0]^c[0],o[1]^c[1]]}function Rt(o){return o=_(o,[0,o[0]>>>1]),o=_(o=A(o,[4283543511,3981806797]),[0,o[0]>>>1]),_(o=A(o,[3301882366,444984403]),[0,o[0]>>>1])}function At(o){return parseInt(o)}function yt(o){return parseFloat(o)}function dt(o,c){var r=a;return r(282)==typeof o&&isNaN(o)?c:o}function mt(o){return o.reduce(function(c,r){return c+(r?1:0)},0)}function Dt(o,c){var r=a;if(c===void 0&&(c=1),Math[r(591)](c)>=1)return Math.round(o/c)*c;var n=1/c;return Math[r(255)](o*n)/n}function Et(o){return o&&typeof o=="object"&&"message"in o?o:{message:o}}function qa(o,c,r){var n=a,h=Object[n(168)](o)[n(592)](function(g){return!function(P,x){for(var f=M,S=0,E=P[f(506)];S<E;++S)if(P[S]===x)return!0;return!1}(r,g)}),l=ot(h,function(g){return function(P,x){var f=new Promise(function(S){var E=M,L=Date[E(622)]();ut(P[E(724)](null,x),function(){for(var N=E,U=[],j=0;j<arguments[N(506)];j++)U[j]=arguments[j];var tt=Date[N(622)]()-L;if(!U[0])return S(function(){return{error:Et(U[1]),duration:tt}});var nt=U[1];if(function(ct){return typeof ct!="function"}(nt))return S(function(){return{value:nt,duration:tt}});S(function(){return new Promise(function(ct){var it=M,xt=Date[it(622)]();ut(nt,function(){for(var St=it,Pt=[],Ct=0;Ct<arguments[St(506)];Ct++)Pt[Ct]=arguments[Ct];var _t=tt+Date[St(622)]()-xt;if(!Pt[0])return ct({error:Et(Pt[1]),duration:_t});ct({value:Pt[1],duration:_t})})})})})});return Y(f),function(){var S=M;return f[S(444)](function(E){return E()})}}(o[g],c)});return Y(l),function(){return lt(this,void 0,void 0,function(){var g,P,x,f;return ht(this,function(S){var E=M;switch(S[E(280)]){case 0:return[4,l];case 1:return[4,ot(S[E(461)](),function(L){var N=L();return Y(N),N})];case 2:return g=S[E(461)](),[4,Promise[E(825)](g)];case 3:for(P=S.sent(),x={},f=0;f<h[E(506)];++f)x[h[f]]=P[f];return[2,x]}})})}}function yi(){var o=a,c=window,r=navigator;return mt([o(159)in c,"msSetImmediate"in c,o(525)in c,"msMaxTouchPoints"in r,"msPointerEnabled"in r])>=4}function he(){var o=a,c=window,r=navigator;return mt([o(785)in r,o(130)in r,r.vendor[o(678)](o(820))===0,o(646)in c,"BatteryManager"in c,"webkitMediaStream"in c,o(727)in c])>=5}function zt(){var o=a,c=window,r=navigator;return mt([o(717)in c,"CSSPrimitiveValue"in c,"Counter"in c,r[o(497)][o(678)](o(754))===0,o(672)in r,"WebKitMediaKeys"in c])>=4}function le(){var o=a,c=window;return mt([o(866)in c,!(o(192)in c),!("ongestureend"in c),!(o(815)in navigator)])>=3}function Ua(){var o=a,c=document;return(c.exitFullscreen||c[o(707)]||c[o(301)]||c[o(742)])[o(560)](c)}function Ii(){var o=a,c=he(),r=function(){var h=M,l,g,P=window;return mt([h(576)in navigator,h(737)in((g=(l=document[h(662)])===null||l===void 0?void 0:l[h(577)])!==null&&g!==void 0?g:{}),h(217)in P,"mozInnerScreenX"in P,h(810)in P,h(411)in P])>=4}();if(!c&&!r)return!1;var n=window;return mt([o(549)in n,o(174)in n,c&&!("SharedWorker"in n),r&&/android/i.test(navigator[o(284)])])>=2}function Pi(o){var c=a,r=new Error(o);return r[c(798)]=o,r}function Si(o,c,r){var n,h,l;return r===void 0&&(r=50),lt(this,void 0,void 0,function(){var g,P;return ht(this,function(x){var f=M;switch(x[f(280)]){case 0:g=document,x[f(280)]=1;case 1:return g.body?[3,3]:[4,X(r)];case 2:return x.sent(),[3,1];case 3:P=g[f(534)](f(440)),x[f(280)]=4;case 4:return x.trys.push([4,,10,11]),[4,new Promise(function(S,E){var L=f,N=!1,U=function(){N=!0,S()};P[L(701)]=U,P[L(559)]=function(nt){N=!0,E(nt)};var j=P[L(577)];j[L(368)]("display","block","important"),j[L(310)]=L(306),j.top="0",j[L(519)]="0",j[L(490)]="hidden",c&&L(260)in P?P[L(260)]=c:P[L(363)]=L(723),g.body[L(644)](P);var tt=function(){var nt=L,ct,it;N||(nt(813)===((it=(ct=P.contentWindow)===null||ct===void 0?void 0:ct.document)===null||it===void 0?void 0:it[nt(512)])?U():setTimeout(tt,10))};tt()})];case 5:x[f(461)](),x.label=6;case 6:return!((h=(n=P.contentWindow)===null||n===void 0?void 0:n[f(202)])===null||h===void 0)&&h[f(257)]?[3,8]:[4,X(r)];case 7:return x[f(461)](),[3,6];case 8:return[4,o(P,P.contentWindow)];case 9:return[2,x[f(461)]()];case 10:return(l=P[f(892)])===null||l===void 0||l[f(395)](P),[7];case 11:return[2]}})})}function za(o){for(var c=a,r=function(S){for(var E=M,L,N,U=E(743)[E(690)](S,"'"),j=/^\s*([a-z-]*)(.*)$/i[E(462)](S),tt=j[1]||void 0,nt={},ct=/([.:#][\w-]+|\[.+?\])/gi,it=function(Ct,_t){var Zt=E;nt[Ct]=nt[Ct]||[],nt[Ct][Zt(304)](_t)};){var xt=ct.exec(j[2]);if(!xt)break;var St=xt[0];switch(St[0]){case".":it(E(719),St[E(317)](1));break;case"#":it("id",St.slice(1));break;case"[":var Pt=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(St);if(!Pt)throw new Error(U);it(Pt[1],(N=(L=Pt[4])!==null&&L!==void 0?L:Pt[5])!==null&&N!==void 0?N:"");break;default:throw new Error(U)}}return[tt,nt]}(o),n=r[0],h=r[1],l=document[c(534)](n??"div"),g=0,P=Object[c(168)](h);g<P[c(506)];g++){var x=P[g],f=h[x][c(381)](" ");c(577)===x?$a(l[c(577)],f):l[c(597)](x,f)}return l}function $a(o,c){for(var r=a,n=0,h=c[r(914)](";");n<h[r(506)];n++){var l=h[n],g=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(l);if(g){var P=g[1],x=g[2],f=g[4];o.setProperty(P,x,f||"")}}}var Ht=[a(330),a(115),a(367)],Ti=["sans-serif-thin",a(566),a(186),"Arabic Typesetting",a(769),"AvantGarde Bk BT","BankGothic Md BT",a(780),a(404),a(563),a(671),a(673),a(696),a(537),"Franklin Gothic",a(609),a(812),a(614),a(290),"HELV",a(545),"Helvetica Neue","Humanst521 BT",a(776),a(854),a(230),a(238),"Lucida Sans",a(703),a(285),a(448),"MS Reference Specialty",a(423),a(655),a(358),a(371),a(482),a(267),a(315),a(354),"PMingLiU","Pristina","SCRIPTINA",a(759),a(119),"SimHei",a(891),a(642),"TRAJAN PRO","Univers CE 55 Medium",a(539),a(770)];function de(o){var c=a;return o[c(524)]()}var Jt,me;function ue(){var o=a,c=screen;return[dt(yt(c.availTop),null),dt(yt(c[o(364)])-yt(c[o(263)])-dt(yt(c[o(140)]),0),null),dt(yt(c.height)-yt(c[o(409)])-dt(yt(c[o(918)]),0),null),dt(yt(c[o(140)]),null)]}function xe(o){for(var c=0;c<4;++c)if(o[c])return!1;return!0}function ja(o){var c;return lt(this,void 0,void 0,function(){var r,n,h,l,g,P,x;return ht(this,function(f){var S=M;switch(f[S(280)]){case 0:for(r=document,n=r[S(534)](S(406)),h=new Array(o[S(506)]),l={},Di(n),x=0;x<o[S(506)];++x)S(529)===(g=za(o[x]))[S(698)]&&g.show(),Di(P=r.createElement(S(406))),P[S(644)](g),n.appendChild(P),h[x]=g;f.label=1;case 1:return r[S(257)]?[3,3]:[4,X(50)];case 2:return f[S(461)](),[3,1];case 3:r[S(257)][S(644)](n);try{for(x=0;x<o.length;++x)h[x][S(244)]||(l[o[x]]=!0)}finally{(c=n.parentNode)===null||c===void 0||c[S(395)](n)}return[2,l]}})})}function Di(o){var c=a;o[c(577)].setProperty("display","block","important")}function Ei(o){var c=a;return matchMedia(c(251).concat(o,")"))[c(292)]}function Ci(o){var c=a;return matchMedia("(forced-colors: "[c(690)](o,")"))[c(292)]}function Mt(o){var c=a;return matchMedia(c(579)[c(690)](o,")"))[c(292)]}function Bi(o){var c=a;return matchMedia(c(135).concat(o,")"))[c(292)]}function Wi(o){var c=a;return matchMedia(c(805)[c(690)](o,")"))[c(292)]}var rt=Math,It=function(){return 0},ge={default:[],apple:[{font:a(859)}],serif:[{fontFamily:a(367)}],sans:[{fontFamily:a(115)}],mono:[{fontFamily:a(330)}],min:[{fontSize:a(321)}],system:[{fontFamily:a(246)}]},Ka={fonts:function(){return Si(function(o,c){var r=M,n=c[r(202)],h=n.body;h[r(577)][r(116)]=r(376);var l=n[r(534)](r(406)),g={},P={},x=function(L){var N=r,U=n[N(534)](N(744)),j=U[N(577)];return j[N(310)]=N(306),j[N(850)]="0",j[N(519)]="0",j[N(141)]=L,U[N(837)]="mmMwWLliI0O&1",l[N(644)](U),U},f=Ht.map(x),S=function(){for(var L={},N=function(tt){var nt=M;L[tt]=Ht[nt(762)](function(ct){return function(it,xt){var St=M;return x("'"[St(690)](it,"',")[St(690)](xt))}(tt,ct)})},U=0,j=Ti;U<j.length;U++)N(j[U]);return L}();h.appendChild(l);for(var E=0;E<Ht[r(506)];E++)g[Ht[E]]=f[E][r(451)],P[Ht[E]]=f[E][r(211)];return Ti[r(592)](function(L){var N=r;return U=S[L],Ht[N(902)](function(j,tt){var nt=N;return U[tt][nt(451)]!==g[j]||U[tt][nt(211)]!==P[j]});var U})})},domBlockers:function(o){var c=(o===void 0?{}:o).debug;return lt(this,void 0,void 0,function(){var r,n,h,l,g;return ht(this,function(P){var x=M;switch(P[x(280)]){case 0:return zt()||Ii()?(f=atob,r={abpIndo:[x(739),x(695),"#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',f(x(638))],abpvn:[".quangcao",x(718),f("LmNsb3NlLWFkcw=="),x(748),"#pmadv"],adBlockFinland:[x(443),f(x(682)),".ylamainos",f(x(481)),f(x(279))],adBlockPersian:[x(760),x(295),x(262),"#divAgahi",f(x(722))],adBlockWarningRemoval:[x(767),x(437),x(898),f(x(166)),f(x(199))],adGuardAnnoyances:[x(143),"#cookieconsentdiv",x(808),x(124),x(312)],adGuardBase:[x(386),f("I2FkXzMwMFgyNTA="),f(x(128)),f("I2NhbXBhaWduLWJhbm5lcg=="),f("I0FkLUNvbnRlbnQ=")],adGuardChinese:[f(x(351)),f(x(886)),x(843),f(x(797)),f(x(541))],adGuardFrench:[x(504),f(x(382)),x(155),".widgetadv",f(x(169))],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:[x(540),f(x(809)),f(x(702)),f("LmFkZ29vZ2xl"),f(x(137))],adGuardMobile:[f(x(346)),f(x(643)),x(242),"#mgid_iframe1",f(x(657))],adGuardRussian:[f(x(618)),f(x(781)),x(344),f(x(864)),x(604)],adGuardSocial:[f(x(731)),f(x(832)),".etsy-tweet",x(436),x(307)],adGuardSpanishPortuguese:[x(212),x(819),"#publiEspecial",x(431),x(308)],adGuardTrackingProtection:[x(325),f(x(305)),f(x(801)),f(x(875)),x(117)],adGuardTurkish:[x(421),f(x(851)),f(x(829)),f(x(164)),f(x(751))],bulgarian:[f(x(144)),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[x(299),f(x(181)),f(x(403)),x(894),f(x(846))],easyListChina:[f("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),f(x(602)),"#taotaole",x(227),x(740)],easyListCookie:[x(503),x(139),"[data-cookie-number]",f(x(177)),x(345)],easyListCzechSlovak:[x(228),f(x(265)),f("LnJla2xhbWEtbWVnYWJvYXJk"),x(283),f(x(520))],easyListDutch:[f(x(569)),f(x(379)),x(924),f("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:[x(527),f(x(745)),f(x(508)),f(x(222)),f(x(147))],easyListItaly:[f(x(483)),x(620),f(x(455)),f(x(726)),f("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[f(x(231)),f(x(833)),f(x(664)),f("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),f(x(387))],estonian:[f(x(552))],fanboyAnnoyances:[x(533),x(157),x(554),".newsletter_holder",x(676)],fanboyAntiFacebook:[x(903)],fanboyEnhancedTrackers:[".open.pushModal",x(623),x(916),x(880),x(323)],fanboySocial:[x(775),x(329),x(200),x(322),x(526)],frellwitSwedish:[f("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),f("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),x(182),f(x(252)),"ul.adsmodern"],greekAdBlock:[f(x(904)),f(x(491)),f(x(687)),x(879),x(532)],hungarian:["#cemp_doboz",".optimonk-iframe-container",f(x(479)),f(x(913)),x(581)],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',x(276),x(804),x(721),x(580)],icelandicAbp:[f(x(347))],latvian:[f(x(297)),f(x(650))],listKr:[f(x(133)),f(x(923)),f(x(162)),f("aW5zLmZhc3R2aWV3LWFk"),x(668)],listeAr:[f(x(700)),".right-and-left-sponsers",f(x(884)),f("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),f(x(869))],listeFr:[f("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),f(x(357)),f(x(734)),x(651),x(571)],officialPolish:[x(412),f(x(477)),f(x(334)),f(x(466)),f(x(905))],ro:[f(x(237)),f("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),f("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),f(x(871)),x(908)],ruAd:[f(x(153)),f(x(122)),f(x(273)),x(206),".yandex-rtb-block"],thaiAds:[x(599),f(x(522)),f(x(788)),x(714),x(266)],webAnnoyancesUltralist:[x(316),x(777),f(x(920)),".zergnet-recommend",x(472)]},n=Object.keys(r),[4,ja((g=[]).concat.apply(g,n[x(762)](function(S){return r[S]})))]):[2,void 0];case 1:return h=P[x(461)](),c&&function(S,E){for(var L=x,N=L(907),U=0,j=Object.keys(S);U<j.length;U++){var tt=j[U];N+=`
`[L(690)](tt,":");for(var nt=0,ct=S[tt];nt<ct[L(506)];nt++){var it=ct[nt];N+=L(595)[L(690)](E[it]?"\u{1F6AB}":"\u27A1\uFE0F"," ").concat(it)}}console[L(281)]("".concat(N,L(732)))}(r,h),(l=n[x(592)](function(S){var E=x,L=r[S];return mt(L.map(function(N){return h[N]}))>.6*L[E(506)]}))[x(733)](),[2,l]}var f})})},fontPreferences:function(){var o=a;return c===void 0&&(c=4e3),Si(function(r,n){var h=M,l=n[h(202)],g=l[h(257)],P=g[h(577)];P[h(364)]=""[h(690)](c,"px"),P.webkitTextSizeAdjust=P[h(659)]="none",he()?g[h(577)][h(794)]=""[h(690)](1/n.devicePixelRatio):zt()&&(g[h(577)].zoom=h(550));var x=l[h(534)]("div");return x[h(837)]=st([],Array(c/20|0),!0)[h(762)](function(){var f=h;return f(796)})[h(381)](" "),g[h(644)](x),function(f,S){for(var E=h,L={},N={},U=0,j=Object[E(168)](ge);U<j[E(506)];U++){var tt=j[U],nt=ge[tt],ct=nt[0],it=ct===void 0?{}:ct,xt=nt[1],St=xt===void 0?E(827):xt,Pt=f[E(534)](E(744));Pt[E(837)]=St,Pt[E(577)][E(429)]=E(558);for(var Ct=0,_t=Object[E(168)](it);Ct<_t[E(506)];Ct++){var Zt=_t[Ct],Oi=it[Zt];Oi!==void 0&&(Pt[E(577)][Zt]=Oi)}L[tt]=Pt,S[E(644)](f[E(534)]("br")),S[E(644)](Pt)}for(var we=0,Ri=Object.keys(ge);we<Ri.length;we++)N[tt=Ri[we]]=L[tt].getBoundingClientRect()[E(364)];return N}(l,g)},o(799));var c},audio:function(){var o=a,c=window,r=c[o(458)]||c[o(706)];if(!r)return-2;if(zt()&&!le()&&!function(){var S=o,E=window;return mt([S(114)in E,"RTCPeerConnectionIceEvent"in E,S(617)in E,S(513)in E])>=3}())return-1;var n=new r(1,5e3,44100),h=n[o(772)]();h[o(816)]="triangle",h[o(167)][o(500)]=1e4;var l=n.createDynamicsCompressor();l[o(782)][o(500)]=-50,l[o(359)].value=40,l[o(328)][o(500)]=12,l.attack.value=0,l[o(789)][o(500)]=.25,h[o(209)](l),l[o(209)](n[o(335)]),h[o(460)](0);var g=function(S){var E=function(){};return[new Promise(function(L,N){var U=!1,j=0,tt=0;S.oncomplete=function(it){var xt=M;return L(it[xt(459)])};var nt=function(){var it=M;setTimeout(function(){var xt=M;return N(Pi(xt(247)))},Math[it(188)](500,tt+5e3-Date[it(622)]()))},ct=function(){var it=M;try{var xt=S.startRendering();switch(at(xt)&&Y(xt),S[it(603)]){case it(113):tt=Date[it(622)](),U&&nt();break;case it(289):document[it(132)]||j++,U&&j>=3?N(Pi(it(289))):setTimeout(ct,500)}}catch(St){N(St)}};ct(),E=function(){U||(U=!0,tt>0&&nt())}}),E]}(n),P=g[0],x=g[1],f=P[o(444)](function(S){var E=o;return function(L){for(var N=M,U=0,j=0;j<L[N(506)];++j)U+=Math[N(591)](L[j]);return U}(S[E(634)](0)[E(598)](4500))},function(S){var E=o;if(S[E(798)]==="timeout"||E(289)===S.name)return-3;throw S});return Y(f),function(){return x(),f}},screenFrame:function(){var o=this,c=function(){var r=this;return function(){if(me===void 0){var n=function(){var h=ue();xe(h)?me=setTimeout(n,2500):(Jt=h,me=void 0)};n()}}(),function(){return lt(r,void 0,void 0,function(){var n;return ht(this,function(h){var l=M;switch(h.label){case 0:return xe(n=ue())?Jt?[2,st([],Jt,!0)]:(g=document)[l(926)]||g[l(901)]||g.mozFullScreenElement||g.webkitFullscreenElement?[4,Ua()]:[3,2]:[3,2];case 1:h[l(461)](),n=ue(),h[l(280)]=2;case 2:return xe(n)||(Jt=n),[2,n]}var g})})}}();return function(){return lt(o,void 0,void 0,function(){var r,n;return ht(this,function(h){var l=M;switch(h.label){case 0:return[4,c()];case 1:return r=h[l(461)](),[2,[(n=function(g){return g===null?null:Dt(g,10)})(r[0]),n(r[1]),n(r[2]),n(r[3])]]}})})}},osCpu:function(){var o=a;return navigator[o(272)]},languages:function(){var o=a,c,r=navigator,n=[],h=r.language||r[o(201)]||r[o(191)]||r[o(842)];if(h!==void 0&&n[o(304)]([h]),Array[o(915)](r[o(494)]))he()&&mt([!(o(470)in(c=window)),"RTCEncodedAudioFrame"in c,""+c[o(547)]==o(845),""+c[o(388)]==o(390)])>=3||n[o(304)](r[o(494)]);else if(o(264)==typeof r[o(494)]){var l=r[o(494)];l&&n[o(304)](l[o(914)](","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return dt(yt(navigator.deviceMemory),void 0)},screenResolution:function(){var o=a,c=screen,r=function(h){return dt(At(h),null)},n=[r(c[o(364)]),r(c.height)];return n[o(733)]()[o(836)](),n},hardwareConcurrency:function(){var o=a;return dt(At(navigator[o(857)]),void 0)},timezone:function(){var o=a,c,r=(c=window.Intl)===null||c===void 0?void 0:c[o(465)];if(r){var n=new r()[o(294)]()[o(407)];if(n)return n}var h,l=(h=new Date()[o(606)](),-Math[o(428)](yt(new Date(h,0,1)[o(120)]()),yt(new Date(h,6,1)[o(120)]())));return o(236)[o(690)](l>=0?"+":"").concat(Math[o(591)](l))},sessionStorage:function(){var o=a;try{return!!window[o(790)]}catch{return!0}},localStorage:function(){var o=a;try{return!!window[o(172)]}catch{return!0}},indexedDB:function(){var o=a,c,r;if(!(yi()||(c=window,r=navigator,mt(["msWriteProfilerMark"in c,o(193)in c,o(909)in r,o(256)in r])>=3&&!yi())))try{return!!window[o(639)]}catch{return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){var o=a;return navigator[o(495)]},platform:function(){var o=a,c=navigator.platform;return o(863)===c&&zt()&&!le()?function(){var r=o;if(r(189)===navigator[r(895)])return!0;var n=screen,h=n[r(364)]/n[r(601)];return mt([r(365)in window,!!Element.prototype[r(224)],h>.65&&h<1.53])>=2}()?"iPad":o(660):c},plugins:function(){var o=a,c=navigator[o(397)];if(c){for(var r=[],n=0;n<c.length;++n){var h=c[n];if(h){for(var l=[],g=0;g<h[o(506)];++g){var P=h[g];l.push({type:P[o(816)],suffixes:P[o(248)]})}r.push({name:h[o(798)],description:h.description,mimeTypes:l})}}return r}},canvas:function(){var o=a,c,r,n=!1,h=function(){var x=M,f=document[x(534)]("canvas");return f.width=1,f[x(601)]=1,[f,f[x(337)]("2d")]}(),l=h[0],g=h[1];if(function(x,f){return!(!f||!x.toDataURL)}(l,g)){n=function(x){var f=M;return x[f(136)](0,0,10,10),x[f(136)](2,2,6,6),!x.isPointInPath(5,5,f(380))}(g),function(x,f){var S=M;x.width=240,x[S(601)]=60,f[S(476)]="alphabetic",f.fillStyle=S(849),f[S(553)](100,1,62,20),f[S(750)]=S(752),f[S(630)]='11pt "Times New Roman"';var E="Cwm fjordbank gly "[S(690)](String[S(171)](55357,56835));f[S(586)](E,2,15),f.fillStyle="rgba(102, 204, 0, 0.2)",f[S(630)]=S(800),f[S(586)](E,4,45)}(l,g);var P=de(l);P!==de(l)?c=r=o(649):(r=P,function(x,f){var S=o;x[S(364)]=122,x[S(601)]=110,f.globalCompositeOperation=S(637);for(var E=0,L=[[S(693),40,40],[S(401),80,40],["#ff2",60,80]];E<L[S(506)];E++){var N=L[E],U=N[0],j=N[1],tt=N[2];f.fillStyle=U,f[S(233)](),f[S(501)](j,tt,40,0,2*Math.PI,!0),f[S(516)](),f[S(208)]()}f[S(750)]=S(616),f.arc(60,60,60,0,2*Math.PI,!0),f[S(501)](60,60,20,0,2*Math.PI,!0),f.fill(S(380))}(l,g),c=de(l))}else c=r="";return{winding:n,geometry:c,text:r}},touchSupport:function(){var o=a,c,r=navigator,n=0;r[o(413)]!==void 0?n=At(r[o(413)]):r.msMaxTouchPoints!==void 0&&(n=r.msMaxTouchPoints);try{document.createEvent("TouchEvent"),c=!0}catch{c=!1}return{maxTouchPoints:n,touchEvent:c,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var o=a,c=[],r=0,n=[o(749),o(866),o(502),o(487),"yandex",o(226),o(852),o(562),o(261),o(175),"oprt",o(326),"ucweb",o(582),o(625)];r<n.length;r++){var h=n[r],l=window[h];l&&o(121)==typeof l&&c[o(304)](h)}return c[o(733)]()},cookiesEnabled:function(){var o=a,c=document;try{c.cookie=o(883);var r=c[o(830)][o(678)](o(725))!==-1;return c[o(830)]=o(773),r}catch{return!1}},colorGamut:function(){for(var o=a,c=0,r=[o(786),"p3",o(822)];c<r[o(506)];c++){var n=r[c];if(matchMedia(o(667).concat(n,")"))[o(292)])return n}},invertedColors:function(){var o=a;return!!Ei("inverted")||!Ei(o(419))&&void 0},forcedColors:function(){return!!Ci("active")||!Ci("none")&&void 0},monochrome:function(){var o=a;if(matchMedia(o(689))[o(292)]){for(var c=0;c<=100;++c)if(matchMedia(o(629)[o(690)](c,")"))[o(292)])return c;throw new Error(o(593))}},contrast:function(){var o=a;return Mt(o(398))?0:Mt(o(589))||Mt(o(198))?1:Mt(o(862))||Mt(o(180))?-1:Mt(o(889))?10:void 0},reducedMotion:function(){var o=a;return!!Bi(o(399))||!Bi("no-preference")&&void 0},hdr:function(){var o=a;return!!Wi("high")||!Wi(o(269))&&void 0},math:function(){var o=a,c,r=rt[o(417)]||It,n=rt.acosh||It,h=rt[o(626)]||It,l=rt[o(868)]||It,g=rt[o(195)]||It,P=rt[o(176)]||It,x=rt[o(343)]||It,f=rt.sinh||It,S=rt[o(154)]||It,E=rt[o(489)]||It,L=rt[o(271)]||It,N=rt.tanh||It,U=rt[o(197)]||It,j=rt[o(447)]||It,tt=rt[o(802)]||It;return{acos:r(.12312423423423424),acosh:n(1e308),acoshPf:(c=1e154,rt[o(281)](c+rt.sqrt(c*c-1))),asin:h(.12312423423423424),asinh:l(1),asinhPf:rt.log(1+rt[o(507)](2)),atanh:g(.5),atanhPf:rt[o(281)](3)/2,atan:P(.5),sin:x(-1e300),sinh:f(1),sinhPf:rt[o(197)](1)-1/rt[o(197)](1)/2,cos:S(10.000000000123),cosh:E(1),coshPf:(rt.exp(1)+1/rt[o(197)](1))/2,tan:L(-1e300),tanh:N(1),tanhPf:(rt[o(197)](2)-1)/(rt[o(197)](2)+1),exp:U(1),expm1:j(1),expm1Pf:rt[o(197)](1)-1,log1p:tt(10),log1pPf:rt[o(281)](11),powPI:rt[o(841)](rt.PI,-100)}},videoCard:function(){var o=a,c,r=document[o(534)](o(542)),n=(c=r[o(337)](o(538)))!==null&&c!==void 0?c:r.getContext(o(370));if(n&&o(753)in n){var h=n[o(753)](o(268));if(h)return{vendor:(n[o(681)](h[o(645)])||"")[o(221)](),renderer:(n[o(681)](h.UNMASKED_RENDERER_WEBGL)||"")[o(221)]()}}},pdfViewerEnabled:function(){var o=a;return navigator[o(885)]},architecture:function(){var o=a,c=new Float32Array(1),r=new Uint8Array(c[o(161)]);return c[0]=1/0,c[0]=c[0]-c[0],r[3]}},Ja="";function Li(o){var c=a;return JSON[c(468)](o,function(r,n){var h=c;return n instanceof Error?et({name:(l=n)[h(798)],message:l[h(187)],stack:(g=l[h(349)])===null||g===void 0?void 0:g[h(914)](`
`)},l):n;var l,g},2)}function Ai(o){return function(c,r){var n=M;r=r||0;var h,l=(c=c||"")[n(506)]%16,g=c[n(506)]-l,P=[0,r],x=[0,r],f=[0,0],S=[0,0],E=[2277735313,289559509],L=[1291169091,658871167];for(h=0;h<g;h+=16)f=[255&c[n(628)](h+4)|(255&c[n(628)](h+5))<<8|(255&c.charCodeAt(h+6))<<16|(255&c[n(628)](h+7))<<24,255&c[n(628)](h)|(255&c[n(628)](h+1))<<8|(255&c.charCodeAt(h+2))<<16|(255&c[n(628)](h+3))<<24],S=[255&c[n(628)](h+12)|(255&c[n(628)](h+13))<<8|(255&c[n(628)](h+14))<<16|(255&c[n(628)](h+15))<<24,255&c.charCodeAt(h+8)|(255&c.charCodeAt(h+9))<<8|(255&c[n(628)](h+10))<<16|(255&c[n(628)](h+11))<<24],f=H(f=A(f,E),31),P=ft(P=H(P=_(P,f=A(f,L)),27),x),P=ft(A(P,[0,5]),[0,1390208809]),S=H(S=A(S,L),33),x=ft(x=H(x=_(x,S=A(S,E)),31),P),x=ft(A(x,[0,5]),[0,944331445]);switch(f=[0,0],S=[0,0],l){case 15:S=_(S,O([0,c.charCodeAt(h+14)],48));case 14:S=_(S,O([0,c[n(628)](h+13)],40));case 13:S=_(S,O([0,c[n(628)](h+12)],32));case 12:S=_(S,O([0,c[n(628)](h+11)],24));case 11:S=_(S,O([0,c[n(628)](h+10)],16));case 10:S=_(S,O([0,c[n(628)](h+9)],8));case 9:S=A(S=_(S,[0,c[n(628)](h+8)]),L),x=_(x,S=A(S=H(S,33),E));case 8:f=_(f,O([0,c[n(628)](h+7)],56));case 7:f=_(f,O([0,c[n(628)](h+6)],48));case 6:f=_(f,O([0,c.charCodeAt(h+5)],40));case 5:f=_(f,O([0,c[n(628)](h+4)],32));case 4:f=_(f,O([0,c[n(628)](h+3)],24));case 3:f=_(f,O([0,c[n(628)](h+2)],16));case 2:f=_(f,O([0,c.charCodeAt(h+1)],8));case 1:f=A(f=_(f,[0,c[n(628)](h)]),E),P=_(P,f=A(f=H(f,31),L))}return P=ft(P=_(P,[0,c[n(506)]]),x=_(x,[0,c[n(506)]])),x=ft(x,P),P=ft(P=Rt(P),x=Rt(x)),x=ft(x,P),(n(578)+(P[0]>>>0).toString(16))[n(317)](-8)+(n(578)+(P[1]>>>0)[n(221)](16))[n(317)](-8)+(n(578)+(x[0]>>>0)[n(221)](16))[n(317)](-8)+(n(578)+(x[1]>>>0)[n(221)](16))[n(317)](-8)}(function(c){for(var r=M,n="",h=0,l=Object[r(168)](c).sort();h<l.length;h++){var g=l[h],P=c[g],x=P[r(535)]?"error":JSON[r(468)](P[r(500)]);n+="".concat(n?"|":"")[r(690)](g[r(463)](/([:|\\])/g,"\\$1"),":").concat(x)}return n}(o))}function Za(o){return o===void 0&&(o=50),function(c,r){var n=M;r===void 0&&(r=1/0);var h=window[n(131)];return h?new Promise(function(l){var g=n;return h[g(560)](window,function(){return l()},{timeout:r})}):X(Math[n(188)](c,r))}(o,2*o)}function Xa(o,c){var r=a,n=Date[r(622)]();return{get:function(h){return lt(this,void 0,void 0,function(){var l,g,P;return ht(this,function(x){var f=M;switch(x.label){case 0:return l=Date[f(622)](),[4,o()];case 1:return g=x[f(461)](),P=function(S){var E=f,L,N=function(U){var j=M,tt=function(ct){var it=M;if(Ii())return.4;if(zt())return le()?.5:.3;var xt=ct.platform[it(500)]||"";return/^Win/[it(648)](xt)?.6:/^Mac/.test(xt)?.5:.7}(U),nt=function(ct){return Dt(.99+.01*ct,1e-4)}(tt);return{score:tt,comment:Ja[j(463)](/\$/g,""[j(690)](nt))}}(S);return{get visitorId(){var U=M;return L===void 0&&(L=Ai(this[U(844)])),L},set visitorId(U){L=U},confidence:N,components:S,version:E(768)}}(g),(c||h?.[f(331)])&&console.log(f(138).concat(P[f(835)],f(870)).concat(navigator[f(765)],f(647))[f(690)](l-n,f(391)).concat(P[f(396)],f(729))[f(690)](Li(g),f(732))),[2,P]}})})}}}var fe,Qa={load:function(o){var c=a,r=o===void 0?{}:o,n=r.delayFallback,h=r[c(331)],l=r.monitoring,g=l===void 0||l;return lt(this,void 0,void 0,function(){return ht(this,function(P){var x=M;switch(P[x(280)]){case 0:return g&&(void 0)(),[4,Za(n)];case 1:return P[x(461)](),[2,Xa(qa(Ka,{debug:h},[]),h)]}})})},hashComponents:Ai,componentsToDebugString:Li},Ya=function(){function o(){}return o.generate=function(){return lt(this,void 0,void 0,function(){return ht(this,function(c){var r=M;switch(c[r(280)]){case 0:return[4,Qa[r(919)]({monitoring:!1})];case 1:return[2,c.sent()[r(861)]()]}})})},o}();(function(o){var c=a;o[c(402)]=c(433),o[c(148)]=c(484),o[c(361)]="warn"})(fe||(fe={}));var tr=function(){var o=a;function c(r){var n=M;this.config=r,this[n(405)]=null,this[n(652)]=null,this.config[n(704)]=this.config.context||window,this[n(216)][n(521)]=this[n(216)][n(521)]||890857896}return c[o(705)][o(446)]=function(r){return lt(this,arguments,void 0,function(n,h,l){var g=this;return h===void 0&&(h=""),l===void 0&&(l=!0),ht(this,function(P){var x=M;return[2,new Promise(function(f,S){var E=M;if(g[E(652)]&&l)return f(g[E(652)]);var L={instance:g[E(216)][E(521)],source:n},N=g[E(216)].widgetPrefix+"AnuraCallback";L.callback=N,g.config[E(704)][N]=function(j){var tt=E;return j.getError()||!j[tt(828)]()&&!j[tt(661)]()?S(new Error("Anura response error: "+j[tt(897)]())):f(j)},h!==""&&(L.campaign=h);var U=k[E(258)](L)+"&"+new Date().getTime();g.loadScript(U)[E(488)](S)})[x(444)](function(f){var S=x;return g[S(652)]=f,f})]})})},c[o(705)].fetchStatus=function(r){return lt(this,void 0,void 0,function(){var n,h,l,g=this;return ht(this,function(P){var x=M;return this[x(405)]?[2,this.status]:(n={instance:this[x(216)][x(521)]},(h=r[x(828)]())&&(n.id=encodeURIComponent(h)),(l=r[x(661)]())&&(n[x(807)]=encodeURIComponent(l)),[2,new Promise(function(f,S){var E=x,L=new XMLHttpRequest;L[E(685)](E(831),c[E(584)],!0),L.setRequestHeader(E(795),E(716)),L.onload=function(){var N=E,U;try{U=JSON[N(205)](this[N(422)])}catch{return void S(new Error("Anura response cannot parse: "+this.response))}U[N(652)]?f(U.result):S(new Error(N(791)+this.response))},L.send(k[E(258)](n))})[x(444)](function(f){return g.status=f,f})])})})},c[o(705)][o(590)]=function(r){var n=this;return new Promise(function(h,l){var g=M,P=n[g(216)][g(704)][g(202)][g(534)](g(434));P[g(816)]=g(899),P[g(190)]=!0,P[g(363)]=c[g(278)]+"?"+r,P[g(701)]=function(){return h()},P[g(559)]=function(){var x=g;return l(new Error(x(350)))},n[g(216)][g(704)][g(202)][g(257)][g(644)](P)})},c.REQUEST_URL=o(613),c[o(584)]="https://script.anura.io/result.json",c}(),_i=tr,Gi=function(){var o=a;function c(r){var n=M;this[n(216)]=r,this[n(216)].context=this[n(216)].context||window}return c.prototype[o(446)]=function(r){var n=o,h=this[n(216)].context.document[n(534)]("img"),l={clid:c.MGID,paid:c[n(210)],avid:c[n(353)],caid:c.DEFAULT,plid:r.plid,publisherId:r[n(441)],siteId:r.siteId,kv1:r[n(111)],kv2:window.location[n(708)],kv3:r[n(439)],kv4:c[n(353)],kv5:r.kv5,kv6:r[n(254)]||c.AFRD_CLICK,kv7:r[n(710)],kv11:r[n(665)],kv12:r[n(341)],kv24:this[n(320)]()?c.PLATFORM_MOBILE:c.PLATFORM_DESKTOP,kv27:encodeURIComponent(navigator[n(765)])},g=k[n(258)](l);h[n(363)]=c[n(243)]+"?"+g,this[n(216)][n(704)][n(202)].body.appendChild(h)},c[o(705)][o(320)]=function(){var r=o,n=navigator[r(765)];return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[r(648)](n)},c.URL=o(457),c[o(210)]="mgid",c.DEFAULT="-",c[o(787)]=o(766),c[o(677)]=o(493),c[o(332)]=o(277),c}(),er=function(){var o=a;function c(r){var n=M;this[n(704)]=r}return c[o(705)][o(663)]=function(r,n){var h=o;h(758)==typeof navigator[h(464)]?this[h(464)](r,n):this[h(826)](r,n)},c.prototype.sendImage=function(r,n){var h=o;this[h(704)][h(534)](h(303))[h(363)]=r+"?"+k.buildQueryParams(n)},c[o(705)].sendBeacon=function(r,n){var h=o;try{navigator[h(464)](r+"?"+k[h(258)](n))}catch{this[h(826)](r,n)}},c}(),ir=function(){var o=a;function c(r){var n=M;this[n(442)]={},this.sharedCookieStorage={},this[n(704)]=r[n(704)]||window,this.id=r.id;var h=r.storagePrefix||"Mgid",l=r[n(467)]||n(170),g=this[n(704)][l+n(435)]?this[n(704)][l+n(435)]:"";this[n(454)]=h+n(173)+g}return c[o(705)].getCookie=function(){var r=o,n=this[r(779)]();n[this.id]!==void 0?this[r(442)]=n[this.id]:this.cookieStorage={},n[0]!==void 0?this.sharedCookieStorage=n[0]:this[r(375)]={}},c[o(705)].setCookie=function(){var r=o,n=this.getCookieValue();n[this.id]=this.cookieStorage,n[0]=this[r(375)];var h=encodeURIComponent(JSON.stringify(n));this.context[r(202)][r(830)]=this.storageName+"="+h+r(452)},c.prototype[o(779)]=function(){var r=o,n=this[r(704)][r(202)][r(830)].match(new RegExp(r(151)+this[r(454)]+"=([^;]*)")),h={};if(n)try{h=JSON[r(205)](decodeURIComponent(n[1]))}catch{}return h},c}(),sr=function(){var o=a;function c(r){var n=M;this[n(855)]=r,this[n(596)]="",this[n(214)]=[],this[n(485)]=new R(new Q({id:c.id,modulePrefix:c.modulePrefix,cookieStorage:new ir({id:c.id,context:window}),browserProperties:r[n(783)]})),this[n(567)]=new _i({widgetPrefix:c[n(530)],context:window}),this[n(179)]=new er(window[n(202)]),this[n(183)]=new Gi({context:window})}return c[o(705)][o(555)]=function(){var r=o;this[r(855)][r(632)]&&this.options[r(531)]&&this[r(219)](this[r(855)][r(298)]),this[r(855)][r(600)]&&Object[r(168)](this.options.pixalateData)[r(506)]>0&&this[r(183)][r(446)](this[r(855)][r(600)]),this[r(485)][r(756)](),this[r(666)]()},c[o(705)][o(746)]=function(r,n){var h=o,l=n[h(708)][h(678)]("?k="),g=n[h(708)][h(678)](h(803)),P=n[h(708)].indexOf("?");l!==-1?n[h(708)]=n[h(708)][h(876)](0,l):g!==-1&&(n[h(708)]=n[h(708)][h(876)](0,g)),this.afRealHref=n[h(708)],this.afActiveEl=n,n[h(708)]+=l===-1&&P!==-1?"&":"?";var x=this[h(485)][h(235)](r,n,this[h(855)].showHash);n.href+="k="+this[h(855)][h(823)]+"f"+x,this[h(574)](n,h(392))},c[o(705)].initAntiFraud=function(){var r=o,n=this;this[r(215)](document[r(641)]("a")),setTimeout(function(){var h=r;return n[h(666)]()},750)},c[o(705)][o(215)]=function(r){for(var n=o,h=/(ghits|[prt]+news|nr)/i,l=0;l<r.length;l++){var g=r[l];this[n(214)][n(678)](g)===-1&&h[n(648)](g[n(708)])&&(this[n(214)].push(g),this[n(496)](g,n(658),y[n(505)]),this.bindEvent(g,n(393),y[n(469)]),this[n(496)](g,"mouseover",y[n(720)]),this[n(496)](g,"mousemove",y[n(400)]),this[n(496)](g,n(449),y.TouchStart),this[n(496)](g,n(573),y.TouchEnd),this[n(496)](g,n(736),y[n(408)]))}this[n(485)][n(735)]()},c[o(705)][o(496)]=function(r,n,h){var l=o,g=this;T[l(318)](r,n,function(P){var x=l;return g[x(619)](P,r,h)})},c.prototype.handleLinkEvent=function(r,n,h){var l=o,g=this;if(this.bindAntiFraudParams(r,n),this[l(485)][l(339)](h),h===y[l(469)]){if(this[l(855)][l(632)]){var P=n.getAttribute(l(414))||this[l(855)][l(298)];this.sendAnura(P)}setTimeout(function(){var x=l;return g[x(232)]()},100)}},c[o(705)][o(574)]=function(r,n){var h=o,l=document[h(585)](h(492));l[h(142)](n,!0,!1),l[h(778)]=Date[h(622)](),r.dispatchEvent(l)},c[o(705)].reWriteHref=function(){var r=o;this.afRealHref&&this[r(675)]&&(this.afActiveEl[r(708)]=this[r(596)])},c.prototype[o(219)]=function(r){return lt(this,void 0,void 0,function(){var n,h;return ht(this,function(l){var g=M;switch(l[g(280)]){case 0:return[4,this[g(567)][g(446)](this[g(855)][g(817)],this.options[g(223)])];case 1:return n=l[g(461)](),[4,this[g(567)].fetchStatus(n)];case 2:return h=l[g(461)](),this[g(179)][g(663)](this[g(855)][g(824)]+g(551),{composite:this[g(855)][g(823)],result:h,showHash:r}),[2]}})})},c.modulePrefix="Transit",c.id=o(203),c}()})(),ba[w(839)]=s})();function ne(){var w=["INCLUDES","tagName","add","LmdlbWluaUxCMUFk","onload","Ll9wb3BJbl9pbmZpbml0ZV9hZA==","Menlo","context","prototype","webkitOfflineAudioContext","msExitFullscreen","href","isValid","kv7","screenX","afPrimaryReferrer","DeviceOrientationEvent",".bumq","webkitConnection","application/x-www-form-urlencoded","ApplePayError","#mobileCatfish","class","MouseOver","#cookies-policy-sticky","YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd","about:blank","bind","cookietest=","YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd","webkitSpeechGrammar","getBattery",`
components: `,"NOT_EQUALS","YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0=","\n```","sort","YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0=","setWidgetEvents","focus","MozAppearance","isBrowserValid","#Iklan-Melayang",".cfa_popup","getRootNode","webkitExitFullscreen","Unexpected syntax '","span","LnNwb25zb3JsaW5rZ3J1ZW4=","bindAntiFraudParams","initializeBufferAndDomains",'[id^="bn_bottom_fixed_"]',"chrome","fillStyle","YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==","#069","getExtension","Apple","EXCLUDES","initialize","getCoordinatesClickOfPage","function","Segoe UI Light","#navbar_notice_50","charging","map","5qpTlBF","getCoordsElementOfPage","userAgent","Mobile_Web","#adblock-honeypot","3.4.2","Arial Unicode MS","ZWAdobeF","processReferrers","createOscillator","cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT","mozConnection","#FollowUs","Leelawadee","#social-tools","timeG","getCookieValue","Batang","LnJlY2xhbWE=","threshold","browserProperties","isSupportBlurEvent","webkitPersistentStorage","rec2020","PLATFORM_MOBILE","LmFkczMwMHM=","release","sessionStorage","Anura response wrong schema: ","bottom","GREATER_THAN","zoom","Content-type","word","YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd","name",'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">',"18pt Arial","YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0=","log1p","&k=",".o--cookies--container","(dynamic-range: ","afReferrer","exid",'div[class^="app_gdpr"]',"YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0=","CSSMozDocumentRule","navigator","Futura Md BT","complete","includes","standalone","type","source","isCookieEnabled","#Publicidade","Google","trimString","srgb","composite","sensorDomain","all","sendImage","mmMwWLliI0fiflO&1","getId","YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0=","cookie","POST","YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0=","LnJla2xhbW9zX251b3JvZG9z","addEventListener","version","reverse","textContent","pageY","exports","pop","pow","systemLanguage","#widget-quan","components","[object Intl]","LnNwb25zb3JlZC10ZXh0LWxpbmtz","Unknown rule: ","referrer","#f60","top","I3Jla2xhbWk=","__ybro","getPlugins","Letter Gothic","options","getCookie","hardwareConcurrency","sizes","-apple-system-body","removeItem","get","low","MacIntel","ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd","iterator","safari","getBoundingClientRect","asinh","YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd",`
userAgent: `,"YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd","generateBatteryInfo","saveData","offsetLeft","YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ==","substr","setCoords","wct","DIV.agores300",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',"ActiveXObject","getDeviceOrientation","cookietest=1; SameSite=Strict;","YVtocmVmKj0iLmFmbGFtLmluZm8iXQ==","pdfViewerEnabled","YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd","IS_STRING","IS_ARRAY","forced","ontouchstart","Small Fonts","parentNode","constructor",".textad_headline","platform","every","getError",".wp_adblock_detect","text/javascript","isOnLine","msFullscreenElement","some",".util-bar-module-firefly-visible","QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd","ZGl2I3NrYXBpZWNfYWQ=","6642801BSuyvx","DOM blockers debug:\n```",'a[href^="/url/"]',"msLaunchUri","networkInformationType","referrers","scrollLeft","W2NsYXNzKj0iR29vZ2xlQWRzIl0=","split","isArray","#sovrn_container","toStringTag","availTop","load","LmN0cGwtZnVsbGJhbm5lcg==","afImgLoaded","getBrowserFlag","I2xpdmVyZUFkV3JhcHBlcg==",".adstekst","isDebugPropertyTriggered","fullscreenElement","kv1","1.3.1","running","DOMRectList","sans-serif","fontSize","#top100counter","10sWQGQb","Serifa","getTimezoneOffset","object","YVtocmVmKj0iLy91dGltZy5ydS8iXQ==","compressNumber",".as-oil","setCoordsClickAndLinkOfPage","attachEvent","LESS_THAN","I2Jhbm5lcmZsb2F0MjI=","getNumberValueFromLocalStorage","webkitTemporaryStorage","requestIdleCallback","hidden","YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0=","afDeviceOrientation","(prefers-reduced-motion: ","rect","Ll9faXNib29zdFJldHVybkFk","Copy the text below to get the debug data:\n\n```\nversion: ",".cc-CookieWarning","availLeft","fontFamily","initEvent",".hs-sosyal","dGQjZnJlZW5ldF90YWJsZV9hZHM=","4605960aHCubq","screenY","YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=","Bad","829822MlQIyg","networkInformationSaveData","(?:^|; )","defineProperty","YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd","cos",".mobile_adhesion","setCookie",".navigate-to-top","root","MSCSSMatrix","pageX","buffer","YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ==","groupBitParams","YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd","IS_NUMBER","LmhlYWRlci1ibG9ja2VkLWFk","frequency","keys","LmFkc19iYW4=","MarketGid","fromCharCode","localStorage","Storage","orientation","webkit","atan","LmF3LWNvb2tpZS1iYW5uZXI=","MUST_EXIST","request","less","LndpZGdldF9wb19hZHNfd2lkZ2V0","article.category-samarbete","pixalate","setNetworkInformation","default","Agency FB","message","min","iPad","async","browserLanguage","DeviceMotionEvent","MSStream","isWidgetResized","atanh","clientLeft","exp","more","I2FkX2Jsb2NrZXI=","#social_follow","userLanguage","document","206","24eGaLWx","parse","#pgeldiz","REGEX_MATCH","fill","connect","MGID","offsetHeight","#barraPublicidade","onLine","links","bindEvents","config","onmozfullscreenchange","svsds","sendAnura","topIFrame","toString","I3Jla2xhbWUtcmVjaHRzLW1pdHRl","publisherSource","webkitRequestFullscreen","scrollTop","__yb","#aafoot.top_box","#onlajny-stickers","scroll","Levenim MT","LnJla2xhbW9zX3RhcnBhcw==","reWriteHref","beginPath","throw","generateHash","UTC","YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd","Lucida Bright","iframePlacementType","bstr","getFrameElement",'amp-embed[type="24smi"]',"URL","offsetParent","Module","system-ui","timeout","suffixes","networkInformationEffectiveType","svs","(inverted-colors: ","ZGl2LmhvbGlkQWRz","svspr","kv6","round","msSaveBlob","body","buildQueryParams","detachEvent","srcdoc","__edgeTrackingPreventionStatistics",'TABLE[width="140px"]',"availWidth","string","I3Jla2xhbW5pLWJveA==",".img-kosana","Microsoft Uighur","WEBGL_debug_renderer_info","standard","VIDEO","tan","oscpu","YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0=","setEvents","frameElement",".ModuleTemplateCookieIndicator","afrd_click","REQUEST_URL","YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd","label","log","number",".sklik","appVersion","MS Mincho","done","callToActionClicked","TouchStart","suspended","Gill Sans","adler32","matches","browserValidator","resolvedOptions",".kadr","str","YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0=","showHash",".yb-floorad","setReferrers","mozCancelFullScreen","removeEventListener","IMG","push","YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ==","absolute",".popup-social",".cnt-publi","hasOwnProperty","position","applyReplacements",'[data-cypress="soft-push-notification-modal"]',"search","buildNumber","Minion Pro","#mod-social-share-2","slice","addEvent","getNetwrokInformation","isMobile","1px",".article-sharer",".BlockNag__Card","buf","#qoo-counter","samsungAr","Shockwave Flash","ratio","#meteored_share","monospace","debug","AFRD_CLICK","trys","YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ==","destination","substring","getContext","return","addEventBit","isSessionStorageEnabled","kv12","parent","sin",'div[id^="smi2adblock"]',".sygnal24-gdpr-modal-wrap","YW1wLWF1dG8tYWRz","QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==","isTriggeredBeforeunloadEvent","stack","Failed to load script","LlppX2FkX2FfSA==","nodeType","DEFAULT","Monotype Corsiva","isLocalStorageEnabled","afShortEnabled","I2FkY29udGFpbmVyX3JlY2hlcmNoZQ==","MYRIAD PRO","knee","afHref","Warn","domExtractor","src","width","MediaSource","SvsdsFlag","serif","setProperty","getScreenY","experimental-webgl","Marlett","create","dec2chr","screen","sharedCookieStorage","48px","afTimePerformance","setDeepSession","I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw==","evenodd","join","LmFkLWRlc2t0b3AtcmVjdGFuZ2xl","__esModule","encodeParameters","oct2chr",".BetterJsPopOverlay","aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd","Reflect","getTime","[object Reflect]",`
visitorId: `,"generated","mouseup","setInterval","removeChild","visitorId","plugins","no-preference","reduce","MouseMove","#2ff","Good","LnRyYWZmaWNqdW5reS1hZA==","Bitstream Vera Sans Mono","status","div","timeZone","Focus","availHeight","rule_value","CanvasCaptureMediaStream","#ceneo-placeholder-ceneo-12","maxTouchPoints","data-hash","symbol","isSupportHtml5","acos","firstChild","none","Generator is already executing.","#backkapat","response","MS UI Gothic","ShockwaveFlash.ShockwaveFlash","getCoordsClickOfWindow","level","getCoordinatesClickOfWindow","max","whiteSpace","isTouchStart","#queTooltip","MUST_NOT_EXIST","good","script","PageOffset","#inlineShare",".adblocker-root","miliSecondsFromScroll","kv3","iframe","publisherId","cookieStorage",".mainostila","then","IS_TRUE","send","expm1","MS Outlook","touchstart","mgSnapShot","offsetWidth",";path=/","sendData","storageName","YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd","referer","https://adrta.com/i","OfflineAudioContext","renderedBuffer","start","sent","exec","replace","sendBeacon","DateTimeFormat","YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ==","informerPrefix","stringify","MouseUp","MediaSettingsRange","getScreenX",".yt.btn-link.btn-md.btn","IS_FALSE","event","IS_OBJECT","textBaseline","W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd","TouchEnd","LmFkX19tYWlu","isDebugBrowserPropertyTriggered","YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd","Meiryo UI","LmJveF9hZHZfYW5udW5jaQ==","bad","app","opera","__gCrWeb","catch","cosh","visibility","QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ==","Events","Desktop","languages","cpuClass","bindEvent","vendor","afBrowserHookMask","pack","value","arc","__crWeb",".ezmob-footer","#pavePub","MouseDown","length","sqrt","I3dlcmJ1bmdza3k=","connection","afCharging","412442YbLhmA","readyState","ontransitioncancel","afCoordsClickAndLinkOfPage","effectiveType","closePath","apply","EQUALS","left","W2lkXj0ic2tsaWtSZWtsYW1hIl0=","instance","I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA==","x64String","toDataURL","msIndexedDB",".community__social-desc","#SSpotIMPopSlider","touches","DIALOG","modulePrefix","sendAnuraAtLoad","TABLE.advright","#ac-lre-player","createElement","error","afBrowserFlag","EUROSTILE","webgl","Vrinda","#kauli_yad_1","YVtocmVmKj0iLjE5NTZobC5jb20vIl0=","canvas","useTimePerformance","getRectOfElement","Haettenschweiler","random","Intl","afDeepSession","onorientationchange","reset","/anura","QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==","fillRect","#subscribe_popup","run","opr","charAt","nowrap","onerror","call","afPlugins","__firefox__","Calibri","getStringValueFromLocalStorage","deviceorientation","ARNO PRO","anura","isTransparent","I2FkdmVydGVudGll","3370212EbVokW",'div[id^="crt-"][data-criteo-id]',"getItem","touchend","dispatchAntifraudHashEvent","onAnyImageLoaded","buildID","style","00000000","(prefers-contrast: ","#stickyCookieBar","#hirdetesek_box","UCShellJava","isJavaEnabled","RESULT_URL","createEvent","fillText","8879103CpiYWE","next","high","loadScript","abs","filter","Too high value","IS_NULL",`
  `,"afRealHref","setAttribute","subarray","a[href*=macau-uta-popup]","pixalateData","height","LmZyb250cGFnZUFkdk0=","state","#psyduckpockeball","right","getFullYear","afLevel","networkInformation","Futura Bk BT","host","getComputedStyle","IS_NOT_NULL","https://script.anura.io/request.js","GOTHAM","afMgLoaded","#f9c","SVGGeometryElement","YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0=","handleLinkEvent",".sb-box-pubbliredazionale","cookieEnabled","now","#issuem-leaky-paywall-articles-zero-remaining-nag","clientY","puffinDevice","asin","getHardwareConcurrency","charCodeAt","(max-monochrome: ","font","javaEnabled","anuraEnabled","transitionType","getChannelData","getSnapShot","unknown","multiply","I0JveC1CYW5uZXItYWRz","indexedDB","offsetTop","getElementsByTagName","Staccato222 BT","LmFtcF9hZA==","appendChild","UNMASKED_VENDOR_WEBGL","webkitResolveLocalFileSystemURL",`
timeBetweenLoadAndGet: `,"test","unstable","YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==",".site-pub-interstitiel","result","eventMask","afCoords","MT Extra","1035228euQCqj","I2FkX2ludmlld19hcmVh","mousedown","textSizeAdjust","iPhone","getExId","documentElement","beacon","aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd","kv11","initAntiFraud","(color-gamut: ",".revenue_unit_item.dable","undefined","getTimePerformance","Century","getStorageUpdates","Century Gothic","logger","afActiveEl","#back-top","PLATFORM_DESKTOP","indexOf","clientTop","isFlashEnabled","getParameter","LnNwb25zb3JpdA==","getParameterFromLink","clientX","open","ops","QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd","getCoordsClickOfPage","(min-monochrome: 0)","concat","timerFromScroll","getPropertyValue","#f2f","7GZNDgV","#Kolom-Iklan-728","Clarendon"];return ne=function(){return w},ne()}});var ka={};K(ka,{AntifraudBlock:()=>mi});var vt,mi,ya=q(()=>{C();B();$();vt=Qt(va());wt();mi=class extends G{constructor(t){super(t),this.anuraRequestHasBeenSent=!1,this.pixalateRequestHasBeenSent=!1,this.doSaveResizeWidget=!1,this.name="AntifraudBlock",this.addHook("beforeInitHooks",this.beforeInitHook.bind(this)),this.addHook("afterLoadNewsHooks",this.afterLoadNewsHook.bind(this)),this.addHook("afterInitHooks",this.afterInitHook.bind(this)),this.addHook("afterSendCappingHooks",this.afterSendCappingHooks.bind(this))}getAntifraudParams(t,e){if(this.app.allowReturnParams===!1)return"";e=e||this.app.context.document.createElement("A"),t=t||this.app.context.document.createEvent("MouseEvent");let i=e["data-hash"]||e.getAttribute("data-hash")||"";return this.antifraud.generateHash(t,e,i)}async sendAnuraRequest(t,e){this.anuraRequestHasBeenSent=!0;let i=await this.anura.send(String(this.getSourceId(t)),e),s=await this.anura.fetchStatus(i),a={composite:this.app.getWidgetValue("id",this.app.getWidgetValue("id",this.app.widgetParams.WIDGET.id)),result:s,showHash:t};return this.app.request.beacon(`anura#${t}#${e}`,"https://"+this.app.getWidgetValue("countersDomain",this.app.widgetParams.WIDGET.countersDomain)+"/anura",[`composite=${a.composite}`,`result=${a.result}`,`showHash=${a.showHash}`],{unique:!0}),s}beforeInitHook(){this.initSnapShot();let t=this.app.getWidgetValue("id",this.app.widgetParams.WIDGET.id),e=this.app.getWidgetValue("informerPrefix",this.app.widgetParams.WIDGET.informerPrefix),i=this.app.getWidgetValue("loggerEnabled",this.app.widgetParams.WIDGET.loggerEnabled)?this.app.context[e+"InfC"+t+"Logger"]:null,s=new vt.BaseConfiguration({logger:i,afShortEnabled:!!this.app.getWidgetValue("afShortEnabled",this.app.widgetParams.WIDGET.afShortEnabled),modulePrefix:this.app.getWidgetValue("modulePrefix",this.app.widgetParams.WIDGET.modulePrefix),id:this.app.id.toString(),context:this.app.context,root:this.app.root,iframePlacementType:this.app.iframePlacementType,cookieStorage:this.app.cookieBlock,useTimePerformance:this.app.getWidgetValue("useTimePerformance",this.app.widgetParams.WIDGET.useTimePerformance),browserProperties:this.app.servicerData.brp||[]});this.antifraud=new vt.AntiFraud(s),this.anura=new vt.Anura({widgetPrefix:e+"InfC"+t,context:this.app.context}),this.pixalate=new vt.Pixalate({context:this.app.context}),this.app.allowReturnParams=!1,this.app.addEvent(this.app.context,"beforeunload",this.linkBeforeunloadHandler.bind(this)),this.setIsBlurEventSupported(this.app.root),this.setTransitionType()}afterLoadNewsHook(){let t=this.app.root;this.app.addEvent(t,"mousedown",this.linkMouseDownHandler.bind(this)),this.app.addEvent(t,"mouseup",this.linkClickHandler.bind(this)),this.app.addEvent(t,"mouseover",this.linkMouseOverHandler.bind(this)),this.app.addEvent(t,"mousemove",this.linkMouseMoveHandler.bind(this)),this.app.addEvent(t,"touchstart",this.linkTouchStartHandler.bind(this)),this.app.addEvent(t,"touchend",this.linkTouchEndHandler.bind(this));let e=t.querySelector("a[data-hash]");e&&this.app.addEvent(e,"focus",this.linkFocusHandler.bind(this)),this.antifraud.setWidgetEvents()}afterSendCappingHooks(){let t=this.app.root;setTimeout(()=>{typeof ResizeObserver<"u"&&new ResizeObserver(()=>{this.doSaveResizeWidget?this.antifraud.setIsWidgetResize(!0):this.doSaveResizeWidget=!0}).observe(t)},1e3)}afterInitHook(){this.antifraud.initialize()}async initSnapShot(){if(this.app.context.localStorage){let t=Math.round(new Date().getTime()/1e3),e=Number(this.app.context.localStorage.getItem("mgSnapShotExpired"));if((e===null||t>e)&&(this.app.context.localStorage.removeItem("mgSnapShot"),this.app.context.localStorage.removeItem("mgSnapShotExpired")),this.app.context.localStorage.getItem("mgSnapShot")===null){let i=(await vt.Snapshot.generate()).visitorId,s=Math.round(new Date().getTime()/1e3+3*24*60*60);this.app.context.localStorage.setItem("mgSnapShot",i),this.app.context.localStorage.setItem("mgSnapShotExpired",s.toString())}}}linkClickHandler(t){let e=this.handleEvent(t,0);if(e){let i=e.getAttribute("data-hash");this.app.teaserData[i]&&[J.Wages,J.Exchange].indexOf(this.app.teaserData[i].coopType)>-1&&this.addIntegrations(i,e),this.app.antifraudStatisticsBlock.setIsWidgetOverlapped(this.isWidgetOverlapped(e));let a=e.parentElement;a&&a.className==="mglbtn"&&this.app.context.localStorage.setItem("callToActionClicked","1"),this.handleUpdatedTeaserClick(e),setTimeout(()=>{this.app.allowReturnParams=!1,this.reWriteHref(t,e)},100)}}linkMouseOverHandler(t){this.handleEvent(t,vt.EventMask.MouseOver)}linkMouseMoveHandler(t){this.handleEvent(t,vt.EventMask.MouseMove)}linkTouchStartHandler(t){this.handleEvent(t,vt.EventMask.TouchStart)}linkTouchEndHandler(t){this.handleEvent(t,vt.EventMask.TouchEnd)}linkMouseDownHandler(t){this.handleEvent(t,vt.EventMask.MouseDown)}linkFocusHandler(t){this.handleEvent(t,vt.EventMask.Focus)}handleEvent(t,e){t||(t=this.app.context.event),t.target||(t.target=t.srcElement),this.app.allowReturnParams=!0;let i=t.target;return i.tagName!=="A"&&(i=this.app.getParentLink(i),!i)||!i.hasAttribute("data-hash")?null:(this.antifraud.addEventBit(e),this.reWriteHref(t,i),i)}reWriteHref(t,e){t||(t=this.app.context.event);let i=e["data-hash"]||e.getAttribute("data-hash");i&&(e[this.app.hrefAttr]=this.app.prepareNiceHref(i,t,e))}addIntegrations(t,e){if((this.app.servicerData.anura||0)>this.app.random(1,100)&&!this.anuraRequestHasBeenSent&&this.sendAnuraRequest(t,this.getQueryParam(e,"pubsrcid")).catch(i=>{this.app.log("Anura request failed","warn",i)}),this.app.getWidgetValue("usePixelate",this.app.widgetParams.WIDGET.usePixelate)&&!this.pixalateRequestHasBeenSent){let i=!1,s=this.app.findClosest(e,"div[data-i]");s&&(i=s.querySelector("a").href.indexOf("/ghits/")!==-1),i&&this.sentShowHash!==t&&this.sendPixalateRequest(s,this.getQueryParam(e,"pubsrcid"),t)}}sendPixalateRequest(t,e,i){let s=this.app.getMuid(),a=0,p=0,d=0;if(t){let u=t.getAttribute("data-i"),m=t.querySelector(".image-with-text");if(m&&(a=Math.floor(m.offsetWidth),p=Math.floor(m.offsetHeight)),u===i){let k=t.querySelectorAll("[data-i]");for(let I=0;I<k.length;I++){let T=k[I];if(i!==T.getAttribute("data-i")){d=parseInt(T.getAttribute("data-i"));break}}}else d=parseInt(u)}this.pixalate.send({plid:d,publisherId:this.app.getWidgetValue("publisherId",this.app.widgetParams.WIDGET.publisherId),siteId:this.app.getWidgetValue("siteId",this.app.widgetParams.WIDGET.siteId),kv1:a+"x"+p,kv3:s,kv5:e,kv7:this.app.getWidgetValue("clientId",this.app.widgetParams.WIDGET.clientId),kv11:i,kv12:this.app.servicerData.rid}),this.pixalateRequestHasBeenSent=!0,this.sentShowHash=i,this.app.antifraudStatisticsBlock.setPixalateTriggered()}getSourceId(t){let e=this.app.getWidgetValue("hasNewsPart",this.app.widgetParams.WIDGET.hasNewsPart)?"ni"+this.app.getWidgetValue("newsPartUid",this.app.widgetParams.WIDGET.newsPartUid):"ni",i=this.app.getWidgetValue("hasGoodsPart",this.app.widgetParams.WIDGET.hasGoodsPart)?this.app.getWidgetValue("goodsPartUid",this.app.widgetParams.WIDGET.goodsPartUid):"";return this.app.teaserData[t].coopType===J.Exchange?e:i}getQueryParam(t,e){let i=t.search.substring(1).split("&"),s="";for(let a=0;a<i.length;a++){let p=i[a].split("=");if(p[0]===e){s=decodeURIComponent(p[1]);break}}return s}linkBeforeunloadHandler(t){this.app.context.localStorage.setItem("isTriggeredBeforeunloadEvent","1")}setIsBlurEventSupported(t){if(t){let e="onblur",i=e in t;i||(t.setAttribute(e,"return;"),i=typeof t[e]=="function"),e in document.documentElement||t.removeAttribute(e),this.app.context.localStorage.setItem("isSupportBlurEvent",i?"1":"0")}}setTransitionType(){if(performance.getEntriesByType("navigation")){let t=performance.getEntriesByType("navigation")[0];t&&this.app.context.localStorage.setItem("transitionType",t.entryType)}}isWidgetOverlapped(t){let e=t.getBoundingClientRect(),i=[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom},{x:e.left+e.width/2,y:e.top+e.height/2}];for(let s of i){let a=document.elementFromPoint(s.x,s.y);if(a&&a!==t&&!t.contains(a)&&a!==document.body&&a!==document.documentElement)return!0}return!1}handleUpdatedTeaserClick(t){let e=t.getAttribute("data-refreshed");this.app.antifraudStatisticsBlock.setIsRefreshedTeaserClicked(!!e)}}});var Ia={};K(Ia,{AccidentalClicksBlock:()=>ui});var ui,Pa=q(()=>{C();B();$();wt();ui=class extends G{constructor(t){super(t),this.name="AccidentalClicksBlock",this.app.accidentalClicksHandler=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.accidentalClicks.handler,this.app.clickHandlerList.accidentalClicks.priority),this.accidentalClicksDelay=(parseInt(this.app.globalSettings.accidental_clicks_delay)||5)*1e3,this.accidentalClicksDisableTypes=this.app.widgetParams.WIDGET.widgetAccidentalClicks.split(","),this.teasersClickTimes={}}onClick(t,e){if(e.button===2)return!0;let i=t.getAttribute("data-hash"),s=new Date().getTime();if(this.app.isEnabledDoubleClick()||typeof this.app.servicerData.dc<"u"&&i in this.app.hashTimer&&s-this.app.hashTimer[i]<this.app.servicerData.dc)return!0;switch(this.app.teaserData[i].coopType){case J.Wages:if(this.accidentalClicksDisableTypes.indexOf("wages")==-1)return!0;break;case J.Exchange:if(this.accidentalClicksDisableTypes.indexOf("exchange")==-1)return!0;break;case J.InternalExchange:if(this.accidentalClicksDisableTypes.indexOf("int_exchange")==-1)return!0;break;default:return!0}return this.teasersClickTimes.hasOwnProperty(i)?new Date().getTime()-this.teasersClickTimes[i]<=this.accidentalClicksDelay?(e.preventDefault(),this.app.doubleClickType="accidental",this.app.doubleClickHandler(t),!1):(this.teasersClickTimes[i]=new Date().getTime(),!0):(this.teasersClickTimes[i]=new Date().getTime(),!0)}}});var Sa={};K(Sa,{ActivateDelayBlock:()=>xi});var xi,Ta=q(()=>{C();B();$();wt();xi=class extends G{constructor(t){super(t),this.name="ActivateDelayBlock",this.app.clickableDelay=!1,this.eventDisabled=!1,this.addHook("afterLoadNewsHooks",this.init),this.app.activateDelayLinkHandler=this.onClick.bind(this)}isCloseLink(t){return t.classList.contains("mg-close-button-div-inner")}isWagesLink(t){if(!t)return!1;let e=t.getAttribute("data-hash");return this.app.teaserData[e]&&this.app.teaserData[e].coopType===J.Wages}init(){if(this.isInited)return;this.isInited=!0;let t=Number(this.app.widgetParams.WIDGET.activateDelay);this.app.widgetParams.WIDGET.clickableDelay&&(this.app.clickableDelay=!0),this.app.addClickHandler(this.app.clickHandlerList.activateDelayLink.handler,this.app.clickHandlerList.activateDelayLink.priority),this.app.context.setTimeout(()=>{this.eventDisabled=!0,this.app.linksBlocked=!1,this.app.clickableDelay=!1},t)}onClick(t,e){return this.eventDisabled||this.app.clickableDelay&&this.isWagesLink(t)||this.isCloseLink(t)||typeof this.app.servicerData.dc<"u"?!0:(this.app.doubleClickType="delay",this.app.doubleClickHandler(t),this.app.linksBlocked=!0,e.preventDefault(),!1)}}});var Da={};K(Da,{HideDescriptionBlock:()=>gi});var gi,Ea=q(()=>{C();B();$();gi=class extends G{constructor(t){super(t),this.name="HideDescriptionBlock",typeof this.app.afterAutoplacementHooks<"u"&&this.app.widgetConstructorData.autoplacement!=="off"?this.addHook("afterAutoplacementHooks",this.hideDescription):this.addHook("afterLoadNewsHooks",this.hideDescription)}hideDescription(){let t=this.app.root.querySelector(".mcdesc");if(!t)return;let e=this.app.root.querySelector(".mcdesc > a"),i=this.app.root.querySelector(".mglbtn"),s=this.app.root.querySelector(".mglbtn > a"),a=this.app.root.querySelector("div.mcimg"),p=this.app.root.querySelector(".image-with-text"),d=e.scrollHeight-e.clientHeight,u=i.clientWidth,m=a.clientWidth,k=p.clientWidth,I=k-m-15-u-15;s&&I<0&&(k!==m?s.innerHTML=this.app.getTranslation("[INFORMER_CTA_LEARN_MORE]")+"<span></span>":i.clientHeight>75&&(s.innerHTML=this.app.getTranslation("[INFORMER_CTA_LEARN_MORE]")+"<span></span>"),u<135&&(s.innerHTML="<span></span>")),d>1&&(t.style.display="none")}}});var Ca={};K(Ca,{CollectViewDataBlock:()=>fi});var Tt,fi,Ba=q(()=>{C();B();$();(function(w){w.widgetOutOfSight="widget_out_of_sight",w.leavePage="user_change_tab_or_close_site",w.widgetOverLimitTime="widget_over_limit_time",w.siteOverLimitTime="site_over_limit_time",w.newWidgetPage="new_widget_page",w.newSitePage="new_site_page"})(Tt||(Tt={}));fi=class extends G{constructor(t){super(t),this.keyHash="_mgUniqueHash",this.keyUserPages="_mgUserPages",this.timeOutLimit=30,this.viewMinTime=1,this.widget={isVisible:!1,isStartView:!1,startingViewTime:0,requestsList:[]},this.teasersList=[],this.teasersVisibleList=[],this.acceptableTeaserTypes=["type-w","type-i","mgline-banner"],this.acceptableSiteEvents=[Tt.leavePage,Tt.newSitePage,Tt.siteOverLimitTime],this.name="CollectViewDataBlock",!this.app.isAmp()&&!this.app.isIframe()&&typeof this.app.context.IntersectionObserver=="function"&&this.init()}init(){if(this.currentPath=this.app.context.document.location.pathname,typeof this.app.context[this.keyUserPages]>"u"){this.app.context[this.keyUserPages]=[];let t=Math.round(this.app.context.performance?.timeOrigin)||this.app.context.performance.timing.navigationStart,e={pathname:this.currentPath,href:this.app.context.document.location.href,startingViewTime:t,isOverLimitTime:!1};this.app.context[this.keyUserPages].push(e)}setInterval(()=>{this.detectUrlChanged(),this.detectTimeOverLimit()},1e3),this.setupLeavePageEvents(),this.addHook("afterLoadNewsHooks",this.startObserving)}detectUrlChanged(){if(this.currentPath!==this.app.context.document.location.pathname){this.sendAnalyticsData(Tt.newSitePage),this.currentPath=this.app.context.document.location.pathname;let t=this.getCurrentPage();if(!t){let e={pathname:this.currentPath,href:this.app.context.document.location.href,startingViewTime:new Date().getTime(),isOverLimitTime:!1};this.app.context[this.keyUserPages].push(e)}t&&t.startingViewTime===0&&this.updateCurrentUserPage({startingViewTime:new Date().getTime(),href:this.app.context.document.location.href})}}detectTimeOverLimit(){let t=this.getCurrentPage();t&&!t.isOverLimitTime&&t.startingViewTime>0&&this.isTimeOverLimit(new Date().getTime()-t.startingViewTime)&&(this.updateCurrentUserPage({isOverLimitTime:!0}),this.sendAnalyticsData(Tt.siteOverLimitTime)),this.widget.isStartView&&this.isTimeOverLimit(new Date().getTime()-this.widget.startingViewTime)&&this.sendAnalyticsData(Tt.widgetOverLimitTime)}setupLeavePageEvents(){let{hidden:t,visibilityChange:e}=this.app.utils.getLeavePageValue();this.app.context.document.addEventListener(e,()=>{if(this.app.context.document[t]&&this.sendAnalyticsData(Tt.leavePage),this.widget.isVisible&&!this.app.context.document[t]&&this.restartTeasersViewTime(),!this.app.context.document[t]){let i=this.getCurrentPage();i&&i.startingViewTime===0&&this.updateCurrentUserPage({startingViewTime:new Date().getTime()})}}),this.app.context.addEventListener("beforeunload",()=>{this.sendAnalyticsData(Tt.leavePage)})}startObserving(){let t={page:this.app.pagesServicerData.length,requestId:this.app.servicerData.rid};this.widget.requestsList.push(t);let e=typeof this.app.context[this.keyHash+this.app.id+"_"+this.app.uniqId]<"u";e&&this.widget.isStartView&&this.app.widgetParams.WIDGET.type!=="in-site-notification"&&(this.sendAnalyticsData(Tt.newWidgetPage),this.teasersVisibleList.length?this.restartTeasersViewTime():(this.widget.isStartView=!0,this.widget.startingViewTime=new Date().getTime())),e||(this.app.context[this.keyHash+this.app.id+"_"+this.app.uniqId]=this.app.utils.generateHash(),this.addHook("observerTeasersHooks",this.teasersObserving),["mobile-widget","in-site-notification","passage","interstitial"].indexOf(this.app.widgetParams.WIDGET.type)===-1&&this.addHook("observerWidgetHooks",this.widgetObserving))}teasersObserving(t,e,i,s,a){let p,d;if(s&&a&&(p=a+"-"+s,d=this.teasersList.filter(u=>u.order===p)[0]),i===0&&p&&d&&d.isVisible&&(this.teasersList=this.teasersList.map(u=>{if(u.order===p){let m=new Date().getTime()-u.startingViewTime,k=u.viewTime?u.viewTime+m:m;return{...u,viewTime:k,isVisible:!1,startingViewTime:0}}else return u})),i>.5&&(this.app.widgetParams.WIDGET.type!=="mobile-widget"||this.app.widgetParams.WIDGET.type==="mobile-widget"&&this.app.root.parentElement.className.indexOf("mg-show")>=0)){if(this.widget.isVisible=!0,this.widget.isStartView||(this.widget.isStartView=!0,this.widget.startingViewTime=new Date().getTime()),!d&&p&&t&&s&&a){let u={order:p,iteration:s,page:a,isVisible:!0,startingViewTime:new Date().getTime(),viewTime:0,requestId:this.widget.requestsList.filter(m=>m.page===a)[0]?.requestId,showHash:t.dataset.i||"",className:t.className};this.teasersList.push(u)}d&&!d.isVisible&&p&&(this.teasersList=this.teasersList.map(u=>u.order===p?{...u,isVisible:!0,startingViewTime:new Date().getTime()}:u))}this.teasersList.length&&this.teasersList.every(u=>!u.isVisible)&&(["mobile-widget","passage","interstitial"].indexOf(this.app.widgetParams.WIDGET.type)!==-1||this.app.widgetParams.WIDGET.type==="in-site-notification"&&this.app.isClosedInSiteWidget)&&(this.sendAnalyticsData(Tt.widgetOutOfSight),this.widget.isVisible=!1)}widgetObserving(t,e){typeof t<"u"&&!t&&(this.sendAnalyticsData(Tt.widgetOutOfSight),this.widget.isVisible=!1)}sendAnalyticsData(t){let e;if(this.widget.isStartView){let a=new Date().getTime()-this.widget.startingViewTime;this.isTimeMoreMinLimit(a)&&(e=e||{},e.widgetData=this.preparedWidgetData(t)),this.widget.isStartView=!1,this.widget.startingViewTime=0}if(this.teasersList.some(a=>a.viewTime>0||a.isVisible)){this.teasersVisibleList=this.teasersList.filter(p=>p.isVisible);let a=this.preparedTeasersData();a.length&&(e=e||{},e.teasersData=a),this.resetTeasersViewTime()}let i=this.getCurrentPage(),s=this.acceptableSiteEvents.some(a=>a===t);if(i&&s&&i.startingViewTime>0){let a=new Date().getTime()-i.startingViewTime;this.isTimeMoreMinLimit(a)&&(e=e||{},e.userData=this.preparedUserData(i)),this.updateCurrentUserPage({startingViewTime:0})}if(e&&Object.keys(e).length&&this.isMuidn()){let{tt:a,dt:p,brid:d}=this.app.servicerData,{implVersion:u}=this.app.pageViewPixelBlock?.getPageDataParams()||{};e.eventName=t,e.muidn=this.app.getMuid(),u&&(e.implVersion=u),a&&(e.trafficType=a),p&&(e.device=p),d&&(e.browserId=d);let m=new Blob([JSON.stringify(e)],{type:"text/plain"});this.app.request.beaconBlob("visibility",this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.countersDomain+"/vz",m,{})}}preparedWidgetData(t){let e=this.app.calculateSessionsBlock.getSessionId(),i={compositeId:this.app.id,uniqueHash:this.app.context[this.keyHash+this.app.id+"_"+this.app.uniqId],visibleTime:new Date().getTime()-this.widget.startingViewTime};e&&(i.sessionId=e);let s=this.teasersList.filter(a=>a.viewTime>0||a.isVisible).map(a=>a.requestId).filter((a,p,d)=>d.indexOf(a)===p);return t===Tt.newWidgetPage?(i.uuid=this.widget.requestsList[this.widget.requestsList.length-2]?.requestId,s.length>=2&&(i.firstUuid=this.widget.requestsList[0]?.requestId),i):(s.length===1?i.uuid=s[0]:s.length>=2?(i.uuid=this.widget.requestsList[this.widget.requestsList.length-1]?.requestId,i.firstUuid=this.widget.requestsList[0]?.requestId):i.uuid=this.app.servicerData.rid,i)}preparedTeasersData(){return this.teasersList.map(t=>{if(t.isVisible){let e=new Date().getTime()-t.startingViewTime,i=t.viewTime?t.viewTime+e:e;return{...t,viewTime:i}}else return t}).filter(t=>this.isTimeMoreMinLimit(t.viewTime)&&this.acceptableTeaserTypes.some(e=>t.className.indexOf(e)!==-1)&&t.showHash.length&&t.showHash!=="undefined").map(t=>({compositeId:this.app.id,showHash:t.showHash,uuid:t.requestId,visibleTime:t.viewTime}))}preparedUserData(t){let e=new Date().getTime()-t.startingViewTime;return{pageViewId:this.getPvid(),pageUrl:t.href,visibleTime:e}}resetTeasersViewTime(){this.teasersList=this.teasersList.map(t=>({...t,viewTime:0,isVisible:!1,startingViewTime:0}))}restartTeasersViewTime(){this.teasersVisibleList.forEach(t=>{this.teasersObserving(null,!0,1,t.iteration,t.page)}),this.teasersVisibleList=[]}updateCurrentUserPage(t){this.app.context[this.keyUserPages]=this.app.context[this.keyUserPages].map(e=>e.pathname===this.currentPath?{...e,...t}:e)}isMuidn(){return!!this.app.getMuid().length}isTimeOverLimit(t){return t>this.timeOutLimit*6e4}isTimeMoreMinLimit(t){return t>this.viewMinTime*1e3}getCurrentPage(){return this.app.context[this.keyUserPages].filter(t=>t.pathname===this.currentPath)[0]}getPvid(){let t="";try{t=this.app.pvid||this.app.context._mgPvid||this.app.context.localStorage.getItem("_mgPvid")||""}catch{}return t}}});var Wa={};K(Wa,{RtbBlock:()=>wi});var wi,La=q(()=>{C();B();$();wi=class extends G{constructor(t){super(t),this.name="RtbBlock",this.addHook("afterLoadNewsHooks",this.cmPixelLoad)}cmPixelLoad(){if(!this.app.context["i.js.loaded"]&&this.app.cookieMatchingDomain.length){this.app.context["i.js.loaded"]=!0;let t=this.app.webProtocol+"//"+this.app.cookieMatchingDomain+"/i.js?",e=typeof this.app.realRoot<"u"?this.app.realRoot:this.app.root,i={},s=this.app.getMuid();this.app.widgetParams.WIDGET.widgetCountersDisabled&&(i.cd=1),s.length&&(i.muid=s),i.cbuster=this.app.getCbusterParameter(),t+=Object.keys(i).map(p=>p+"="+encodeURIComponent(i[p])).join("&");let a={charset:"utf-8",onerror:()=>{this.app.context["i.js.loaded"]=!1;let p=`${this.name} failed to load i.js`;this.app.log(p),this.app.debugBlock.sendData(p)},dest:e.parentNode};this.app.request.script("i.js",t,{},a)}}}});var Aa={};K(Aa,{ObserverBlock:()=>bi});var bi,_a=q(()=>{C();B();$();bi=class extends G{constructor(t){super(t),this.name="ObserverBlock",this.addHook("afterLoadNewsHooks",this.initWidgetObserver)}initWidgetObserver(){if(this.app.context.IntersectionObserver){this.app.widgetObserver=new IntersectionObserver(e=>{e.forEach(i=>{let s=i.isIntersecting?"shown":"hidden";if(i.target==this.app.root)this.app.log(`Observer. Widget ${s}. Ratio: ${i.intersectionRatio}`),this.app.lifeCycleBlock.processHooks("observerWidgetHooks",[i.isIntersecting,i.intersectionRatio]);else for(let a=0;a<this.app.observerTeasersHooks.length;a++){let p=1,d=1;try{(i.target instanceof HTMLElement||i.target instanceof HTMLDivElement)&&(p=this.app.teaserData[i.target.dataset.i].iteration,d=this.app.teaserData[i.target.dataset.i].page)}catch{}this.app.log(`Observer. Teaser[${d}, ${p}] ${s}. 
                Ratio: ${i.intersectionRatio}`),this.app.lifeCycleBlock.processHooks("observerTeasersHooks",[i.target,i.isIntersecting,i.intersectionRatio,p,d])}})},{threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}),this.app.widgetObserver.observe(this.app.root);let t=[].slice.call(this.app.root.getElementsByClassName("mgline"));for(let e of t)e.dataset.observingStart||(e.dataset.observingStart="0",e.dataset.observingTime="0",this.app.widgetObserver.observe(e))}}}});var Ga={};K(Ga,{RefactoredMonitorBlock:()=>vi});var vi,Oa=q(()=>{C();B();$();wt();vi=class extends G{constructor(t){super(t),this.regAllowedHash=/([A-Za-z0-9\-_\*]{64})/,this.teasersDataList=[],this.firstByType={},this.monitorDispatcher=null,this.baseUrl=`${this.app.webProtocol}//${this.app.widgetParams.WIDGET.countersDomain}/`,this.impressionTracked=!1,this.name="RefactoredMonitorBlock",this.addHook("afterLoadNewsHooks",this.init)}init(){this.monitorDispatcher||(this.versionCapping=typeof this.app.context.IntersectionObserver=="function"&&!this.app.omidBlock?3:2,this.thresholdRatio=Number(this.app.globalSettings.capping_observer_threshold)||.5,this.thresholdTime=Number(this.app.globalSettings.capping_observer_time)||1e3,this.versionCapping===3?this.initMonitorByObserver():this.initMonitorByTimeout())}initMonitorByObserver(){this.monitorDispatcher=this.debounce(()=>this.prepareCappingData()),this.addHook("observerTeasersHooks",this.teaserObserver)}initMonitorByTimeout(){let t=()=>{let e=this.app.root.getElementsByClassName("mgline");for(let i=0;i<e.length;i++){let s=e[i];if(s.dataset.observingStart||(s.dataset.observingStart="0",s.dataset.observingTime="0"),this.isAllowedMonitorTeaser(s)){let a=this.app.utils.elementViewportIntersection(s),p=this.getTeaserObservingTime(s,a);p>=this.thresholdTime&&this.setTeaserShowed(s,p)}}this.prepareCappingData(),this.monitorDispatcher()};this.monitorDispatcher=()=>setTimeout(t,this.thresholdTime),this.monitorDispatcher()}teaserObserver(t,e,i,s,a){if(this.isAllowedMonitorTeaser(t)){let p=this.getTeaserObservingTime(t,i);p>=this.thresholdTime?(this.setTeaserShowed(t,p),this.monitorDispatcher()):Number(t.dataset.observingStart)>0&&setTimeout(()=>{this.checkTeaserShowed(t)},this.thresholdTime)}}isAllowedMonitorTeaser(t){return!t.dataset.showed}getTeaserObservingTime(t,e){let i=Number(t.dataset.observingStart),s=Number(t.dataset.observingTime);return e>=this.thresholdRatio?i===0?t.dataset.observingStart=String(new Date().getTime()):t.dataset.observingTime=String(new Date().getTime()-i+s):(t.dataset.observingTime="0",t.dataset.observingStart="0"),Number(t.dataset.observingTime)}checkTeaserShowed(t){let e=Number(t.dataset.observingStart);if(!t.dataset.showed&&e>0){let i=new Date().getTime()-e+Number(t.dataset.observingTime);i>=this.thresholdTime&&(this.setTeaserShowed(t,i),this.monitorDispatcher())}}setTeaserShowed(t,e){t.dataset.showed="1",t.dataset.observingTime=String(e),this.teasersDataList.push(this.getTeaserCappingData(t))}getTeaserCappingData(t){let e=this.app.utils.getRect(t,!0),i=t.dataset.i;return{width:Math.round(e.width),height:Math.round(e.height),atf:e.top<this.app.utils.getViewportSize().height,align:this.getTeaserAlign(e),desc:this.isTeaserElementVisible(t,"mcdesc"),price:this.isTeaserElementVisible(t,"mcprice"),domain:this.isTeaserElementVisible(t,"mcdomain"),hash:i,coopType:this.app.teaserData[i].coopType,isSend:!1}}prepareCappingData(){if(this.teasersDataList.some(t=>!t.isSend)){this.app.lifeCycleBlock.processHooks("beforePrepareCappingDataHooks");let t=[],e={},i="",s=null;this.teasersDataList.forEach(a=>{let p=a.hash;if(!a.isSend&&(a.isSend=!0,this.app.teaserData[p].isViewed=!0,i.length||(i=p),this.regAllowedHash.exec(p))){let d=a.coopType,u=this.getTeaserPrefix(a);if(t.push("v="+u+p),this.firstByType[d]||(this.firstByType[d]=1,e["f"+d]=1),this.app.widgetParams.WIDGET.widgetCountersDisabled!==1){let m=this.app.teaserData[p].imp;for(let k of m)this.app.countersBlock.sendCustomCounter(k)}d===J.Wages&&this.app.sspDoubleClickHash.push(p),this.app.lifeCycleBlock.processHooks("afterPrepareCappingDataHooks",[p]),window.performance?.mark("mgid_teaser_impression_"+this.app.teaserData[p].iteration,{detail:{_mgwidget:this.app.id}})}}),this.app.pagesServicerData.length&&i.length&&this.app.teaserData[i]&&(s=this.app.pagesServicerData.filter(a=>a.page===this.app.teaserData[i].page)[0]?.servicerData),(typeof this.app.context._mgwcapping>"u"||this.app.context._mgwcapping.indexOf(this.app.id)===-1)&&(this.app.widgetCappingEnabled?(this.sendWidgetCappingData(s),this.app.lifeCycleBlock.processHooks("afterSendCappingHooks")):e.f=1),this.app.context._mgwcapping=this.app.context._mgwcapping||[],this.app.context._mgwcapping.push(this.app.id),t.length&&this.sendTeaserCappingData(t,e,s)}}getTeaserPrefix(t){return t.width+"|"+t.height+"|"+((t.desc?1:0)+(t.price?2:0)+(t.domain?4:0)+(t.atf?8:0)+(t.align==="right"?16:0)+(t.align==="left"?32:0))+"|"}sendWidgetCappingData(t){let e=this.app.getUserAgentDataParams(),{cbuster:i,cxurl:s,lu:a,pr:p}=this.app.pageViewPixelBlock.getPageDataParams(),{h2:d,tt:u,ts:m,psid:k,iv:I,adv_src_id:T}=t||{},b={cid:this.app.id,pageImp:this.getPageImpParam(),cbuster:i,cxurl:s,lu:a,pr:p,h2:d,tt:u,ts:m,psid:k,iv:I,adv_src_id:T};e&&(b={...b,...e}),this.sendWidgetPerformanceMetric(),this.app.request.pixel("widgetCapping",`${this.baseUrl}w?${this.getParamsByString(b)}`,{},{})}sendTeaserCappingData(t,e,i){let s=this.app.getMuid(),{h2:a,rid:p,tt:d,ts:u,psid:m,iv:k}=i||{},{views:I,renders:T}=this.app.getViewrateParams(),b=this.app.getUserAgentDataParams();e={...e,cid:this.app.id,cbuster:this.app.getCbusterParameter(),pageImp:this.getPageImpParam(),pvid:this.app.pvid,pv:this.versionCapping,h2:a,rid:p,tt:d,ts:u,psid:m,iv:k,completion:`${I},${T}`},s.length&&(e.muidn=s),b&&(e={...e,...b}),this.app.request.pixel("capping",`${this.baseUrl}c?${t.join("&")}&${this.getParamsByString(e)}`,{},{}),this.sendWidgetPerformanceMetric(),this.app.lifeCycleBlock.processHooks("afterSendCappingHooks")}getTeaserAlign(t){let e=this.app.context.document.body.scrollWidth;return t.right<.3*e?"left":t.left>=.7*e?"right":"center"}isTeaserElementVisible(t,e){let i=t.getElementsByClassName(e);if(i.length){let s=i[0].getBoundingClientRect();return!(s.right-s.left===0||s.bottom-s.top===0)}else return!1}getPageImpParam(){let t=0;if(this.app.context["isFBIA"+this.app.widgetParams.WIDGET.id]&&this.app.context.localStorage){let e=this.app.context.localStorage.getItem("_mgPageImp"+this.app.widgetParams.WIDGET.siteId),i=Number(this.app.globalSettings.ia_page_imp_timeout)||180;(!e||new Date().getTime()-Number(e)>i*1e3)&&(this.app.context.localStorage.setItem("_mgPageImp"+this.app.widgetParams.WIDGET.siteId,String(new Date().getTime())),t=1)}else{let e=this.app.getMostTopWindow(),i=e.location.pathname;e["_mgPageImp"+this.app.widgetParams.WIDGET.siteId]=e["_mgPageImp"+this.app.widgetParams.WIDGET.siteId]||[];let s=e["_mgPageImp"+this.app.widgetParams.WIDGET.siteId];Array.isArray(s)&&s.indexOf(i)===-1&&(s.push(i),t=1)}return t}debounce(t,e=200){let i;return(...s)=>{clearTimeout(i),i=setTimeout(()=>{t.apply(this,s)},e)}}getParamsByString(t){return Object.keys(t).filter(e=>typeof t[e]<"u"&&(typeof t[e]=="string"?!!t[e].length:!0)).map(e=>`${e}=${t[e]}`).join("&")}sendWidgetPerformanceMetric(){if(!this.impressionTracked&&(this.impressionTracked=!0,window.performance?.mark("widget_impression",{detail:{_mgwidget:this.app.id}}),typeof this.app.context._mgBackfillParentId<"u")){let t=this.app.context._mgBackfillParentId,e=this.app.context._mgBackfillPlacement;window.performance?.mark("backfill_impression_"+e,{detail:{_mgwidget:t}})}}}});var oe,Ra=q(()=>{C();B();$();oe=class extends G{constructor(t){super(t),this.addHook("afterInitHooks",this.init)}init(){if(!this.initCheck())return;this.check()||this.addHook("afterLoadNewsHooks",this.load);let t=this.getData();t!==""&&(this.app.requestParams[this.paramName]=encodeURIComponent(t))}initCheck(){return!0}}});var Ha={};K(Ha,{ID5Block:()=>ki});var ki,Ma=q(()=>{C();B();Ra();wt();ki=class extends oe{constructor(t){super(t),this.storageKey="_mgID5",this.name="ID5Block",this.paramName="id5",this.refreshTime=36e5}id5Init(){let t="https://cdn.id5-sync.com/api/1.0/id5-api.js",e=this.app.context.document.createElement("script");e.async=!0,e.type="text/javascript",e.src=t,this.app.root.parentNode.insertBefore(e,this.app.root);let i=0,s=setInterval(()=>{i++,i>20&&clearInterval(s),typeof this.app.context.ID5<"u"&&this.app.context.ID5.loaded===!0&&(clearInterval(s),this.app.context.ID5.init(this.id5Params())?.onAvailable(this.id5Callback.bind(this)))},100)}id5Params(){return{partnerId:231,refreshInSeconds:15}}id5Callback(t){let e=t.getUserId();if(typeof e<"u"&&e!=0)if(this.app.context._mgID5Exists=!0,this.app.isAmp()){let i=this.refreshTime/36e5,s=new Date(new Date().setHours(new Date().getHours()+i)).toUTCString();this.app.cookieBlock.cookieStorage[this.storageKey]=e,this.app.cookieBlock.setCookie(s)}else this.app.context.localStorage.setItem(this.storageKey,JSON.stringify({time:new Date().getTime(),data:e}))}check(){let t=!0;if(this.app.isAmp())this.app.cookieBlock.getCookie(),(this.app.cookieBlock.cookieStorage[this.storageKey]||"").length||(t=!1);else{let e=this.app.context.localStorage.getItem(this.storageKey);if(e){let i=JSON.parse(e);new Date().getTime()-i.time>this.refreshTime&&(t=!1)}else t=!1}return t}getData(){let t="";if(this.app.isAmp())this.app.cookieBlock.getCookie(),t=this.app.cookieBlock.cookieStorage[this.storageKey]||"";else{let e=this.app.context.localStorage.getItem(this.storageKey);e&&(t=JSON.parse(e).data)}return t}load(){typeof this.app.context._mgID5Exists>"u"&&this.id5Init()}initCheck(){return this.app.currentSubnet===gt.MG}}});var Na=Xt(()=>{C();B()});var Va=Xt(()=>{C();B()});var Ut,pe,Fe=q(()=>{C();B();ee();(function(w){w.Init="init",w.Render="render"})(Ut||(Ut={}));pe=class{constructor(t){this.app=t,this.app.debugBlock.initDebugger(),this.app.lifeCycleBlock=this,this.stage=null,this.workInProgress=!1,this.isUserAgentDataAvailable=typeof this.app.context?.navigator?.userAgentData?.getHighEntropyValues=="function",this.isAdBlockDetect=this.app.widgetParams.WIDGET.adblockIntegration&&this.app.adBlockDetect(),this.workersAvailable=typeof Worker<"u";try{let e=new Worker(window.URL.createObjectURL(new Blob([],{type:"text/javascript"})))}catch{this.workersAvailable=!1}if(this.workersAvailable){let e=new Blob([`self.onmessage = function(e) { 
              if (e.data.timeout === 0) { self.postMessage({ eventId: e.data.eventId }); }
              else { setTimeout(function() { self.postMessage({ eventId: e.data.eventId }); }, e.data.timeout); }
            }`],{type:"text/javascript"});this.worker=new Worker(window.URL.createObjectURL(e)),this.workerCallbacks={},this.worker.addEventListener("message",i=>{this.workerCallbacks[i.data.eventId](),delete this.workerCallbacks[i.data.eventId]})}}async run(){this.stage=Ut.Init,this.workInProgress=!0,this.app.time("run()");try{if(typeof this.app.context[`_mgPauseBackfill_${this.app.widgetParams.WIDGET.id}`]<"u"&&(this.app.time("waitForLoadBackfill()"),await this.waitForLoadBackfill(),this.app.timeEnd("waitForLoadBackfill()")),this.app.getVideoMetricsParams()===null&&(this.app.time("initVideoMetricsBlock"),await this.execute("",async()=>{this.app.videoMetricsBlock=new(await Promise.resolve().then(()=>(Mi(),Hi))).VideoMetricsBlock(this.app)}),this.app.timeEnd("initVideoMetricsBlock")),this.isUserAgentDataAvailable&&this.app.getUserAgentDataParams()===null&&(this.app.time("initNavigatorAgentDataBlock"),await this.execute("",async()=>{this.app.navigatorAgentDataBlock=new(await Promise.resolve().then(()=>(Vi(),Ni))).NavigatorAgentDataBlock(this.app)}),this.app.timeEnd("initNavigatorAgentDataBlock")),this.app.isAmp()&&(this.app.time("initAmpRenderBlock"),await this.execute("",async()=>{this.app.ampRenderBlock=new(await Promise.resolve().then(()=>(qi(),Fi))).AmpRenderBlock(this.app)}),this.app.timeEnd("initAmpRenderBlock")),this.isUserAgentDataAvailable&&this.app.getUserAgentDataParams()===null&&(this.app.time("app.navigatorAgentDataBlock.waitForUserAgentData()"),await this.app.navigatorAgentDataBlock.waitForUserAgentData(),this.app.timeEnd("app.navigatorAgentDataBlock.waitForUserAgentData()")),this.app.time("initBlocks()"),await this.initBlocks(),this.app.timeEnd("initBlocks()"),this.app.rootId==="TempRootId"&&(this.app.time("waitWidgetLoad()"),await this.waitWidgetLoad(),this.app.timeEnd("waitWidgetLoad()")),this.app.time("processHooks(beforeInitHooks)"),await this.processHooks("beforeInitHooks",null),this.app.timeEnd("processHooks(beforeInitHooks)"),await this.execute("app.init()",()=>{this.app.init()}),this.app.time("processHooks(afterInitHooks)"),await this.processHooks("afterInitHooks",null),this.app.timeEnd("processHooks(afterInitHooks)"),this.app.widgetParams.WIDGET.newTabEnabled&&(this.app.time("app.newTabBlock.waitForActivity()"),await this.app.newTabBlock.waitForActivity(),this.app.timeEnd("app.newTabBlock.waitForActivity()")),this.app.widgetParams.WIDGET.useLazyLoad&&(this.app.time("app.lazyLoadBlock.waitForVisibility()"),await this.app.lazyLoadBlock.waitForVisibility(),this.app.timeEnd("app.lazyLoadBlock.waitForVisibility()")),this.app.widgetParams.WIDGET.type==="passage"&&(this.app.time("app.passageBlock.waitForPassageResolve()"),await this.app.passageBlock.waitForPassageResolve(),this.app.timeEnd("app.passageBlock.waitForPassageResolve()")),this.app.widgetParams.WIDGET.type==="interstitial"&&(this.app.time("app.interstitialBlock.waitForPassageResolve()"),await this.app.interstitialBlock.waitForPassageResolve(),this.app.timeEnd("app.interstitialBlock.waitForPassageResolve()")),this.app.widgetParams.WIDGET.popup&&(this.app.time("app.popupBlock.waitForPopup()"),await this.app.popupBlock.waitForPopup(),this.app.timeEnd("app.popupBlock.waitForPopup()")),this.app.widgetParams.WIDGET.type==="mobile-widget"&&(this.app.time("app.mobileWidgetBlock.waitForMobileWidget()"),await this.app.mobileWidgetBlock.waitForMobileWidget(),this.app.timeEnd("app.mobileWidgetBlock.waitForMobileWidget()")),this.app.widgetParams.WIDGET.type==="in-site-notification"&&(this.app.time("app.inSiteNotificationBlock.waitForInSiteWidget()"),await this.app.inSiteNotificationBlock.waitForInSiteWidget(),this.app.timeEnd("app.inSiteNotificationBlock.waitForInSiteWidget()")),this.app.widgetParams.WIDGET.swipeUpEnabled&&(this.app.time("app.swipeUpBlock.waitForSwipeUpResolve()"),await this.app.swipeUpBlock.waitForSwipeUpResolve(),this.app.timeEnd("app.swipeUpBlock.waitForSwipeUpResolve()")),this.app.widgetParams.WIDGET.sendDimensions&&this.app.precalcRect===null){let t=await this.execute("app.preparePrerenderData()",()=>this.app.sendDimensions.preparePrerenderData()),e=await this.execute("app.templateFunc()",()=>{let i=this.app.getRenderer(this.app.templateText);return i.setRawTemplate(this.app.templateText),i.getHtml(t)});await this.execute("app.prerenderNews()",()=>{this.app.sendDimensions.prerenderNews(e)}),await this.app.sendDimensions.waitForStyleApplied(),await this.execute("app.calcPreRenderingBlock()",()=>{this.app.sendDimensions.calcPreRenderingBlock()},50)}this.app.time("processHooks(afterPreRenderNewsHooks)"),await this.processHooks("afterPreRenderNewsHooks",null),this.app.timeEnd("processHooks(afterPreRenderNewsHooks)"),this.app.getVideoMetricsParams()===null&&(this.app.time("app.videoMetricsBlock.waitForCollectMetrics()"),await this.app.videoMetricsBlock.waitForCollectMetrics(),this.app.timeEnd("app.videoMetricsBlock.waitForCollectMetrics()")),await this.execute("app.injectScript()",()=>{this.app.injectScript(!1)}),this.app.initServicerRequest||(this.app.time("processHooks(afterInjectScriptHooks)"),await this.processHooks("afterInjectScriptHooks",null),this.app.timeEnd("processHooks(afterInjectScriptHooks)"))}catch(t){this.app.log("","error",t)}this.workInProgress=!1,this.app.timeEnd("run()")}async render(t,e){await this.waitForFree(),this.stage=Ut.Render,this.workInProgress=!0,this.app.time("render()");try{await this.execute("loadNewsPrestart()",()=>{this.app.loadNewsPrestart(e,t?.length)});let i=this.app.responseParser.getAdUnitsFromJson(t);this.app.responseParser.fillAdUnitsData(i),this.app.time("processHooks(beforeLoadNewsHooks)"),await this.processHooks("beforeLoadNewsHooks",[t,e]),this.app.timeEnd("processHooks(beforeLoadNewsHooks)"),await this.execute("app.loadNews()",()=>{this.app.getRenderer(this.app.templateText).setRawTemplate(this.app.templateText),this.app.loadNews(i)}),this.app.time("processHooks(afterLoadNewsHooks)"),await this.processHooks("afterLoadNewsHooks",null),this.app.timeEnd("processHooks(afterLoadNewsHooks)")}catch(i){this.app.log("","error",i)}window.performance?.mark("render_finish",{detail:{_mgwidget:this.app.widgetParams.WIDGET.id}}),this.workInProgress=!1,this.app.timeEnd("render()")}async initBlocks(){if(await this.execute("",async()=>{this.app.mgqBlock=new(await Promise.resolve().then(()=>(Pe(),Ui))).MgqBlock(this.app)}),this.app.widgetParams.WIDGET.crossDomainStorageEnabled&&await this.execute("",async()=>{await Vt.waitForFrame()}),await this.execute("",async()=>{this.app.utils=new(await Promise.resolve().then(()=>($i(),zi))).UtilsBlock(this.app)}),await this.execute("",async()=>{this.app.consentsBlock=new(await Promise.resolve().then(()=>(Zi(),Ji))).ConsentsBlock(this.app)}),await this.execute("",async()=>{this.app.request=new(await Promise.resolve().then(()=>(Qi(),Xi))).RequestBlock(this.app)}),await this.execute("",async()=>{this.app.contextBlock=new(await Promise.resolve().then(()=>(ts(),Yi))).ContextBlock(this.app)}),await this.execute("",async()=>{this.app.pageViewPixelBlock=new(await Promise.resolve().then(()=>(is(),es))).PageViewPixelBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.BackButtonBlock&&await this.execute("",async()=>{this.app.backButtonBlock=new(await Promise.resolve().then(()=>(rs(),as))).BackButtonBlock(this.app)}),await this.execute("",async()=>{this.app.main=new(await Promise.resolve().then(()=>(os(),ns))).MainBlock(this.app)}),await this.execute("",async()=>{this.app.responseParser=new(await Promise.resolve().then(()=>(cs(),ps))).ResponseParserBlock(this.app)}),await this.execute("",async()=>{this.app.cookieBlock=new(await Promise.resolve().then(()=>(ls(),hs))).CookieBlock(this.app)}),await this.execute("",async()=>{this.app.stylesheetsBlock=new(await Promise.resolve().then(()=>(ms(),ds))).StylesheetsBlock(this.app)}),await this.execute("",async()=>{this.app.advertLinkBlock=new(await Promise.resolve().then(()=>(xs(),us))).AdvertLinkBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.SendDimensionsBlock&&await this.execute("",async()=>{this.app.sendDimensions=new(await Promise.resolve().then(()=>(fs(),gs))).SendDimensionsBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.InternalExchangeBlock&&await this.execute("",async()=>{this.app.internalExchangeBlock=new(await Promise.resolve().then(()=>(bs(),ws))).InternalExchangeBlock(this.app)}),await this.execute("",async()=>{this.app.InternalExchangeLogger=new(await Promise.resolve().then(()=>(ks(),vs))).InternalExchangeLoggerBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.RefreshTeaserAfterClickBlock&&await this.execute("",async()=>{this.app.refreshTeaserAfterClickBlock=new(await Promise.resolve().then(()=>(Is(),ys))).RefreshTeaserAfterClickBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.IframeSizeChangerBlock&&await this.execute("",async()=>{this.app.iframeSizeChangerBlock=new(await Promise.resolve().then(()=>(Ss(),Ps))).IframeSizeChangerBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.RejectBlock&&await this.execute("",async()=>{this.app.rejectBlock=new(await Promise.resolve().then(()=>(Ds(),Ts))).RejectBlock(this.app)}),await this.execute("",async()=>{this.app.dsaIconBlock=new(await Promise.resolve().then(()=>(Cs(),Es))).DSAIconBlock(this.app)}),await this.execute("",async()=>{this.app.teaserHoverBlock=new(await Promise.resolve().then(()=>(Ws(),Bs))).TeaserHoverBlock(this.app)}),await this.execute("",async()=>{this.app.inAppParamsBlock=new(await Promise.resolve().then(()=>(_s(),As))).InAppParamsBlock(this.app)}),await this.execute("",async()=>{this.app.countersBlock=new(await Promise.resolve().then(()=>(Os(),Gs))).CountersBlock(this.app)}),await this.execute("",async()=>{this.app.subnetsBlock=new(await Promise.resolve().then(()=>(Hs(),Rs))).SubnetsBlock(this.app)}),await this.execute("",async()=>{this.app.scrollTimeDoubleClickBlock=new(await Promise.resolve().then(()=>(Ns(),Ms))).ScrollTimeDoubleClickBlock(this.app)}),await this.execute("",async()=>{this.app.smartDoubleClickBlock=new(await Promise.resolve().then(()=>(qs(),Fs))).SmartDoubleClickBlock(this.app)}),await this.execute("",async()=>{this.app.mobileDoubleClickBlock=new(await Promise.resolve().then(()=>(zs(),Us))).MobileDoubleClickBlock(this.app)}),await this.execute("",async()=>{this.app.desktopDoubleClickBlock=new(await Promise.resolve().then(()=>(js(),$s))).DesktopDoubleClickBlock(this.app)}),await this.execute("",async()=>{this.app.sspDoubleClickBlock=new(await Promise.resolve().then(()=>(Js(),Ks))).SspDoubleClickBlock(this.app)}),await this.execute("",async()=>{this.app.externalCountersBlock=new(await Promise.resolve().then(()=>(Xs(),Zs))).ExternalCountersBlock(this.app)}),await this.execute("",async()=>{this.app.videoTeasersBlock=new(await Promise.resolve().then(()=>(Ys(),Qs))).VideoTeasersBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.OriginTrialsBlock&&await this.execute("",async()=>{this.app.originTrialsBlock=new(await Promise.resolve().then(()=>(ea(),ta))).OriginTrialsBlock(this.app)}),await this.execute("",async()=>{this.app.calculateSessionsBlock=new(await Promise.resolve().then(()=>(sa(),ia))).CalculateSessionsBlock(this.app)}),await this.execute("",async()=>{this.app.calculateViewrateBlock=new(await Promise.resolve().then(()=>(ra(),aa))).CalculateViewrateBlock(this.app)}),await this.execute("",async()=>{this.app.sharedIdBlock=new(await Promise.resolve().then(()=>(oa(),na))).SharedIdBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.RenderClassicBlock&&await this.execute("",async()=>{this.app.renderClassicBlock=new(await Promise.resolve().then(()=>(ca(),pa))).RenderClassicBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.ResponsiveBlock&&(this.app.responsiveBlock=new(await Promise.resolve().then(()=>(la(),ha))).ResponsiveBlock(this.app)),this.app.widgetParams.WIDGET.BLOCKS.ScaleInfoBlock&&await this.execute("",async()=>{this.app.scaleInfoBlock=new(await Promise.resolve().then(()=>(ma(),da))).ScaleInfoBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.BrowserTopicsBlock&&await this.execute("",async()=>{this.app.browserTopicsBlock=new(await Promise.resolve().then(()=>(xa(),ua))).BrowserTopicsBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.AntifraudBlock&&(await this.execute("",async()=>{this.app.antifraudStatisticsBlock=new(await Promise.resolve().then(()=>(wa(),fa))).AntifraudStatisticsBlock(this.app)}),await this.execute("",async()=>{this.app.antifraudBlock=new(await Promise.resolve().then(()=>(ya(),ka))).AntifraudBlock(this.app)})),this.app.widgetParams.WIDGET.BLOCKS.AccidentalClicksBlock&&await this.execute("",async()=>{this.app.accidentalClicksBlock=new(await Promise.resolve().then(()=>(Pa(),Ia))).AccidentalClicksBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.ActivateDelayBlock&&await this.execute("",async()=>{this.app.activateDelayBlock=new(await Promise.resolve().then(()=>(Ta(),Sa))).ActivateDelayBlock(this.app)}),this.isAdBlockDetect){for(let t in this.app.childWidgetsData)if(this.app.childWidgetsData.hasOwnProperty(t)){let e=this.app.childWidgetsData[t].isAdblockChild,i=this.app.childWidgetsData[t].childSubtype;if(e&&i==="in-article-adblock"){await this.execute("",async()=>{this.app.hideDescriptionBlock=new(await Promise.resolve().then(()=>(Ea(),Da))).HideDescriptionBlock(this.app)});break}}}await this.execute("",async()=>{this.app.collectViewDataBlock=new(await Promise.resolve().then(()=>(Ba(),Ca))).CollectViewDataBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.RtbBlock&&await this.execute("",async()=>{this.app.rtbBlock=new(await Promise.resolve().then(()=>(La(),Wa))).RtbBlock(this.app)}),await this.execute("",async()=>{this.app.observerBlock=new(await Promise.resolve().then(()=>(_a(),Aa))).ObserverBlock(this.app)}),await this.execute("",async()=>{this.app.refactoredMonitorBlock=new(await Promise.resolve().then(()=>(Oa(),Ga))).RefactoredMonitorBlock(this.app)});try{this.app.context.localStorage&&this.app.widgetParams.WIDGET.BLOCKS.ID5Block&&await this.execute("ID5Block",async()=>{this.app.id5Block=new(await Promise.resolve().then(()=>(Ma(),Ha))).ID5Block(this.app)})}catch{}try{await Promise.resolve().then(()=>Qt(Na())),await Promise.resolve().then(()=>Qt(Va())),await this.initializeCustomFuncBlocks()}catch(t){this.app.log("LifeCycleBlock - Initialize Custom Func Blocks error:","error",t)}}async initializeCustomFuncBlocks(){let t=window[`${this.app.widgetParams.WIDGET.I}`].parentCustomFuncBlocks||{};for(let e in t)if(t.hasOwnProperty(e)){let i=e.replace(/[-_]/g,"").replace(/./,a=>a.toUpperCase())+"Block",s=`Custom func block - ${e}`;await this.execute(s,a=>{try{this.app[i]=new t[e](this.app),a()}catch(p){this.app.log(`LifeCycleBlock - ${s} error:`,"error",p),this.app.debugBlock.sendData(p.message),a()}},0,!1,!0)}}async processHooks(t,e){let i=this.app[t];for(let s=0;s<i.length;s++){let a=i[s];try{await a(e)}catch(p){this.app.log(`LifeCycleBlock - ${t} hook ${a} failed`,"error",p)}}}async execute(t,e,i=0,s=!1,a=!1){t&&typeof this.app.time=="function"&&this.app.time(t);let p=navigator.userAgent.toLowerCase(),d=this.app.widgetParams.WIDGET.disableCwvOptimization||this.app.isAmp()||!(p.indexOf("chrome")>-1&&navigator.vendor.toLowerCase().indexOf("google")>-1)||p.indexOf("fbav")>-1||p.indexOf("fban")>-1;return new Promise(u=>{if(d&&!s)a?e(u):u(e());else if(this.app.context.scheduler)this.app.context.scheduler.postTask(()=>{a?e(u):u(e())},{delay:i});else if(this.workersAvailable){let m=("0000000000"+Math.round(Math.random()*1e10).toString(16)).slice(-10);this.workerCallbacks[m]=()=>{a?e(u):u(e())},this.worker.postMessage({eventId:m,timeout:i})}else setTimeout(()=>{a?e(u):u(e())},i)}).finally(()=>{t&&typeof this.app.timeEnd=="function"&&this.app.timeEnd(t)})}async waitForFree(){return new Promise(t=>{(function e(){this.workInProgress?this.execute("",()=>{e.bind(this)()},50,!0):t()}).bind(this)()})}async waitWidgetLoad(){return new Promise(t=>{this.app.lifeCycleLoadResolver=t})}async waitForLoadBackfill(){return new Promise(t=>{let e=i=>{let s=`_mgLoadBackfill_${this.app.widgetParams.WIDGET.id}`;i.data===s&&typeof this.app.context[s]>"u"&&(this.app.context[s]=!0,this.app.context.removeEventListener("message",e,!1),this.app.context.parent.postMessage(s,"*"),t())};this.app.context.addEventListener("message",e,!1)})}}});C();B();C();B();C();B();C();B();$();var Yt=class extends G{constructor(t){super(t),this.isDebugEnabled=!1,this.isProfilerEnabled=!1,this.app.log=this.log.bind(this),this.app.time=this.time.bind(this),this.app.timeEnd=this.timeEnd.bind(this)}initDebugger(){this.isDebugEnabled=this.app.getQueryParameterByName("mgwdebug")==="1"||this.app.widgetParams.WIDGET.debug,this.isProfilerEnabled=this.app.getQueryParameterByName("mgwprofile")==="1"||this.app.widgetParams.WIDGET.debug,this.app.widgetParams.WIDGET.loggerEnabled&&(this.app.context.addEventListener("error",t=>{(t.filename===this.app.widgetParams.WIDGET.widgetPathES6||t.filename===this.app.widgetParams.WIDGET.widgetPathES5)&&this.sendData(t.message)}),this.app.context.addEventListener("unhandledrejection",t=>{(t.reason?.stack.indexOf(this.app.widgetParams.WIDGET.widgetPathES6)>0||t.reason?.stack.indexOf(this.app.widgetParams.WIDGET.widgetPathES5)>0)&&this.sendData(t.reason.stack)}))}log(t,e="log",i=null){if(this.isDebugEnabled){let a=["log","info","warn","error"].indexOf(e)!==-1?e:"log";typeof console[a]!="function"&&(a="log"),i&&i.stack&&i.message?console[a](`WIDGET_${this.app.widgetParams.WIDGET.id}_${this.app.uniqId}`,t,i.stack):console[a](`WIDGET_${this.app.widgetParams.WIDGET.id}_${this.app.uniqId}`,t)}}time(t){this.isProfilerEnabled&&typeof console.time=="function"&&console.time(`WIDGET_${this.app.widgetParams.WIDGET.id}_${this.app.uniqId} ${t}`)}timeEnd(t){this.isProfilerEnabled&&typeof console.timeEnd=="function"&&console.timeEnd(`WIDGET_${this.app.widgetParams.WIDGET.id}_${this.app.uniqId} ${t}`)}sendData(t){this.app.widgetParams.WIDGET.loggerEnabled&&this.app.request.pixel("logger",`https://${this.app.widgetParams.WIDGET.countersDomain}/widget-log?id=${this.app.widgetParams.WIDGET.id}&d=`+encodeURIComponent(t)+"&ts="+new Date().getTime(),{},{})}};wt();var te=class w{constructor(t,e,i,s,a,p,d){if(this.BaseBlockClass=w,this.app=this,this.widgetParams=d,this.context=e,this.blankImage=this.app.widgetParams.WIDGET.blankImage,this.enabledCooperationTypes=JSON.parse(this.app.widgetParams.WIDGET.cooperationTypes),this.root=this.context.document.getElementById(t),this.debugBlock=new Yt(this),this.lifeCycleLoadResolver=null,this.waitConsentResolver=null,this.rootId=t,this.containerId=s,this.uniqId=a,this.fallbackMode=i,this.page=1,this.adlink="",this.template="",this.templateContent=null,this.id=this.app.widgetParams.WIDGET.id,this.originalId=this.app.widgetParams.WIDGET.id,this.pvid="",this.muid="",this.afterPreRenderNewsHooks=[],this.beforeInjectScriptHooks=[],this.beforeLoadNewsHooks=[],this.afterLoadNewsHooks=[],this.afterInjectScriptHooks=[],this.beforePrepareCappingDataHooks=[],this.afterPrepareCappingDataHooks=[],this.afterSendCappingHooks=[],this.beforeInitHooks=[],this.afterInitHooks=[],this.observerWidgetHooks=[],this.observerTeasersHooks=[],this.blocksAddress="",this.tickerPrefix="",this.countLoadBlocks=0,this.preTemplate="",this.postTemplate="",this.banners={},this.loadedDefault=!1,this.teaserData={},this.servicerData={},this.pagesServicerData=[],this.childWidgetsData=JSON.parse(this.app.widgetParams.WIDGET.childWidgets),this.versionWidget=p,this.sspPerformance=this.app.widgetParams.WIDGET.sspPerformancePercentage>=Math.ceil(Math.random()*100),this.doubleClickType="",this.doubleClickCheckId=0,this.doubleClickPercent=0,this.precalcRect=null,this.preRenderTeaserSizes=null,this.preRenderImageSizes=null,this.isSingleJS=this.versionWidget===17&&typeof this.context._mgc<"u",this.widgetConstructorData=JSON.parse(this.app.widgetParams.WIDGET._constructor),typeof this.widgetConstructorData.mctitle<"u"&&typeof this.widgetConstructorData.mctitle.styles<"u"&&typeof this.widgetConstructorData.mctitle.styles.fontSize<"u"?this.autoSizeTitle=Number(this.widgetConstructorData.mctitle.styles.fontSize):this.autoSizeTitle=0,this.globalSettings=JSON.parse(this.app.widgetParams.WIDGET.globalSettings),this.customBanners=JSON.parse(this.app.widgetParams.WIDGET.customBanners),this.initServicerRequest=!0,this.exceptAdsList=[],this.exceptExchangeList=[],this.context._mgIntExchangeNews=this.context._mgIntExchangeNews||[],this.clickHandlers=[],this.sspDoubleClickHash=[],this.requestParams={},this.userAgentDataParams=null,this.consentDataParams=null,this.videoMetricsParams=null,this.webProtocol="https:",this.clickHandlerList={onSiteNotificationClick:{handler:"onSiteNotificationHandler",priority:8},onSmartDoubleClick:{handler:"onSmartDoubleClickHandler",priority:10},onAntifraudStatisticsClick:{handler:"onAntifraudStatisticsClickHandler",priority:15},sspDoubleClick:{handler:"sspDoubleClickHandler",priority:20},scrollTimeDoubleClick:{handler:"scrollTimeDoubleClickHandler",priority:21},activateDelayLink:{handler:"activateDelayLinkHandler",priority:30},accidentalClicks:{handler:"accidentalClicksHandler",priority:50},returnedRefreshClick:{handler:"returnedRefreshClickHandler",priority:120},showDesktopDoubleClick:{handler:"showDesktopDoubleClickButton",priority:150},showMobileDoubleClick:{handler:"showDoubleClickButton",priority:150},externalCountersLink:{handler:"externalCountersLinkHandler",priority:180},internalExchangeLogger:{handler:"internalExchangeLoggerHandler",priority:180},hangNiceLinkListener:{handler:"hangNiceLinkListener",priority:200},countSessionClicks:{handler:"countSessionClicksHandler",priority:250},closeWidgetClick:{handler:"closeWidget",priority:600},refreshNews:{handler:"refreshNewsHandler",priority:700}},this.context.self!==this.context.top){let u=this.context.document.referrer.split("/");this.intExchangeProtocol=u[0].indexOf("http")==0?u[0]:"https:"}else{let u=this.context.document.location.protocol;this.intExchangeProtocol=u.indexOf("http")==0?u:"https:"}this.sourceName="",this.setTemplate(this.app.widgetParams.WIDGET.widgetTemplate.replace(/[\r\n]/g,"")),this.setStyles(this.app.widgetParams.WIDGET.templateStyles.replace(/\\'/g,"'")),this.servicerDomain=this.app.widgetParams.WIDGET.servicerDomain,this.adBlockStyles=this.app.widgetParams.WIDGET.adBlockTemplateStyles.replace(/\((\'|\")?\/\//g,"($1https://"),this.clickTracking="",this.loadedType="",this.parentCustomFuncBlocks={},this.childFuncBlocks={},this.browserId=-1,this.deviceType=Nt.Desktop,this.hrefAttr="href",this.enabledCooperationTypes=JSON.parse(this.app.widgetParams.WIDGET.cooperationTypes),this.consentData=null,this.cmpEnabled=!1,this.uspString="",this.uspEnabled=!1,this.tcfv2Data=null,this.tcfv2Enabled=!1,this.consentOrigin=null,this.cookieMatchingDomain=this.app.widgetParams.WIDGET.cookieMatchingDomain?this.app.widgetParams.WIDGET.cookieMatchingDomain:"",this.iframePlacementType=0,this.networkInformationType="unknown",this.networkInformationEffectiveType="unknown",this.networkInformationSaveData=0,this.pageUrl="",this.refererUrl="",this.refererParam="",this.adblockDetectResult=null,this.adBlockStatement=!1,this.gptOptions=JSON.parse(this.app.widgetParams.WIDGET.gptOptions||"{}"),this.backfillData=JSON.parse(this.app.widgetParams.WIDGET.backfillData||"{}"),this.isOurIframe=this.context.document.location.hostname===this.app.widgetParams.WIDGET.iframeDomain,this.refreshedElement=null,this.startServicerTime=null,this.widgetCappingEnabled=this.app.widgetParams.WIDGET.flippEnabled,this.sendBannerInfoScript=`<script>
      var mgLastSendHeight = 0;
      var mgLastSendWidth = 0;
      function mgSendInfo() {
        var data = {
          type: '_mgBannerInfo',
          height: mgLastSendHeight,
          width: mgLastSendWidth,
          id: window['_mgBannerId']
        };
        window.parent.postMessage(data, '*');
      }
      var mgResizeObserver = new ResizeObserver(function(entries) {
        for (var i = 0; i < entries.length; i++) {
          var entry = entries[i];
          var newHeight = Math.round(entry.contentRect.height);
          if (newHeight >= 50 && newHeight !== mgLastSendHeight) {
            mgLastSendHeight = newHeight;
            mgLastSendWidth = Math.round(entry.contentRect.width);
            mgSendInfo();
          }
        }
      });
      mgResizeObserver.observe(document.body);
    <\/script>`,this.setRefererData()}setRefererData(){let t=this.app.isIframe(),e=!0,i=!1,s=this.app.context,a=this.app.context;if(t)for(;;){try{s.frameElement&&s.frameElement.src!=""&&(e=!1),s.document.body}catch{s=a,i=!0,e=!1;break}if(s==s.parent)break;a=s,s=s.parent}try{this.app.isAmp()?(this.app.iframePlacementType=3,this.app.pageUrl=typeof this.app.context.context.sourceUrl<"u"?this.app.context.context.sourceUrl:"",this.app.refererUrl=typeof this.app.context.context.referrer<"u"?this.app.context.context.referrer:"",this.app.pageUrl!=""?this.app.refererParam=this.app.pageUrl:this.app.refererParam=this.app.refererUrl):(this.app.pageUrl=s.document.location.href,this.app.refererUrl=s.document.referrer||"",this.app.refererParam=this.app.refererUrl,t&&!e&&(i?this.app.iframePlacementType=2:(this.app.refererParam=this.app.pageUrl,this.app.iframePlacementType=1)))}catch{this.app.iframePlacementType=2}}getQueryParameterByName(t){t=t.replace(/[\[\]]/g,"\\$&");let i=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(this.app.context.location.href);return i?i[2]?decodeURIComponent(i[2].replace(/\+/g," ")):"":null}setStyles(t){this.app.styles=t.replace(/\((\'|\")?\/\//g,"($1"+this.app.webProtocol+"//")}setTemplate(t){t=t.replace(/^\s*[\r\n]|\s{2,}/gm,""),t=t.replace(/\((\'|\")?\/\//g,"($1"+this.app.webProtocol+"//"),t=t.replace('src="//','src="'+this.app.webProtocol+"//"),this.app.templateText=t.replace('href="//','href="'+this.app.webProtocol+"//")}cutString(t,e,i){if(t.length<=e)return t;let s=[];s=t.split(" ");let a=s[0]+" ",p;for(let d=1;d<s.length;d++){if(p=a+s[d],p.length>e)return a+(typeof i>"u"||i?"...":"");a+=s[d]+" "}return t}parseString(t,e){let i=[],s,a="";for(i=t.split(" "),s=0;s<i.length;s++)i[s].length>e&&i[s].search(/&\w+;/)<0?a+=i[s].substr(0,e)+" "+i[s].substr(e)+" ":a+=i[s]+" ";return a}prepareTitle(t){return this.app.widgetParams.WIDGET.titleBreak&&(t=this.app.parseString(t,this.app.widgetParams.WIDGET.titleBreak)),this.app.widgetParams.WIDGET.titleLimit&&(t=this.app.cutString(t,this.app.widgetParams.WIDGET.titleLimit,this.app.widgetParams.WIDGET.informerTitleDotsFlag)),this.app.widgetParams.WIDGET.disableCaps&&(t=t.replace(/[\!\s\t\n\r\0\x0B]+$/g,"").replace(/([А-ЯЁA-Z]{2,})/g,(e,i,s,a)=>!s||a.substring(parseInt(s-2)).match(/^[!|?|.|,|-]\s/g)?e.replace(i.substring(1),i.substring(1).toLowerCase()):e.toLowerCase())),t}prepareDesc(t){return this.app.widgetParams.WIDGET.descBreak&&(t=this.app.parseString(t,this.app.widgetParams.WIDGET.descBreak)),this.app.widgetParams.WIDGET.descLimit&&(t=this.app.cutString(t,this.app.widgetParams.WIDGET.descLimit,1)),t}hidePreloadDiv(){this.app.fallbackMode?this.app.fallbackMode&&this.app.countLoadBlocks===0&&(this.app.root.innerHTML="",this.app.context.document.getElementById("M"+this.app.widgetParams.WIDGET.siteId+"PreloadC"+this.app.widgetParams.WIDGET.id)&&(this.app.context.document.getElementById("M"+this.app.widgetParams.WIDGET.siteId+"PreloadC"+this.app.widgetParams.WIDGET.id).style.display="none")):[this.app.widgetParams.WIDGET.informerPrefix+"PreloadC"+this.app.containerId,"M"+this.app.widgetParams.WIDGET.siteId+"PreloadC"+this.app.containerId,this.app.widgetParams.WIDGET.informerPrefix+"PreloadN"+this.app.containerId,"M"+this.app.widgetParams.WIDGET.siteId+"PreloadN"+this.app.containerId].every(e=>{let i=this.app.context.document.getElementById(e);return i?(i.style.display="none",!1):!0})}loadNewsPrestart(t,e){if(this.app.hidePreloadDiv(),typeof t<"u"){this.app.servicerData=t;let i={page:this.app.pagesServicerData.length+1,servicerData:this.app.servicerData,teasersCount:e};if(this.app.pagesServicerData.push(i),typeof t.dt<"u"&&(this.app.deviceType=t.dt),typeof t.brid<"u"&&(this.app.browserId=t.brid),this.app.widgetParams.WIDGET.hasVideoPart&&typeof this.app.servicerData.lib<"u"&&this.app.servicerData.config&&this.app.servicerData.config.formats&&this.preloadVideoWidgetResources(),typeof this.app.servicerData<"u"&&typeof this.app.servicerData.css<"u"&&(this.app.styles=this.app.servicerData.css,this.app.stylesheetsBlock.add("split_style",this.app.servicerData.css),this.app.stylesheetsBlock.remove("main")),typeof this.app.servicerData<"u"&&typeof this.app.servicerData.t<"u"&&this.app.servicerData.t!==""){let s=this.app.servicerData.t.replace(/\r?\n/g,"");this.app.setTemplate(s)}}}preloadVideoWidgetResources(){let t=this.app.servicerData.dt?this.app.servicerData.dt:"desktop",e=this.app.servicerData.config.formats.filter(i=>i.device===t)[0];if(e){let{protocol:i}=this.context.document.location,s=i.indexOf("http")!==-1?`${i}//`:"https://",a=this.app.widgetParams.WIDGET.staticRootDomain?this.app.widgetParams.WIDGET.staticRootDomain:this.app.currentSubnetDomain,p=`mgStyles${this.id}`;if(e.styleUrl){let d=e.styleUrl.replace("{{DOMAIN}}",this.app.currentSubnetDomain).replace(/^(https?:\/\/|\/\/)/,`${s}`);this.appendWidgetPreloadDom(d,p,!0)}(typeof e.playerType>"u"||e.playerType==="mgplayer")&&this.appendWidgetPreloadDom(`${s}video-native.${a}/mgPlayer/img/mgPlayer_v2_sprite.svg`)}}appendWidgetPreloadDom(t,e="",i=!1){let s=this.context.document.createElement("link");s.setAttribute("href",t);let a=t.split(".").pop();a==="css"&&(s.setAttribute("type","text/css"),s.setAttribute("rel","stylesheet")),a==="svg"&&s.setAttribute("type","image/svg+xml"),e&&s.setAttribute("id",e),i&&(s.onload=()=>{s.setAttribute("data-loaded","true")}),this.app.isShadowRoot()?(this.app.root.getRootNode().appendChild(s),this.context.document.head.appendChild(s.cloneNode(!0))):this.context.document.head.appendChild(s)}addVideoLib(){if(this.app.widgetParams.WIDGET.hasVideoPart&&typeof this.app.servicerData.lib<"u"){let t=this.app.widgetParams.WIDGET.libraryVersion!==this.app.servicerData.lib?`${this.app.widgetParams.WIDGET.libraryVersion}<${this.app.servicerData.lib}`:"",e=JSON.parse(this.app.widgetParams.WIDGET.videoCfg),i={lib:this.getActiveChilds().length===0?this.app.widgetParams.WIDGET.libraryVersion:this.app.servicerData.lib,servLib:t,cid:this.app.id,sid:this.app.widgetParams.WIDGET.siteId,config:typeof this.app.servicerData.config<"u"?this.app.servicerData.config:e,vr_playlist:typeof this.app.servicerData.vr_playlist<"u"?this.app.servicerData.vr_playlist:[],template:"",styles:"",paramsData:{isSmart:this.app.widgetParams.WIDGET.type==="smart"},cxurl:this.app.contextBlock.contextUriParse(),subnetDomain:this.app.currentSubnetDomain,countersDomain:this.app.widgetParams.WIDGET.countersDomain,lang:this.app.servicerData.sl,sd:this.app.servicerData.sd,cappingData:{dt:this.app.servicerData.dt,ts:this.app.servicerData.ts,tt:this.app.servicerData.tt,h2:this.app.servicerData.h2,iv:this.app.servicerData.iv,psid:this.app.servicerData.psid,isBot:this.app.servicerData.isBot,subnet:this.app.currentSubnet,lang:this.app.globalSettings.current_language},rootElement:this.app.root,scriptRoot:this.getRoot(),hasBackfill:!!this.app.backfillData.video,backfillCallback:()=>{this.app.backfillBlock.renderBackfill()},backfillDestructor:()=>{this.app.backfillBlock.destroyBackfill()},tcfExpirationDate:Number(this.app.globalSettings?.widget_consent_outdated_time)||168,backfillPrice:this.servicerData.backfillPrice};this.app.root.className.indexOf("_mgw_"+this.app.widgetParams.WIDGET.id)===-1&&(this.app.root.className+=(this.app.root.className.length===0?"":" ")+"_mgw_"+this.app.widgetParams.WIDGET.id),this.app.root.className.indexOf("_mgVideoBlock_"+this.app.widgetParams.WIDGET.id)===-1&&(this.app.root.className+=(this.app.root.className.length===0?"":" ")+"_mgVideoBlock_"+this.app.widgetParams.WIDGET.id),setTimeout(()=>{if(this.app.servicerData.config?.testWidgetLib){this.app.context._mgq=this.app.context._mgq||[];let s=!0,a=this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.cdnDomain+"/js/wglibs/mgWidget_"+this.app.servicerData.lib+(s?".es6":".es5")+".js";if(this.app.servicerData.config?.testWidgetLib){let d=this.app.servicerData.config.testWidgetLib.match(/mgWidget_(debug_)?(VID\d+)/);d!==null&&(i.lib=d[2]);let u=this.app.servicerData.config.testWidgetLib;u.indexOf(".es")===-1&&(u=u.replace(".js",s?".es6.js":".es5.js")),a=u+"?r="+encodeURIComponent(this.app.pageUrl)}let p=this.app.context.document.createElement("script");p.type="text/javascript",p.charset="utf-8",p.async=!0,p.src=a,this.app.context.document.head.appendChild(p),this.app.context._mgq.push(["_mgload",i]),this.startMgqwp()}else this.videoWidgetsLib.loadLibrary(i)},0)}}loadNews(t){if(this.app.addVideoLib(),t.length>0){let i=this.app.getRenderer(this.app.templateText).getHtml(t);if(this.app.root&&i){if(i=this.app.advertLinkBlock.parseAdvertLink(i),this.app.fallbackMode&&this.app.countLoadBlocks==0&&(this.app.root.innerHTML=""),this.app.templateContent=this.app.context.document.createElement("template"),this.app.templateContent.innerHTML="<div>"+this.app.preTemplate+i+this.app.postTemplate+"</div>",typeof this.app.templateContent.content>"u"){let d=this.app.templateContent,u=document.createDocumentFragment(),m=d.childNodes;for(let k=0;k<m.length;k++)u.appendChild(m[k].cloneNode(!0));this.app.templateContent.content=u}this.app.templateContent=this.app.templateContent.content.firstChild;let s=this.app.templateContent.querySelectorAll(".mgline-gpt");if(s.length)for(let d=0;d<s.length;d++)s[d].innerHTML="";if(this.app.refreshedElement){this.app.templateContent=this.app.templateContent.querySelector(".mgline");let d=this.app.templateContent.getElementsByTagName("a");for(let u=0;u<d.length;u++)d[u].setAttribute("data-refreshed","true")}let a=this.app.templateContent.querySelectorAll("img.mcimg");if(a.length>0)for(let d=0;d<a.length;d++){let u=a[d];u.src=a[d].getAttribute("data-src"),u.setAttribute("alt","")}let p=this.app.templateContent.querySelectorAll("video.mcvideo");if(p.length>0)for(let d=0;d<p.length;d++){let u=p[d];u.onplay=function(){u.classList.add("played")},u.removeAttribute("nopin"),u.removeAttribute("crossorigin"),u.src=u.getAttribute("data-src"),typeof u.childNodes[0]<"u"&&u.parentElement.appendChild(u.childNodes[0])}this.app.addTemplate(this.app.templateContent),this.app.renderBanners(!0,null)}}else{if(typeof this.app.context._mgIsCustomBanner<"u")try{let i={type:"_mgBannerInfo",isEmpty:!0,id:this.app.context._mgBannerId};this.app.context.parent.postMessage(i,"*")}catch{}if(this.app.root&&this.app.countLoadBlocks==0){this.app.root.innerHTML="";return}}if(this.app.servicerData&&this.app.servicerData.muidn&&this.app.servicerData.pvid&&this.app.pvid!=""&&this.app.servicerData.pvid==this.app.pvid)try{this.app.muid=this.app.servicerData.muidn,this.app.isAmp()&&(this.app.cookieBlock.cookieStorage.muidn=this.app.servicerData.muidn),this.app.context.localStorage&&this.app.context.localStorage.setItem("mgMuidn",this.app.servicerData.muidn)}catch{}this.app.cookieBlock.cookieStorage.page=this.app.page,this.app.cookieBlock.cookieStorage.time=new Date().getTime().toString(),this.app.cookieBlock.setCookie();let e=this.app.root.getElementsByTagName("a");for(let i=0;i<e.length;i++)this.app.widgetParams.WIDGET.noFollow&&(e[i].rel="sponsored nofollow noopener");this.app.countLoadBlocks++}addTemplate(t){this.app.refreshedElement?(this.app.refreshedElement.parentNode.replaceChild(t,this.app.refreshedElement),(typeof this.app.requestParams.limitads<"u"||typeof this.app.requestParams.pos<"u")&&(delete this.app.requestParams.limitads,delete this.app.requestParams.pos),this.app.refreshedElement=null):this.app.root.appendChild(t)}getViewportHeight(){let t=this.app.context.document,e=this.app.context,i="documentElement",s="clientHeight",a="clientWidth",p="innerHeight",d="innerWidth",u="scrollHeight",m="scrollWidth",k="offsetHeight",I="offsetWidth",T="offsetLeft",b="offsetTop",D="scrollTop",v="scrollLeft";return this.app.isAmp()?typeof e["intersectionRect"+this.app.widgetParams.WIDGET.id+"_"+this.uniqId]<"u"?{c:e["intersectionRect"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId].height,s:e["intersectionRect"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId].y}:{c:e["intersectionRect"+this.app.widgetParams.WIDGET.id].height,s:e["intersectionRect"+this.app.widgetParams.WIDGET.id].y}:e[d]?{c:e[p],s:e.pageYOffset}:t[i]&&t[i][a]?{c:t[i][s],s:t[i][D]}:t.body[a]?{c:t.body[s],s:t.body[D]}:0}renderBanners(t,e){for(let i in this.app.banners)if(this.app.banners[i].rs!=t){if(!t){if(this.app.banners[i].iteration!=e)continue;this.app.banners[i].rs=!1}if(this.app.banners[i].isRendered===!0)continue;let s=this.app.root.querySelector("#"+i),a=this.app.banners[i].html,p=!1;if(this.app.banners[i].clickUrl&&a.indexOf("${CLICK_PIXEL}")!==-1){let k=this.app.allowReturnParams;this.app.allowReturnParams=!0,a=a.replace(/\${CLICK_PIXEL}/g,this.app.banners[i].clickUrl+this.app.getAntifraudQueryParameter(this.app.banners[i].clickUrl)),p=!0,this.app.allowReturnParams=k}a.indexOf("{page_url}")!==-1&&(a=a.replace(/{page_url}/g,this.app.pageUrl)),a.indexOf("{referrer_url}")!==-1&&(a=a.replace(/{referrer_url}/g,this.app.refererUrl));let d=this.app.banners[i].isCustomBanner,u=this.app.isSingleJS&&d&&a.indexOf("_mgwidget")!==-1,m=`<!DOCTYPE html><html><body style="margin: 0;">
          <script>var _mgBannerId = "${this.app.banners[i].id}";<\/script>
          ${d?"<script>var _mgIsCustomBanner = true;<\/script>":""}
          ${typeof ResizeObserver<"u"?this.app.sendBannerInfoScript:""}
          ${a}
          </body></html>
        `;if(!this.app.banners[i].useSecureIframe||u?(s.contentWindow.document.open(),s.contentWindow.document.write(m),s.contentWindow.document.close()):this.app.renderInSafeIframe(s,`banner_${i}`,m),this.app.widgetParams.WIDGET.type==="carousel-super"&&(s.parentNode.style.cssText="width: "+this.app.banners[i].width+"px !important"),u){let k=this.app.getSingleJsController();k&&k.loadBackfill(s)}this.app.banners[i].isRendered=!0,p||(k=>{s.contentWindow.document.body.addEventListener("click",I=>{let T=I.target,b=!1;for(;T.parentElement;)if(T.tagName==="A"){b=!0;break}else T=T.parentElement;b&&this.app.request.pixel("bannerClickTracker",this.app.banners[k].clickUrl,{k:this.app.getAntifraudQueryParameter(this.app.banners[k].clickUrl)},{})},!0)})(i)}}renderInSafeIframe(t,e,i){t.sandbox="allow-scripts allow-popups";let s=this.app.context.location.href.indexOf("admin.")===-1&&this.app.context.location.href.indexOf("dashboard.")===-1&&this.app.context.location.href.indexOf("panel.")===-1;this.app.widgetParams.WIDGET.customBanners.length>0&&s&&(t.sandbox="allow-same-origin allow-scripts allow-popups"),"srcdoc"in t?t.srcdoc=i:(t.src=this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.cdnDomain+`/widgets/framehost.html#${e}`,this.app.context.addEventListener("message",a=>{a.origin===this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.cdnDomain&&a.data===`loaded #${e}`&&t.contentWindow.postMessage(i,"*")},!1))}getPageCount(){let t=this.app.widgetParams.WIDGET.newsPartPagesCount,e=this.app.widgetParams.WIDGET.goodsPartPagesCount;return t&&e?Math.min(t,e):t||e}init(){if(typeof JSON!="object"&&(this.app.hidePreloadDiv(),this.app.log("Unsupported browser","error"),this.app.debugBlock.sendData("Unsupported browser")),this.app.canUseShadowDom()){let t=this.app.root;try{t.parentNode.attachShadow({mode:this.app.widgetParams.WIDGET.shadowDomClosed?"closed":"open"}).appendChild(t)}catch(e){this.app.log("Shadow DOM can't be attached: ","error",e)}}if(this.app.root){this.app.cookieBlock.getCookie();let t=Number(this.app.cookieBlock.cookieStorage.page),e=typeof this.app.cookieBlock.cookieStorage.time<"u"?Number(this.app.cookieBlock.cookieStorage.time):0,i=this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"PageOffset"]?parseInt(this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"PageOffset"]):0;this.app.addClickHandler(this.app.clickHandlerList.hangNiceLinkListener.handler,this.app.clickHandlerList.hangNiceLinkListener.priority),this.app.addEvent(this.app.root,"mouseup",this.app.eventsHangNiceLinkListener),this.app.addEvent(this.app.root,"contextmenu",this.app.eventsHangNiceLinkListener),this.app.addEvent(this.app.root,"touchstart",this.app.eventsHangNiceLinkListener);let s=this.app.getPageCount();if(t!=null&&t<s&&t>0?this.app.page=t+1:(t>s-1||t<1)&&(this.app.page=1+i),new Date().getTime()-e>=6e5&&(this.app.page=1+i),this.app.widgetParams.WIDGET.codePaginatorEnabled&&!this.app.widgetParams.WIDGET.widgetPaginator&&!this.app.page&&(this.app.page=1),this.app.pageUnlim=this.app.page-1,this.app.cookieBlock.cookieStorage.page=this.app.page,this.app.cookieBlock.setCookie(),this.app.widgetParams.WIDGET.disableCookies){let d=new Date;this.app.page=d.getSeconds()%s+1}else if(!this.app.context.document.cookie){let d=new Date;this.app.page=d.getSeconds()%s+1}if(this.app.blocksAddress=this.app.webProtocol+"//"+this.app.servicerDomain+"/",this.app.widgetParams.WIDGET.useDefaultJs){this.app.context["mgDefaultComposite"+this.app.widgetParams.WIDGET.id]=()=>{this.app.defaultComposite(this.app.widgetParams.WIDGET.id)},this.app.context["mgDefaultComposite"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId]=()=>{this.app.defaultComposite(this.app.widgetParams.WIDGET.id)},this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"DefaultComposite"+this.app.widgetParams.WIDGET.id]=()=>{this.app.defaultComposite(this.app.widgetParams.WIDGET.id)},this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"DefaultComposite"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId]=()=>{this.app.defaultComposite(this.app.widgetParams.WIDGET.id)};for(let d in this.app.childWidgetsData)if(this.app.childWidgetsData.hasOwnProperty(d)){let u=this.app.childWidgetsData[d].childId;this.app.context["mgDefaultComposite"+u]=()=>{this.app.defaultComposite(u)},this.app.context["mgDefaultComposite"+u+"_"+this.app.uniqId]=()=>{this.app.defaultComposite(u)},this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"DefaultComposite"+u]=()=>{this.app.defaultComposite(u)},this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"DefaultComposite"+u+"_"+this.app.uniqId]=()=>{this.app.defaultComposite(u)}}}let a=this.app.getRoot();if(this.app.widgetParams.WIDGET.clicktrackingEnabled){let d=a.dataset.clickTracking,u=this.app.context.MGClickTracking;d&&d.indexOf("CLICK_URL")===-1?this.app.clickTracking=d:u&&u.indexOf("CLICK_URL")===-1&&(this.app.clickTracking=u)}if(this.app.adblockDetectResult===null&&this.setAdblockDetectResult(),this.app.widgetParams.WIDGET.adblockIntegration&&(this.app.adBlockStatement=this.app.adBlockDetect()),this.app.adBlockStatement&&(a.classList.add("eyeo"),this.app.rtbDisabled=1),this.app.adBlockStatement&&this.app.widgetParams.WIDGET.adBlockChangeStyles&&this.app.setTemplate(this.app.widgetParams.WIDGET.adblockTemplate.replace(/[\r\n]/g,"")),this.app.context.onClickExcludes=this.app.context.onClickExcludes||[],this.app.context.onClickExcludes.push(this.app.root),this.app.widgetParams.WIDGET.enableSource){let d=a.dataset.srcId,u=this.app.context[this.app.widgetParams.WIDGET.sourceName];d&&d!=="${PUBLISHER_ID}"?this.app.sourceName=d:u&&u!=="${PUBLISHER_ID}"&&(this.app.sourceName=u),this.app.adBlockStatement&&(this.app.sourceName="eyeo")}!this.app.widgetParams.WIDGET.useConstructor&&this.app.widgetParams.WIDGET.disableResizeImageAfterLoad&&(this.app.stylesheetsBlock.add("resizeImage",this.app.getMainCssSelector()+" img.mcimg {max-width: 0px;}"),this.app.stylesheetsBlock.add("resizeTitle",this.app.getMainCssSelector()+" .mctitle a { font-size: 0px}"));let p=".mgbox {text-align: center;}";this.app.adBlockStatement&&this.app.widgetParams.WIDGET.adBlockChangeStyles?this.app.stylesheetsBlock.add("adBlockMain",this.app.adBlockStyles+p):typeof this.app.context._mgBackfillStyles<"u"&&!this.app.widgetParams.WIDGET.customStylesEnabled?this.app.setBackfillStyles():this.app.stylesheetsBlock.add("main",this.app.styles+p),this.app.addEvent(this.app.root,"click",this.app.widgetClickHandler),this.app.addEvent(this.app.root,"auxclick",this.app.widgetClickHandler)}}setBackfillStyles(){let t=this.app.context._mgBackfillStyles,e=`.mgbox {text-align: center; padding: 0 !important;margin: 0 auto !important;
      width: 100% !important;
      max-width: 100% !important;border: none !important;}.mgbox:first-of-type {padding: 0 !important;}
      .mgbox .mgline {width: 100% !important;max-width: 100% !important;height: auto !important;
      padding: 0 !important;margin: 0 !important;box-shadow: none !important;border-radius: 0 !important;
      background: none !important;}.mgline .mcdesc {display: none !important;}`;this.app.utils.isMobile()||(t=t.replace("@media (max-width: 480px)","@media (min-width: 480px)")),t.indexOf(".mgtobottom .mcdomain")!==-1&&(t=t.replace(".mgtobottom .mcdomain",".mcdomain"),t=t.replace(".mgtobottom .mcdomain a",".mcdomain a")),this.app.stylesheetsBlock.add("backfillMain",t+e)}resetPage(){this.app.page=1}getMostTopWindow(){let t=this.app.context;for(;t!=t.parent;)try{let e=t.parent.document.body;t=t.parent}catch{break}return t}getDevicePixelRatio(){let t=1;return typeof this.app.context.devicePixelRatio<"u"?t=this.app.context.devicePixelRatio:typeof this.app.context.screen.systemXDPI<"u"&&typeof this.app.context.screen.logicalXDPI<"u"&&this.app.context.screen.systemXDPI>this.app.context.screen.logicalXDPI&&(t=this.app.context.screen.systemXDPI/this.app.context.screen.logicalXDPI),t%1===0||(t=t.toFixed(3)),t}getCbusterParameter(){return this.app.context.MG_CacheBuster||new Date().getTime()+""+Math.floor(Math.random()*1e9+1)}async injectScript(t,e){this.app.time("processHooks(beforeInjectScriptHooks)"),await this.lifeCycleBlock.processHooks("beforeInjectScriptHooks",null),this.app.timeEnd("processHooks(beforeInjectScriptHooks)"),this.app.injectionScriptMethod(t,e)}createServicerScriptElement(t,e){let i=this.app.context.document.createElement("script"),s=`${this.app.widgetParams.WIDGET.informerPrefix}C${this.app.widgetParams.WIDGET.id}DisableStart`,a=`mgDisableStart${this.app.widgetParams.WIDGET.id}`,p=typeof this.app.context[s]<"u";p||(p=typeof this.app.context[a]<"u"),i.type=p?"text/plain":"text/javascript",i.charset="utf-8",i.referrerPolicy="strict-origin-when-cross-origin";let d=this.app.widgetParams.WIDGET.id;if(this.app.adBlockStatement&&Object.keys(this.app.childWidgetsData).some(m=>{let k=this.app.childWidgetsData[m];if(k.showMonetizationEnabled===1&&typeof k.childId<"u")return d=k.childId,this.app.requestParams.src_cid=this.app.originalId,!0}),this.app.widgetParams.WIDGET.ampLimitAdsEnabled)try{if(this.app.context.localStorage){let m=this.app.context.localStorage.getItem("_mgPageAmp"+this.app.widgetParams.WIDGET.id);e=m?Number(m)+1:1,this.app.context.localStorage.setItem("_mgPageAmp"+this.app.widgetParams.WIDGET.id,String(e))}}catch{}let u=t?"fs/":"";return i.src=this.app.blocksAddress+u+d+"/"+e,i}getMuid(){if(!this.app.muid.length){let t="";if(this.app.isAmp())this.app.cookieBlock.getCookie(),t=this.app.cookieBlock.cookieStorage.muidn||"";else try{this.app.context.localStorage&&(t=this.app.context.localStorage.getItem("mgMuidn"))}catch{}typeof t=="string"&&t.length&&(this.app.muid=t)}return this.app.muid}getArticlePublishedTime(){let t="",e=this.app.getMostTopWindow(),i=e.document.querySelector('meta[property="article:published_time"]')||e.document.querySelector('meta[property="og:article:published_time"]');if(i&&(t=i.getAttribute("content")?.trim()||""),!t.length)try{let s=JSON.parse(e.document.querySelector('script[type="application/ld+json"]')?.textContent.trim()||"{}");if(Object.keys(s)?.length){let a="dateModified",p=d=>{for(let u in d)if(d.hasOwnProperty(u)){let m=d[u];if(u===a)return m;if(typeof m=="object"){let k=p(m);if(k)return k}}};t=p(s)?.trim()||""}}catch(s){this.app.log("getArticlePublishedTime - Failed","error",s)}return t}injectionScriptMethod(t,e){let i=this.app.createServicerScriptElement(t,this.app.page);this.app.requestParams={...this.app.requestParams,...this.app.pageViewPixelBlock.getPageDataParams()};let s=this.app.getUserAgentDataParams();s&&(this.app.requestParams={...this.app.requestParams,...s});let a=this.app.getVideoMetricsParams();if(a&&(this.app.requestParams={...this.app.requestParams,...a}),this.app.consentDataParams=this.app.consentsBlock.getConsentData(),this.app.consentDataParams&&(this.app.requestParams={...this.app.requestParams,...this.app.consentDataParams}),this.app.consentOrigin!==null&&(this.app.requestParams.consentOrigin=this.app.consentOrigin),this.app.consentOrigin===$t.Cmp)typeof this.app.requestParams.consentStrLen<"u"&&delete this.app.requestParams.consentStrLen,typeof this.app.requestParams.consentTimestamp<"u"&&delete this.app.requestParams.consentTimestamp;else try{let b=this.app.context.localStorage.getItem("MG_tcfv2Data");this.app.requestParams.consentStrLen=b?b.length:0,b&&(this.app.requestParams.consentTimestamp=JSON.parse(b||"{}")?.timestamp||0)}catch{}if(typeof this.app.context["_mgRMB"+this.app.widgetParams.WIDGET.widgetClientSiteId]<"u"&&(this.app.requestParams.rmb=1),this.app.adBlockStatement&&(this.app.requestParams.adb=1,typeof this.app.rtbDisabled<"u"&&(this.app.requestParams.rtb_disabled=this.app.rtbDisabled)),this.app.widgetParams.WIDGET.adblockIntegration&&this.app.widgetParams.WIDGET.adTypes&&this.app.adBlockStatement&&(this.app.requestParams.ad="pg,r"),(this.app.widgetParams.WIDGET.adblockEmulation||this.app.adblockDetectResult)&&(this.app.requestParams.eyeo=1),typeof this.app.context.MGi<"u"&&(this.app.requestParams.iso=this.app.context.MGi,this.app.requestParams.token=this.app.context._mgToken),typeof this.app.context._mgPreview<"u"||this.app.getRoot().dataset.preview){let D=JSON.parse(this.app.widgetParams.WIDGET.subnets)[this.app.widgetParams.WIDGET.currentSubnet];this.app.requestParams.advsrcid=D.advSrcId,this.app.requestParams.token=this.app.context._mgToken||this.app.getRoot().dataset.token}if(this.app.widgetParams.WIDGET.enableSource&&this.app.sourceName!==""&&(this.app.requestParams.src_id=this.app.sourceName),typeof this.app.context["ampOptions"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId]<"u")try{let b=JSON.parse(this.app.context["ampOptions"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId].replace(/'/g,'"')),{srcId:D,limitAds:v}=b||{};D&&D!=="${PUBLISHER_ID}"&&(this.app.requestParams.src_id=D),v&&v!=="${LIMIT_ADS}"&&(this.app.requestParams.limitads=v)}catch{}if(JSON.parse(this.app.widgetParams.WIDGET.enabledCooperationTypes).indexOf("int_exchange")>=0||this.app.widgetParams.WIDGET.createIntExchange){let b=this.app.context.document.querySelector('meta[property="og:title"]');if(this.app.context!==this.app.context.top)try{b=this.app.context.parent.document.querySelector('meta[property="og:title"]')}catch{}b&&(this.app.requestParams.ogtitle=encodeURIComponent(b.getAttribute("content")))}this.app.uniqId!==""&&this.app.widgetParams.WIDGET.allowMultipleWidgets&&(this.app.requestParams.uniqId=this.app.uniqId),this.app.getActiveChilds().length&&(this.app.requestParams.childs=this.app.getActiveChilds().join(",")),e&&(this.app.requestParams.rsh=e,this.app.requestParams.initial_composite=this.app.id,e===2&&this.app.collectExceptParams(),typeof this.app.requestParams.cmpreason<"u"&&delete this.app.requestParams.cmpreason,typeof this.app.requestParams.nocmp<"u"&&delete this.app.requestParams.nocmp),(Array.isArray(this.app.context._mgExceptAds)&&this.app.context._mgExceptAds.length||Array.isArray(this.app.context._mgExchangeNews)&&this.app.context._mgExchangeNews.length||Array.isArray(this.app.context._mgIntExchangeNews)&&this.app.context._mgIntExchangeNews.length||typeof this.app.context.document.mgExceptIds<"u")&&this.app.collectExceptParams(),this.app.gptOptions?.backfill&&!this.app.adBlockStatement&&typeof this.app.context["_mgGPT"+this.app.widgetParams.WIDGET.id]>"u"?(this.app.context["_mgGPT"+this.app.widgetParams.WIDGET.id]=!0,this.app.requestParams.gptbid=this.app.gptOptions.backfill):typeof this.app.requestParams.gptbid<"u"&&delete this.app.requestParams.gptbid,typeof this.app.context.MG_setRequestNonPersonalizedAds<"u"&&this.app.context.MG_setRequestNonPersonalizedAds==1&&(this.app.requestParams.npa=1);try{let b=navigator.connection||navigator.mozConnection||navigator.webkitConnection;typeof b.type<"u"&&(this.app.networkInformationType=b.type,this.app.requestParams.nit=this.app.networkInformationType),typeof b.effectiveType<"u"&&(this.app.networkInformationEffectiveType=b.effectiveType,this.app.requestParams.niet=this.app.networkInformationEffectiveType),typeof b.saveData<"u"&&(this.app.networkInformationSaveData=b.saveData?1:0,this.app.requestParams.nisd=b.saveData)}catch{}this.app.widgetParams.WIDGET.sspSanctionsEnabled&&(this.app.requestParams.afp=this.app.context.navigator.platform.toLowerCase()),typeof this.app.context[`_mgSingleJS${this.app.widgetParams.WIDGET.widgetClientSiteId}`]<"u"&&(this.app.requestParams.jsp=this.app.context[`_mgSingleJS${this.app.widgetParams.WIDGET.widgetClientSiteId}`]),this.app.requestParams.pv=5,this.app.requestParams.lct=this.app.getLct(1728239065),this.app.requestParams.jsv="es6",this.app.requestParams.pageView=this.app.pageView,this.app.requestParams.dpr=this.app.getDevicePixelRatio(),this.app.requestParams.ref=encodeURIComponent(this.app.contextBlock.stripAmpParts(this.app.refererParam)),this.app.requestParams.hashCommit=V.widgetBuilder,this.app.iframePlacementType!==0&&(this.app.requestParams.iframe=this.app.iframePlacementType),typeof this.app.context._mgBackfillCxurl<"u"&&(this.app.requestParams.cxurl=this.app.context._mgBackfillCxurl),typeof this.app.context._mgBackfillRef<"u"&&(this.app.requestParams.ref=this.app.context._mgBackfillRef),this.app.context._mgIsBackfillBanner&&this.app.utils.isMobile()&&/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(this.app.requestParams.iframe=1,!this.app.requestParams.ref?.length&&this.app.requestParams.cxurl?.length&&(this.app.requestParams.ref=this.app.requestParams.cxurl));let p=this.app.getMuid();p.length&&(this.app.requestParams.muid=p);let d=this.app.getArticlePublishedTime();d.length&&(this.app.requestParams.apt=encodeURIComponent(d));let u=this.app.context?.performance.getEntriesByType?.("navigation")[0]?.responseEnd,m=this.app.context?.performance.now?.(),k=Math.round(m-u);typeof k=="number"&&!isNaN(k)&&(this.app.requestParams.tfre=k);let I=[];for(let b in this.app.requestParams)this.app.requestParams.hasOwnProperty(b)&&I.push(`${b}=${this.app.requestParams[b]}`);if(typeof this.app.globalSettings.retention_tool_widget_utm=="string"&&this.app.globalSettings.retention_tool_widget_utm.length&&!this.app.isAmp()){let b=this.app.globalSettings.retention_tool_widget_utm,v=(this.app.pageUrl||this.app.context.location.href||"").split("&").filter(y=>y.indexOf(b)!==-1).slice(0,1).join("");v=v.substring(v.indexOf(b)),v&&I.push(v)}let T=i.src;T.indexOf("?")==-1?T+="?":T+="&",T+=I.join("&"),i.src=T,this.app.sspPerformance&&typeof this.app.context.performance.getEntries<"u"&&(i.onload=()=>{this.app.context.performance.getEntries().map(b=>{if(b.name===T){let D=Math.ceil(b.responseEnd-b.startTime);this.app.request.pixel("widgetSspPerformance",this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.countersDomain+"/widget-ssp-performance",{time:`time=${D}`},{})}})}),window.performance?.mark("ssp_request_start",{detail:{_mgwidget:this.app.widgetParams.WIDGET.id}}),this.app.context.document.head.appendChild(i),i.onerror=()=>{this.app.isAdblock=!0}}collectExceptParams(){let t=this.app.getExceptTeasersIds(J.Wages),e=this.app.getExceptTeasersIds(J.InternalExchange),i=this.app.getExceptTeasersIds(J.Exchange);t.length&&(this.app.requestParams.except_ads=t.join(",")),e.length&&(this.app.requestParams.exclude_int_exchange=e.join(",")),i.length&&(this.app.requestParams.exclude_news=i.join(","))}sendConsentLog(t){let e=this.app.calculateSessionsBlock.getSessionId(),i={widget:`widget=${this.app.id}`,pvId:`pv_id=${this.app.pvid}`,diffTime:`diff_time=${Math.ceil((t-this.app.startServicerTime)/1e3)}`,storage:`storage=${this.app.requestParams.consentOrigin===$t.Storage?1:0}`};e&&(i.sessionId=`session_id=${e}`),this.app.request.pixel(`loggingConsent${this.app.id}`,this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.countersDomain+"/consent-log",i,{unique:!0})}getActiveChilds(){return JSON.parse(this.app.widgetParams.WIDGET.activeChilds)}addClickHandler(t,e){this.app.clickHandlers.push({handler:t,priority:e}),this.app.clickHandlers.sort(function(i,s){return i.priority<s.priority?-1:1})}widgetClickHandler(t){t||(t=this.app.context.event),t.target||(t.target=t.srcElement);let e=t.target;if(e.tagName!=="A"){e=this.app.getParentLink(e);let i=!1;if("which"in t?i=t.which===3:"button"in t&&(i=t.button===2),!e&&!i){let s=this.app.getParentElWithClass(t.target,"text-elements");if(s){let a=t.target.getElementsByTagName("A");a[0]?e=a[0]:(a=s.getElementsByTagName("A"),a[0]&&(e=a[0]))}if(e){e.click();return}}}if(e&&!(!e.hasAttribute("data-hash")&&!e.classList.contains("mg-close-action")))for(let i=0;i<this.app.clickHandlers.length;i++)try{if(!this[this.app.clickHandlers[i].handler](e,t))return}catch(s){this.app.log("Click Handler name: "+this.app.clickHandlers[i].handler+", error: ","error",s)}}start(){this.app.root&&this.app.countLoadBlocks==0&&this.app.injectScript(!1)}defaultComposite(t){if(this.app.widgetParams.WIDGET.useDefaultJs){this.app.loadedDefault=!0,this.app.hidePreloadDiv();let e=this.app.context.document.createElement("script");e.type="text/javascript",e.charset="utf-8",e.src=this.app.webProtocol+"//jsc."+this.app.widgetParams.WIDGET.blocksDomainAddressJs+"/"+t+".js",this.app.root.parentNode.appendChild(e),this.app.context["_mgDefaultJs"+t]=this.app.context["_mgDefaultJs"+t]||[],this.app.context["_mgDefaultJs"+t].push(this.app.root.id)}}addEvent(t,e,i){let s=i.bind(this);return(e==="touchstart"||e==="touchmove")&&this.app.isPassiveSupported()?t.addEventListener(e,s,{passive:!0}):t.addEventListener(e,s,!1),s}removeEvent(t,e,i){t.removeEventListener(e,i,!1)}getMainCssSelector(){return"#"+(this.app.realRoot?this.app.realRoot.id:this.app.root.id)}doubleClickHandler(t,e=!1){let i=t.getAttribute("data-hash"),s=t.getAttribute("href"),a={checkId:"checkId="+this.app.doubleClickCheckId,cid:"cid="+this.app.getWidgetValue("id",this.app.widgetParams.WIDGET.id),gb_uid:"gb_uid="+this.app.getWidgetValue("goodsPartUid",this.app.widgetParams.WIDGET.goodsPartUid),h2:"h2="+this.app.servicerData.h2,hash:"hash="+i,percent:"percent="+this.app.doubleClickPercent,type:"type="+this.app.doubleClickType,url:"url="+encodeURIComponent(s),uuid:"uuid="+this.app.servicerData.rid};e&&(a.isOut="isOut="+Number(e)),this.app.request.pixel("doubleclick",this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.countersDomain+"/doubleclick",a,{})}adBlockDetect(){return this.app.widgetParams.WIDGET.adblockIntegration&&this.app.widgetParams.WIDGET.adblockEmulation?!0:(this.app.adblockDetectResult===null&&this.setAdblockDetectResult(),this.app.adblockDetectResult)}setAdblockDetectResult(){let t=["banner_ad","sponsored_ad"],e=a=>{let p=this.app.context.document.createElement("div");return p.className=a,p.style.setProperty("display","block","important"),p.style.setProperty("padding","1px","important"),p.style.visibility="hidden",p.style.position="absolute",p.innerHTML=".",this.app.context.document.body.appendChild(p),p},i=a=>!a.offsetHeight,s=a=>{let p=null;for(let d=0;d<a.length;d++){p=e(a[d]);let u=i(p);if(this.app.context.document.body.removeChild(p),u)return!0}return!1};this.app.adblockDetectResult=s(t)}isShadowRoot(){try{return typeof this.app.root.getRootNode<"u"&&!!this.app.root.getRootNode().host}catch{return!1}}canUseShadowDom(){let t=this.app.root.parentNode;return!!(this.app.widgetParams.WIDGET.shadowDom&&t&&(t.id?.indexOf("ScriptRoot")>0||t.dataset?.type==="_mgwidget")&&typeof t.attachShadow=="function")}getRoot(){return this.app.isShadowRoot()?this.app.root.getRootNode().host:this.app.root.parentElement}generatePvid(){return new Date().getTime().toString(16)+(Math.round(Math.random()*1e9)+2147483648).toString(16)}getLct(t){return t-t%60}isAmp(){return typeof this.app.context.context<"u"&&typeof this.app.context.context.data<"u"&&typeof this.app.context.context.data.widget<"u"?!0:typeof this.app.context["boundingClientRect"+this.app.widgetParams.WIDGET.id]<"u"&&typeof this.app.context["intersectionRect"+this.app.widgetParams.WIDGET.id]<"u"}isIframe(){try{return this.app.context.self!==this.app.context.top}catch{return!0}}startMgqwp(){typeof this.context._mgwqp<"u"?setTimeout(()=>{this.context._mgwqp()},0):setTimeout(()=>{this.startMgqwp()},50)}htmlEntities(t){return String(typeof t<"u"?t:"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}getRenderer(t){return t.indexOf("data-template-schema")===-1?this.app.renderClassicBlock:this.app.renderSchematicBlock}getViewrateParams(){let t=Object.keys(this.app.teaserData).filter(s=>this.app.teaserData[s].isViewed),e=t.length,i=t.map(s=>this.app.teaserData[s].page).filter((s,a,p)=>p.indexOf(s)===a).reduce((s,a)=>s+this.app.pagesServicerData.filter(p=>p.page===a)[0]?.teasersCount,0);return{views:e,renders:i}}getUserAgentDataParams(){if(this.app.userAgentDataParams)return this.app.userAgentDataParams;try{if(this.app.context.sessionStorage)return JSON.parse(this.app.context.sessionStorage.getItem("_mgAgentDataParams"))}catch{return null}return null}getVideoMetricsParams(){if(this.app.videoMetricsParams)return this.app.videoMetricsParams;try{if(this.app.context.sessionStorage)return JSON.parse(this.app.context.sessionStorage.getItem("_mgVideoMetricsParams"))}catch{return null}return null}getSingleJsController(){return(this.app.context._mgc?.controllers||[]).filter(t=>t.siteId===this.app.widgetParams.WIDGET.widgetClientSiteId)[0]?.controller}buildSingleJSBackfillDiv(t){let e=document.createElement("div"),i=this.app.getRoot().dataset;return e.dataset.widgetId=String(t),Object.keys(i).forEach(s=>{s!=="uid"&&s!=="widgetId"&&(e.dataset[s]=i[s])}),e}};Fe();var ce=class{constructor(t){this.observerNeeded=!1,this.supportsEs6=t,this.widgetParams=F,this.widgetOptions={},JSON.parse('[{"id":1661702,"searchSelector":"","insertTo":"into"},{"id":1661713,"searchSelector":"","insertTo":"into"}]').forEach(e=>{this.widgetOptions[e.id]=e,e.searchSelector.length&&(this.observerNeeded=!0)}),this.observerNeeded&&(this.observe(),setInterval(()=>{this.observe()},1e3)),this.load()}load(){this.checkSingleJsScript();let t=window.document.querySelectorAll('div[data-type="_mgwidget"]');[].slice.call(t).forEach(e=>{typeof e.dataset.uid<"u"||this.loadWidget(e,window)})}loadWidget(t,e){let i=Number(t.dataset.widgetId),s=this.widgetOptions[i];if(s){if(!this.isUrlMatched(s))return;let a=JSON.parse(JSON.stringify(this.widgetParams[0]));for(let T of Object.keys(this.widgetParams[i]))for(let b of Object.keys(this.widgetParams[i][T]))a[T]=a[T]||{},a[T][b]=this.widgetParams[i][T][b];if(!this.canLoadCurrentWidget(a.WIDGET))return;window.performance?.mark("main_script_start_load",{detail:{_mgwidget:i}});let p=this.getUID(),d=`mgw${i}_${p}`;if(t.dataset.uid=p,s.searchSelector.length&&(a.WIDGET.enableSource&&!t.dataset.srcId&&(t.dataset.srcId="${PUBLISHER_ID}"),a.WIDGET.clicktrackingEnabled&&!t.dataset.clickTracking&&(t.dataset.clickTracking=a.WIDGET.clicktrackingMacros),a.WIDGET.type==="header-widget")){let T=a.WIDGET.subType,b=document.createElement("style");b.innerHTML=`
            div[data-widget-id="${i}"] {
              min-height: ${T==="header-widget-square"?350:300}px;
            }
          `,t.insertAdjacentElement("beforebegin",b)}let u=document.createElement("div");u.id=d,t.appendChild(u),window.performance?.mark("main_script_start_work",{detail:{_mgwidget:i}});let m=new te(d,e,!1,d,p,17,a),k=new pe(m),I=window[a.WIDGET.I];I?window[a.WIDGET.I]=Object.assign({},m,I):window[a.WIDGET.I]=m,k.run()}}loadBackfill(t){let e=t.contentDocument.querySelector('div[data-type="_mgwidget"]'),i=t.contentWindow;e&&this.loadWidget(e,i)}observe(){let t=0;Object.keys(this.widgetOptions).forEach(e=>{let i=this.widgetOptions[e];if(i.searchSelector==="")return;let s=document.querySelectorAll(i.searchSelector);[].slice.call(s).forEach(a=>{if(i.insertTo==="into"&&!a.querySelector('div[data-type="_mgwidget"]')||i.insertTo!=="into"&&!a.parentElement.querySelector('div[data-type="_mgwidget"][data-widget-id="'+i.id.toString()+'"]')){let p=document.createElement("DIV");switch(p.dataset.type="_mgwidget",p.dataset.widgetId=i.id.toString(),i.insertTo){case"into":a.appendChild(p);break;case"before":a.parentElement.insertBefore(p,a);break;case"after":a.insertAdjacentElement("afterend",p);break}t++}})}),t>0&&this.load()}getUID(){return("00000"+Math.round(Math.random()*1e5).toString(16)).slice(-5)}checkSingleJsScript(){let t="https://jsc.mgid.com/site/882312.js".split("//")[1],e=document?.currentScript?.src?.split("//")[1],i=document.head.querySelector(`script[src$="${t}"]`),s=document.querySelector("body")?.querySelector(`script[src$="${t}"]`);window._mgSingleJS882312=i?"head":s?"body":"other",e!==t&&!i&&typeof window._mgDisableInstallWarning>"u"&&console.warn(`JS code is not integrated correctly, place script - "${t}" in the head of your website`)}isUrlMatched(t){let e=!0,i=window.location.href,s=t.urlRulesPatterns||[],a=(window.document.querySelector('meta[property="article:section"]')||window.document.querySelector('meta[property="og:article:section"]'))?.getAttribute("content")?.trim()||"";switch(t.urlRulesMode){case"only":e=s.some(p=>a===p||i.match(p));break;case"except":e=s.every(p=>a!==p&&!i.match(p));break}return e}canLoadCurrentWidget(t){let e=!0,i=`mg_loaded_${t.siteId}_${t.id}`;return typeof window[i]<"u"&&!t.allowMultipleWidgets&&(e=!1),e&&(window[i]=!0,t.widgetEnabled||(e=!1)),e}};Pe();C();B();var Fa;(function(w){w.load="load",w.impression="impression",w.click="click"})(Fa||(Fa={}));C();B();(function(){let w=e();if(window._mgc&&(window._mgc.controllers||[]).some(a=>a.siteId===882312)){console.warn("Multiple _mgc widget codes encountered! Please, make sure that there is only one implementation code is placed in HEAD for siteId: 882312.");return}window._mgc=window._mgc||{controllers:[],load:()=>{window._mgc.controllers.forEach(a=>a.controller.load())}},window._mgc.controllers.push({siteId:882312,controller:new ce(w)}),new jt({context:window,log:a=>{console.log(a)},debugBlock:{sendData:()=>{}}});let t=["https://servicer.mgid.com"];for(let a=0;a<t.length;a++)i(t[a]);function e(){try{return new Function("async (x = 0) => x; try {const x=window?.x;} catch {};"),!0}catch{return!1}}function i(a){let p=document.createElement("link");p.rel="preconnect",p.href=a,document.head?document.head.appendChild(p):document.body.appendChild(p)}function s(){}})()})()
;(()=>{var er=Object.create;var ve=Object.defineProperty;var ir=Object.getOwnPropertyDescriptor;var sr=Object.getOwnPropertyNames;var ar=Object.getPrototypeOf,rr=Object.prototype.hasOwnProperty;var q=(w,t)=>()=>(w&&(t=w(w=0)),t);var Xt=(w,t)=>()=>(t||w((t={exports:{}}).exports,t),t.exports),J=(w,t)=>{for(var e in t)ve(w,e,{get:t[e],enumerable:!0})},nr=(w,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of sr(t))!rr.call(w,s)&&s!==e&&ve(w,s,{get:()=>t[s],enumerable:!(i=ir(t,s))||i.enumerable});return w};var Qt=(w,t,e)=>(e=w!=null?er(ar(w)):{},nr(t||!w||!w.__esModule?ve(e,"default",{value:w,enumerable:!0}):e,w));var V,C=q(()=>{V={library:"31f56257",dash:"df631ebb",widgetBuilder:"b8a7a47e"}});var F,B=q(()=>{F={"0":{GENERAL:{translations:{"[GO]":"\u091C\u093E\u0913","[INFORMER_BACK_BUTTON_BANNER_TEXT]":"\u091C\u093E\u0928\u0947 \u0938\u0947 \u092A\u0939\u0932\u0947 \u0915\u0941\u091B \u0914\u0930 \u0915\u0939\u093E\u0928\u093F\u092F\u0949\u0902 \u091C\u094B \u0906\u092A \u0926\u0947\u0916\u0928\u093E \u091A\u093E\u0939\u0947\u0902\u0917\u0947\u0902","[INFORMER_BTN_DISCOVER_MORE]":"Discover More","[INFORMER_BUTTON_MORE]":"\u0905\u0927\u093F\u0915","[INFORMER_CLOSE_AD_BUTTON]":"\u0935\u093F\u091C\u094D\u091E\u093E\u092A\u0928 \u092C\u0902\u0926 \u0915\u0930\u0947\u0902\u0964","[INFORMER_CTA_LEARN_MORE]":"\u0914\u0930 \u092A\u0922\u093C\u0947\u0902...","[INFORMER_DSA_ICON_TITLE]":"Widget Context Menu","[INFORMER_OPEN_BUTTON]":"\u0916\u094B\u0932\u0947\u0902","[INFORMER_READ_FULL_ARTICLE]":"Read Full Article","[INFORMER_RECOMMENDED_FOR_YOU]":"Recommended for you","[INFORMER_VIDEO_CLICK_TEXT]":"\u0914\u0930 \u091C\u093E\u0928\u0947\u0902","[LS_CAB_SITE_BLOCK_ANTIFRAUD_SUBJECT_V2]":"\u0906\u092A\u0915\u0940 \u0935\u0947\u092C\u0938\u093E\u0907\u091F %s \u0905\u0935\u0930\u0941\u0926\u094D\u0927 \u0915\u0930 \u0926\u0940 \u0917\u0908 \u0939\u0948 (%s)","[LS_INFORMERS_CLOSE_BUTTON]":"\u092C\u0902\u0926 \u0915\u0930\u0947","[LS_INFORMERS_MOBILEMODAL_GO]":"\u091C\u093E\u090F","[LS_INFORMERS_WIDGET_MOBILE_CONTINUE]":"\u0906\u0917\u0947 \u092C\u0922\u093C\u0947","[WIDGET_TITLE_CHECK_THIS_OUT]":"\u0907\u0938\u0947 \u0926\u0947\u0916\u0947\u0902","[WIDGET_TITLE_INTERESTING]":"\u0928\u0947\u091F\u0935\u0930\u094D\u0915 \u092E\u0947\u0902 \u0926\u093F\u0932\u091A\u0938\u094D\u092A","[WIDGET_TITLE_INTERESTING_FOR_YOU]":"\u0906\u092A\u0915\u0947 \u0932\u093F\u090F \u0926\u093F\u0932\u091A\u0938\u094D\u092A \u0915\u0902\u091F\u0947\u0902\u091F","[WIDGET_TITLE_MORE_COOL_STUFF]":"\u0905\u0928\u094D\u092F \u091C\u092C\u0930\u0926\u0938\u094D\u0924 \u0915\u0902\u091F\u0947\u0902\u091F","[WIDGET_TITLE_MORE_FROM_AROUND_THE_WEB]":"\u0905\u0928\u094D\u092F \u0915\u0902\u091F\u0947\u0902\u091F \u0935\u0947\u092C \u0938\u0947","[WIDGET_TITLE_PARTNERS_NEWS]":"\u092A\u093E\u0930\u094D\u091F\u0928\u0930 \u0928\u094D\u092F\u0942\u095B","[WIDGET_TITLE_POPULAR]":"\u0928\u0947\u091F\u0935\u0930\u094D\u0915 \u092E\u0947\u0902 \u092A\u094D\u0930\u091A\u0932\u093F\u0924","[WIDGET_TITLE_PROMOTED_CONTENT]":"\u092A\u094D\u0930\u092E\u094B\u091F\u0947\u0921 \u0915\u0902\u091F\u0947\u0902\u091F","[WIDGET_TITLE_SMI]":"\u0905\u0928\u094D\u092F \u092E\u0940\u0921\u093F\u092F\u093E \u0938\u0947 \u0915\u0902\u091F\u0947\u0902\u091F","[WIDGET_TITLE_SPONSORED_CONTENT]":"\u0938\u094D\u092A\u0949\u0928\u094D\u0938\u0930\u094D\u0921 \u0915\u0902\u091F\u0947\u0902\u091F","[WIDGET_TITLE_SUGGESTED_NEWS]":"\u0938\u0941\u091D\u093E\u090F \u0917\u090F \u0938\u092E\u093E\u091A\u093E\u0930","[WIDGET_TITLE_YOU_MAY_LIKE]":"\u0906\u092A \u0936\u093E\u092F\u0926 \u092F\u0947\u0902 \u092A\u0938\u0902\u0926 \u0915\u0930\u0947\u0902"},forbiddenPatterns:["make cl[i1!]ck","(cl[i!1]ck|cl[i!1]que|kl[i!1]kone|shtyp|kl[i!1]k|kl[i!1]kn[i!1]\u0435e) ((on|[i!1]n the) )?(h[e3]re|me|please|ads|to|en cualqu[i!1]er anunc[i!1]o|qu\u1EA3ng c\xE1o|na [i!1]megen|nje nga reklamat|no an\xFAnc[i!1]o|reklamen|em alguma propaganda|[i!1]klan atan|below banner)","pres[i1!]ona \u0441ualqu[i1!]er [i1!]magen","toca la pr[i1!]mera [i1!]magen ","(cl[i!1]ck|cl[i!1]que|kl[i!1]kone|shtyp|kl[i!1]k|kl[i!1]kn[i!1]\u0435e) ((on|[i!1]n the) )?([i!1]zpod)","adclick","criteo.com","cdn.geozo.com","taboola","trck.tracking505.com"]},METADATA:{hashCommitsData:{library:"31f56257",dash:"df631ebb",widgetBuilder:"b8a7a47e"},compileTimestamp:1728713610},ASSETS:{customAdLinkConfig:{},adLinkBlock:{adskeeper:`<div class="mgheader"><span class="mghead">%WIDGET_TITLE%</span><div class="mg_addad%id"><a href="//widgets.adskeeper.com/%utm%id" target="_blank"><img src="//cdn.adskeeper.co.uk/images/adskeeper_svg.svg" width="71" height="16" alt /></a></div></div><style>.mghead {line-height: 20px;vertical-align: middle;font-weight: 700;font-size: 14px;text-transform: uppercase;text-align: left;font-family: Verdana, sans-serif;color: #4555a7;display: block;margin: 0 0 0px 5px;float: left;}.mgheader {display: table !Important;width: 100% !important;}div.mg_addad%id {text-align: right;opacity: 0.5;margin-right: 10px;display: inline-block;float: right;}div.mg_addad%id:hover {opacity: 1}div.mg_addad%id a {color: #000000;font: normal 10px Myriad Pro;text-decoration: none;}div.mg_addad%id img {margin: 0px -5px 0px 0px;border: 0px;float: none;padding: 0px;}</style>
`},scaleInfoHtml:`<!doctype html><html><head><meta charset="utf-8"><style>html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed,figure, figcaption, footer, header, hgroup,menu, nav, output, ruby, section, summary,time, mark, audio, video {margin: 0;padding: 0;border: 0;font-size: 100%;font: inherit;vertical-align: baseline;}/* HTML5 display-role reset for older browsers */article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}body {line-height: 1;}ol, ul {list-style: none;}blockquote, q {quotes: none;}blockquote:before, blockquote:after,q:before, q:after {content: '';content: none;}table {border-collapse: collapse;border-spacing: 0;}</style></head><body><div id="test">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cumque deleniti dolor impedit nobis quo ratione temporibus. Accusantium adipisci animi cupiditate eligendi hic modi officiis perspiciatis provident tenetur, vero voluptate voluptatem.</div><script>window.addEventListener('load', function() {if (window.innerWidth !== 0) {window.parent.postMessage({id: 'scaleInfo',scale_metric_1: document.getElementById('test').offsetHeight,scale_metric_2: (window.outerWidth / window.innerWidth) * 100,scale_metric_3: (window.parent.outerWidth / window.parent.innerWidth) * 100,},'*');}});<\/script></body></html>`},WIDGET:{id:1682242,debug:!1,iframe:"0",changeIframeSize:!1,widgetClickZones:"[]",widgetReplica:!1,activateDelay:2e3,clickableDelay:0,sendDimensions:!0,_constructor:'{"type":"header-widget","subType":"header-widget-dark","font":"arial","textPosition":"bottom","rows":1,"cols":"4","width":"100%","kind":"wages","formatChanged":true,"imageScaleOnHover":"","imageShadow":"","isToaster":1,"isDragDown":1,"isInterstitial":0,"frequencyCappingShow":3,"frequencyCappingTime":2,"interstitialAfter":3,"popupFrequency":15,"passageFrequency":60,"toasterInactivityTime":8,"button":1,"widgetTypeDescription":1,"autoplacement":"off","is_show_ad_marker":0,"widgetFormatId":1,"mctable":{"styles":{"borderWidth":0,"borderColor":"","backgroundColor":"#242424"}},"mctitle":{"styles":{"fontSize":"17","fontWeight":"bold","fontStyle":"normal","textDecoration":"none","textAlign":"center","color":"#bfbfbf","text-transform":"uppercase"}},"mcprice":{"show":"true","styles":{"fontSize":14,"fontWeight":"bold","color":"#222222","textAlign":"left","fontStyle":"normal","textDecoration":"none","font":"arial"}},"widgetTitleSettings":{"styles":{"fontSize":14,"font":"arial","color":"#ffffff","text-transform":"uppercase"}},"mcimage":{"size":200,"size-width":492,"size-height":328,"styles":{"borderWidth":0,"borderColor":"#ffffff","borderStyle":"solid","padding":0}},"mcdesc":{"styles":{"display":"none","fontSize":12,"fontWeight":"normal","color":"#444444","textAlign":"center","fontStyle":"normal","textDecoration":"none","font":"arial"}},"mcdomain":{"styles":{"display":"none","fontSize":12,"fontWeight":"normal","color":"#159417","textAlign":"center","fontStyle":"italic","textDecoration":"none","font":"arial"}},"mgline":{"styles":{"borderStyle":"solid","borderWidth":"1","borderColor":"#bfbfbf","width":"150","height":"120","margin":"2","borderRadius":"0"}},"mgbox":{"styles":{"maxWidth":1220}},"media":{"position":"bottom","minWidth":250,"minHeight":150,"opacity":80,"duration":1,"videoOverlay":1},"theme":"#ffffff","colsMobile":2,"imgType":"super","imageFormat":19,"teaserCardShadow":"0","teaserFixedWidth":"0","frequencyOfDisplay":"30","notificationPosition":"top","activateAdsAfterScroll":"0.00","previewImg":"https:\\/\\/cdn.adskeeper.com\\/images\\/draw-widget-preview.jpg","mobileWidgetImg":"https:\\/\\/cdn.adskeeper.com\\/images\\/mobile-widget-preview-adskeeper.png","price":false}',subType:"header-widget-dark",widgetIframeAutoSize:"",globalSettings:'{"capping_observer_threshold":"0.5","current_language":"en","widget_lazy_load_margin":"1000","accidental_clicks_delay":"10","ia_page_view_timeout":"180","ia_page_imp_timeout":"180","widget_intentiq_refresh_millis":"43200000","retention_tool_widget_utm":"utm_mgid_push","except_ads_limit":"150","capping_observer_time":"","widget_consent_wait_time_ms":"30","widget_consent_outdated_time":"168"}',widgetAccidentalClicks:"wages",afShortEnabled:!0,loggerEnabled:!1,enableSource:!1,hasNewsPart:!1,newsPartUid:0,hasGoodsPart:!0,goodsPartUid:58012883,checkAnura:!1,anuraValue:0,disableCookies:!1,adLink:1,adLinkHref:"",adBlockChangeStyles:!0,widgetTitle:"[WIDGET_TITLE_INTERESTING_FOR_YOU]",adblockIntegration:!1,availableLangs:'["es","vi","it","hi","pl","ru","uk"]',useConstructor:!1,popup:!1,type:"header-widget",mobileDoubleclickDelay:0,desktopDoubleclickDelay:0,markWagesAdInIntExchange:!1,projectName:"adskeeper",newsPartIdPartner:0,newsPartAcStatsEnabled:!1,newsPartKind:"",widgetUseConstructor:!1,useInNewsRanker:!1,widgetLngId:7,widgetCountersDisabled:0,widgetClientSiteId:840345,autoCreativeCounterDomain:"counter.mgid.com",siteId:840345,modulePrefix:"AdskeeperC",informerPrefix:"Adskeeper",countersDomain:"c.adskeeper.co.uk",currentSubnet:2,topMargin:0,popupText:"One more before you go",cdnDomain:"cdn.adskeeper.co.uk",mobileApp:!1,I:"AdskeeperInfC1682242",usePlaceReservation:!0,subnets:'{"2":{"id":2,"informer_prefix":"Adskeeper","mirror":"adskeeper.co.uk","mirrorName":"adskeeper","imageDomain":"adskeeper.co.uk","dashboardDomain":"dashboard.adskeeper.co.uk","utm":"?utm_source=widget_adskeeper&utm_medium=text&utm_campaign=add&utm_content=","advSrcId":37100}}',exposeSubnets:!1,childWidgets:"[]",allowMultipleWidgets:!1,widgetMirror:"adskeeper",widgetDomain:"nowfastanswer.com",customFuncBlocks:"[]",widgetAutorefresh:!1,widgetReturnedRefresh:0,widgetPaginator:!1,imageFormat:19,elastic:!1,unlimited:!1,doubleclickParameters:'{"1":{"borderTop":{"max":1,"min":0,"percent":100}},"2":{"borderLeft":{"max":1,"min":0,"percent":100}},"3":{"borderRight":{"max":1,"min":0,"percent":100}},"4":{"borderBottom":{"max":1,"min":0,"percent":100}}}',dfpWidth:0,dfpHeight:0,popupFrequency:15,elasticPageCount:2,countNews:4,blankImage:`data:image/svg+xml,%3Csvg
            xmlns="http://www.w3.org/2000/svg"
            width="492" height="328"
            viewBox="0 0 492 328"
            %3E%3C/svg%3E`,isResponsive:!0,mobileCountNews:'{"mobile":2}',childFuncBlocks:"[]",childProperties:"[]",customBanners:'{"1682242":[]}',customGradient:"",shadowDom:!0,sspPerformancePercentage:10,templateStyles:`.mgresponsive {display:inherit;}.mgbox {padding:0 !important;position:relative !important;text-align:center;vertical-align:top !important;margin:0 auto;background-color:#242424;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;line-height:100% !important;transition:none !important;box-sizing:border-box;width:100%;max-width:100%;min-width:90px;}div.mcimg {padding:0;text-align:center;}img.mcimg {width:100% !important;height:auto !important;max-width:492px;max-height:328px;box-sizing:border-box;display:block;}.mctitle {margin-top:10px;text-align:center;}.mctitle a {font-weight:bold;font-size:17px;line-height:17px;color:#bfbfbf;font-family:Arial, sans-serif;}.mgline {background:none repeat scroll 0 0;background-color:#242424;cursor:pointer;overflow:hidden;zoom:1;padding:0 !important;border-style:solid;border-color:#bfbfbf;border-width:1px;width:24%;max-width:24%;box-sizing:border-box;margin:10px 0.5%;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;word-wrap:break-word;vertical-align:top;min-width:90px;position:relative;}.mgline:hover .mctitle a {color:#ffffff;text-decoration:underline !important;}.mgline .image-with-text {position:relative;}.mgline .image-container {position:relative;}.mgline .image-container .mcimgad {position:absolute;right:0;bottom:0;width:20px;height:20px;}.mgline[max-width~="120px"] .mcdesc {display:none !important;}@supports not (flex-wrap:wrap) {.mgbox {display:block !important;}.mgline {display:inline-block !important;}}.text-elements a {text-decoration:none;}div.mcprice {text-align:left;}div.mcprice span {font-weight:bold;font-size:14px;line-height:14px;color:#222222;font-family:Arial, sans-serif;}div.mgbuybox, div.mgarrowbox {display:inline-block;}div.mcprice {display:block;}span.mcpriceold {text-decoration:line-through !important;}@media (max-width:480px) {.mgline {width:48% !important;margin:1% !important;max-width:48% !important;}}img.mcimg {opacity:1 !important;margin:0;}.mctitle {margin-top:2px;line-height:1 !important;}.mcdesc {margin-top:0;margin-bottom:2px;}.mghead {font-family:Arial, sans-serif !important;color:#ffffff;font-size:14px !important;text-transform:uppercase !important;}.mgline[max-width~="120px"] .mgarrowbox, .mgline[max-width~="120px"] .mgbuybox {display:none !important;}div.mcprice, div.mcriceold {font-weight:bold;font-size:14px;line-height:14px;color:#222222;font-family:Arial, sans-serif;}.mcprice {text-align:left;}.mcprice span {font-weight:bold;font-size:14px;line-height:14px;color:#222222;font-family:Arial, sans-serif;}.mcprice-wrap {position:absolute;display:block;top:0;left:0;text-decoration:none;}.mcprice-wrap_old .mgarrowbox {background:#fff;}.mcprice-wrap_old .mgarrowbox:before {border-left:10px solid #fff;}.mcprice-cover {display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-align-items:stretch;-moz-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;height:42px;font-size:14px;}.mcprice-cover .mcprice {font-size:1.29em;color:#fff;}.mcprice-cover.mcprice-cover_old .mcprice-inner {padding-top:4px;width:auto;}.mcprice-cover.mcprice-cover_old .mcprice-val {padding-right:0;}.mcprice-cover.mcprice-cover_old .mcprice {margin-bottom:4px;color:#222222;font-size:1em;}.mcprice-cover.mcprice-cover_old + .mcprice-cover {display:none !important;}.mcprice-val, .mcprice-inner {display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:flex-start;justify-content:flex-start;white-space:nowrap;}.mcprice-inner {background:#222;position:relative;padding:0 2px 0 8px;text-align:center;color:#fff;width:100%;}.mcprice-inner:before {content:\\'\\';position:absolute;top:0;right:-10px;border-top:21px solid transparent;border-bottom:21px solid transparent;border-left:10px solid #ed181d;}.mcprice-inner:after {content:\\'\\';position:absolute;top:0;right:-10px;border-top:21px solid transparent;border-bottom:21px solid transparent;border-left:10px solid #222;}.mcprice-val {padding:2px 10px 0 14px;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-content:center;justify-content:center;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start;font-weight:bold;text-align:left;}.mgarrowbox {position:relative;background:#2c73a8;padding-right:8px;}.mgarrowbox:before {content:\\'\\';position:absolute;top:0;right:-10px;border-top:21px solid transparent;border-bottom:21px solid transparent;border-left:10px solid #2c73a8;}.mcdiscount {display:block;color:#fff;font-size:1.21em;}.mcpriceold {display:block !important;position:relative;width:100%;font-size:0.78em;font-weight:inherit;color:#ed181d;text-decoration:line-through !important;}.mcpriceold span {position:relative;}.mcpriceold span:before {content:\\'\\';height:1px;background:#ed181d;left:0;right:0;top:50%;margin-top:-1px;position:absolute;}div.mgbuybox, div.mgarrowbox {display:inline-block;}div.mcprice {display:block;}.mcdesc {display:none;text-align:center;margin:0 0 2px;}.mcdesc a {font-weight:normal;font-size:12px;line-height:12px;font-style:normal;text-decoration:none;color:#444444;font-family:Arial, sans-serif;}.mcdomain {display:none;text-align:center;}.mcdomain a {font-weight:normal;font-size:12px;line-height:12px;font-style:italic;text-decoration:none;color:#159417;font-family:Arial,Helvetica,sans-serif;padding:4px;display:block;overflow:hidden;text-transform:capitalize;}.mg-slider-overlay {overflow:hidden;position:relative;}.mg-slider-overlay .mg-slider-wrap {min-height:200px;position:relative;width:100%;-webkit-transform:translate3D(0, 0, 0);-moz-transform:translate3D(0, 0, 0);-ms-transform:translate3D(0, 0, 0);-o-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0);-webkit-transition-duration:200ms;-moz-transition-duration:200ms;-ms-transition-duration:200ms;-o-transition-duration:200ms;transition-duration:200ms;}.mg-slider-overlay .mg-slider-wrap .mg-slider-box {left:0;top:0;position:absolute;width:100%;}.mg-pagination {text-align:center;}.mg-pagination .mg-pagination-list {display:inline-block;}.mg-pagination .mg-pagination-item {cursor:pointer;display:inline-block;*display:inline;*zoom:1;width:8px;height:8px;margin:0 2px;background:#ddd;border-radius:50%;}.mg-pagination .mg-pagination-item-prev, .mg-pagination .mg-pagination-item-next {background:#f7f7f7;border:1px solid #cecece;border-radius:2px;cursor:pointer;display:inline-block;height:11px;margin:0 10px;padding:5px 0;text-align:center;vertical-align:middle;width:29px;}.mg-pagination .mg-pagination-item-prev:after, .mg-pagination .mg-pagination-item-next:after {background:url(https://images.dable.io/static/i/prevnext2.png?3) no-repeat 0 0;background-size:17px 11px;content:"";display:inline-block;height:13px;width:9px;}.mg-pagination .mg-pagination-item-next:after {background-position:-10px 0;width:8px;}.mg-pagination .mg-pagination-item-current {background:#508eef;}`,adBlockTemplateStyles:"",cookieMatchingDomain:"cm.adskeeper.co.uk",widgetTemplate:'<div class="mgbox"><!--advertPrefix-->{foreach}<div class="mgline">{if $banner}{$banner}{/if}{if $teaser}<div class="image-with-text"><div class="mcimg"><a {$target}{$href} ><div class="image-container"><img class="mcimg" {$src} /></div></a></div>{if $price}<a {$target}{$href} class="mcprice-wrap {if $priceold}mcprice-wrap_old{/if}"><div class="mgarrowbox">{if $priceold}<div class="mcprice-cover mcprice-cover_old mcpriceouter"><div class="mcprice-inner"><div class="mcdiscount">{$discount}</div></div><div class="mcprice-val"><div class="mcprice">{$price}</div><div class="mcpriceold"><span>{$priceold}</span></div></div></div>{/if}<div class="mcprice-cover mcpriceouter"><div class="mcprice-inner"><div class="mcprice">{$price}</div></div></div></div></a>{/if}<div class="text-elements"><div class="text_on_hover"><div class="mctitle"><a {$target}{$href}>{$title}</a></div></div></div></div>{/if}</div>{/foreach}</div>',isLoggerEnabled:!1,titleBreak:0,titleLimit:75,informerTitleDotsFlag:1,disableCaps:0,descBreak:0,descLimit:75,hasVideoPart:!1,noFollow:!0,useDefaultJs:!1,blocksDomainAddressJs:"adskeeper.co.uk",sourceName:"",disableResizeImageAfterLoad:!1,adTypes:"pg,r",enabledCooperationTypes:'["wages"]',createIntExchange:!1,sspSanctionsEnabled:!1,cooperationTypes:'["wages"]',newsPartPagesCount:0,goodsPartPagesCount:20,codePaginatorEnabled:!0,adblockTemplate:"",activeChilds:"[]",imageSizeAttributes:'width="492" height="328"',servicerDomain:"servicer.adskeeper.co.uk",debugInfoOn:!1,crossId:1682242,useLazyLoad:!1,onTranzPage:!1,widgetEnabled:!0,branchName:"main",autoPlacementStatus:"off",staticRootDomain:"",sendScaleInfo:!0,libraryVersion:"1.11.241",adblockEmulation:!1,autoplacementSelector:"",widgetPerformanceMetric:!1,shadowDomClosed:!1,widgetPathES5:"https://jsc.adskeeper.co.uk/n/o/nowfastanswer.com.1682242.es5.js",widgetPathES6:"https://jsc.adskeeper.co.uk/n/o/nowfastanswer.com.1682242.es6.js",refreshAdsTime:45,refreshAdsBy:0,additionalWidgets:"[]",useApiRefresh:!1,videoCfg:"{}",customWidgetLib:"",spaEnabled:!1,passageFrequency:60,cookieStoragePrefix:"Adskeeper",useHoneypot:!1,disableCwvOptimization:!1,disableBannerSafeframe:!1,gptEnabled:!1,gptOptions:"{}",gptUnitId:{low:0,high:0,unsigned:!1},retentionToolEnabled:!1,collectWidgetReports:!1,ampSpaSupport:!0,backButtonOptions:"null",retentionToolScriptLink:"",retentionToolLoadFromWidgets:!1,immediateRollout:!1,requestsLimitOptions:"{}",id5Enabled:!0,externalAnalytics:"[]",bannersEnabled:!0,originTrialTokens:'[{"name":"X-Requested-With Trial. servicer.adskeeper.co.uk","token":"A5QbzCjCRrcUW0oqh3vru+n83j\\/Zsj1PZV5\\/+tOWwBJ7Moww++ua4CipW+orGX66H2vuc\\/BnoTSPMgtgzpPraQ8AAACGeyJvcmlnaW4iOiJodHRwczovL3NlcnZpY2VyLmFkc2tlZXBlci5jby51azo0NDMiLCJmZWF0dXJlIjoiV2ViVmlld1hSZXF1ZXN0ZWRXaXRoRGVwcmVjYXRpb24iLCJleHBpcnkiOjE3MTk1MzI3OTksImlzVGhpcmRQYXJ0eSI6dHJ1ZX0=","conditions":["webview"]},{"name":"X-Requested-With Trial. c.adskeeper.co.uk","token":"A0s1a7dM0Unnsjgvv+gpNYxk17J\\/KLFAMF8DmgJhsIc0HflFItDhbNDtDbV75hhsX80wC3KYDbSyxE3gAExqtQYAAAB\\/eyJvcmlnaW4iOiJodHRwczovL2MuYWRza2VlcGVyLmNvLnVrOjQ0MyIsImZlYXR1cmUiOiJXZWJWaWV3WFJlcXVlc3RlZFdpdGhEZXByZWNhdGlvbiIsImV4cGlyeSI6MTcxOTUzMjc5OSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ==","conditions":["webview"]}]',useTimePerformance:!1,waitConsentEnabled:!1,usePixelate:!0,clientId:751509,publisherId:58012883,readMoreButtonOptions:"{}",backfillData:"{}",useScrollClick:!1,iframeDomain:"mg.adskeeper.co.uk",crossDomainStorageEnabled:!1,customStylesEnabled:!1,loggingConsentEnabled:!0,flippEnabled:!1,blurEnabled:!1,gradientEnabled:!1,refreshTeaserAfterClick:!0,loadVisibleWidgetDisabled:!1,supportDarkTheme:!1,darkThemeSelector:"",bidmaticEnabled:!1,bidmaticOptions:"{}",ampLimitAdsEnabled:!1,clicktrackingEnabled:!1,clicktrackingMacros:"",collectTopicsDisabled:!1,autocreativeCampaignId:0,omidEnabled:!1,newTabEnabled:!1,newTabOptions:"{}",swipeUpEnabled:!1,swipeUpOptions:"{}",lazyCustomMargin:0,nextUpEnabled:!1,BLOCKS:{ConstructorBlock:!1,BackButtonBlock:!0,SendDimensionsBlock:!0,VersionControlBlock:!1,InternalExchangeBlock:!1,RetentionToolBlock:!1,BlurBlock:!1,GradientBlock:!1,ColorBlock:!1,PaginatorBlock:!1,AutoRefreshInformerBlock:0,RefreshTeaserAfterClickBlock:!0,IframeSizeChangerBlock:"0",RejectBlock:!0,ViewabilityRefreshBlock:!1,OriginTrialsBlock:!0,RenderClassicBlock:!0,RenderSchematicBlock:!1,ResponsiveBlock:!0,ElasticBlock:!1,ScaleInfoBlock:!0,AntifraudBlock:!0,HoneypotBlock:!1,LazyLoadBlock:!1,FillCardLikesBlock:!1,ExternalApiBlock:!1,ImpactBlock:!1,InArticleAutoplacement:!1,AccidentalClicksBlock:!0,ActivateDelayBlock:2e3,OnTransitPageBlock:!1,GoogleGptBlock:!1,ImpactBlocks:!1,MobileExitBlock:!1,PassageBlock:!1,InterstitialBlock:!1,PopupBlock:!1,CollectWidgetReportsBlock:!1,ExternalAnalyticsBlock:!1,RtbBlock:!0,FlippBlock:!1,ID5Block:!0,widgetUseConstructor:!1,CarouselWidgetSuperBlock:!1,CarouselWidgetBlock:!1,InSiteNotificationBlock:!1,BackfillBlock:!1,MobileWidgetBlock:!1,VideoLibrary:!1,DarkThemeBlock:!1,BidmaticBlock:!1,BrowserTopicsBlock:!0,OmidBlock:!1,NewTabBlock:!1,SwipeUpBlock:!1}},SITE:{id:840345,cdnDomain:"cdn.adskeeper.co.uk",crossDomainStorageEnabled:!1},BLOCKS:{ConstructorBlock:!1,BackButtonBlock:!0,SendDimensionsBlock:!0,VersionControlBlock:!1,InternalExchangeBlock:!1,RetentionToolBlock:!1,BlurBlock:!1,GradientBlock:!1,ColorBlock:!1,PaginatorBlock:!1,AutoRefreshInformerBlock:0,RefreshTeaserAfterClickBlock:!0,IframeSizeChangerBlock:"0",RejectBlock:!0,ViewabilityRefreshBlock:!1,OriginTrialsBlock:!0,RenderClassicBlock:!0,RenderSchematicBlock:!1,ResponsiveBlock:!0,ElasticBlock:!1,ScaleInfoBlock:!0,AntifraudBlock:!0,HoneypotBlock:!1,LazyLoadBlock:!1,FillCardLikesBlock:!1,ExternalApiBlock:!1,ImpactBlock:!1,InArticleAutoplacement:!1,AccidentalClicksBlock:!0,ActivateDelayBlock:2e3,OnTransitPageBlock:!1,GoogleGptBlock:!1,ImpactBlocks:!1,MobileExitBlock:!1,PassageBlock:!1,InterstitialBlock:!1,PopupBlock:!1,CollectWidgetReportsBlock:!1,ExternalAnalyticsBlock:!1,RtbBlock:!0,FlippBlock:!1,ID5Block:!0,widgetUseConstructor:!1,CarouselWidgetSuperBlock:!1,CarouselWidgetBlock:!1,InSiteNotificationBlock:!1,BackfillBlock:!1,MobileWidgetBlock:!1,VideoLibrary:!1,DarkThemeBlock:!1,BidmaticBlock:!1,BrowserTopicsBlock:!0,OmidBlock:!1,NewTabBlock:!1,SwipeUpBlock:!1}},"1682242":{}}});var O,$=q(()=>{C();B();O=class{constructor(t){this.app=t}addHook(t,e,i=0,s=!1){if(this.app.widgetParams.WIDGET.useConstructor)this.app[t].push(r=>{try{r=r||[],e.apply(this,r)}catch{}});else{let r=i!==0;this.app[t].push(c=>{let d=this.name||this.constructor.name,u=[];return u.push(this.app.lifeCycleBlock.execute(`${t} hook ${d}`,m=>{try{r?(c=c||[],c.push(m),e.apply(this,c)):(e.apply(this,c),m())}catch(k){this.app.log(`${t} hook ${d}:`,"error",k),this.app.debugBlock.sendData(k.message),m()}},0,!1,!0)),r&&i!==999999&&u.push(this.app.lifeCycleBlock.execute("",m=>{m()},i,s,!0)),Promise.race(u)})}}}});var Z,K,Nt,St,$t,vt=q(()=>{C();B();(function(w){w.Teaser="teaser",w.Banner="banner",w.Gpt="gpt"})(Z||(Z={}));(function(w){w.Wages="w",w.Exchange="e",w.InternalExchange="i",w.Video="v",w.DirectPublisherDemand="dpd"})(K||(K={}));(function(w){w.Desktop="desktop",w.Mobile="mobile",w.Tablet="tablet",w.SmartTV="smarttv"})(Nt||(Nt={}));(function(w){w[w.MG=0]="MG",w[w.L=1]="L",w[w.AK=2]="AK",w[w.IM=3]="IM"})(St||(St={}));(function(w){w.Storage="storage",w.Cmp="cmp"})($t||($t={}))});function Wt(w,t){async function e(...i){await Vt.acquireStorage(()=>{w.call(this,...i)}),typeof i[i.length-1]=="function"&&i[i.length-1]()}return e}var Gt,pt,be,Vt,ft,_r,bt,ee=q(()=>{C();B();(function(w){w.ping="ping",w.get="get",w.set="set",w.lock="lock",w.unlock="unlock"})(Gt||(Gt={}));(function(w){w.local="local",w.session="session",w.page="page"})(pt||(pt={}));be=class{constructor(){if(this.callbacks={},this.pingIntervalId=null,this.internalStore={},this.isCrossDomainStorageEnabled()){let t=document.createElement("iframe");t.src="https://cdn.adskeeper.co.uk/widgets/storage.html",t.style.display="none",document.body.appendChild(t),this.frame=t.contentWindow,this.internalStore[pt.local]={},this.internalStore[pt.session]={},this.internalStore[pt.page]={},window.addEventListener("message",e=>{if(typeof e.data._mgstorage<"u"){let i=e.data._mgstorage;i.error&&console.error(i.error),this.callbacks[i.eventId](i)}})}else this.internalStore[pt.local]=localStorage,this.internalStore[pt.session]=sessionStorage,this.internalStore[pt.page]=window}async waitForFrame(){return new Promise(t=>{this.pingIntervalId=setInterval(()=>{let e=this.getEventId();this.callbacks[e]=()=>{clearInterval(this.pingIntervalId),t()},this.request({eventId:e,srcId:"widget",action:Gt.ping})},100)})}async get(t,e,i){return new Promise(s=>{let r=this.getEventId();this.callbacks[r]=c=>{s(c.data)},this.request({eventId:r,engine:e,srcId:"widget",action:Gt.get,lockId:t,key:i})})}async set(t,e,i,s){return new Promise(r=>{let c=this.getEventId();this.callbacks[c]=()=>{r()},this.request({eventId:c,engine:e,srcId:"widget",action:Gt.set,lockId:t,key:i,val:s})})}async lock(){return new Promise(t=>{let e=this.getEventId();this.callbacks[e]=i=>{t(i.data)},this.request({eventId:e,srcId:"widget",action:Gt.lock})})}async unlock(t){return new Promise(e=>{let i=this.getEventId();this.callbacks[i]=s=>{e(s)},this.request({eventId:i,srcId:"widget",action:Gt.unlock,lockId:t})})}async fetch(t){this.internalStore[pt.local]=JSON.parse(await this.get(t,pt.local,this.getStorageKey()))??{},this.internalStore[pt.session]=JSON.parse(await this.get(t,pt.session,this.getStorageKey()))??{},this.internalStore[pt.page]=JSON.parse(await this.get(t,pt.page,this.getStorageKey()))??{}}async flush(t){await this.set(t,pt.local,this.getStorageKey(),JSON.stringify(this.internalStore[pt.local])),await this.set(t,pt.session,this.getStorageKey(),JSON.stringify(this.internalStore[pt.session])),await this.set(t,pt.page,this.getStorageKey(),JSON.stringify(this.internalStore[pt.page])),this.internalStore[pt.local]={},this.internalStore[pt.session]={},this.internalStore[pt.page]={},await this.unlock(t)}getStorageKey(){return"storage840345"}isCrossDomainStorageEnabled(){return!1}engine(t){return{getItem:e=>{let i=this.internalStore[t][e]??null;return i==="undefined"&&(i=null),i},setItem:(e,i)=>{this.internalStore[t][e]=i},removeItem:e=>{delete this.internalStore[t][e]}}}async acquireStorage(t){try{if(this.isCrossDomainStorageEnabled()){let e=await this.lock();await this.fetch(e),t(),await this.flush(e)}else t()}catch(e){console.error(e)}}getEventId(){return("0000000000"+Math.round(Math.random()*1e10).toString(16)).slice(-10)}request(t){this.frame.postMessage({_mgstorage:t},"*")}},Vt=new be,ft=Vt.engine(pt.local),_r=Vt.engine(pt.session),bt=Vt.engine(pt.page)});var Ri={};J(Ri,{VideoMetricsBlock:()=>ke});var ke,Hi=q(()=>{C();B();$();vt();ke=class extends O{constructor(t){super(t),this.name="VideoMetricsBlock",this.userAgent=this.app.context.navigator?.userAgent||"",this.exceptionAgentList=["Zalo iOS"],this.videoType="video/mp4",this.isMetricsCollected=!1,this.collectMetrics()}waitForCollectMetrics(){let t,i=new Date().getTime();return new Promise(s=>{t=setInterval(()=>{if(new Date().getTime()-i>=1e3){this.app.videoMetricsParams={mp4:0,ap:0},clearInterval(t),this.app.log(`${this.name}: too long Video Promise resolving process.`),s();return}this.isMetricsCollected&&(clearInterval(t),s())},10)})}collectMetrics(){let t={mp4:0,ap:0},e=()=>{this.isMetricsCollected=!0,this.app.videoMetricsParams={...t};try{this.app.context.sessionStorage&&this.app.context.sessionStorage.setItem("_mgVideoMetricsParams",JSON.stringify(t))}catch{}};if(this.isIosWebview()&&(this.isExceptionAgent()||this.app.widgetParams.WIDGET.currentSubnet===St.IM)){e();return}try{let i=new Blob([new Uint8Array([0,0,0,28,102,116,121,112,105,115,111,109,0,0,2,0,105,115,111,109,105,115,111,50,109,112,52,49,0,0,0,8,102,114,101,101,0,0,2,239,109,100,97,116,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,0,0,2,194,109,111,111,118,0,0,0,108,109,118,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,232,0,0,0,47,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,1,236,116,114,97,107,0,0,0,92,116,107,104,100,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,47,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36,101,100,116,115,0,0,0,28,101,108,115,116,0,0,0,0,0,0,0,1,0,0,0,47,0,0,0,0,0,1,0,0,0,0,1,100,109,100,105,97,0,0,0,32,109,100,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,172,68,0,0,8,0,85,196,0,0,0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0,0,0,1,15,109,105,110,102,0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0,0,0,0,36,100,105,110,102,0,0,0,28,100,114,101,102,0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1,0,0,0,211,115,116,98,108,0,0,0,103,115,116,115,100,0,0,0,0,0,0,0,1,0,0,0,87,109,112,52,97,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,16,0,0,0,0,172,68,0,0,0,0,0,51,101,115,100,115,0,0,0,0,3,128,128,128,34,0,2,0,4,128,128,128,20,64,21,0,0,0,0,1,244,0,0,1,243,249,5,128,128,128,2,18,16,6,128,128,128,1,2,0,0,0,24,115,116,116,115,0,0,0,0,0,0,0,1,0,0,0,2,0,0,4,0,0,0,0,28,115,116,115,99,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,28,115,116,115,122,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,115,0,0,1,116,0,0,0,20,115,116,99,111,0,0,0,0,0,0,0,1,0,0,0,44,0,0,0,98,117,100,116,97,0,0,0,90,109,101,116,97,0,0,0,0,0,0,0,33,104,100,108,114,0,0,0,0,0,0,0,0,109,100,105,114,97,112,112,108,0,0,0,0,0,0,0,0,0,0,0,0,45,105,108,115,116,0,0,0,37,169,116,111,111,0,0,0,29,100,97,116,97,0,0,0,1,0,0,0,0,76,97,118,102,53,54,46,52,48,46,49,48,49])],{type:this.videoType}),s=this.app.context.document.createElement("video");if(s.muted=!0,s.autoplay=!0,s.loop=!0,s.setAttribute("playsinline",""),s.setAttribute("webkit-playsinline",""),s.src=URL.createObjectURL(i),typeof s.canPlayType<"u"){let c=s.canPlayType(this.videoType);(c=="maybe"||c=="probably")&&(t.mp4=1)}let r=s.play();typeof r<"u"?r.then(()=>{t.ap=1,s.src="",typeof s.remove<"u"&&s.remove(),e()}).catch(c=>{t.ap=0,s.src="",typeof s.remove<"u"&&s.remove(),e()}):(t.ap=0,s.src="",typeof s.remove<"u"&&s.remove(),e())}catch{t.mp4=0,t.ap=0,e()}}isIosWebview(){return/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(this.userAgent)}isExceptionAgent(){return this.exceptionAgentList.some(t=>this.userAgent.indexOf(t)!==-1)}}});var Mi={};J(Mi,{NavigatorAgentDataBlock:()=>ye});var Ft,ye,Ni=q(()=>{C();B();$();(function(w){w.architecture="scua",w.bitness="scub",w.brands="scu",w.fullVersionList="scufvl",w.mobile="scum",w.model="scumd",w.platform="scup",w.platformVersion="scupv",w.uaFullVersion="scufv",w.wow64="scuw"})(Ft||(Ft={}));ye=class extends O{constructor(t){super(t),this.name="NavigatorAgentDataBlock",this.isDataCollected=!1,this.collectUserAgentData()}waitForUserAgentData(){let t,i=new Date().getTime();return new Promise(s=>{t=setInterval(()=>{if(new Date().getTime()-i>=1e3){this.app.userAgentDataParams=null,clearInterval(t),this.app.log(`${this.name}: too long collecting data process.`),s();return}this.isDataCollected&&(clearInterval(t),s())},10)})}collectUserAgentData(){this.app.context.navigator.userAgentData.getHighEntropyValues(Object.keys(Ft)).then(t=>{let e={};Object.keys(t).forEach(i=>{let s=t[i];if(typeof s=="boolean"&&(e[Ft[i]]=`${encodeURIComponent(s?"?1":"?0")}`),typeof s=="string"&&s.length&&(e[Ft[i]]=`${encodeURIComponent('"'+s+'"')}`),Array.isArray(s)&&s.length){let r=s.reduce((c,d,u,m)=>c+`"${d.brand}";v="${d.version}"${u!==m.length-1?", ":""}`,"");e[Ft[i]]=`${encodeURIComponent(r)}`}}),this.isDataCollected=!0,this.app.userAgentDataParams={...e};try{this.app.context.sessionStorage&&this.app.context.sessionStorage.setItem("_mgAgentDataParams",JSON.stringify(e))}catch{}}).catch(t=>{this.isDataCollected=!0,this.app.userAgentDataParams=null})}}});var Vi={};J(Vi,{AmpRenderBlock:()=>Ie});var Ie,Fi=q(()=>{C();B();$();Ie=class extends O{constructor(t){super(t),this.name="AmpRenderBlock",this.addHook("afterPreRenderNewsHooks",this.ampRenderStart),this.addHook("afterLoadNewsHooks",this.ampResizeHook),this.app.widgetParams.WIDGET.ampSpaSupport&&(this.ampPageView(),this.addHook("beforePrepareCappingDataHooks",this.ampPageImp,1e4))}ampRenderStart(){this.ampResizedHeight=this.app.precalcRect.height,this.app.context.context.renderStart({width:this.app.precalcRect.width,height:this.app.precalcRect.height})}ampPageView(){typeof this.app.context.context.computeInMasterFrame<"u"&&this.app.context.context.computeInMasterFrame(this.app.context,"_mgPageViewAmp"+this.app.widgetParams.WIDGET.siteId,t=>{let e=this.app.context.context.pageViewId,i=localStorage.getItem("_mgPageViewAmpId"+this.app.widgetParams.WIDGET.siteId)?localStorage.getItem("_mgPageViewAmpId"+this.app.widgetParams.WIDGET.siteId):"";if(e===i){let s=this.app.getMostTopWindow();s["_mgPageView"+this.app.widgetParams.WIDGET.siteId]=s["_mgPageView"+this.app.widgetParams.WIDGET.siteId]||[],s["_mgPageView"+this.app.widgetParams.WIDGET.siteId].push(s.location.pathname),s["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId]=s["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId]||[],s["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId].push(s.location.pathname),this.app.initServicerRequest=!1}localStorage.setItem("_mgPageViewAmpId"+this.app.widgetParams.WIDGET.siteId,e),t()},()=>{})}ampPageImp(t){typeof this.app.context.context.computeInMasterFrame<"u"?this.app.context.context.computeInMasterFrame(this.app.context,"_mgPageImpAmp"+this.app.widgetParams.WIDGET.siteId,e=>{let i=this.app.context.context.pageViewId,s=localStorage.getItem("_mgPageImpAmpId"+this.app.widgetParams.WIDGET.siteId)?localStorage.getItem("_mgPageImpAmpId"+this.app.widgetParams.WIDGET.siteId):"";if(i===s){let r=this.app.getMostTopWindow();r["_mgPageImp"+this.app.widgetParams.WIDGET.siteId]=r["_mgPageImp"+this.app.widgetParams.WIDGET.siteId]||[],r["_mgPageImp"+this.app.widgetParams.WIDGET.siteId].push(r.location.pathname)}localStorage.setItem("_mgPageImpAmpId"+this.app.widgetParams.WIDGET.siteId,i),e()},()=>{}):t()}askAmpForResize(){let t=Math.ceil(this.app.root.getBoundingClientRect().height),e=this.app.precalcRect.width;this.app.context.context.requestResize(e,t).then(()=>{this.app.ampResizeDenied=!1,this.ampResizedHeight=t},()=>{this.app.ampResizeDenied=!0})}ampResizeHook(){typeof this.ampResizeInterval>"u"&&(this.ampResizeInterval=setInterval(()=>{let t=Math.ceil(this.app.root.getBoundingClientRect().height);typeof this.app.ampResizeDenied<"u"&&this.app.ampResizeDenied?this.askAmpForResize():t!==this.ampResizedHeight&&this.askAmpForResize()},100))}}});var qi={};J(qi,{MgqBlock:()=>jt});var jt,Pe=q(()=>{C();B();$();jt=class extends O{constructor(t){super(t),this.isLongCheck=!1,this.name="MgqBlock",this.worker=this.createWorker(),this.init()}init(){this.app.context._mgq=this.app.context._mgq||[],typeof this.app.context._mgqp>"u"&&(this.app.context._mgqp=this.worker,this.app.context._mgqt=new Date().getTime(),this.worker())}createWorker(){return()=>{let t=this.app.context._mgq.length,e=this.app.context._mgq.slice(0),i=0;for(let s=0;s<t;s++){let r=e[s],c=this.app.context,d=r[0];if(r[0].indexOf(".")>0&&(c=c[r[0].split(".")[0]],d=r[0].split(".")[1]),typeof c[d]=="function"&&d!=="MgSensorInvoke"){try{c[d].apply(c,r.slice(1))}catch(u){this.app.log("mgq error:","error",u),this.app.debugBlock.sendData(`mgq error: ${u.message}`)}this.app.context._mgq.splice(s-i,1),i++}}this.app.context._mgqi||(this.app.context._mgqi=this.app.context.setInterval(()=>{this.worker()},5)),this.isLongCheck||new Date().getTime()-this.app.context._mgqt>1e4&&(this.isLongCheck=!0,this.app.context.clearInterval(this.app.context._mgqi),this.app.context._mgqi=this.app.context.setInterval(()=>{this.worker()},100))}}}});var Ui={};J(Ui,{UtilsBlock:()=>Se});var Se,zi=q(()=>{C();B();$();Se=class extends O{constructor(t){super(t),this.isMobileResult=null,this.name="UtilsBlock"}getScroll(){let t=this.app.getMostTopWindow();return{top:t.document.body.scrollTop||t.document.documentElement.scrollTop||0,left:t.document.body.scrollLeft||t.document.documentElement.scrollLeft||0}}getViewportSize(){let t=this.app.getMostTopWindow();return{width:t.innerWidth||t.document.documentElement.clientWidth,height:t.innerHeight||t.document.documentElement.clientHeight}}getRect(t,e){let i=t.getBoundingClientRect(),s={top:i.top,bottom:i.bottom,left:i.left,right:i.right,height:i.height?i.height:i.bottom-i.top,width:i.width?i.width:i.right-i.left};if(this.app.context.self!==this.app.context.top){let r=this.getFrame();if(r){let c=r.getBoundingClientRect();s.top+=c.top,s.bottom+=c.top,s.left+=c.left,s.right+=c.left}}if(e){let r=this.getScroll();s.top+=r.top,s.bottom+=r.top,s.left+=r.left,s.right+=r.left}return s}getFrame(){let t;try{let e;for(let i=this.app.context;i.frameElement;i=i.parent)e=i.frameElement;t=e}catch{t=null}return t}elementViewportIntersection(t){let e=this.app.utils.getRect(t,!0),i=this.app.utils.getViewportSize(),s=this.app.utils.getScroll();for(let m in e)e.hasOwnProperty(m)&&(e[m]=Math.floor(e[m]));i.top=s.top,i.bottom=s.top+i.height,i.left=s.left,i.right=s.left+i.width;let r=e.width*e.height;if(!r)return 0;if(this.app.omidBlock&&this.app.omidBlock.getLastOmidData()){let m=this.app.omidBlock.getLastOmidData(),k={left:0,right:m.viewport.width,top:0,bottom:m.viewport.height},I={left:m.adView.geometry.x,right:m.adView.geometry.x+m.adView.geometry.width,top:m.adView.geometry.y,bottom:m.adView.geometry.y+m.adView.geometry.height},T=this.app.utils.rectangleIntersection(k,I),v={left:m.adView.onScreenGeometry.x,right:m.adView.onScreenGeometry.x+m.adView.onScreenGeometry.width,top:m.adView.onScreenGeometry.y,bottom:m.adView.onScreenGeometry.y+m.adView.onScreenGeometry.height},D=this.app.utils.rectangleIntersection(T,v),b={left:e.left-s.left+m.adView.geometry.x,right:e.right-s.left+m.adView.geometry.x,top:e.top-s.top+m.adView.geometry.y,bottom:e.bottom-s.top+m.adView.geometry.y},y=this.app.utils.rectangleIntersection(D,b),W=(b.bottom-b.top)*(b.right-b.left),R=y.width*y.height;return m.adView.onScreenGeometry.obstructions.forEach(Q=>{let et={left:Q.x,top:Q.y,right:Q.x+Q.width,bottom:Q.y+Q.height},lt=this.app.utils.rectangleIntersection(et,y),ht=lt.width*lt.height;R-=ht}),R/W}let c=Math.max(0,Math.min(e.right,i.right)-Math.max(e.left,i.left)),d=Math.max(0,Math.min(e.bottom,i.bottom)-Math.max(e.top,i.top));return c*d/r}rectangleIntersection(t,e){let i={};return i.top=Math.max(t.top,e.top),i.left=Math.max(t.left,e.left),i.bottom=Math.min(t.bottom,e.bottom),i.right=Math.min(t.right,e.right),i.width=i.right-i.left,i.height=i.bottom-i.top,i.top<i.bottom&&i.left<i.right?i:{top:0,left:0,bottom:0,right:0,width:0,height:0}}isMobile(){if(this.isMobileResult===null){let t=!1;(function(e){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0)})(navigator.userAgent||navigator.vendor||window.opera),this.isMobileResult=t}return this.isMobileResult}isTablet(){let t=(navigator.userAgent||navigator.vendor||window.opera).toLowerCase();return/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(t)}generateHash(){return Date.now().toString(36)+Math.random().toString(36).substring(2)}isChromeWebView(){let t=["WebView","Android.*(;\\s+wv|Version/\\d.\\d\\s+Chrome/\\d+(\\.0){3})","Linux; U; Android"],e=new RegExp("("+t.join("|")+")","ig");return!!navigator.userAgent.match(e)}isSupportES6(){try{return new Function("async (x = 0) => x; try {const x=window?.x;} catch {};"),!0}catch{return!1}}getLeavePageValue(){let e=["hidden","mozHidden","msHidden","webkitHidden"].filter(s=>typeof this.app.context.document[s]<"u")[0],i=e==="hidden"?"visibilitychange":e.replace("Hidden","")+"visibilitychange";return{hidden:e,visibilityChange:i}}}});var $i=Xt(ie=>{"use strict";C();B();Object.defineProperty(ie,"__esModule",{value:!0});ie.ConsentsBlock=void 0;var cr=function(){function w(t,e,i){e===void 0&&(e=30),i===void 0&&(i=!1);var s;this.hasStorageConsentTCFv2=!1,this.app=t,this.consentTimeout=e,this.isWaitConsent=i,this.app.requestParams=this.app.requestParams||{},this.topWindow=this.app.getMostTopWindow(),this.actualizeStorageConsentTCFv2(),this.isWaitConsent&&!this.hasStorageConsentTCFv2&&(this.consentTimeout=Number((s=this.app.globalSettings)===null||s===void 0?void 0:s.widget_consent_wait_time_ms)||300,this.app.requestParams.nocmp=1)}return w.prototype.actualizeStorageConsentTCFv2=function(){var t,e=Number((t=this.app.globalSettings)===null||t===void 0?void 0:t.widget_consent_outdated_time)||168;try{if(this.app.context.localStorage&&!this.app.isOurIframe){var i=JSON.parse(this.app.context.localStorage.getItem("MG_tcfv2Data")||"{}");i?.timestamp&&new Date().getTime()-i.timestamp<e*60*60*1e3?this.hasStorageConsentTCFv2=!0:this.app.context.localStorage.removeItem("MG_tcfv2Data")}}catch{this.app.log("ConsentsAdapter - localStorage not found.")}},w.prototype.initTCFv2Proxy=function(){if(typeof this.app.context.__tcfapi=="function")return;this.isSearchingLocator=!0;for(var t=this.app.context,e,i={};t;){try{if(t.frames.__tcfapiLocator){e=t;break}}catch(r){this.app.log(r,"warn",r)}if(t===this.app.context.top)break;t=t.parent}if(this.isSearchingLocator=!1,!e)return;this.app.context.__tcfapi=function(r,c,d,u){var m=Math.random()+"",k={__tcfapiCall:{command:r,parameter:u,version:c,callId:m}};i[m]=d,e.postMessage(k,"*")};function s(r){var c={};try{c=typeof r.data=="string"?JSON.parse(r.data):r.data}catch(u){this.app.log(u,"warn",u)}var d=c?c.__tcfapiReturn:null;d&&typeof i[d.callId]=="function"&&i[d.callId](d.returnValue,d.success)}this.app.context.addEventListener("message",s.bind(this),!1)},w.prototype.tcfv2Api=function(t){var e=this,i=new Date().getTime(),s;return new Promise(function(r,c){var d=function(){e.app.tcfv2Enabled=!0,e.app.requestParams.tcfV2=1;try{var u=function(m,k){if(k&&(m.eventStatus==="tcloaded"||m.eventStatus==="useractioncomplete")){var I=new Date().getTime();e.app.tcfv2Data=m,e.app.context.localStorage&&(e.app.isOurIframe?e.app.context.localStorage.removeItem("MG_tcfv2Data"):(m.timestamp=I,e.app.context.localStorage.setItem("MG_tcfv2Data",JSON.stringify(m)))),e.app.log("Consents. TCFv2 API done."),e.app.startServicerTime&&e.app.sendConsentLog(I),e.app.waitConsentResolver&&e.app.waitConsentResolver(),t&&setTimeout(function(){t()},0),r()}else k&&!m.gdprApplies&&(t&&setTimeout(function(){t()},0),r()),e.app.log("Consents. TCFv2 API paused.")};e.app.context.__tcfapi("addEventListener",2,u)}catch(m){e.app.log("Consents. TCFv2 API fail."),t&&setTimeout(function(){t()},0),c(m)}};e.initTCFv2Proxy(),typeof e.app.context.__tcfapi=="function"?d():s=setInterval(function(){if(new Date().getTime()-i>=e.consentTimeout*1e3){clearInterval(s),e.app.log("Consents. TCFv2 API not found. Limit time end."),t&&setTimeout(function(){t()},0),r();return}e.isSearchingLocator||e.initTCFv2Proxy(),typeof e.app.context.__tcfapi=="function"&&(clearInterval(s),d())},500)})},w.prototype.gdprApi=function(t){var e=this;return new Promise(function(i,s){if(typeof e.topWindow.__cmp=="function"){e.app.cmpEnabled=!0,e.app.requestParams.tcfV1=1;try{e.topWindow.__cmp("getConsentData",null,function(r){e.app.consentData=r,e.app.context.localStorage&&(e.app.isOurIframe?e.app.context.localStorage.removeItem("MG_ConsentData"):e.app.context.localStorage.setItem("MG_ConsentData",JSON.stringify(r))),e.app.log("Consents. TCFv1 API done."),t&&setTimeout(function(){t()},0),i()})}catch(r){t&&setTimeout(function(){t()},0),s(r)}}else t&&setTimeout(function(){t()},0),i()})},w.prototype.ccpaApi=function(t){var e=this;return new Promise(function(i,s){if(typeof e.topWindow.__uspapi=="function"){e.app.uspEnabled=!0;try{e.topWindow.__uspapi("getUSPData",1,function(r,c){c?(e.app.uspString=r.uspString||"",e.app.context.localStorage&&e.app.uspString!==""&&(e.app.isOurIframe?e.app.context.localStorage.removeItem("MG_uspString"):e.app.context.localStorage.setItem("MG_uspString",e.app.uspString)),e.app.log("Consents. CCPA API done.")):e.app.log("Consents. CCPA API fail."),t&&setTimeout(function(){t()},0),i()})}catch(r){t&&setTimeout(function(){t()},0),s(r)}}else t&&setTimeout(function(){t()},0),i()})},w.prototype.getGdprData=function(){var t,e,i,s,r=null;if((this.app.cmpEnabled||this.app.tcfv2Enabled||this.app.isAmp())&&(this.app.isAmp()&&this.app.context.context.initialConsentValue?r={gdpr_consent:this.app.context.context.initialConsentValue,gdpr:1}:!((t=this.app)===null||t===void 0)&&t.tcfv2Data&&typeof((e=this.app.tcfv2Data)===null||e===void 0?void 0:e.tcString)<"u"?(r={gdpr_consent:this.app.tcfv2Data.tcString,gdpr:typeof this.app.tcfv2Data.gdprApplies<"u"?+this.app.tcfv2Data.gdprApplies:""},this.app.consentOrigin="cmp"):!((i=this.app)===null||i===void 0)&&i.consentData&&typeof((s=this.app.consentData)===null||s===void 0?void 0:s.consentData)<"u"&&(r={gdpr_consent:this.app.consentData.consentData,gdpr:typeof this.app.consentData.gdprApplies<"u"?+this.app.consentData.gdprApplies:""})),r===null)try{if(this.app.context.localStorage&&!this.app.isOurIframe){var c=null;c=JSON.parse(this.app.context.localStorage.getItem("MG_ConsentData")||"null"),c!==null&&typeof c.consentData<"u"&&(r={gdpr_consent:c.consentData,gdpr:typeof c.gdprApplies<"u"?+c.gdprApplies:""}),c=JSON.parse(this.app.context.localStorage.getItem("MG_tcfv2Data")||"null"),c!==null&&typeof c.tcString<"u"&&(r={gdpr_consent:c.tcString,gdpr:typeof c.gdprApplies<"u"?+c.gdprApplies:""},this.app.consentOrigin="storage")}}catch(d){this.app.log("getGdprData -> "+d.message)}return r},w.prototype.getUspData=function(){var t=null;if(this.app.uspEnabled&&this.app.uspString!=""&&typeof this.app.uspString<"u")t={us_privacy:this.app.uspString};else try{if(this.app.context.localStorage&&!this.app.isOurIframe){var e=this.app.context.localStorage.getItem("MG_uspString");e!=null&&e!=""&&typeof e<"u"&&(t={us_privacy:e})}}catch(i){this.app.log("getUspData -> "+i.message)}return t},w.prototype.getConsentData=function(){var t={},e=this.getGdprData(),i=this.getUspData();return e!=null&&Object.keys(e).forEach(function(s){return t[s]=e[s]}),i!=null&&Object.keys(i).forEach(function(s){return t[s]=i[s]}),Object.keys(t).length>0?t:null},w.prototype.fetchConsents=function(){var t=this;return Promise.allSettled([this.tcfv2Api(),this.gdprApi(),this.ccpaApi()]).then(function(){return t.getConsentData()})},w}();ie.ConsentsBlock=cr});var Ki={};J(Ki,{ConsentsBlock:()=>Te});var ji,Te,Ji=q(()=>{C();B();$();ji=Qt($i()),Te=class extends O{constructor(t){super(t),this.consentTimeout=30,this.isWidgetLoaded=!1,this.name="ConsentsBlock",this.isWidgetObservable=!this.app.widgetParams.WIDGET.loadVisibleWidgetDisabled&&this.app.iframePlacementType<2,this.isWaitConsent=this.getWaitConsent(),this.consentsAdapter=new ji.ConsentsBlock(t,this.consentTimeout,this.isWaitConsent),this.addHook("beforeInitHooks",this.consentsAdapter.tcfv2Api.bind(this.consentsAdapter),50),this.addHook("beforeInitHooks",this.consentsAdapter.gdprApi.bind(this.consentsAdapter),50),this.addHook("beforeInitHooks",this.consentsAdapter.ccpaApi.bind(this.consentsAdapter),50)}getWaitConsent(){return this.app.isAmp()?!1:this.app.isShowedUpFormat||this.app.widgetParams.WIDGET.newTabEnabled||this.app.widgetParams.WIDGET.swipeUpEnabled||this.app.widgetParams.WIDGET.nextUpEnabled?(this.app.requestParams.cmpreason="wp",!1):this.app.widgetParams.WIDGET.waitConsentEnabled?this.isWidgetObservable&&this.app.root?(this.app.root.style.minHeight="1px",this.app.root.style.width="100%",this.app.utils.elementViewportIntersection(this.app.root)>0?(this.app.requestParams.cmpreason="wvz",!1):!0):!0:!1}observeWidget(){this.viewInterval=setInterval(()=>{this.app.utils.elementViewportIntersection(this.app.root)>0&&(clearInterval(this.viewInterval),this.loadWidget(!0))},150)}loadWidget(t=!1){this.isWidgetLoaded||(this.isWidgetLoaded=!0,this.viewInterval&&clearInterval(this.viewInterval),typeof this.app.requestParams.nocmp<"u"&&delete this.app.requestParams.nocmp,t&&(this.app.log(`${this.name}: waiting for consents is complete, widget in viewable zone.`),this.app.requestParams.cmpreason="wvzs"),this.app.injectScript(!1))}getConsentData(){let t=this.consentsAdapter.getConsentData();return(!t||!t.gdpr)&&typeof this.app.context._mgGdprApplies<"u"&&(t=t||{},t.gdpr=this.app.context._mgGdprApplies),(!t||!t.gdpr_consent)&&typeof this.app.context._mgConsentData<"u"&&(t=t||{},t.gdpr_consent=this.app.context._mgConsentData),t}waitConsent(t){this.waitConsentResolve().then(()=>{this.app.log(`${this.name}: waiting for consents is complete, consents received.`),this.loadWidget()}),this.isWidgetObservable&&this.observeWidget(),setTimeout(()=>{this.app.log(`${this.name}: waiting for consents is complete, limit time end.`),this.loadWidget()},t*1e3)}async waitConsentResolve(){return new Promise(t=>{this.app.waitConsentResolver=t})}}});var Zi={};J(Zi,{RequestBlock:()=>De});var De,Xi=q(()=>{C();B();$();De=class extends O{pixel(t,e,i,s){this._send(t,e,i,s,(r,c)=>{this._imgRequest(r,c)})}beacon(t,e,i,s){this._send(t,e,i,s,(r,c,d)=>{if(typeof navigator.sendBeacon=="function")try{navigator.sendBeacon(c),this.app.log(`Request beacon ${r} started`)}catch(u){this.app.log(`Request beacon ${r} error: `,"error",u),this._imgRequest(r,c)}else this._imgRequest(r,c)})}beaconBlob(t,e,i,s){this._send(t,e,{},s,(r,c,d)=>{if(typeof navigator.sendBeacon=="function")try{navigator.sendBeacon(c,i),this.app.log(`Request beaconBlob ${r} started`)}catch(u){this.app.log(`Request beaconBlob ${r} error: `,"error",u),this._xhrRequest(r,c,"POST",i)}else this._xhrRequest(r,c,"POST",i)})}script(t,e,i,s){this._send(t,e,i,s,(r,c)=>{let d=this.app.context.document.createElement("SCRIPT");d.src=c,d.type="text/javascript",d.charset="utf-8",d.async=!0,s.onerror&&(d.onerror=s.onerror),s.dest?(s.dest.appendChild(d),this.app.log(`Request script ${r} started`)):this.app.log(`Request script ${r} failed - options.dest is undefined!`,"warn")})}_prepareUrl(t,e){this.app.consentDataParams=this.app.consentsBlock.getConsentData(),this.app.consentDataParams&&t.indexOf("/vz")==-1&&Object.keys(this.app.consentDataParams).forEach(s=>{let r=this.app.consentDataParams[s];t.indexOf(s)===-1&&(e[s]=`${s}=${r}`)});let i=[];for(let s of Object.keys(e))(e[s][0]==="?"||e[s][0]==="&")&&(e[s]=e[s].substring(1)),i.push(e[s]);return i.length&&(t.slice(-1)!=="?"&&t.slice(-1)!=="&"&&(t+=t.indexOf("?")===-1?"?":"&"),t+=i.join("&")),t}_send(t,e,i,s,r){if(s.unique){if(this.app.context._mgRequests=this.app.context._mgRequests||{},this.app.context._mgRequests[t]){this.app.log(`Request ${t} stopped - already defined on page`,"warn");return}this.app.context._mgRequests[t]=!0}e=this._prepareUrl(e,i),r(t,e,s)}_imgRequest(t,e){let i=this.app.context.document.createElement("IMG");i.referrerPolicy="strict-origin-when-cross-origin",i.src=e,i.onerror=()=>this.app.log(`Request image ${t} load error`,"error"),this.app.log(`Request image ${t} started`)}_xhrRequest(t,e,i,s){let r=new XMLHttpRequest;r.open(i,e,!0),r.onerror=()=>this.app.log(`Request XHR ${t} load error`),r.send(s),this.app.log(`Request image ${t} started`)}}});var Qi={};J(Qi,{ContextBlock:()=>Ee});var Ee,Yi=q(()=>{C();B();$();Ee=class extends O{constructor(t){super(t),this.topmostWindowAccessible=null,this.name="ContextBlock"}getTopmostWindowAccessible(){if(!this.topmostWindowAccessible)try{for(let t=this.app.context;t.document&&(this.topmostWindowAccessible=t,t!=t.top);t=t.parent);}catch{}return this.topmostWindowAccessible}parseUrl(t){let e=document.createElement("A");e.href=t;let i=e.search.replace(/^\?/,"").split("&"),s=[];for(let c of i)if(c!==""){let d=c.split("=");s.push({key:d[0],value:typeof d[1]<"u"?d[1]:""})}let r=e.pathname;return r===""&&(r="/"),r.charAt(0)!=="/"&&(r="/"+e.pathname),{protocol:e.protocol,host:e.host,pathname:r,search:e.search,hash:e.hash,parsedParams:s}}composeUrl(t){return t.protocol+"//"+t.host+t.pathname+t.search+t.hash}stripAmpParts(t){let e=t,i=this.parseUrl(t),s="cdn.ampproject.org";if(i.host.indexOf(s)>0&&i.host.indexOf(s)===i.host.length-s.length){let r=i.pathname.split("/");if(typeof r[1]<"u"&&(r[1]==="c"||r[1]==="v"||r[1]==="wp")){let c=!1;typeof r[2]<"u"&&r[2]==="s"&&(c=!0),e=(c?"https":"http")+"://";let d=0;for(let u of r)u!==""&&u!=="c"&&u!=="v"&&u!=="wp"&&u!=="s"&&(e+=(d++!==0?"/":"")+u);e+=i.search+i.hash}else if(typeof r[1]>"u"||r[1]===""){let c=new RegExp(`.${s}/?$`);e=e.replace(c,"").replace(/^0-/,"").replace(/-0$/,"").replace(/-+/g,d=>d.length===2?"-":d.length===1?".":d)}}return e}contextUriSanitize(t){if(t){t=this.stripAmpParts(t);let e=this.parseUrl(t);this.app.context._mgCanonicalUri=this.composeUrl(e)}return this.app.context._mgCanonicalUri}contextUriParse(){if(!this.app.context._mgCanonicalUri){this.app.context._mgCanonicalUri="";try{let t=this.getTopmostWindowAccessible(),e="",i=t.document.querySelector('meta[property="og:url"]');if(i&&i.getAttribute("content")&&i.getAttribute("content").indexOf("http")!==-1)e=i.getAttribute("content");else{let s=t.document.querySelector("link[rel='canonical']");s&&s.getAttribute("href")&&s.getAttribute("href").indexOf("http")!==-1&&(e=s.getAttribute("href"))}if(e===""){switch(this.app.iframePlacementType){case 0:e=this.app.pageUrl;break;case 1:e=this.app.pageUrl;break;case 2:e=this.app.refererUrl;break;case 3:try{e=this.app.context.context.canonicalUrl}catch{}e||(e=this.app.pageUrl!==""?this.app.pageUrl:this.app.refererUrl);break}this.contextUriSanitize(e)}else this.app.context._mgCanonicalUri=e}catch{}}return this.app.context._mgCanonicalUri}}});var ts={};J(ts,{PageViewPixelBlock:()=>Ce});var Ce,es=q(()=>{C();B();$();Ce=class extends O{constructor(t){super(t),this.name="PageViewPixelBlock",this.sendPageViewPixel()}sendPageViewPixel(){this.w=this.app.getMostTopWindow();let t=this.w.location.pathname;this.w["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId]=this.w["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId]||[];let e=this.w["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId],i=Number(this.app.globalSettings?.ia_page_view_timeout)||180,s=0,r=0;try{this.app.context.localStorage&&(s=Number(this.app.context.localStorage.getItem("_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId)),r=Number(this.app.context.localStorage.getItem("_mgPvidTime")),new Date().getTime()-r>i*1e3&&this.app.context.localStorage.setItem("_mgPvid",this.app.generatePvid()))}catch{}if(new Date().getTime()-s>i*1e3&&Array.isArray(e)&&e.indexOf(t)===-1){e.push(t);let c=this.getPageViewPixelParams(),d={};for(let u in c)d[u]=`${u}=${c[u]}`;this.app.initServicerRequest&&this.app.request.pixel("pageView",this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.countersDomain+"/pv/",d,{})}this.app.initServicerRequest=!1}getPageDataParams(){let t={};this.setPageData();try{if(!sessionStorage.MG_Session_lastUpdate||Number(sessionStorage.MG_Session_lastUpdate)+30*60*1e3<Date.now()){let e=this.app.contextBlock.stripAmpParts(this.app.refererUrl)?.match(/:\/\/([^\/:]+)/i);sessionStorage.MG_Session_pr=e&&e[1]?e[1]:"",sessionStorage.MG_Session_lu=this.app.pageUrl}sessionStorage.MG_Session_lastUpdate=Date.now(),sessionStorage&&sessionStorage.MG_Session_pr&&(t.pr=encodeURIComponent(sessionStorage.MG_Session_pr)),sessionStorage&&sessionStorage.MG_Session_lu&&(t.lu=encodeURIComponent(sessionStorage.MG_Session_lu))}catch{}return t.cbuster=this.app.getCbusterParameter(),t.pvid=this.app.pvid,this.app.context["isFBIA"+this.app.widgetParams.WIDGET.id]?t.implVersion=14:this.app.isAmp()?t.implVersion=12:this.app.context._mgc&&this.app.getRoot().dataset.type==="_mgwidget"?t.implVersion=17:this.app.versionWidget&&(t.implVersion=this.app.versionWidget),t.cxurl=encodeURIComponent(this.app.contextBlock.contextUriParse()),t}setPageData(){this.app.pageView=0;let t=!1;try{t=!!this.app.context["isFBIA"+this.app.widgetParams.WIDGET.id]&&!!this.app.context.localStorage}catch{}if(this.app.pvid||(this.app.pvid=this.app.generatePvid()),t){let e=this.app.context.localStorage.getItem("_mgPageView"+this.app.widgetParams.WIDGET.siteId),i=Number(this.app.globalSettings.ia_page_view_timeout)||180;(!e||new Date().getTime()-parseInt(e)>i*1e3)&&!this.app.initServicerRequest&&(this.app.context.localStorage.setItem("_mgPageView"+this.app.widgetParams.WIDGET.siteId,new Date().getTime().toString()),this.app.pageView=1),this.app.initServicerRequest&&(this.app.context.localStorage.setItem("_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId,new Date().getTime().toString()),this.app.context.localStorage.setItem("_mgPvidTime",new Date().getTime().toString()),this.app.pageView=1);let s=this.app.context.localStorage.getItem("_mgPvid");s&&(this.app.pvid=s)}else{let e=this.w.location.pathname;this.w["_mgPageView"+this.app.widgetParams.WIDGET.siteId]=this.w["_mgPageView"+this.app.widgetParams.WIDGET.siteId]||[];let i=this.w["_mgPageView"+this.app.widgetParams.WIDGET.siteId];this.w["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId]=this.w["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId]||[];let s=this.w["_mgPageViewEndPoint"+this.app.widgetParams.WIDGET.siteId];this.w._mgPvidList=this.w._mgPvidList||[];let r=this.w._mgPvidList;Array.isArray(i)&&i.indexOf(e)===-1&&!this.app.initServicerRequest&&(i.push(e),this.app.pageView=1),Array.isArray(s)&&s.indexOf(e)===-1&&this.app.initServicerRequest&&(s.push(e),this.app.pageView=1),typeof this.w._mgPvid<"u"&&(this.app.pvid=this.w._mgPvid),Array.isArray(r)&&r.indexOf(e)===-1&&(r.push(e),this.app.pvid=this.app.generatePvid(),this.w._mgPvid=this.app.pvid)}}getPageViewPixelParams(){let t={...this.getPageDataParams(),site:this.app.widgetParams.WIDGET.widgetClientSiteId,i:1},e=this.app.getUserAgentDataParams();return e&&(t={...t,...e}),t}}});var Kt,se,is=q(()=>{C();B();(function(w){w.es5="es5",w.es6="es6"})(Kt||(Kt={}));se=class{constructor(t,e){if(this.additionalWidgets=t,this.urlType=e,this.additionalWidgets.length)for(let i=0;i<this.additionalWidgets.length;i++)setTimeout(()=>{this.init(this.additionalWidgets[i])},0)}init(t){let e=t.widgetDivId?this.createWidgetDiv(t.id,t.widgetDivId):null,i=this.createWidgetScript(t.urls[this.urlType]),s=t.insertTo||"before";this.waitForElement(t.searchSelector).then(r=>{t.widgetDivId&&this.insertWidgetBlock(r,e,s),window.performance?.mark("main_script_start_load",{detail:{_mgwidget:t.id}}),this.insertWidgetScript(i)})}createWidgetDiv(t,e){let i=document.createElement("div"),s=document.createElement("div"),r=e;return i.classList.add(`${r}-additional`),s.id=r,i.appendChild(s),i}createWidgetScript(t){let e=document.createElement("script");return e.src=t,e.async=!0,e.crossOrigin="anonymous",e}insertWidgetBlock(t,e,i){switch(i){case"into":t.appendChild(e);break;case"before":t.parentElement.insertBefore(e,t);break;case"after":t.insertAdjacentElement("afterend",e);break}}insertWidgetScript(t){document.head?document.head.appendChild(t):document.body.appendChild(t)}waitForElement(t){return new Promise(e=>{if(document.querySelector(t))return e(document.querySelector(t));let i=new MutationObserver(()=>{document.querySelector(t)&&(e(document.querySelector(t)),i.disconnect())});i.observe(document,{childList:!0,subtree:!0})})}}});var ss={};J(ss,{BackButtonBlock:()=>Be});var z,Be,as=q(()=>{C();B();$();is();(function(w){w.startedPage="mg-started-page",w.additionalPage="mg-additional-page",w.container="mg-additional-container",w.header="mg-additional-header",w.headerAdded="mg-header-added",w.popup="mg-additional-popup",w.popupInner="mg-additional-popup-inner",w.popupText="mg-additional-popup-text",w.popupTriangle="mg-additional-popup-triangle",w.popupCloseBtn="mg-additional-popup-close-btn",w.popupAdded="mg-popup-added",w.popupShowed="mg-popup-showed",w.popupClosed="mg-popup-closed",w.crossButtonContainer="mg-additional-cross-button",w.crossButton="mg-cross-button"})(z||(z={}));Be=class extends O{constructor(t){if(super(t),this.startedPage="_mgStartedPage",this.additionalPage="_mgAdditionalPage",this.storageStartUrl="_mgStartUrl",this.storagePopupCloseTime="_mgPopupCloseTime",this.storagePagesList="_mgStartPagesList",this.name="BackButtonBlock",this.options=JSON.parse(this.app.widgetParams.WIDGET.backButtonOptions||"{}"),this.widgetId=Number(this.options?.widget_id),this.widgetId){this.siteBody=this.app.context.document.body,this.widgetContainerSelector=`M${this.app.widgetParams.WIDGET.widgetClientSiteId}ScriptRootC${this.widgetId}-additional`,this.hasFilters=!!this.options?.filters?.length,this.isAggressiveMode=this.options?.aggressive_mode,this.initialEvent=typeof this.app.context.onpointerdown>"u"?"click":"pointerdown",this.pointerHandler=this.pointerHandler.bind(this);try{this.app.context.sessionStorage&&(this.hasFilters?this.addHook("beforeLoadNewsHooks",this.init):this.init())}catch(e){this.app.log(`${this.name}: sessionStorage not available.`,"warn",e)}}}init(){if(this.hasFilters&&!this.isFiltersChecked()){this.app.log(`${this.name}: the block didn't pass the filtering conditions.`);return}let t=this.options?.filters?.filter(e=>e.type==="exclude_countries")[0]?.value;t&&t.length?this.checkGeoFilters(t):this.start()}start(){let t,i=new Date().getTime(),s=null;if(this.app.context?.performance?.getEntriesByType("navigation")?.length?s=this.app.context.performance.getEntriesByType("navigation")[0]:this.app.context?.performance?.timing&&(s=this.app.context.performance.timing),s?.loadEventEnd&&s.loadEventEnd>0){this.startEvents();return}t=setInterval(()=>{if(new Date().getTime()-i>=42e4){clearInterval(t),this.app.log(`${this.name}: didn't load, too long page loading process.`);return}s?.loadEventEnd&&s.loadEventEnd>0&&(clearInterval(t),this.startEvents())},100)}startEvents(){let t=this.app.context.history.state,e=this.getStartedUrl(),i=this.app.context.document.location.href;(this.isAggressiveMode?this.hasStoragePage(i):e===i)&&this.isObject(t)&&t.hasOwnProperty(this.additionalPage)&&typeof this.app.context[this.additionalPage]>"u"&&(this.app.context[this.additionalPage]=!0,this.buildAdditionalPage(),this.showAdditionalPage()),this.siteBody.addEventListener(this.initialEvent,this.pointerHandler),this.app.context.addEventListener("popstate",this.popstateHandler.bind(this))}checkGeoFilters(t){let e=typeof SITE<"u"?"https://jsc.adskeeper.co.uk/site/840345.js":this.app.widgetParams.WIDGET.widgetPathES6;typeof fetch=="function"&&typeof e=="string"&&fetch(e,{method:"HEAD",cache:"force-cache"}).then(i=>{let s=i.headers?.get("X-Cntry")?.toLowerCase();s?t.some(r=>r.toLowerCase()===s)?this.app.log(`${this.name}: the block didn't pass GEO filtering conditions.`):this.start():this.app.log(`${this.name}: X-Cntry didn't found.`)}).catch(i=>{this.app.log(`${this.name}: fetch error.`,"error",i)})}isFiltersChecked(){let t=!0,e=this.options.filters.filter(r=>r.type==="traffic_type")[0]?.value;if(t&&e?.length&&typeof this.app.servicerData.tt<"u"){let r=this.app.servicerData.tt.toLowerCase();r.length?t=e.some(c=>c.toLowerCase()===r):t=!1}let i=this.options.filters.filter(r=>r.type==="traffic_source")[0]?.value;if(t&&i?.length&&typeof this.app.servicerData.ts<"u"){let r=this.app.servicerData.ts.toLowerCase();r.length?t=i.some(c=>c.toLowerCase().indexOf(r)!==-1):t=!1}let s=this.options.filters.filter(r=>r.type==="device")[0]?.value;if(t&&s?.length&&typeof this.app.servicerData.dt<"u"){let r=this.app.servicerData.dt.toLowerCase();r.length?t=s.some(c=>c.toLowerCase()===r):t=!1}return t}pointerHandler(){this.siteBody.removeEventListener(this.initialEvent,this.pointerHandler);let t=this.app.context.document.location.href;this.isAggressiveMode?this.hasStoragePage(t)||(this.setStoragePage(t),this.pushHistoryState()):this.getStartedUrl()||(this.setStartedUrl(t),this.pushHistoryState())}popstateHandler(t){let e=t.target?.history?.state||t.state,i=this.getStartedUrl(),s=this.app.context.document.location.href,r=e===null||e===""||this.isObject(e)&&!e.hasOwnProperty(this.startedPage)&&!e.hasOwnProperty("flowcards"),c=this.isAggressiveMode?this.hasStoragePage(s):i===s;if(c&&r&&typeof this.app.context[this.additionalPage]>"u"){this.app.context[this.additionalPage]=!0,this.replaceHistoryState(),this.buildAdditionalPage(),this.showAdditionalPage();return}this.isObject(e)&&(!c&&!e.hasOwnProperty(this.additionalPage)&&!e.hasOwnProperty(this.startedPage)&&this.showRegularPage(),e.hasOwnProperty(this.startedPage)&&this.showStartedPage(),e.hasOwnProperty(this.additionalPage)&&this.showAdditionalPage())}pushHistoryState(){let t=this.app.context.history.state,e={[this.startedPage]:!0},i=this.app.context.document.location;if(t===null||t==="")(this.isIosFBWebview()||this.isFBAndroid())&&!i.hash?this.app.context.history.pushState(e,"",i.href+"#"+this.app.utils.generateHash()):this.app.context.history.pushState(e,"","");else if(this.isObject(t)){let s={...t,...e};(this.isIosFBWebview()||this.isFBAndroid())&&!i.hash?this.app.context.history.pushState(s,"",i.href+"#"+this.app.utils.generateHash()):this.app.context.history.pushState(s,"","")}else this.app.log(`${this.name}: client also uses history.state and its not an object, so module will not work.`)}replaceHistoryState(){let t=this.app.context.history.state,e={[this.additionalPage]:!0};t===null||t===""?this.app.context.history.replaceState(e,"",""):this.isObject(t)?this.app.context.history.replaceState({...t,...e},"",""):this.app.log(`${this.name}: client also uses history.state and its not an object, so module will not work.`)}buildAdditionalPage(){let t=this.options?.display?.some(r=>r.type==="header"),e=this.options?.display?.some(r=>r.type==="banner"),i=this.options?.cross_button||!1,s=document.createElement("div");s.classList.add(z.container),s.style.display="none",this.siteBody.appendChild(s),this.styles=`body.${z.additionalPage} > *:not(.${z.container}) {
      display: none !important;}body.${z.additionalPage} .${z.container} {
      display: block !important;}body.${z.startedPage} .${z.container} {
      display: none !important;}body.${z.additionalPage} {padding-top: 0 !important;
      margin-top: 0 !important;transform: none !important;}.${z.container} {
      display: none;margin: 0 auto;box-sizing: border-box;padding: 15px 10px;width: 100%;
      max-width: 1100px;background: #fff;}`,t&&this.insertHeader(s),i&&this.insertCrossButton(s),e&&this.insertPopup(s),(i||e)&&this.changeSize(s),this.addingStyles(s),this.addingWidget(s)}insertHeader(t){let e=this.options.display.filter(s=>s.type==="header")[0]?.options?.selector||"header",i=this.app.context.document.querySelector(e);if(i){let s=getComputedStyle(i),r=i.cloneNode(!0);r.classList.add(z.header),t.classList.add(z.headerAdded),t.appendChild(r),this.styles=this.styles+`.${z.container}.${z.headerAdded} {padding: 0 !important;}
        .${z.header} {margin-bottom: 10px !important;z-index: 9999999 !important;}
        .${z.container}.${z.headerAdded} div[class=${this.widgetContainerSelector}] {
        padding: 0 10px;box-sizing: border-box;}`,!this.app.utils.isMobile()&&!this.app.utils.isTablet()&&(t.style.maxWidth=s.width),s.position==="fixed"&&(r.style.maxWidth="100%",r.style.top="0px",r.style.zIndex="9999999",t.style.setProperty("padding-top",s.height,"important"))}}insertCrossButton(t){let i=document.createElement("div");i.classList.add(z.crossButtonContainer);let s=document.createElement("div");s.classList.add(z.crossButton),s.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" 
      xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" 
      width="30px" height="30px" viewBox="0 0 43 40" enable-background="new 0 0 43 40" 
      xml:space="preserve"><path fill="#4C4C4C" d="M21.5,2c-9.941,0-18,8.06-18,18.001c0,9.941,8.059,18,
      18,18s18-8.059,18-18C39.5,10.059,31.441,2,21.5,2z"></path><path fill="#FFFFFF" d="M30.076,24.07c0.564,
      0.564,0.564,1.482,0,2.047l-2.459,2.459c-0.564,0.564-1.48,0.564-2.047,0l-4.07-4.07  
      l-4.07,4.07c-0.566,0.564-1.482,0.564-2.051,0l-2.455-2.459c-0.566-0.564-0.566-1.482,
      0-2.047l4.07-4.07l-4.07-4.071  c-0.566-0.565-0.566-1.482,0-2.049l2.455-2.455c0.568-0.566,
      1.484-0.566,2.051,0l4.07,4.07l4.07-4.07  c0.566-0.566,1.482-0.566,2.047,0l2.459,2.455c0.564,
      0.566,0.564,1.483,0,2.049L26.006,20L30.076,24.07z"></path></svg>`,this.styles=this.styles+`.${z.crossButtonContainer} {display: block !important;
      margin: 10px auto !important;} .${z.crossButton} {display: block !important;
      width: 30px !important;height: 30px !important;max-width: 30px !important;
      max-height: 30px !important;cursor: pointer;border-radius: 50%;overflow: hidden;
      margin-left: auto;} .${z.crossButton} svg {max-width: 30px !important; 
      max-height: 30px !important;}`,t.appendChild(i),i.appendChild(s),s.addEventListener("click",()=>{this.app.context.history.back(),this.showStartedPage()})}insertPopup(t){let e=this.app.context?.localStorage.getItem(this.storagePopupCloseTime),i=24*60*60*1e3,s=e&&new Date().getTime()-Number(e)>=i;if(!e||s){let r=this.options.display.filter(I=>I.type==="banner")[0]?.options,c=r?.bg_color||"#0279f5",d=r?.text_color||"#ffffff",u=r?.text||this.app.getTranslation("[INFORMER_BACK_BUTTON_BANNER_TEXT]"),m=document.createElement("div");m.classList.add(z.popup),t.classList.add(z.popupAdded),m.innerHTML=`<div class="${z.popupInner}">
        <div class="${z.popupText}">${u}</div><div class="${z.popupTriangle}"></div>
        <div class="${z.popupCloseBtn}"><svg width="11" height="11" viewBox="0 0 11 11">
        <path fill="${d}" fill-rule="evenodd" d="M10.34.038L5.5 4.878.66.038.038.66l4.84 
        4.84-4.84 4.84.622.622 4.84-4.84 4.84 4.84.622-.622-4.84-4.84 4.84-4.84z"></path></svg></div></div>`,t.appendChild(m),this.styles=this.styles+`.${z.popup} {display: block;margin: 0 auto;width: 100%;
        height: 50px;overflow: hidden;position: relative;z-index: 999999;}
        .${z.popupInner} {position: relative;display: flex;align-items: center;
        justify-content: space-between;margin: 0 auto;width: 100%;height: 40px;text-align: center;
        transition: all 0.7s ease;opacity: 0;transform: translateY(-150px);background: ${c};}
        .${z.popup}.${z.popupShowed} .${z.popupInner} {transform: translateY(0px);
        opacity: 1;}.${z.popup}.${z.popupClosed} .${z.popupInner} {
        display: none;}.${z.popup}.${z.popupClosed} {z-index: -1;}
        .${z.popupText} {box-sizing: border-box;padding: 10px;width: 100%;height: 100%;
        display: flex;align-items: center;justify-content: center;font-family: Helvetica, Arial, sans-serif;
        font-size: 16px;line-height: 1;font-weight: 400;color: ${d};}
        .${z.popupTriangle} {display: block;position: absolute;bottom: -10px;left: 50%;
        transform: translateX(-50%);width: 0;height: 0;border-left: 12px solid transparent;
        border-right: 12px solid transparent;border-top: 12px solid;color: ${c};}
        .${z.popupCloseBtn} {display: flex;align-items: center;justify-content: center;
        width: 15px;height: 15px;margin-right: 10px;color: ${d};cursor: pointer;}
        .${z.container}.${z.popupAdded} div[class=${this.widgetContainerSelector}] {
        margin-top: -40px;}@media (max-width: 480px) {.${z.popupText} {font-size: 13px;}}`;let k=this.app.context.document.querySelector(`.${z.popupCloseBtn}`);k&&this.app.addEvent(k,"click",()=>{m.classList.add(z.popupClosed),this.app.context?.localStorage.setItem(this.storagePopupCloseTime,String(new Date().getTime()))})}}changeSize(t){let e=t.querySelector(`.${z.popup}`),i=t.querySelector(`.${z.crossButtonContainer}`),s,r=90*1e3,c=new Date().getTime();s=setInterval(()=>{if(new Date().getTime()-c>=r){clearInterval(s),this.app.log(`${this.name}: additional widget didn't load.`);return}let d=t.querySelector(`div[class=${this.widgetContainerSelector}]`);if(d&&d.children.length){let u=d.children[0],m,k;if(u.shadowRoot&&u.shadowRoot.children.length?m=u.shadowRoot.children:u.children.length&&(m=u.children),m?.length&&[].slice.call(m).forEach(I=>{I.getElementsByClassName("mgbox")[0]&&(k=I.getElementsByClassName("mgbox")[0])}),k){clearInterval(s);let I=getComputedStyle(k).width;e&&(e.style.maxWidth=I,e.classList.add(z.popupShowed)),i&&(i.style.maxWidth=I),this.app.context.addEventListener("resize",()=>{e&&(e.style.maxWidth=getComputedStyle(k).width),i&&(i.style.maxWidth=getComputedStyle(k).width)})}}},100)}addingStyles(t){let e=document.createElement("style");e.setAttribute("id","mgAdditionalStyles"),e.appendChild(document.createTextNode(this.styles)),t.appendChild(e)}addingWidget(t){if(this.app.isSingleJS){let e=this.app.getSingleJsController(),i=document.createElement("div"),s=document.createElement("div");s.dataset.type="_mgwidget",s.dataset.widgetId=String(this.widgetId),i.classList.add(this.widgetContainerSelector),i.appendChild(s),t.appendChild(i),e&&e.load()}else new se([{id:this.widgetId,urls:{es5:this.app.widgetParams.WIDGET.widgetPathES5.split(".").map((e,i,s)=>i===s.length-3?this.widgetId:e).join("."),es6:this.app.widgetParams.WIDGET.widgetPathES6.split(".").map((e,i,s)=>i===s.length-3?this.widgetId:e).join(".")},widgetDivId:`M${this.app.widgetParams.WIDGET.widgetClientSiteId}ScriptRootC${this.widgetId}`,searchSelector:`.${z.container}`,insertTo:"into"}],this.app.utils.isSupportES6()?Kt.es6:Kt.es5)}showAdditionalPage(){this.siteBody.classList.remove(z.startedPage),this.siteBody.classList.add(z.additionalPage)}showStartedPage(){this.siteBody.classList.remove(z.additionalPage),this.siteBody.classList.add(z.startedPage)}showRegularPage(){this.siteBody.classList.remove(z.startedPage),this.siteBody.classList.remove(z.additionalPage)}getStartedUrl(){return this.app.context.sessionStorage.getItem(this.storageStartUrl)}setStartedUrl(t){this.app.context.sessionStorage.setItem(this.storageStartUrl,t)}hasStoragePage(t){return(JSON.parse(this.app.context.sessionStorage.getItem(this.storagePagesList))||[]).some(i=>i===t)}setStoragePage(t){let e=JSON.parse(this.app.context.sessionStorage.getItem(this.storagePagesList))||[];e.push(t),this.app.context.sessionStorage.setItem(this.storagePagesList,JSON.stringify(e))}isObject(t){return t!==null&&t.constructor===Object}isIosFBWebview(){let t=this.app.context.navigator.userAgent.toLowerCase();return t.indexOf("apple")>-1&&t.indexOf("iphone")>-1&&t.indexOf("webkit")>-1&&(t.indexOf("fban")>-1||t.indexOf("fbav")>-1)&&t.indexOf("safari")===-1&&t.indexOf("firefox")===-1&&t.indexOf("chrome")===-1}isFBAndroid(){let t=this.app.context.navigator.userAgent||this.app.context.navigator.vendor||this.app.context.opera;return(t.indexOf("FBAN")>-1||t.indexOf("FBAV")>-1)&&t.indexOf("Android")>-1}}});var rs={};J(rs,{MainBlock:()=>We});var We,ns=q(()=>{C();B();$();vt();We=class extends O{constructor(t){super(t),this.cappingRealShowTime=0,this.widgetRealShowTime=0,this.name="MainBlock",this.addHook("beforeInitHooks",()=>{this.app.addEvent(this.app.root,"mousemove",e=>{this.app.root.mouseX=e.pageX-this.app.root.offsetLeft,this.app.root.mouseY=e.pageY-this.app.root.offsetTop})}),this.setAppFunctions(),this.addHook("afterPrepareCappingDataHooks",()=>{this.cappingRealShowTime=this.app.getCurrentTimestamp()}),this.addHook("observerWidgetHooks",(e,i)=>{e&&i>=.01&&(this.widgetRealShowTime=this.app.getCurrentTimestamp())}),this.addHook("afterLoadNewsHooks",()=>{this.fixWrongExternalImages(),this.app.widgetParams.WIDGET.type==="header-widget"&&this.fixHeaderWidgetHeight()}),this.addHook("afterInitHooks",this.sendBannerInfoListener),this.addHook("afterPrepareCappingDataHooks",this.renderLazyBanners),this.addHook("afterLoadNewsHooks",this.setAltToImages),this.addHook("afterLoadNewsHooks",this.fixBackfillDomainPlacement)}setAppFunctions(){this.app.extractClass=t=>{if(t&&typeof t.className<"u"){let e=t.className.replace(/\s/g,".").split(".")[0];if(e)return e.replace(`${this.app.widgetParams.WIDGET.id}`,"")}return""},this.app.getCurrentTimestamp=()=>Math.floor(Date.now()/1e3),this.app.prepareNiceHref=(t,e,i)=>{let s,r=this.app.teaserData[t];if(r?.type!=Z.Teaser)return;let c=r;if(r.coopType!=K.InternalExchange&&c.sdl==1){if(s=this.app.clickTracking,c.dl!="")s+=c.dl;else{let d=decodeURIComponent(c.source.replace(/[`|',:\/?;$%&\(\)^*!@\s]/g,"")).toLowerCase(),u=decodeURIComponent(c.title.replace(/[`|',:\/?;$%&\(\)^*!@]/g,"")).replace(/\s/g,"_");s+=this.app.webProtocol+"//"+(d?d+"/":"")+u}this.app.clickTracking&&s.indexOf(this.app.clickTracking)!==-1&&(s=this.app.clickTracking+encodeURIComponent(s.replace(this.app.clickTracking,"")))}else s=this.app.prepareHref(t,e,i);return s},this.app.prepareHref=(t,e,i)=>{let s=this.app.teaserData[t],r=this.app.getQueryParameterByName("dc"),c=this.getClickZone(),d="",u="";if(i&&this.app.context._mgExternalLinkChanger===1){let m=i.search;if(d=i.protocol+"//"+i.hostname+i.pathname,m!=""){m=m.replace("?","");let k=m.split("&");for(let I=0;I<k.length;I++){let T=k[I].split("=");T[0]!="k"&&T[0]!="dc"&&(d+=(I==0?"?":"&")+k[I])}}}else d=this.app.clickTracking+this.app.webProtocol,s?s.link&&(/^http[s]?:/.test(s.link)?d=this.app.clickTracking+s.link:s.coopType==K.InternalExchange?d=this.app.clickTracking+this.app.intExchangeProtocol+s.link:d=this.app.clickTracking+this.app.webProtocol+s.link):d="#";if(this.app.clickableDelay&&this.app.activateDelayBlock&&this.app.activateDelayBlock.isWagesLink(i)&&(u="dc=1"),u=r?"dc="+parseInt(r):u,u=c!==""&&u===""?"dc="+c:u,u!==""&&(d+=(d.indexOf("?")>=0?"&":"?")+u),this.app.transitParamsInit){let m=this.app.getQueryParameterByName("extclckid");m&&/[\&\?]extclckid\=/.test(d)===!1&&(d+=(d.indexOf("?")>=0?"&":"?")+"extclckid="+m)}if(this.app.antifraudBlock?.getAntifraudParams&&s&&s.coopType!=K.InternalExchange&&(d+=this.app.getAntifraudQueryParameter(d,e,i)),s&&s.coopType!=K.InternalExchange&&(this.cappingRealShowTime&&/[\&\?]crst\=/.test(d)===!1&&(d+=(d.indexOf("?")>=0?"&":"?")+"crst="+this.cappingRealShowTime),this.widgetRealShowTime&&/[\&\?]wrst\=/.test(d)===!1&&(d+=(d.indexOf("?")>=0?"&":"?")+"wrst="+this.widgetRealShowTime)),this.app.context.transitType&&/[\&\?]trt\=/.test(d)===!1&&(d+=(d.indexOf("?")>=0?"&":"?")+"trt="+this.app.context.transitType),this.app.clickTracking&&d.indexOf(this.app.clickTracking)!==-1&&(d=this.app.clickTracking+encodeURIComponent(d.replace(this.app.clickTracking,""))),i&&/[\&\?]wct\=/.test(d)===!1&&this.getParameterFromLink(i,"wct")&&(d+=(d.indexOf("?")===-1?"?":"&")+this.getParameterFromLink(i,"wct")),e?.type==="click"){let m=e.target,k="."+this.app.extractClass(m),I=m.tagName;if(I==="A"){let T=m.parentNode;I=T.tagName,k="."+this.app.extractClass(T)}(!s||s.coopType!==K.InternalExchange&&s.coopType!==K.DirectPublisherDemand)&&(d+=(d.indexOf("?")>=0?"&":"?")+"ce="+I+k)}if(s&&s.coopType!==K.InternalExchange&&s.coopType!==K.DirectPublisherDemand){let m=this.app.getMuid();m.length&&d.indexOf("muid")<0&&(d+=(d.indexOf("?")>=0?"&":"?")+"muid="+m)}return this.app.context.transitThrownParams&&this.app.context.transitThrownParams.forEach(m=>{let k=this.app.getQueryParameterByName(m);k&&k.length>0&&(d=this.replaceUrlParam(d,m,k))}),d},this.app.getAntifraudQueryParameter=(t,e,i)=>{let s=this.app.antifraudBlock.getAntifraudParams(e,i);if(s){let r=this.app.id;return(t.indexOf("?")>=0?"&":"?")+"k="+r+"f"+s}return""},this.app.getTranslation=t=>{let e=this.app.widgetParams.GENERAL.translations;return t.search(/^\[\S*\]$/g)===0?e[t]?e[t]:"":t},this.app.getParentLink=t=>{for(;t&&t.tagName!=="BODY";){if(t.tagName==="A")return t;t=t.parentElement}return null},this.app.getParentElWithClass=(t,e)=>{try{for(;t&&t.tagName!=="BODY";){if(t.classList.contains(e))return t;t=t.parentElement}}catch{return null}return null},this.app.findClosest=(t,e)=>{let i;for(;t.parentNode;){i=t.parentNode.querySelectorAll(e);for(let s=0;s<i.length;s++)if(t.isEqualNode(i[s]))return i[s];t=t.parentNode}return null},this.app.htmlToElement=t=>{let e=document.createElement("div");return e.innerHTML=t,e.firstChild},this.app.concatUniqueArray=(t,e)=>t.concat(e.filter(i=>t.indexOf(i)<0)),this.app.getExceptTeasersIds=t=>{let e=Number(this.app.globalSettings?.except_ads_limit)||150,i=this.app.context.document?.mgExceptIds?.[t]||[],s=[],r=[];switch(t){case K.Wages:s=this.app.context._mgExceptAds||[],r=this.app.exceptAdsList;break;case K.InternalExchange:s=this.app.context._mgIntExchangeNews||[];break;case K.Exchange:s=this.app.context._mgExchangeNews||[],r=this.app.exceptExchangeList;break}return s.length&&(r=this.app.concatUniqueArray(r,s)),i.length&&(r=this.app.concatUniqueArray(r,i)),r.length>e&&(r=r.slice(r.length-e)),r},this.app.tox64String=(t,e)=>{e=e||!1;let i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="",r,c,d,u,m,k,I,T=0;for(;T<t.length;)r=t.charCodeAt(T++),c=t.charCodeAt(T++),d=t.charCodeAt(T++),u=r>>2,m=(r&3)<<4|c>>4,k=isNaN(c)?64:(c&15)<<2|d>>6,I=isNaN(d)?64:d&63,s+=i.charAt(u)+i.charAt(m)+i.charAt(k)+i.charAt(I);return e===!0&&(s=s.replace("+","-").replace("/","_").replace("=","*")),s},this.app.hangNiceLinkListener=(t,e)=>{if(this.app.loadedDefault)return;let i=t.getAttribute("data-hash");return this.app.teaserData[i].type==Z.Teaser&&this.app.teaserData[i].sdl&&(this.app.teaserData[i].sdl=0),t[this.app.hrefAttr]=this.app.prepareHref(i,e,t),!0},this.app.eventsHangNiceLinkListener=t=>{t||(t=this.app.context.event);let e=t.target||t.srcElement;e.tagName!="A"&&(e=this.app.getParentLink(e),e===null)||e.hasAttribute("data-hash")&&this.app.hangNiceLinkListener(e,t)},this.app.isHiddenElement=t=>{for(;t.tagName!=="BODY";){if(t.style.position!=="fixed"&&t.offsetParent||t.style.visibility==="hidden"||t.style.display==="none")return!0;t=t.parentNode}return!1},this.app.random=(t,e)=>Math.floor(t+Math.random()*(e-t+1)),this.app.isTouchDevice=()=>"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.maxTouchPoints>0,this.app.getExpectedCountNews=()=>{let t=this.app.widgetParams.WIDGET.countNews,e=JSON.parse(this.app.widgetParams.WIDGET.mobileCountNews);if(this.app.utils.isMobile()&&typeof e.mobile<"u"&&(t=e.mobile),this.app.widgetParams.WIDGET.adblockIntegration&&this.app.adBlockDetect()){for(let i in this.app.childWidgetsData)if(this.app.childWidgetsData.hasOwnProperty(i)&&this.app.childWidgetsData[i].isAdblockChild){t=this.app.childWidgetsData[i].childCountNews;break}}return t},this.app.isPassiveSupported=()=>{if(typeof this.app.passiveIsSupported<"u")return this.app.passiveIsSupported;this.app.passiveIsSupported=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){this.app.passiveIsSupported=!0}}))}catch{}return this.app.passiveIsSupported},this.app.getWidgetValue=(t,e)=>{let i=JSON.parse(this.app.widgetParams.WIDGET.childProperties);return this.app.originalId!==this.app.id&&typeof i[this.app.id]?.[t]<"u"?i[this.app.id][t]:e},this.app.isEnabledDoubleClick=()=>typeof this.app.servicerData.dcb<"u"}fixWrongExternalImages(){let t=this.app.root.getElementsByClassName("mg-wrong-image");if(t.length>0&&this.app.debugBlock.sendData("Wrong external images count: "+t.length),t.length)for(let e=0;e<t.length;e++){let i=t[e],s=i.src;i.src=this.app.blankImage,setTimeout(()=>{let r=i.getBoundingClientRect();i.classList.add("mg-wrongImage"+e),i.src=s,this.app.stylesheetsBlock.add("wrongImage"+e,".mg-wrongImage"+e+" { width: "+r.width+`px !important;
height: `+r.height+`px !important;
object-fit: cover;
-o-object-fit: cover;
object-position: top;
-o-object-position: top;
 }`),this.app.debugBlock.sendData("fixWrongExternalImages. "+JSON.stringify(r))},50)}}fixHeaderWidgetHeight(){let t="M"+this.app.widgetParams.WIDGET.siteId+"ScriptRootC"+this.app.widgetParams.WIDGET.id,e=this.app.context.document.getElementById(t);e||(e=this.app.getRoot()),e&&e.setAttribute("style","min-height:auto !important;")}getClickZone(){let t=JSON.parse(this.app.widgetParams.WIDGET.widgetClickZones);if(t.length===0||!t.top||!t.left||!t.right||!t.bottom)return"";let e=this.app.root.offsetHeight,i=this.app.root.offsetWidth,s=this.app.root.mouseX,r=this.app.root.mouseY,c={top:e/100*t.top,left:i/100*t.left,right:i-i/100*t.right,bottom:e/100*t.bottom},d=r<=c.top?0:r>=c.bottom?2:1,u=s<=c.left?0:s>=c.right?2:1;return[[2,3,4],[5,"",6],[7,8,9]][d][u]}getParameterFromLink(t,e){let i=t?.search;if(i==="")return null;let s=i.replace("?","").split("&");for(let r=0;r<s.length;r++)if(s[r].split("=")[0]===e)return s[r];return null}replaceUrlParam(t,e,i){let s=new RegExp("\\b("+e+"=).*?(&|#|$)");return i===null?t:t.search(s)>=0?t.replace(s,"$1"+i+"$2"):(t=t.replace(/[?#]$/,""),t+(t.indexOf("?")>0?"&":"?")+e+"="+i)}renderLazyBanners(t){this.app.root&&this.app.teaserData[t].type==="banner"&&this.app.renderBanners(!1,this.app.teaserData[t].iteration)}fixBackfillDomainPlacement(){if(typeof this.app.context._mgIsBackfillBanner<"u"){let t=this.app.root.querySelector(".mcdomain");if(!t)return;typeof this.app.context._mgBackfillStyles<"u"&&!this.app.widgetParams.WIDGET.customStylesEnabled?this.app.context._mgBackfillStyles.indexOf(".mcdomain-top")===-1&&this.app.root.querySelector(".mctitle")?.insertAdjacentElement("afterend",t):t.style.display="block"}}setAltToImages(){if(this.app.root){let t=this.app.root.getElementsByTagName("img");for(let e=0;e<t.length;e++)t[e].getAttribute("alt")===null&&t[e].setAttribute("alt","")}}sendBannerInfoListener(){try{this.app.context.addEventListener("message",({data:t})=>{if(t&&t.type==="_mgBannerInfo"){let e=this.app.root.querySelector(`#${t.id}`);if(!e)return;let i=this.app.teaserData[e.dataset.hash],s=Math.round(e.parentElement.getBoundingClientRect().width),r=Math.round(this.app.root.querySelector(".mgbox").getBoundingClientRect().width);if(t.isEmpty&&(e.style.display="none",e.parentElement.style.display="none"),t.height&&(e.style.height=t.height+"px",i.type===Z.Banner)){let c=s>=.95*r&&s<=r?650:this.app.preRenderTeaserSizes[i.iteration-1].height+50;e.style.maxHeight=c+"px"}t.width&&i.type===Z.Banner&&(e.style.width=t.width+"px",e.style.maxWidth=s+"px")}},!1)}catch{}}}});var os={};J(os,{ResponseParserBlock:()=>Le});var Le,ps=q(()=>{C();B();$();vt();Le=class extends O{getParsedTeaserData(t,e){let i=this.getServicerTeaser(t),s=(1-parseFloat(i.price)/parseFloat(i.priceold))*100;return s<=1||s>100?(i.priceold="",i.discount=""):i.discount=s?`${Math.floor(s)}%`:"",i.other.i=i.other.i?this.app.htmlEntities(i.other.i):this.app.blankImage,this.app.deviceType!=Nt.Desktop&&(i.other.sdl=0),{type:Z.Teaser,hash:i.hash,id:i.id,source:i.source,title:i.title,desc:i.desc,price:i.price,priceold:i.priceold,discount:i.discount,category:i.other.category,catId:i.other?.catId||null,cta:i.other.cta??"",cdt:i.other.cdt??"",img:i.other.i,link:i.other.l??"",mirror:i.mirror,extd:i.other.extd,coopType:i.other.type??null,mediaType:i.other["media-type"],sdl:i.other.sdl,dl:i.other.dl,clicktrackers:i.other.clicktrackers??[],imp:i.other.imp??[],impt:i.other.impt??[],jst:i.other.jst??[],iteration:e,page:this.app.pagesServicerData.length,cdomain:i.other.cdomain||null,ccid:i.other.ccid||null,ch:i.other.ch||null,isViewed:!1,dsa_link:i.other.dsa_link||null,bidPrice:i.other.b?parseFloat(i.other.b):0}}getServicerTeaser(t){return{source:this.app.htmlEntities(t[0]),id:this.app.htmlEntities(t[1]),title:t[3]?this.app.prepareTitle(t[3]):"",desc:t[4]?this.app.prepareDesc(t[4]):"",mirror:this.app.widgetParams.WIDGET.widgetMirror,key:t[6],price:t[7]?this.app.htmlEntities(t[7]).replace(",00","").replace(new RegExp("[^0-9,]"),""):"",priceold:t[8]?this.app.htmlEntities(t[8]).replace(",00","").replace(new RegExp("[^0-9,]"),""):"",discount:"",other:t[10]?t[10]:{},hash:t[9]}}getParsedBannerData(t,e){(this.app.widgetParams.WIDGET.type==="in-article"&&this.app.widgetParams.WIDGET.autoPlacementStatus!=="off"||this.app.widgetParams.WIDGET.type==="in-article"&&this.app.widgetParams.WIDGET.autoPlacementStatus==="off"&&this.app.widgetParams.WIDGET.subType!=="in-article-carousel-super")&&(t.rs=!0);let s="mgBanner_"+this.app.widgetParams.WIDGET.id+"_"+this.app.pagesServicerData.length+"_"+e;return{type:Z.Banner,id:s,hash:t.h,coopType:K.Wages,imp:t.imp??[],page:this.app.pagesServicerData.length,iteration:e,impt:t.impt??[],jst:t.jst??[],html:t.html,width:t.width??0,height:t.height??0,rs:t.rs??!1,useSecureIframe:!1,clickUrl:t.clickUrl,isViewed:!1}}getCustomBannerData(t,e){e===1&&(this.app.widgetCappingEnabled=!0),this.app.consentDataParams&&(typeof this.app.consentDataParams.gdpr<"u"&&typeof this.app.consentDataParams.gdpr_consent<"u"&&(t=t.replace(/\${GDPR}/g,String(this.app.consentDataParams.gdpr)).replace(/\${GDPR_CONSENT}/g,this.app.consentDataParams.gdpr_consent)),typeof this.app.consentDataParams.us_privacy<"u"&&(t=t.replace(/\${CCPA}/g,this.app.consentDataParams.us_privacy)));let i="mgBanner_"+this.app.widgetParams.WIDGET.id+"_"+this.app.pagesServicerData.length+"_"+e;return{type:Z.Banner,hash:"",coopType:K.Wages,imp:[],page:this.app.pagesServicerData.length,iteration:e,impt:[],jst:[],html:t,id:i,width:0,height:0,rs:!1,useSecureIframe:!this.app.widgetParams.WIDGET.disableBannerSafeframe,clickUrl:"",isViewed:!1,isCustomBanner:!0}}getParsedGptData(t,e){let i=this.app.getWidgetValue("gptOptions",null);i&&(this.app.gptOptions=i);let s="mgGpt_"+this.app.widgetParams.WIDGET.id+"_"+this.app.pagesServicerData.length+"_"+e,r=Object.keys(this.app.preRenderTeaserSizes).filter(u=>this.app.preRenderTeaserSizes[u].position===e).map(u=>this.app.preRenderTeaserSizes[u])[0],c=t?.price?this.formatPrice(t.price):null,d=this.app.gptOptions?.price?"d"+this.formatPrice(this.app.gptOptions.price):null;return e===1&&(this.app.widgetCappingEnabled=!0),{id:s,type:Z.Gpt,hash:"",coopType:K.Wages,page:this.app.pagesServicerData.length,iteration:e,imp:[],impt:[],jst:[],width:r?.width||0,height:r?.height||0,afrd:this.app.servicerData.afrd||0,divId:this.app.gptOptions.divId,slot:this.app.gptOptions.slot,lazy:this.app.gptOptions?.lazy||null,backfill:this.app.gptOptions?.backfill||null,lineItemFlow:this.app.gptOptions?.lineItemFlow||!1,isRendered:!1,isViewed:!1,slotPrice:c||d,loadAfterActivity:this.app.gptOptions?.loadAfterActivity||!1,loggingEnabled:this.app.gptOptions?.loggingEnabled||!1,refreshTime:this.app.gptOptions?.refreshTime||null,loadBackfillImmediately:this.app.gptOptions?.loadBackfillImmediately||!1,googleLazyEnabled:this.app.gptOptions?.googleLazyEnabled||!1,googleLazyOptions:this.app.gptOptions?.googleLazyOptions||null}}getAdUnitsFromJson(t){let e=[];return Array.isArray(t)&&t.forEach((i,s)=>{let r=s+1;if("gpt"in i){let c=this.getParsedGptData(i,r);e.push(c)}else if("html"in i){let c=this.getParsedBannerData(i,r);e.push(c)}else if(this.app.customBanners[this.app.id]?.[r]?.length>0){let c=this.getCustomBannerData(this.app.customBanners[this.app.id][r],r);e.push(c)}else{let c=this.getParsedTeaserData(i,r);e.push(c)}}),e}fillAdUnitsData(t){t.forEach(e=>{switch(e.type){case Z.Teaser:this.fillTeaserData(e);break;case Z.Banner:this.fillBannerData(e);break;case Z.Gpt:this.fillGptData(e);break}})}fillTeaserData(t){this.app.teaserData[t.hash]=t,t.coopType===K.InternalExchange&&this.app.context._mgIntExchangeNews.indexOf(t.id)===-1&&this.app.context._mgIntExchangeNews.push(t.id),t.coopType===K.Wages&&t.extd!==1&&this.app.exceptAdsList.indexOf(t.id)===-1&&this.app.exceptAdsList.push(t.id),t.coopType===K.Exchange&&this.app.exceptExchangeList.indexOf(t.id)===-1&&this.app.exceptExchangeList.push(t.id)}fillBannerData(t){this.app.teaserData[t.hash||t.id]=t,this.app.banners[t.id]=t}fillGptData(t){this.app.teaserData[t.id]=t}formatPrice(t){return parseFloat(String(t)).toFixed(2)}}});var cs={};J(cs,{CookieBlock:()=>Ae});var Ae,hs=q(()=>{C();B();$();Ae=class extends O{constructor(t){super(t),this.name="CookieBlock",this.cookieStorage={},this.sharedCookieStorage={},this.storageName=this.app.widgetParams.WIDGET.cookieStoragePrefix+"Storage"+(this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"PageOffset"]?this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"PageOffset"]:"")}getCookieValue(){if(this.app.widgetParams.WIDGET.disableCookies)return{};try{let t=this.app.context.document.cookie?.match(new RegExp("(?:^|; )"+this.storageName+"=([^;]*)")),e={};return t&&(e=JSON.parse(decodeURIComponent(t[1]))),e}catch{}}getCookie(){let t=this.getCookieValue();typeof t["C"+this.app.widgetParams.WIDGET.id]<"u"?this.cookieStorage=t["C"+this.app.widgetParams.WIDGET.id]:this.cookieStorage={},typeof t[0]<"u"?this.sharedCookieStorage=t[0]:this.sharedCookieStorage={}}setCookie(t){if(!this.app.widgetParams.WIDGET.disableCookies){let e=t||new Date(new Date().setFullYear(new Date().getFullYear()+1)).toUTCString(),i=this.app.isAmp()?";domain=.ampproject.net;expires="+e+";SameSite=None;Secure":";path=/",s=this.getCookieValue();s["C"+this.app.widgetParams.WIDGET.id]=this.cookieStorage,s[0]=this.sharedCookieStorage;try{let r=encodeURIComponent(JSON.stringify(s));this.app.context.document.cookie=this.storageName+"="+r+i}catch{}}}}});var ls={};J(ls,{StylesheetsBlock:()=>_e});var _e,ds=q(()=>{C();B();$();_e=class extends O{constructor(t){super(t),this.name="StylesheetsBlock",this.isIE=typeof Proxy>"u",this.stylesDom={},this.isIE||(this.stylesDom=new Proxy(this.stylesDom,{set:(e,i,s)=>{let r=s.container,c=s.style;return e[i]&&delete this.stylesDom[i],this.inject(c,i,r),e[i]=s,!0},has:(e,i)=>this.app.root.querySelector("style#"+i)===null&&typeof e[i]<"u"?!1:typeof e[i]<"u",deleteProperty:(e,i)=>(this.removeFromDom(i),delete e[i],!0)}))}add(t,e,i=null){t+="_"+this.app.uniqId,!(!this.isIE&&typeof i>"u"&&t in this.stylesDom)&&(e=e.replace(/((@media|@supports not) \([^(]*\) {)/g,"$1}"),e=e.replace(/((?:^|}|,|;)\W*)((?:\w+)?\.(?:mc|mg|row)[\-\w]+)/g,"$1"+this.app.getMainCssSelector()+" $2"),e=e.replace(/(((@media|@supports not) \([^(]*\) \{)\})/g,"$2"),e=e.replace(/video-cdn\.(.+)\/mgPlayer/g,this.app.currentSubnetDomain),e.length&&(this.isIE?(this.removeFromDom(t),this.inject(e,t,i)):this.stylesDom[t]={style:e,container:i}))}remove(t){t+="_"+this.app.uniqId,!this.isIE&&t in this.stylesDom?delete this.stylesDom[t]:this.removeFromDom(t)}removeFromDom(t){let e=this.app.root.querySelector("#"+t);e&&e.parentNode.removeChild(e)}inject(t,e,i){if(i){let s=i;if(s.className=this.app.widgetParams.WIDGET.modulePrefix+this.app.widgetParams.WIDGET.id,s.styleSheet)s.styleSheet.cssText=t;else{for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(this.app.context.document.createTextNode(t))}}else{let s=this.app.context.document.createElement("style");s.setAttribute("id",e),s.className=this.app.widgetParams.WIDGET.modulePrefix+this.app.widgetParams.WIDGET.id,s.type="text/css",(typeof this.app.realRoot<"u"?this.app.realRoot:this.app.root).appendChild(s),s.styleSheet?s.styleSheet.cssText=t:s.appendChild(this.app.context.document.createTextNode(t))}}}});var ms={};J(ms,{AdvertLinkBlock:()=>Ge,AdvertLinkSettings:()=>qt});var qt,Ge,us=q(()=>{C();B();$();(function(w){w[w.Off=0]="Off",w[w.LogoAndTitle=1]="LogoAndTitle",w[w.OnlyTitle=2]="OnlyTitle",w[w.OnlyLogo=3]="OnlyLogo"})(qt||(qt={}));Ge=class extends O{constructor(t){super(t),this.name="AdvertLinkBlock",this.addHook("beforeLoadNewsHooks",this.refreshAdvertLink)}parseAdvertLink(t){let e="<!--advertPrefix-->",i=t.indexOf(e)>t.length/2;return i&&this.removeElements(this.app.root.getElementsByClassName("mg_addad"+this.app.id)),(i||this.app.countLoadBlocks===0)&&(t.indexOf(e)>=0?t=t.replace(e,this.app.tickerPrefix):t=this.app.tickerPrefix+t),t}refreshAdvertLink(){let t=this.getAdvertLinkValue(),e=!1,i=this.app.widgetParams.WIDGET.adBlockChangeStyles;if(this.app.widgetParams.WIDGET.adblockIntegration&&(e=this.app.adBlockDetect()),t||e&&i)try{let s=this.getAdLinkBlock()?.replace(/%id/g,String(this.app.id)),r="";e?r=this.app.getTranslation("[WIDGET_TITLE_PROMOTED_CONTENT]"):r=this.app.getTranslation(this.app.widgetParams.WIDGET.widgetTitle);let c=navigator.language.substr(0,2),d=this.app.widgetParams.WIDGET.availableLangs.indexOf(c)!==-1?c:"";this.app.widgetParams.WIDGET.useConstructor&&(r=this.app.context.widgetConstructor.getWidgetTitle()),s=s.replace("%WIDGET_TITLE%",r),s=s.replace("%lang/",d.length?d+"/":""),s=s.replace(/\((\'|\")?\/\//g,"($1"+this.app.webProtocol+"//"),s=s.replace('src="//','src="'+this.app.webProtocol+"//"),s=s.replace('href="//','href="'+this.app.webProtocol+"//");let u=this.app.widgetParams.WIDGET.adLinkHref;if(!u.length){u=this.app.subnetMirrorsUtm;let k=this.app.context.document.location?.hostname;if(this.app.context!==this.app.context.top){let I=this.app.context.document.referrer?.match(/:\/\/(.[^/]+)/);I!==null&&(k=I[1])}u=u.replace("{domain}",k)}this.app.tickerPrefix=s.replace(/%utm/,u);let m=document.createElement("div");if(e&&i)m.innerHTML=this.app.tickerPrefix;else{if(t===qt.LogoAndTitle)return;m.innerHTML=this.app.tickerPrefix,t===qt.OnlyTitle&&this.removeElements(m.getElementsByClassName("mg_addad"+this.app.id)),t===qt.OnlyLogo&&(this.removeElements(m.getElementsByClassName("mghead")),this.removeElements(m.getElementsByClassName("mghead"+this.app.id)))}this.app.tickerPrefix=m.innerHTML}catch{}else this.app.tickerPrefix=""}getAdvertLinkValue(){return Number(this.app.widgetParams.WIDGET.adLink)}removeElements(t){for(let e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e])}getAdLinkBlock(){let t=this.app.widgetParams.WIDGET.useConstructor?this.app.context.widgetConstructor.getWidgetType():this.app.widgetParams.WIDGET.type,e=this.app.widgetParams.WIDGET.useConstructor?this.app.context.widgetConstructor.getWidgetSubType():this.app.widgetParams.WIDGET.subType,i=this.app.widgetParams.WIDGET.widgetMirror,s=this.app.widgetParams.ASSETS.customAdLinkConfig;typeof s<"u"&&typeof s[t]<"u"&&(typeof s[t]["*"]<"u"&&(i=s[t]["*"]),typeof s[t][e]<"u"&&(i=s[t][e]));let r=this.app.widgetParams.ASSETS.adLinkBlock;return typeof r[i]>"u"&&(i=this.app.widgetParams.WIDGET.widgetMirror),r[i]}}});var xs={};J(xs,{SendDimensionsBlock:()=>Re});var Oe,Re,gs=q(()=>{C();B();$();vt();Oe={title:"Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet Lorem ipsum",domain:"Lorem ipsum dolor",description:"Lorem ipsum dolor sit amet Lorem ipsum"},Re=class extends O{constructor(t){super(t),this.childMarginFixPixels=1,this.adblockMinWidgetWidth=500,this.adblockMaxPercentage=0,this.bannerWidth=300,this.bannerHeight=250,this.bannerMinHeight=220,this.name="SendDimensionsBlock",this.isAdblock=this.app.widgetParams.WIDGET.adblockIntegration&&this.app.adBlockDetect(),this.isBannerMacros=this.app.templateText.indexOf("$banner")!==-1||this.app.templateText.indexOf('data-template-schema="banner"')!==-1,this.isBannerAllowed=this.app.widgetParams.WIDGET.bannersEnabled&&this.isBannerMacros&&!this.isAdblock,this.bannerStretchHeight=this.app.utils.isMobile()?280:this.bannerHeight,this.storageKey=`${(this.isAdblock?"_mgAdbDimsData":"_mgDimsData")+this.app.widgetParams.WIDGET.id}`,this.isPlaceReservation=this.app.widgetParams.WIDGET.usePlaceReservation&&!this.app.isShowedUpFormat,this.styleAppliedPromise=new Promise(e=>{this.styleAppliedResolver=e}),this.checkStorageDimsData(),this.checkStylesApplied()}waitForStyleApplied(){return this.styleAppliedPromise}checkStylesApplied(){let t,e=null,i=()=>{if(e=this.app.root.getElementsByClassName("mgbox")[0],e&&this.app.context.getComputedStyle(e).textAlign==="center"){clearInterval(t),this.styleAppliedResolver();return}};i(),t=setInterval(()=>{i()},50)}calcPreRenderingBlock(){this.app.precalcRect={},this.app.preRenderTeaserSizes={},this.app.preRenderImageSizes={},this.teasers=[].slice.call(this.app.root.getElementsByClassName("mgline")),this.isAdblock&&this.reformatForAdblock(),typeof this.app.iframeSizeChangerBlock?.initIframeSizeChange=="function"&&this.app.iframeSizeChangerBlock.initIframeSizeChange();let t=this.app.root.getBoundingClientRect();this.app.precalcRect.width=Math.ceil(t.width?t.width:t.right-t.left),this.app.precalcRect.height=Math.ceil(t.height?t.height:t.bottom-t.top)-this.childMarginFixPixels,this.app.requestParams.w=this.app.precalcRect.width,this.app.requestParams.h=this.app.precalcRect.height;for(let e=0;e<this.teasers.length;e++){let i=e+1,s=this.teasers[e];this.calcPrerenderTeaserSizes(s,i)}if(this.isBannerAllowed){let e=Object.keys(this.app.preRenderTeaserSizes).map(c=>this.app.preRenderTeaserSizes[c]);e.every(c=>c.height>=this.bannerHeight&&c.width>=this.bannerWidth)&&(this.app.requestParams.ident_p=!0);let i=e.reduce((c,d)=>{let u=`${d.width}x${d.height}`,m=c[u]||[];return{...c,[u]:[...m,d.position]}},{});this.app.requestParams.sz=Object.keys(i).join(";"),this.app.requestParams.szp=Object.keys(i).map(c=>i[c]).join(";");let s=e[0].top,r=e.reduce((c,d)=>{let u=d.top+(s<0?-s:0),m=c[u]||[];return{...c,[u]:[...m,d.position]}},{});this.app.requestParams.szl=Object.keys(r).map(c=>r[c]).join(";")}this.updateStorageDimsData(),this.cleanAfterPrerender(),this.performAfterPrerender()}cleanAfterPrerender(){this.app.root=this.app.realRoot;let t="preRenderingBlock"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId,e=this.app.root;this.app.root.parentNode.id===t&&this.app.root.parentNode.parentNode!=null&&(e=this.app.root.parentNode.parentNode),e.querySelector("#"+t)!==null&&e.removeChild(e.querySelector("#"+t)),this.app.loadedType="",this.app.currentSubnet=null,this.app.countLoadBlocks=this.app.countLoadBlocksContainer,this.app.template="",delete this.app.teaserData[""]}performAfterPrerender(){this.app.root.style.overflow="visible",this.app.root.style.visibility="visible",this.isPlaceReservation&&(this.app.root.style.width=this.app.precalcRect.width+"px",this.app.root.style.height=this.app.precalcRect.height+"px"),this.addHook("afterLoadNewsHooks",()=>{this.app.widgetParams.WIDGET.type==="banner"&&Math.ceil(this.app.root.querySelector(".mgbox")?.getBoundingClientRect().width)>this.app.precalcRect.width&&(this.app.root.style.overflow="hidden"),this.isPlaceReservation&&(this.app.root.style.width="auto",this.app.root.style.height="auto"),this.adblockMaxPercentage>0&&this.changeWidgetWidth()})}checkStorageDimsData(){try{if(this.app.context.localStorage){let t=null,e=this.app.getLct(1728713610),i=V.widgetBuilder,s=Math.ceil(this.app.getRoot().getBoundingClientRect().width),r=JSON.parse(this.app.context.localStorage.getItem(this.storageKey)||"[]").filter(c=>c.rootWidth===s?c.lct===e&&c.hashCommit===i?(t=c,!0):!1:!0);t&&(this.app.precalcRect=t.precalcRect,this.app.preRenderTeaserSizes=t.preRenderTeaserSizes,this.app.preRenderImageSizes=t.preRenderImageSizes,t.adblockMaxPercentage&&(this.adblockMaxPercentage=t.adblockMaxPercentage),Object.keys(t.requestParams).forEach(c=>{this.app.requestParams[c]=t.requestParams[c]}),this.addHook("beforeInitHooks",this.performAfterPrerender)),this.app.context.localStorage.setItem(this.storageKey,JSON.stringify(r))}}catch{}}updateStorageDimsData(){let t=["w","h","ident_p","sz","szp","szl","limitads"],e={};e.requestParams={},e.precalcRect=this.app.precalcRect,e.preRenderTeaserSizes=this.app.preRenderTeaserSizes,e.preRenderImageSizes=this.app.preRenderImageSizes,e.lct=this.app.getLct(1728713610),e.hashCommit=V.widgetBuilder,e.rootWidth=Math.ceil(this.app.getRoot().getBoundingClientRect().width),this.adblockMaxPercentage>0&&(e.adblockMaxPercentage=this.adblockMaxPercentage),Object.keys(this.app.requestParams).forEach(i=>{t.indexOf(i)!==-1&&(e.requestParams[i]=this.app.requestParams[i])});try{if(this.app.context.localStorage){let i=JSON.parse(this.app.context.localStorage.getItem(this.storageKey)||"[]");i.push(e),this.app.context.localStorage.setItem(this.storageKey,JSON.stringify(i))}}catch{}}preparePrerenderData(t){let e=this.app.context.document.createElement("div"),i=this.app.context.document.createElement("div"),s=t||this.app.getExpectedCountNews(),r=[],c="preRenderingBlock"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId;if(e.id=c,e.style.visibility="hidden",i.id=this.app.root.id,i.style.padding=`${this.childMarginFixPixels}px 0 0 0`,i.style.margin=`-${this.childMarginFixPixels}px auto 0 auto`,e.appendChild(i),this.app.loadedType="goods",this.app.currentSubnet=0,this.app.realRoot=this.app.root,this.app.countLoadBlocksContainer=this.app.countLoadBlocks,this.app.root.appendChild(e),this.app.root=i,this.app.isShowedUpFormat&&this.app.widgetParams.WIDGET.type!=="mobile-widget"){let d=`#${c} {position: fixed;bottom: -150%;left: -150%;width: 100%;
        opacity: 0;}#${c} div.mgbox {position: relative !important;}`;this.app.stylesheetsBlock.add("preRender",d),this.app.widgetParams.WIDGET.popup&&(this.app.widgetParams.WIDGET.type==="mobile-exit"?this.app.mobileExitBlock.updateWrapperWidth(e):this.app.popupBlock.updateWrapperStyles(e))}for(let d=1;d<=s;d++)r.push({type:Z.Teaser,coopType:K.Wages,hash:"",id:d.toString(),source:Oe.domain,title:Oe.title,desc:Oe.description,img:this.app.blankImage,price:"",priceold:"",discount:"",iteration:d,imp:[],impt:[],clicktrackers:[],jst:[],category:"",catId:null,cdt:"",cta:"",dl:"",extd:0,link:"",mediaType:"",mirror:"",page:1,sdl:0,dsa_link:null,bidPrice:0});return this.app.teaserData[""]=r[0],r}prerenderNews(t){if(this.app.root&&t){this.app.fallbackMode&&this.app.countLoadBlocks===0&&(this.app.root.innerHTML=""),this.app.advertLinkBlock.refreshAdvertLink(),t=this.app.advertLinkBlock.parseAdvertLink(t),this.addPreRenderTemplate(t);let e=this.app.root.getElementsByTagName("a");for(let i=0;i<e.length;i++)e[i].rel="sponsored nofollow noopener"}}addPreRenderTemplate(t){this.app.root.insertAdjacentHTML("beforeend",this.app.preTemplate+t+this.app.postTemplate)}calcPrerenderTeaserSizes(t,e){let i=t.getBoundingClientRect(),s=Math.ceil(t?.clientHeight||(i.height?i.height:i.bottom-i.top)),r=Math.ceil(t?.clientWidth||(i.width?i.width:i.right-i.left)),c=t.querySelector("img.mcimg");if(c&&this.calcPrerenderImageSizes(c,e),this.isNeedRecalcTeaserHeight(r,s,e)){let d=!1;this.teasers[e-1].innerHTML=`<div style="min-width: ${this.bannerWidth}px; min-height: ${this.bannerStretchHeight}px;"></div>`;let u=this.teasers[e-1].getBoundingClientRect(),m=this.app.root.getBoundingClientRect();if(u.width>=this.bannerWidth&&u.height>=this.bannerStretchHeight){d=!0;let k=this.app.root.parentNode;for(;k&&typeof k.tagName<"u"&&k.tagName!=="BODY";){let I=k.getBoundingClientRect();if(I.width<m.width||I.height<m.height){d=!1;break}else k=k.parentNode}}d&&(s=this.bannerStretchHeight)}this.app.preRenderTeaserSizes[e-1]={height:s,width:r,position:e,top:Math.floor(i.top)}}isNeedRecalcTeaserHeight(t,e,i){return this.isBannerAllowed&&t>=this.bannerWidth&&e>=this.bannerMinHeight&&e<this.bannerStretchHeight}calcPrerenderImageSizes(t,e){let i=t.getBoundingClientRect();if(i.height===0||i.width===0){let s="#preRenderingBlock"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId;if(this.app.realRoot.querySelector(s)!==null){let r=this.app.realRoot.querySelector(s);r.style.clear="both",i=t.getBoundingClientRect()}}this.app.preRenderImageSizes[e-1]={height:i.height,width:i.width}}reformatForAdblock(){if(this.app.utils.isMobile()){for(let t=this.teasers.length;t>1;t--){let e=this.teasers[t-1];if(this.app.root.getBoundingClientRect().height>this.app.context.screen.height&&e&&e.parentNode)e.parentNode.removeChild(e);else break}this.teasers=[].slice.call(this.app.root.getElementsByClassName("mgline")),this.app.requestParams.limitads=this.teasers.length}else{let t="",e=0;for(let i in this.app.childWidgetsData)if(this.app.childWidgetsData.hasOwnProperty(i)&&this.app.childWidgetsData[i].isAdblockChild){t=this.app.childWidgetsData[i].childSubtype;break}t==="under-article-widget-adblock"||t==="in-article-adblock"?e=25:t==="header-widget-adblock"&&(e=15),t&&t.indexOf("adblock")!==-1&&e>0&&(this.adblockMaxPercentage=e)}}changeWidgetWidth(){let t=this.app.root.querySelector(".mgbox"),e=t.offsetWidth,i=t.offsetHeight,s=e*i,r=this.app.context.innerWidth*this.app.context.innerHeight;if(s/r*100>this.adblockMaxPercentage&&e>this.adblockMinWidgetWidth){let d=r*this.adblockMaxPercentage/100,u=s-d,m=e-e*(u/s/2),k=m>=this.adblockMinWidgetWidth?Math.floor(m):this.adblockMinWidgetWidth;t.style.maxWidth=k+"px"}}}});var fs={};J(fs,{InternalExchangeLoggerBlock:()=>He});var He,ws=q(()=>{C();B();$();vt();He=class extends O{constructor(t){super(t),this.name="InternalExchangeLoggerBlock",this.app.internalExchangeLoggerHandler=this.clickHandler.bind(this),this.addHook("afterLoadNewsHooks",this.init)}init(){this.app.addClickHandler(this.app.clickHandlerList.internalExchangeLogger.handler,this.app.clickHandlerList.internalExchangeLogger.priority)}clickHandler(t,e){if(typeof e.button<"u"&&e.button!==0)return!0;let i=t.getAttribute("data-hash"),s=this.app.teaserData[i];if(s&&s.coopType==K.InternalExchange){let r={};r.cid=`cid=${this.app.id}`,r.tid=`tid=${s.id}`,r.h=`h=${i}`,typeof this.app.servicerData.isBot<"u"&&(r.bot=`bot=${this.app.servicerData.isBot}`),typeof this.app.servicerData.tt<"u"&&(r.tt=`tt=${this.app.servicerData.tt}`),typeof this.app.servicerData.ts<"u"&&(r.ts=`ts=${this.app.servicerData.ts}`),typeof this.app.servicerData.psid<"u"&&(r.psid=`psid=${this.app.servicerData.psid}`),typeof this.app.servicerData.dt<"u"&&(r.dt=`dt=${this.app.servicerData.dt}`);let c=t.parentElement.tagName,d="."+this.app.extractClass(t.parentElement);r.ce=`ce=${c}${d}`,this.app.request.pixel("internalExchangeLogger",this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.countersDomain+"/clie",r,{})}return!0}}});var vs={};J(vs,{RefreshTeaserAfterClickBlock:()=>Me});var Me,bs=q(()=>{C();B();$();vt();Me=class extends O{constructor(t){super(t),this.name="RefreshTeaserAfterClickBlock",this.addHook("afterLoadNewsHooks",this.init)}init(){this.app.getWidgetValue("refreshTeaserAfterClick",this.app.widgetParams.WIDGET.refreshTeaserAfterClick)&&typeof this.app.refreshNewsHandler>"u"&&(this.app.refreshNewsHandler=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.refreshNews.handler,this.app.clickHandlerList.refreshNews.priority))}onClick(t,e){if(typeof e.button<"u"&&e.button!==0)return!0;let i=t.getAttribute("data-hash"),s=this.app.teaserData[i];return s&&s.type===Z.Teaser&&(s.coopType===K.Wages&&s.extd!==1||s.coopType===K.Exchange)&&(this.app.refreshedElement=this.findParentMgline(t),this.app.requestParams.limitads=1,this.app.requestParams.pos=s.iteration,this.app.collectExceptParams(),this.app.injectScript(!1,1)),!0}findParentMgline(t){for(;(t=t.parentElement)&&!t.classList.contains("mgline"););return t}}});var ks={};J(ks,{IframeSizeChangerBlock:()=>Ne});var Ne,ys=q(()=>{C();B();$();Ve();Ne=class extends O{constructor(t){super(t),this.name="IframeSizeChangerBlock",this.addHook("afterLoadNewsHooks",this.initIframeSizeChange)}initIframeSizeChange(){let t=null;try{if(this.app.widgetParams.WIDGET.changeIframeSize&&(t=this.app.context.parent.document.getElementById("google_ads_iframe_"+this.app.context.name)),t||(t=this.app.context.parent.document.getElementById(this.app.context.name)),t)try{let e=this.app.context.parent.document.getElementById(t.name+"__container__").parentNode;e.style.width="initial",e.style.height="initial"}catch{}}catch{this.app.log("SafeFrame. Checking for support..."),this.isSafeFrameSupported()&&this.isSafeFrameAllowedPush()?(this.app.log("SafeFrame. Supported"),this.safeFrameRegister(),this.safeFrameExpand()):this.app.log("SafeFrame. Unsupported!");return}if(t){if(this.app.widgetParams.WIDGET.changeIframeSize){if(this.app.lifeCycleBlock.stage===Ut.Init){let e=this.app.root.getBoundingClientRect(),s=Math.round(this.app.root.getBoundingClientRect().height)+40;t.width=this.app.context.parent.innerWidth-e.left*2+"px",t.height=s+"px"}else t.width=this.app.precalcRect.width+"px",t.height=this.app.precalcRect.height+"px";this.app.widgetParams.WIDGET.dfpWidth!==0&&(t.width=this.app.widgetParams.WIDGET.dfpWidth+"px"),this.app.widgetParams.WIDGET.dfpHeight!==0&&(t.height=this.app.widgetParams.WIDGET.dfpHeight+"px")}else if(this.app.widgetParams.WIDGET.iframe!==""){let e=this.app.widgetParams.WIDGET.iframe.split("*");typeof e[0]<"u"&&(t.width=e[0]+"px"),typeof e[1]<"u"&&(t.height=e[1]+"px")}}}isSafeFrameSupported(){return typeof this.app.context.$sf<"u"}isSafeFrameAllowedPush(){return this.app.context.$sf.ext.supports()["exp-push"]}safeFrameExpand(){this.app.log("SafeFrame. Expanding...");let t=this.app.context.$sf.ext.geom().exp,e={push:!0,t:t.t,l:t.l,r:t.r,b:t.b};this.app.context.$sf.ext.expand(e)}safeFrameRegister(){this.app.log("SafeFrame. Register..."),this.app.context.$sf.ext.register(300,250,(t,e)=>{this.app.log("SafeFrame. "+t+"; "+JSON.stringify(e))})}}});var Is={};J(Is,{RejectBlock:()=>Fe});var Fe,Ps=q(()=>{C();B();$();Fe=class extends O{constructor(t){super(t),this.isRejectNeeded=!1,this.name="RejectBlock",this.app.isInsertedRejectStyles=!1,this.app[this.app.widgetParams.WIDGET.informerPrefix+"Reject"]=()=>{this.isRejectNeeded=!0},this.addHook("afterLoadNewsHooks",this.initReject)}initReject(){this.isRejectNeeded&&this.reject()}reject(){let t=this.app.root.querySelectorAll(".mgline");for(let e=0;e<t.length;e++){let i=t[e],s=i.querySelector(".close-informer"),r=i.querySelector("div.mcimg"),c=i.className.match(/teaser-([0-9]+)/),d=i.className.match(/type-(w|e|i)/);if(!s&&r&&i.className.indexOf("dsp")<=0&&c&&d&&d[1]!=="i"){let m=this.buildCloseBtn(c,d);this.app.widgetParams.WIDGET.type==="in-site-notification"?i.querySelector(".image-container")?.appendChild(m):this.app.widgetParams.WIDGET.subType==="in-article-card-media"||this.app.widgetParams.WIDGET.subType==="under-article-widget-card-media"?i.querySelector(".mgline-inner")?.appendChild(m):i.querySelector(".image-with-text")?.appendChild(m)}}this.initRejectStyles()}buildCloseBtn(t,e){let i=this.app.subnetDashboardDomain+"/publisher/blocked",s=this.app.context.document.createElement("a");return s.className="close-informer",s.href=i+"/teaser/"+t[1]+"/widget/"+(e[1]==="w"?this.app.widgetParams.WIDGET.goodsPartUid+"/type/goods":this.app.widgetParams.WIDGET.newsPartUid+"/type/news"),s.target="_blank",s.style.top="2px",s.style.right="3px",this.app.widgetParams.WIDGET.noFollow&&(s.rel="sponsored nofollow"),s}initRejectStyles(){if(this.app.isInsertedRejectStyles)return;this.app.stylesheetsBlock.add("reject",`
div.mgline a.close-informer {
width: 14px !important;
height: 14px !important;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5NzI0ODBDMzY3ODcxMUU1OEM4RUU2RUJCOUREODIyQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5NzI0ODBDNDY3ODcxMUU1OEM4RUU2RUJCOUREODIyQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjk3MjQ4MEMxNjc4NzExRTU4QzhFRTZFQkI5REQ4MjJCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjk3MjQ4MEMyNjc4NzExRTU4QzhFRTZFQkI5REQ4MjJCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+uNcpEQAAAHxJREFUeNqckgEKwCAIRe3fYjfKc2zX6hydaLRbbDnGkLDIPggl/5lKIcbIRJRqbDSnUmOHE6LPm+CEfhj6lnN+o5WVh1VOm6xColCXc/cgLWYev9gaejnQojCab5RDzyDt6RantqoBaz5zq54ZywJ3CXjIwQGd8skfAQYALdQqftYulocAAAAASUVORK5CYIJ0ZW50Ij4NCiA8ZGl2IGNsYXNzPSJjb250ZW50LWNvbnRhaW5lciI+PGZpZWxkc2V0Pg0KICA8aDI+NTAyIC0gV2ViIHNlcnZlciByZWNlaXZlZCBhbiBpbnZhbGlkIHJlc3BvbnNlIHdoaWxlIGFjdGluZyBhcyBhIGdhdGV3YXkgb3IgcHJveHkgc2VydmVyLjwvaDI+DQogIDxoMz5UaGVyZSBpcyBhIHByb2JsZW0gd2l0aCB0aGUgcGFnZSB5b3UgYXJlIGxvb2tpbmcgZm9yLCBhbmQgaXQgY2Fubm90IGJlIGRpc3BsYXllZC4gV2hlbiB0aGUgV2ViIHNlcnZlciAod2hpbGUgYWN0aW5nIGFzIGEgZ2F0ZXdheSBvciBwcm94eSkgY29udGFjdGVkIHRoZSB1cHN0cmVhbSBjb250ZW50IHNlcnZlciwgaXQgcmVjZWl2ZWQgYW4gaW52YWxpZCByZXNwb25zZSBmcm9tIHRoZSBjb250ZW50IHNlcnZlci48L2gzPg0KIDwvZmllbGRzZXQ+PC9kaXY+DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg==");
display: block;
opacity: 0;
position: absolute;
right: 2px;
top: 2px;
z-index: 149999;
cursor: pointer;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
.mgline a.close-informer:hover {
opacity: 1;
}
.mgline .image-with-text img.mcimgad {
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
div.mcimg {
position: relative;
}
div.image-with-price {
position: relative;
}
.mgline .image-container {
width: auto;
margin: 0 auto;
position: relative;
}`),this.app.isInsertedRejectStyles=!0}}});var Ss={};J(Ss,{DSAIconBlock:()=>qe});var qe,Ts=q(()=>{C();B();$();qe=class extends O{constructor(t){super(t),this.isStylesAppended=!1,this.iconSize=16,this.name="DSAIconBlock",this.isMobile=this.app.utils.isMobile()||this.app.utils.isTablet(),this.nonClickZone=this.isMobile?9:5,this.addHook("afterLoadNewsHooks",this.init)}init(){let t=this.app.root.querySelectorAll(".mgline");for(let e=0;e<t.length;e++){let i=t[e];if(typeof i.dataset.dsa<"u"||i.classList.contains("type-v"))continue;let s=i.getAttribute("data-i"),r=this.app.teaserData[s];if(r&&r.dsa_link){i.dataset.dsa="true";let c=this.buildIcon(r.dsa_link),d=i.querySelector(".image-with-text");this.app.widgetParams.WIDGET.type==="in-site-notification"||this.app.widgetParams.WIDGET.type==="banner"?d=i.querySelector(".image-container"):(this.app.widgetParams.WIDGET.subType==="in-article-card-media"||this.app.widgetParams.WIDGET.subType==="under-article-widget-card-media")&&(d=i.querySelector(".mgline-inner")),d&&(d.style.position="relative",d.appendChild(c),this.appendStyles())}}}buildIcon(t){let e=this.app.context.document.createElement("div"),i=this.app.context.document.createElement("a"),s=`<svg class="mgdsa-icon" xmlns="http://www.w3.org/2000/svg" width="18" height="18" 
      viewBox="0 0 18 18" fill="none"><rect width="18" height="18" fill="white"/><g clip-path="url(#clip0_49_159)">
      <path d="M9 1.5C4.86 1.5 1.5 4.86 1.5 9C1.5 13.14 4.86 16.5 9 16.5C13.14 16.5 16.5 13.14 16.5 9C16.5 4.86
        13.14 1.5 9 1.5ZM9 15C5.6925 15 3 12.3075 3 9C3 5.6925 5.6925 3 9 3C12.3075 3 15 5.6925 15 9C15 12.3075
        12.3075 15 9 15Z" fill="#737373"/>
        <path d="M9.65019 11.8586L9.6502 8.21708H7.47609V9.35846H8.50881L8.50881 13L10.6829 13V11.8586H9.65019Z"
        fill="#737373"/>
        <path d="M10 6C10 6.55228 9.55229 7 9 7C8.44772 7 8 6.55228 8 6C8 5.44772 8.44772 5 9 5C9.55229 5 10
        5.44772 10 6Z" fill="#737373"/></g><defs><clipPath id="clip0_49_159">
        <rect width="16" height="16" fill="white" transform="translate(1 1)"/></clipPath></defs></svg>`;return e.classList.add("mgdsa-container"),i.classList.add("mgdsa-link"),i.href=t,i.target="_blank",i.title=this.app.getTranslation("[INFORMER_DSA_ICON_TITLE]"),this.app.widgetParams.WIDGET.noFollow&&(i.rel="sponsored nofollow"),i.innerHTML=s,e.appendChild(i),e}appendStyles(){if(this.isStylesAppended)return;let t=`.mgdsa-container {display: flex;justify-content: flex-end;
      width: ${this.iconSize+this.nonClickZone}px;height: ${this.iconSize+this.nonClickZone}px;
      position: absolute;right: 0px;top: 0px;z-index: 2147483646;opacity: ${this.isMobile?1:0};
      transition: opacity 0.3s ease-out;}.mgdsa-link {display: block;max-width: ${this.iconSize}px;
      max-height: ${this.iconSize}px;text-decoration: none;outline: none;border: none;cursor: pointer;}
      .mgdsa-icon {width: ${this.iconSize}px;height: ${this.iconSize}px;max-width: ${this.iconSize}px;
      max-height: ${this.iconSize}px;}`;this.isMobile?t+=`.mgdsa-link {padding: 0 0 ${this.nonClickZone}px ${this.nonClickZone}px;
        box-sizing: content-box;}`:t+=".mgline:hover .mgdsa-container {opacity: 1;}",this.app.stylesheetsBlock.add("dsa-icon",t),this.isStylesAppended=!0}}});var Ds={};J(Ds,{TeaserHoverBlock:()=>Ue});var Ue,Es=q(()=>{C();B();$();Ue=class extends O{constructor(t){super(t),this.name="TeaserHoverBlock",this.addHook("afterLoadNewsHooks",this.init)}init(){let t=this.app.root.querySelectorAll(".mgline");for(let e=0;e<t.length;e++){let i=t[e],s={mgline:i,advIcon:i.querySelector("img.mcimgad"),rejectIcon:i.querySelector(".close-informer")};this.teaserHover(s)}}teaserHover(t){let{mgline:e,advIcon:i,rejectIcon:s}=t,r={advIcon:{el:i,positionLimits:this.iconPositionLimits(i,s)},rejectIcon:{el:s}};this.app.isTouchDevice()?e.addEventListener("click",()=>{s&&this.moveIconsForward(r)}):e.addEventListener("mouseenter",()=>{s&&this.moveIconsForward(r)}),e.addEventListener("mouseleave",()=>{s&&this.moveIconsBack(r)})}iconPositionLimits(t,e){let i=this.getIconCurrentPosition(t),s=this.getIconCurrentPosition(e);return!t||!e?{initial:null,ending:null}:{initial:i.right,ending:i.right+e.offsetWidth+s.right}}moveIconsForward(t){this.isAdvIconOnTop(t.advIcon.el)&&this.changeIconPosition(t.advIcon,"mouseenter"),t.rejectIcon.el&&(t.rejectIcon.el.style.opacity="0.7")}moveIconsBack(t){this.isAdvIconOnTop(t.advIcon.el)&&this.changeIconPosition(t.advIcon,"mouseleave"),t.rejectIcon.el&&(t.rejectIcon.el.style.opacity="0")}changeIconPosition(t,e){let i=t.positionLimits.initial,s=t.positionLimits.ending;t.el&&(e==="mouseenter"&&s!==null&&(t.el.style.right=s+"px"),e==="mouseleave"&&i!==null&&(t.el.style.right=i+"px"))}getIconCurrentPosition(t){let e=t?this.app.context.getComputedStyle(t):null;return{right:e?parseInt(e.right.replace("px","")):null,top:e?parseInt(e.top.replace("px","")):null}}isAdvIconOnTop(t){if(t){let e=+this.app.context.getComputedStyle(t).top.replace("px","");return e>=0&&e<=5}}}});var Bs={};J(Bs,{InAppParamsBlock:()=>ze});var Cs,ze,Ws=q(()=>{C();B();$();Cs=["mgBundle","mgStoreurl","mgIfa","gdpr","gdprConsent","usPrivacy","gdprApplies","consentData","uspString","mgContenturl","mgIfatype","mgUserlat"],ze=class extends O{constructor(t){super(t),this.name="InAppParamsBlock",this.addHook("afterInitHooks",()=>{this.rootContainer=this.app.getRoot();for(let e in this.rootContainer.dataset)if(Cs.indexOf(e)!==-1){this.setMgDataAttributes();break}})}setMgDataAttributes(){let t=["${BUNDLE}","${STORE_URL}","%%ADVERTISING_IDENTIFIER_PLAIN%%","${GDPR}","${GDPR_CONSENT_358}","${CCPA}","%%PATTERN:url%%","%%ADVERTISING_IDENTIFIER_TYPE%%","%%ADVERTISING_IDENTIFIER_IS_LAT%%"];for(let e in this.rootContainer.dataset)if(Cs.indexOf(e)!==-1){let i=this.rootContainer.dataset[e];if(t.indexOf(i)!==-1)continue;e==="gdpr"||e==="gdprApplies"?this.app.requestParams.gdpr=Number(i)||1:e==="gdprConsent"||e==="consentData"?this.app.requestParams.gdpr_consent=i:e==="usPrivacy"||e==="uspString"?this.app.requestParams.us_privacy=i:this.app.requestParams[e]=i}}}});var Ls={};J(Ls,{CountersBlock:()=>$e});var $e,As=q(()=>{C();B();$();$e=class extends O{constructor(t){super(t),this.impTrackCapping={},this.name="CountersBlock",this.addHook("afterLoadNewsHooks",this.countersLoad),this.addHook("afterLoadNewsHooks",this.parseImpTracker),this.addHook("afterPrepareCappingDataHooks",this.sendImpTrackCapping),this.addHook("afterPrepareCappingDataHooks",this.sendJsTrackers)}countersLoad(){let t=this.app.widgetParams.WIDGET.newsPartIdPartner;if(Number(this.app.id)!==Number(this.app.widgetParams.WIDGET.id)){let e=this.app.childWidgetsData[this.app.id];t=e?e.newsWidgetIdPartner:null}if(this.app.widgetParams.WIDGET.autocreativeCampaignId&&(t=this.app.widgetParams.WIDGET.autocreativeCampaignId),!this.app.widgetParams.WIDGET.widgetUseConstructor&&(this.app.widgetParams.WIDGET.hasNewsPart&&this.app.widgetParams.WIDGET.newsPartAcStatsEnabled&&this.app.widgetParams.WIDGET.newsPartKind==="exchange"&&this.app.widgetParams.WIDGET.useInNewsRanker||this.app.widgetParams.WIDGET.autocreativeCampaignId)){let e={},i=this.app.context.document.referrer.replace(/&/g,"%26");this.app.isAmp()&&(i=this.app.context.context.canonicalUrl),e.id="id="+this.app.widgetParams.WIDGET.widgetClientSiteId,e.pid="pid="+t,e.referer="referer="+i,typeof this.app.contextBlock.contextUriParse=="function"&&(e.cxurl="cxurl="+this.app.contextBlock.contextUriParse()),this.app.context.self!==this.app.context.top&&(e.iframe="iframe=1"),typeof this.app.servicerData.h2<"u"&&(e.h2="h2="+this.app.servicerData.h2),e.cbuster="cbuster="+this.app.getCbusterParameter(),this.app.request.pixel("autoCounter",this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.autoCreativeCounterDomain+"/autocreative/counter.php",e,{unique:!0})}}parseImpTracker(){if(this.app.widgetParams.WIDGET.widgetCountersDisabled===1)return;let t=Object.keys(this.app.teaserData);for(let e in t)if(Array.isArray(this.app.teaserData[t[e]].impt)){for(let i=0;i<this.app.teaserData[t[e]].impt.length;i++)if(!(typeof this.app.teaserData[t[e]].impt[i].completed<"u")){if(this.app.teaserData[t[e]].impt[i].only_viewable===1)typeof this.impTrackCapping[t[e]]>"u"&&(this.impTrackCapping[t[e]]=[]),this.impTrackCapping[t[e]].push(this.app.teaserData[t[e]].impt[i]);else{let s=this.app.teaserData[t[e]].impt[i].code;this.app.teaserData[t[e]].impt[i].type==="i"&&this.sendCustomCounter(s),this.app.teaserData[t[e]].impt[i].type==="j"&&(this.app.teaserData[t[e]].impt[i].iframe===1?this.sendIframeTracker(t[e],s,i):this.sendInlineTracker(t[e],s))}this.app.teaserData[t[e]].impt[i].completed=1}}}sendImpTrackCapping(t){if(!(typeof this.impTrackCapping[t]>"u"))for(let e=0;e<this.impTrackCapping[t].length;e++)this.impTrackCapping[t][e].type==="i"&&this.sendCustomCounter(this.impTrackCapping[t][e].code),this.impTrackCapping[t][e].type==="j"&&(this.impTrackCapping[t][e].iframe===1?this.sendIframeTracker(t,this.impTrackCapping[t][e].code,e):this.sendInlineTracker(t,this.impTrackCapping[t][e].code))}sendCustomCounter(t){this.app.request.pixel("widgetCustomCounter",t,{mgbuster:"mgbuster="+("00000"+Math.round(Math.random()*1e5).toString(16)).slice(-5)},{})}sendIframeTracker(t,e,i){let s="<script>window.onerror = function() { return true; };<\/script>";s+=e;let r=this.app.context.document.createElement("iframe");r.style.display="none",this.app.renderInSafeIframe(r,`${t}_${i}`,s),this.app.root.appendChild(r)}sendInlineTracker(t,e){let i=this.getMglineByHash(t);if(!i)return;i.insertAdjacentHTML("beforeend",e);let s=i.childNodes;for(let r=0;r<s.length;r++)if(s[r]instanceof HTMLScriptElement){let c=s[r],d=this.app.context.document.createElement("script");d.src=c.src,i.removeChild(c),i.appendChild(d)}}getMglineByHash(t){let e=this.app.root.getElementsByClassName("mgline");for(let i=0;i<e.length;i++)if(e[i].getAttribute("data-i")===t)return e[i];return null}sendJsTrackers(t){if(Array.isArray(this.app.teaserData[t].jst))for(let e=0;e<this.app.teaserData[t].jst.length;e++){let i="<script>window.onerror = function() { return true; };<\/script>";i+=this.app.teaserData[t].jst[e];let s=this.app.context.document.createElement("iframe");s.style.display="none",this.app.renderInSafeIframe(s,`${t}_${e}`,i),this.app.root.appendChild(s)}}}});var _s={};J(_s,{SubnetsBlock:()=>je});var je,Gs=q(()=>{C();B();$();vt();je=class extends O{constructor(t){super(t),this.name="SubnetsBlock",this.addHook("afterInitHooks",this.init),this.app.currentSubnet=this.app.widgetParams.WIDGET.currentSubnet,this.app.subnetMirrorsImage="",this.app.subnetMirrorsUtm="",this.app.subnetDashboardDomain=""}init(){let t=[this.app.widgetParams.WIDGET.id];this.childWidgets=JSON.parse(this.app.widgetParams.WIDGET.childWidgets);let e=JSON.parse(this.app.widgetParams.WIDGET.childFuncBlocks);this.childFuncBlockList=[];for(let r in this.childWidgets)this.childWidgets.hasOwnProperty(r)&&t.push(this.childWidgets[r].childId);for(let r in e)if(e.hasOwnProperty(r)){this.childFuncBlockList[r]=this.childFuncBlockList[r]||[];for(let c in e[r])e[r].hasOwnProperty(c)&&this.childFuncBlockList[r].push(e[r][c].split("/").pop())}let i=this.loadSubnets(),s=this.app.uniqId!==""&&this.app.widgetParams.WIDGET.allowMultipleWidgets?"_"+this.app.uniqId:"";t.forEach(r=>{this.app.context["mgReject"+r]=this.app[this.app.widgetParams.WIDGET.informerPrefix+"Reject"],this.app.context["mgLoadAds"+r+s]=(c,d)=>{let u=i[this.app.widgetParams.WIDGET.currentSubnet];this.loadAds(c,d,r,this.app.widgetParams.WIDGET.currentSubnet,u.mirror)},this.app.context["_mgConsentWait"+r+s]=c=>{this.app.consentsBlock.waitConsent(c),typeof this.app.context["_mgGPT"+r]<"u"&&delete this.app.context["_mgGPT"+r]};for(let c in i)if(i.hasOwnProperty(c)){let d=i[c];d.id!==St.L&&(this.app.context[d.informer_prefix+"CReject"+r]=this.app[this.app.widgetParams.WIDGET.informerPrefix+"Reject"],this.app.context[d.informer_prefix+"LoadGoods"+r+s]=(u,m)=>{this.loadAds(u,m,r,d.id,d.mirror)})}})}loadSubnets(){let t=JSON.parse(this.app.widgetParams.WIDGET.subnets),e=t[this.app.widgetParams.WIDGET.currentSubnet];return this.app.subnetMirrorsImage=e.imageDomain,this.app.subnetMirrorsUtm=e.utm,this.app.subnetDashboardDomain=this.app.webProtocol+"//"+e.dashboardDomain,t}loadAds(t,e,i,s,r){if(window.performance?.mark("ssp_response",{detail:{_mgwidget:this.app.widgetParams.WIDGET.id}}),this.app.widgetParams.WIDGET.loggingConsentEnabled&&!this.app.tcfv2Data&&!this.app.startServicerTime&&(this.app.startServicerTime=new Date().getTime()),this.app.id=i,this.app.loadedType="goods",this.app.currentSubnet=s,this.app.currentSubnetDomain=r,this.app.originalId!==this.app.id){if(typeof this.childFuncBlockList[this.app.id]<"u"){let c=this.childFuncBlockList[this.app.id];this.executeFuncBlock(c)}if(typeof this.childWidgets[this.app.id]<"u"&&typeof this.childWidgets[this.app.id].customFuncBlocks<"u"){let c=this.childWidgets[this.app.id].customFuncBlocks;this.executeFuncBlock(c)}}this.app.lifeCycleBlock.render(t,e)}executeFuncBlock(t){for(let e in t)if(t.hasOwnProperty(e)){let i=t[e],s=i.replace(/[-_]/g,"").replace(/./,r=>r.toUpperCase())+"Block";try{this.app[s]=new window[`${this.app.widgetParams.WIDGET.I}`].childFuncBlocks[i](this.app)}catch(r){this.app.log(`SubnetsBlock - ${i} error:`,"error",r)}}}}});var Os={};J(Os,{ScrollTimeDoubleClickBlock:()=>Ke});var Ke,Rs=q(()=>{C();B();$();Ke=class extends O{constructor(t){super(t),this.lastScrollTime=0,this.lastClickTime=0,this.name="ScrollTimeDoubleClickBlock",this.app.getWidgetValue("useScrollClick",this.app.widgetParams.WIDGET.useScrollClick)&&(this.app.addEvent(this.app.context,"scroll",()=>this.onContextScrollEvent()),this.app.scrollTimeDoubleClickHandler=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.scrollTimeDoubleClick.handler,this.app.clickHandlerList.scrollTimeDoubleClick.priority))}onClick(t,e){return this.onContextClickEvent(),this.app.doubleClickType="scrollTime",this.lastScrollTime<=this.lastClickTime&&this.lastClickTime-this.lastScrollTime<=.5?(this.app.doubleClickHandler(t),e.preventDefault(),this.app.linksBlocked=!0,!1):(this.app.linksBlocked=!1,!0)}onContextScrollEvent(){this.lastScrollTime=this.app.getCurrentTimestamp()}onContextClickEvent(){this.lastClickTime=this.app.getCurrentTimestamp()}}});var Ms={};J(Ms,{SmartDoubleClickBlock:()=>Je});var Hs,hr,lr,Je,Ns=q(()=>{C();B();$();Hs=1,hr=100,lr={undefined:-1,desktop:1,mobile:2,tablet:3,smarttv:4},Je=class extends O{constructor(t){super(t),this.name="SmartDoubleClickBlock",this.app.isDisabledBySmartDoubleClick=!1,this.addHook("afterInitHooks",this.init)}init(){this.groups=this.app.getWidgetValue("doubleclickParameters",JSON.parse(this.app.widgetParams.WIDGET.doubleclickParameters)),!(!this.groups||!this.app.isEnabledDoubleClick())&&(this.doubleClickCheckId=0,this.loadedTime=this.app.getCurrentTimestamp(),this.handlers=this.getHandlers(),this.app.onSmartDoubleClickHandler=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.onSmartDoubleClick.handler,this.app.clickHandlerList.onSmartDoubleClick.priority))}getGroupPercent(t,e,i){let s=0,r=e.getBoundingClientRect();for(let c in this.handlers){if(!this.handlers[c])continue;let d=this.handlers[c](t,i,r);if(d===!1)return!1;s+=d}return s/Object.keys(t).length}getGroupElementPercent(t,e,i){return t.hasOwnProperty(e)?t[e].hasOwnProperty("value")&&i===t[e].value||t[e].hasOwnProperty("min")&&i>=t[e].min&&i<=t[e].max?t[e].percent:!1:0}getDoubleClickPercent(t,e){for(let i in this.groups){if(!this.groups[i])continue;let s=this.getGroupPercent(this.groups[i],t,e);if(s!==!1)return this.doubleClickCheckId=i,s}return this.doubleClickCheckId=0,Hs-1}onClick(t,e){let i=this.app.random(Hs,hr);return this.app.doubleClickPercent=Number(this.getDoubleClickPercent(t,e)),this.app.isDisabledBySmartDoubleClick=this.app.doubleClickPercent<i,this.app.doubleClickCheckId=this.app.isDisabledBySmartDoubleClick?0:this.doubleClickCheckId,!0}getHandlers(){return[t=>this.getGroupElementPercent(t,"device",lr[this.app.deviceType]||""),t=>this.getGroupElementPercent(t,"browser",this.app.browserId),t=>this.getGroupElementPercent(t,"click_time",this.app.getCurrentTimestamp()-this.loadedTime),t=>this.getGroupElementPercent(t,"width",this.app.root.offsetWidth),t=>this.getGroupElementPercent(t,"height",this.app.root.offsetHeight),t=>this.getGroupElementPercent(t,"click_y",this.app.root.mouseY),t=>this.getGroupElementPercent(t,"click_x",this.app.root.mouseX),t=>this.getGroupElementPercent(t,"hw_ratio",this.app.root.offsetHeight/this.app.root.offsetWidth),(t,e)=>this.getGroupElementPercent(t,"borderTop",e.offsetY),(t,e)=>this.getGroupElementPercent(t,"borderLeft",e.offsetX),(t,e,i)=>this.getGroupElementPercent(t,"borderRight",i.width-e.offsetX),(t,e,i)=>this.getGroupElementPercent(t,"borderBottom",i.height-e.offsetY),t=>this.getGroupElementPercent(t,"research",1)]}}});var Vs={};J(Vs,{MobileDoubleClickBlock:()=>Ze});var Ze,Fs=q(()=>{C();B();$();Ze=class extends O{constructor(t){super(t),this.name="MobileDoubleClickBlock",("ontouchstart"in window||navigator.maxTouchPoints>0)&&(this.addHook("afterSendCappingHooks",this.init),this.addHook("beforeInitHooks",()=>{this.informerId=this.app.root.getAttribute("id")}))}init(){this.app.isEnabledDoubleClick()&&(this.app.doubleClickTimeLoaded||(this.app.doubleClickTimeLoaded=new Date().getTime()/1e3),this.app.stylesheetsBlock.add("doubleclickMobile",this.getStyles()),this.app.showDoubleClickButton=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.showMobileDoubleClick.handler,this.app.clickHandlerList.showMobileDoubleClick.priority))}onClick(t,e){if(this.app.isDisabledBySmartDoubleClick||typeof e.button<"u"&&e.button!==0)return!0;this.app.doubleClickType="mobile",this.app.linksBlocked=!1;let i=t;if(this.app.widgetParams.WIDGET.mobileApp){if(this.app.doubleClickHandler(i),i.className.indexOf("mgbuybox")===-1){for(;i.tagName!=="A"&&i.id!==this.informerId;)if(i=i.parentElement,i.id===this.informerId)return!1;try{for(;i.className.indexOf("mgline")===-1;)i=i.parentElement}catch{return!1}let s=i;s.dataset.clicked!=="1"&&(e.preventDefault(),this.app.linksBlocked=!0),s.dataset.clicked="1";let r=s.querySelector(".mgfree"),c=s.querySelector(".mgbuybox");r.style.opacity="0",c.style.opacity="1",c.style.opacity="1",c.style.zIndex="9999",setTimeout(()=>{r.style.opacity="1",c.style.opacity="0",s.dataset.clicked="0",c.style.zIndex="-9999"},1e4)}}else{let s=new Date().getTime()/1e3,r=this.app.getWidgetValue("mobileDoubleclickDelay",this.app.widgetParams.WIDGET.mobileDoubleclickDelay);if(i.className!==this.app.widgetParams.WIDGET.modulePrefix+"DButton"+this.app.widgetParams.WIDGET.id&&(r===0||s-this.app.doubleClickTimeLoaded<r)){for(this.app.doubleClickHandler(i),this.app.linksBlocked=!0,e.preventDefault();i.tagName!=="A"&&i.id!==this.informerId;)if(i=i.parentElement,i.id===this.informerId)return;let c=e.target;for(;!c.classList.contains("mgline");)c=c.parentElement;let d=this.app.context.document.createElement("div");d.className=this.app.widgetParams.WIDGET.modulePrefix+"DLayout"+this.app.widgetParams.WIDGET.id,d.style.zIndex="100000";let u=this.createLinkGo(i,c,r);d.appendChild(u);let m=c.querySelector(".mgline-inner");m?m.appendChild(d):c.appendChild(d),setTimeout(()=>{d.parentNode.removeChild(d)},1e4)}else return this.app.doubleClickHandler(i,!0),!0}}createLinkGo(t,e,i){let s=this.app.context.document.createElement("a");s.innerHTML=this.app.getTranslation("[GO]");let r=t.getAttribute(this.app.hrefAttr);typeof r=="string"&&(r=r+(r.indexOf("?")>=0?"&":"?")+"wct="+this.app.doubleClickType),s.href=r;let c=e.querySelector("a")?.getAttribute("data-hash");c&&s.setAttribute("data-hash",c);let d=80,u=80,m=(1-d/e.offsetHeight)/2*100,k=e.offsetWidth/u*.98;s.style.top=m+"%";let I=k>1?(1-u/e.offsetWidth)/2*100:0;return s.style.left=I+"%",e.offsetHeight<=100&&(k=.5),k<1&&(s.style.transform="scale3d("+k+","+k+","+k+")",s.style.webkitTransform="scale3d("+k+","+k+","+k+")",s.style.transformOrigin="left",s.style.webkitTransformOrigin="left"),s.target="_blank",s.className=this.app.widgetParams.WIDGET.modulePrefix+"DButton"+this.app.widgetParams.WIDGET.id,setTimeout(()=>{k=k<1?k:1,s.style.transform="scale3d("+k+","+k+","+k+")",s.style.webkitTransform="scale3d("+k+","+k+","+k+")"},i),s}getStyles(){return"."+this.app.widgetParams.WIDGET.modulePrefix+"DButton"+this.app.widgetParams.WIDGET.id+'{display:       inline-block;width:         170px !important;height:        50px !important;line-height:        50px !important;background-color: RGBA(0,0,0,0);border:        1px solid white;border-radius:        3px;color:         white !important;font:          normal 500 18px/50px "Sans", sans-serif;transform: scale3d(0.0001,0.0001,0.0001);text-align:    center;padding:    0 10px;text-shadow:   none;position: absolute;left: 0 !important;right: 0 !important;top: 0 !important;bottom: 0 !important;margin: auto !important;text-decoration: none !important;transition:all 1s;}.'+this.app.widgetParams.WIDGET.modulePrefix+"DLayout"+this.app.widgetParams.WIDGET.id+"{height: 100%;width: 100%;position: absolute;top: 0px;left: 0px;background-color: rgba(0, 0, 0, 0.5);z-index: 99999;}#"+this.app.widgetParams.WIDGET.modulePrefix+"Composite"+this.app.widgetParams.WIDGET.id+" .mgline {position:relative}"}}});var qs={};J(qs,{DesktopDoubleClickBlock:()=>Xe});var Xe,Us=q(()=>{C();B();$();Xe=class extends O{constructor(t){super(t),this.name="DesktopDoubleClickBlock";let e="ontouchstart"in window||navigator.maxTouchPoints>0,i="addEventListener"in window.document;!e&&i&&(this.addHook("afterSendCappingHooks",this.init),this.addHook("beforeInitHooks",()=>{this.informerId=this.app.root.getAttribute("id")}))}init(){this.app.isEnabledDoubleClick()&&(this.app.doubleClickTimeLoaded||(this.app.doubleClickTimeLoaded=new Date().getTime()/1e3),this.app.stylesheetsBlock.add("desktopDoubleClick",this.getStyles()),this.app.showDesktopDoubleClickButton=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.showDesktopDoubleClick.handler,this.app.clickHandlerList.showDesktopDoubleClick.priority))}onClick(t,e){if(this.app.isDisabledBySmartDoubleClick||typeof e.button<"u"&&e.button!==0)return!0;this.app.doubleClickType="desktop",this.app.linksBlocked=!1;let i=t,s=new Date().getTime()/1e3,r=this.app.getWidgetValue("desktopDoubleclickDelay",this.app.widgetParams.WIDGET.desktopDoubleclickDelay);if(i.className!==this.app.widgetParams.WIDGET.modulePrefix+"DButton"+this.app.widgetParams.WIDGET.id&&(r===0||s-this.app.doubleClickTimeLoaded<r)){for(this.app.doubleClickHandler(i),e.preventDefault(),this.app.linksBlocked=!0;i.tagName!=="A"&&i.id!==this.informerId;)if(i=i.parentElement,i.id===this.informerId)return!1;let c=e.target;try{for(;!c.classList.contains("mgline");)c=c.parentElement}catch{return!1}let d=this.app.context.document.createElement("div");d.className=this.app.widgetParams.WIDGET.modulePrefix+"DLayout"+this.app.widgetParams.WIDGET.id,d.style.zIndex="100000";let u=this.createLinkGo(i,c,e);d.appendChild(u);let m=c.querySelector(".mgline-inner");m?m.appendChild(d):c.appendChild(d),setTimeout(()=>{d.parentNode.removeChild(d)},1e4)}else return this.app.doubleClickHandler(i,!0),!0}createLinkGo(t,e,i){let s=this.app.context.document.createElement("a");s.innerHTML=this.app.getTranslation("[GO]");let r=t.getAttribute(this.app.hrefAttr);typeof r=="string"&&(r=r+(r.indexOf("?")>=0?"&":"?")+"wct="+this.app.doubleClickType),s.href=r;let c=e.querySelector("a")?.getAttribute("data-hash");c&&s.setAttribute("data-hash",c);let d=e.offsetHeight,u=d/3+2,m=u;s.style.width=u-2+"px",s.style.lineHeight=u-2+"px",s.style.height="33.33%",e.offsetHeight<=100&&(m=80,u=80,s.style.width="80px",s.style.lineHeight="78px",s.style.height="80px");let k=(1-u/e.offsetHeight)/2*100;i.clientY-e.getBoundingClientRect().top<d/2?k=(1-2*u/d)*100/4+50:k=(1-2*u/d)*100/4,e.offsetHeight<=100&&(k=-34),s.style.top=k+"%";let T=e.offsetWidth/m*.98,v=T>1?(1-m/e.offsetWidth)/2*100:0;return e.offsetHeight<=100&&(v=45.5),s.style.left=v+"%",parseFloat(s.style.width)<=50&&(s.style.font="normal 500 12px/"+s.style.width+' "Sans", sans-serif'),e.offsetHeight<=100&&(T=.5),T<1&&(s.style.transform="scale3d("+T+","+T+","+T+")",s.style.webkitTransform="scale3d("+T+","+T+","+T+")",s.style.transformOrigin="left",s.style.webkitTransformOrigin="left"),s.target="_blank",s.className=this.app.widgetParams.WIDGET.modulePrefix+"DButton"+this.app.widgetParams.WIDGET.id,setTimeout(()=>{T=T<1?T:1,s.style.transform="scale3d("+T+","+T+","+T+")",s.style.webkitTransform="scale3d("+T+","+T+","+T+")"},500),s}getStyles(){return"."+this.app.widgetParams.WIDGET.modulePrefix+"DButton"+this.app.widgetParams.WIDGET.id+'{display:       inline-block;width:         170px !important;height:        50px !important;line-height:        50px !important;background-color: RGBA(0,0,0,0);border:        1px solid white;border-radius:        3px;color:         white !important;font:          normal 500 18px/50px "Sans", sans-serif;transform: scale3d(0.0001,0.0001,0.0001);text-align:    center;padding:    0 10px;text-shadow:   none;position: absolute;left: 0 !important;right: 0 !important;top: 0 !important;bottom: 0 !important;margin: auto !important;text-decoration: none !important;transition:all 1s;}.'+this.app.widgetParams.WIDGET.modulePrefix+"DLayout"+this.app.widgetParams.WIDGET.id+"{height: 100%;width: 100%;position: absolute;top: 0px;left: 0px;background-color: rgba(0, 0, 0, 0.5);z-index: 100;}#"+this.app.widgetParams.WIDGET.modulePrefix+"Composite"+this.app.widgetParams.WIDGET.id+" .mgline {position:relative}"}}});var zs={};J(zs,{SspDoubleClickBlock:()=>Qe});var Qe,$s=q(()=>{C();B();$();vt();Qe=class extends O{constructor(t){super(t),this.servicerDoubleClickStatus=!1,this.name="SspDoubleClickBlock",this.addHook("afterSendCappingHooks",this.onCapping),this.addHook("afterInjectScriptHooks",this.init),this.app.doubleClickType="ssp",this.app.hashTimer=[]}init(){this.app.stylesheetsBlock.add("ssp_doubleclick",this.getStyles());let t=setInterval(()=>{if(this.servicerDoubleClickStatus){clearInterval(t);return}!this.app.isEnabledDoubleClick()&&typeof this.app.servicerData.dc<"u"&&this.app.root.querySelectorAll("a[data-hash]").length&&(this.app.sspDoubleClickHandler=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.sspDoubleClick.handler,this.app.clickHandlerList.sspDoubleClick.priority),this.servicerDoubleClickStatus=!0)},100)}onClick(t,e){if(typeof e.button<"u"&&e.button!==0)return!0;let i=t.getAttribute("data-hash"),s=new Date().getTime();return i in this.app.hashTimer&&s-this.app.hashTimer[i]>this.app.servicerData.dc||this.app.teaserData[i].coopType!==K.Wages||t.className===this.app.widgetParams.WIDGET.informerPrefix+"DButton"+this.app.widgetParams.WIDGET.id?(this.app.doubleClickHandler(t,!0),!0):(this.app.doubleClickHandler(t),e.preventDefault(),this.showButton(t),!1)}showButton(t){let e=this.app.context.document.createElement("div");e.classList.add(this.app.widgetParams.WIDGET.informerPrefix+"DLayout"+this.app.widgetParams.WIDGET.id);let i=t.closest(".mgline");i!==null&&i.appendChild(e);let s=this.app.context.document.createElement("a");s.classList.add(this.app.widgetParams.WIDGET.informerPrefix+"DButton"+this.app.widgetParams.WIDGET.id);let r=t.getAttribute("href");typeof r=="string"&&(r=r+(r.indexOf("?")>=0?"&":"?")+"wct="+this.app.doubleClickType),s.href=r,s.setAttribute("data-hash",t.getAttribute("data-hash"));let c=this.app.widgetParams.WIDGET.currentSubnet!==St.MG?50:80,d=this.app.widgetParams.WIDGET.currentSubnet!==St.MG?170:80,u=(1-c/i.offsetHeight)/2*100,m=i.offsetWidth/d*.98;s.style.backgroundImage="url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMzggMzgiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxwb2x5Z29uIHBvaW50cz0iMTIsMjkuMSAyMi4yLDE5IDEyLjEsOC45IDE0LDcgMjYsMTkgMTQsMzEiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utb3BhY2l0eT0iMSI+PC9wb2x5Z29uPjwvc3ZnPg==)",s.style.backgroundPosition="center",s.style.top=u+"%";let k=m>1?(1-d/i.offsetWidth)/2*100:0;this.app.widgetParams.WIDGET.currentSubnet===St.MG&&(s.style.left=k+"%"),m<1&&(s.style.transform="scale3d("+m+","+m+","+m+")",s.style.webkitTransform="scale3d("+m+","+m+","+m+")",s.style.transformOrigin="left",s.style.webkitTransformOrigin="left"),s.target="_blank",e.appendChild(s),setTimeout(()=>{this.app.widgetParams.WIDGET.currentSubnet!==St.MG?(s.style.left=k+"%",s.style.opacity="1"):(m=m<1?m:1,s.style.transform="scale3d("+m+","+m+","+m+")",s.style.webkitTransform="scale3d("+m+","+m+","+m+")")},10),setTimeout(()=>{e.parentNode.removeChild(e)},1e4)}onCapping(){if(typeof this.app.sspDoubleClickHash<"u")for(let t=0;t<this.app.sspDoubleClickHash.length;t++)typeof this.app.hashTimer[this.app.sspDoubleClickHash[t]]>"u"&&(this.app.hashTimer[this.app.sspDoubleClickHash[t]]=new Date().getTime())}getStyles(){let t={0:{borderColor:"#0a1b53",gradient:"#2b3c84, #0c1b52",fontColor:"#fff"},2:{borderColor:"#010101",gradient:"#111312, #010101",fontColor:"#fff"},3:{borderColor:"#F36729",gradient:"#F79220, #F26B29",fontColor:"#fff"}},e=typeof t[this.app.widgetParams.WIDGET.currentSubnet]<"u"?t[this.app.widgetParams.WIDGET.currentSubnet]:t[0],i="."+this.app.widgetParams.WIDGET.informerPrefix+"DButton"+this.app.widgetParams.WIDGET.id+"{display:       inline-block;";return this.app.widgetParams.WIDGET.currentSubnet!==St.MG?i+="width:         168px;height:        48px;background:    -moz-linear-gradient("+e.gradient+");background:    -o-linear-gradient("+e.gradient+");background:    -webkit-linear-gradient("+e.gradient+");background:    linear-gradient("+e.gradient+");border:        1px solid "+e.borderColor+";color:         "+e.fontColor+' !important;font:          normal 700 21px/48px "Zapf Dingbats", sans-serif;opacity: 0;left: -100%;':i+='width:     170px !important;height:        50px !important;line-height:        50px !important;background-color: RGBA(0,0,0,0);border:        1px solid white;border-radius:        3px;color:         white !important;font:          normal 500 18px/50px "Sans", sans-serif;transform: scale3d(0.0001,0.0001,0.0001);',i+="text-align:    center;position: absolute;left: 0 !important;right: 0 !important;top: 0 !important;bottom: 0 !important;margin: auto !important;text-decoration: none !important;transition:all 1s;}."+this.app.widgetParams.WIDGET.informerPrefix+"DLayout"+this.app.widgetParams.WIDGET.id+"{height: 100%;width: 100% !important;position: absolute !important;top: 0px;left: 0px;background-color: rgba(0, 0, 0, 0.5);z-index: 99999;}#"+this.app.widgetParams.WIDGET.informerPrefix+"Composite"+this.app.widgetParams.WIDGET.id+" .mgline {position:relative}",i}}});var js={};J(js,{ExternalCountersBlock:()=>Ye});var Ye,Ks=q(()=>{C();B();$();Ye=class extends O{constructor(t){super(t),this.name="ExternalCountersBlock",this.app.externalCountersLinkHandler=this.externalCountersLinkHandler.bind(this),this.handleExternalCountersListener()}externalCountersLinkHandler(t,e){if(typeof e.button<"u"&&e.button!==0)return!0;let i=t.getAttribute("data-hash"),s=this.app.teaserData[i];if(s&&Array.isArray(s.clicktrackers)){let r=s.clicktrackers;if(r.length)for(let c=0;c<r.length;c++)this.app.request.pixel(`clickTracker ${i} - ${r[c]}`,r[c],{},{})}return!0}handleExternalCountersListener(){this.app.addClickHandler(this.app.clickHandlerList.externalCountersLink.handler,this.app.clickHandlerList.externalCountersLink.priority)}}});var Js={};J(Js,{VideoTeasersBlock:()=>ti});var ti,Zs=q(()=>{C();B();$();ti=class extends O{constructor(t){super(t),this.name="VideoTeasersBlock",this.siteBody=this.app.getMostTopWindow().document.body,this.playVideos=this.playVideos.bind(this),this.addHook("beforeLoadNewsHooks",this.setVideoStyles),this.addHook("afterLoadNewsHooks",this.playVideos)}setVideoStyles(){let t=this.app.widgetParams.WIDGET.templateStyles;this.app.widgetParams.WIDGET.adblockIntegration&&this.app.adBlockDetect()&&(t=this.app.adBlockStyles),t=t.split("img.mcimg {").filter((e,i)=>i!==0).map(e=>e.substring(0,e.indexOf("}"))).join("").trim(),this.app.stylesheetsBlock.add("new-mcvideo-styles",`.mgline video.mcvideo {${t}}`)}playVideos(){let t=this.app.root.getElementsByClassName("mcvideo");for(let e=0;e<t.length;e++){let i=t[e],s=()=>{if(i.classList.contains("played"))this.siteBody.removeEventListener("pointerdown",s);else{let r=i.play();typeof r<"u"&&r.catch(c=>{this.app.log("_playVideosHandler. Error: ","error",c),i.controls=!0})}};this.siteBody.addEventListener("pointerdown",s,!1)}}}});var Xs={};J(Xs,{OriginTrialsBlock:()=>ei});var ei,Qs=q(()=>{C();B();$();ei=class extends O{constructor(t){super(t),this.name="OriginTrialsBlock",this.addHook("beforeInitHooks",this.initOriginTrials)}initOriginTrials(){JSON.parse(this.app.widgetParams.WIDGET.originTrialTokens).forEach(e=>{if(e.conditions.indexOf("webview")!==-1&&!this.app.utils.isChromeWebView())return;let i=this.app.context.document.createElement("META");i.httpEquiv="origin-trial",i.content=e.token,this.app.context.document.head.appendChild(i),this.app.log("Origin Trial Token inserted: "+e.name)})}}});var Ys={};J(Ys,{CalculateSessionsBlock:()=>mr});var dr,ae,mr,ta=q(()=>{C();B();$();ee();dr=function(w,t,e){for(var i=arguments.length>2,s=0;s<t.length;s++)e=i?t[s].call(w,e):t[s].call(w);return i?e:void 0},ae=function(w,t,e,i,s,r){function c(W){if(W!==void 0&&typeof W!="function")throw new TypeError("Function expected");return W}for(var d=i.kind,u=d==="getter"?"get":d==="setter"?"set":"value",m=!t&&w?i.static?w:w.prototype:null,k=t||(m?Object.getOwnPropertyDescriptor(m,i.name):{}),I,T=!1,v=e.length-1;v>=0;v--){var D={};for(var b in i)D[b]=b==="access"?{}:i[b];for(var b in i.access)D.access[b]=i.access[b];D.addInitializer=function(W){if(T)throw new TypeError("Cannot add initializers after decoration has completed");r.push(c(W||null))};var y=(0,e[v])(d==="accessor"?{get:k.get,set:k.set}:k[u],D);if(d==="accessor"){if(y===void 0)continue;if(y===null||typeof y!="object")throw new TypeError("Object expected");(I=c(y.get))&&(k.get=I),(I=c(y.set))&&(k.set=I),(I=c(y.init))&&s.unshift(I)}else(I=c(y))&&(d==="field"?s.unshift(I):k[u]=I)}m&&Object.defineProperty(m,i.name,k),T=!0},mr=(()=>{var w;let t=O,e=[],i,s,r,c;return w=class extends t{constructor(u){super(u),this.topWindow=dr(this,e),this.expirationLimit=30*24*60*60*1e3,this.weekLimit=7*24*60*60*1e3,this.sessionLimit=30*60*1e3,this.storageKeys={sessionsList:"_mgSessionsTimeList",sessionsNumber:"_mgSessionsNumber",sessionId:"_mgSessionId",sessionPage:"_mgSessionPagesNumber",sessionTeasersData:"_mgSessionTeasersData"},this.pagesKey="_mgSessionPages",this.name="CalculateSessionsBlock",this.init()}init(){this.topWindow=this.app.getMostTopWindow();try{this.topWindow.localStorage&&(this.app.countSessionClicksHandler=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.countSessionClicks.handler,this.app.clickHandlerList.countSessionClicks.priority),this.addHook("beforeInjectScriptHooks",this.calculateSessions,1e3,!0),this.addHook("beforeInjectScriptHooks",this.sendSessions,1e3,!0),this.addHook("beforeLoadNewsHooks",this.savedSessions,1e3,!0),this.addHook("afterPrepareCappingDataHooks",this.setTeaserImps,1e3,!0))}catch(u){this.app.log(`${this.name} no localStorage found`,"error",u)}}calculateSessions(){let u=this.topWindow.location.pathname;this.app.isAmp()&&this.app.context.context.location&&(u=this.app.context.context.location);let m=this.getCurrentTime();if(this.sessionPage=Number(bt.getItem(this.storageKeys.sessionPage))||Number(ft.getItem(this.storageKeys.sessionPage))||0,this.sessionsList=(JSON.parse(bt.getItem(this.storageKeys.sessionsList)||"false")||JSON.parse(ft.getItem(this.storageKeys.sessionsList)||"false")||[]).filter(k=>m-k<this.expirationLimit),bt.setItem(this.pagesKey,bt.getItem(this.pagesKey)||"[]"),bt.getItem(this.pagesKey).indexOf(u)===-1){let k=JSON.parse(bt.getItem(this.pagesKey));k.push(u),bt.setItem(this.pagesKey,JSON.stringify(k)),this.sessionPage=this.sessionPage+1}if(this.sessionsList.length){let k=this.sessionsList[this.sessionsList.length-1];m-k<this.sessionLimit?(this.sessionsList[this.sessionsList.length-1]=m,this.sessionId=bt.getItem(this.storageKeys.sessionId)||ft.getItem(this.storageKeys.sessionId)||this.generateSessionId()):(this.sessionId=this.generateSessionId(),this.sessionsList=[...this.sessionsList,m],bt.setItem(this.pagesKey,JSON.stringify([u])),this.sessionPage=1)}else this.sessionId=this.generateSessionId(),this.sessionsList=[m],bt.setItem(this.pagesKey,JSON.stringify([u])),this.sessionPage=1;this.sessionsByWeek=this.sessionsList.filter(k=>m-k<this.weekLimit),bt.setItem(this.storageKeys.sessionId,this.sessionId),bt.setItem(this.storageKeys.sessionPage,this.sessionPage.toString()),bt.setItem(this.storageKeys.sessionsList,JSON.stringify(this.sessionsList))}sendSessions(){if(this.app.requestParams.sessionId=this.sessionId,this.app.requestParams.sessionPage=this.sessionPage,this.app.requestParams.sessionNumberWeek=this.sessionsByWeek.length,this.sessionsList.length===1)this.app.requestParams.sessionNumber=1;else if(this.sessionsList.length>=2){let u=this.sessionsList[this.sessionsList.length-1],m=this.sessionsList[this.sessionsList.length-2],k=Math.floor((u-m)/6e4);this.app.requestParams.sessionNumber=this.sessionsList.length,this.app.requestParams.timeBetweenSessions=k}if(this.sessionTeasersData=JSON.parse(ft.getItem(this.storageKeys.sessionTeasersData)||"[]"),this.sessionTeasersData.length){let u=this.sessionTeasersData.map(m=>`${m.catId},${m.imps||0}${m.clicks?","+m.clicks:""}`);this.app.requestParams.sessionCats=u.join(";")}}savedSessions(){this.app.servicerData.consent?(ft.setItem(this.storageKeys.sessionId,this.sessionId),ft.setItem(this.storageKeys.sessionPage,this.sessionPage.toString()),ft.setItem(this.storageKeys.sessionsList,JSON.stringify(this.sessionsList)),this.app.widgetParams.WIDGET.retentionToolEnabled&&ft.setItem(this.storageKeys.sessionsNumber,this.sessionsByWeek.length.toString())):Object.keys(this.storageKeys).forEach(u=>{ft.removeItem(this.storageKeys[u])})}generateSessionId(){return ft.removeItem(this.storageKeys.sessionTeasersData),Math.round(Date.now()/1e3).toString(16)+"-"+("00000"+Math.round(Math.random()*1e5).toString(16)).slice(-5)}getCurrentTime(){return new Date().getTime()}setTeaserImps(u){this.updateTeaserData(u,"imps")}onClick(u,m){let k=u.getAttribute("data-hash");return this.updateTeaserData(k,"clicks"),!0}updateTeaserData(u,m){if(this.app.servicerData.consent&&this.app.teaserData[u].catId){let k=this.app.teaserData[u].catId;this.sessionTeasersData=JSON.parse(ft.getItem(this.storageKeys.sessionTeasersData)||"[]"),this.sessionTeasersData.some(I=>I.catId===k)?this.sessionTeasersData=this.sessionTeasersData.map(I=>I.catId===k?{...I,[m]:(I[m]||0)+1}:I):this.sessionTeasersData.push({catId:k,[m]:1}),ft.setItem(this.storageKeys.sessionTeasersData,JSON.stringify(this.sessionTeasersData))}}getSessionId(){return this.sessionId||null}},(()=>{let d=typeof Symbol=="function"&&Symbol.metadata?Object.create(t[Symbol.metadata]??null):void 0;i=[Wt],s=[Wt],r=[Wt],c=[Wt],ae(w,null,i,{kind:"method",name:"calculateSessions",static:!1,private:!1,access:{has:u=>"calculateSessions"in u,get:u=>u.calculateSessions},metadata:d},null,e),ae(w,null,s,{kind:"method",name:"sendSessions",static:!1,private:!1,access:{has:u=>"sendSessions"in u,get:u=>u.sendSessions},metadata:d},null,e),ae(w,null,r,{kind:"method",name:"savedSessions",static:!1,private:!1,access:{has:u=>"savedSessions"in u,get:u=>u.savedSessions},metadata:d},null,e),ae(w,null,c,{kind:"method",name:"updateTeaserData",static:!1,private:!1,access:{has:u=>"updateTeaserData"in u,get:u=>u.updateTeaserData},metadata:d},null,e),d&&Object.defineProperty(w,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:d})})(),w})()});var ea={};J(ea,{CalculateViewrateBlock:()=>ii});var ii,ia=q(()=>{C();B();$();ii=class extends O{constructor(t){super(t),this.weekLimit=7*24*60*60*1e3,this.storageKey="_mgViewrate"+this.app.widgetParams.WIDGET.id,this.name="CalculateViewrateBlock",this.app.isAmp()||this.init()}init(){this.topWindow=this.app.getMostTopWindow(),this.currentViewrateId=this.app.utils.generateHash();let t=new Date().getTime();try{if(this.topWindow.localStorage){this.viewrateDataList=(this.topWindow[this.storageKey]||JSON.parse(this.topWindow.localStorage[this.storageKey]||"false")||[]).filter(i=>t-i.st<this.weekLimit);let e={id:this.currentViewrateId,st:t,v:0,r:0};this.viewrateDataList.push(e),this.addHook("afterSendCappingHooks",this.updateViewrates),this.addHook("beforeInjectScriptHooks",this.sendViewrates),this.addHook("afterLoadNewsHooks",this.savedViewrates),this.topWindow.addEventListener("beforeunload",()=>{this.clearEmptyViewrates()})}}catch(e){this.app.log(`${this.name} no localStorage found`,"error",e)}}updateViewrates(){let{views:t,renders:e}=this.app.getViewrateParams();this.viewrateDataList=this.viewrateDataList.map(i=>i.id===this.currentViewrateId?{...i,v:t,r:e}:i),this.savedViewrates()}sendViewrates(){let{v:t,r:e}=this.viewrateDataList.reduce((i,s)=>(i.v=s.v+i.v,i.r=s.r+i.r,i),{v:0,r:0});t>0&&e>0&&(this.app.requestParams.viewrate_1w=`${t},${e}`)}savedViewrates(){this.topWindow[this.storageKey]=this.viewrateDataList,this.app.servicerData.consent?this.topWindow.localStorage[this.storageKey]=JSON.stringify(this.viewrateDataList):this.topWindow.localStorage.removeItem(this.storageKey)}clearEmptyViewrates(){if(this.topWindow.localStorage[this.storageKey]){let t=JSON.parse(this.topWindow.localStorage[this.storageKey]).filter(e=>e.v>0&&e.r>0);this.topWindow.localStorage[this.storageKey]=JSON.stringify(t)}}}});var sa={};J(sa,{SharedIdBlock:()=>xr});var ur,re,xr,aa=q(()=>{C();B();$();ee();ur=function(w,t,e){for(var i=arguments.length>2,s=0;s<t.length;s++)e=i?t[s].call(w,e):t[s].call(w);return i?e:void 0},re=function(w,t,e,i,s,r){function c(W){if(W!==void 0&&typeof W!="function")throw new TypeError("Function expected");return W}for(var d=i.kind,u=d==="getter"?"get":d==="setter"?"set":"value",m=!t&&w?i.static?w:w.prototype:null,k=t||(m?Object.getOwnPropertyDescriptor(m,i.name):{}),I,T=!1,v=e.length-1;v>=0;v--){var D={};for(var b in i)D[b]=b==="access"?{}:i[b];for(var b in i.access)D.access[b]=i.access[b];D.addInitializer=function(W){if(T)throw new TypeError("Cannot add initializers after decoration has completed");r.push(c(W||null))};var y=(0,e[v])(d==="accessor"?{get:k.get,set:k.set}:k[u],D);if(d==="accessor"){if(y===void 0)continue;if(y===null||typeof y!="object")throw new TypeError("Object expected");(I=c(y.get))&&(k.get=I),(I=c(y.set))&&(k.set=I),(I=c(y.init))&&s.unshift(I)}else(I=c(y))&&(d==="field"?s.unshift(I):k[u]=I)}m&&Object.defineProperty(m,i.name,k),T=!0},xr=(()=>{var w;let t=O,e=[],i,s,r,c;return w=class extends t{constructor(u){super(u),this.waitLimit=(ur(this,e),90*1e3),this.sharedId="",this.storageKey="_mgSharedId",this.name="SharedIdBlock",this.init()}init(){try{this.app.context.localStorage&&(this.detectSharedId(),this.addHook("beforeInjectScriptHooks",this.sendSharedId,1e3,!0))}catch(u){this.app.log(`${this.name} no localStorage found`,"error",u)}}detectSharedId(){let u,m=new Date().getTime();this.findSharedId(),u=setInterval(()=>{if(new Date().getTime()-m>=this.waitLimit){clearInterval(u),this.savedSharedId();return}this.findSharedId()},200),this.app.context.addEventListener("beforeunload",()=>{this.savedSharedId()})}findSharedId(){if(!this.sharedId.length)try{let u=bt.getItem("pbjs");if(u&&typeof u?.getUserIds=="function"){let m=u.getUserIds();if(m&&Object.keys(m).length){let k=m.pubcid||m.sharedid?.id||"";k.length&&(this.sharedId=k)}}}catch(u){this.app.log(`${this.name} no pbjs found`,"error",u)}}sendSharedId(){if(this.sharedId.length)this.app.requestParams.sharedId=this.sharedId;else{let u=ft.getItem(this.storageKey);u&&u.length&&(this.app.requestParams.sharedId=u)}}savedSharedId(){this.app.servicerData.consent?this.sharedId.length&&ft.setItem(this.storageKey,this.sharedId):ft.removeItem(this.storageKey)}},(()=>{let d=typeof Symbol=="function"&&Symbol.metadata?Object.create(t[Symbol.metadata]??null):void 0;i=[Wt],s=[Wt],r=[Wt],c=[Wt],re(w,null,i,{kind:"method",name:"detectSharedId",static:!1,private:!1,access:{has:u=>"detectSharedId"in u,get:u=>u.detectSharedId},metadata:d},null,e),re(w,null,s,{kind:"method",name:"findSharedId",static:!1,private:!1,access:{has:u=>"findSharedId"in u,get:u=>u.findSharedId},metadata:d},null,e),re(w,null,r,{kind:"method",name:"sendSharedId",static:!1,private:!1,access:{has:u=>"sendSharedId"in u,get:u=>u.sendSharedId},metadata:d},null,e),re(w,null,c,{kind:"method",name:"savedSharedId",static:!1,private:!1,access:{has:u=>"savedSharedId"in u,get:u=>u.savedSharedId},metadata:d},null,e),d&&Object.defineProperty(w,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:d})})(),w})()});var ra={};J(ra,{RenderClassicBlock:()=>si});var si,na=q(()=>{C();B();$();vt();si=class extends O{constructor(t){super(t),this.name="RenderClassicBlock",this.expressionMap={"||":e=>{for(let i in e)if(this.expressionParser(e[i]))return!0;return!1},"&&":e=>{for(let i in e)if(!this.expressionParser(e[i]))return!1;return!0},"==":e=>this.expressionParser(e[0])==this.expressionParser(e[1]),"!=":e=>this.expressionParser(e[0])!=this.expressionParser(e[1]),"+":e=>this.expressionParser(e[0])+this.expressionParser(e[1]),"-":e=>this.expressionParser(e[0])-this.expressionParser(e[1]),"*":e=>this.expressionParser(e[0])*this.expressionParser(e[1]),"/":e=>this.expressionParser(e[0])/this.expressionParser(e[1]),"%":e=>this.expressionParser(e[0])%this.expressionParser(e[1])}}setRawTemplate(t){this.templateText=t}getHtml(t){if(t.length===0){this.app.isAmp()&&this.app.context.context.noContentAvailable();return}let e=/(.*)?\{foreach\}(.*)?\{\/foreach\}(.*)?/.exec(this.templateText);if(!e)return;let i=typeof e[1]<"u"?e[1]:"";for(let s=0;s<t.length;s++){let r=this.renderItem(t[s],e[2]);i+=typeof r<"u"?r:""}return i+=typeof e[3]<"u"?e[3]:"",i}expressionParser(t){for(let e in this.expressionMap)if(t.indexOf(e)!==-1)return this.expressionMap[e](t.split(e));return(t||"").replace(/^([\'|\s]+)|([\'|\s]+)$/g,"")}renderItem(t,e){let i=[];i.push("teaser-"+t.id);let s="";if(t.type==Z.Banner){let u=t,m="100%";u.width!=0?m=u.width+"px":typeof this.app.preRenderTeaserSizes[u.iteration-1]<"u"&&(m=this.app.preRenderTeaserSizes[u.iteration-1].width+"px");let k="100%";u.height!=0?k=u.height+"px":typeof this.app.preRenderTeaserSizes[u.iteration-1]<"u"&&(k=this.app.preRenderTeaserSizes[u.iteration-1].height+"px");let I="width: "+m+"; height: "+k+"; border: 0px; margin: auto; overflow: hidden; position: relative;z-index: 1;";s='<iframe id="'+u.id+'" data-hash="'+(u.hash||u.id)+'" scrolling="no" style="'+I+'"></iframe>',i.push("mgline-banner"),this.app.stylesheetsBlock.add("mgline-banner",`.mgline-banner {  display: inline-flex;
  overflow: hidden;
  height: auto;
  background: initial;
  }`)}t.type==Z.Teaser&&t.link.match(/[\?|&]u=/)!=null&&i.push("dsp"),t.coopType!=null&&(i.push("type-"+t.coopType),t.coopType==K.Video&&i.push("vrline"),t.type===Z.Teaser&&t.extd==1&&t.coopType===K.Wages&&i.push("extd")),t.type===Z.Gpt&&(i.push("mgline-gpt"),this.app.stylesheetsBlock.add(`style-${t.id}`,`.mgbox .teaser-${t.id} {
        width: ${t.width?t.width+"px":"100%"};
        height: ${t.height?t.height+"px":"auto"};
        overflow: hidden;
      }`));let r=u=>u&&u.indexOf("//")===0?this.app.webProtocol+u:u,c=t.coopType!=K.Video?this.app.hrefAttr+'="'+this.app.prepareNiceHref(t.hash)+'" data-hash="'+t.hash+'"':"";t.hash==""&&(c=`onclick="return false" ${this.app.hrefAttr}="#"`);let d=[[/\{\*.*?\*\}/,""],[/\{\$href\}/g,c],[/\{\$pmc_item\}/,this.app.id],[/\{\$hash\}/g,t.hash],[/\{\$target\}/g,t.coopType==K.InternalExchange||typeof this.app.servicerData.ats<"u"&&this.app.servicerData.ats?'target="_top"':'target="_blank"'],[/(class\=\".*?)(mgline)([^\"]*\")/,"$1$2 "+i.join(" ")+'$3 data-i="'+(t.hash||t.id)+'"'],[/(class\=\'.*?)(mgline)([^\']*\')/,"$1$2 "+i.join(" ")+'$3 data-i="'+(t.hash||t.id)+'"'],[/\{\$source\}/g,t.type==Z.Teaser?t.source:""],[/\{\$src\}/g,this.app.widgetParams.WIDGET.imageSizeAttributes+' data-i="'+(Z.Teaser?t.id:"")+'" data-src="'+r(Z.Teaser?t.img:"")+'" nopin="nopin"'+((Z.Teaser?t.extd:0)==1?"":" crossOrigin")],[/\{\$title\}/g,this.app.htmlEntities(Z.Teaser?t.title:"")],[/\{\$desc\}/g,this.app.htmlEntities(Z.Teaser?t.desc:"")],[/\{\$iteration\}/g,t.iteration],[/\$iteration/g,t.iteration],[/this\.iteration/g,t.iteration],[/\{\$price\}/g,Z.Teaser?t.price:""],[/\{\$priceold\}/g,Z.Teaser?t.priceold:""],[/\{\$discount\}/g,Z.Teaser?t.discount:""],[/\{if \$price\}/g,"{if '' != "+(Z.Teaser&&t.price?t.price:"''")+"}"],[/\{if !\$price\}/g,"{if '' == "+(Z.Teaser&&t.price?t.price:"''")+"}"],[/\{if \$priceold\}/g,"{if '' != "+(Z.Teaser&&t.priceold?t.priceold:"''")+"}"],[/\{if \$price != " "\}/g,"{if "+(Z.Teaser&&t.price?t.price:"''").trim().length+" != 0}"],[/\{if \$price == " "\}/g,"{if "+(Z.Teaser&&t.price?t.price:"''").trim().length+" == 0}"],[/\$priceold/g,Z.Teaser?t.priceold:""],[/\$price/g,Z.Teaser?t.price:""],[/\{\$banner\}/g,s],[/\{if \$teaser\}/g,"{if '' == '"+s+"'}"],[/\{if \$banner\}/g,"{if '' != '"+s+"'}"],[/\{\$category\}/g,Z.Teaser?t.category:""],[/\{\$cta\}/g,Z.Teaser?t.cta:""],[/\{if \$cta\}/g,"{if '"+(Z.Teaser&&t.cta?t.cta:"''")+"' != ''}"],[/\{if !\$cta\}/g,"{if '"+(Z.Teaser&&t.cta?t.cta:"''")+"' != ''}"],[/\{\$disclaimer\}/g,Z.Teaser?t.cdt:""],[/\{if \$disclaimer\}/g,"{if '"+(Z.Teaser&&t.cdt?t.cdt:"''")+"' != ''}"],[/\{if !\$disclaimer\}/g,"{if '"+(Z.Teaser&&t.cdt?t.cdt:"''")+"' != ''}"],[/\{\$sourceName\}/g,this.app.sourceName]];for(let u=0;u<d.length;u++)e=e.replace(d[u][0],d[u][1]);for(e=e.replace(/\r?\n/g,"");;){let u=e,m=/\{if ([^\}]*?)\}(((?!\{(?:\/)?if).)*)\{\/if\}/g;if(e=e.replace(m,(k,I,T)=>this.expressionParser(I)?T:""),u==e)break}if(t.type==Z.Teaser&&(t.mediaType=="video"||t.img.match(/\.mp4/))){let m=/<img class="mcimg" width="(\d+)" height="(\d+)"/.exec(e),k=m?m[1]+"px;":"100%;",I=m?m[2]+"px;":"100%;";e=e.replace(/<img( class="mcimg[^>]+)/,'<video autoplay loop muted webkit-playsinline playsinline class="mcvideo" $1'),this.app.stylesheetsBlock.add("video",`video.mcvideo { border-style: solid;
  border-color: #ffffff;
  border-width: 0;
  width: 100%;
  height: auto;
  max-width: `+k+`
  max-height: `+I+`
  box-sizing: border-box;
  display: block; }`)}if(t.type==Z.Teaser&&t.extd===1&&this.app.preRenderImageSizes[t.iteration-1]){let u=this.app.preRenderImageSizes[t.iteration-1].width,m=this.app.preRenderImageSizes[t.iteration-1].height;if(m==0||u==0)this.app.debugBlock.sendData("Wrong external image size! Using fallback"),e=e.replace(/<img( class="mcimg")/,'<img class="mcimg mg-wrong-image"');else{let k={width:u+"px !important",height:m+"px !important","object-fit":"cover","-o-object-fit":"cover","object-position":"top","-o-object-position":"top"},I="";Object.keys(k).forEach(T=>{I+=T+":"+k[T]+";"}),e=e.replace(/<img( class="mcimg")/,'<img class="mcimg" style="'+I+'"')}}return e}}});var oa={};J(oa,{ResponsiveBlock:()=>ai});var ai,pa=q(()=>{C();B();$();ai=class extends O{constructor(t){super(t),this.name="ResponsiveBlock",this.addHook("afterLoadNewsHooks",this.responsiveInit)}responsiveInit(){this.fixPrices(),setTimeout(()=>{this.fixFlexbox()},100)}fixElementPrice(t){let e=t.getElementsByClassName("mcpriceouter");for(let i=0;i<e.length;i++){let s=e[i].parentNode,r=s.getElementsByClassName("mcpriceold");if(e[i].getBoundingClientRect().bottom>=s.getBoundingClientRect().bottom)for(let c=0;c<r.length;c++)r[c].style.display="none";else for(let c=0;c<r.length;c++)r[c].style.display="inline-block",e[i].getBoundingClientRect().bottom>=s.getBoundingClientRect().bottom&&(r[c].style.display="none")}}fixPrices(){let t=this.app.root.getElementsByClassName("mgline");for(let e=0;e<t.length;e++)(i=>{i.getElementsByClassName("mcpriceouter").length&&this.fixElementPrice(i)})(t[e])}fixFlexbox(){let e=(this.app.context.document.body||this.app.context.document.documentElement).style;if(e.webkitFlexWrap==""||e.msFlexWrap==""||e.flexWrap=="")return!0;let i=this.app.root.getElementsByClassName("mgline");for(let s=0;s<i.length;s++)i[s].style.height="auto";setTimeout(()=>{let s=0,r=0;for(let c=0;c<i.length;c++){let d=i[c].getBoundingClientRect();r=d.bottom-d.top,r>s&&(s=r)}if(r!=0)for(let c=0;c<i.length;c++)i[c].style.height=s+"px";this.fixImages()},0)}fixImages(){setTimeout(()=>{let t=!1,e=this.app.root.getElementsByClassName("mcimg");for(let i=0;i<e.length;i++)if(e[i].tagName=="DIV"){let s=e[i].getBoundingClientRect();s.bottom-s.top<=25&&(t=!0,e[i].style.display="none",function(r){setTimeout(function(){r.style.display="block"},0)}(e[i]))}t&&this.fixFlexbox()},200)}}});var ca={};J(ca,{ScaleInfoBlock:()=>ri});var ri,ha=q(()=>{C();B();$();ri=class extends O{constructor(t){super(t),this.name="ScaleInfoBlock",this.addHook("afterInitHooks",this.calculateScaleInfo,50)}calculateScaleInfo(t){let e=this.app.context.document.createElement("iframe");e.id="scaleInfo",e.style.display="block",e.style.visibility="hidden",e.style.width="500px",e.style.height="100px",e.style.position="fixed",e.style.bottom="0",e.style.left="-200%",e.style.zIndex="-1",this.app.context.document.body.appendChild(e);let i=s=>{s.data?.id==="scaleInfo"&&(this.app.requestParams.scale_metric_1=s.data.scale_metric_1.toFixed(2),this.app.requestParams.scale_metric_2=s.data.scale_metric_2.toFixed(2),this.app.requestParams.scale_metric_3=s.data.scale_metric_3.toFixed(2),this.app.context.document.body.removeChild(e),this.app.context.removeEventListener("message",i,!1),t())};this.app.context.addEventListener("message",i,!1),e.contentWindow.document.open(),e.contentWindow.document.write(this.app.widgetParams.ASSETS.scaleInfoHtml),e.contentWindow.document.close()}}});var la={};J(la,{BrowserTopicsBlock:()=>ni});var ni,da=q(()=>{C();B();$();ni=class extends O{constructor(t){super(t),this.name="BrowserTopicsBlock",this.addHook("beforeInitHooks",this.init,50)}init(){try{this.isFeatureAvailable()&&this.getTopics()}catch(t){this.app.log(`${this.name} received topics Failed`,"error",t)}}isFeatureAvailable(){return"browsingTopics"in this.app.context.document&&this.app.context.document?.featurePolicy?.allowsFeature("browsing-topics")}getTopics(){this.app.context.document.browsingTopics().then(t=>{t.length&&(this.app.requestParams.topics=t.map(({topic:e})=>e).join(","))})}}});var Lt,ma=q(()=>{C();B();Lt=function(w,t){var e={},i=e.lib={},s=function(){},r=i.Base={extend:function(v){s.prototype=this;var D=new s;return v&&D.mixIn(v),D.hasOwnProperty("init")||(D.init=function(){D.$super.init.apply(this,arguments)}),D.init.prototype=D,D.$super=this,D},create:function(){var v=this.extend();return v.init.apply(v,arguments),v},init:function(){},mixIn:function(v){for(var D in v)v.hasOwnProperty(D)&&(this[D]=v[D]);v.hasOwnProperty("toString")&&(this.toString=v.toString)},clone:function(){return this.init.prototype.extend(this)}},c=i.WordArray=r.extend({init:function(v,D){v=this.words=v||[],this.sigBytes=D!=t?D:4*v.length},toString:function(v){return(v||u).stringify(this)},concat:function(v){var D=this.words,b=v.words,y=this.sigBytes;if(v=v.sigBytes,this.clamp(),y%4)for(var W=0;W<v;W++)D[y+W>>>2]|=(b[W>>>2]>>>24-8*(W%4)&255)<<24-8*((y+W)%4);else if(65535<b.length)for(W=0;W<v;W+=4)D[y+W>>>2]=b[W>>>2];else D.push.apply(D,b);return this.sigBytes+=v,this},clamp:function(){var v=this.words,D=this.sigBytes;v[D>>>2]&=4294967295<<32-8*(D%4),v.length=w.ceil(D/4)},clone:function(){var v=r.clone.call(this);return v.words=this.words.slice(0),v},random:function(v){for(var D=[],b=0;b<v;b+=4)D.push(4294967296*w.random()|0);return new c.init(D,v)}}),d=e.enc={},u=d.Hex={stringify:function(v){var D=v.words;v=v.sigBytes;for(var b=[],y=0;y<v;y++){var W=D[y>>>2]>>>24-8*(y%4)&255;b.push((W>>>4).toString(16)),b.push((W&15).toString(16))}return b.join("")},parse:function(v){for(var D=v.length,b=[],y=0;y<D;y+=2)b[y>>>3]|=parseInt(v.substr(y,2),16)<<24-4*(y%8);return new c.init(b,D/2)}},m=d.Latin1={stringify:function(v){var D=v.words;v=v.sigBytes;for(var b=[],y=0;y<v;y++)b.push(String.fromCharCode(D[y>>>2]>>>24-8*(y%4)&255));return b.join("")},parse:function(v){for(var D=v.length,b=[],y=0;y<D;y++)b[y>>>2]|=(v.charCodeAt(y)&255)<<24-8*(y%4);return new c.init(b,D)}},k=d.Utf8={stringify:function(v){try{return decodeURIComponent(escape(m.stringify(v)))}catch{throw Error("Malformed UTF-8 data")}},parse:function(v){return m.parse(unescape(encodeURIComponent(v)))}},I=i.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(v){typeof v=="string"&&(v=k.parse(v)),this._data.concat(v),this._nDataBytes+=v.sigBytes},_process:function(v){var D=this._data,b=D.words,y=D.sigBytes,W=this.blockSize,R=y/(4*W),R=v?w.ceil(R):w.max((R|0)-this._minBufferSize,0);if(v=R*W,y=w.min(4*v,y),v){for(var Q=0;Q<v;Q+=W)this._doProcessBlock(b,Q);Q=b.splice(0,v),D.sigBytes-=y}return new c.init(Q,y)},clone:function(){var v=r.clone.call(this);return v._data=this._data.clone(),v},_minBufferSize:0});i.Hasher=I.extend({cfg:r.extend(),init:function(v){this.cfg=this.cfg.extend(v),this.reset()},reset:function(){I.reset.call(this),this._doReset()},update:function(v){return this._append(v),this._process(),this},finalize:function(v){return v&&this._append(v),this._doFinalize()},blockSize:16,_createHelper:function(v){return function(D,b){return new v.init(b).finalize(D)}},_createHmacHelper:function(v){return function(D,b){return new T.HMAC.init(v,b).finalize(D)}}});var T=e.algo={};return e}(Math);(function(){var w=Lt,t=w.lib.WordArray;w.enc.Base64={stringify:function(e){var i=e.words,s=e.sigBytes,r=this._map;e.clamp(),e=[];for(var c=0;c<s;c+=3)for(var d=(i[c>>>2]>>>24-8*(c%4)&255)<<16|(i[c+1>>>2]>>>24-8*((c+1)%4)&255)<<8|i[c+2>>>2]>>>24-8*((c+2)%4)&255,u=0;4>u&&c+.75*u<s;u++)e.push(r.charAt(d>>>6*(3-u)&63));if(i=r.charAt(64))for(;e.length%4;)e.push(i);return e.join("")},parse:function(e){var i=e.length,s=this._map,r=s.charAt(64);r&&(r=e.indexOf(r),r!=-1&&(i=r));for(var r=[],c=0,d=0;d<i;d++)if(d%4){var u=s.indexOf(e.charAt(d-1))<<2*(d%4),m=s.indexOf(e.charAt(d))>>>6-2*(d%4);r[c>>>2]|=(u|m)<<24-8*(c%4),c++}return t.create(r,c)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}})();(function(w){function t(I,T,v,D,b,y,W){return I=I+(T&v|~T&D)+b+W,(I<<y|I>>>32-y)+T}function e(I,T,v,D,b,y,W){return I=I+(T&D|v&~D)+b+W,(I<<y|I>>>32-y)+T}function i(I,T,v,D,b,y,W){return I=I+(T^v^D)+b+W,(I<<y|I>>>32-y)+T}function s(I,T,v,D,b,y,W){return I=I+(v^(T|~D))+b+W,(I<<y|I>>>32-y)+T}for(var r=Lt,u=r.lib,c=u.WordArray,d=u.Hasher,u=r.algo,m=[],k=0;64>k;k++)m[k]=4294967296*w.abs(w.sin(k+1))|0;u=u.MD5=d.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(I,T){for(var v=0;16>v;v++){var D=T+v,b=I[D];I[D]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360}var v=this._hash.words,D=I[T+0],b=I[T+1],y=I[T+2],W=I[T+3],R=I[T+4],Q=I[T+5],et=I[T+6],lt=I[T+7],ht=I[T+8],st=I[T+9],X=I[T+10],at=I[T+11],ut=I[T+12],ot=I[T+13],Y=I[T+14],gt=I[T+15],A=v[0],_=v[1],G=v[2],H=v[3],A=t(A,_,G,H,D,7,m[0]),H=t(H,A,_,G,b,12,m[1]),G=t(G,H,A,_,y,17,m[2]),_=t(_,G,H,A,W,22,m[3]),A=t(A,_,G,H,R,7,m[4]),H=t(H,A,_,G,Q,12,m[5]),G=t(G,H,A,_,et,17,m[6]),_=t(_,G,H,A,lt,22,m[7]),A=t(A,_,G,H,ht,7,m[8]),H=t(H,A,_,G,st,12,m[9]),G=t(G,H,A,_,X,17,m[10]),_=t(_,G,H,A,at,22,m[11]),A=t(A,_,G,H,ut,7,m[12]),H=t(H,A,_,G,ot,12,m[13]),G=t(G,H,A,_,Y,17,m[14]),_=t(_,G,H,A,gt,22,m[15]),A=e(A,_,G,H,b,5,m[16]),H=e(H,A,_,G,et,9,m[17]),G=e(G,H,A,_,at,14,m[18]),_=e(_,G,H,A,D,20,m[19]),A=e(A,_,G,H,Q,5,m[20]),H=e(H,A,_,G,X,9,m[21]),G=e(G,H,A,_,gt,14,m[22]),_=e(_,G,H,A,R,20,m[23]),A=e(A,_,G,H,st,5,m[24]),H=e(H,A,_,G,Y,9,m[25]),G=e(G,H,A,_,W,14,m[26]),_=e(_,G,H,A,ht,20,m[27]),A=e(A,_,G,H,ot,5,m[28]),H=e(H,A,_,G,y,9,m[29]),G=e(G,H,A,_,lt,14,m[30]),_=e(_,G,H,A,ut,20,m[31]),A=i(A,_,G,H,Q,4,m[32]),H=i(H,A,_,G,ht,11,m[33]),G=i(G,H,A,_,at,16,m[34]),_=i(_,G,H,A,Y,23,m[35]),A=i(A,_,G,H,b,4,m[36]),H=i(H,A,_,G,R,11,m[37]),G=i(G,H,A,_,lt,16,m[38]),_=i(_,G,H,A,X,23,m[39]),A=i(A,_,G,H,ot,4,m[40]),H=i(H,A,_,G,D,11,m[41]),G=i(G,H,A,_,W,16,m[42]),_=i(_,G,H,A,et,23,m[43]),A=i(A,_,G,H,st,4,m[44]),H=i(H,A,_,G,ut,11,m[45]),G=i(G,H,A,_,gt,16,m[46]),_=i(_,G,H,A,y,23,m[47]),A=s(A,_,G,H,D,6,m[48]),H=s(H,A,_,G,lt,10,m[49]),G=s(G,H,A,_,Y,15,m[50]),_=s(_,G,H,A,Q,21,m[51]),A=s(A,_,G,H,ut,6,m[52]),H=s(H,A,_,G,W,10,m[53]),G=s(G,H,A,_,X,15,m[54]),_=s(_,G,H,A,b,21,m[55]),A=s(A,_,G,H,ht,6,m[56]),H=s(H,A,_,G,gt,10,m[57]),G=s(G,H,A,_,et,15,m[58]),_=s(_,G,H,A,ot,21,m[59]),A=s(A,_,G,H,R,6,m[60]),H=s(H,A,_,G,at,10,m[61]),G=s(G,H,A,_,y,15,m[62]),_=s(_,G,H,A,st,21,m[63]);v[0]=v[0]+A|0,v[1]=v[1]+_|0,v[2]=v[2]+G|0,v[3]=v[3]+H|0},_doFinalize:function(){var I=this._data,T=I.words,v=8*this._nDataBytes,D=8*I.sigBytes;T[D>>>5]|=128<<24-D%32;var b=w.floor(v/4294967296);for(T[(D+64>>>9<<4)+15]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,T[(D+64>>>9<<4)+14]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,I.sigBytes=4*(T.length+1),this._process(),I=this._hash,T=I.words,v=0;4>v;v++)D=T[v],T[v]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360;return I},clone:function(){var I=d.clone.call(this);return I._hash=this._hash.clone(),I}}),r.MD5=d._createHelper(u),r.HmacMD5=d._createHmacHelper(u)})(Math);(function(){var w=Lt,i=w.lib,t=i.Base,e=i.WordArray,i=w.algo,s=i.EvpKDF=t.extend({cfg:t.extend({keySize:4,hasher:i.MD5,iterations:1}),init:function(r){this.cfg=this.cfg.extend(r)},compute:function(r,c){for(var I=this.cfg,d=I.hasher.create(),u=e.create(),m=u.words,k=I.keySize,I=I.iterations;m.length<k;){T&&d.update(T);var T=d.update(r).finalize(c);d.reset();for(var v=1;v<I;v++)T=d.finalize(T),d.reset();u.concat(T)}return u.sigBytes=4*k,u}});w.EvpKDF=function(r,c,d){return s.create(d).compute(r,c)}})();Lt.lib.Cipher||function(w){var v=Lt,t=v.lib,e=t.Base,i=t.WordArray,s=t.BufferedBlockAlgorithm,r=v.enc.Base64,c=v.algo.EvpKDF,d=t.Cipher=s.extend({cfg:e.extend(),createEncryptor:function(b,y){return this.create(this._ENC_XFORM_MODE,b,y)},createDecryptor:function(b,y){return this.create(this._DEC_XFORM_MODE,b,y)},init:function(b,y,W){this.cfg=this.cfg.extend(W),this._xformMode=b,this._key=y,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(b){return this._append(b),this._process()},finalize:function(b){return b&&this._append(b),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(b){return{encrypt:function(y,W,R){return(typeof W=="string"?D:T).encrypt(b,y,W,R)},decrypt:function(y,W,R){return(typeof W=="string"?D:T).decrypt(b,y,W,R)}}}});t.StreamCipher=d.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var I=v.mode={},u=function(b,y,W){var R=this._iv;R?this._iv=w:R=this._prevBlock;for(var Q=0;Q<W;Q++)b[y+Q]^=R[Q]},m=(t.BlockCipherMode=e.extend({createEncryptor:function(b,y){return this.Encryptor.create(b,y)},createDecryptor:function(b,y){return this.Decryptor.create(b,y)},init:function(b,y){this._cipher=b,this._iv=y}})).extend();m.Encryptor=m.extend({processBlock:function(b,y){var W=this._cipher,R=W.blockSize;u.call(this,b,y,R),W.encryptBlock(b,y),this._prevBlock=b.slice(y,y+R)}}),m.Decryptor=m.extend({processBlock:function(b,y){var W=this._cipher,R=W.blockSize,Q=b.slice(y,y+R);W.decryptBlock(b,y),u.call(this,b,y,R),this._prevBlock=Q}}),I=I.CBC=m,m=(v.pad={}).Pkcs7={pad:function(b,y){for(var W=4*y,W=W-b.sigBytes%W,R=W<<24|W<<16|W<<8|W,Q=[],et=0;et<W;et+=4)Q.push(R);W=i.create(Q,W),b.concat(W)},unpad:function(b){b.sigBytes-=b.words[b.sigBytes-1>>>2]&255}},t.BlockCipher=d.extend({cfg:d.cfg.extend({mode:I,padding:m}),reset:function(){d.reset.call(this);var y=this.cfg,b=y.iv,y=y.mode;if(this._xformMode==this._ENC_XFORM_MODE)var W=y.createEncryptor;else W=y.createDecryptor,this._minBufferSize=1;this._mode=W.call(y,this,b&&b.words)},_doProcessBlock:function(b,y){this._mode.processBlock(b,y)},_doFinalize:function(){var b=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){b.pad(this._data,this.blockSize);var y=this._process(!0)}else y=this._process(!0),b.unpad(y);return y},blockSize:4});var k=t.CipherParams=e.extend({init:function(b){this.mixIn(b)},toString:function(b){return(b||this.formatter).stringify(this)}}),I=(v.format={}).OpenSSL={stringify:function(b){var y=b.ciphertext;return b=b.salt,(b?i.create([1398893684,1701076831]).concat(b).concat(y):y).toString(r)},parse:function(b){b=r.parse(b);var y=b.words;if(y[0]==1398893684&&y[1]==1701076831){var W=i.create(y.slice(2,4));y.splice(0,4),b.sigBytes-=16}return k.create({ciphertext:b,salt:W})}},T=t.SerializableCipher=e.extend({cfg:e.extend({format:I}),encrypt:function(b,y,W,R){R=this.cfg.extend(R);var Q=b.createEncryptor(W,R);return y=Q.finalize(y),Q=Q.cfg,k.create({ciphertext:y,key:W,iv:Q.iv,algorithm:b,mode:Q.mode,padding:Q.padding,blockSize:b.blockSize,formatter:R.format})},decrypt:function(b,y,W,R){return R=this.cfg.extend(R),y=this._parse(y,R.format),b.createDecryptor(W,R).finalize(y.ciphertext)},_parse:function(b,y){return typeof b=="string"?y.parse(b,this):b}}),v=(v.kdf={}).OpenSSL={execute:function(b,y,W,R){return R||(R=i.random(8)),b=c.create({keySize:y+W}).compute(b,R),W=i.create(b.words.slice(y),4*W),b.sigBytes=4*y,k.create({key:b,iv:W,salt:R})}},D=t.PasswordBasedCipher=T.extend({cfg:T.cfg.extend({kdf:v}),encrypt:function(b,y,W,R){return R=this.cfg.extend(R),W=R.kdf.execute(W,b.keySize,b.ivSize),R.iv=W.iv,b=T.encrypt.call(this,b,y,W.key,R),b.mixIn(W),b},decrypt:function(b,y,W,R){return R=this.cfg.extend(R),y=this._parse(y,R.format),W=R.kdf.execute(W,b.keySize,b.ivSize,y.salt),R.iv=W.iv,T.decrypt.call(this,b,y,W.key,R)}})}();(function(){for(var w=Lt,t=w.lib.BlockCipher,ht=w.algo,e=[],i=[],s=[],r=[],c=[],d=[],u=[],m=[],k=[],I=[],T=[],v=0;256>v;v++)T[v]=128>v?v<<1:v<<1^283;for(var D=0,b=0,v=0;256>v;v++){var y=b^b<<1^b<<2^b<<3^b<<4,y=y>>>8^y&255^99;e[D]=y,i[y]=D;var W=T[D],R=T[W],Q=T[R],et=257*T[y]^16843008*y;s[D]=et<<24|et>>>8,r[D]=et<<16|et>>>16,c[D]=et<<8|et>>>24,d[D]=et,et=16843009*Q^65537*R^257*W^16843008*D,u[y]=et<<24|et>>>8,m[y]=et<<16|et>>>16,k[y]=et<<8|et>>>24,I[y]=et,D?(D=W^T[T[T[Q^W]]],b^=T[T[b]]):D=b=1}var lt=[0,1,2,4,8,16,32,64,128,27,54],ht=ht.AES=t.extend({_doReset:function(){for(var at=this._key,st=at.words,X=at.sigBytes/4,at=4*((this._nRounds=X+6)+1),ut=this._keySchedule=[],ot=0;ot<at;ot++)if(ot<X)ut[ot]=st[ot];else{var Y=ut[ot-1];ot%X?6<X&&ot%X==4&&(Y=e[Y>>>24]<<24|e[Y>>>16&255]<<16|e[Y>>>8&255]<<8|e[Y&255]):(Y=Y<<8|Y>>>24,Y=e[Y>>>24]<<24|e[Y>>>16&255]<<16|e[Y>>>8&255]<<8|e[Y&255],Y^=lt[ot/X|0]<<24),ut[ot]=ut[ot-X]^Y}for(st=this._invKeySchedule=[],X=0;X<at;X++)ot=at-X,Y=X%4?ut[ot]:ut[ot-4],st[X]=4>X||4>=ot?Y:u[e[Y>>>24]]^m[e[Y>>>16&255]]^k[e[Y>>>8&255]]^I[e[Y&255]]},encryptBlock:function(st,X){this._doCryptBlock(st,X,this._keySchedule,s,r,c,d,e)},decryptBlock:function(st,X){var at=st[X+1];st[X+1]=st[X+3],st[X+3]=at,this._doCryptBlock(st,X,this._invKeySchedule,u,m,k,I,i),at=st[X+1],st[X+1]=st[X+3],st[X+3]=at},_doCryptBlock:function(st,X,at,ut,ot,Y,gt,A){for(var H=this._nRounds,mt=st[X]^at[0],Dt=st[X+1]^at[1],Et=st[X+2]^at[2],dt=st[X+3]^at[3],G=4,_=1;_<H;_++)var Rt=ut[mt>>>24]^ot[Dt>>>16&255]^Y[Et>>>8&255]^gt[dt&255]^at[G++],At=ut[Dt>>>24]^ot[Et>>>16&255]^Y[dt>>>8&255]^gt[mt&255]^at[G++],kt=ut[Et>>>24]^ot[dt>>>16&255]^Y[mt>>>8&255]^gt[Dt&255]^at[G++],dt=ut[dt>>>24]^ot[mt>>>16&255]^Y[Dt>>>8&255]^gt[Et&255]^at[G++],mt=Rt,Dt=At,Et=kt;Rt=(A[mt>>>24]<<24|A[Dt>>>16&255]<<16|A[Et>>>8&255]<<8|A[dt&255])^at[G++],At=(A[Dt>>>24]<<24|A[Et>>>16&255]<<16|A[dt>>>8&255]<<8|A[mt&255])^at[G++],kt=(A[Et>>>24]<<24|A[dt>>>16&255]<<16|A[mt>>>8&255]<<8|A[Dt&255])^at[G++],dt=(A[dt>>>24]<<24|A[mt>>>16&255]<<16|A[Dt>>>8&255]<<8|A[Et&255])^at[G++],st[X]=Rt,st[X+1]=At,st[X+2]=kt,st[X+3]=dt},keySize:8});w.AES=t._createHelper(ht)})()});var ua={};J(ua,{AntifraudStatisticsBlock:()=>li});var oi,Ot,Bt,pi,ci,hi,li,xa=q(()=>{C();B();ma();$();oi=class{constructor(){this.mousePositions=[],this.lineSegments=[],this.lineIndex=0,this.scrollActive=!1}isLinear(){return this.calculateTotalLength()<10?!1:this.lineSegments.every(t=>{let e=this.mousePositions.slice(t.start,t.end+1);return this.checkLinear(e)})}reset(){this.mousePositions=[],this.lineSegments=[],this.lineIndex=0,this.scrollActive=!1}onMouseMoveHandler(t){this.scrollActive||(this.mousePositions.push({x:t.clientX,y:t.clientY}),this.mousePositions.length>2&&this.checkForNewLineSegment())}onScrollHandler(){this.scrollActive=!0}onScrollEndHandler(){this.scrollActive=!1}checkForNewLineSegment(){let t=this.mousePositions[this.mousePositions.length-2],e=this.mousePositions[this.mousePositions.length-1],i=(e.y-t.y)/(e.x-t.x);if(this.lineSegments[this.lineIndex]){let s=this.mousePositions[this.lineSegments[this.lineIndex].start],r=(t.y-s.y)/(t.x-s.x);Math.abs(i-r)>5?(this.lineSegments[this.lineIndex].end=this.mousePositions.length-2,this.lineSegments.push({start:this.mousePositions.length-1}),this.lineIndex++):this.lineSegments[this.lineIndex].end=this.mousePositions.length-1}else this.lineSegments.push({start:0,end:this.mousePositions.length-1})}checkLinear(t){if(t.length<2)return!0;let e=3,[i,s]=[t[0].x,t[0].y],[r,c]=[t[t.length-1].x,t[t.length-1].y];for(let d=1;d<t.length-1;d++){let[u,m]=[t[d].x,t[d].y];if(Math.abs((c-s)*u-(r-i)*m+r*s-c*i)/Math.sqrt(Math.pow(c-s,2)+Math.pow(r-i,2))>e)return!1}return!0}calculateTotalLength(){let t=0;for(let e=1;e<this.mousePositions.length;e++){let i=this.mousePositions[e-1],s=this.mousePositions[e],r=Math.sqrt(Math.pow(s.x-i.x,2)+Math.pow(s.y-i.y,2));t+=r}return t}},Ot=class{static getClosestDistanceInSquare(t,e){let i=t.x-e.left,s=t.y-e.top,r=e.width-i,c=e.height-s;return Math.min(i,s,r,c)}static getInnerElementPercent(t,e){let i=t.getBoundingClientRect(),s=Math.abs(i.width*i.height),r=i.width,c=i.height;i.top<0&&(c+=i.top),i.left<0&&(r+=i.left);let d=i.top+i.height;e.height<d&&(c-=d-e.height);let u=i.left+i.width;return e.width<u&&(r-=u-e.width),c=c>0?c:0,r=r>0?r:0,r*c*100/s}static findImageElementOfTeaser(t){return t.querySelector("img.mcimg")}static getViewportSize(){return{width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}}static isElementMatches(t,e){return t.matches?t.matches(e):t.msMatchesSelector?t.msMatchesSelector(e):!1}};(function(w){w.Undefined="undefined",w.Click="click",w.Close="close",w.Like="like",w.DsaIconClick="dsaIconClick",w.IntExchange="int_exchange"})(Bt||(Bt={}));pi=class{constructor(){this.action=Bt.Undefined,this.isTabActive=!0,this.clickTime=0,this.lastScrollTime=0,this.lastPageResizeTime=0,this.widgetCoordinateX=0,this.widgetCoordinateY=0,this.tapRadiusX=0,this.tapRadiusY=0,this.isHidden=!1,this.clickToBorderDistance=0,this.teaserCoordinateX=0,this.teaserCoordinateY=0,this.teaserWidth=0,this.teaserHeight=0,this.imageWidth=0,this.imageHeight=0,this.teaserViewportPercent=0,this.widgetOnLoadDisposition=!1,this.clickCoordinateX=0,this.clickCoordinateY=0,this.compileTime=1728713610,this.forbiddenPatternMatches=0,this.widgetType="",this.isLinear=!1,this.isPixalateTriggered=!1,this.isWidgetOverlapped=!1,this.isRefreshedTeaserClicked=!1,this.muidn="",this.referrer="",this.primaryReferrer="",this.snapShot="",this.deepSession=-1,this.gpuAdapterInfoArchitecture="",this.gpuAdapterInfoVendor=""}},ci=class{constructor(t,e,i=[]){this.app=t,this.parameters=e,this.forbiddenPatterns=i,this.linearMovementDetector=new oi}onWidgetLoadEvent(){let t=this.app.root.getBoundingClientRect();this.initialWidgetCoordinates={x:t.left+window.scrollX,y:t.top+window.scrollY},this.setForbiddenPatternMatches()}onContextFocusEvent(){this.parameters.isTabActive=!0,this.setForbiddenPatternMatches()}onContextBlurEvent(){this.parameters.isTabActive=!1,this.setForbiddenPatternMatches()}async onWidgetClickEvent(t,e,i){this.setGPUAdapterData(),this.setWidgetCoordinates(),this.setForbiddenPatternMatches(),this.setClickCoordinates(i),this.setWidgetType(),this.setPrimaryReferrer(),this.setDeepSession(),this.setSnapShot(),this.parameters.action=t,this.parameters.clickTime=this.app.getCurrentTimestamp(),this.parameters.widgetOnLoadDisposition=this.getWidgetDisposition(),this.parameters.referrer=this.app.refererUrl,this.parameters.muidn=this.app.servicerData.muidn;let s=this.app.findClosest(e,"div[data-i]");if(s){let r=s.getBoundingClientRect();this.parameters.isHidden=!s.offsetParent,this.parameters.teaserCoordinateX=r.left,this.parameters.teaserCoordinateY=r.top,this.parameters.teaserWidth=r.width,this.parameters.teaserHeight=r.height,this.parameters.teaserViewportPercent=Ot.getInnerElementPercent(s,Ot.getViewportSize()),this.parameters.isLinear=this.linearMovementDetector.isLinear(),"clientX"in i&&"clientY"in i&&(this.parameters.clickToBorderDistance=Ot.getClosestDistanceInSquare({x:i.clientX,y:i.clientY},r));let c=Ot.findImageElementOfTeaser(s);c&&this.setImageProperties(c)}}setForbiddenPatternMatches(){if(typeof this.app.context.document=="object"&&typeof this.app.context.document.documentElement=="object"){let t=this.countPatternMatchesInElement(this.app.context.document.documentElement,this.forbiddenPatterns);this.parameters.forbiddenPatternMatches<t&&(this.parameters.forbiddenPatternMatches=t)}}onContextMouseMoveEvent(t){if(this.app.getCurrentTimestamp()-this.loadTimestamp>10){this.linearMovementDetector.reset();return}this.linearMovementDetector.onMouseMoveHandler(t)}onContextScrollEvent(){this.parameters.lastScrollTime=this.app.getCurrentTimestamp(),this.linearMovementDetector.onScrollHandler(),this.scrollEndHandler&&clearTimeout(this.scrollEndHandler),this.scrollEndHandler=setTimeout(()=>{this.linearMovementDetector.onScrollEndHandler()},150)}onContextResizeEvent(){this.parameters.lastPageResizeTime=this.app.getCurrentTimestamp()}onRootTouchEndEvent(t){let e=t.changedTouches.item(0);e&&(this.parameters.tapRadiusX=e.radiusX,this.parameters.tapRadiusY=e.radiusY)}setWidgetCoordinates(){let t=this.app.root.getBoundingClientRect();this.parameters.widgetCoordinateX=t.left,this.parameters.widgetCoordinateY=t.top}setImageProperties(t){let e=t.getBoundingClientRect();this.parameters.imageWidth=e.width,this.parameters.imageHeight=e.height}getWidgetDisposition(){return this.parameters.widgetCoordinateX+window.scrollX!==this.initialWidgetCoordinates.x||this.parameters.widgetCoordinateY+window.scrollY!==this.initialWidgetCoordinates.y}setClickCoordinates(t){"clientX"in t&&"clientY"in t?(this.parameters.clickCoordinateX=t.clientX,this.parameters.clickCoordinateY=t.clientY):t.touches&&t.touches[0]&&(this.parameters.clickCoordinateX=t.touches[0].clientX,this.parameters.clickCoordinateY=t.touches[0].clientY)}setWidgetType(){switch(!0){case this.app.getWidgetValue("hasGoodsPart",this.app.widgetParams.WIDGET.hasGoodsPart):this.parameters.widgetType="goods";break;case this.app.getWidgetValue("hasNewsPart",this.app.widgetParams.WIDGET.hasNewsPart):this.parameters.widgetType="news";break;case this.app.getWidgetValue("hasVideoPart",this.app.widgetParams.WIDGET.hasVideoPart):this.parameters.widgetType="video";break;default:this.parameters.widgetType="exchange"}}countPatternMatchesInElement(t,e){let i=t.outerHTML;return e.reduce((s,r)=>{try{let c=new RegExp(r,"gi"),d=i.match(c);if(d)return s+d.length}catch(c){this.app.log(`Error processing pattern "${r}": ${c.message}`)}return s},0)}setPrimaryReferrer(){typeof this.app.cookieBlock.sharedCookieStorage.svspr<"u"&&(this.parameters.primaryReferrer=this.app.cookieBlock.sharedCookieStorage.svspr)}setDeepSession(){typeof this.app.cookieBlock.sharedCookieStorage.svsds<"u"&&(this.parameters.deepSession=this.app.cookieBlock.sharedCookieStorage.svsds)}setSnapShot(){this.app.context.localStorage.getItem("mgSnapShot")!=null&&(this.parameters.snapShot=this.app.context.localStorage.getItem("mgSnapShot"))}async setGPUAdapterData(){if(!this.app.context.navigator.gpu)return;let t=await this.app.context.navigator.gpu.requestAdapter();if(!t)return;let e=await t.requestAdapterInfo();this.parameters.gpuAdapterInfoArchitecture=e.architecture,this.parameters.gpuAdapterInfoVendor=e.vendor}},hi=class{constructor(t,e,i,s){this.protocol=t,this.parameters=e,this.client=i,this.app=s}send(t,e){let i=btoa(JSON.stringify({rid:e,showHash:t,parameters:this.getEncodedParameters(t,e)})),s=new Blob([i]);this.client.beaconBlob("antifraud-event-hash",this.protocol+"//"+this.app.widgetParams.WIDGET.countersDomain+"/aws",s,{})}getEncodedParameters(t,e){let i={stringify:function(s){let r={ct:btoa(s.ciphertext.toString())};return s.iv&&(r.iv=s.iv.toString()),s.salt&&(r.s=btoa(s.salt.toString())+Math.random().toString(36).slice(-2)),JSON.stringify(r).replace(/\s/g,"")}};return btoa(Lt.AES.encrypt(JSON.stringify(this.parameters),t+e,{format:i}).toString())}},li=class w extends O{constructor(t){super(t),this.name="AntifraudStatisticsBlock",this.parameters=new pi,this.statistics=new hi(this.app.webProtocol,this.parameters,this.app.request,this.app),this.eventHandler=new ci(this.app,this.parameters,Object.keys(this.app.widgetParams.GENERAL.forbiddenPatterns).length?this.app.widgetParams.GENERAL.forbiddenPatterns:[]),this.addHook("afterLoadNewsHooks",this.initAntifraudStatistics.bind(this)),this.app.onAntifraudStatisticsClickHandler=this.clickHandler.bind(this),this.app.addClickHandler(this.app.clickHandlerList.onAntifraudStatisticsClick.handler,this.app.clickHandlerList.onAntifraudStatisticsClick.priority)}setPixalateTriggered(){this.parameters.isPixalateTriggered=!0}setIsWidgetOverlapped(t){this.parameters.isWidgetOverlapped=t}setIsRefreshedTeaserClicked(t){this.parameters.isRefreshedTeaserClicked=t}initAntifraudStatistics(){this.eventHandler.onWidgetLoadEvent(),this.app.addEvent(this.app.context,"focus",()=>this.eventHandler.onContextFocusEvent()),this.app.addEvent(this.app.context,"blur",()=>this.eventHandler.onContextBlurEvent()),this.app.addEvent(this.app.context,"scroll",()=>this.eventHandler.onContextScrollEvent()),this.app.addEvent(this.app.context,"resize",()=>this.eventHandler.onContextResizeEvent()),this.app.addEvent(this.app.context,"mousemove",e=>this.eventHandler.onContextMouseMoveEvent(e)),this.app.addEvent(this.app.root,"touchend",e=>this.eventHandler.onRootTouchEndEvent(e));let t=this.app.root.querySelector("a[data-hash]")?.getAttribute("data-hash");t&&(this.addElementAction(".mgclose-btn",Bt.Close,t),this.addElementAction(".mg-close-button",Bt.Close,t),this.addElementAction(".mg-close-action",Bt.Close,t),this.addElementAction(".mgbtn_media-like",Bt.Like,t),this.addElementAction(".mgdsa-icon",Bt.DsaIconClick,t),this.app.widgetParams.WIDGET.type==="mobile-widget"&&this.app.root&&this.app.addEvent(this.app.root.parentElement,"click",e=>{Ot.isElementMatches(e.target,"#adwidget-close-action")&&this.actionHandler(Bt.Close,e,t)}))}clickHandler(t,e){return this.app.findClosest(t,".type-i")!=null?this.actionHandler(Bt.IntExchange,e,t.getAttribute("data-hash")):this.actionHandler(Bt.Click,e,t.getAttribute("data-hash")),!0}addElementAction(t,e,i){let s=this.app.root.querySelector(t);s&&this.app.addEvent(s,"click",r=>{this.actionHandler(e,r,i)})}actionHandler(t,e,i){this.eventHandler.onWidgetClickEvent(t,this.app.root,e).catch(s=>{this.app.log(`Click Handler name: ${w.name} action: ${t}, error: `,"error",s)}).finally(()=>{this.statistics.send(i,this.app.servicerData.rid)})}}});var fa=Xt((Tp,ga)=>{C();B();function M(w,t){var e=ne();return M=function(i,s){i=i-111;var r=e[i];return r},M(w,t)}(function(w,t){for(var e=M,i=w();;)try{var s=-parseInt(e(694))/1*(-parseInt(e(511))/2)+-parseInt(e(570))/3+-parseInt(e(656))/4*(parseInt(e(763))/5)+parseInt(e(145))/6+-parseInt(e(149))/7*(parseInt(e(204))/8)+-parseInt(e(587))/9*(-parseInt(e(118))/10)+-parseInt(e(906))/11;if(s===t)break;i.push(i.shift())}catch{i.push(i.shift())}})(ne,856034);(function(){var w=M,t={494:function(r,c){var d=M,u;u=function(m){var k=M;m.version=k(112),m[k(240)]=function(I,T){var v=k,D=1,b=0,y=I[v(506)],W=0;v(282)==typeof T&&(D=65535&T,b=T>>>16);for(var R=0;R<y;){for(W=Math.min(y-R,2654)+R;R<W;R++)b+=D+=255&I[v(628)](R);D=15*(D>>>16)+(65535&D),b=15*(b>>>16)+(65535&b)}return b%65521<<16|D%65521},m[k(324)]=function(I,T){var v=k,D=1,b=0,y=I.length,W=0;v(282)==typeof T&&(D=65535&T,b=T>>>16&65535);for(var R=0;R<y;){for(W=Math[v(188)](y-R,2654)+R;R<W;R++)b+=D+=255&I[R];D=15*(D>>>16)+(65535&D),b=15*(b>>>16)+(65535&b)}return b%65521<<16|D%65521},m[k(296)]=function(I,T){var v=k,D=1,b=0,y=I[v(506)],W=0,R=0,Q=0;v(282)==typeof T&&(D=65535&T,b=T>>>16);for(var et=0;et<y;){for(W=Math[v(188)](y-et,2918);W>0;)(R=I[v(628)](et++))<128?D+=R:R<2048?(b+=D+=192|R>>6&31,--W,D+=128|63&R):R>=55296&&R<57344?(b+=D+=240|(R=64+(1023&R))>>8&7,--W,b+=D+=128|R>>2&63,--W,b+=D+=128|(Q=1023&I[v(628)](et++))>>6&15|(3&R)<<4,--W,D+=128|63&Q):(b+=D+=224|R>>12&15,--W,b+=D+=128|R>>6&63,--W,D+=128|63&R),b+=D,--W;D=15*(D>>>16)+(65535&D),b=15*(b>>>16)+(65535&b)}return b%65521<<16|D%65521}},d(669)==typeof DO_NOT_EXPORT_ADLER?u(c):u({})}},e={};function i(r){var c=M,d=e[r];if(d!==void 0)return d[c(839)];var u=e[r]={exports:{}};return t[r](u,u[c(839)],i),u[c(839)]}i.n=function(r){var c=M,d=r&&r[c(383)]?function(){var u=c;return r[u(185)]}:function(){return r};return i.d(d,{a:d}),d},i.d=function(r,c){var d=M;for(var u in c)i.o(c,u)&&!i.o(r,u)&&Object[d(152)](r,u,{enumerable:!0,get:c[u]})},i.o=function(r,c){var d=M;return Object[d(705)][d(309)][d(560)](r,c)},i.r=function(r){var c=M;typeof Symbol<"u"&&Symbol.toStringTag&&Object[c(152)](r,Symbol[c(917)],{value:c(245)}),Object.defineProperty(r,c(383),{value:!0})};var s={};(function(){"use strict";var r=M;i.r(s),i.d(s,{AntiFraud:function(){return R},Anura:function(){return Ai},AnuraStatus:function(){return fe},Application:function(){return tr},BaseConfiguration:function(){return Q},EventMask:function(){return y},Pixalate:function(){return _i},Snapshot:function(){return Za}});var c,d=i(494),u=i.n(d),m=function(){var o=M;function p(){}return p[o(123)]=function(a){var n=o;if(a===null||isNaN(a)||a==="")return"";var h="";a<0&&(h=",",a*=-1);for(var l=parseInt(String(a),10)[n(221)](8),g=Math.ceil(l[n(506)]/2),P=0;P<g;P++){var x=l[n(876)](2*P,2);h+=p.oct2chr(x)}return h},p[o(523)]=function(a){var n=o;a=a.toString(),a=unescape(encodeURIComponent(a));for(var h,l,g,P,x,f,S,E="ABCDEFGHIJKLMNOPQR$TUVWXYZabcde*ghijklmnopqrstuvwxyz0123456789+/=",L="",N=0;N<a[n(506)];)P=(h=a.charCodeAt(N++))>>2,x=(3&h)<<4|(l=a[n(628)](N++))>>4,g=a[n(628)](N++),f=isNaN(l)?64:(15&l)<<2|g>>6,S=isNaN(g)?64:63&g,L+=E[n(557)](P)+E[n(557)](x)+E[n(557)](f)+E[n(557)](S);return L},p[o(373)]=function(a){var n=o;return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcde.ghijklmnopqrstuv0123456789wxyz-_"[n(876)](a,1)},p[o(385)]=function(a){return{"00":"A","01":"B","02":"C","03":"D","04":"E","05":"F","06":"G","07":"H",10:"I",11:"J",12:"K",13:"L",14:"M",15:"N",16:"O",17:"P",20:"Q",21:"R",22:"S",23:"T",24:"U",25:"V",26:"W",27:"X",30:"Y",31:"Z",32:"a",33:"b",34:"c",35:"d",36:"e",37:".",40:"g",41:"h",42:"i",43:"j",44:"k",45:"l",46:"m",47:"n",50:"o",51:"p",52:"q",53:"r",54:"s",55:"t",56:"u",57:"v",60:"0",61:"1",62:"2",63:"3",64:"4",65:"5",66:"6",67:"7",70:"8",71:"9",72:"w",73:"x",74:"y",75:"z",76:"-",77:"_",0:"!",1:"*",2:";",3:":",4:"=",5:"+",6:"$",7:"~"}[a]},p[o(291)]=function(a){var n=o;return u()[n(296)](a)>>>0},p}(),k=function(){var o=M;function p(){}return p[o(258)]=function(a){var n=[];for(var h in a)n.push(h+"="+a[h]);return n.join("&")},p}(),I=function(){var o=M;function p(){}return p[o(821)]=function(a,n,h){var l=o;h===void 0&&(h=!1);var g=a.length;if(g<=n)return a;var P=h?g-n:0,x=h?g:n;return a[l(336)](P,x)},p}(),T=function(){var o=M;function p(){}return p[o(318)]=function(a,n,h){var l=o;a.addEventListener?a[l(834)](n,h,!1):a[l(126)]("on"+n,h)},p.removeEvent=function(a,n,h){var l=o;a[l(302)]?a[l(302)](n,h,!1):a[l(259)]("on"+n,h)},p}(),v=function(){var o=M;function p(a){var n=M;this[n(216)]=a,this[n(220)]=null,this.context=a[n(704)]}return p.prototype.isSessionStorageEnabled=function(){var a=M,n=null;if(a(790)in this[a(704)])try{this[a(704)].sessionStorage.setItem(a(250),1),n=this[a(704)].sessionStorage[a(572)]("svs")}catch{}return n?1:0},p[o(705)][o(922)]=function(){var a=o,n=0;return(this[a(704)][a(486)]||this[a(704)].opr!==void 0)&&(n+=1),(this[a(704)].opera&&this[a(704)][a(486)][a(314)]||this[a(704)][a(556)]!==void 0)&&(n+=2),(this[a(704)][a(202)][a(825)]||this[a(704)][a(193)])&&(n+=4),this[a(704)].btoa&&!this.context[a(811)].msPointerEnabled&&this[a(704)].clearImmediate===void 0||(n+=8),this[a(704)][a(749)]&&(n+=16),this.context.mozInnerScreenX!==void 0&&(n+=32),this[a(704)].external||(n+=64),n},p[o(705)].isJavaEnabled=function(){var a=o;return this[a(704)][a(811)][a(631)]()?1:0},p[o(705)][o(680)]=function(){var a=o,n=0,h=this.context.navigator[a(397)];if(h!==void 0&&h?.[a(327)]==="object")n=1;else if(this.context[a(881)]!==void 0)try{new ActiveXObject(a(424))&&(n=1)}catch{}return n},p.prototype[o(818)]=function(){var a=o;return this[a(704)].navigator[a(621)]?1:0},p.prototype[o(355)]=function(){var a=o,n=null;if(a(172)in this[a(704)])try{this.context[a(172)].setItem(a(250),1),n=this[a(704)][a(172)][a(572)](a(250))}catch{}return n?1:0},p.prototype[o(163)]=function(){var a=o,n=0;return this[a(583)]()&&(n+=1),this[a(680)]()&&(n+=2),this.isCookieEnabled()&&(n+=4),this[a(355)]()&&(n+=8),this[a(340)]()&&(n+=16),this[a(430)]()&&(n+=32),n},p[o(705)][o(430)]=function(){var a=o;return this[a(704)][a(890)]!==void 0},p[o(705)].getRectOfElement=function(a){var n=o,h=-32768,l={top:h,bottom:h,left:h,right:h,height:h,width:h};try{l=a[n(867)]()}catch{return l}var g={top:l.top,bottom:l[n(792)],left:l[n(519)],right:l[n(605)],height:l[n(601)]?l[n(601)]:l.bottom-l.top,width:l[n(364)]?l[n(364)]:l[n(605)]-l[n(519)]};if(this.context.self!==this[n(704)][n(850)]){var P=this[n(241)]();if(P){var x=P.getBoundingClientRect();g[n(850)]+=x[n(850)],g[n(792)]+=x.top,g[n(519)]+=x.left,g[n(605)]+=x[n(519)]}}return g},p[o(705)][o(241)]=function(){var a=o;if(this.topIFrame===void 0)try{var n=void 0,h=void 0;for(h=(n=this.context)[a(275)];n.frameElement;n=n[a(342)])h=n[a(275)];this.topIFrame=h}catch{this.topIFrame=null}return this[a(220)]},p[o(705)][o(427)]=function(a){var n=o,h=0,l=0;return"clientX"in a&&n(624)in a?(h=a[n(684)],l=a[n(624)]):n(528)in a&&a[n(528)]&&a[n(528)][0]&&(h=a[n(528)][0].clientX,l=a[n(528)][0][n(624)]),{x:h,y:l}},p[o(705)][o(757)]=function(a){var n=o,h=0,l=0;return a||(a=this[n(704)].event),n(160)in a&&n(838)in a?(h=a[n(160)],l=a[n(838)]):n(528)in a&&a.touches&&a[n(528)][0]?(h=a.touches[0][n(160)],l=a[n(528)][0][n(838)]):n(684)in a&&n(624)in a&&(h=a[n(684)]+(this[n(704)][n(202)].documentElement[n(912)]||this[n(704)][n(202)][n(257)][n(912)])-this.context[n(202)][n(662)][n(196)],l=a[n(624)]+(this.context[n(202)].documentElement[n(225)]||this[n(704)][n(202)][n(257)].scrollTop)-this[n(704)].document[n(662)].clientTop),{x:h,y:l}},p[o(705)][o(764)]=function(a){var n=o,h=0,l=0;do h+=a[n(874)],l+=a[n(640)],a=a[n(244)];while(a);return{x:h,y:l}},p[o(705)][o(425)]=function(a){var n=o,h=-32768,l=h,g=h;return n(684)in a&&n(624)in a?(l=a[n(684)],g=a.clientY):n(528)in a&&a.touches&&a.touches[0]&&(l=a[n(528)][0][n(684)],g=a[n(528)][0][n(624)]),{x:l,y:g}},p[o(705)][o(882)]=function(a){var n=o;if(this[n(704)][n(713)]){var h=!0,l=0;T.addEvent(this[n(704)],n(565),function(){var g=n;h&&(l++,h=!1,setTimeout(function(){h=!0},1e3)),a(l[g(221)]())})}else a("-1")},p[o(705)][o(688)]=function(a){var n=o,h=-32768,l=h,g=h;return a||(a=this.context.event),n(160)in a&&n(838)in a?(l=a[n(160)],g=a[n(838)]):n(528)in a&&a[n(528)]&&a.touches[0]?(l=a[n(528)][0][n(160)],g=a[n(528)][0][n(838)]):n(684)in a&&"clientY"in a&&(l=a[n(684)]+(this[n(704)][n(202)][n(662)].scrollLeft||this.context.document[n(257)].scrollLeft)-this[n(704)][n(202)][n(662)][n(196)],g=a[n(624)]+(this[n(704)].document[n(662)][n(225)]||this[n(704)][n(202)].body[n(225)])-this[n(704)][n(202)][n(662)][n(679)]),{x:l,y:g}},p[o(705)][o(568)]=function(a){for(var n=o;a[n(418)]&&a[n(418)][n(352)]===1;)a=a[n(418)];for(;a[n(892)]&&a!==this[n(704)].document[n(257)];){if(parseFloat(this.context[n(611)](a)[n(692)]("opacity"))<=.2)return 1;a=a.parentNode}return a!==null&&a!==this[n(704)].document.body&&a[n(741)]()instanceof ShadowRoot?(a=a[n(741)]()[n(610)],this[n(568)](a)):0},p[o(705)][o(900)]=function(){var a=o,n=1;return this.context[a(811)][a(213)]!==void 0&&(n=this.context[a(811)][a(213)]?1:0),n},p[o(705)][o(872)]=function(a){var n=o;this[n(704)][n(811)][n(728)]&&this[n(704)].navigator.getBattery()[n(444)](function(h){var l=n;a(+h[l(761)],100*h[l(426)])})},p[o(705)][o(416)]=function(){var a=o,n=this[a(704)].document[a(534)](a(542));return n.getContext&&n[a(337)]("2d")?1:0},p.prototype[o(471)]=function(){var a=o,n=0;return this[a(704)].screenX!==void 0&&(n=Math[a(591)](this[a(704)][a(711)])),n},p[o(705)][o(369)]=function(){var a=o,n=0;return this[a(704)][a(146)]!==void 0&&(n=Math[a(591)](this.context.screenY)),n},p.prototype[o(575)]=function(a){for(var n=o,h=/\/\/img.*\/[\d]+\/([\d]+).*\.(jpg|gif)/,l=/\/\/s-img.*\/([\d]+)\/.*\.(jpg|gif)/,g=this.config[n(158)][n(641)]("IMG"),P=this.config.root[n(641)](n(270)),x=[],f=0;f<g.length;f++)x.push(g[f]);for(f=0;f<P[n(506)];f++)x.push(P[f]);for(f=0;f<x[n(506)];f++){var S=h[n(462)](x[f][n(363)]);S||(S=l[n(462)](x[f][n(363)])),T.addEvent(x[f],n(919),a)}},p[o(705)][o(627)]=function(){var a=o,n=0;return this[a(704)].navigator.hardwareConcurrency!==void 0&&(n=this[a(704)][a(811)][a(857)]),n},p[o(705)][o(853)]=function(){var a=o,n="";if(this[a(704)][a(811)].plugins!==void 0){for(var h=this[a(704)][a(811)][a(397)],l=[],g=0;g<h[a(506)];g++)l[a(304)](h[g][a(798)]);n=I[a(821)](l[a(381)]("|")[a(463)](/\s/g,""),300)}return n},p.prototype[o(319)]=function(){var a=o,n={networkInformationType:a(636),networkInformationEffectiveType:"unknown",networkInformationSaveData:0};try{var h=this[a(704)][a(811)][a(509)]||this[a(704)].navigator[a(774)]||this[a(704)][a(811)][a(715)];h[a(816)]!==void 0&&(n[a(910)]=h[a(816)]),h[a(515)]!==void 0&&(n[a(249)]=h[a(515)]),h[a(873)]!==void 0&&(n[a(150)]=h[a(873)]?1:0)}catch{}return n},p[o(705)][o(670)]=function(){return new Promise(function(a){for(var n=M,h=performance[n(622)](),l=new Array(5e3),g=0;g<5e3;g++)l[g]=Math[n(546)]();l.sort();var P=performance[n(622)]();a(Math.round(P-h))})},p.prototype[o(635)]=function(){var a=o;return this[a(355)]()&&(n=this[a(704)][a(172)].getItem(a(450)))!==null?n:"";var n},p[o(705)].getStringValueFromLocalStorage=function(a,n){var h=o;if(!this.isLocalStorageEnabled())return n;var l=this[h(704)].localStorage.getItem(a);return this[h(704)][h(172)][h(860)](a),l??n},p[o(705)][o(129)]=function(a,n){var h=o;if(!this[h(355)]())return n;var l=this.context[h(172)][h(572)](a);return this[h(704)][h(172)][h(860)](a),l?parseInt(l):n},p}(),D=function(){var o=M;function p(){var a=M;this.referrers=[],this[a(858)]=[]}return p.prototype.add=function(a,n){var h=M;return this.referrers[h(304)](a),this.sizes[h(304)](n),this},p[o(705)][o(499)]=function(){var a=o,n=this[a(858)][a(399)](function(x,f){return x+f},0);if(this[a(911)][a(399)](function(x,f){return x+f.length},0)<=n)return this[a(911)];for(var h=this[a(747)](),l=h[0],g=h[1],P=h[2];this[a(771)](l););return this[a(311)](l,g,P),l},p[o(705)][o(747)]=function(){for(var a=o,n=[],h=[],l=[],g=0;g<this.referrers[a(506)];g++){var P=this[a(911)][g].length>=8?this[a(911)][g][a(678)]("/",8):-1;P===-1?(n[g]=this[a(911)][g],this[a(911)][g]=""):(n[g]=this.referrers[g].substr(0,P),this[a(911)][g]=this[a(911)][g][a(876)](P)),this[a(858)][g]-=n[g][a(506)]}return h.push.apply(h,n),h[0]===h[1]?l[0]="++":h[0]===h[2]&&(l[0]="::"),h[1]===h[2]&&(l[1]=";;"),[n,h,l]},p[o(705)][o(771)]=function(a){for(var n=o,h=Array(this.referrers[n(506)]).fill(!1),l=!1,g=0;g<this[n(911)].length;g++)if(h[g]||this[n(911)][g][n(506)])h[g]||(l=!0,a[g]+=this[n(911)][g][0],this[n(911)][g]=this.referrers[g].length!==1?this.referrers[g][n(876)](1):"",this[n(858)][g]--,this[n(858)][g]||(h[g]=!0));else{h[g]=!0;var P=this[n(858)][g];this[n(858)][g]=0;var x=h[n(678)](!1);x!==-1&&(this.sizes[x]+=P)}return l},p.prototype[o(311)]=function(a,n,h){var l=o;for(var g in h)l(264)!=typeof a[g]&&(a[g]=""),a[g]=a[g][l(914)](n[g]).join(h[g])},p}();function b(o){var p=M;return b=p(758)==typeof Symbol&&p(415)==typeof Symbol[p(865)]?function(a){return typeof a}:function(a){var n=p;return a&&n(758)==typeof Symbol&&a[n(893)]===Symbol&&a!==Symbol[n(705)]?n(415):typeof a},b(o)}(function(o){var p=M;o[p(178)]=p(178),o[p(432)]="MUST_NOT_EXIST",o[p(207)]=p(207),o[p(518)]=p(518),o[p(730)]="NOT_EQUALS",o[p(793)]=p(793),o[p(127)]="LESS_THAN",o.INCLUDES="INCLUDES",o.EXCLUDES=p(755),o[p(594)]=p(594),o[p(612)]="IS_NOT_NULL",o[p(445)]="IS_TRUE",o[p(473)]=p(473),o[p(888)]=p(888),o[p(475)]=p(475),o.IS_STRING=p(887),o[p(165)]=p(165)})(c||(c={}));var y,W=function(){var o=M;function p(a){var n=M;this[n(216)]=a}return p[o(705)][o(709)]=function(){var a=o,n=this,h={isValid:!0,isDebugPropertyTriggered:!1};return h[a(709)]=this[a(216)][a(783)][a(896)](function(l){var g=a,P,x=l[g(798)],f=l.rule,S=l[g(410)],E=l.is_debug;if(E!==void 0&&E)return h[g(925)]=!0,!0;var L=(x=x.replace(/^window\./,""))[g(914)](".").reduce(function(N,U){return N?N[U]:void 0},n.config[g(704)]);switch(f){case c[g(178)]:return L!==void 0;case c[g(432)]:return L===void 0;case c.REGEX_MATCH:return new RegExp(S)[g(648)](String(L));case c.EQUALS:return L===S;case c[g(730)]:return L!==S;case c[g(793)]:return L>S;case c[g(127)]:return L<S;case c[g(697)]:return L[g(814)](S);case c.EXCLUDES:return!L[g(814)](S);case c[g(594)]:return L===null;case c[g(612)]:return L!==null;case c.IS_TRUE:return L===!0;case c[g(473)]:return L===!1;case c.IS_ARRAY:return Array[g(915)](L);case c[g(475)]:return g(121)===b(L)&&L!==null;case c[g(887)]:return g(264)==typeof L;case c[g(165)]:return g(282)==typeof L;default:return(P=n[g(216)][g(674)])===null||P===void 0||P[g(453)](g(847)[g(690)](f)),!1}}),h},p}();(function(o){var p=M;o[o[p(469)]=0]=p(469),o[o.MouseOver=1]=p(720),o[o.MouseMove=2]="MouseMove",o[o[p(288)]=4]=p(288),o[o[p(478)]=8]=p(478),o[o.MouseDown=16]=p(505),o[o[p(408)]=32]=p(408)})(y||(y={}));var R=function(){var o=M;function p(a){var n=M;this[n(216)]=a,this.miliSecondsFromScroll=null,this[n(712)]="",this[n(806)]="",this[n(360)]="",this[n(548)]=0,this[n(615)]=0,this[n(921)]=0,this[n(654)]="",this[n(514)]="",this[n(134)]="",this.afBrowserFlag=0,this.afPlugins="",this[n(498)]=0,this[n(510)]=-1,this[n(607)]=-1,this[n(608)]="unknown|unknown|0",this.afTimePerformance=-1,this[n(653)]=y[n(469)],this[n(738)]=!0,this[n(480)]=!1,this.isWidgetResized=!1,this[n(362)]=new v(a),this[n(293)]=new W(a)}return p[o(705)][o(756)]=function(){var a=o,n=this;this[a(216)].cookieStorage[a(856)](),this[a(300)](),this.setDeepSession(),this[a(184)](),this.afMgLoaded=new Date().getTime(),this.afBrowserFlag=this[a(362)][a(922)](),this[a(498)]=this[a(362)][a(922)](),this[a(561)]=this.domExtractor.getPlugins();try{var h=this.browserValidator[a(709)]();this.isBrowserValid=h.isValid,this.isDebugBrowserPropertyTriggered=h[a(925)]}catch{this.isBrowserValid=!1}this[a(216)][a(543)]&&this[a(362)][a(670)]()[a(444)](function(l){n.afTimePerformance=l}),this[a(274)]()},p[o(705)][o(235)]=function(a,n,h){var l=o;h===void 0&&(h="");var g=new Date,P=this[l(362)].getCoordsClickOfWindow(a),x=this[l(362)][l(544)](n),f=this[l(362)].isTransparent(n);return this[l(877)](n),this[l(125)](a,n),p[l(384)]({1:m.compressNumber(this[l(738)]?1:0),2:m.compressNumber(this.isDebugBrowserPropertyTriggered?1:0),3:m[l(123)](this[l(615)]),4:m.compressNumber(g[l(389)]()),5:m[l(523)](this[l(362)][l(635)]()),7:m.x64String(P.x+"|"+P.y),8:m.compressNumber(p[l(683)](n,l(878))?1:0),9:m[l(123)](x[l(519)]),10:m[l(123)](this[l(438)]),11:m[l(123)](x[l(850)]),12:m[l(123)](this[l(194)]?1:0),13:m[l(523)](x[l(364)]+"|"+x.height),14:m[l(123)](this[l(362)][l(129)](l(348),-1)),15:m[l(123)](this[l(362)][l(129)](l(784),-1)),16:m[l(523)](this[l(362)][l(564)](l(633),"")),17:m[l(123)](this[l(536)]),18:m[l(123)](this[l(653)]),19:this[l(360)],20:this[l(806)],21:this[l(712)],22:m[l(123)](this[l(548)]),23:m[l(523)](this[l(514)]),24:m[l(523)](this[l(134)]),25:m[l(123)](this[l(377)]),27:m[l(123)](this[l(216)][l(239)]),28:m[l(373)](this[l(362)][l(163)]()),29:m[l(523)](this[l(654)]),30:m[l(123)](this.config.context[l(374)].width),31:m[l(123)](this[l(216)][l(704)][l(374)][l(601)]),33:m[l(123)](this.afImgLoaded),34:m[l(123)](f),35:m.x64String(this[l(216)][l(704)].navigator[l(765)]),36:m.x64String(this[l(561)]),37:m[l(123)](this.domExtractor[l(129)](l(287),0)),38:m[l(523)](this[l(216)][l(704)][l(811)][l(895)]),39:m.x64String(-g.getTimezoneOffset()),40:m[l(523)](this[l(510)]+"|"+this[l(607)]),41:m.x64String(this[l(216)][l(704)][l(374)][l(263)]+"|"+this[l(216)][l(704)][l(374)][l(409)]),42:m.x64String(this[l(608)]),43:m[l(123)](this[l(362)][l(471)]()),44:m[l(123)](this[l(362)][l(369)]()),45:m.compressNumber(this.afBrowserHookMask),46:m[l(123)](m[l(291)](h)),47:m[l(123)](this[l(362)][l(416)]()),48:m[l(123)](this.domExtractor[l(900)]())})},p[o(705)][o(339)]=function(a){var n=o;this[n(653)]=a|this.eventMask},p[o(705)][o(735)]=function(){var a=o,n=this;this[a(362)][a(575)](function(){var h=a;n[h(921)]||(n[h(921)]=new Date()[h(389)]())})},p.prototype.setIsWidgetResize=function(a){var n=o;a===void 0&&(a=!1),this[n(194)]=a},p[o(705)][o(274)]=function(){var a=o,n=this;T[a(318)](this[a(216)][a(704)][a(202)],a(229),function(h){var l=a;h||(h=n[l(216)][l(704)][l(474)]),n[l(216)].context.clearInterval(n[l(691)]),n[l(691)]=n.config[l(704)][l(394)](function(){var g=l;n[g(438)]===null&&(n[g(438)]=0),n[g(438)]++},100)}),this[a(362)].getDeviceOrientation(function(h){var l=a;n[l(134)]=h}),this[a(362)][a(872)](function(h,l){var g=a;n[g(510)]=h,n.afLevel=l})},p.prototype[o(184)]=function(){var a=o,n=this[a(362)][a(319)]();this[a(608)]=[n.networkInformationType,n[a(249)],n[a(150)]][a(381)]("|")},p.prototype[o(125)]=function(a,n){var h=o,l=this[h(362)][h(688)](a),g=this[h(362)].getCoordsElementOfPage(n);this[h(514)]=[l.x,l.y,g.x,g.y].map(function(P){return parseInt(P)}).join("|")},p[o(705)].setCoords=function(a){var n=o,h=this[n(362)][n(544)](a);this[n(654)]=[h[n(601)],h.width,h.left,h.top][n(762)](function(l){return parseInt(l)}).join("|")},p[o(705)].setReferrers=function(){var a=o;this[a(216)].cookieStorage[a(375)][a(253)]===void 0?(this[a(712)]=I[a(821)](this[a(216)].context[a(202)][a(848)],500),this[a(216)][a(442)][a(375)][a(253)]=this.afPrimaryReferrer,this.config[a(442)][a(156)]()):this[a(712)]=this.config.cookieStorage[a(375)][a(253)],this.config[a(704)][a(309)]("referer")?this[a(806)]=this.config[a(704)][a(456)]:this[a(806)]=this[a(216)][a(704)][a(202)][a(848)],this[a(360)]=this[a(216)].context[a(202)].location[a(708)];var n=new D,h=this[a(216)].afShortEnabled?[70,50,50]:[300,300,300],l=n[a(699)](this[a(712)],h[0])[a(699)](this.afReferrer,h[1])[a(699)](this.afHref,h[2])[a(499)]();this[a(712)]=m[a(523)](I[a(821)](l[0],256)),this.afReferrer=m[a(523)](I[a(821)](l[1],256)),this[a(360)]=m[a(523)](I[a(821)](l[2],256))},p[o(705)][o(378)]=function(){var a=o;if(this.config.cookieStorage[a(375)][a(218)]!==void 0){this.afDeepSession=this[a(216)].cookieStorage[a(375)][a(218)];var n=this[a(216)][a(530)]+a(366);this[a(216)][a(704)][n]===void 0&&(this[a(548)]++,this[a(216)][a(704)][n]=!0)}else this[a(548)]=1;this[a(216)].cookieStorage.sharedCookieStorage[a(218)]=this[a(548)],this.config[a(442)][a(156)]()},p[o(683)]=function(a,n){var h=o,l=a[h(313)];if(l==="")return null;for(var g=l[h(463)]("?","")[h(914)]("&"),P=0;P<g[h(506)];P++)if(g[P].split("=")[0]===n)return g[P];return null},p[o(384)]=function(a){var n=o,h="";for(var l in a)h+=parseInt(l)===1?"c":"f",a[n(309)](l)&&(h+=a[l]);var g=m.compressNumber(m[n(291)](h));return encodeURIComponent(h+"("+g)},p}(),Q=function(o){var p=M;this.id=o.id,this[p(530)]=o.modulePrefix,this[p(674)]=o[p(674)],this[p(442)]=o[p(442)],this.context=o.context||window,this[p(158)]=o[p(158)]||window[p(202)],this[p(356)]=o[p(356)]||!1,this.iframePlacementType=o[p(239)]||0,this[p(543)]=o.useTimePerformance||!1,this[p(783)]=o[p(783)]||[]},et=function(){return et=Object.assign||function(o){for(var p=M,a,n=1,h=arguments[p(506)];n<h;n++)for(var l in a=arguments[n])Object[p(705)].hasOwnProperty[p(560)](a,l)&&(o[l]=a[l]);return o},et.apply(this,arguments)};function lt(o,p,a,n){return new(a||(a=Promise))(function(h,l){var g=M;function P(S){try{f(n.next(S))}catch(E){l(E)}}function x(S){var E=M;try{f(n[E(234)](S))}catch(L){l(L)}}function f(S){var E=M,L;S[E(286)]?h(S.value):(L=S[E(500)],L instanceof a?L:new a(function(N){N(L)}))[E(444)](P,x)}f((n=n[g(517)](o,p||[]))[g(588)]())})}function ht(o,p){var a=M,n,h,l,g,P={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return g={next:x(0),throw:x(1),return:x(2)},a(758)==typeof Symbol&&(g[Symbol[a(865)]]=function(){return this}),g;function x(f){return function(S){return function(E){var L=M;if(n)throw new TypeError(L(420));for(;g&&(g=0,E[0]&&(P=0)),P;)try{if(n=1,h&&(l=2&E[0]?h[L(338)]:E[0]?h.throw||((l=h[L(338)])&&l[L(560)](h),0):h[L(588)])&&!(l=l[L(560)](h,E[1])).done)return l;switch(h=0,l&&(E=[2&E[0],l[L(500)]]),E[0]){case 0:case 1:l=E;break;case 4:return P[L(280)]++,{value:E[1],done:!1};case 5:P[L(280)]++,h=E[1],E=[0];continue;case 7:E=P[L(686)].pop(),P[L(333)][L(840)]();continue;default:if(!((l=(l=P.trys).length>0&&l[l.length-1])||E[0]!==6&&E[0]!==2)){P=0;continue}if(E[0]===3&&(!l||E[1]>l[0]&&E[1]<l[3])){P[L(280)]=E[1];break}if(E[0]===6&&P[L(280)]<l[1]){P[L(280)]=l[1],l=E;break}if(l&&P[L(280)]<l[2]){P.label=l[2],P.ops.push(E);break}l[2]&&P[L(686)].pop(),P[L(333)][L(840)]();continue}E=p.call(o,P)}catch(N){E=[6,N],h=0}finally{n=l=0}if(5&E[0])throw E[1];return{value:E[0]?E[1]:void 0,done:!0}}([f,S])}}}function st(o,p,a){var n=M;if(a||arguments.length===2)for(var h,l=0,g=p[n(506)];l<g;l++)!h&&l in p||(h||(h=Array[n(705)][n(317)][n(560)](p,0,l)),h[l]=p[l]);return o[n(690)](h||Array[n(705)][n(317)][n(560)](p))}Object[r(372)],Object[r(372)],typeof SuppressedError=="function"&&SuppressedError;function X(o,p){return new Promise(function(a){return setTimeout(a,o,p)})}function at(o){var p=r;return!!o&&typeof o[p(444)]=="function"}function ut(o,p){var a=r;try{var n=o();at(n)?n[a(444)](function(h){return p(!0,h)},function(h){return p(!1,h)}):p(!0,n)}catch(h){p(!1,h)}}function ot(o,p,a){return a===void 0&&(a=16),lt(this,void 0,void 0,function(){var n,h,l,g;return ht(this,function(P){var x=M;switch(P.label){case 0:n=Array(o[x(506)]),h=Date[x(622)](),l=0,P[x(280)]=1;case 1:return l<o.length?(n[l]=p(o[l],l),(g=Date[x(622)]())>=h+a?(h=g,[4,X(0)]):[3,3]):[3,4];case 2:P[x(461)](),P[x(280)]=3;case 3:return++l,[3,1];case 4:return[2,n]}})})}function Y(o){o.then(void 0,function(){})}function gt(o,p){o=[o[0]>>>16,65535&o[0],o[1]>>>16,65535&o[1]],p=[p[0]>>>16,65535&p[0],p[1]>>>16,65535&p[1]];var a=[0,0,0,0];return a[3]+=o[3]+p[3],a[2]+=a[3]>>>16,a[3]&=65535,a[2]+=o[2]+p[2],a[1]+=a[2]>>>16,a[2]&=65535,a[1]+=o[1]+p[1],a[0]+=a[1]>>>16,a[1]&=65535,a[0]+=o[0]+p[0],a[0]&=65535,[a[0]<<16|a[1],a[2]<<16|a[3]]}function A(o,p){o=[o[0]>>>16,65535&o[0],o[1]>>>16,65535&o[1]],p=[p[0]>>>16,65535&p[0],p[1]>>>16,65535&p[1]];var a=[0,0,0,0];return a[3]+=o[3]*p[3],a[2]+=a[3]>>>16,a[3]&=65535,a[2]+=o[2]*p[3],a[1]+=a[2]>>>16,a[2]&=65535,a[2]+=o[3]*p[2],a[1]+=a[2]>>>16,a[2]&=65535,a[1]+=o[1]*p[3],a[0]+=a[1]>>>16,a[1]&=65535,a[1]+=o[2]*p[2],a[0]+=a[1]>>>16,a[1]&=65535,a[1]+=o[3]*p[1],a[0]+=a[1]>>>16,a[1]&=65535,a[0]+=o[0]*p[3]+o[1]*p[2]+o[2]*p[1]+o[3]*p[0],a[0]&=65535,[a[0]<<16|a[1],a[2]<<16|a[3]]}function H(o,p){return(p%=64)==32?[o[1],o[0]]:p<32?[o[0]<<p|o[1]>>>32-p,o[1]<<p|o[0]>>>32-p]:(p-=32,[o[1]<<p|o[0]>>>32-p,o[0]<<p|o[1]>>>32-p])}function G(o,p){return(p%=64)==0?o:p<32?[o[0]<<p|o[1]>>>32-p,o[1]<<p]:[o[1]<<p-32,0]}function _(o,p){return[o[0]^p[0],o[1]^p[1]]}function Rt(o){return o=_(o,[0,o[0]>>>1]),o=_(o=A(o,[4283543511,3981806797]),[0,o[0]>>>1]),_(o=A(o,[3301882366,444984403]),[0,o[0]>>>1])}function At(o){return parseInt(o)}function kt(o){return parseFloat(o)}function dt(o,p){var a=r;return a(282)==typeof o&&isNaN(o)?p:o}function mt(o){return o.reduce(function(p,a){return p+(a?1:0)},0)}function Dt(o,p){var a=r;if(p===void 0&&(p=1),Math[a(591)](p)>=1)return Math.round(o/p)*p;var n=1/p;return Math[a(255)](o*n)/n}function Et(o){return o&&typeof o=="object"&&"message"in o?o:{message:o}}function Na(o,p,a){var n=r,h=Object[n(168)](o)[n(592)](function(g){return!function(P,x){for(var f=M,S=0,E=P[f(506)];S<E;++S)if(P[S]===x)return!0;return!1}(a,g)}),l=ot(h,function(g){return function(P,x){var f=new Promise(function(S){var E=M,L=Date[E(622)]();ut(P[E(724)](null,x),function(){for(var N=E,U=[],j=0;j<arguments[N(506)];j++)U[j]=arguments[j];var tt=Date[N(622)]()-L;if(!U[0])return S(function(){return{error:Et(U[1]),duration:tt}});var nt=U[1];if(function(ct){return typeof ct!="function"}(nt))return S(function(){return{value:nt,duration:tt}});S(function(){return new Promise(function(ct){var it=M,xt=Date[it(622)]();ut(nt,function(){for(var Pt=it,It=[],Ct=0;Ct<arguments[Pt(506)];Ct++)It[Ct]=arguments[Ct];var _t=tt+Date[Pt(622)]()-xt;if(!It[0])return ct({error:Et(It[1]),duration:_t});ct({value:It[1],duration:_t})})})})})});return Y(f),function(){var S=M;return f[S(444)](function(E){return E()})}}(o[g],p)});return Y(l),function(){return lt(this,void 0,void 0,function(){var g,P,x,f;return ht(this,function(S){var E=M;switch(S[E(280)]){case 0:return[4,l];case 1:return[4,ot(S[E(461)](),function(L){var N=L();return Y(N),N})];case 2:return g=S[E(461)](),[4,Promise[E(825)](g)];case 3:for(P=S.sent(),x={},f=0;f<h[E(506)];++f)x[h[f]]=P[f];return[2,x]}})})}}function ki(){var o=r,p=window,a=navigator;return mt([o(159)in p,"msSetImmediate"in p,o(525)in p,"msMaxTouchPoints"in a,"msPointerEnabled"in a])>=4}function he(){var o=r,p=window,a=navigator;return mt([o(785)in a,o(130)in a,a.vendor[o(678)](o(820))===0,o(646)in p,"BatteryManager"in p,"webkitMediaStream"in p,o(727)in p])>=5}function zt(){var o=r,p=window,a=navigator;return mt([o(717)in p,"CSSPrimitiveValue"in p,"Counter"in p,a[o(497)][o(678)](o(754))===0,o(672)in a,"WebKitMediaKeys"in p])>=4}function le(){var o=r,p=window;return mt([o(866)in p,!(o(192)in p),!("ongestureend"in p),!(o(815)in navigator)])>=3}function Va(){var o=r,p=document;return(p.exitFullscreen||p[o(707)]||p[o(301)]||p[o(742)])[o(560)](p)}function yi(){var o=r,p=he(),a=function(){var h=M,l,g,P=window;return mt([h(576)in navigator,h(737)in((g=(l=document[h(662)])===null||l===void 0?void 0:l[h(577)])!==null&&g!==void 0?g:{}),h(217)in P,"mozInnerScreenX"in P,h(810)in P,h(411)in P])>=4}();if(!p&&!a)return!1;var n=window;return mt([o(549)in n,o(174)in n,p&&!("SharedWorker"in n),a&&/android/i.test(navigator[o(284)])])>=2}function Ii(o){var p=r,a=new Error(o);return a[p(798)]=o,a}function Pi(o,p,a){var n,h,l;return a===void 0&&(a=50),lt(this,void 0,void 0,function(){var g,P;return ht(this,function(x){var f=M;switch(x[f(280)]){case 0:g=document,x[f(280)]=1;case 1:return g.body?[3,3]:[4,X(a)];case 2:return x.sent(),[3,1];case 3:P=g[f(534)](f(440)),x[f(280)]=4;case 4:return x.trys.push([4,,10,11]),[4,new Promise(function(S,E){var L=f,N=!1,U=function(){N=!0,S()};P[L(701)]=U,P[L(559)]=function(nt){N=!0,E(nt)};var j=P[L(577)];j[L(368)]("display","block","important"),j[L(310)]=L(306),j.top="0",j[L(519)]="0",j[L(490)]="hidden",p&&L(260)in P?P[L(260)]=p:P[L(363)]=L(723),g.body[L(644)](P);var tt=function(){var nt=L,ct,it;N||(nt(813)===((it=(ct=P.contentWindow)===null||ct===void 0?void 0:ct.document)===null||it===void 0?void 0:it[nt(512)])?U():setTimeout(tt,10))};tt()})];case 5:x[f(461)](),x.label=6;case 6:return!((h=(n=P.contentWindow)===null||n===void 0?void 0:n[f(202)])===null||h===void 0)&&h[f(257)]?[3,8]:[4,X(a)];case 7:return x[f(461)](),[3,6];case 8:return[4,o(P,P.contentWindow)];case 9:return[2,x[f(461)]()];case 10:return(l=P[f(892)])===null||l===void 0||l[f(395)](P),[7];case 11:return[2]}})})}function Fa(o){for(var p=r,a=function(S){for(var E=M,L,N,U=E(743)[E(690)](S,"'"),j=/^\s*([a-z-]*)(.*)$/i[E(462)](S),tt=j[1]||void 0,nt={},ct=/([.:#][\w-]+|\[.+?\])/gi,it=function(Ct,_t){var Zt=E;nt[Ct]=nt[Ct]||[],nt[Ct][Zt(304)](_t)};){var xt=ct.exec(j[2]);if(!xt)break;var Pt=xt[0];switch(Pt[0]){case".":it(E(719),Pt[E(317)](1));break;case"#":it("id",Pt.slice(1));break;case"[":var It=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(Pt);if(!It)throw new Error(U);it(It[1],(N=(L=It[4])!==null&&L!==void 0?L:It[5])!==null&&N!==void 0?N:"");break;default:throw new Error(U)}}return[tt,nt]}(o),n=a[0],h=a[1],l=document[p(534)](n??"div"),g=0,P=Object[p(168)](h);g<P[p(506)];g++){var x=P[g],f=h[x][p(381)](" ");p(577)===x?qa(l[p(577)],f):l[p(597)](x,f)}return l}function qa(o,p){for(var a=r,n=0,h=p[a(914)](";");n<h[a(506)];n++){var l=h[n],g=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(l);if(g){var P=g[1],x=g[2],f=g[4];o.setProperty(P,x,f||"")}}}var Ht=[r(330),r(115),r(367)],Si=["sans-serif-thin",r(566),r(186),"Arabic Typesetting",r(769),"AvantGarde Bk BT","BankGothic Md BT",r(780),r(404),r(563),r(671),r(673),r(696),r(537),"Franklin Gothic",r(609),r(812),r(614),r(290),"HELV",r(545),"Helvetica Neue","Humanst521 BT",r(776),r(854),r(230),r(238),"Lucida Sans",r(703),r(285),r(448),"MS Reference Specialty",r(423),r(655),r(358),r(371),r(482),r(267),r(315),r(354),"PMingLiU","Pristina","SCRIPTINA",r(759),r(119),"SimHei",r(891),r(642),"TRAJAN PRO","Univers CE 55 Medium",r(539),r(770)];function de(o){var p=r;return o[p(524)]()}var Jt,me;function ue(){var o=r,p=screen;return[dt(kt(p.availTop),null),dt(kt(p[o(364)])-kt(p[o(263)])-dt(kt(p[o(140)]),0),null),dt(kt(p.height)-kt(p[o(409)])-dt(kt(p[o(918)]),0),null),dt(kt(p[o(140)]),null)]}function xe(o){for(var p=0;p<4;++p)if(o[p])return!1;return!0}function Ua(o){var p;return lt(this,void 0,void 0,function(){var a,n,h,l,g,P,x;return ht(this,function(f){var S=M;switch(f[S(280)]){case 0:for(a=document,n=a[S(534)](S(406)),h=new Array(o[S(506)]),l={},Ti(n),x=0;x<o[S(506)];++x)S(529)===(g=Fa(o[x]))[S(698)]&&g.show(),Ti(P=a.createElement(S(406))),P[S(644)](g),n.appendChild(P),h[x]=g;f.label=1;case 1:return a[S(257)]?[3,3]:[4,X(50)];case 2:return f[S(461)](),[3,1];case 3:a[S(257)][S(644)](n);try{for(x=0;x<o.length;++x)h[x][S(244)]||(l[o[x]]=!0)}finally{(p=n.parentNode)===null||p===void 0||p[S(395)](n)}return[2,l]}})})}function Ti(o){var p=r;o[p(577)].setProperty("display","block","important")}function Di(o){var p=r;return matchMedia(p(251).concat(o,")"))[p(292)]}function Ei(o){var p=r;return matchMedia("(forced-colors: "[p(690)](o,")"))[p(292)]}function Mt(o){var p=r;return matchMedia(p(579)[p(690)](o,")"))[p(292)]}function Ci(o){var p=r;return matchMedia(p(135).concat(o,")"))[p(292)]}function Bi(o){var p=r;return matchMedia(p(805)[p(690)](o,")"))[p(292)]}var rt=Math,yt=function(){return 0},ge={default:[],apple:[{font:r(859)}],serif:[{fontFamily:r(367)}],sans:[{fontFamily:r(115)}],mono:[{fontFamily:r(330)}],min:[{fontSize:r(321)}],system:[{fontFamily:r(246)}]},za={fonts:function(){return Pi(function(o,p){var a=M,n=p[a(202)],h=n.body;h[a(577)][a(116)]=a(376);var l=n[a(534)](a(406)),g={},P={},x=function(L){var N=a,U=n[N(534)](N(744)),j=U[N(577)];return j[N(310)]=N(306),j[N(850)]="0",j[N(519)]="0",j[N(141)]=L,U[N(837)]="mmMwWLliI0O&1",l[N(644)](U),U},f=Ht.map(x),S=function(){for(var L={},N=function(tt){var nt=M;L[tt]=Ht[nt(762)](function(ct){return function(it,xt){var Pt=M;return x("'"[Pt(690)](it,"',")[Pt(690)](xt))}(tt,ct)})},U=0,j=Si;U<j.length;U++)N(j[U]);return L}();h.appendChild(l);for(var E=0;E<Ht[a(506)];E++)g[Ht[E]]=f[E][a(451)],P[Ht[E]]=f[E][a(211)];return Si[a(592)](function(L){var N=a;return U=S[L],Ht[N(902)](function(j,tt){var nt=N;return U[tt][nt(451)]!==g[j]||U[tt][nt(211)]!==P[j]});var U})})},domBlockers:function(o){var p=(o===void 0?{}:o).debug;return lt(this,void 0,void 0,function(){var a,n,h,l,g;return ht(this,function(P){var x=M;switch(P[x(280)]){case 0:return zt()||yi()?(f=atob,a={abpIndo:[x(739),x(695),"#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',f(x(638))],abpvn:[".quangcao",x(718),f("LmNsb3NlLWFkcw=="),x(748),"#pmadv"],adBlockFinland:[x(443),f(x(682)),".ylamainos",f(x(481)),f(x(279))],adBlockPersian:[x(760),x(295),x(262),"#divAgahi",f(x(722))],adBlockWarningRemoval:[x(767),x(437),x(898),f(x(166)),f(x(199))],adGuardAnnoyances:[x(143),"#cookieconsentdiv",x(808),x(124),x(312)],adGuardBase:[x(386),f("I2FkXzMwMFgyNTA="),f(x(128)),f("I2NhbXBhaWduLWJhbm5lcg=="),f("I0FkLUNvbnRlbnQ=")],adGuardChinese:[f(x(351)),f(x(886)),x(843),f(x(797)),f(x(541))],adGuardFrench:[x(504),f(x(382)),x(155),".widgetadv",f(x(169))],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:[x(540),f(x(809)),f(x(702)),f("LmFkZ29vZ2xl"),f(x(137))],adGuardMobile:[f(x(346)),f(x(643)),x(242),"#mgid_iframe1",f(x(657))],adGuardRussian:[f(x(618)),f(x(781)),x(344),f(x(864)),x(604)],adGuardSocial:[f(x(731)),f(x(832)),".etsy-tweet",x(436),x(307)],adGuardSpanishPortuguese:[x(212),x(819),"#publiEspecial",x(431),x(308)],adGuardTrackingProtection:[x(325),f(x(305)),f(x(801)),f(x(875)),x(117)],adGuardTurkish:[x(421),f(x(851)),f(x(829)),f(x(164)),f(x(751))],bulgarian:[f(x(144)),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[x(299),f(x(181)),f(x(403)),x(894),f(x(846))],easyListChina:[f("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),f(x(602)),"#taotaole",x(227),x(740)],easyListCookie:[x(503),x(139),"[data-cookie-number]",f(x(177)),x(345)],easyListCzechSlovak:[x(228),f(x(265)),f("LnJla2xhbWEtbWVnYWJvYXJk"),x(283),f(x(520))],easyListDutch:[f(x(569)),f(x(379)),x(924),f("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:[x(527),f(x(745)),f(x(508)),f(x(222)),f(x(147))],easyListItaly:[f(x(483)),x(620),f(x(455)),f(x(726)),f("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[f(x(231)),f(x(833)),f(x(664)),f("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),f(x(387))],estonian:[f(x(552))],fanboyAnnoyances:[x(533),x(157),x(554),".newsletter_holder",x(676)],fanboyAntiFacebook:[x(903)],fanboyEnhancedTrackers:[".open.pushModal",x(623),x(916),x(880),x(323)],fanboySocial:[x(775),x(329),x(200),x(322),x(526)],frellwitSwedish:[f("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),f("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),x(182),f(x(252)),"ul.adsmodern"],greekAdBlock:[f(x(904)),f(x(491)),f(x(687)),x(879),x(532)],hungarian:["#cemp_doboz",".optimonk-iframe-container",f(x(479)),f(x(913)),x(581)],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',x(276),x(804),x(721),x(580)],icelandicAbp:[f(x(347))],latvian:[f(x(297)),f(x(650))],listKr:[f(x(133)),f(x(923)),f(x(162)),f("aW5zLmZhc3R2aWV3LWFk"),x(668)],listeAr:[f(x(700)),".right-and-left-sponsers",f(x(884)),f("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),f(x(869))],listeFr:[f("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),f(x(357)),f(x(734)),x(651),x(571)],officialPolish:[x(412),f(x(477)),f(x(334)),f(x(466)),f(x(905))],ro:[f(x(237)),f("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),f("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),f(x(871)),x(908)],ruAd:[f(x(153)),f(x(122)),f(x(273)),x(206),".yandex-rtb-block"],thaiAds:[x(599),f(x(522)),f(x(788)),x(714),x(266)],webAnnoyancesUltralist:[x(316),x(777),f(x(920)),".zergnet-recommend",x(472)]},n=Object.keys(a),[4,Ua((g=[]).concat.apply(g,n[x(762)](function(S){return a[S]})))]):[2,void 0];case 1:return h=P[x(461)](),p&&function(S,E){for(var L=x,N=L(907),U=0,j=Object.keys(S);U<j.length;U++){var tt=j[U];N+=`
`[L(690)](tt,":");for(var nt=0,ct=S[tt];nt<ct[L(506)];nt++){var it=ct[nt];N+=L(595)[L(690)](E[it]?"\u{1F6AB}":"\u27A1\uFE0F"," ").concat(it)}}console[L(281)]("".concat(N,L(732)))}(a,h),(l=n[x(592)](function(S){var E=x,L=a[S];return mt(L.map(function(N){return h[N]}))>.6*L[E(506)]}))[x(733)](),[2,l]}var f})})},fontPreferences:function(){var o=r;return p===void 0&&(p=4e3),Pi(function(a,n){var h=M,l=n[h(202)],g=l[h(257)],P=g[h(577)];P[h(364)]=""[h(690)](p,"px"),P.webkitTextSizeAdjust=P[h(659)]="none",he()?g[h(577)][h(794)]=""[h(690)](1/n.devicePixelRatio):zt()&&(g[h(577)].zoom=h(550));var x=l[h(534)]("div");return x[h(837)]=st([],Array(p/20|0),!0)[h(762)](function(){var f=h;return f(796)})[h(381)](" "),g[h(644)](x),function(f,S){for(var E=h,L={},N={},U=0,j=Object[E(168)](ge);U<j[E(506)];U++){var tt=j[U],nt=ge[tt],ct=nt[0],it=ct===void 0?{}:ct,xt=nt[1],Pt=xt===void 0?E(827):xt,It=f[E(534)](E(744));It[E(837)]=Pt,It[E(577)][E(429)]=E(558);for(var Ct=0,_t=Object[E(168)](it);Ct<_t[E(506)];Ct++){var Zt=_t[Ct],Gi=it[Zt];Gi!==void 0&&(It[E(577)][Zt]=Gi)}L[tt]=It,S[E(644)](f[E(534)]("br")),S[E(644)](It)}for(var we=0,Oi=Object.keys(ge);we<Oi.length;we++)N[tt=Oi[we]]=L[tt].getBoundingClientRect()[E(364)];return N}(l,g)},o(799));var p},audio:function(){var o=r,p=window,a=p[o(458)]||p[o(706)];if(!a)return-2;if(zt()&&!le()&&!function(){var S=o,E=window;return mt([S(114)in E,"RTCPeerConnectionIceEvent"in E,S(617)in E,S(513)in E])>=3}())return-1;var n=new a(1,5e3,44100),h=n[o(772)]();h[o(816)]="triangle",h[o(167)][o(500)]=1e4;var l=n.createDynamicsCompressor();l[o(782)][o(500)]=-50,l[o(359)].value=40,l[o(328)][o(500)]=12,l.attack.value=0,l[o(789)][o(500)]=.25,h[o(209)](l),l[o(209)](n[o(335)]),h[o(460)](0);var g=function(S){var E=function(){};return[new Promise(function(L,N){var U=!1,j=0,tt=0;S.oncomplete=function(it){var xt=M;return L(it[xt(459)])};var nt=function(){var it=M;setTimeout(function(){var xt=M;return N(Ii(xt(247)))},Math[it(188)](500,tt+5e3-Date[it(622)]()))},ct=function(){var it=M;try{var xt=S.startRendering();switch(at(xt)&&Y(xt),S[it(603)]){case it(113):tt=Date[it(622)](),U&&nt();break;case it(289):document[it(132)]||j++,U&&j>=3?N(Ii(it(289))):setTimeout(ct,500)}}catch(Pt){N(Pt)}};ct(),E=function(){U||(U=!0,tt>0&&nt())}}),E]}(n),P=g[0],x=g[1],f=P[o(444)](function(S){var E=o;return function(L){for(var N=M,U=0,j=0;j<L[N(506)];++j)U+=Math[N(591)](L[j]);return U}(S[E(634)](0)[E(598)](4500))},function(S){var E=o;if(S[E(798)]==="timeout"||E(289)===S.name)return-3;throw S});return Y(f),function(){return x(),f}},screenFrame:function(){var o=this,p=function(){var a=this;return function(){if(me===void 0){var n=function(){var h=ue();xe(h)?me=setTimeout(n,2500):(Jt=h,me=void 0)};n()}}(),function(){return lt(a,void 0,void 0,function(){var n;return ht(this,function(h){var l=M;switch(h.label){case 0:return xe(n=ue())?Jt?[2,st([],Jt,!0)]:(g=document)[l(926)]||g[l(901)]||g.mozFullScreenElement||g.webkitFullscreenElement?[4,Va()]:[3,2]:[3,2];case 1:h[l(461)](),n=ue(),h[l(280)]=2;case 2:return xe(n)||(Jt=n),[2,n]}var g})})}}();return function(){return lt(o,void 0,void 0,function(){var a,n;return ht(this,function(h){var l=M;switch(h.label){case 0:return[4,p()];case 1:return a=h[l(461)](),[2,[(n=function(g){return g===null?null:Dt(g,10)})(a[0]),n(a[1]),n(a[2]),n(a[3])]]}})})}},osCpu:function(){var o=r;return navigator[o(272)]},languages:function(){var o=r,p,a=navigator,n=[],h=a.language||a[o(201)]||a[o(191)]||a[o(842)];if(h!==void 0&&n[o(304)]([h]),Array[o(915)](a[o(494)]))he()&&mt([!(o(470)in(p=window)),"RTCEncodedAudioFrame"in p,""+p[o(547)]==o(845),""+p[o(388)]==o(390)])>=3||n[o(304)](a[o(494)]);else if(o(264)==typeof a[o(494)]){var l=a[o(494)];l&&n[o(304)](l[o(914)](","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return dt(kt(navigator.deviceMemory),void 0)},screenResolution:function(){var o=r,p=screen,a=function(h){return dt(At(h),null)},n=[a(p[o(364)]),a(p.height)];return n[o(733)]()[o(836)](),n},hardwareConcurrency:function(){var o=r;return dt(At(navigator[o(857)]),void 0)},timezone:function(){var o=r,p,a=(p=window.Intl)===null||p===void 0?void 0:p[o(465)];if(a){var n=new a()[o(294)]()[o(407)];if(n)return n}var h,l=(h=new Date()[o(606)](),-Math[o(428)](kt(new Date(h,0,1)[o(120)]()),kt(new Date(h,6,1)[o(120)]())));return o(236)[o(690)](l>=0?"+":"").concat(Math[o(591)](l))},sessionStorage:function(){var o=r;try{return!!window[o(790)]}catch{return!0}},localStorage:function(){var o=r;try{return!!window[o(172)]}catch{return!0}},indexedDB:function(){var o=r,p,a;if(!(ki()||(p=window,a=navigator,mt(["msWriteProfilerMark"in p,o(193)in p,o(909)in a,o(256)in a])>=3&&!ki())))try{return!!window[o(639)]}catch{return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){var o=r;return navigator[o(495)]},platform:function(){var o=r,p=navigator.platform;return o(863)===p&&zt()&&!le()?function(){var a=o;if(a(189)===navigator[a(895)])return!0;var n=screen,h=n[a(364)]/n[a(601)];return mt([a(365)in window,!!Element.prototype[a(224)],h>.65&&h<1.53])>=2}()?"iPad":o(660):p},plugins:function(){var o=r,p=navigator[o(397)];if(p){for(var a=[],n=0;n<p.length;++n){var h=p[n];if(h){for(var l=[],g=0;g<h[o(506)];++g){var P=h[g];l.push({type:P[o(816)],suffixes:P[o(248)]})}a.push({name:h[o(798)],description:h.description,mimeTypes:l})}}return a}},canvas:function(){var o=r,p,a,n=!1,h=function(){var x=M,f=document[x(534)]("canvas");return f.width=1,f[x(601)]=1,[f,f[x(337)]("2d")]}(),l=h[0],g=h[1];if(function(x,f){return!(!f||!x.toDataURL)}(l,g)){n=function(x){var f=M;return x[f(136)](0,0,10,10),x[f(136)](2,2,6,6),!x.isPointInPath(5,5,f(380))}(g),function(x,f){var S=M;x.width=240,x[S(601)]=60,f[S(476)]="alphabetic",f.fillStyle=S(849),f[S(553)](100,1,62,20),f[S(750)]=S(752),f[S(630)]='11pt "Times New Roman"';var E="Cwm fjordbank gly "[S(690)](String[S(171)](55357,56835));f[S(586)](E,2,15),f.fillStyle="rgba(102, 204, 0, 0.2)",f[S(630)]=S(800),f[S(586)](E,4,45)}(l,g);var P=de(l);P!==de(l)?p=a=o(649):(a=P,function(x,f){var S=o;x[S(364)]=122,x[S(601)]=110,f.globalCompositeOperation=S(637);for(var E=0,L=[[S(693),40,40],[S(401),80,40],["#ff2",60,80]];E<L[S(506)];E++){var N=L[E],U=N[0],j=N[1],tt=N[2];f.fillStyle=U,f[S(233)](),f[S(501)](j,tt,40,0,2*Math.PI,!0),f[S(516)](),f[S(208)]()}f[S(750)]=S(616),f.arc(60,60,60,0,2*Math.PI,!0),f[S(501)](60,60,20,0,2*Math.PI,!0),f.fill(S(380))}(l,g),p=de(l))}else p=a="";return{winding:n,geometry:p,text:a}},touchSupport:function(){var o=r,p,a=navigator,n=0;a[o(413)]!==void 0?n=At(a[o(413)]):a.msMaxTouchPoints!==void 0&&(n=a.msMaxTouchPoints);try{document.createEvent("TouchEvent"),p=!0}catch{p=!1}return{maxTouchPoints:n,touchEvent:p,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var o=r,p=[],a=0,n=[o(749),o(866),o(502),o(487),"yandex",o(226),o(852),o(562),o(261),o(175),"oprt",o(326),"ucweb",o(582),o(625)];a<n.length;a++){var h=n[a],l=window[h];l&&o(121)==typeof l&&p[o(304)](h)}return p[o(733)]()},cookiesEnabled:function(){var o=r,p=document;try{p.cookie=o(883);var a=p[o(830)][o(678)](o(725))!==-1;return p[o(830)]=o(773),a}catch{return!1}},colorGamut:function(){for(var o=r,p=0,a=[o(786),"p3",o(822)];p<a[o(506)];p++){var n=a[p];if(matchMedia(o(667).concat(n,")"))[o(292)])return n}},invertedColors:function(){var o=r;return!!Di("inverted")||!Di(o(419))&&void 0},forcedColors:function(){return!!Ei("active")||!Ei("none")&&void 0},monochrome:function(){var o=r;if(matchMedia(o(689))[o(292)]){for(var p=0;p<=100;++p)if(matchMedia(o(629)[o(690)](p,")"))[o(292)])return p;throw new Error(o(593))}},contrast:function(){var o=r;return Mt(o(398))?0:Mt(o(589))||Mt(o(198))?1:Mt(o(862))||Mt(o(180))?-1:Mt(o(889))?10:void 0},reducedMotion:function(){var o=r;return!!Ci(o(399))||!Ci("no-preference")&&void 0},hdr:function(){var o=r;return!!Bi("high")||!Bi(o(269))&&void 0},math:function(){var o=r,p,a=rt[o(417)]||yt,n=rt.acosh||yt,h=rt[o(626)]||yt,l=rt[o(868)]||yt,g=rt[o(195)]||yt,P=rt[o(176)]||yt,x=rt[o(343)]||yt,f=rt.sinh||yt,S=rt[o(154)]||yt,E=rt[o(489)]||yt,L=rt[o(271)]||yt,N=rt.tanh||yt,U=rt[o(197)]||yt,j=rt[o(447)]||yt,tt=rt[o(802)]||yt;return{acos:a(.12312423423423424),acosh:n(1e308),acoshPf:(p=1e154,rt[o(281)](p+rt.sqrt(p*p-1))),asin:h(.12312423423423424),asinh:l(1),asinhPf:rt.log(1+rt[o(507)](2)),atanh:g(.5),atanhPf:rt[o(281)](3)/2,atan:P(.5),sin:x(-1e300),sinh:f(1),sinhPf:rt[o(197)](1)-1/rt[o(197)](1)/2,cos:S(10.000000000123),cosh:E(1),coshPf:(rt.exp(1)+1/rt[o(197)](1))/2,tan:L(-1e300),tanh:N(1),tanhPf:(rt[o(197)](2)-1)/(rt[o(197)](2)+1),exp:U(1),expm1:j(1),expm1Pf:rt[o(197)](1)-1,log1p:tt(10),log1pPf:rt[o(281)](11),powPI:rt[o(841)](rt.PI,-100)}},videoCard:function(){var o=r,p,a=document[o(534)](o(542)),n=(p=a[o(337)](o(538)))!==null&&p!==void 0?p:a.getContext(o(370));if(n&&o(753)in n){var h=n[o(753)](o(268));if(h)return{vendor:(n[o(681)](h[o(645)])||"")[o(221)](),renderer:(n[o(681)](h.UNMASKED_RENDERER_WEBGL)||"")[o(221)]()}}},pdfViewerEnabled:function(){var o=r;return navigator[o(885)]},architecture:function(){var o=r,p=new Float32Array(1),a=new Uint8Array(p[o(161)]);return p[0]=1/0,p[0]=p[0]-p[0],a[3]}},$a="";function Wi(o){var p=r;return JSON[p(468)](o,function(a,n){var h=p;return n instanceof Error?et({name:(l=n)[h(798)],message:l[h(187)],stack:(g=l[h(349)])===null||g===void 0?void 0:g[h(914)](`
`)},l):n;var l,g},2)}function Li(o){return function(p,a){var n=M;a=a||0;var h,l=(p=p||"")[n(506)]%16,g=p[n(506)]-l,P=[0,a],x=[0,a],f=[0,0],S=[0,0],E=[2277735313,289559509],L=[1291169091,658871167];for(h=0;h<g;h+=16)f=[255&p[n(628)](h+4)|(255&p[n(628)](h+5))<<8|(255&p.charCodeAt(h+6))<<16|(255&p[n(628)](h+7))<<24,255&p[n(628)](h)|(255&p[n(628)](h+1))<<8|(255&p.charCodeAt(h+2))<<16|(255&p[n(628)](h+3))<<24],S=[255&p[n(628)](h+12)|(255&p[n(628)](h+13))<<8|(255&p[n(628)](h+14))<<16|(255&p[n(628)](h+15))<<24,255&p.charCodeAt(h+8)|(255&p.charCodeAt(h+9))<<8|(255&p[n(628)](h+10))<<16|(255&p[n(628)](h+11))<<24],f=H(f=A(f,E),31),P=gt(P=H(P=_(P,f=A(f,L)),27),x),P=gt(A(P,[0,5]),[0,1390208809]),S=H(S=A(S,L),33),x=gt(x=H(x=_(x,S=A(S,E)),31),P),x=gt(A(x,[0,5]),[0,944331445]);switch(f=[0,0],S=[0,0],l){case 15:S=_(S,G([0,p.charCodeAt(h+14)],48));case 14:S=_(S,G([0,p[n(628)](h+13)],40));case 13:S=_(S,G([0,p[n(628)](h+12)],32));case 12:S=_(S,G([0,p[n(628)](h+11)],24));case 11:S=_(S,G([0,p[n(628)](h+10)],16));case 10:S=_(S,G([0,p[n(628)](h+9)],8));case 9:S=A(S=_(S,[0,p[n(628)](h+8)]),L),x=_(x,S=A(S=H(S,33),E));case 8:f=_(f,G([0,p[n(628)](h+7)],56));case 7:f=_(f,G([0,p[n(628)](h+6)],48));case 6:f=_(f,G([0,p.charCodeAt(h+5)],40));case 5:f=_(f,G([0,p[n(628)](h+4)],32));case 4:f=_(f,G([0,p[n(628)](h+3)],24));case 3:f=_(f,G([0,p[n(628)](h+2)],16));case 2:f=_(f,G([0,p.charCodeAt(h+1)],8));case 1:f=A(f=_(f,[0,p[n(628)](h)]),E),P=_(P,f=A(f=H(f,31),L))}return P=gt(P=_(P,[0,p[n(506)]]),x=_(x,[0,p[n(506)]])),x=gt(x,P),P=gt(P=Rt(P),x=Rt(x)),x=gt(x,P),(n(578)+(P[0]>>>0).toString(16))[n(317)](-8)+(n(578)+(P[1]>>>0)[n(221)](16))[n(317)](-8)+(n(578)+(x[0]>>>0)[n(221)](16))[n(317)](-8)+(n(578)+(x[1]>>>0)[n(221)](16))[n(317)](-8)}(function(p){for(var a=M,n="",h=0,l=Object[a(168)](p).sort();h<l.length;h++){var g=l[h],P=p[g],x=P[a(535)]?"error":JSON[a(468)](P[a(500)]);n+="".concat(n?"|":"")[a(690)](g[a(463)](/([:|\\])/g,"\\$1"),":").concat(x)}return n}(o))}function ja(o){return o===void 0&&(o=50),function(p,a){var n=M;a===void 0&&(a=1/0);var h=window[n(131)];return h?new Promise(function(l){var g=n;return h[g(560)](window,function(){return l()},{timeout:a})}):X(Math[n(188)](p,a))}(o,2*o)}function Ka(o,p){var a=r,n=Date[a(622)]();return{get:function(h){return lt(this,void 0,void 0,function(){var l,g,P;return ht(this,function(x){var f=M;switch(x.label){case 0:return l=Date[f(622)](),[4,o()];case 1:return g=x[f(461)](),P=function(S){var E=f,L,N=function(U){var j=M,tt=function(ct){var it=M;if(yi())return.4;if(zt())return le()?.5:.3;var xt=ct.platform[it(500)]||"";return/^Win/[it(648)](xt)?.6:/^Mac/.test(xt)?.5:.7}(U),nt=function(ct){return Dt(.99+.01*ct,1e-4)}(tt);return{score:tt,comment:$a[j(463)](/\$/g,""[j(690)](nt))}}(S);return{get visitorId(){var U=M;return L===void 0&&(L=Li(this[U(844)])),L},set visitorId(U){L=U},confidence:N,components:S,version:E(768)}}(g),(p||h?.[f(331)])&&console.log(f(138).concat(P[f(835)],f(870)).concat(navigator[f(765)],f(647))[f(690)](l-n,f(391)).concat(P[f(396)],f(729))[f(690)](Wi(g),f(732))),[2,P]}})})}}}var fe,Ja={load:function(o){var p=r,a=o===void 0?{}:o,n=a.delayFallback,h=a[p(331)],l=a.monitoring,g=l===void 0||l;return lt(this,void 0,void 0,function(){return ht(this,function(P){var x=M;switch(P[x(280)]){case 0:return g&&(void 0)(),[4,ja(n)];case 1:return P[x(461)](),[2,Ka(Na(za,{debug:h},[]),h)]}})})},hashComponents:Li,componentsToDebugString:Wi},Za=function(){function o(){}return o.generate=function(){return lt(this,void 0,void 0,function(){return ht(this,function(p){var a=M;switch(p[a(280)]){case 0:return[4,Ja[a(919)]({monitoring:!1})];case 1:return[2,p.sent()[a(861)]()]}})})},o}();(function(o){var p=r;o[p(402)]=p(433),o[p(148)]=p(484),o[p(361)]="warn"})(fe||(fe={}));var Xa=function(){var o=r;function p(a){var n=M;this.config=a,this[n(405)]=null,this[n(652)]=null,this.config[n(704)]=this.config.context||window,this[n(216)][n(521)]=this[n(216)][n(521)]||890857896}return p[o(705)][o(446)]=function(a){return lt(this,arguments,void 0,function(n,h,l){var g=this;return h===void 0&&(h=""),l===void 0&&(l=!0),ht(this,function(P){var x=M;return[2,new Promise(function(f,S){var E=M;if(g[E(652)]&&l)return f(g[E(652)]);var L={instance:g[E(216)][E(521)],source:n},N=g[E(216)].widgetPrefix+"AnuraCallback";L.callback=N,g.config[E(704)][N]=function(j){var tt=E;return j.getError()||!j[tt(828)]()&&!j[tt(661)]()?S(new Error("Anura response error: "+j[tt(897)]())):f(j)},h!==""&&(L.campaign=h);var U=k[E(258)](L)+"&"+new Date().getTime();g.loadScript(U)[E(488)](S)})[x(444)](function(f){var S=x;return g[S(652)]=f,f})]})})},p[o(705)].fetchStatus=function(a){return lt(this,void 0,void 0,function(){var n,h,l,g=this;return ht(this,function(P){var x=M;return this[x(405)]?[2,this.status]:(n={instance:this[x(216)][x(521)]},(h=a[x(828)]())&&(n.id=encodeURIComponent(h)),(l=a[x(661)]())&&(n[x(807)]=encodeURIComponent(l)),[2,new Promise(function(f,S){var E=x,L=new XMLHttpRequest;L[E(685)](E(831),p[E(584)],!0),L.setRequestHeader(E(795),E(716)),L.onload=function(){var N=E,U;try{U=JSON[N(205)](this[N(422)])}catch{return void S(new Error("Anura response cannot parse: "+this.response))}U[N(652)]?f(U.result):S(new Error(N(791)+this.response))},L.send(k[E(258)](n))})[x(444)](function(f){return g.status=f,f})])})})},p[o(705)][o(590)]=function(a){var n=this;return new Promise(function(h,l){var g=M,P=n[g(216)][g(704)][g(202)][g(534)](g(434));P[g(816)]=g(899),P[g(190)]=!0,P[g(363)]=p[g(278)]+"?"+a,P[g(701)]=function(){return h()},P[g(559)]=function(){var x=g;return l(new Error(x(350)))},n[g(216)][g(704)][g(202)][g(257)][g(644)](P)})},p.REQUEST_URL=o(613),p[o(584)]="https://script.anura.io/result.json",p}(),Ai=Xa,_i=function(){var o=r;function p(a){var n=M;this[n(216)]=a,this[n(216)].context=this[n(216)].context||window}return p.prototype[o(446)]=function(a){var n=o,h=this[n(216)].context.document[n(534)]("img"),l={clid:p.MGID,paid:p[n(210)],avid:p[n(353)],caid:p.DEFAULT,plid:a.plid,publisherId:a[n(441)],siteId:a.siteId,kv1:a[n(111)],kv2:window.location[n(708)],kv3:a[n(439)],kv4:p[n(353)],kv5:a.kv5,kv6:a[n(254)]||p.AFRD_CLICK,kv7:a[n(710)],kv11:a[n(665)],kv12:a[n(341)],kv24:this[n(320)]()?p.PLATFORM_MOBILE:p.PLATFORM_DESKTOP,kv27:encodeURIComponent(navigator[n(765)])},g=k[n(258)](l);h[n(363)]=p[n(243)]+"?"+g,this[n(216)][n(704)][n(202)].body.appendChild(h)},p[o(705)][o(320)]=function(){var a=o,n=navigator[a(765)];return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[a(648)](n)},p.URL=o(457),p[o(210)]="mgid",p.DEFAULT="-",p[o(787)]=o(766),p[o(677)]=o(493),p[o(332)]=o(277),p}(),Qa=function(){var o=r;function p(a){var n=M;this[n(704)]=a}return p[o(705)][o(663)]=function(a,n){var h=o;h(758)==typeof navigator[h(464)]?this[h(464)](a,n):this[h(826)](a,n)},p.prototype.sendImage=function(a,n){var h=o;this[h(704)][h(534)](h(303))[h(363)]=a+"?"+k.buildQueryParams(n)},p[o(705)].sendBeacon=function(a,n){var h=o;try{navigator[h(464)](a+"?"+k[h(258)](n))}catch{this[h(826)](a,n)}},p}(),Ya=function(){var o=r;function p(a){var n=M;this[n(442)]={},this.sharedCookieStorage={},this[n(704)]=a[n(704)]||window,this.id=a.id;var h=a.storagePrefix||"Mgid",l=a[n(467)]||n(170),g=this[n(704)][l+n(435)]?this[n(704)][l+n(435)]:"";this[n(454)]=h+n(173)+g}return p[o(705)].getCookie=function(){var a=o,n=this[a(779)]();n[this.id]!==void 0?this[a(442)]=n[this.id]:this.cookieStorage={},n[0]!==void 0?this.sharedCookieStorage=n[0]:this[a(375)]={}},p[o(705)].setCookie=function(){var a=o,n=this.getCookieValue();n[this.id]=this.cookieStorage,n[0]=this[a(375)];var h=encodeURIComponent(JSON.stringify(n));this.context[a(202)][a(830)]=this.storageName+"="+h+a(452)},p.prototype[o(779)]=function(){var a=o,n=this[a(704)][a(202)][a(830)].match(new RegExp(a(151)+this[a(454)]+"=([^;]*)")),h={};if(n)try{h=JSON[a(205)](decodeURIComponent(n[1]))}catch{}return h},p}(),tr=function(){var o=r;function p(a){var n=M;this[n(855)]=a,this[n(596)]="",this[n(214)]=[],this[n(485)]=new R(new Q({id:p.id,modulePrefix:p.modulePrefix,cookieStorage:new Ya({id:p.id,context:window}),browserProperties:a[n(783)]})),this[n(567)]=new Ai({widgetPrefix:p[n(530)],context:window}),this[n(179)]=new Qa(window[n(202)]),this[n(183)]=new _i({context:window})}return p[o(705)][o(555)]=function(){var a=o;this[a(855)][a(632)]&&this.options[a(531)]&&this[a(219)](this[a(855)][a(298)]),this[a(855)][a(600)]&&Object[a(168)](this.options.pixalateData)[a(506)]>0&&this[a(183)][a(446)](this[a(855)][a(600)]),this[a(485)][a(756)](),this[a(666)]()},p[o(705)][o(746)]=function(a,n){var h=o,l=n[h(708)][h(678)]("?k="),g=n[h(708)][h(678)](h(803)),P=n[h(708)].indexOf("?");l!==-1?n[h(708)]=n[h(708)][h(876)](0,l):g!==-1&&(n[h(708)]=n[h(708)][h(876)](0,g)),this.afRealHref=n[h(708)],this.afActiveEl=n,n[h(708)]+=l===-1&&P!==-1?"&":"?";var x=this[h(485)][h(235)](a,n,this[h(855)].showHash);n.href+="k="+this[h(855)][h(823)]+"f"+x,this[h(574)](n,h(392))},p[o(705)].initAntiFraud=function(){var a=o,n=this;this[a(215)](document[a(641)]("a")),setTimeout(function(){var h=a;return n[h(666)]()},750)},p[o(705)][o(215)]=function(a){for(var n=o,h=/(ghits|[prt]+news|nr)/i,l=0;l<a.length;l++){var g=a[l];this[n(214)][n(678)](g)===-1&&h[n(648)](g[n(708)])&&(this[n(214)].push(g),this[n(496)](g,n(658),y[n(505)]),this.bindEvent(g,n(393),y[n(469)]),this[n(496)](g,"mouseover",y[n(720)]),this[n(496)](g,"mousemove",y[n(400)]),this[n(496)](g,n(449),y.TouchStart),this[n(496)](g,n(573),y.TouchEnd),this[n(496)](g,n(736),y[n(408)]))}this[n(485)][n(735)]()},p[o(705)][o(496)]=function(a,n,h){var l=o,g=this;T[l(318)](a,n,function(P){var x=l;return g[x(619)](P,a,h)})},p.prototype.handleLinkEvent=function(a,n,h){var l=o,g=this;if(this.bindAntiFraudParams(a,n),this[l(485)][l(339)](h),h===y[l(469)]){if(this[l(855)][l(632)]){var P=n.getAttribute(l(414))||this[l(855)][l(298)];this.sendAnura(P)}setTimeout(function(){var x=l;return g[x(232)]()},100)}},p[o(705)][o(574)]=function(a,n){var h=o,l=document[h(585)](h(492));l[h(142)](n,!0,!1),l[h(778)]=Date[h(622)](),a.dispatchEvent(l)},p[o(705)].reWriteHref=function(){var a=o;this.afRealHref&&this[a(675)]&&(this.afActiveEl[a(708)]=this[a(596)])},p.prototype[o(219)]=function(a){return lt(this,void 0,void 0,function(){var n,h;return ht(this,function(l){var g=M;switch(l[g(280)]){case 0:return[4,this[g(567)][g(446)](this[g(855)][g(817)],this.options[g(223)])];case 1:return n=l[g(461)](),[4,this[g(567)].fetchStatus(n)];case 2:return h=l[g(461)](),this[g(179)][g(663)](this[g(855)][g(824)]+g(551),{composite:this[g(855)][g(823)],result:h,showHash:a}),[2]}})})},p.modulePrefix="Transit",p.id=o(203),p}()})(),ga[w(839)]=s})();function ne(){var w=["INCLUDES","tagName","add","LmdlbWluaUxCMUFk","onload","Ll9wb3BJbl9pbmZpbml0ZV9hZA==","Menlo","context","prototype","webkitOfflineAudioContext","msExitFullscreen","href","isValid","kv7","screenX","afPrimaryReferrer","DeviceOrientationEvent",".bumq","webkitConnection","application/x-www-form-urlencoded","ApplePayError","#mobileCatfish","class","MouseOver","#cookies-policy-sticky","YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd","about:blank","bind","cookietest=","YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd","webkitSpeechGrammar","getBattery",`
components: `,"NOT_EQUALS","YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0=","\n```","sort","YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0=","setWidgetEvents","focus","MozAppearance","isBrowserValid","#Iklan-Melayang",".cfa_popup","getRootNode","webkitExitFullscreen","Unexpected syntax '","span","LnNwb25zb3JsaW5rZ3J1ZW4=","bindAntiFraudParams","initializeBufferAndDomains",'[id^="bn_bottom_fixed_"]',"chrome","fillStyle","YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==","#069","getExtension","Apple","EXCLUDES","initialize","getCoordinatesClickOfPage","function","Segoe UI Light","#navbar_notice_50","charging","map","5qpTlBF","getCoordsElementOfPage","userAgent","Mobile_Web","#adblock-honeypot","3.4.2","Arial Unicode MS","ZWAdobeF","processReferrers","createOscillator","cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT","mozConnection","#FollowUs","Leelawadee","#social-tools","timeG","getCookieValue","Batang","LnJlY2xhbWE=","threshold","browserProperties","isSupportBlurEvent","webkitPersistentStorage","rec2020","PLATFORM_MOBILE","LmFkczMwMHM=","release","sessionStorage","Anura response wrong schema: ","bottom","GREATER_THAN","zoom","Content-type","word","YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd","name",'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">',"18pt Arial","YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0=","log1p","&k=",".o--cookies--container","(dynamic-range: ","afReferrer","exid",'div[class^="app_gdpr"]',"YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0=","CSSMozDocumentRule","navigator","Futura Md BT","complete","includes","standalone","type","source","isCookieEnabled","#Publicidade","Google","trimString","srgb","composite","sensorDomain","all","sendImage","mmMwWLliI0fiflO&1","getId","YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0=","cookie","POST","YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0=","LnJla2xhbW9zX251b3JvZG9z","addEventListener","version","reverse","textContent","pageY","exports","pop","pow","systemLanguage","#widget-quan","components","[object Intl]","LnNwb25zb3JlZC10ZXh0LWxpbmtz","Unknown rule: ","referrer","#f60","top","I3Jla2xhbWk=","__ybro","getPlugins","Letter Gothic","options","getCookie","hardwareConcurrency","sizes","-apple-system-body","removeItem","get","low","MacIntel","ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd","iterator","safari","getBoundingClientRect","asinh","YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd",`
userAgent: `,"YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd","generateBatteryInfo","saveData","offsetLeft","YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ==","substr","setCoords","wct","DIV.agores300",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',"ActiveXObject","getDeviceOrientation","cookietest=1; SameSite=Strict;","YVtocmVmKj0iLmFmbGFtLmluZm8iXQ==","pdfViewerEnabled","YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd","IS_STRING","IS_ARRAY","forced","ontouchstart","Small Fonts","parentNode","constructor",".textad_headline","platform","every","getError",".wp_adblock_detect","text/javascript","isOnLine","msFullscreenElement","some",".util-bar-module-firefly-visible","QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd","ZGl2I3NrYXBpZWNfYWQ=","6642801BSuyvx","DOM blockers debug:\n```",'a[href^="/url/"]',"msLaunchUri","networkInformationType","referrers","scrollLeft","W2NsYXNzKj0iR29vZ2xlQWRzIl0=","split","isArray","#sovrn_container","toStringTag","availTop","load","LmN0cGwtZnVsbGJhbm5lcg==","afImgLoaded","getBrowserFlag","I2xpdmVyZUFkV3JhcHBlcg==",".adstekst","isDebugPropertyTriggered","fullscreenElement","kv1","1.3.1","running","DOMRectList","sans-serif","fontSize","#top100counter","10sWQGQb","Serifa","getTimezoneOffset","object","YVtocmVmKj0iLy91dGltZy5ydS8iXQ==","compressNumber",".as-oil","setCoordsClickAndLinkOfPage","attachEvent","LESS_THAN","I2Jhbm5lcmZsb2F0MjI=","getNumberValueFromLocalStorage","webkitTemporaryStorage","requestIdleCallback","hidden","YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0=","afDeviceOrientation","(prefers-reduced-motion: ","rect","Ll9faXNib29zdFJldHVybkFk","Copy the text below to get the debug data:\n\n```\nversion: ",".cc-CookieWarning","availLeft","fontFamily","initEvent",".hs-sosyal","dGQjZnJlZW5ldF90YWJsZV9hZHM=","4605960aHCubq","screenY","YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=","Bad","829822MlQIyg","networkInformationSaveData","(?:^|; )","defineProperty","YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd","cos",".mobile_adhesion","setCookie",".navigate-to-top","root","MSCSSMatrix","pageX","buffer","YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ==","groupBitParams","YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd","IS_NUMBER","LmhlYWRlci1ibG9ja2VkLWFk","frequency","keys","LmFkc19iYW4=","MarketGid","fromCharCode","localStorage","Storage","orientation","webkit","atan","LmF3LWNvb2tpZS1iYW5uZXI=","MUST_EXIST","request","less","LndpZGdldF9wb19hZHNfd2lkZ2V0","article.category-samarbete","pixalate","setNetworkInformation","default","Agency FB","message","min","iPad","async","browserLanguage","DeviceMotionEvent","MSStream","isWidgetResized","atanh","clientLeft","exp","more","I2FkX2Jsb2NrZXI=","#social_follow","userLanguage","document","206","24eGaLWx","parse","#pgeldiz","REGEX_MATCH","fill","connect","MGID","offsetHeight","#barraPublicidade","onLine","links","bindEvents","config","onmozfullscreenchange","svsds","sendAnura","topIFrame","toString","I3Jla2xhbWUtcmVjaHRzLW1pdHRl","publisherSource","webkitRequestFullscreen","scrollTop","__yb","#aafoot.top_box","#onlajny-stickers","scroll","Levenim MT","LnJla2xhbW9zX3RhcnBhcw==","reWriteHref","beginPath","throw","generateHash","UTC","YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd","Lucida Bright","iframePlacementType","bstr","getFrameElement",'amp-embed[type="24smi"]',"URL","offsetParent","Module","system-ui","timeout","suffixes","networkInformationEffectiveType","svs","(inverted-colors: ","ZGl2LmhvbGlkQWRz","svspr","kv6","round","msSaveBlob","body","buildQueryParams","detachEvent","srcdoc","__edgeTrackingPreventionStatistics",'TABLE[width="140px"]',"availWidth","string","I3Jla2xhbW5pLWJveA==",".img-kosana","Microsoft Uighur","WEBGL_debug_renderer_info","standard","VIDEO","tan","oscpu","YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0=","setEvents","frameElement",".ModuleTemplateCookieIndicator","afrd_click","REQUEST_URL","YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd","label","log","number",".sklik","appVersion","MS Mincho","done","callToActionClicked","TouchStart","suspended","Gill Sans","adler32","matches","browserValidator","resolvedOptions",".kadr","str","YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0=","showHash",".yb-floorad","setReferrers","mozCancelFullScreen","removeEventListener","IMG","push","YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ==","absolute",".popup-social",".cnt-publi","hasOwnProperty","position","applyReplacements",'[data-cypress="soft-push-notification-modal"]',"search","buildNumber","Minion Pro","#mod-social-share-2","slice","addEvent","getNetwrokInformation","isMobile","1px",".article-sharer",".BlockNag__Card","buf","#qoo-counter","samsungAr","Shockwave Flash","ratio","#meteored_share","monospace","debug","AFRD_CLICK","trys","YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ==","destination","substring","getContext","return","addEventBit","isSessionStorageEnabled","kv12","parent","sin",'div[id^="smi2adblock"]',".sygnal24-gdpr-modal-wrap","YW1wLWF1dG8tYWRz","QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==","isTriggeredBeforeunloadEvent","stack","Failed to load script","LlppX2FkX2FfSA==","nodeType","DEFAULT","Monotype Corsiva","isLocalStorageEnabled","afShortEnabled","I2FkY29udGFpbmVyX3JlY2hlcmNoZQ==","MYRIAD PRO","knee","afHref","Warn","domExtractor","src","width","MediaSource","SvsdsFlag","serif","setProperty","getScreenY","experimental-webgl","Marlett","create","dec2chr","screen","sharedCookieStorage","48px","afTimePerformance","setDeepSession","I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw==","evenodd","join","LmFkLWRlc2t0b3AtcmVjdGFuZ2xl","__esModule","encodeParameters","oct2chr",".BetterJsPopOverlay","aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd","Reflect","getTime","[object Reflect]",`
visitorId: `,"generated","mouseup","setInterval","removeChild","visitorId","plugins","no-preference","reduce","MouseMove","#2ff","Good","LnRyYWZmaWNqdW5reS1hZA==","Bitstream Vera Sans Mono","status","div","timeZone","Focus","availHeight","rule_value","CanvasCaptureMediaStream","#ceneo-placeholder-ceneo-12","maxTouchPoints","data-hash","symbol","isSupportHtml5","acos","firstChild","none","Generator is already executing.","#backkapat","response","MS UI Gothic","ShockwaveFlash.ShockwaveFlash","getCoordsClickOfWindow","level","getCoordinatesClickOfWindow","max","whiteSpace","isTouchStart","#queTooltip","MUST_NOT_EXIST","good","script","PageOffset","#inlineShare",".adblocker-root","miliSecondsFromScroll","kv3","iframe","publisherId","cookieStorage",".mainostila","then","IS_TRUE","send","expm1","MS Outlook","touchstart","mgSnapShot","offsetWidth",";path=/","sendData","storageName","YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd","referer","https://adrta.com/i","OfflineAudioContext","renderedBuffer","start","sent","exec","replace","sendBeacon","DateTimeFormat","YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ==","informerPrefix","stringify","MouseUp","MediaSettingsRange","getScreenX",".yt.btn-link.btn-md.btn","IS_FALSE","event","IS_OBJECT","textBaseline","W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd","TouchEnd","LmFkX19tYWlu","isDebugBrowserPropertyTriggered","YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd","Meiryo UI","LmJveF9hZHZfYW5udW5jaQ==","bad","app","opera","__gCrWeb","catch","cosh","visibility","QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ==","Events","Desktop","languages","cpuClass","bindEvent","vendor","afBrowserHookMask","pack","value","arc","__crWeb",".ezmob-footer","#pavePub","MouseDown","length","sqrt","I3dlcmJ1bmdza3k=","connection","afCharging","412442YbLhmA","readyState","ontransitioncancel","afCoordsClickAndLinkOfPage","effectiveType","closePath","apply","EQUALS","left","W2lkXj0ic2tsaWtSZWtsYW1hIl0=","instance","I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA==","x64String","toDataURL","msIndexedDB",".community__social-desc","#SSpotIMPopSlider","touches","DIALOG","modulePrefix","sendAnuraAtLoad","TABLE.advright","#ac-lre-player","createElement","error","afBrowserFlag","EUROSTILE","webgl","Vrinda","#kauli_yad_1","YVtocmVmKj0iLjE5NTZobC5jb20vIl0=","canvas","useTimePerformance","getRectOfElement","Haettenschweiler","random","Intl","afDeepSession","onorientationchange","reset","/anura","QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==","fillRect","#subscribe_popup","run","opr","charAt","nowrap","onerror","call","afPlugins","__firefox__","Calibri","getStringValueFromLocalStorage","deviceorientation","ARNO PRO","anura","isTransparent","I2FkdmVydGVudGll","3370212EbVokW",'div[id^="crt-"][data-criteo-id]',"getItem","touchend","dispatchAntifraudHashEvent","onAnyImageLoaded","buildID","style","00000000","(prefers-contrast: ","#stickyCookieBar","#hirdetesek_box","UCShellJava","isJavaEnabled","RESULT_URL","createEvent","fillText","8879103CpiYWE","next","high","loadScript","abs","filter","Too high value","IS_NULL",`
  `,"afRealHref","setAttribute","subarray","a[href*=macau-uta-popup]","pixalateData","height","LmZyb250cGFnZUFkdk0=","state","#psyduckpockeball","right","getFullYear","afLevel","networkInformation","Futura Bk BT","host","getComputedStyle","IS_NOT_NULL","https://script.anura.io/request.js","GOTHAM","afMgLoaded","#f9c","SVGGeometryElement","YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0=","handleLinkEvent",".sb-box-pubbliredazionale","cookieEnabled","now","#issuem-leaky-paywall-articles-zero-remaining-nag","clientY","puffinDevice","asin","getHardwareConcurrency","charCodeAt","(max-monochrome: ","font","javaEnabled","anuraEnabled","transitionType","getChannelData","getSnapShot","unknown","multiply","I0JveC1CYW5uZXItYWRz","indexedDB","offsetTop","getElementsByTagName","Staccato222 BT","LmFtcF9hZA==","appendChild","UNMASKED_VENDOR_WEBGL","webkitResolveLocalFileSystemURL",`
timeBetweenLoadAndGet: `,"test","unstable","YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==",".site-pub-interstitiel","result","eventMask","afCoords","MT Extra","1035228euQCqj","I2FkX2ludmlld19hcmVh","mousedown","textSizeAdjust","iPhone","getExId","documentElement","beacon","aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd","kv11","initAntiFraud","(color-gamut: ",".revenue_unit_item.dable","undefined","getTimePerformance","Century","getStorageUpdates","Century Gothic","logger","afActiveEl","#back-top","PLATFORM_DESKTOP","indexOf","clientTop","isFlashEnabled","getParameter","LnNwb25zb3JpdA==","getParameterFromLink","clientX","open","ops","QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd","getCoordsClickOfPage","(min-monochrome: 0)","concat","timerFromScroll","getPropertyValue","#f2f","7GZNDgV","#Kolom-Iklan-728","Clarendon"];return ne=function(){return w},ne()}});var wa={};J(wa,{AntifraudBlock:()=>di});var wt,di,va=q(()=>{C();B();$();wt=Qt(fa());vt();di=class extends O{constructor(t){super(t),this.anuraRequestHasBeenSent=!1,this.pixalateRequestHasBeenSent=!1,this.doSaveResizeWidget=!1,this.name="AntifraudBlock",this.addHook("beforeInitHooks",this.beforeInitHook.bind(this)),this.addHook("afterLoadNewsHooks",this.afterLoadNewsHook.bind(this)),this.addHook("afterInitHooks",this.afterInitHook.bind(this)),this.addHook("afterSendCappingHooks",this.afterSendCappingHooks.bind(this))}getAntifraudParams(t,e){if(this.app.allowReturnParams===!1)return"";e=e||this.app.context.document.createElement("A"),t=t||this.app.context.document.createEvent("MouseEvent");let i=e["data-hash"]||e.getAttribute("data-hash")||"";return this.antifraud.generateHash(t,e,i)}async sendAnuraRequest(t,e){this.anuraRequestHasBeenSent=!0;let i=await this.anura.send(String(this.getSourceId(t)),e),s=await this.anura.fetchStatus(i),r={composite:this.app.getWidgetValue("id",this.app.getWidgetValue("id",this.app.widgetParams.WIDGET.id)),result:s,showHash:t};return this.app.request.beacon(`anura#${t}#${e}`,"https://"+this.app.getWidgetValue("countersDomain",this.app.widgetParams.WIDGET.countersDomain)+"/anura",[`composite=${r.composite}`,`result=${r.result}`,`showHash=${r.showHash}`],{unique:!0}),s}beforeInitHook(){this.initSnapShot();let t=this.app.getWidgetValue("id",this.app.widgetParams.WIDGET.id),e=this.app.getWidgetValue("informerPrefix",this.app.widgetParams.WIDGET.informerPrefix),i=this.app.getWidgetValue("loggerEnabled",this.app.widgetParams.WIDGET.loggerEnabled)?this.app.context[e+"InfC"+t+"Logger"]:null,s=new wt.BaseConfiguration({logger:i,afShortEnabled:!!this.app.getWidgetValue("afShortEnabled",this.app.widgetParams.WIDGET.afShortEnabled),modulePrefix:this.app.getWidgetValue("modulePrefix",this.app.widgetParams.WIDGET.modulePrefix),id:this.app.id.toString(),context:this.app.context,root:this.app.root,iframePlacementType:this.app.iframePlacementType,cookieStorage:this.app.cookieBlock,useTimePerformance:this.app.getWidgetValue("useTimePerformance",this.app.widgetParams.WIDGET.useTimePerformance),browserProperties:this.app.servicerData.brp||[]});this.antifraud=new wt.AntiFraud(s),this.anura=new wt.Anura({widgetPrefix:e+"InfC"+t,context:this.app.context}),this.pixalate=new wt.Pixalate({context:this.app.context}),this.app.allowReturnParams=!1,this.app.addEvent(this.app.context,"beforeunload",this.linkBeforeunloadHandler.bind(this)),this.setIsBlurEventSupported(this.app.root),this.setTransitionType()}afterLoadNewsHook(){let t=this.app.root;this.app.addEvent(t,"mousedown",this.linkMouseDownHandler.bind(this)),this.app.addEvent(t,"mouseup",this.linkClickHandler.bind(this)),this.app.addEvent(t,"mouseover",this.linkMouseOverHandler.bind(this)),this.app.addEvent(t,"mousemove",this.linkMouseMoveHandler.bind(this)),this.app.addEvent(t,"touchstart",this.linkTouchStartHandler.bind(this)),this.app.addEvent(t,"touchend",this.linkTouchEndHandler.bind(this));let e=t.querySelector("a[data-hash]");e&&this.app.addEvent(e,"focus",this.linkFocusHandler.bind(this)),this.antifraud.setWidgetEvents()}afterSendCappingHooks(){let t=this.app.root;setTimeout(()=>{typeof ResizeObserver<"u"&&new ResizeObserver(()=>{this.doSaveResizeWidget?this.antifraud.setIsWidgetResize(!0):this.doSaveResizeWidget=!0}).observe(t)},1e3)}afterInitHook(){this.antifraud.initialize()}async initSnapShot(){if(this.app.context.localStorage){let t=Math.round(new Date().getTime()/1e3),e=Number(this.app.context.localStorage.getItem("mgSnapShotExpired"));if((e===null||t>e)&&(this.app.context.localStorage.removeItem("mgSnapShot"),this.app.context.localStorage.removeItem("mgSnapShotExpired")),this.app.context.localStorage.getItem("mgSnapShot")===null){let i=(await wt.Snapshot.generate()).visitorId,s=Math.round(new Date().getTime()/1e3+3*24*60*60);this.app.context.localStorage.setItem("mgSnapShot",i),this.app.context.localStorage.setItem("mgSnapShotExpired",s.toString())}}}linkClickHandler(t){let e=this.handleEvent(t,0);if(e){let i=e.getAttribute("data-hash");this.app.teaserData[i]&&[K.Wages,K.Exchange].indexOf(this.app.teaserData[i].coopType)>-1&&this.addIntegrations(i,e),this.app.antifraudStatisticsBlock.setIsWidgetOverlapped(this.isWidgetOverlapped(e));let r=e.parentElement;r&&r.className==="mglbtn"&&this.app.context.localStorage.setItem("callToActionClicked","1"),this.handleUpdatedTeaserClick(e),setTimeout(()=>{this.app.allowReturnParams=!1,this.reWriteHref(t,e)},100)}}linkMouseOverHandler(t){this.handleEvent(t,wt.EventMask.MouseOver)}linkMouseMoveHandler(t){this.handleEvent(t,wt.EventMask.MouseMove)}linkTouchStartHandler(t){this.handleEvent(t,wt.EventMask.TouchStart)}linkTouchEndHandler(t){this.handleEvent(t,wt.EventMask.TouchEnd)}linkMouseDownHandler(t){this.handleEvent(t,wt.EventMask.MouseDown)}linkFocusHandler(t){this.handleEvent(t,wt.EventMask.Focus)}handleEvent(t,e){t||(t=this.app.context.event),t.target||(t.target=t.srcElement),this.app.allowReturnParams=!0;let i=t.target;return i.tagName!=="A"&&(i=this.app.getParentLink(i),!i)||!i.hasAttribute("data-hash")?null:(this.antifraud.addEventBit(e),this.reWriteHref(t,i),i)}reWriteHref(t,e){t||(t=this.app.context.event);let i=e["data-hash"]||e.getAttribute("data-hash");i&&(e[this.app.hrefAttr]=this.app.prepareNiceHref(i,t,e))}addIntegrations(t,e){if((this.app.servicerData.anura||0)>this.app.random(1,100)&&!this.anuraRequestHasBeenSent&&this.sendAnuraRequest(t,this.getQueryParam(e,"pubsrcid")).catch(i=>{this.app.log("Anura request failed","warn",i)}),this.app.getWidgetValue("usePixelate",this.app.widgetParams.WIDGET.usePixelate)&&!this.pixalateRequestHasBeenSent){let i=!1,s=this.app.findClosest(e,"div[data-i]");s&&(i=s.querySelector("a").href.indexOf("/ghits/")!==-1),i&&this.sentShowHash!==t&&this.sendPixalateRequest(s,this.getQueryParam(e,"pubsrcid"),t)}}sendPixalateRequest(t,e,i){let s=this.app.getMuid(),r=0,c=0,d=0;if(t){let u=t.getAttribute("data-i"),m=t.querySelector(".image-with-text");if(m&&(r=Math.floor(m.offsetWidth),c=Math.floor(m.offsetHeight)),u===i){let k=t.querySelectorAll("[data-i]");for(let I=0;I<k.length;I++){let T=k[I];if(i!==T.getAttribute("data-i")){d=parseInt(T.getAttribute("data-i"));break}}}else d=parseInt(u)}this.pixalate.send({plid:d,publisherId:this.app.getWidgetValue("publisherId",this.app.widgetParams.WIDGET.publisherId),siteId:this.app.getWidgetValue("siteId",this.app.widgetParams.WIDGET.siteId),kv1:r+"x"+c,kv3:s,kv5:e,kv7:this.app.getWidgetValue("clientId",this.app.widgetParams.WIDGET.clientId),kv11:i,kv12:this.app.servicerData.rid}),this.pixalateRequestHasBeenSent=!0,this.sentShowHash=i,this.app.antifraudStatisticsBlock.setPixalateTriggered()}getSourceId(t){let e=this.app.getWidgetValue("hasNewsPart",this.app.widgetParams.WIDGET.hasNewsPart)?"ni"+this.app.getWidgetValue("newsPartUid",this.app.widgetParams.WIDGET.newsPartUid):"ni",i=this.app.getWidgetValue("hasGoodsPart",this.app.widgetParams.WIDGET.hasGoodsPart)?this.app.getWidgetValue("goodsPartUid",this.app.widgetParams.WIDGET.goodsPartUid):"";return this.app.teaserData[t].coopType===K.Exchange?e:i}getQueryParam(t,e){let i=t.search.substring(1).split("&"),s="";for(let r=0;r<i.length;r++){let c=i[r].split("=");if(c[0]===e){s=decodeURIComponent(c[1]);break}}return s}linkBeforeunloadHandler(t){this.app.context.localStorage.setItem("isTriggeredBeforeunloadEvent","1")}setIsBlurEventSupported(t){if(t){let e="onblur",i=e in t;i||(t.setAttribute(e,"return;"),i=typeof t[e]=="function"),e in document.documentElement||t.removeAttribute(e),this.app.context.localStorage.setItem("isSupportBlurEvent",i?"1":"0")}}setTransitionType(){if(performance.getEntriesByType("navigation")){let t=performance.getEntriesByType("navigation")[0];t&&this.app.context.localStorage.setItem("transitionType",t.entryType)}}isWidgetOverlapped(t){let e=t.getBoundingClientRect(),i=[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom},{x:e.left+e.width/2,y:e.top+e.height/2}];for(let s of i){let r=document.elementFromPoint(s.x,s.y);if(r&&r!==t&&!t.contains(r)&&r!==document.body&&r!==document.documentElement)return!0}return!1}handleUpdatedTeaserClick(t){let e=t.getAttribute("data-refreshed");this.app.antifraudStatisticsBlock.setIsRefreshedTeaserClicked(!!e)}}});var ba={};J(ba,{AccidentalClicksBlock:()=>mi});var mi,ka=q(()=>{C();B();$();vt();mi=class extends O{constructor(t){super(t),this.name="AccidentalClicksBlock",this.app.accidentalClicksHandler=this.onClick.bind(this),this.app.addClickHandler(this.app.clickHandlerList.accidentalClicks.handler,this.app.clickHandlerList.accidentalClicks.priority),this.accidentalClicksDelay=(parseInt(this.app.globalSettings.accidental_clicks_delay)||5)*1e3,this.accidentalClicksDisableTypes=this.app.widgetParams.WIDGET.widgetAccidentalClicks.split(","),this.teasersClickTimes={}}onClick(t,e){if(e.button===2)return!0;let i=t.getAttribute("data-hash"),s=new Date().getTime();if(this.app.isEnabledDoubleClick()||typeof this.app.servicerData.dc<"u"&&i in this.app.hashTimer&&s-this.app.hashTimer[i]<this.app.servicerData.dc)return!0;switch(this.app.teaserData[i].coopType){case K.Wages:if(this.accidentalClicksDisableTypes.indexOf("wages")==-1)return!0;break;case K.Exchange:if(this.accidentalClicksDisableTypes.indexOf("exchange")==-1)return!0;break;case K.InternalExchange:if(this.accidentalClicksDisableTypes.indexOf("int_exchange")==-1)return!0;break;default:return!0}return this.teasersClickTimes.hasOwnProperty(i)?new Date().getTime()-this.teasersClickTimes[i]<=this.accidentalClicksDelay?(e.preventDefault(),this.app.doubleClickType="accidental",this.app.doubleClickHandler(t),!1):(this.teasersClickTimes[i]=new Date().getTime(),!0):(this.teasersClickTimes[i]=new Date().getTime(),!0)}}});var ya={};J(ya,{ActivateDelayBlock:()=>ui});var ui,Ia=q(()=>{C();B();$();vt();ui=class extends O{constructor(t){super(t),this.name="ActivateDelayBlock",this.app.clickableDelay=!1,this.eventDisabled=!1,this.addHook("afterLoadNewsHooks",this.init),this.app.activateDelayLinkHandler=this.onClick.bind(this)}isCloseLink(t){return t.classList.contains("mg-close-button-div-inner")}isWagesLink(t){if(!t)return!1;let e=t.getAttribute("data-hash");return this.app.teaserData[e]&&this.app.teaserData[e].coopType===K.Wages}init(){if(this.isInited)return;this.isInited=!0;let t=Number(this.app.widgetParams.WIDGET.activateDelay);this.app.widgetParams.WIDGET.clickableDelay&&(this.app.clickableDelay=!0),this.app.addClickHandler(this.app.clickHandlerList.activateDelayLink.handler,this.app.clickHandlerList.activateDelayLink.priority),this.app.context.setTimeout(()=>{this.eventDisabled=!0,this.app.linksBlocked=!1,this.app.clickableDelay=!1},t)}onClick(t,e){return this.eventDisabled||this.app.clickableDelay&&this.isWagesLink(t)||this.isCloseLink(t)||typeof this.app.servicerData.dc<"u"?!0:(this.app.doubleClickType="delay",this.app.doubleClickHandler(t),this.app.linksBlocked=!0,e.preventDefault(),!1)}}});var Pa={};J(Pa,{HideDescriptionBlock:()=>xi});var xi,Sa=q(()=>{C();B();$();xi=class extends O{constructor(t){super(t),this.name="HideDescriptionBlock",typeof this.app.afterAutoplacementHooks<"u"&&this.app.widgetConstructorData.autoplacement!=="off"?this.addHook("afterAutoplacementHooks",this.hideDescription):this.addHook("afterLoadNewsHooks",this.hideDescription)}hideDescription(){let t=this.app.root.querySelector(".mcdesc");if(!t)return;let e=this.app.root.querySelector(".mcdesc > a"),i=this.app.root.querySelector(".mglbtn"),s=this.app.root.querySelector(".mglbtn > a"),r=this.app.root.querySelector("div.mcimg"),c=this.app.root.querySelector(".image-with-text"),d=e.scrollHeight-e.clientHeight,u=i.clientWidth,m=r.clientWidth,k=c.clientWidth,I=k-m-15-u-15;s&&I<0&&(k!==m?s.innerHTML=this.app.getTranslation("[INFORMER_CTA_LEARN_MORE]")+"<span></span>":i.clientHeight>75&&(s.innerHTML=this.app.getTranslation("[INFORMER_CTA_LEARN_MORE]")+"<span></span>"),u<135&&(s.innerHTML="<span></span>")),d>1&&(t.style.display="none")}}});var Ta={};J(Ta,{CollectViewDataBlock:()=>gi});var Tt,gi,Da=q(()=>{C();B();$();(function(w){w.widgetOutOfSight="widget_out_of_sight",w.leavePage="user_change_tab_or_close_site",w.widgetOverLimitTime="widget_over_limit_time",w.siteOverLimitTime="site_over_limit_time",w.newWidgetPage="new_widget_page",w.newSitePage="new_site_page"})(Tt||(Tt={}));gi=class extends O{constructor(t){super(t),this.keyHash="_mgUniqueHash",this.keyUserPages="_mgUserPages",this.timeOutLimit=30,this.viewMinTime=1,this.widget={isVisible:!1,isStartView:!1,startingViewTime:0,requestsList:[]},this.teasersList=[],this.teasersVisibleList=[],this.acceptableTeaserTypes=["type-w","type-i","mgline-banner"],this.acceptableSiteEvents=[Tt.leavePage,Tt.newSitePage,Tt.siteOverLimitTime],this.name="CollectViewDataBlock",!this.app.isAmp()&&!this.app.isIframe()&&typeof this.app.context.IntersectionObserver=="function"&&this.init()}init(){if(this.currentPath=this.app.context.document.location.pathname,typeof this.app.context[this.keyUserPages]>"u"){this.app.context[this.keyUserPages]=[];let t=Math.round(this.app.context.performance?.timeOrigin)||this.app.context.performance.timing.navigationStart,e={pathname:this.currentPath,href:this.app.context.document.location.href,startingViewTime:t,isOverLimitTime:!1};this.app.context[this.keyUserPages].push(e)}setInterval(()=>{this.detectUrlChanged(),this.detectTimeOverLimit()},1e3),this.setupLeavePageEvents(),this.addHook("afterLoadNewsHooks",this.startObserving)}detectUrlChanged(){if(this.currentPath!==this.app.context.document.location.pathname){this.sendAnalyticsData(Tt.newSitePage),this.currentPath=this.app.context.document.location.pathname;let t=this.getCurrentPage();if(!t){let e={pathname:this.currentPath,href:this.app.context.document.location.href,startingViewTime:new Date().getTime(),isOverLimitTime:!1};this.app.context[this.keyUserPages].push(e)}t&&t.startingViewTime===0&&this.updateCurrentUserPage({startingViewTime:new Date().getTime(),href:this.app.context.document.location.href})}}detectTimeOverLimit(){let t=this.getCurrentPage();t&&!t.isOverLimitTime&&t.startingViewTime>0&&this.isTimeOverLimit(new Date().getTime()-t.startingViewTime)&&(this.updateCurrentUserPage({isOverLimitTime:!0}),this.sendAnalyticsData(Tt.siteOverLimitTime)),this.widget.isStartView&&this.isTimeOverLimit(new Date().getTime()-this.widget.startingViewTime)&&this.sendAnalyticsData(Tt.widgetOverLimitTime)}setupLeavePageEvents(){let{hidden:t,visibilityChange:e}=this.app.utils.getLeavePageValue();this.app.context.document.addEventListener(e,()=>{if(this.app.context.document[t]&&this.sendAnalyticsData(Tt.leavePage),this.widget.isVisible&&!this.app.context.document[t]&&this.restartTeasersViewTime(),!this.app.context.document[t]){let i=this.getCurrentPage();i&&i.startingViewTime===0&&this.updateCurrentUserPage({startingViewTime:new Date().getTime()})}}),this.app.context.addEventListener("beforeunload",()=>{this.sendAnalyticsData(Tt.leavePage)})}startObserving(){let t={page:this.app.pagesServicerData.length,requestId:this.app.servicerData.rid};this.widget.requestsList.push(t);let e=typeof this.app.context[this.keyHash+this.app.id+"_"+this.app.uniqId]<"u";e&&this.widget.isStartView&&this.app.widgetParams.WIDGET.type!=="in-site-notification"&&(this.sendAnalyticsData(Tt.newWidgetPage),this.teasersVisibleList.length?this.restartTeasersViewTime():(this.widget.isStartView=!0,this.widget.startingViewTime=new Date().getTime())),e||(this.app.context[this.keyHash+this.app.id+"_"+this.app.uniqId]=this.app.utils.generateHash(),this.addHook("observerTeasersHooks",this.teasersObserving),["mobile-widget","in-site-notification","passage","interstitial"].indexOf(this.app.widgetParams.WIDGET.type)===-1&&this.addHook("observerWidgetHooks",this.widgetObserving))}teasersObserving(t,e,i,s,r){let c,d;if(s&&r&&(c=r+"-"+s,d=this.teasersList.filter(u=>u.order===c)[0]),i===0&&c&&d&&d.isVisible&&(this.teasersList=this.teasersList.map(u=>{if(u.order===c){let m=new Date().getTime()-u.startingViewTime,k=u.viewTime?u.viewTime+m:m;return{...u,viewTime:k,isVisible:!1,startingViewTime:0}}else return u})),i>.5&&(this.app.widgetParams.WIDGET.type!=="mobile-widget"||this.app.widgetParams.WIDGET.type==="mobile-widget"&&this.app.root.parentElement.className.indexOf("mg-show")>=0)){if(this.widget.isVisible=!0,this.widget.isStartView||(this.widget.isStartView=!0,this.widget.startingViewTime=new Date().getTime()),!d&&c&&t&&s&&r){let u={order:c,iteration:s,page:r,isVisible:!0,startingViewTime:new Date().getTime(),viewTime:0,requestId:this.widget.requestsList.filter(m=>m.page===r)[0]?.requestId,showHash:t.dataset.i||"",className:t.className};this.teasersList.push(u)}d&&!d.isVisible&&c&&(this.teasersList=this.teasersList.map(u=>u.order===c?{...u,isVisible:!0,startingViewTime:new Date().getTime()}:u))}this.teasersList.length&&this.teasersList.every(u=>!u.isVisible)&&(["mobile-widget","passage","interstitial"].indexOf(this.app.widgetParams.WIDGET.type)!==-1||this.app.widgetParams.WIDGET.type==="in-site-notification"&&this.app.isClosedInSiteWidget)&&(this.sendAnalyticsData(Tt.widgetOutOfSight),this.widget.isVisible=!1)}widgetObserving(t,e){typeof t<"u"&&!t&&(this.sendAnalyticsData(Tt.widgetOutOfSight),this.widget.isVisible=!1)}sendAnalyticsData(t){let e;if(this.widget.isStartView){let r=new Date().getTime()-this.widget.startingViewTime;this.isTimeMoreMinLimit(r)&&(e=e||{},e.widgetData=this.preparedWidgetData(t)),this.widget.isStartView=!1,this.widget.startingViewTime=0}if(this.teasersList.some(r=>r.viewTime>0||r.isVisible)){this.teasersVisibleList=this.teasersList.filter(c=>c.isVisible);let r=this.preparedTeasersData();r.length&&(e=e||{},e.teasersData=r),this.resetTeasersViewTime()}let i=this.getCurrentPage(),s=this.acceptableSiteEvents.some(r=>r===t);if(i&&s&&i.startingViewTime>0){let r=new Date().getTime()-i.startingViewTime;this.isTimeMoreMinLimit(r)&&(e=e||{},e.userData=this.preparedUserData(i)),this.updateCurrentUserPage({startingViewTime:0})}if(e&&Object.keys(e).length&&this.isMuidn()){let{tt:r,dt:c,brid:d}=this.app.servicerData,{implVersion:u}=this.app.pageViewPixelBlock?.getPageDataParams()||{};e.eventName=t,e.muidn=this.app.getMuid(),u&&(e.implVersion=u),r&&(e.trafficType=r),c&&(e.device=c),d&&(e.browserId=d);let m=new Blob([JSON.stringify(e)],{type:"text/plain"});this.app.request.beaconBlob("visibility",this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.countersDomain+"/vz",m,{})}}preparedWidgetData(t){let e=this.app.calculateSessionsBlock.getSessionId(),i={compositeId:this.app.id,uniqueHash:this.app.context[this.keyHash+this.app.id+"_"+this.app.uniqId],visibleTime:new Date().getTime()-this.widget.startingViewTime};e&&(i.sessionId=e);let s=this.teasersList.filter(r=>r.viewTime>0||r.isVisible).map(r=>r.requestId).filter((r,c,d)=>d.indexOf(r)===c);return t===Tt.newWidgetPage?(i.uuid=this.widget.requestsList[this.widget.requestsList.length-2]?.requestId,s.length>=2&&(i.firstUuid=this.widget.requestsList[0]?.requestId),i):(s.length===1?i.uuid=s[0]:s.length>=2?(i.uuid=this.widget.requestsList[this.widget.requestsList.length-1]?.requestId,i.firstUuid=this.widget.requestsList[0]?.requestId):i.uuid=this.app.servicerData.rid,i)}preparedTeasersData(){return this.teasersList.map(t=>{if(t.isVisible){let e=new Date().getTime()-t.startingViewTime,i=t.viewTime?t.viewTime+e:e;return{...t,viewTime:i}}else return t}).filter(t=>this.isTimeMoreMinLimit(t.viewTime)&&this.acceptableTeaserTypes.some(e=>t.className.indexOf(e)!==-1)&&t.showHash.length&&t.showHash!=="undefined").map(t=>({compositeId:this.app.id,showHash:t.showHash,uuid:t.requestId,visibleTime:t.viewTime}))}preparedUserData(t){let e=new Date().getTime()-t.startingViewTime;return{pageViewId:this.getPvid(),pageUrl:t.href,visibleTime:e}}resetTeasersViewTime(){this.teasersList=this.teasersList.map(t=>({...t,viewTime:0,isVisible:!1,startingViewTime:0}))}restartTeasersViewTime(){this.teasersVisibleList.forEach(t=>{this.teasersObserving(null,!0,1,t.iteration,t.page)}),this.teasersVisibleList=[]}updateCurrentUserPage(t){this.app.context[this.keyUserPages]=this.app.context[this.keyUserPages].map(e=>e.pathname===this.currentPath?{...e,...t}:e)}isMuidn(){return!!this.app.getMuid().length}isTimeOverLimit(t){return t>this.timeOutLimit*6e4}isTimeMoreMinLimit(t){return t>this.viewMinTime*1e3}getCurrentPage(){return this.app.context[this.keyUserPages].filter(t=>t.pathname===this.currentPath)[0]}getPvid(){let t="";try{t=this.app.pvid||this.app.context._mgPvid||this.app.context.localStorage.getItem("_mgPvid")||""}catch{}return t}}});var Ea={};J(Ea,{RtbBlock:()=>fi});var fi,Ca=q(()=>{C();B();$();fi=class extends O{constructor(t){super(t),this.name="RtbBlock",this.addHook("afterLoadNewsHooks",this.cmPixelLoad)}cmPixelLoad(){if(!this.app.context["i.js.loaded"]&&this.app.cookieMatchingDomain.length){this.app.context["i.js.loaded"]=!0;let t=this.app.webProtocol+"//"+this.app.cookieMatchingDomain+"/i.js?",e=typeof this.app.realRoot<"u"?this.app.realRoot:this.app.root,i={},s=this.app.getMuid();this.app.widgetParams.WIDGET.widgetCountersDisabled&&(i.cd=1),s.length&&(i.muid=s),i.cbuster=this.app.getCbusterParameter(),t+=Object.keys(i).map(c=>c+"="+encodeURIComponent(i[c])).join("&");let r={charset:"utf-8",onerror:()=>{this.app.context["i.js.loaded"]=!1;let c=`${this.name} failed to load i.js`;this.app.log(c),this.app.debugBlock.sendData(c)},dest:e.parentNode};this.app.request.script("i.js",t,{},r)}}}});var Ba={};J(Ba,{ObserverBlock:()=>wi});var wi,Wa=q(()=>{C();B();$();wi=class extends O{constructor(t){super(t),this.name="ObserverBlock",this.addHook("afterLoadNewsHooks",this.initWidgetObserver)}initWidgetObserver(){if(this.app.context.IntersectionObserver){this.app.widgetObserver=new IntersectionObserver(e=>{e.forEach(i=>{let s=i.isIntersecting?"shown":"hidden";if(i.target==this.app.root)this.app.log(`Observer. Widget ${s}. Ratio: ${i.intersectionRatio}`),this.app.lifeCycleBlock.processHooks("observerWidgetHooks",[i.isIntersecting,i.intersectionRatio]);else for(let r=0;r<this.app.observerTeasersHooks.length;r++){let c=1,d=1;try{(i.target instanceof HTMLElement||i.target instanceof HTMLDivElement)&&(c=this.app.teaserData[i.target.dataset.i].iteration,d=this.app.teaserData[i.target.dataset.i].page)}catch{}this.app.log(`Observer. Teaser[${d}, ${c}] ${s}. 
                Ratio: ${i.intersectionRatio}`),this.app.lifeCycleBlock.processHooks("observerTeasersHooks",[i.target,i.isIntersecting,i.intersectionRatio,c,d])}})},{threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]}),this.app.widgetObserver.observe(this.app.root);let t=[].slice.call(this.app.root.getElementsByClassName("mgline"));for(let e of t)e.dataset.observingStart||(e.dataset.observingStart="0",e.dataset.observingTime="0",this.app.widgetObserver.observe(e))}}}});var La={};J(La,{RefactoredMonitorBlock:()=>vi});var vi,Aa=q(()=>{C();B();$();vt();vi=class extends O{constructor(t){super(t),this.regAllowedHash=/([A-Za-z0-9\-_\*]{64})/,this.teasersDataList=[],this.firstByType={},this.monitorDispatcher=null,this.baseUrl=`${this.app.webProtocol}//${this.app.widgetParams.WIDGET.countersDomain}/`,this.impressionTracked=!1,this.name="RefactoredMonitorBlock",this.addHook("afterLoadNewsHooks",this.init)}init(){this.monitorDispatcher||(this.versionCapping=typeof this.app.context.IntersectionObserver=="function"&&!this.app.omidBlock?3:2,this.thresholdRatio=Number(this.app.globalSettings.capping_observer_threshold)||.5,this.thresholdTime=Number(this.app.globalSettings.capping_observer_time)||1e3,this.versionCapping===3?this.initMonitorByObserver():this.initMonitorByTimeout())}initMonitorByObserver(){this.monitorDispatcher=this.debounce(()=>this.prepareCappingData()),this.addHook("observerTeasersHooks",this.teaserObserver)}initMonitorByTimeout(){let t=()=>{let e=this.app.root.getElementsByClassName("mgline");for(let i=0;i<e.length;i++){let s=e[i];if(s.dataset.observingStart||(s.dataset.observingStart="0",s.dataset.observingTime="0"),this.isAllowedMonitorTeaser(s)){let r=this.app.utils.elementViewportIntersection(s),c=this.getTeaserObservingTime(s,r);c>=this.thresholdTime&&this.setTeaserShowed(s,c)}}this.prepareCappingData(),this.monitorDispatcher()};this.monitorDispatcher=()=>setTimeout(t,this.thresholdTime),this.monitorDispatcher()}teaserObserver(t,e,i,s,r){if(this.isAllowedMonitorTeaser(t)){let c=this.getTeaserObservingTime(t,i);c>=this.thresholdTime?(this.setTeaserShowed(t,c),this.monitorDispatcher()):Number(t.dataset.observingStart)>0&&setTimeout(()=>{this.checkTeaserShowed(t)},this.thresholdTime)}}isAllowedMonitorTeaser(t){return!t.dataset.showed}getTeaserObservingTime(t,e){let i=Number(t.dataset.observingStart),s=Number(t.dataset.observingTime);return e>=this.thresholdRatio?i===0?t.dataset.observingStart=String(new Date().getTime()):t.dataset.observingTime=String(new Date().getTime()-i+s):(t.dataset.observingTime="0",t.dataset.observingStart="0"),Number(t.dataset.observingTime)}checkTeaserShowed(t){let e=Number(t.dataset.observingStart);if(!t.dataset.showed&&e>0){let i=new Date().getTime()-e+Number(t.dataset.observingTime);i>=this.thresholdTime&&(this.setTeaserShowed(t,i),this.monitorDispatcher())}}setTeaserShowed(t,e){t.dataset.showed="1",t.dataset.observingTime=String(e),this.teasersDataList.push(this.getTeaserCappingData(t))}getTeaserCappingData(t){let e=this.app.utils.getRect(t,!0),i=t.dataset.i;return{width:Math.round(e.width),height:Math.round(e.height),atf:e.top<this.app.utils.getViewportSize().height,align:this.getTeaserAlign(e),desc:this.isTeaserElementVisible(t,"mcdesc"),price:this.isTeaserElementVisible(t,"mcprice"),domain:this.isTeaserElementVisible(t,"mcdomain"),hash:i,coopType:this.app.teaserData[i].coopType,isSend:!1}}prepareCappingData(){if(this.teasersDataList.some(t=>!t.isSend)){this.app.lifeCycleBlock.processHooks("beforePrepareCappingDataHooks");let t=[],e={},i="",s=null;this.teasersDataList.forEach(r=>{let c=r.hash;if(!r.isSend&&(r.isSend=!0,this.app.teaserData[c].isViewed=!0,i.length||(i=c),this.regAllowedHash.exec(c))){let d=r.coopType,u=this.getTeaserPrefix(r);if(t.push("v="+u+c),this.firstByType[d]||(this.firstByType[d]=1,e["f"+d]=1),this.app.widgetParams.WIDGET.widgetCountersDisabled!==1){let m=this.app.teaserData[c].imp;for(let k of m)this.app.countersBlock.sendCustomCounter(k)}d===K.Wages&&this.app.sspDoubleClickHash.push(c),this.app.lifeCycleBlock.processHooks("afterPrepareCappingDataHooks",[c]),window.performance?.mark("mgid_teaser_impression_"+this.app.teaserData[c].iteration,{detail:{_mgwidget:this.app.id}})}}),this.app.pagesServicerData.length&&i.length&&this.app.teaserData[i]&&(s=this.app.pagesServicerData.filter(r=>r.page===this.app.teaserData[i].page)[0]?.servicerData),(typeof this.app.context._mgwcapping>"u"||this.app.context._mgwcapping.indexOf(this.app.id)===-1)&&(this.app.widgetCappingEnabled?(this.sendWidgetCappingData(s),this.app.lifeCycleBlock.processHooks("afterSendCappingHooks")):e.f=1),this.app.context._mgwcapping=this.app.context._mgwcapping||[],this.app.context._mgwcapping.push(this.app.id),t.length&&this.sendTeaserCappingData(t,e,s)}}getTeaserPrefix(t){return t.width+"|"+t.height+"|"+((t.desc?1:0)+(t.price?2:0)+(t.domain?4:0)+(t.atf?8:0)+(t.align==="right"?16:0)+(t.align==="left"?32:0))+"|"}sendWidgetCappingData(t){let e=this.app.getUserAgentDataParams(),{cbuster:i,cxurl:s,lu:r,pr:c}=this.app.pageViewPixelBlock.getPageDataParams(),{h2:d,tt:u,ts:m,psid:k,iv:I,adv_src_id:T}=t||{},v={cid:this.app.id,pageImp:this.getPageImpParam(),cbuster:i,cxurl:s,lu:r,pr:c,h2:d,tt:u,ts:m,psid:k,iv:I,adv_src_id:T};e&&(v={...v,...e}),this.sendWidgetPerformanceMetric(),this.app.request.pixel("widgetCapping",`${this.baseUrl}w?${this.getParamsByString(v)}`,{},{})}sendTeaserCappingData(t,e,i){let s=this.app.getMuid(),{h2:r,rid:c,tt:d,ts:u,psid:m,iv:k}=i||{},{views:I,renders:T}=this.app.getViewrateParams(),v=this.app.getUserAgentDataParams();e={...e,cid:this.app.id,cbuster:this.app.getCbusterParameter(),pageImp:this.getPageImpParam(),pvid:this.app.pvid,pv:this.versionCapping,h2:r,rid:c,tt:d,ts:u,psid:m,iv:k,completion:`${I},${T}`},s.length&&(e.muidn=s),v&&(e={...e,...v}),this.app.request.pixel("capping",`${this.baseUrl}c?${t.join("&")}&${this.getParamsByString(e)}`,{},{}),this.sendWidgetPerformanceMetric(),this.app.lifeCycleBlock.processHooks("afterSendCappingHooks")}getTeaserAlign(t){let e=this.app.context.document.body.scrollWidth;return t.right<.3*e?"left":t.left>=.7*e?"right":"center"}isTeaserElementVisible(t,e){let i=t.getElementsByClassName(e);if(i.length){let s=i[0].getBoundingClientRect();return!(s.right-s.left===0||s.bottom-s.top===0)}else return!1}getPageImpParam(){let t=0;if(this.app.context["isFBIA"+this.app.widgetParams.WIDGET.id]&&this.app.context.localStorage){let e=this.app.context.localStorage.getItem("_mgPageImp"+this.app.widgetParams.WIDGET.siteId),i=Number(this.app.globalSettings.ia_page_imp_timeout)||180;(!e||new Date().getTime()-Number(e)>i*1e3)&&(this.app.context.localStorage.setItem("_mgPageImp"+this.app.widgetParams.WIDGET.siteId,String(new Date().getTime())),t=1)}else{let e=this.app.getMostTopWindow(),i=e.location.pathname;e["_mgPageImp"+this.app.widgetParams.WIDGET.siteId]=e["_mgPageImp"+this.app.widgetParams.WIDGET.siteId]||[];let s=e["_mgPageImp"+this.app.widgetParams.WIDGET.siteId];Array.isArray(s)&&s.indexOf(i)===-1&&(s.push(i),t=1)}return t}debounce(t,e=200){let i;return(...s)=>{clearTimeout(i),i=setTimeout(()=>{t.apply(this,s)},e)}}getParamsByString(t){return Object.keys(t).filter(e=>typeof t[e]<"u"&&(typeof t[e]=="string"?!!t[e].length:!0)).map(e=>`${e}=${t[e]}`).join("&")}sendWidgetPerformanceMetric(){if(!this.impressionTracked&&(this.impressionTracked=!0,window.performance?.mark("widget_impression",{detail:{_mgwidget:this.app.id}}),typeof this.app.context._mgBackfillParentId<"u")){let t=this.app.context._mgBackfillParentId,e=this.app.context._mgBackfillPlacement;window.performance?.mark("backfill_impression_"+e,{detail:{_mgwidget:t}})}}}});var oe,_a=q(()=>{C();B();$();oe=class extends O{constructor(t){super(t),this.addHook("afterInitHooks",this.init)}init(){if(!this.initCheck())return;this.check()||this.addHook("afterLoadNewsHooks",this.load);let t=this.getData();t!==""&&(this.app.requestParams[this.paramName]=encodeURIComponent(t))}initCheck(){return!0}}});var Ga={};J(Ga,{ID5Block:()=>bi});var bi,Oa=q(()=>{C();B();_a();vt();bi=class extends oe{constructor(t){super(t),this.storageKey="_mgID5",this.name="ID5Block",this.paramName="id5",this.refreshTime=36e5}id5Init(){let t="https://cdn.id5-sync.com/api/1.0/id5-api.js",e=this.app.context.document.createElement("script");e.async=!0,e.type="text/javascript",e.src=t,this.app.root.parentNode.insertBefore(e,this.app.root);let i=0,s=setInterval(()=>{i++,i>20&&clearInterval(s),typeof this.app.context.ID5<"u"&&this.app.context.ID5.loaded===!0&&(clearInterval(s),this.app.context.ID5.init(this.id5Params())?.onAvailable(this.id5Callback.bind(this)))},100)}id5Params(){return{partnerId:231,refreshInSeconds:15}}id5Callback(t){let e=t.getUserId();if(typeof e<"u"&&e!=0)if(this.app.context._mgID5Exists=!0,this.app.isAmp()){let i=this.refreshTime/36e5,s=new Date(new Date().setHours(new Date().getHours()+i)).toUTCString();this.app.cookieBlock.cookieStorage[this.storageKey]=e,this.app.cookieBlock.setCookie(s)}else this.app.context.localStorage.setItem(this.storageKey,JSON.stringify({time:new Date().getTime(),data:e}))}check(){let t=!0;if(this.app.isAmp())this.app.cookieBlock.getCookie(),(this.app.cookieBlock.cookieStorage[this.storageKey]||"").length||(t=!1);else{let e=this.app.context.localStorage.getItem(this.storageKey);if(e){let i=JSON.parse(e);new Date().getTime()-i.time>this.refreshTime&&(t=!1)}else t=!1}return t}getData(){let t="";if(this.app.isAmp())this.app.cookieBlock.getCookie(),t=this.app.cookieBlock.cookieStorage[this.storageKey]||"";else{let e=this.app.context.localStorage.getItem(this.storageKey);e&&(t=JSON.parse(e).data)}return t}load(){typeof this.app.context._mgID5Exists>"u"&&this.id5Init()}initCheck(){return this.app.currentSubnet===St.MG}}});var Ra=Xt(()=>{C();B()});var Ha=Xt(()=>{C();B()});var Ut,pe,Ve=q(()=>{C();B();ee();(function(w){w.Init="init",w.Render="render"})(Ut||(Ut={}));pe=class{constructor(t){this.app=t,this.app.debugBlock.initDebugger(),this.app.lifeCycleBlock=this,this.stage=null,this.workInProgress=!1,this.isUserAgentDataAvailable=typeof this.app.context?.navigator?.userAgentData?.getHighEntropyValues=="function",this.isAdBlockDetect=this.app.widgetParams.WIDGET.adblockIntegration&&this.app.adBlockDetect(),this.workersAvailable=typeof Worker<"u";try{let e=new Worker(window.URL.createObjectURL(new Blob([],{type:"text/javascript"})))}catch{this.workersAvailable=!1}if(this.workersAvailable){let e=new Blob([`self.onmessage = function(e) { 
              if (e.data.timeout === 0) { self.postMessage({ eventId: e.data.eventId }); }
              else { setTimeout(function() { self.postMessage({ eventId: e.data.eventId }); }, e.data.timeout); }
            }`],{type:"text/javascript"});this.worker=new Worker(window.URL.createObjectURL(e)),this.workerCallbacks={},this.worker.addEventListener("message",i=>{this.workerCallbacks[i.data.eventId](),delete this.workerCallbacks[i.data.eventId]})}}async run(){this.stage=Ut.Init,this.workInProgress=!0,this.app.time("run()");try{if(typeof this.app.context[`_mgPauseBackfill_${this.app.widgetParams.WIDGET.id}`]<"u"&&(this.app.time("waitForLoadBackfill()"),await this.waitForLoadBackfill(),this.app.timeEnd("waitForLoadBackfill()")),this.app.getVideoMetricsParams()===null&&(this.app.time("initVideoMetricsBlock"),await this.execute("",async()=>{this.app.videoMetricsBlock=new(await Promise.resolve().then(()=>(Hi(),Ri))).VideoMetricsBlock(this.app)}),this.app.timeEnd("initVideoMetricsBlock")),this.isUserAgentDataAvailable&&this.app.getUserAgentDataParams()===null&&(this.app.time("initNavigatorAgentDataBlock"),await this.execute("",async()=>{this.app.navigatorAgentDataBlock=new(await Promise.resolve().then(()=>(Ni(),Mi))).NavigatorAgentDataBlock(this.app)}),this.app.timeEnd("initNavigatorAgentDataBlock")),this.app.isAmp()&&(this.app.time("initAmpRenderBlock"),await this.execute("",async()=>{this.app.ampRenderBlock=new(await Promise.resolve().then(()=>(Fi(),Vi))).AmpRenderBlock(this.app)}),this.app.timeEnd("initAmpRenderBlock")),this.isUserAgentDataAvailable&&this.app.getUserAgentDataParams()===null&&(this.app.time("app.navigatorAgentDataBlock.waitForUserAgentData()"),await this.app.navigatorAgentDataBlock.waitForUserAgentData(),this.app.timeEnd("app.navigatorAgentDataBlock.waitForUserAgentData()")),this.app.time("initBlocks()"),await this.initBlocks(),this.app.timeEnd("initBlocks()"),this.app.rootId==="TempRootId"&&(this.app.time("waitWidgetLoad()"),await this.waitWidgetLoad(),this.app.timeEnd("waitWidgetLoad()")),this.app.time("processHooks(beforeInitHooks)"),await this.processHooks("beforeInitHooks",null),this.app.timeEnd("processHooks(beforeInitHooks)"),await this.execute("app.init()",()=>{this.app.init()}),this.app.time("processHooks(afterInitHooks)"),await this.processHooks("afterInitHooks",null),this.app.timeEnd("processHooks(afterInitHooks)"),this.app.widgetParams.WIDGET.newTabEnabled&&(this.app.time("app.newTabBlock.waitForActivity()"),await this.app.newTabBlock.waitForActivity(),this.app.timeEnd("app.newTabBlock.waitForActivity()")),this.app.widgetParams.WIDGET.useLazyLoad&&(this.app.time("app.lazyLoadBlock.waitForVisibility()"),await this.app.lazyLoadBlock.waitForVisibility(),this.app.timeEnd("app.lazyLoadBlock.waitForVisibility()")),this.app.widgetParams.WIDGET.type==="passage"&&(this.app.time("app.passageBlock.waitForPassageResolve()"),await this.app.passageBlock.waitForPassageResolve(),this.app.timeEnd("app.passageBlock.waitForPassageResolve()")),this.app.widgetParams.WIDGET.type==="interstitial"&&(this.app.time("app.interstitialBlock.waitForPassageResolve()"),await this.app.interstitialBlock.waitForPassageResolve(),this.app.timeEnd("app.interstitialBlock.waitForPassageResolve()")),this.app.widgetParams.WIDGET.popup&&(this.app.time("app.popupBlock.waitForPopup()"),await this.app.popupBlock.waitForPopup(),this.app.timeEnd("app.popupBlock.waitForPopup()")),this.app.widgetParams.WIDGET.type==="mobile-widget"&&(this.app.time("app.mobileWidgetBlock.waitForMobileWidget()"),await this.app.mobileWidgetBlock.waitForMobileWidget(),this.app.timeEnd("app.mobileWidgetBlock.waitForMobileWidget()")),this.app.widgetParams.WIDGET.type==="in-site-notification"&&(this.app.time("app.inSiteNotificationBlock.waitForInSiteWidget()"),await this.app.inSiteNotificationBlock.waitForInSiteWidget(),this.app.timeEnd("app.inSiteNotificationBlock.waitForInSiteWidget()")),this.app.widgetParams.WIDGET.swipeUpEnabled&&(this.app.time("app.swipeUpBlock.waitForSwipeUpResolve()"),await this.app.swipeUpBlock.waitForSwipeUpResolve(),this.app.timeEnd("app.swipeUpBlock.waitForSwipeUpResolve()")),this.app.widgetParams.WIDGET.sendDimensions&&this.app.precalcRect===null){let t=await this.execute("app.preparePrerenderData()",()=>this.app.sendDimensions.preparePrerenderData()),e=await this.execute("app.templateFunc()",()=>{let i=this.app.getRenderer(this.app.templateText);return i.setRawTemplate(this.app.templateText),i.getHtml(t)});await this.execute("app.prerenderNews()",()=>{this.app.sendDimensions.prerenderNews(e)}),await this.app.sendDimensions.waitForStyleApplied(),await this.execute("app.calcPreRenderingBlock()",()=>{this.app.sendDimensions.calcPreRenderingBlock()},50)}this.app.time("processHooks(afterPreRenderNewsHooks)"),await this.processHooks("afterPreRenderNewsHooks",null),this.app.timeEnd("processHooks(afterPreRenderNewsHooks)"),this.app.getVideoMetricsParams()===null&&(this.app.time("app.videoMetricsBlock.waitForCollectMetrics()"),await this.app.videoMetricsBlock.waitForCollectMetrics(),this.app.timeEnd("app.videoMetricsBlock.waitForCollectMetrics()")),await this.execute("app.injectScript()",()=>{this.app.injectScript(!1)}),this.app.initServicerRequest||(this.app.time("processHooks(afterInjectScriptHooks)"),await this.processHooks("afterInjectScriptHooks",null),this.app.timeEnd("processHooks(afterInjectScriptHooks)"))}catch(t){this.app.log("","error",t)}this.workInProgress=!1,this.app.timeEnd("run()")}async render(t,e){await this.waitForFree(),this.stage=Ut.Render,this.workInProgress=!0,this.app.time("render()");try{await this.execute("loadNewsPrestart()",()=>{this.app.loadNewsPrestart(e,t?.length)});let i=this.app.responseParser.getAdUnitsFromJson(t);this.app.responseParser.fillAdUnitsData(i),this.app.time("processHooks(beforeLoadNewsHooks)"),await this.processHooks("beforeLoadNewsHooks",[t,e]),this.app.timeEnd("processHooks(beforeLoadNewsHooks)"),await this.execute("app.loadNews()",()=>{this.app.getRenderer(this.app.templateText).setRawTemplate(this.app.templateText),this.app.loadNews(i)}),this.app.time("processHooks(afterLoadNewsHooks)"),await this.processHooks("afterLoadNewsHooks",null),this.app.timeEnd("processHooks(afterLoadNewsHooks)")}catch(i){this.app.log("","error",i)}window.performance?.mark("render_finish",{detail:{_mgwidget:this.app.widgetParams.WIDGET.id}}),this.workInProgress=!1,this.app.timeEnd("render()")}async initBlocks(){if(await this.execute("",async()=>{this.app.mgqBlock=new(await Promise.resolve().then(()=>(Pe(),qi))).MgqBlock(this.app)}),this.app.widgetParams.WIDGET.crossDomainStorageEnabled&&await this.execute("",async()=>{await Vt.waitForFrame()}),await this.execute("",async()=>{this.app.utils=new(await Promise.resolve().then(()=>(zi(),Ui))).UtilsBlock(this.app)}),await this.execute("",async()=>{this.app.consentsBlock=new(await Promise.resolve().then(()=>(Ji(),Ki))).ConsentsBlock(this.app)}),await this.execute("",async()=>{this.app.request=new(await Promise.resolve().then(()=>(Xi(),Zi))).RequestBlock(this.app)}),await this.execute("",async()=>{this.app.contextBlock=new(await Promise.resolve().then(()=>(Yi(),Qi))).ContextBlock(this.app)}),await this.execute("",async()=>{this.app.pageViewPixelBlock=new(await Promise.resolve().then(()=>(es(),ts))).PageViewPixelBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.BackButtonBlock&&await this.execute("",async()=>{this.app.backButtonBlock=new(await Promise.resolve().then(()=>(as(),ss))).BackButtonBlock(this.app)}),await this.execute("",async()=>{this.app.main=new(await Promise.resolve().then(()=>(ns(),rs))).MainBlock(this.app)}),await this.execute("",async()=>{this.app.responseParser=new(await Promise.resolve().then(()=>(ps(),os))).ResponseParserBlock(this.app)}),await this.execute("",async()=>{this.app.cookieBlock=new(await Promise.resolve().then(()=>(hs(),cs))).CookieBlock(this.app)}),await this.execute("",async()=>{this.app.stylesheetsBlock=new(await Promise.resolve().then(()=>(ds(),ls))).StylesheetsBlock(this.app)}),await this.execute("",async()=>{this.app.advertLinkBlock=new(await Promise.resolve().then(()=>(us(),ms))).AdvertLinkBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.SendDimensionsBlock&&await this.execute("",async()=>{this.app.sendDimensions=new(await Promise.resolve().then(()=>(gs(),xs))).SendDimensionsBlock(this.app)}),await this.execute("",async()=>{this.app.InternalExchangeLogger=new(await Promise.resolve().then(()=>(ws(),fs))).InternalExchangeLoggerBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.RefreshTeaserAfterClickBlock&&await this.execute("",async()=>{this.app.refreshTeaserAfterClickBlock=new(await Promise.resolve().then(()=>(bs(),vs))).RefreshTeaserAfterClickBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.IframeSizeChangerBlock&&await this.execute("",async()=>{this.app.iframeSizeChangerBlock=new(await Promise.resolve().then(()=>(ys(),ks))).IframeSizeChangerBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.RejectBlock&&await this.execute("",async()=>{this.app.rejectBlock=new(await Promise.resolve().then(()=>(Ps(),Is))).RejectBlock(this.app)}),await this.execute("",async()=>{this.app.dsaIconBlock=new(await Promise.resolve().then(()=>(Ts(),Ss))).DSAIconBlock(this.app)}),await this.execute("",async()=>{this.app.teaserHoverBlock=new(await Promise.resolve().then(()=>(Es(),Ds))).TeaserHoverBlock(this.app)}),await this.execute("",async()=>{this.app.inAppParamsBlock=new(await Promise.resolve().then(()=>(Ws(),Bs))).InAppParamsBlock(this.app)}),await this.execute("",async()=>{this.app.countersBlock=new(await Promise.resolve().then(()=>(As(),Ls))).CountersBlock(this.app)}),await this.execute("",async()=>{this.app.subnetsBlock=new(await Promise.resolve().then(()=>(Gs(),_s))).SubnetsBlock(this.app)}),await this.execute("",async()=>{this.app.scrollTimeDoubleClickBlock=new(await Promise.resolve().then(()=>(Rs(),Os))).ScrollTimeDoubleClickBlock(this.app)}),await this.execute("",async()=>{this.app.smartDoubleClickBlock=new(await Promise.resolve().then(()=>(Ns(),Ms))).SmartDoubleClickBlock(this.app)}),await this.execute("",async()=>{this.app.mobileDoubleClickBlock=new(await Promise.resolve().then(()=>(Fs(),Vs))).MobileDoubleClickBlock(this.app)}),await this.execute("",async()=>{this.app.desktopDoubleClickBlock=new(await Promise.resolve().then(()=>(Us(),qs))).DesktopDoubleClickBlock(this.app)}),await this.execute("",async()=>{this.app.sspDoubleClickBlock=new(await Promise.resolve().then(()=>($s(),zs))).SspDoubleClickBlock(this.app)}),await this.execute("",async()=>{this.app.externalCountersBlock=new(await Promise.resolve().then(()=>(Ks(),js))).ExternalCountersBlock(this.app)}),await this.execute("",async()=>{this.app.videoTeasersBlock=new(await Promise.resolve().then(()=>(Zs(),Js))).VideoTeasersBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.OriginTrialsBlock&&await this.execute("",async()=>{this.app.originTrialsBlock=new(await Promise.resolve().then(()=>(Qs(),Xs))).OriginTrialsBlock(this.app)}),await this.execute("",async()=>{this.app.calculateSessionsBlock=new(await Promise.resolve().then(()=>(ta(),Ys))).CalculateSessionsBlock(this.app)}),await this.execute("",async()=>{this.app.calculateViewrateBlock=new(await Promise.resolve().then(()=>(ia(),ea))).CalculateViewrateBlock(this.app)}),await this.execute("",async()=>{this.app.sharedIdBlock=new(await Promise.resolve().then(()=>(aa(),sa))).SharedIdBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.RenderClassicBlock&&await this.execute("",async()=>{this.app.renderClassicBlock=new(await Promise.resolve().then(()=>(na(),ra))).RenderClassicBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.ResponsiveBlock&&(this.app.responsiveBlock=new(await Promise.resolve().then(()=>(pa(),oa))).ResponsiveBlock(this.app)),this.app.widgetParams.WIDGET.BLOCKS.ScaleInfoBlock&&await this.execute("",async()=>{this.app.scaleInfoBlock=new(await Promise.resolve().then(()=>(ha(),ca))).ScaleInfoBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.BrowserTopicsBlock&&await this.execute("",async()=>{this.app.browserTopicsBlock=new(await Promise.resolve().then(()=>(da(),la))).BrowserTopicsBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.AntifraudBlock&&(await this.execute("",async()=>{this.app.antifraudStatisticsBlock=new(await Promise.resolve().then(()=>(xa(),ua))).AntifraudStatisticsBlock(this.app)}),await this.execute("",async()=>{this.app.antifraudBlock=new(await Promise.resolve().then(()=>(va(),wa))).AntifraudBlock(this.app)})),this.app.widgetParams.WIDGET.BLOCKS.AccidentalClicksBlock&&await this.execute("",async()=>{this.app.accidentalClicksBlock=new(await Promise.resolve().then(()=>(ka(),ba))).AccidentalClicksBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.ActivateDelayBlock&&await this.execute("",async()=>{this.app.activateDelayBlock=new(await Promise.resolve().then(()=>(Ia(),ya))).ActivateDelayBlock(this.app)}),this.isAdBlockDetect){for(let t in this.app.childWidgetsData)if(this.app.childWidgetsData.hasOwnProperty(t)){let e=this.app.childWidgetsData[t].isAdblockChild,i=this.app.childWidgetsData[t].childSubtype;if(e&&i==="in-article-adblock"){await this.execute("",async()=>{this.app.hideDescriptionBlock=new(await Promise.resolve().then(()=>(Sa(),Pa))).HideDescriptionBlock(this.app)});break}}}await this.execute("",async()=>{this.app.collectViewDataBlock=new(await Promise.resolve().then(()=>(Da(),Ta))).CollectViewDataBlock(this.app)}),this.app.widgetParams.WIDGET.BLOCKS.RtbBlock&&await this.execute("",async()=>{this.app.rtbBlock=new(await Promise.resolve().then(()=>(Ca(),Ea))).RtbBlock(this.app)}),await this.execute("",async()=>{this.app.observerBlock=new(await Promise.resolve().then(()=>(Wa(),Ba))).ObserverBlock(this.app)}),await this.execute("",async()=>{this.app.refactoredMonitorBlock=new(await Promise.resolve().then(()=>(Aa(),La))).RefactoredMonitorBlock(this.app)});try{this.app.context.localStorage&&this.app.widgetParams.WIDGET.BLOCKS.ID5Block&&await this.execute("ID5Block",async()=>{this.app.id5Block=new(await Promise.resolve().then(()=>(Oa(),Ga))).ID5Block(this.app)})}catch{}try{await Promise.resolve().then(()=>Qt(Ra())),await Promise.resolve().then(()=>Qt(Ha())),await this.initializeCustomFuncBlocks()}catch(t){this.app.log("LifeCycleBlock - Initialize Custom Func Blocks error:","error",t)}}async initializeCustomFuncBlocks(){let t=window[`${this.app.widgetParams.WIDGET.I}`].parentCustomFuncBlocks||{};for(let e in t)if(t.hasOwnProperty(e)){let i=e.replace(/[-_]/g,"").replace(/./,r=>r.toUpperCase())+"Block",s=`Custom func block - ${e}`;await this.execute(s,r=>{try{this.app[i]=new t[e](this.app),r()}catch(c){this.app.log(`LifeCycleBlock - ${s} error:`,"error",c),this.app.debugBlock.sendData(c.message),r()}},0,!1,!0)}}async processHooks(t,e){let i=this.app[t];for(let s=0;s<i.length;s++){let r=i[s];try{await r(e)}catch(c){this.app.log(`LifeCycleBlock - ${t} hook ${r} failed`,"error",c)}}}async execute(t,e,i=0,s=!1,r=!1){t&&typeof this.app.time=="function"&&this.app.time(t);let c=navigator.userAgent.toLowerCase(),d=this.app.widgetParams.WIDGET.disableCwvOptimization||this.app.isAmp()||!(c.indexOf("chrome")>-1&&navigator.vendor.toLowerCase().indexOf("google")>-1)||c.indexOf("fbav")>-1||c.indexOf("fban")>-1;return new Promise(u=>{if(d&&!s)r?e(u):u(e());else if(this.app.context.scheduler)this.app.context.scheduler.postTask(()=>{r?e(u):u(e())},{delay:i});else if(this.workersAvailable){let m=("0000000000"+Math.round(Math.random()*1e10).toString(16)).slice(-10);this.workerCallbacks[m]=()=>{r?e(u):u(e())},this.worker.postMessage({eventId:m,timeout:i})}else setTimeout(()=>{r?e(u):u(e())},i)}).finally(()=>{t&&typeof this.app.timeEnd=="function"&&this.app.timeEnd(t)})}async waitForFree(){return new Promise(t=>{(function e(){this.workInProgress?this.execute("",()=>{e.bind(this)()},50,!0):t()}).bind(this)()})}async waitWidgetLoad(){return new Promise(t=>{this.app.lifeCycleLoadResolver=t})}async waitForLoadBackfill(){return new Promise(t=>{let e=i=>{let s=`_mgLoadBackfill_${this.app.widgetParams.WIDGET.id}`;i.data===s&&typeof this.app.context[s]>"u"&&(this.app.context[s]=!0,this.app.context.removeEventListener("message",e,!1),this.app.context.parent.postMessage(s,"*"),t())};this.app.context.addEventListener("message",e,!1)})}}});C();B();C();B();C();B();C();B();$();var Yt=class extends O{constructor(t){super(t),this.isDebugEnabled=!1,this.isProfilerEnabled=!1,this.app.log=this.log.bind(this),this.app.time=this.time.bind(this),this.app.timeEnd=this.timeEnd.bind(this)}initDebugger(){this.isDebugEnabled=this.app.getQueryParameterByName("mgwdebug")==="1"||this.app.widgetParams.WIDGET.debug,this.isProfilerEnabled=this.app.getQueryParameterByName("mgwprofile")==="1"||this.app.widgetParams.WIDGET.debug,this.app.widgetParams.WIDGET.loggerEnabled&&(this.app.context.addEventListener("error",t=>{(t.filename===this.app.widgetParams.WIDGET.widgetPathES6||t.filename===this.app.widgetParams.WIDGET.widgetPathES5)&&this.sendData(t.message)}),this.app.context.addEventListener("unhandledrejection",t=>{(t.reason?.stack.indexOf(this.app.widgetParams.WIDGET.widgetPathES6)>0||t.reason?.stack.indexOf(this.app.widgetParams.WIDGET.widgetPathES5)>0)&&this.sendData(t.reason.stack)}))}log(t,e="log",i=null){if(this.isDebugEnabled){let r=["log","info","warn","error"].indexOf(e)!==-1?e:"log";typeof console[r]!="function"&&(r="log"),i&&i.stack&&i.message?console[r](`WIDGET_${this.app.widgetParams.WIDGET.id}_${this.app.uniqId}`,t,i.stack):console[r](`WIDGET_${this.app.widgetParams.WIDGET.id}_${this.app.uniqId}`,t)}}time(t){this.isProfilerEnabled&&typeof console.time=="function"&&console.time(`WIDGET_${this.app.widgetParams.WIDGET.id}_${this.app.uniqId} ${t}`)}timeEnd(t){this.isProfilerEnabled&&typeof console.timeEnd=="function"&&console.timeEnd(`WIDGET_${this.app.widgetParams.WIDGET.id}_${this.app.uniqId} ${t}`)}sendData(t){this.app.widgetParams.WIDGET.loggerEnabled&&this.app.request.pixel("logger",`https://${this.app.widgetParams.WIDGET.countersDomain}/widget-log?id=${this.app.widgetParams.WIDGET.id}&d=`+encodeURIComponent(t)+"&ts="+new Date().getTime(),{},{})}};vt();var te=class w{constructor(t,e,i,s,r,c,d){if(this.BaseBlockClass=w,this.app=this,this.widgetParams=d,this.context=e,this.blankImage=this.app.widgetParams.WIDGET.blankImage,this.enabledCooperationTypes=JSON.parse(this.app.widgetParams.WIDGET.cooperationTypes),this.root=this.context.document.getElementById(t),this.debugBlock=new Yt(this),this.lifeCycleLoadResolver=null,this.waitConsentResolver=null,this.rootId=t,this.containerId=s,this.uniqId=r,this.fallbackMode=i,this.page=1,this.adlink="",this.template="",this.templateContent=null,this.id=this.app.widgetParams.WIDGET.id,this.originalId=this.app.widgetParams.WIDGET.id,this.pvid="",this.muid="",this.afterPreRenderNewsHooks=[],this.beforeInjectScriptHooks=[],this.beforeLoadNewsHooks=[],this.afterLoadNewsHooks=[],this.afterInjectScriptHooks=[],this.beforePrepareCappingDataHooks=[],this.afterPrepareCappingDataHooks=[],this.afterSendCappingHooks=[],this.beforeInitHooks=[],this.afterInitHooks=[],this.observerWidgetHooks=[],this.observerTeasersHooks=[],this.blocksAddress="",this.tickerPrefix="",this.countLoadBlocks=0,this.preTemplate="",this.postTemplate="",this.banners={},this.loadedDefault=!1,this.teaserData={},this.servicerData={},this.pagesServicerData=[],this.childWidgetsData=JSON.parse(this.app.widgetParams.WIDGET.childWidgets),this.versionWidget=c,this.sspPerformance=this.app.widgetParams.WIDGET.sspPerformancePercentage>=Math.ceil(Math.random()*100),this.doubleClickType="",this.doubleClickCheckId=0,this.doubleClickPercent=0,this.precalcRect=null,this.preRenderTeaserSizes=null,this.preRenderImageSizes=null,this.isSingleJS=this.versionWidget===17&&typeof this.context._mgc<"u",this.widgetConstructorData=JSON.parse(this.app.widgetParams.WIDGET._constructor),typeof this.widgetConstructorData.mctitle<"u"&&typeof this.widgetConstructorData.mctitle.styles<"u"&&typeof this.widgetConstructorData.mctitle.styles.fontSize<"u"?this.autoSizeTitle=Number(this.widgetConstructorData.mctitle.styles.fontSize):this.autoSizeTitle=0,this.globalSettings=JSON.parse(this.app.widgetParams.WIDGET.globalSettings),this.customBanners=JSON.parse(this.app.widgetParams.WIDGET.customBanners),this.initServicerRequest=!0,this.exceptAdsList=[],this.exceptExchangeList=[],this.context._mgIntExchangeNews=this.context._mgIntExchangeNews||[],this.clickHandlers=[],this.sspDoubleClickHash=[],this.requestParams={},this.userAgentDataParams=null,this.consentDataParams=null,this.videoMetricsParams=null,this.webProtocol="https:",this.clickHandlerList={onSiteNotificationClick:{handler:"onSiteNotificationHandler",priority:8},onSmartDoubleClick:{handler:"onSmartDoubleClickHandler",priority:10},onAntifraudStatisticsClick:{handler:"onAntifraudStatisticsClickHandler",priority:15},sspDoubleClick:{handler:"sspDoubleClickHandler",priority:20},scrollTimeDoubleClick:{handler:"scrollTimeDoubleClickHandler",priority:21},activateDelayLink:{handler:"activateDelayLinkHandler",priority:30},accidentalClicks:{handler:"accidentalClicksHandler",priority:50},returnedRefreshClick:{handler:"returnedRefreshClickHandler",priority:120},showDesktopDoubleClick:{handler:"showDesktopDoubleClickButton",priority:150},showMobileDoubleClick:{handler:"showDoubleClickButton",priority:150},externalCountersLink:{handler:"externalCountersLinkHandler",priority:180},internalExchangeLogger:{handler:"internalExchangeLoggerHandler",priority:180},hangNiceLinkListener:{handler:"hangNiceLinkListener",priority:200},countSessionClicks:{handler:"countSessionClicksHandler",priority:250},closeWidgetClick:{handler:"closeWidget",priority:600},refreshNews:{handler:"refreshNewsHandler",priority:700}},this.context.self!==this.context.top){let u=this.context.document.referrer.split("/");this.intExchangeProtocol=u[0].indexOf("http")==0?u[0]:"https:"}else{let u=this.context.document.location.protocol;this.intExchangeProtocol=u.indexOf("http")==0?u:"https:"}this.sourceName="",this.setTemplate(this.app.widgetParams.WIDGET.widgetTemplate.replace(/[\r\n]/g,"")),this.setStyles(this.app.widgetParams.WIDGET.templateStyles.replace(/\\'/g,"'")),this.servicerDomain=this.app.widgetParams.WIDGET.servicerDomain,this.adBlockStyles=this.app.widgetParams.WIDGET.adBlockTemplateStyles.replace(/\((\'|\")?\/\//g,"($1https://"),this.clickTracking="",this.loadedType="",this.parentCustomFuncBlocks={},this.childFuncBlocks={},this.browserId=-1,this.deviceType=Nt.Desktop,this.hrefAttr="href",this.enabledCooperationTypes=JSON.parse(this.app.widgetParams.WIDGET.cooperationTypes),this.consentData=null,this.cmpEnabled=!1,this.uspString="",this.uspEnabled=!1,this.tcfv2Data=null,this.tcfv2Enabled=!1,this.consentOrigin=null,this.cookieMatchingDomain=this.app.widgetParams.WIDGET.cookieMatchingDomain?this.app.widgetParams.WIDGET.cookieMatchingDomain:"",this.iframePlacementType=0,this.networkInformationType="unknown",this.networkInformationEffectiveType="unknown",this.networkInformationSaveData=0,this.pageUrl="",this.refererUrl="",this.refererParam="",this.adblockDetectResult=null,this.adBlockStatement=!1,this.gptOptions=JSON.parse(this.app.widgetParams.WIDGET.gptOptions||"{}"),this.backfillData=JSON.parse(this.app.widgetParams.WIDGET.backfillData||"{}"),this.isOurIframe=this.context.document.location.hostname===this.app.widgetParams.WIDGET.iframeDomain,this.refreshedElement=null,this.startServicerTime=null,this.widgetCappingEnabled=this.app.widgetParams.WIDGET.flippEnabled,this.isShowedUpFormat=this.app.widgetParams.WIDGET.popup||["mobile-widget","in-site-notification","passage","interstitial"].indexOf(this.app.widgetParams.WIDGET.type)!==-1,this.sendBannerInfoScript=`<script>
      var mgLastSendHeight = 0;
      var mgLastSendWidth = 0;
      function mgSendInfo() {
        var data = {
          type: '_mgBannerInfo',
          height: mgLastSendHeight,
          width: mgLastSendWidth,
          id: window['_mgBannerId']
        };
        window.parent.postMessage(data, '*');
      }
      var mgResizeObserver = new ResizeObserver(function(entries) {
        for (var i = 0; i < entries.length; i++) {
          var entry = entries[i];
          var newHeight = Math.round(entry.contentRect.height);
          if (newHeight >= 50 && newHeight !== mgLastSendHeight) {
            mgLastSendHeight = newHeight;
            mgLastSendWidth = Math.round(entry.contentRect.width);
            mgSendInfo();
          }
        }
      });
      mgResizeObserver.observe(document.body);
    <\/script>`,this.setRefererData()}setRefererData(){let t=this.app.isIframe(),e=!0,i=!1,s=this.app.context,r=this.app.context;if(t)for(;;){try{s.frameElement&&s.frameElement.src!=""&&(e=!1),s.document.body}catch{s=r,i=!0,e=!1;break}if(s==s.parent)break;r=s,s=s.parent}try{this.app.isAmp()?(this.app.iframePlacementType=3,this.app.pageUrl=typeof this.app.context.context.sourceUrl<"u"?this.app.context.context.sourceUrl:"",this.app.refererUrl=typeof this.app.context.context.referrer<"u"?this.app.context.context.referrer:"",this.app.pageUrl!=""?this.app.refererParam=this.app.pageUrl:this.app.refererParam=this.app.refererUrl):(this.app.pageUrl=s.document.location.href,this.app.refererUrl=s.document.referrer||"",this.app.refererParam=this.app.refererUrl,t&&!e&&(i?this.app.iframePlacementType=2:(this.app.refererParam=this.app.pageUrl,this.app.iframePlacementType=1)))}catch{this.app.iframePlacementType=2}}getQueryParameterByName(t){t=t.replace(/[\[\]]/g,"\\$&");let i=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(this.app.context.location.href);return i?i[2]?decodeURIComponent(i[2].replace(/\+/g," ")):"":null}setStyles(t){this.app.styles=t.replace(/\((\'|\")?\/\//g,"($1"+this.app.webProtocol+"//")}setTemplate(t){t=t.replace(/^\s*[\r\n]|\s{2,}/gm,""),t=t.replace(/\((\'|\")?\/\//g,"($1"+this.app.webProtocol+"//"),t=t.replace('src="//','src="'+this.app.webProtocol+"//"),this.app.templateText=t.replace('href="//','href="'+this.app.webProtocol+"//")}cutString(t,e,i){if(t.length<=e)return t;let s=[];s=t.split(" ");let r=s[0]+" ",c;for(let d=1;d<s.length;d++){if(c=r+s[d],c.length>e)return r+(typeof i>"u"||i?"...":"");r+=s[d]+" "}return t}parseString(t,e){let i=[],s,r="";for(i=t.split(" "),s=0;s<i.length;s++)i[s].length>e&&i[s].search(/&\w+;/)<0?r+=i[s].substr(0,e)+" "+i[s].substr(e)+" ":r+=i[s]+" ";return r}prepareTitle(t){return this.app.widgetParams.WIDGET.titleBreak&&(t=this.app.parseString(t,this.app.widgetParams.WIDGET.titleBreak)),this.app.widgetParams.WIDGET.titleLimit&&(t=this.app.cutString(t,this.app.widgetParams.WIDGET.titleLimit,this.app.widgetParams.WIDGET.informerTitleDotsFlag)),this.app.widgetParams.WIDGET.disableCaps&&(t=t.replace(/[\!\s\t\n\r\0\x0B]+$/g,"").replace(/([А-ЯЁA-Z]{2,})/g,(e,i,s,r)=>!s||r.substring(parseInt(s-2)).match(/^[!|?|.|,|-]\s/g)?e.replace(i.substring(1),i.substring(1).toLowerCase()):e.toLowerCase())),t}prepareDesc(t){return this.app.widgetParams.WIDGET.descBreak&&(t=this.app.parseString(t,this.app.widgetParams.WIDGET.descBreak)),this.app.widgetParams.WIDGET.descLimit&&(t=this.app.cutString(t,this.app.widgetParams.WIDGET.descLimit,1)),t}hidePreloadDiv(){this.app.fallbackMode?this.app.fallbackMode&&this.app.countLoadBlocks===0&&(this.app.root.innerHTML="",this.app.context.document.getElementById("M"+this.app.widgetParams.WIDGET.siteId+"PreloadC"+this.app.widgetParams.WIDGET.id)&&(this.app.context.document.getElementById("M"+this.app.widgetParams.WIDGET.siteId+"PreloadC"+this.app.widgetParams.WIDGET.id).style.display="none")):[this.app.widgetParams.WIDGET.informerPrefix+"PreloadC"+this.app.containerId,"M"+this.app.widgetParams.WIDGET.siteId+"PreloadC"+this.app.containerId,this.app.widgetParams.WIDGET.informerPrefix+"PreloadN"+this.app.containerId,"M"+this.app.widgetParams.WIDGET.siteId+"PreloadN"+this.app.containerId].every(e=>{let i=this.app.context.document.getElementById(e);return i?(i.style.display="none",!1):!0})}loadNewsPrestart(t,e){if(this.app.hidePreloadDiv(),typeof t<"u"){this.app.servicerData=t;let i={page:this.app.pagesServicerData.length+1,servicerData:this.app.servicerData,teasersCount:e};if(this.app.pagesServicerData.push(i),typeof t.dt<"u"&&(this.app.deviceType=t.dt),typeof t.brid<"u"&&(this.app.browserId=t.brid),this.app.widgetParams.WIDGET.hasVideoPart&&typeof this.app.servicerData.lib<"u"&&this.app.servicerData.config&&this.app.servicerData.config.formats&&this.preloadVideoWidgetResources(),typeof this.app.servicerData<"u"&&typeof this.app.servicerData.css<"u"&&(this.app.styles=this.app.servicerData.css,this.app.stylesheetsBlock.add("split_style",this.app.servicerData.css),this.app.stylesheetsBlock.remove("main")),typeof this.app.servicerData<"u"&&typeof this.app.servicerData.t<"u"&&this.app.servicerData.t!==""){let s=this.app.servicerData.t.replace(/\r?\n/g,"");this.app.setTemplate(s)}}}preloadVideoWidgetResources(){let t=this.app.servicerData.dt?this.app.servicerData.dt:"desktop",e=this.app.servicerData.config.formats.filter(i=>i.device===t)[0];if(e){let{protocol:i}=this.context.document.location,s=i.indexOf("http")!==-1?`${i}//`:"https://",r=this.app.widgetParams.WIDGET.staticRootDomain?this.app.widgetParams.WIDGET.staticRootDomain:this.app.currentSubnetDomain,c=`mgStyles${this.id}`;if(e.styleUrl){let d=e.styleUrl.replace("{{DOMAIN}}",this.app.currentSubnetDomain).replace(/^(https?:\/\/|\/\/)/,`${s}`);this.appendWidgetPreloadDom(d,c,!0)}(typeof e.playerType>"u"||e.playerType==="mgplayer")&&this.appendWidgetPreloadDom(`${s}video-native.${r}/mgPlayer/img/mgPlayer_v2_sprite.svg`)}}appendWidgetPreloadDom(t,e="",i=!1){let s=this.context.document.createElement("link");s.setAttribute("href",t);let r=t.split(".").pop();r==="css"&&(s.setAttribute("type","text/css"),s.setAttribute("rel","stylesheet")),r==="svg"&&s.setAttribute("type","image/svg+xml"),e&&s.setAttribute("id",e),i&&(s.onload=()=>{s.setAttribute("data-loaded","true")}),this.app.isShadowRoot()?(this.app.root.getRootNode().appendChild(s),this.context.document.head.appendChild(s.cloneNode(!0))):this.context.document.head.appendChild(s)}addVideoLib(){if(this.app.widgetParams.WIDGET.hasVideoPart&&typeof this.app.servicerData.lib<"u"){let t=this.app.widgetParams.WIDGET.libraryVersion!==this.app.servicerData.lib?`${this.app.widgetParams.WIDGET.libraryVersion}<${this.app.servicerData.lib}`:"",e=JSON.parse(this.app.widgetParams.WIDGET.videoCfg),i={lib:this.getActiveChilds().length===0?this.app.widgetParams.WIDGET.libraryVersion:this.app.servicerData.lib,servLib:t,cid:this.app.id,sid:this.app.widgetParams.WIDGET.siteId,config:typeof this.app.servicerData.config<"u"?this.app.servicerData.config:e,vr_playlist:typeof this.app.servicerData.vr_playlist<"u"?this.app.servicerData.vr_playlist:[],template:"",styles:"",paramsData:{isSmart:this.app.widgetParams.WIDGET.type==="smart"},cxurl:this.app.contextBlock.contextUriParse(),subnetDomain:this.app.currentSubnetDomain,countersDomain:this.app.widgetParams.WIDGET.countersDomain,lang:this.app.servicerData.sl,sd:this.app.servicerData.sd,cappingData:{dt:this.app.servicerData.dt,ts:this.app.servicerData.ts,tt:this.app.servicerData.tt,h2:this.app.servicerData.h2,iv:this.app.servicerData.iv,psid:this.app.servicerData.psid,isBot:this.app.servicerData.isBot,subnet:this.app.currentSubnet,lang:this.app.globalSettings.current_language},rootElement:this.app.root,scriptRoot:this.getRoot(),hasBackfill:!!this.app.backfillData.video,backfillCallback:()=>{this.app.backfillBlock.renderBackfill()},backfillDestructor:()=>{this.app.backfillBlock.destroyBackfill()},tcfExpirationDate:Number(this.app.globalSettings?.widget_consent_outdated_time)||168,backfillPrice:this.servicerData.backfillPrice};this.app.root.className.indexOf("_mgw_"+this.app.widgetParams.WIDGET.id)===-1&&(this.app.root.className+=(this.app.root.className.length===0?"":" ")+"_mgw_"+this.app.widgetParams.WIDGET.id),this.app.root.className.indexOf("_mgVideoBlock_"+this.app.widgetParams.WIDGET.id)===-1&&(this.app.root.className+=(this.app.root.className.length===0?"":" ")+"_mgVideoBlock_"+this.app.widgetParams.WIDGET.id),setTimeout(()=>{if(this.app.servicerData.config?.testWidgetLib){this.app.context._mgq=this.app.context._mgq||[];let s=!0,r=this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.cdnDomain+"/js/wglibs/mgWidget_"+this.app.servicerData.lib+(s?".es6":".es5")+".js";if(this.app.servicerData.config?.testWidgetLib){let d=this.app.servicerData.config.testWidgetLib.match(/mgWidget_(debug_)?(VID\d+)/);d!==null&&(i.lib=d[2]);let u=this.app.servicerData.config.testWidgetLib;u.indexOf(".es")===-1&&(u=u.replace(".js",s?".es6.js":".es5.js")),r=u+"?r="+encodeURIComponent(this.app.pageUrl)}let c=this.app.context.document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.src=r,this.app.context.document.head.appendChild(c),this.app.context._mgq.push(["_mgload",i]),this.startMgqwp()}else this.videoWidgetsLib.loadLibrary(i)},0)}}loadNews(t){if(this.app.addVideoLib(),t.length>0){let i=this.app.getRenderer(this.app.templateText).getHtml(t);if(this.app.root&&i){if(i=this.app.advertLinkBlock.parseAdvertLink(i),this.app.fallbackMode&&this.app.countLoadBlocks==0&&(this.app.root.innerHTML=""),this.app.templateContent=this.app.context.document.createElement("template"),this.app.templateContent.innerHTML="<div>"+this.app.preTemplate+i+this.app.postTemplate+"</div>",typeof this.app.templateContent.content>"u"){let d=this.app.templateContent,u=document.createDocumentFragment(),m=d.childNodes;for(let k=0;k<m.length;k++)u.appendChild(m[k].cloneNode(!0));this.app.templateContent.content=u}this.app.templateContent=this.app.templateContent.content.firstChild;let s=this.app.templateContent.querySelectorAll(".mgline-gpt");if(s.length)for(let d=0;d<s.length;d++)s[d].innerHTML="";if(this.app.refreshedElement){this.app.templateContent=this.app.templateContent.querySelector(".mgline");let d=this.app.templateContent.getElementsByTagName("a");for(let u=0;u<d.length;u++)d[u].setAttribute("data-refreshed","true")}let r=this.app.templateContent.querySelectorAll("img.mcimg");if(r.length>0)for(let d=0;d<r.length;d++){let u=r[d];u.src=r[d].getAttribute("data-src"),u.setAttribute("alt","")}let c=this.app.templateContent.querySelectorAll("video.mcvideo");if(c.length>0)for(let d=0;d<c.length;d++){let u=c[d];u.onplay=function(){u.classList.add("played")},u.removeAttribute("nopin"),u.removeAttribute("crossorigin"),u.src=u.getAttribute("data-src"),typeof u.childNodes[0]<"u"&&u.parentElement.appendChild(u.childNodes[0])}this.app.addTemplate(this.app.templateContent),this.app.renderBanners(!0,null)}}else{if(typeof this.app.context._mgIsCustomBanner<"u")try{let i={type:"_mgBannerInfo",isEmpty:!0,id:this.app.context._mgBannerId};this.app.context.parent.postMessage(i,"*")}catch{}if(this.app.root&&this.app.countLoadBlocks==0){this.app.root.innerHTML="";return}}if(this.app.servicerData&&this.app.servicerData.muidn&&this.app.servicerData.pvid&&this.app.pvid!=""&&this.app.servicerData.pvid==this.app.pvid)try{this.app.muid=this.app.servicerData.muidn,this.app.isAmp()&&(this.app.cookieBlock.cookieStorage.muidn=this.app.servicerData.muidn),this.app.context.localStorage&&this.app.context.localStorage.setItem("mgMuidn",this.app.servicerData.muidn)}catch{}this.app.cookieBlock.cookieStorage.page=this.app.page,this.app.cookieBlock.cookieStorage.time=new Date().getTime().toString(),this.app.cookieBlock.setCookie();let e=this.app.root.getElementsByTagName("a");for(let i=0;i<e.length;i++)this.app.widgetParams.WIDGET.noFollow&&(e[i].rel="sponsored nofollow noopener");this.app.countLoadBlocks++}addTemplate(t){this.app.refreshedElement?(this.app.refreshedElement.parentNode.replaceChild(t,this.app.refreshedElement),(typeof this.app.requestParams.limitads<"u"||typeof this.app.requestParams.pos<"u")&&(delete this.app.requestParams.limitads,delete this.app.requestParams.pos),this.app.refreshedElement=null):this.app.root.appendChild(t)}getViewportHeight(){let t=this.app.context.document,e=this.app.context,i="documentElement",s="clientHeight",r="clientWidth",c="innerHeight",d="innerWidth",u="scrollHeight",m="scrollWidth",k="offsetHeight",I="offsetWidth",T="offsetLeft",v="offsetTop",D="scrollTop",b="scrollLeft";return this.app.isAmp()?typeof e["intersectionRect"+this.app.widgetParams.WIDGET.id+"_"+this.uniqId]<"u"?{c:e["intersectionRect"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId].height,s:e["intersectionRect"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId].y}:{c:e["intersectionRect"+this.app.widgetParams.WIDGET.id].height,s:e["intersectionRect"+this.app.widgetParams.WIDGET.id].y}:e[d]?{c:e[c],s:e.pageYOffset}:t[i]&&t[i][r]?{c:t[i][s],s:t[i][D]}:t.body[r]?{c:t.body[s],s:t.body[D]}:0}renderBanners(t,e){for(let i in this.app.banners)if(this.app.banners[i].rs!=t){if(!t){if(this.app.banners[i].iteration!=e)continue;this.app.banners[i].rs=!1}if(this.app.banners[i].isRendered===!0)continue;let s=this.app.root.querySelector("#"+i),r=this.app.banners[i].html,c=!1;if(this.app.banners[i].clickUrl&&r.indexOf("${CLICK_PIXEL}")!==-1){let k=this.app.allowReturnParams;this.app.allowReturnParams=!0,r=r.replace(/\${CLICK_PIXEL}/g,this.app.banners[i].clickUrl+this.app.getAntifraudQueryParameter(this.app.banners[i].clickUrl)),c=!0,this.app.allowReturnParams=k}r.indexOf("{page_url}")!==-1&&(r=r.replace(/{page_url}/g,this.app.pageUrl)),r.indexOf("{referrer_url}")!==-1&&(r=r.replace(/{referrer_url}/g,this.app.refererUrl));let d=this.app.banners[i].isCustomBanner,u=this.app.isSingleJS&&d&&r.indexOf("_mgwidget")!==-1,m=`<!DOCTYPE html><html><body style="margin: 0;">
          <script>var _mgBannerId = "${this.app.banners[i].id}";<\/script>
          ${d?"<script>var _mgIsCustomBanner = true;<\/script>":""}
          ${typeof ResizeObserver<"u"?this.app.sendBannerInfoScript:""}
          ${r}
          </body></html>
        `;if(!this.app.banners[i].useSecureIframe||u?(s.contentWindow.document.open(),s.contentWindow.document.write(m),s.contentWindow.document.close()):this.app.renderInSafeIframe(s,`banner_${i}`,m),this.app.widgetParams.WIDGET.type==="carousel-super"&&(s.parentNode.style.cssText="width: "+this.app.banners[i].width+"px !important"),u){let k=this.app.getSingleJsController();k&&k.loadBackfill(s)}this.app.banners[i].isRendered=!0,c||(k=>{s.contentWindow.document.body.addEventListener("click",I=>{let T=I.target,v=!1;for(;T.parentElement;)if(T.tagName==="A"){v=!0;break}else T=T.parentElement;v&&this.app.request.pixel("bannerClickTracker",this.app.banners[k].clickUrl,{k:this.app.getAntifraudQueryParameter(this.app.banners[k].clickUrl)},{})},!0)})(i)}}renderInSafeIframe(t,e,i){t.sandbox="allow-scripts allow-popups";let s=this.app.context.location.href.indexOf("admin.")===-1&&this.app.context.location.href.indexOf("dashboard.")===-1&&this.app.context.location.href.indexOf("panel.")===-1;this.app.widgetParams.WIDGET.customBanners.length>0&&s&&(t.sandbox="allow-same-origin allow-scripts allow-popups"),"srcdoc"in t?t.srcdoc=i:(t.src=this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.cdnDomain+`/widgets/framehost.html#${e}`,this.app.context.addEventListener("message",r=>{r.origin===this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.cdnDomain&&r.data===`loaded #${e}`&&t.contentWindow.postMessage(i,"*")},!1))}getPageCount(){let t=this.app.widgetParams.WIDGET.newsPartPagesCount,e=this.app.widgetParams.WIDGET.goodsPartPagesCount;return t&&e?Math.min(t,e):t||e}init(){if(typeof JSON!="object"&&(this.app.hidePreloadDiv(),this.app.log("Unsupported browser","error"),this.app.debugBlock.sendData("Unsupported browser")),this.app.canUseShadowDom()){let t=this.app.root;try{t.parentNode.attachShadow({mode:this.app.widgetParams.WIDGET.shadowDomClosed?"closed":"open"}).appendChild(t)}catch(e){this.app.log("Shadow DOM can't be attached: ","error",e)}}if(this.app.root){this.app.cookieBlock.getCookie();let t=Number(this.app.cookieBlock.cookieStorage.page),e=typeof this.app.cookieBlock.cookieStorage.time<"u"?Number(this.app.cookieBlock.cookieStorage.time):0,i=this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"PageOffset"]?parseInt(this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"PageOffset"]):0;this.app.addClickHandler(this.app.clickHandlerList.hangNiceLinkListener.handler,this.app.clickHandlerList.hangNiceLinkListener.priority),this.app.addEvent(this.app.root,"mouseup",this.app.eventsHangNiceLinkListener),this.app.addEvent(this.app.root,"contextmenu",this.app.eventsHangNiceLinkListener),this.app.addEvent(this.app.root,"touchstart",this.app.eventsHangNiceLinkListener);let s=this.app.getPageCount();if(t!=null&&t<s&&t>0?this.app.page=t+1:(t>s-1||t<1)&&(this.app.page=1+i),new Date().getTime()-e>=6e5&&(this.app.page=1+i),this.app.widgetParams.WIDGET.codePaginatorEnabled&&!this.app.widgetParams.WIDGET.widgetPaginator&&!this.app.page&&(this.app.page=1),this.app.pageUnlim=this.app.page-1,this.app.cookieBlock.cookieStorage.page=this.app.page,this.app.cookieBlock.setCookie(),this.app.widgetParams.WIDGET.disableCookies){let d=new Date;this.app.page=d.getSeconds()%s+1}else if(!this.app.context.document.cookie){let d=new Date;this.app.page=d.getSeconds()%s+1}if(this.app.blocksAddress=this.app.webProtocol+"//"+this.app.servicerDomain+"/",this.app.widgetParams.WIDGET.useDefaultJs){this.app.context["mgDefaultComposite"+this.app.widgetParams.WIDGET.id]=()=>{this.app.defaultComposite(this.app.widgetParams.WIDGET.id)},this.app.context["mgDefaultComposite"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId]=()=>{this.app.defaultComposite(this.app.widgetParams.WIDGET.id)},this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"DefaultComposite"+this.app.widgetParams.WIDGET.id]=()=>{this.app.defaultComposite(this.app.widgetParams.WIDGET.id)},this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"DefaultComposite"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId]=()=>{this.app.defaultComposite(this.app.widgetParams.WIDGET.id)};for(let d in this.app.childWidgetsData)if(this.app.childWidgetsData.hasOwnProperty(d)){let u=this.app.childWidgetsData[d].childId;this.app.context["mgDefaultComposite"+u]=()=>{this.app.defaultComposite(u)},this.app.context["mgDefaultComposite"+u+"_"+this.app.uniqId]=()=>{this.app.defaultComposite(u)},this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"DefaultComposite"+u]=()=>{this.app.defaultComposite(u)},this.app.context[this.app.widgetParams.WIDGET.informerPrefix+"DefaultComposite"+u+"_"+this.app.uniqId]=()=>{this.app.defaultComposite(u)}}}let r=this.app.getRoot();if(this.app.widgetParams.WIDGET.clicktrackingEnabled){let d=r.dataset.clickTracking,u=this.app.context.MGClickTracking;d&&d.indexOf("CLICK_URL")===-1?this.app.clickTracking=d:u&&u.indexOf("CLICK_URL")===-1&&(this.app.clickTracking=u)}if(this.app.adblockDetectResult===null&&this.setAdblockDetectResult(),this.app.widgetParams.WIDGET.adblockIntegration&&(this.app.adBlockStatement=this.app.adBlockDetect()),this.app.adBlockStatement&&(r.classList.add("eyeo"),this.app.rtbDisabled=1),this.app.adBlockStatement&&this.app.widgetParams.WIDGET.adBlockChangeStyles&&this.app.setTemplate(this.app.widgetParams.WIDGET.adblockTemplate.replace(/[\r\n]/g,"")),this.app.context.onClickExcludes=this.app.context.onClickExcludes||[],this.app.context.onClickExcludes.push(this.app.root),this.app.widgetParams.WIDGET.enableSource){let d=r.dataset.srcId,u=this.app.context[this.app.widgetParams.WIDGET.sourceName];d&&d!=="${PUBLISHER_ID}"?this.app.sourceName=d:u&&u!=="${PUBLISHER_ID}"&&(this.app.sourceName=u),this.app.adBlockStatement&&(this.app.sourceName="eyeo")}!this.app.widgetParams.WIDGET.useConstructor&&this.app.widgetParams.WIDGET.disableResizeImageAfterLoad&&(this.app.stylesheetsBlock.add("resizeImage",this.app.getMainCssSelector()+" img.mcimg {max-width: 0px;}"),this.app.stylesheetsBlock.add("resizeTitle",this.app.getMainCssSelector()+" .mctitle a { font-size: 0px}"));let c=".mgbox {text-align: center;}";this.app.adBlockStatement&&this.app.widgetParams.WIDGET.adBlockChangeStyles?this.app.stylesheetsBlock.add("adBlockMain",this.app.adBlockStyles+c):typeof this.app.context._mgBackfillStyles<"u"&&!this.app.widgetParams.WIDGET.customStylesEnabled?this.app.setBackfillStyles():this.app.stylesheetsBlock.add("main",this.app.styles+c),this.app.addEvent(this.app.root,"click",this.app.widgetClickHandler),this.app.addEvent(this.app.root,"auxclick",this.app.widgetClickHandler)}}setBackfillStyles(){let t=this.app.context._mgBackfillStyles,e=`.mgbox {text-align: center; padding: 0 !important;margin: 0 auto !important;
      width: 100% !important;
      max-width: 100% !important;border: none !important;}.mgbox:first-of-type {padding: 0 !important;}
      .mgbox .mgline {width: 100% !important;max-width: 100% !important;height: auto !important;
      padding: 0 !important;margin: 0 !important;box-shadow: none !important;border-radius: 0 !important;
      background: none !important;}.mgline .mcdesc {display: none !important;}`;this.app.utils.isMobile()||(t=t.replace("@media (max-width: 480px)","@media (min-width: 480px)")),t.indexOf(".mgtobottom .mcdomain")!==-1&&(t=t.replace(".mgtobottom .mcdomain",".mcdomain"),t=t.replace(".mgtobottom .mcdomain a",".mcdomain a")),this.app.stylesheetsBlock.add("backfillMain",t+e)}resetPage(){this.app.page=1}getMostTopWindow(){let t=this.app.context;for(;t!=t.parent;)try{let e=t.parent.document.body;t=t.parent}catch{break}return t}getDevicePixelRatio(){let t=1;return typeof this.app.context.devicePixelRatio<"u"?t=this.app.context.devicePixelRatio:typeof this.app.context.screen.systemXDPI<"u"&&typeof this.app.context.screen.logicalXDPI<"u"&&this.app.context.screen.systemXDPI>this.app.context.screen.logicalXDPI&&(t=this.app.context.screen.systemXDPI/this.app.context.screen.logicalXDPI),t%1===0||(t=t.toFixed(3)),t}getCbusterParameter(){return this.app.context.MG_CacheBuster||new Date().getTime()+""+Math.floor(Math.random()*1e9+1)}async injectScript(t,e){this.app.time("processHooks(beforeInjectScriptHooks)"),await this.lifeCycleBlock.processHooks("beforeInjectScriptHooks",null),this.app.timeEnd("processHooks(beforeInjectScriptHooks)"),this.app.injectionScriptMethod(t,e)}createServicerScriptElement(t,e){let i=this.app.context.document.createElement("script"),s=`${this.app.widgetParams.WIDGET.informerPrefix}C${this.app.widgetParams.WIDGET.id}DisableStart`,r=`mgDisableStart${this.app.widgetParams.WIDGET.id}`,c=typeof this.app.context[s]<"u";c||(c=typeof this.app.context[r]<"u"),i.type=c?"text/plain":"text/javascript",i.charset="utf-8",i.referrerPolicy="strict-origin-when-cross-origin";let d=this.app.widgetParams.WIDGET.id;if(this.app.adBlockStatement&&Object.keys(this.app.childWidgetsData).some(m=>{let k=this.app.childWidgetsData[m];if(k.showMonetizationEnabled===1&&typeof k.childId<"u")return d=k.childId,this.app.requestParams.src_cid=this.app.originalId,!0}),this.app.widgetParams.WIDGET.ampLimitAdsEnabled)try{if(this.app.context.localStorage){let m=this.app.context.localStorage.getItem("_mgPageAmp"+this.app.widgetParams.WIDGET.id);e=m?Number(m)+1:1,this.app.context.localStorage.setItem("_mgPageAmp"+this.app.widgetParams.WIDGET.id,String(e))}}catch{}let u=t?"fs/":"";return i.src=this.app.blocksAddress+u+d+"/"+e,i}getMuid(){if(!this.app.muid.length){let t="";if(this.app.isAmp())this.app.cookieBlock.getCookie(),t=this.app.cookieBlock.cookieStorage.muidn||"";else try{this.app.context.localStorage&&(t=this.app.context.localStorage.getItem("mgMuidn"))}catch{}typeof t=="string"&&t.length&&(this.app.muid=t)}return this.app.muid}getArticlePublishedTime(){let t="",e=this.app.getMostTopWindow(),i=e.document.querySelector('meta[property="article:published_time"]')||e.document.querySelector('meta[property="og:article:published_time"]');if(i&&(t=i.getAttribute("content")?.trim()||""),!t.length)try{let s=JSON.parse(e.document.querySelector('script[type="application/ld+json"]')?.textContent.trim()||"{}");if(Object.keys(s)?.length){let r="dateModified",c=d=>{for(let u in d)if(d.hasOwnProperty(u)){let m=d[u];if(u===r)return m;if(typeof m=="object"){let k=c(m);if(k)return k}}};t=c(s)?.trim()||""}}catch(s){this.app.log("getArticlePublishedTime - Failed","error",s)}return t}injectionScriptMethod(t,e){let i=this.app.createServicerScriptElement(t,this.app.page);this.app.requestParams={...this.app.requestParams,...this.app.pageViewPixelBlock.getPageDataParams()};let s=this.app.getUserAgentDataParams();s&&(this.app.requestParams={...this.app.requestParams,...s});let r=this.app.getVideoMetricsParams();if(r&&(this.app.requestParams={...this.app.requestParams,...r}),this.app.consentDataParams=this.app.consentsBlock.getConsentData(),this.app.consentDataParams&&(this.app.requestParams={...this.app.requestParams,...this.app.consentDataParams}),this.app.consentOrigin!==null&&(this.app.requestParams.consentOrigin=this.app.consentOrigin),this.app.consentOrigin===$t.Cmp)typeof this.app.requestParams.consentStrLen<"u"&&delete this.app.requestParams.consentStrLen,typeof this.app.requestParams.consentTimestamp<"u"&&delete this.app.requestParams.consentTimestamp;else try{let v=this.app.context.localStorage.getItem("MG_tcfv2Data");this.app.requestParams.consentStrLen=v?v.length:0,v&&(this.app.requestParams.consentTimestamp=JSON.parse(v||"{}")?.timestamp||0)}catch{}if(typeof this.app.context["_mgRMB"+this.app.widgetParams.WIDGET.widgetClientSiteId]<"u"&&(this.app.requestParams.rmb=1),this.app.adBlockStatement&&(this.app.requestParams.adb=1,typeof this.app.rtbDisabled<"u"&&(this.app.requestParams.rtb_disabled=this.app.rtbDisabled)),this.app.widgetParams.WIDGET.adblockIntegration&&this.app.widgetParams.WIDGET.adTypes&&this.app.adBlockStatement&&(this.app.requestParams.ad="pg,r"),(this.app.widgetParams.WIDGET.adblockEmulation||this.app.adblockDetectResult)&&(this.app.requestParams.eyeo=1),typeof this.app.context.MGi<"u"&&(this.app.requestParams.iso=this.app.context.MGi,this.app.requestParams.token=this.app.context._mgToken),typeof this.app.context._mgPreview<"u"||this.app.getRoot().dataset.preview){let D=JSON.parse(this.app.widgetParams.WIDGET.subnets)[this.app.widgetParams.WIDGET.currentSubnet];this.app.requestParams.advsrcid=D.advSrcId,this.app.requestParams.token=this.app.context._mgToken||this.app.getRoot().dataset.token}if(this.app.widgetParams.WIDGET.enableSource&&this.app.sourceName!==""&&(this.app.requestParams.src_id=this.app.sourceName),typeof this.app.context["ampOptions"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId]<"u")try{let v=JSON.parse(this.app.context["ampOptions"+this.app.widgetParams.WIDGET.id+"_"+this.app.uniqId].replace(/'/g,'"')),{srcId:D,limitAds:b}=v||{};D&&D!=="${PUBLISHER_ID}"&&(this.app.requestParams.src_id=D),b&&b!=="${LIMIT_ADS}"&&(this.app.requestParams.limitads=b)}catch{}if(JSON.parse(this.app.widgetParams.WIDGET.enabledCooperationTypes).indexOf("int_exchange")>=0||this.app.widgetParams.WIDGET.createIntExchange){let v=this.app.context.document.querySelector('meta[property="og:title"]');if(this.app.context!==this.app.context.top)try{v=this.app.context.parent.document.querySelector('meta[property="og:title"]')}catch{}v&&(this.app.requestParams.ogtitle=encodeURIComponent(v.getAttribute("content")))}this.app.uniqId!==""&&this.app.widgetParams.WIDGET.allowMultipleWidgets&&(this.app.requestParams.uniqId=this.app.uniqId),this.app.getActiveChilds().length&&(this.app.requestParams.childs=this.app.getActiveChilds().join(",")),e&&(this.app.requestParams.rsh=e,this.app.requestParams.initial_composite=this.app.id,e===2&&this.app.collectExceptParams(),typeof this.app.requestParams.cmpreason<"u"&&delete this.app.requestParams.cmpreason,typeof this.app.requestParams.nocmp<"u"&&delete this.app.requestParams.nocmp),(Array.isArray(this.app.context._mgExceptAds)&&this.app.context._mgExceptAds.length||Array.isArray(this.app.context._mgExchangeNews)&&this.app.context._mgExchangeNews.length||Array.isArray(this.app.context._mgIntExchangeNews)&&this.app.context._mgIntExchangeNews.length||typeof this.app.context.document.mgExceptIds<"u")&&this.app.collectExceptParams(),this.app.gptOptions?.backfill&&!this.app.adBlockStatement&&typeof this.app.context["_mgGPT"+this.app.widgetParams.WIDGET.id]>"u"?(this.app.context["_mgGPT"+this.app.widgetParams.WIDGET.id]=!0,this.app.requestParams.gptbid=this.app.gptOptions.backfill):typeof this.app.requestParams.gptbid<"u"&&delete this.app.requestParams.gptbid,typeof this.app.context.MG_setRequestNonPersonalizedAds<"u"&&this.app.context.MG_setRequestNonPersonalizedAds==1&&(this.app.requestParams.npa=1);try{let v=navigator.connection||navigator.mozConnection||navigator.webkitConnection;typeof v.type<"u"&&(this.app.networkInformationType=v.type,this.app.requestParams.nit=this.app.networkInformationType),typeof v.effectiveType<"u"&&(this.app.networkInformationEffectiveType=v.effectiveType,this.app.requestParams.niet=this.app.networkInformationEffectiveType),typeof v.saveData<"u"&&(this.app.networkInformationSaveData=v.saveData?1:0,this.app.requestParams.nisd=v.saveData)}catch{}this.app.widgetParams.WIDGET.sspSanctionsEnabled&&(this.app.requestParams.afp=this.app.context.navigator.platform.toLowerCase()),typeof this.app.context[`_mgSingleJS${this.app.widgetParams.WIDGET.widgetClientSiteId}`]<"u"&&(this.app.requestParams.jsp=this.app.context[`_mgSingleJS${this.app.widgetParams.WIDGET.widgetClientSiteId}`]),this.app.requestParams.pv=5,this.app.requestParams.lct=this.app.getLct(1728713610),this.app.requestParams.jsv="es6",this.app.requestParams.pageView=this.app.pageView,this.app.requestParams.dpr=this.app.getDevicePixelRatio(),this.app.requestParams.ref=encodeURIComponent(this.app.contextBlock.stripAmpParts(this.app.refererParam)),this.app.requestParams.hashCommit=V.widgetBuilder,this.app.iframePlacementType!==0&&(this.app.requestParams.iframe=this.app.iframePlacementType),typeof this.app.context._mgBackfillCxurl<"u"&&(this.app.requestParams.cxurl=this.app.context._mgBackfillCxurl),typeof this.app.context._mgBackfillRef<"u"&&(this.app.requestParams.ref=this.app.context._mgBackfillRef),this.app.context._mgIsBackfillBanner&&this.app.utils.isMobile()&&/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(this.app.requestParams.iframe=1,!this.app.requestParams.ref?.length&&this.app.requestParams.cxurl?.length&&(this.app.requestParams.ref=this.app.requestParams.cxurl));let c=this.app.getMuid();c.length&&(this.app.requestParams.muid=c);let d=this.app.getArticlePublishedTime();d.length&&(this.app.requestParams.apt=encodeURIComponent(d));let u=this.app.context?.performance.getEntriesByType?.("navigation")[0]?.responseEnd,m=this.app.context?.performance.now?.(),k=Math.round(m-u);typeof k=="number"&&!isNaN(k)&&(this.app.requestParams.tfre=k);let I=[];for(let v in this.app.requestParams)this.app.requestParams.hasOwnProperty(v)&&I.push(`${v}=${this.app.requestParams[v]}`);if(typeof this.app.globalSettings.retention_tool_widget_utm=="string"&&this.app.globalSettings.retention_tool_widget_utm.length&&!this.app.isAmp()){let v=this.app.globalSettings.retention_tool_widget_utm,b=(this.app.pageUrl||this.app.context.location.href||"").split("&").filter(y=>y.indexOf(v)!==-1).slice(0,1).join("");b=b.substring(b.indexOf(v)),b&&I.push(b)}let T=i.src;T.indexOf("?")==-1?T+="?":T+="&",T+=I.join("&"),i.src=T,this.app.sspPerformance&&typeof this.app.context.performance.getEntries<"u"&&(i.onload=()=>{this.app.context.performance.getEntries().map(v=>{if(v.name===T){let D=Math.ceil(v.responseEnd-v.startTime);this.app.request.pixel("widgetSspPerformance",this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.countersDomain+"/widget-ssp-performance",{time:`time=${D}`},{})}})}),window.performance?.mark("ssp_request_start",{detail:{_mgwidget:this.app.widgetParams.WIDGET.id}}),this.app.context.document.head.appendChild(i),i.onerror=()=>{this.app.isAdblock=!0}}collectExceptParams(){let t=this.app.getExceptTeasersIds(K.Wages),e=this.app.getExceptTeasersIds(K.InternalExchange),i=this.app.getExceptTeasersIds(K.Exchange);t.length&&(this.app.requestParams.except_ads=t.join(",")),e.length&&(this.app.requestParams.exclude_int_exchange=e.join(",")),i.length&&(this.app.requestParams.exclude_news=i.join(","))}sendConsentLog(t){let e=this.app.calculateSessionsBlock.getSessionId(),i={widget:`widget=${this.app.id}`,pvId:`pv_id=${this.app.pvid}`,diffTime:`diff_time=${Math.ceil((t-this.app.startServicerTime)/1e3)}`,storage:`storage=${this.app.requestParams.consentOrigin===$t.Storage?1:0}`};e&&(i.sessionId=`session_id=${e}`),this.app.request.pixel(`loggingConsent${this.app.id}`,this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.countersDomain+"/consent-log",i,{unique:!0})}getActiveChilds(){return JSON.parse(this.app.widgetParams.WIDGET.activeChilds)}addClickHandler(t,e){this.app.clickHandlers.push({handler:t,priority:e}),this.app.clickHandlers.sort(function(i,s){return i.priority<s.priority?-1:1})}widgetClickHandler(t){t||(t=this.app.context.event),t.target||(t.target=t.srcElement);let e=t.target;if(e.tagName!=="A"){e=this.app.getParentLink(e);let i=!1;if("which"in t?i=t.which===3:"button"in t&&(i=t.button===2),!e&&!i){let s=this.app.getParentElWithClass(t.target,"text-elements");if(s){let r=t.target.getElementsByTagName("A");r[0]?e=r[0]:(r=s.getElementsByTagName("A"),r[0]&&(e=r[0]))}if(e){e.click();return}}}if(e&&!(!e.hasAttribute("data-hash")&&!e.classList.contains("mg-close-action")))for(let i=0;i<this.app.clickHandlers.length;i++)try{if(!this[this.app.clickHandlers[i].handler](e,t))return}catch(s){this.app.log("Click Handler name: "+this.app.clickHandlers[i].handler+", error: ","error",s)}}start(){this.app.root&&this.app.countLoadBlocks==0&&this.app.injectScript(!1)}defaultComposite(t){if(this.app.widgetParams.WIDGET.useDefaultJs){this.app.loadedDefault=!0,this.app.hidePreloadDiv();let e=this.app.context.document.createElement("script");e.type="text/javascript",e.charset="utf-8",e.src=this.app.webProtocol+"//jsc."+this.app.widgetParams.WIDGET.blocksDomainAddressJs+"/"+t+".js",this.app.root.parentNode.appendChild(e),this.app.context["_mgDefaultJs"+t]=this.app.context["_mgDefaultJs"+t]||[],this.app.context["_mgDefaultJs"+t].push(this.app.root.id)}}addEvent(t,e,i){let s=i.bind(this);return(e==="touchstart"||e==="touchmove")&&this.app.isPassiveSupported()?t.addEventListener(e,s,{passive:!0}):t.addEventListener(e,s,!1),s}removeEvent(t,e,i){t.removeEventListener(e,i,!1)}getMainCssSelector(){return"#"+(this.app.realRoot?this.app.realRoot.id:this.app.root.id)}doubleClickHandler(t,e=!1){let i=t.getAttribute("data-hash"),s=t.getAttribute("href"),r={checkId:"checkId="+this.app.doubleClickCheckId,cid:"cid="+this.app.getWidgetValue("id",this.app.widgetParams.WIDGET.id),gb_uid:"gb_uid="+this.app.getWidgetValue("goodsPartUid",this.app.widgetParams.WIDGET.goodsPartUid),h2:"h2="+this.app.servicerData.h2,hash:"hash="+i,percent:"percent="+this.app.doubleClickPercent,type:"type="+this.app.doubleClickType,url:"url="+encodeURIComponent(s),uuid:"uuid="+this.app.servicerData.rid};e&&(r.isOut="isOut="+Number(e)),this.app.request.pixel("doubleclick",this.app.webProtocol+"//"+this.app.widgetParams.WIDGET.countersDomain+"/doubleclick",r,{})}adBlockDetect(){return this.app.widgetParams.WIDGET.adblockIntegration&&this.app.widgetParams.WIDGET.adblockEmulation?!0:(this.app.adblockDetectResult===null&&this.setAdblockDetectResult(),this.app.adblockDetectResult)}setAdblockDetectResult(){let t=["banner_ad","sponsored_ad"],e=r=>{let c=this.app.context.document.createElement("div");return c.className=r,c.style.setProperty("display","block","important"),c.style.setProperty("padding","1px","important"),c.style.visibility="hidden",c.style.position="absolute",c.innerHTML=".",this.app.context.document.body.appendChild(c),c},i=r=>!r.offsetHeight,s=r=>{let c=null;for(let d=0;d<r.length;d++){c=e(r[d]);let u=i(c);if(this.app.context.document.body.removeChild(c),u)return!0}return!1};this.app.adblockDetectResult=s(t)}isShadowRoot(){try{return typeof this.app.root.getRootNode<"u"&&!!this.app.root.getRootNode().host}catch{return!1}}canUseShadowDom(){let t=this.app.root.parentNode;return!!(this.app.widgetParams.WIDGET.shadowDom&&t&&(t.id?.indexOf("ScriptRoot")>0||t.dataset?.type==="_mgwidget")&&typeof t.attachShadow=="function")}getRoot(){return this.app.isShadowRoot()?this.app.root.getRootNode().host:this.app.root.parentElement}generatePvid(){return new Date().getTime().toString(16)+(Math.round(Math.random()*1e9)+2147483648).toString(16)}getLct(t){return t-t%60}isAmp(){return typeof this.app.context.context<"u"&&typeof this.app.context.context.data<"u"&&typeof this.app.context.context.data.widget<"u"?!0:typeof this.app.context["boundingClientRect"+this.app.widgetParams.WIDGET.id]<"u"&&typeof this.app.context["intersectionRect"+this.app.widgetParams.WIDGET.id]<"u"}isIframe(){try{return this.app.context.self!==this.app.context.top}catch{return!0}}startMgqwp(){typeof this.context._mgwqp<"u"?setTimeout(()=>{this.context._mgwqp()},0):setTimeout(()=>{this.startMgqwp()},50)}htmlEntities(t){return String(typeof t<"u"?t:"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}getRenderer(t){return t.indexOf("data-template-schema")===-1?this.app.renderClassicBlock:this.app.renderSchematicBlock}getViewrateParams(){let t=Object.keys(this.app.teaserData).filter(s=>this.app.teaserData[s].isViewed),e=t.length,i=t.map(s=>this.app.teaserData[s].page).filter((s,r,c)=>c.indexOf(s)===r).reduce((s,r)=>s+this.app.pagesServicerData.filter(c=>c.page===r)[0]?.teasersCount,0);return{views:e,renders:i}}getUserAgentDataParams(){if(this.app.userAgentDataParams)return this.app.userAgentDataParams;try{if(this.app.context.sessionStorage)return JSON.parse(this.app.context.sessionStorage.getItem("_mgAgentDataParams"))}catch{return null}return null}getVideoMetricsParams(){if(this.app.videoMetricsParams)return this.app.videoMetricsParams;try{if(this.app.context.sessionStorage)return JSON.parse(this.app.context.sessionStorage.getItem("_mgVideoMetricsParams"))}catch{return null}return null}getSingleJsController(){return(this.app.context._mgc?.controllers||[]).filter(t=>t.siteId===this.app.widgetParams.WIDGET.widgetClientSiteId)[0]?.controller}buildSingleJSBackfillDiv(t){let e=document.createElement("div"),i=this.app.getRoot().dataset;return e.dataset.widgetId=String(t),Object.keys(i).forEach(s=>{s!=="uid"&&s!=="widgetId"&&(e.dataset[s]=i[s])}),e}};Ve();var ce=class{constructor(t){this.observerNeeded=!1,this.supportsEs6=t,this.widgetParams=F,this.widgetOptions={},JSON.parse('[{"id":1682242,"searchSelector":"","insertTo":"into"}]').forEach(e=>{this.widgetOptions[e.id]=e,e.searchSelector.length&&(this.observerNeeded=!0)}),this.observerNeeded&&(this.observe(),setInterval(()=>{this.observe()},1e3)),this.load()}load(){this.checkSingleJsScript();let t=window.document.querySelectorAll('div[data-type="_mgwidget"]');[].slice.call(t).forEach(e=>{typeof e.dataset.uid<"u"||this.loadWidget(e,window)})}loadWidget(t,e){let i=Number(t.dataset.widgetId),s=this.widgetOptions[i];if(s){if(!this.isUrlMatched(s))return;let r=JSON.parse(JSON.stringify(this.widgetParams[0]));for(let T of Object.keys(this.widgetParams[i]))for(let v of Object.keys(this.widgetParams[i][T]))r[T]=r[T]||{},r[T][v]=this.widgetParams[i][T][v];if(!this.canLoadCurrentWidget(r.WIDGET))return;window.performance?.mark("main_script_start_load",{detail:{_mgwidget:i}});let c=this.getUID(),d=`mgw${i}_${c}`;if(t.dataset.uid=c,s.searchSelector.length&&(r.WIDGET.enableSource&&!t.dataset.srcId&&(t.dataset.srcId="${PUBLISHER_ID}"),r.WIDGET.clicktrackingEnabled&&!t.dataset.clickTracking&&(t.dataset.clickTracking=r.WIDGET.clicktrackingMacros),r.WIDGET.type==="header-widget")){let T=r.WIDGET.subType,v=document.createElement("style");v.innerHTML=`
            div[data-widget-id="${i}"] {
              min-height: ${T==="header-widget-square"?350:300}px;
            }
          `,t.insertAdjacentElement("beforebegin",v)}let u=document.createElement("div");u.id=d,t.appendChild(u),window.performance?.mark("main_script_start_work",{detail:{_mgwidget:i}});let m=new te(d,e,!1,d,c,17,r),k=new pe(m),I=window[r.WIDGET.I];I?window[r.WIDGET.I]=Object.assign({},m,I):window[r.WIDGET.I]=m,k.run()}}loadBackfill(t){let e=t.contentDocument.querySelector('div[data-type="_mgwidget"]'),i=t.contentWindow;e&&this.loadWidget(e,i)}observe(){let t=0;Object.keys(this.widgetOptions).forEach(e=>{let i=this.widgetOptions[e];if(i.searchSelector==="")return;let s=document.querySelectorAll(i.searchSelector);[].slice.call(s).forEach(r=>{if(i.insertTo==="into"&&!r.querySelector('div[data-type="_mgwidget"]')||i.insertTo!=="into"&&!r.parentElement.querySelector('div[data-type="_mgwidget"][data-widget-id="'+i.id.toString()+'"]')){let c=document.createElement("DIV");switch(c.dataset.type="_mgwidget",c.dataset.widgetId=i.id.toString(),i.insertTo){case"into":r.appendChild(c);break;case"before":r.parentElement.insertBefore(c,r);break;case"after":r.insertAdjacentElement("afterend",c);break}t++}})}),t>0&&this.load()}getUID(){return("00000"+Math.round(Math.random()*1e5).toString(16)).slice(-5)}checkSingleJsScript(){let t="https://jsc.adskeeper.co.uk/site/840345.js".split("//")[1],e=document?.currentScript?.src?.split("//")[1],i=document.head.querySelector(`script[src$="${t}"]`),s=document.querySelector("body")?.querySelector(`script[src$="${t}"]`);window._mgSingleJS840345=i?"head":s?"body":"other",e!==t&&!i&&typeof window._mgDisableInstallWarning>"u"&&console.warn(`JS code is not integrated correctly, place script - "${t}" in the head of your website`)}isUrlMatched(t){let e=!0,i=window.location.href,s=t.urlRulesPatterns||[],r=(window.document.querySelector('meta[property="article:section"]')||window.document.querySelector('meta[property="og:article:section"]'))?.getAttribute("content")?.trim()||"";switch(t.urlRulesMode){case"only":e=s.some(c=>r===c||i.match(c));break;case"except":e=s.every(c=>r!==c&&!i.match(c));break}return e}canLoadCurrentWidget(t){let e=!0,i=`mg_loaded_${t.siteId}_${t.id}`;return typeof window[i]<"u"&&!t.allowMultipleWidgets&&(e=!1),e&&(window[i]=!0,t.widgetEnabled||(e=!1)),e}};Pe();C();B();var Ma;(function(w){w.load="load",w.impression="impression",w.click="click"})(Ma||(Ma={}));C();B();(function(){let w=e();if(window._mgc&&(window._mgc.controllers||[]).some(r=>r.siteId===840345)){console.warn("Multiple _mgc widget codes encountered! Please, make sure that there is only one implementation code is placed in HEAD for siteId: 840345.");return}window._mgc=window._mgc||{controllers:[],load:()=>{window._mgc.controllers.forEach(r=>r.controller.load())}},window._mgc.controllers.push({siteId:840345,controller:new ce(w)}),new jt({context:window,log:r=>{console.log(r)},debugBlock:{sendData:()=>{}}});let t=["https://servicer.adskeeper.co.uk"];for(let r=0;r<t.length;r++)i(t[r]);function e(){try{return new Function("async (x = 0) => x; try {const x=window?.x;} catch {};"),!0}catch{return!1}}function i(r){let c=document.createElement("link");c.rel="preconnect",c.href=r,document.head?document.head.appendChild(c):document.body.appendChild(c)}function s(){}})()})()
;var eio_lazy_vars={"exactdn_domain":"","skip_autoscale":0,"threshold":0}
;var ewww_webp_supported;void 0===ewww_webp_supported&&(ewww_webp_supported=!1),window.lazySizesConfig=window.lazySizesConfig||{},window.lazySizesConfig.expand=500<document.documentElement.clientHeight&&500<document.documentElement.clientWidth?1e3:740,"undefined"==typeof eio_lazy_vars&&(eio_lazy_vars={exactdn_domain:".exactdn.com",threshold:0,skip_autoscale:0}),50<eio_lazy_vars.threshold&&(window.lazySizesConfig.expand=eio_lazy_vars.threshold),function(e,t){function a(){t(e.lazySizes),e.removeEventListener("lazyunveilread",a,!0)}t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):"function"==typeof define&&define.amd?define(["lazysizes"],t):e.lazySizes?a():e.addEventListener("lazyunveilread",a,!0)}(window,function(e,n,o){"use strict";var s,l,d={};function c(e,t,a){var i,r;d[e]||(i=n.createElement(t?"link":"script"),r=n.getElementsByTagName("script")[0],t?(i.rel="stylesheet",i.href=e):(i.onload=function(){i.onerror=null,i.onload=null,a()},i.onerror=i.onload,i.src=e),d[e]=!0,d[i.src||i.href]=!0,r.parentNode.insertBefore(i,r))}n.addEventListener&&(l=/\(|\)|\s|'/,s=function(e,t){var a=n.createElement("img");a.onload=function(){a.onload=null,a.onerror=null,a=null,t()},a.onerror=a.onload,a.src=e,a&&a.complete&&a.onload&&a.onload()},addEventListener("lazybeforeunveil",function(e){var t,a,i;if(e.detail.instance==o&&!e.defaultPrevented){var r=e.target;if("none"==r.preload&&(r.preload=r.getAttribute("data-preload")||"auto"),null!=r.getAttribute("data-autoplay"))if(r.getAttribute("data-expand")&&!r.autoplay)try{r.play()}catch(e){}else requestAnimationFrame(function(){r.setAttribute("data-expand","-10"),o.aC(r,o.cfg.lazyClass)});(t=r.getAttribute("data-link"))&&c(t,!0),(t=r.getAttribute("data-script"))&&(e.detail.firesLoad=!0,c(t,null,function(){e.detail.firesLoad=!1,o.fire(r,"_lazyloaded",{},!0,!0)})),(t=r.getAttribute("data-require"))&&(o.cfg.requireJs?o.cfg.requireJs([t]):c(t)),(a=r.getAttribute("data-bg"))&&(e.detail.firesLoad=!0,s(a,function(){r.style.backgroundImage="url("+(l.test(a)?JSON.stringify(a):a)+")",e.detail.firesLoad=!1,o.fire(r,"_lazyloaded",{},!0,!0)})),(i=r.getAttribute("data-poster"))&&(e.detail.firesLoad=!0,s(i,function(){r.poster=i,e.detail.firesLoad=!1,o.fire(r,"_lazyloaded",{},!0,!0)}))}},!1))}),function(e,t){function a(){t(e.lazySizes),e.removeEventListener("lazyunveilread",a,!0)}t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):"function"==typeof define&&define.amd?define(["lazysizes"],t):e.lazySizes?a():e.addEventListener("lazyunveilread",a,!0)}(window,function(u,f,g){"use strict";var n;f.addEventListener&&(n=/\(|\)|\s|'/,addEventListener("lazybeforeunveil",function(e){var t,a,i,r;e.detail.instance==g&&(e.defaultPrevented||("none"==e.target.preload&&(e.target.preload="auto"),(i=e.target.getAttribute("data-back"))&&(ewww_webp_supported&&(r=e.target.getAttribute("data-back-webp"))&&(i=r),t=u.devicePixelRatio||1,a=Math.round(e.target.offsetWidth*t),r=Math.round(e.target.offsetHeight*t),0===i.search(/\[/)||o(e.target)&&(i=g.hC(e.target,"wp-block-cover")?(g.hC(e.target,"has-parallax")?(a=Math.round(u.screen.width*t),r=Math.round(u.screen.height*t)):r<300&&(r=430),s(i,a,r,"bg-cover")):g.hC(e.target,"cover-image")||g.hC(e.target,"elementor-bg")||g.hC(e.target,"et_parallax_bg")||g.hC(e.target,"bg-image-crop")?s(i,a,r,"bg-cover"):s(i,a,r,"bg")),e.target.style.backgroundImage&&-1===e.target.style.backgroundImage.search(/^initial/)?0===i.search(/\[/)?((i=JSON.parse(i)).forEach(function(e){n.test(e)&&JSON.stringify(e)}),i='url("'+i.join('"), url("')+'"',r=e.target.style.backgroundImage+", "+i,e.target.style.backgroundImage=r):e.target.style.backgroundImage=e.target.style.backgroundImage+', url("'+(n.test(i)?JSON.stringify(i):i)+'")':0===i.search(/\[/)?((i=JSON.parse(i)).forEach(function(e){n.test(e)&&JSON.stringify(e)}),i='url("'+i.join('"), url("')+'"',e.target.style.backgroundImage=i):e.target.style.backgroundImage="url("+(n.test(i)?JSON.stringify(i):i)+")")))},!1));function h(e){var t=e.getAttribute("data-eio-rwidth"),e=e.getAttribute("data-eio-rheight");return 1<t&&1<e?{w:t,h:e}:{w:0,h:0}}function m(e,t=!1){var a=u.devicePixelRatio||1,i=Math.round(e.offsetWidth*a),r=Math.round(e.offsetHeight*a),n=e.getAttribute("data-src"),a=e.getAttribute("data-src-webp");ewww_webp_supported&&a&&-1==n.search("webp=1")&&!t&&(n=a),o(e)&&(a=e,a=g.hC(a,"et_pb_jt_filterable_grid_item_image")||g.hC(a,"ss-foreground-image")||g.hC(a,"img-crop")?"img-crop":g.hC(a,"object-cover")&&(g.hC(a,"object-top")||g.hC(a,"object-bottom"))?"img-w":g.hC(a,"object-cover")&&(g.hC(a,"object-left")||g.hC(a,"object-right"))?"img-h":g.hC(a,"ct-image")&&g.hC(a,"object-cover")||!a.getAttribute("data-srcset")&&!a.srcset&&a.offsetHeight>a.offsetWidth&&1<l(a)?"img-crop":"img",(a=s(n,i,r,a,t))&&n!=a&&(t&&e.setAttribute("src",a),e.setAttribute("data-src",a)))}var o=function(e){if(1==eio_lazy_vars.skip_autoscale)return!1;for(var t=e,a=0;a<=7;a++){if(t.hasAttributes())for(var i=t.attributes,r=/skip-autoscale/,a=i.length-1;0<=a;a--){if(r.test(i[a].name))return!1;if(r.test(i[a].value))return!1}if(!t.parentNode||1!==t.parentNode.nodeType||!t.parentNode.hasAttributes)break;t=t.parentNode}return!0},s=function(e,t,a,i,r=!1){if(null===e)return e;var n=/w=(\d+)/,o=/fit=(\d+),(\d+)/,s=/resize=(\d+),(\d+)/,l=decodeURIComponent(e);if(/\.svg(\?.+)?$/.exec(l))return e;if(0<e.search("\\?")&&0<e.search(eio_lazy_vars.exactdn_domain)){var d=s.exec(l);if(d&&(t<d[1]||r))return"img-w"===i?l.replace(s,"w="+t):"img-h"===i?l.replace(s,"h="+a):l.replace(s,"resize="+t+","+a);s=n.exec(e);if(s&&(t<=s[1]||r)){if("img-h"===i)return l.replace(n,"h="+a);if("bg-cover"!==i&&"img-crop"!==i)return e.replace(n,"w="+t);var c=Math.abs(s[1]-t);return 20<c||a<1080?e.replace(n,"resize="+t+","+a):e}c=o.exec(l);if(c&&(t<c[1]||r)){if("bg-cover"!==i&&"img-crop"!==i)return"img-w"===i?l.replace(o,"w="+t):"img-h"===i?l.replace(o,"h="+a):l.replace(o,"fit="+t+","+a);l=Math.abs(c[1]-t),o=Math.abs(c[2]-a);return 20<l||20<o?e.replace(n,"resize="+t+","+a):e}if(!s&&!c&&!d)return"img"===i?e+"&fit="+t+","+a:"bg-cover"===i||"img-crop"===i?e+"&resize="+t+","+a:"img-h"===i||t<a?e+"&h="+a:e+"&w="+t}return-1==e.search("\\?")&&0<e.search(eio_lazy_vars.exactdn_domain)?"img"===i?e+"?fit="+t+","+a:"bg-cover"===i||"img-crop"===i?e+"?resize="+t+","+a:"img-h"===i||t<a?e+"?h="+a:e+"?w="+t:e},p=function(e){e=/-(\d+)x(\d+)\./.exec(e);return e&&1<e[1]&&1<e[2]?{w:e[1],h:e[2]}:{w:0,h:0}},l=function(e){var t=e.getAttribute("width"),a=e.getAttribute("height");if(1<t&&1<a)return t/a;a=!1;if(a=(a=e.src&&-1<e.src.search("http")?e.src:a)||e.getAttribute("data-src")){var i=p(a);if(i.w&&i.h)return i.w/i.h}i=h(e);if(i.w&&i.h)return i.w/i.h;e=function(e){var t;if(e.srcset?t=e.srcset.split(","):(e=e.getAttribute("data-srcset"))&&(t=e.split(",")),t){var a=0,i=t.length;if(i){for(;a<i;a++){var r,n=t[a].trim().split(" ");!n[0].length||(n=p(n[0])).w&&n.h&&(r=n)}if(r.w&&r.h)return r}}return{w:0,h:0}}(e);return e.w&&e.h?e.w/e.h:0};f.addEventListener("lazybeforesizes",function(e){e.target.getAttribute("data-src");var t=l(e.target);1<e.target.clientHeight&&t&&(t=Math.ceil(t*e.target.clientHeight),e.detail.width+2<t&&(e.detail.width=t)),void 0!==e.target._lazysizesWidth&&e.detail.width<e.target._lazysizesWidth&&(e.detail.width=e.target._lazysizesWidth)}),f.addEventListener("lazybeforeunveil",function(e){var t,a,i,r,n=e.target,o=n.getAttribute("data-srcset");n.naturalWidth&&!o&&1<n.naturalWidth&&1<n.naturalHeight&&(t=u.devicePixelRatio||1,a=n.naturalWidth,i=n.naturalHeight,(e=h(n)).w&&e.w>a&&(a=e.w,i=e.h),a=n.clientWidth&&1.25*n.clientWidth*t<a,i=n.clientHeight&&1.25*n.clientHeight*t<i,(a||i)&&m(n)),ewww_webp_supported&&(!o||(r=n.getAttribute("data-srcset-webp"))&&n.setAttribute("data-srcset",r),(r=n.getAttribute("data-src-webp"))&&n.setAttribute("data-src",r))});function e(e=!1){e.type&&"load"===e.type&&g.autoSizer.checkElems(),u.devicePixelRatio;var t,a=f.getElementsByClassName(g.cfg.loadedClass),i=a.length;if(i)for(t=0;t<i;t++){var r,n,o,s,l,d,c=a[t];c.src&&!c.srcset&&1<c.naturalWidth&&1<c.naturalHeight&&1<c.clientWidth&&1<c.clientHeight&&(r=c.naturalWidth,n=c.naturalHeight,o=u.innerWidth,s=u.innerHeight,l=h(c),d=p(c.src),l.w?o=l.w:d.w&&(o=d.w),l.h?s=l.h:d.h&&(s=d.h),l=c.clientWidth,d=c.clientHeight,(1.1*r<l&&l<=o||1.1*n<d&&d<=s)&&m(c,!0))}}var t,a,i,r,d=(t=e,r=function(){a=null,t()},function(){i=Date.now(),a=a||setTimeout(c,99)});function c(){var e=Date.now()-i;e<99?setTimeout(c,99-e):(u.requestIdleCallback||r)(r)}addEventListener("load",e),addEventListener("resize",d),setTimeout(e,2e4)}),function(e,t){t=t(e,e.document,Date);e.lazySizes=t,"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:{},function(i,f,n){"use strict";var g,h;if(!function(){var e,t={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in h=i.lazySizesConfig||i.lazysizesConfig||{},t)e in h||(h[e]=t[e])}(),!f||!f.getElementsByClassName)return{init:function(){},cfg:h,noSupport:!0};function c(e,t){E(e,t)||e.setAttribute("class",(e[v]("class")||"").trim()+" "+t)}function u(e,t){(t=E(e,t))&&e.setAttribute("class",(e[v]("class")||"").replace(t," "))}function m(e,t){var a;!l&&(a=i.picturefill||h.pf)?(t&&t.src&&!e[v]("srcset")&&e.setAttribute("srcset",t.src),a({reevaluate:!0,elements:[e]})):t&&t.src&&(e.src=t.src)}var a,r,t,o,s,p=f.documentElement,l=i.HTMLPictureElement,d="addEventListener",v="getAttribute",e=i[d].bind(i),y=i.setTimeout,b=i.requestAnimationFrame||y,z=i.requestIdleCallback,w=/^picture$/i,C=["load","error","lazyincluded","_lazyloaded"],_={},A=Array.prototype.forEach,E=function(e,t){return _[t]||(_[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),_[t].test(e[v]("class")||"")&&_[t]},x=function(t,a,e){var i=e?d:"removeEventListener";e&&x(t,a),C.forEach(function(e){t[i](e,a)})},L=function(e,t,a,i,r){var n=f.createEvent("Event");return(a=a||{}).instance=g,n.initEvent(t,!i,!r),n.detail=a,e.dispatchEvent(n),n},N=function(e,t){return(getComputedStyle(e,null)||{})[t]},W=function(e,t,a){for(a=a||e.offsetWidth;a<h.minSize&&t&&!e._lazysizesWidth;)a=t.offsetWidth,t=t.parentNode;return a},M=(o=[],s=t=[],k._lsFlush=S,k);function S(){var e=s;for(s=t.length?o:t,r=!(a=!0);e.length;)e.shift()();a=!1}function k(e,t){a&&!t?e.apply(this,arguments):(s.push(e),r||(r=!0,(f.hidden?y:b)(S)))}function H(a,e){return e?function(){M(a)}:function(){var e=this,t=arguments;M(function(){a.apply(e,t)})}}function I(e){function t(){var e=n.now()-i;e<99?y(t,99-e):(z||r)(r)}var a,i,r=function(){a=null,e()};return function(){i=n.now(),a=a||y(t,99)}}var T,j,R,B,O,P,q,F,J,D,$,U,G,K,Q,V,X,Y,Z,ee,te,ae,ie,re,ne,oe,se,le,de,ce,ue,fe=(Z=/^img$/i,ee=/^iframe$/i,te="onscroll"in i&&!/(gle|ing)bot/.test(navigator.userAgent),re=-1,ne=function(e){return(U=null==U?"hidden"==N(f.body,"visibility"):U)||!("hidden"==N(e.parentNode,"visibility")&&"hidden"==N(e,"visibility"))},G=he,Q=ie=ae=0,V=h.throttleDelay,X=h.ricTimeout,Y=z&&49<X?function(){z(me,{timeout:X}),X!==h.ricTimeout&&(X=h.ricTimeout)}:H(function(){y(me)},!0),se=H(pe),le=function(e){se({target:e.target})},de=H(function(t,e,a,i,r){var n,o,s,l,d;(s=L(t,"lazybeforeunveil",e)).defaultPrevented||(i&&(a?c(t,h.autosizesClass):t.setAttribute("sizes",i)),n=t[v](h.srcsetAttr),a=t[v](h.srcAttr),r&&(o=(d=t.parentNode)&&w.test(d.nodeName||"")),l=e.firesLoad||"src"in t&&(n||a||o),s={target:t},c(t,h.loadingClass),l&&(clearTimeout(R),R=y(ge,2500),x(t,le,!0)),o&&A.call(d.getElementsByTagName("source"),ve),n?t.setAttribute("srcset",n):a&&!o&&(ee.test(t.nodeName)?(i=a,0==(d=(e=t).getAttribute("data-load-mode")||h.iframeLoadMode)?e.contentWindow.location.replace(i):1==d&&(e.src=i)):t.src=a),r&&(n||o)&&m(t,{src:a})),t._lazyRace&&delete t._lazyRace,u(t,h.lazyClass),M(function(){var e=t.complete&&1<t.naturalWidth;l&&!e||(e&&c(t,h.fastLoadedClass),pe(s),t._lazyCache=!0,y(function(){"_lazyCache"in t&&delete t._lazyCache},9)),"lazy"==t.loading&&ie--},!0)}),ue=I(function(){h.loadMode=3,oe()}),{_:function(){O=n.now(),g.elements=f.getElementsByClassName(h.lazyClass),T=f.getElementsByClassName(h.lazyClass+" "+h.preloadClass),e("scroll",oe,!0),e("resize",oe,!0),e("pageshow",function(e){var t;!e.persisted||(t=f.querySelectorAll("."+h.loadingClass)).length&&t.forEach&&b(function(){t.forEach(function(e){e.complete&&ce(e)})})}),i.MutationObserver?new MutationObserver(oe).observe(p,{childList:!0,subtree:!0,attributes:!0}):(p[d]("DOMNodeInserted",oe,!0),p[d]("DOMAttrModified",oe,!0),setInterval(oe,999)),e("hashchange",oe,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){f[d](e,oe,!0)}),/d$|^c/.test(f.readyState)?be():(e("load",be),f[d]("DOMContentLoaded",oe),y(be,2e4)),g.elements.length?(he(),M._lsFlush()):oe()},checkElems:oe=function(e){var t;(e=!0===e)&&(X=33),K||(K=!0,(t=V-(n.now()-Q))<0&&(t=0),e||t<9?Y():y(Y,t))},unveil:ce=function(e){var t,a,i,r;e._lazyRace||(!(r="auto"==(i=(a=Z.test(e.nodeName))&&(e[v](h.sizesAttr)||e[v]("sizes"))))&&j||!a||!e[v]("src")&&!e.srcset||e.complete||E(e,h.errorClass)||!E(e,h.lazyClass))&&(t=L(e,"lazyunveilread").detail,r&&_e.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,ie++,de(e,t,r,i,a))},_aLSL:ye});function ge(e){ie--,e&&!(ie<0)&&e.target||(ie=0)}function he(){var e,t,a,i,r,n,o,s,l,d,c,u=g.elements;if((B=h.loadMode)&&ie<8&&(e=u.length)){for(t=0,re++;t<e;t++)if(u[t]&&!u[t]._lazyRace)if(!te||g.prematureUnveil&&g.prematureUnveil(u[t]))ce(u[t]);else if((o=u[t][v]("data-expand"))&&(r=+o)||(r=ae),l||(l=!h.expand||h.expand<1?500<p.clientHeight&&500<p.clientWidth?500:370:h.expand,d=(g._defEx=l)*h.expFactor,c=h.hFac,U=null,ae<d&&ie<1&&2<re&&2<B&&!f.hidden?(ae=d,re=0):ae=1<B&&1<re&&ie<6?l:0),s!==r&&(P=innerWidth+r*c,q=innerHeight+r,n=-1*r,s=r),d=u[t].getBoundingClientRect(),($=d.bottom)>=n&&(F=d.top)<=q&&(D=d.right)>=n*c&&(J=d.left)<=P&&($||D||J||F)&&(h.loadHidden||ne(u[t]))&&(j&&ie<3&&!o&&(B<3||re<4)||function(e,t){var a,i=e,r=ne(e);for(F-=t,$+=t,J-=t,D+=t;r&&(i=i.offsetParent)&&i!=f.body&&i!=p;)(r=0<(N(i,"opacity")||1))&&"visible"!=N(i,"overflow")&&(a=i.getBoundingClientRect(),r=D>a.left&&J<a.right&&$>a.top-1&&F<a.bottom+1);return r}(u[t],r))){if(ce(u[t]),i=!0,9<ie)break}else!i&&j&&!a&&ie<4&&re<4&&2<B&&(T[0]||h.preloadAfterLoad)&&(T[0]||!o&&($||D||J||F||"auto"!=u[t][v](h.sizesAttr)))&&(a=T[0]||u[t]);a&&!i&&ce(a)}}function me(){K=!1,Q=n.now(),G()}function pe(e){var t=e.target;t._lazyCache?delete t._lazyCache:(ge(e),c(t,h.loadedClass),u(t,h.loadingClass),x(t,le),L(t,"lazyloaded"))}function ve(e){var t,a=e[v](h.srcsetAttr);(t=h.customMedia[e[v]("data-media")||e[v]("media")])&&e.setAttribute("media",t),a&&e.setAttribute("srcset",a)}function ye(){3==h.loadMode&&(h.loadMode=2),ue()}function be(){j||(n.now()-O<999?y(be,999):(j=!0,h.loadMode=3,oe(),e("scroll",ye,!0)))}var ze,we,Ce,_e=(we=H(function(e,t,a,i){var r,n,o;if(e._lazysizesWidth=i,e.setAttribute("sizes",i+="px"),w.test(t.nodeName||""))for(n=0,o=(r=t.getElementsByTagName("source")).length;n<o;n++)r[n].setAttribute("sizes",i);a.detail.dataAttr||m(e,a.detail)}),{_:function(){ze=f.getElementsByClassName(h.autosizesClass),e("resize",Ce)},checkElems:Ce=I(function(){var e,t=ze.length;if(t)for(e=0;e<t;e++)Ae(ze[e])}),updateElem:Ae});function Ae(e,t,a){var i=e.parentNode;i&&(a=W(e,i,a),(t=L(e,"lazybeforesizes",{width:a,dataAttr:!!t})).defaultPrevented||(a=t.detail.width)&&a!==e._lazysizesWidth&&we(e,i,t,a))}function Ee(){!Ee.i&&f.getElementsByClassName&&(Ee.i=!0,_e._(),fe._())}return y(function(){h.init&&Ee()}),g={cfg:h,autoSizer:_e,loader:fe,init:Ee,uP:m,aC:c,rC:u,hC:E,fire:L,gW:W,rAF:M}});
;var wpdata={"object_id":"37491","site_url":"https:\/\/nowfastanswer.com"}
;var VALID_CLASSNAME=/^[_a-zA-Z\- ]*$/
var constructCssPath=el=>{if(!(el instanceof Element))return
let path=[]
while(el.nodeType===Node.ELEMENT_NODE){let selector=el.nodeName.toLowerCase()
if(el.id){selector+=`#${el.id}`
path.unshift(selector)
break}else if(el.className&&VALID_CLASSNAME.test(el.className)){selector+=`.${(el.className.trim()).replace(/\s+/g, '.')}`}else{let sib=el,nth=1
while((sib=sib.previousElementSibling)){if(sib.nodeName.toLowerCase()==selector)nth++}
if(nth!=1)selector+=':nth-of-type('+nth+')'}
path.unshift(selector)
el=el.parentNode}
return path.join(' > ')}
var defaultProps={root:'body',outlineStyle:'5px solid rgba(204, 146, 62, 0.3)',onClick:el=>console.log('Element was clicked:',constructCssPath(el))}
var Inspector=((props={})=>{const{root,excluded,outlineStyle}={...defaultProps,...props}
let onClick=props.onClick||defaultProps.onClick
let selected,excludedElements
const removeHighlight=el=>{if(el)el.style.outline='none'}
const highlight=el=>{el.style.outline=outlineStyle
el.style.outlineOffset=`-${el.style.outlineWidth}`}
const shouldBeExcluded=ev=>{if(excludedElements&&excludedElements.length&&excludedElements.some(parent=>(parent===ev.target||parent.contains(ev.target)))){return!0}}
const handleMouseOver=ev=>{if(shouldBeExcluded(ev)){return}
selected=ev.target
highlight(selected)}
const handleMouseOut=ev=>{if(shouldBeExcluded(ev)){return}
removeHighlight(ev.target)}
const handleClick=ev=>{if(shouldBeExcluded(ev)){return}
ev.preventDefault()
ev.stopPropagation()
onClick(ev.target)
return!1}
const prepareExcluded=(rootEl)=>{if(!excluded.length){return[]}
const excludedNested=excluded.flatMap(element=>{if(typeof element==='string'||element instanceof String){return Array.from(rootEl.querySelectorAll(element))}else if(element instanceof Element){return[element]}else if(element.length>0&&element[0]instanceof Element){return Array.from(element)}})
return Array.from(excludedNested).flat()}
const enable=onClickCallback=>{const rootEl=document.querySelector(root)
if(!rootEl)
return
if(excluded){excludedElements=prepareExcluded(rootEl)}
rootEl.addEventListener('mouseover',handleMouseOver,!0)
rootEl.addEventListener('mouseout',handleMouseOut,!0)
rootEl.addEventListener('click',handleClick,!0)
if(onClickCallback){onClick=onClickCallback}}
const cancel=()=>{const rootEl=document.querySelector(root)
if(!rootEl)
return
rootEl.removeEventListener('mouseover',handleMouseOver,!0)
rootEl.removeEventListener('mouseout',handleMouseOut,!0)
rootEl.removeEventListener('click',handleClick,!0)
removeHighlight(selected)}
return{enable,cancel}})
window.classStack=[]
window.classNameMap={}
function processStack(){classStack.forEach(element=>{document.head.removeChild(element)});classStack.forEach(element=>{document.head.appendChild(element)})}
function pushToClassMap(classNames){if(window.classNameMap[wpdata.object_id]!=undefined){window.classNameMap[wpdata.object_id].push(classNames)}else window.classNameMap[wpdata.object_id]=[classNames]
console.log(window.classNameMap)}
var inspector=Inspector({onClick:(el)=>{console.log(el)
const styleElement=document.createElement('style');var css="."+Array.from(el.classList).join(".")+"{display:none!important}"
var classNames=Array.from(el.classList).join(".")
styleElement.textContent=css;pushToClassMap(classNames)
window.classStack.push(styleElement)
document.head.appendChild(styleElement)
window.parent.postMessage("removed")}})
window.inspector=inspector
window.inpectorData=wpdata
;!function(){var e=-1<navigator.userAgent.toLowerCase().indexOf("webkit"),t=-1<navigator.userAgent.toLowerCase().indexOf("opera"),n=-1<navigator.userAgent.toLowerCase().indexOf("msie");(e||t||n)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(e=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(e.tagName)||(e.tabIndex=-1),e.focus())},!1)}();
;!function(r){"use strict";function l(e){return(e||"").toLowerCase()}r.fn.cycle=function(c){var e;return 0!==this.length||r.isReady?this.each(function(){var e,i,t,n=r(this),s=r.fn.cycle.log;if(!n.data("cycle.opts")){for(var o in(s=!1===n.data("cycle-log")||c&&!1===c.log||i&&!1===i.log?r.noop:s)("--c2 init--"),e=n.data())e.hasOwnProperty(o)&&/^cycle[A-Z]+/.test(o)&&(t=e[o],s((o=o.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,l))+":",t,"("+typeof t+")"),e[o]=t);(i=r.extend({},r.fn.cycle.defaults,e,c||{})).timeoutId=0,i.paused=i.paused||!1,i.container=n,i._maxZ=i.maxZ,i.API=r.extend({_container:n},r.fn.cycle.API),i.API.log=s,i.API.trigger=function(e,t){return i.container.trigger(e,t),i.API},n.data("cycle.opts",i),n.data("cycle.API",i.API),i.API.trigger("cycle-bootstrap",[i,i.API]),i.API.addInitialSlides(),i.API.preInitSlideshow(),i.slides.length&&i.API.initSlideshow()}}):(e={s:this.selector,c:this.context},r.fn.cycle.log("requeuing slideshow (dom not ready)"),r(function(){r(e.s,e.c).cycle(c)}),this)},r.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var e=this.opts(),t=e.slides;e.slideCount=0,e.slides=r(),t=t.jquery?t:e.container.find(t),e.random&&t.sort(function(){return Math.random()-.5}),e.API.add(t)},preInitSlideshow:function(){var e=this.opts(),t=(e.API.trigger("cycle-pre-initialize",[e]),r.fn.cycle.transitions[e.fx]);t&&r.isFunction(t.preInit)&&t.preInit(e),e._preInitialized=!0},postInitSlideshow:function(){var e=this.opts(),t=(e.API.trigger("cycle-post-initialize",[e]),r.fn.cycle.transitions[e.fx]);t&&r.isFunction(t.postInit)&&t.postInit(e)},initSlideshow:function(){var e=this.opts(),t=e.container;e.API.calcFirstSlide(),"static"==e.container.css("position")&&e.container.css("position","relative"),r(e.slides[e.currSlide]).css({opacity:1,display:"block",visibility:"visible"}),e.API.stackSlides(e.slides[e.currSlide],e.slides[e.nextSlide],!e.reverse),e.pauseOnHover&&(t=!0!==e.pauseOnHover?r(e.pauseOnHover):t).hover(function(){e.API.pause(!0)},function(){e.API.resume(!0)}),e.timeout&&(t=e.API.getSlideOpts(e.currSlide),e.API.queueTransition(t,t.timeout+e.delay)),e._initialized=!0,e.API.updateView(!0),e.API.trigger("cycle-initialized",[e]),e.API.postInitSlideshow()},pause:function(e){var t=this.opts(),i=t.API.getSlideOpts(),n=t.hoverPaused||t.paused;e?t.hoverPaused=!0:t.paused=!0,n||(t.container.addClass("cycle-paused"),t.API.trigger("cycle-paused",[t]).log("cycle-paused"),i.timeout&&(clearTimeout(t.timeoutId),t.timeoutId=0,t._remainingTimeout-=r.now()-t._lastQueue,(t._remainingTimeout<0||isNaN(t._remainingTimeout))&&(t._remainingTimeout=void 0)))},resume:function(e){var t=this.opts(),i=!t.hoverPaused&&!t.paused;e?t.hoverPaused=!1:t.paused=!1,i||(t.container.removeClass("cycle-paused"),0===t.slides.filter(":animated").length&&t.API.queueTransition(t.API.getSlideOpts(),t._remainingTimeout),t.API.trigger("cycle-resumed",[t,t._remainingTimeout]).log("cycle-resumed"))},add:function(e,n){var s=this.opts(),t=s.slideCount;"string"==r.type(e)&&(e=r.trim(e)),r(e).each(function(e){var t,i=r(this);n?s.container.prepend(i):s.container.append(i),s.slideCount++,t=s.API.buildSlideOpts(i),s.slides=n?r(i).add(s.slides):s.slides.add(i),s.API.initSlide(t,i,--s._maxZ),i.data("cycle.opts",t),s.API.trigger("cycle-slide-added",[s,t,i])}),s.API.updateView(!0),s._preInitialized&&t<2&&1<=s.slideCount&&(s._initialized?s.timeout&&(e=s.slides.length,s.nextSlide=s.reverse?e-1:1,s.timeoutId||s.API.queueTransition(s)):s.API.initSlideshow())},calcFirstSlide:function(){var e=this.opts(),t=parseInt(e.startingSlide||0,10);(t>=e.slides.length||t<0)&&(t=0),e.currSlide=t,e.reverse?(e.nextSlide=t-1,e.nextSlide<0&&(e.nextSlide=e.slides.length-1)):(e.nextSlide=t+1,e.nextSlide==e.slides.length&&(e.nextSlide=0))},calcNextSlide:function(){var e,t=this.opts();t.reverse?(e=t.nextSlide-1<0,t.nextSlide=e?t.slideCount-1:t.nextSlide-1,t.currSlide=e?0:t.nextSlide+1):(e=t.nextSlide+1==t.slides.length,t.nextSlide=e?0:t.nextSlide+1,t.currSlide=e?t.slides.length-1:t.nextSlide-1)},calcTx:function(e,t){var i;return e._tempFx?i=r.fn.cycle.transitions[e._tempFx]:t&&e.manualFx&&(i=r.fn.cycle.transitions[e.manualFx]),i=i||r.fn.cycle.transitions[e.fx],e._tempFx=null,this.opts()._tempFx=null,i||(i=r.fn.cycle.transitions.fade,e.API.log('Transition "'+e.fx+'" not found.  Using fade.')),i},prepareTx:function(e,t){var i,n,s,o,c=this.opts();c.slideCount<2?c.timeoutId=0:(!e||c.busy&&!c.manualTrump||(c.API.stopTransition(),c.busy=!1,clearTimeout(c.timeoutId),c.timeoutId=0),c.busy||0===c.timeoutId&&!e||(i=c.slides[c.currSlide],n=c.slides[c.nextSlide],s=c.API.getSlideOpts(c.nextSlide),o=c.API.calcTx(s,e),c._tx=o,e&&void 0!==s.manualSpeed&&(s.speed=s.manualSpeed),c.nextSlide!=c.currSlide&&(e||!c.paused&&!c.hoverPaused&&c.timeout)?(c.API.trigger("cycle-before",[s,i,n,t]),o.before&&o.before(s,i,n,t),e=function(){c.busy=!1,c.container.data("cycle.opts")&&(o.after&&o.after(s,i,n,t),c.API.trigger("cycle-after",[s,i,n,t]),c.API.queueTransition(s),c.API.updateView(!0))},c.busy=!0,o.transition?o.transition(s,i,n,t,e):c.API.doTransition(s,i,n,t,e),c.API.calcNextSlide(),c.API.updateView()):c.API.queueTransition(s)))},doTransition:function(e,t,i,n,s){function o(){a.animate(c.animIn||{opacity:1},c.speed,c.easeIn||c.easing,s)}var c=e,l=r(t),a=r(i);a.css(c.cssBefore||{}),l.animate(c.animOut||{},c.speed,c.easeOut||c.easing,function(){l.css(c.cssAfter||{}),c.sync||o()}),c.sync&&o()},queueTransition:function(e,t){var i=this.opts(),n=void 0!==t?t:e.timeout;return 0===i.nextSlide&&0==--i.loop?(i.API.log("terminating; loop=0"),i.timeout=0,n?setTimeout(function(){i.API.trigger("cycle-finished",[i])},n):i.API.trigger("cycle-finished",[i]),void(i.nextSlide=i.currSlide)):void 0!==i.continueAuto&&(!1===i.continueAuto||r.isFunction(i.continueAuto)&&!1===i.continueAuto())?(i.API.log("terminating automatic transitions"),i.timeout=0,void(i.timeoutId&&clearTimeout(i.timeoutId))):void(n&&(i._lastQueue=r.now(),void 0===t&&(i._remainingTimeout=e.timeout),i.paused||i.hoverPaused||(i.timeoutId=setTimeout(function(){i.API.prepareTx(!1,!i.reverse)},n))))},stopTransition:function(){var e=this.opts();e.slides.filter(":animated").length&&(e.slides.stop(!1,!0),e.API.trigger("cycle-transition-stopped",[e])),e._tx&&e._tx.stopTransition&&e._tx.stopTransition(e)},advanceSlide:function(e){var t=this.opts();return clearTimeout(t.timeoutId),t.timeoutId=0,t.nextSlide=t.currSlide+e,t.nextSlide<0?t.nextSlide=t.slides.length-1:t.nextSlide>=t.slides.length&&(t.nextSlide=0),t.API.prepareTx(!0,0<=e),!1},buildSlideOpts:function(e){var t,i,n,s=this.opts(),o=e.data()||{};for(n in o)o.hasOwnProperty(n)&&/^cycle[A-Z]+/.test(n)&&(t=o[n],i=n.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,l),s.API.log("["+(s.slideCount-1)+"]",i+":",t,"("+typeof t+")"),o[i]=t);(o=r.extend({},r.fn.cycle.defaults,s,o)).slideNum=s.slideCount;try{delete o.API,delete o.slideCount,delete o.currSlide,delete o.nextSlide,delete o.slides}catch(e){}return o},getSlideOpts:function(e){var t=this.opts(),e=(void 0===e&&(e=t.currSlide),t.slides[e]),e=r(e).data("cycle.opts");return r.extend({},t,e)},initSlide:function(e,t,i){var n=this.opts();t.css(e.slideCss||{}),0<i&&t.css("zIndex",i),isNaN(e.speed)&&(e.speed=r.fx.speeds[e.speed]||r.fx.speeds._default),e.sync||(e.speed=e.speed/2),t.addClass(n.slideClass)},updateView:function(e,t,i){var n,s,o=this.opts();o._initialized&&(n=o.API.getSlideOpts(),s=o.slides[o.currSlide],!e&&!0!==t&&(o.API.trigger("cycle-update-view-before",[o,n,s]),o.updateView<0)||(o.slideActiveClass&&o.slides.removeClass(o.slideActiveClass).eq(o.currSlide).addClass(o.slideActiveClass),e&&o.hideNonActive&&o.slides.filter(":not(."+o.slideActiveClass+")").css("visibility","hidden"),0===o.updateView&&setTimeout(function(){o.API.trigger("cycle-update-view",[o,n,s,e])},n.speed/(o.sync?2:1)),0!==o.updateView&&o.API.trigger("cycle-update-view",[o,n,s,e]),e&&o.API.trigger("cycle-update-view-after",[o,n,s])))},getComponent:function(e){var t=this.opts(),e=t[e];return"string"==typeof e?/^\s*[\>|\+|~]/.test(e)?t.container.find(e):r(e):e.jquery?e:r(e)},stackSlides:function(e,t,i){var n,s=this.opts(),o=(e||(e=s.slides[s.currSlide],t=s.slides[s.nextSlide],i=!s.reverse),r(e).css("zIndex",s.maxZ),s.maxZ-2),c=s.slideCount;if(i){for(n=s.currSlide+1;n<c;n++)r(s.slides[n]).css("zIndex",o--);for(n=0;n<s.currSlide;n++)r(s.slides[n]).css("zIndex",o--)}else{for(n=s.currSlide-1;0<=n;n--)r(s.slides[n]).css("zIndex",o--);for(n=c-1;n>s.currSlide;n--)r(s.slides[n]).css("zIndex",o--)}r(t).css("zIndex",s.maxZ-1)},getSlideIndex:function(e){return this.opts().slides.index(e)}},r.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},r.fn.cycle.version=function(){return"Cycle2: 2.1.6"},r.fn.cycle.transitions={custom:{},none:{before:function(e,t,i,n){e.API.stackSlides(i,t,n),e.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(e,t,i,n){var s=e.API.getSlideOpts(e.nextSlide).slideCss||{};e.API.stackSlides(t,i,n),e.cssBefore=r.extend(s,{opacity:0,visibility:"visible",display:"block"}),e.animIn={opacity:1},e.animOut={opacity:0}}},fadeout:{before:function(e,t,i,n){var s=e.API.getSlideOpts(e.nextSlide).slideCss||{};e.API.stackSlides(t,i,n),e.cssBefore=r.extend(s,{opacity:1,visibility:"visible",display:"block"}),e.animOut={opacity:0}}},scrollHorz:{before:function(e,t,i,n){e.API.stackSlides(t,i,n);t=e.container.css("overflow","hidden").width();e.cssBefore={left:n?t:-t,top:0,opacity:1,visibility:"visible",display:"block"},e.cssAfter={zIndex:e._maxZ-2,left:0},e.animIn={left:0},e.animOut={left:n?-t:t}}}},r.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0},r(document).ready(function(){r(r.fn.cycle.defaults.autoSelector).cycle()})}(jQuery),function(c){"use strict";function l(e,t){var i,n,s,o=t.autoHeight;"container"==o?(i=c(t.slides[t.currSlide]).outerHeight(),t.container.height(i)):t._autoHeightRatio?t.container.height(t.container.width()/t._autoHeightRatio):("calc"===o||"number"==c.type(o)&&0<=o)&&(i="calc"===o?(n=0,s=-1,t.slides.each(function(e){var t=c(this).height();s<t&&(s=t,n=e)}),n):o>=t.slides.length?0:o)!=t._sentinelIndex&&(t._sentinelIndex=i,t._sentinel&&t._sentinel.remove(),(o=c(t.slides[i].cloneNode(!0))).removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),o.css({position:"static",visibility:"hidden",display:"block"}).prependTo(t.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),o.find("*").css("visibility","hidden"),t._sentinel=o)}function a(e,t,i,n,s){n=c(n).outerHeight();t.container.animate({height:n},t.autoHeightSpeed,t.autoHeightEasing)}function r(e,t){t._autoHeightOnResize&&(c(window).off("resize orientationchange",t._autoHeightOnResize),t._autoHeightOnResize=null),t.container.off("cycle-slide-added cycle-slide-removed",l),t.container.off("cycle-destroyed",r),t.container.off("cycle-before",a),t._sentinel&&(t._sentinel.remove(),t._sentinel=null)}c.extend(c.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null}),c(document).on("cycle-initialized",function(e,t){var i=t.autoHeight,n=c.type(i),s=null;function o(){l(0,t)}"string"!==n&&"number"!==n||(t.container.on("cycle-slide-added cycle-slide-removed",l),t.container.on("cycle-destroyed",r),"container"==i?t.container.on("cycle-before",a):"string"===n&&/\d+\:\d+/.test(i)&&(i=(i=i.match(/(\d+)\:(\d+)/))[1]/i[2],t._autoHeightRatio=i),"number"!==n&&(t._autoHeightOnResize=function(){clearTimeout(s),s=setTimeout(o,50)},c(window).on("resize orientationchange",t._autoHeightOnResize)),setTimeout(o,30))})}(jQuery),function(o){"use strict";o.extend(o.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"<div>{{title}}</div><div>{{desc}}</div>",captionModule:"caption"}),o(document).on("cycle-update-view",function(e,i,n,s){"caption"===i.captionModule&&o.each(["caption","overlay"],function(){var e=n[this+"Template"],t=i.API.getComponent(this);t.length&&e?(t.html(i.API.tmpl(e,n,i,s)),t.show()):t.hide()})}),o(document).on("cycle-destroyed",function(e,t){o.each(["caption","overlay"],function(){var e=t[this+"Template"];t[this]&&e&&t.API.getComponent("caption").empty()})})}(jQuery),function(l){"use strict";var c=l.fn.cycle;l.fn.cycle=function(t){var i,n,s,o=l.makeArray(arguments);return"number"==l.type(t)?this.cycle("goto",t):"string"==l.type(t)?this.each(function(){var e;if(i=t,void 0===(s=l(this).data("cycle.opts")))c.log('slideshow must be initialized before sending commands; "'+i+'" ignored');else{if(i="goto"==i?"jump":i,n=s.API[i],l.isFunction(n))return(e=l.makeArray(o)).shift(),n.apply(s.API,e);c.log("unknown command: ",i)}}):c.apply(this,arguments)},l.extend(l.fn.cycle,c),l.extend(c.API,{next:function(){var e,t=this.opts();t.busy&&!t.manualTrump||(e=t.reverse?-1:1,!1===t.allowWrap&&t.currSlide+e>=t.slideCount||(t.API.advanceSlide(e),t.API.trigger("cycle-next",[t]).log("cycle-next")))},prev:function(){var e,t=this.opts();t.busy&&!t.manualTrump||(e=t.reverse?1:-1,!1===t.allowWrap&&t.currSlide+e<0||(t.API.advanceSlide(e),t.API.trigger("cycle-prev",[t]).log("cycle-prev")))},destroy:function(){this.stop();var t=this.opts(),i=l.isFunction(l._data)?l._data:l.noop;clearTimeout(t.timeoutId),t.timeoutId=0,t.API.stop(),t.API.trigger("cycle-destroyed",[t]).log("cycle-destroyed"),t.container.removeData(),i(t.container[0],"parsedAttrs",!1),t.retainStylesOnDestroy||(t.container.removeAttr("style"),t.slides.removeAttr("style"),t.slides.removeClass(t.slideActiveClass)),t.slides.each(function(){var e=l(this);e.removeData(),e.removeClass(t.slideClass),i(this,"parsedAttrs",!1)})},jump:function(e,t){var i=this.opts();i.busy&&!i.manualTrump||(e=parseInt(e,10),isNaN(e)||e<0||e>=i.slides.length?i.API.log("goto: invalid slide index: "+e):e==i.currSlide?i.API.log("goto: skipping, already on slide",e):(i.nextSlide=e,clearTimeout(i.timeoutId),i.timeoutId=0,i.API.log("goto: ",e," (zero-index)"),e=i.currSlide<i.nextSlide,i._tempFx=t,i.API.prepareTx(!0,e)))},stop:function(){var e=this.opts(),t=e.container;clearTimeout(e.timeoutId),e.timeoutId=0,e.API.stopTransition(),e.pauseOnHover&&(t=!0!==e.pauseOnHover?l(e.pauseOnHover):t).off("mouseenter mouseleave"),e.API.trigger("cycle-stopped",[e]).log("cycle-stopped")},reinit:function(){var e=this.opts();e.API.destroy(),e.container.cycle()},remove:function(e){for(var t,i,n=this.opts(),s=[],o=1,c=0;c<n.slides.length;c++)t=n.slides[c],c==e?i=t:(s.push(t),l(t).data("cycle.opts").slideNum=o,o++);i&&(n.slides=l(s),n.slideCount--,l(i).remove(),e==n.currSlide?n.API.advanceSlide(1):e<n.currSlide?n.currSlide--:n.currSlide++,n.API.trigger("cycle-slide-removed",[n,e,i]).log("cycle-slide-removed"),n.API.updateView())}}),l(document).on("click.cycle","[data-cycle-cmd]",function(e){e.preventDefault();var e=l(this),t=e.data("cycle-cmd"),i=e.data("cycle-context")||".cycle-slideshow";l(i).cycle(t,e.data("cycle-arg"))})}(jQuery),function(o){"use strict";function i(i,n){var s;i._hashFence?i._hashFence=!1:(s=window.location.hash.substring(1),i.slides.each(function(e){var t;if(o(this).data("cycle-hash")==s)return!0===n?i.startingSlide=e:(t=i.currSlide<e,i.nextSlide=e,i.API.prepareTx(!0,t)),!1}))}o(document).on("cycle-pre-initialize",function(e,t){i(t,!0),t._onHashChange=function(){i(t,!1)},o(window).on("hashchange",t._onHashChange)}),o(document).on("cycle-update-view",function(e,t,i){i.hash&&"#"+i.hash!=window.location.hash&&(t._hashFence=!0,window.location.hash=i.hash)}),o(document).on("cycle-destroyed",function(e,t){t._onHashChange&&o(window).off("hashchange",t._onHashChange)})}(jQuery),function(u){"use strict";u.extend(u.fn.cycle.defaults,{loader:!1}),u(document).on("cycle-bootstrap",function(e,r){var d;r.loader&&(d=r.API.add,r.API.add=function(e,o){var c=[];if("string"==u.type(e))e=u.trim(e);else if("array"===u.type(e))for(var t=0;t<e.length;t++)e[t]=u(e[t])[0];var l=(e=u(e)).length;function a(e,t){return e.data("index")-t.data("index")}l&&(e.css("visibility","hidden").appendTo("body").each(function(e){var i=0,n=u(this),t=n.is("img")?n:n.find("img");if(n.data("index",e),!(t=t.filter(":not(.cycle-loader-ignore)").filter(':not([src=""])')).length)return--l,void c.push(n);function s(){var e,t;0==--i&&(--l,e=n,"wait"==r.loader?(c.push(e),0===l&&(c.sort(a),d.apply(r.API,[c,o]),r.container.removeClass("cycle-loading"))):(t=u(r.slides[r.currSlide]),d.apply(r.API,[e,o]),t.show(),r.container.removeClass("cycle-loading")))}i=t.length,t.each(function(){this.complete?s():u(this).load(function(){s()}).on("error",function(){0==--i&&(r.API.log("slide skipped; img not loaded:",this.src),0==--l&&"wait"==r.loader&&d.apply(r.API,[c,o]))})})}),l&&r.container.addClass("cycle-loading"))})})}(jQuery),function(o){"use strict";function n(i,n,s){i.API.getComponent("pager").each(function(){var e,t=o(this);(n.pagerTemplate?(e=i.API.tmpl(n.pagerTemplate,n,i,s[0]),o(e).appendTo(t)):t.children().eq(i.slideCount-1)).on(i.pagerEvent,function(e){i.pagerEventBubble||e.preventDefault(),i.API.page(t,e.currentTarget)})})}function s(e,t){var i,n,s=this.opts();s.busy&&!s.manualTrump||(i=e.children().index(t),n=s.currSlide<i,s.currSlide!=i&&(s.nextSlide=i,s._tempFx=s.pagerFx,s.API.prepareTx(!0,n),s.API.trigger("cycle-pager-activated",[s,e,t])))}o.extend(o.fn.cycle.defaults,{pager:"> .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:void 0,pagerTemplate:"<span>&bull;</span>"}),o(document).on("cycle-bootstrap",function(e,t,i){i.buildPagerLink=n}),o(document).on("cycle-slide-added",function(e,t,i,n){t.pager&&(t.API.buildPagerLink(t,i,n),t.API.page=s)}),o(document).on("cycle-slide-removed",function(e,t,i,n){t.pager&&t.API.getComponent("pager").each(function(){var e=o(this);o(e.children()[i]).remove()})}),o(document).on("cycle-update-view",function(e,t,i){t.pager&&t.API.getComponent("pager").each(function(){o(this).children().removeClass(t.pagerActiveClass).eq(t.currSlide).addClass(t.pagerActiveClass)})}),o(document).on("cycle-destroyed",function(e,t){var i=t.API.getComponent("pager");i&&(i.children().off(t.pagerEvent),t.pagerTemplate&&i.empty())})}(jQuery),function(e){"use strict";e.extend(e.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),e(document).on("cycle-initialized",function(e,t){var i,n;t.API.getComponent("next").on(t.nextEvent,function(e){e.preventDefault(),t.API.next()}),t.API.getComponent("prev").on(t.prevEvent,function(e){e.preventDefault(),t.API.prev()}),t.swipe&&(i=t.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",n=t.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle",t.container.on(i,function(e){t._tempFx=t.swipeFx,t.API.next()}),t.container.on(n,function(){t._tempFx=t.swipeFx,t.API.prev()}))}),e(document).on("cycle-update-view",function(e,t,i,n){var s,o,c,l,a;t.allowWrap||(s=t.disabledClass,o=t.API.getComponent("next"),c=t.API.getComponent("prev"),l=t._prevBoundry||0,a=void 0!==t._nextBoundry?t._nextBoundry:t.slideCount-1,t.currSlide==a?o.addClass(s).prop("disabled",!0):o.removeClass(s).prop("disabled",!1),t.currSlide===l?c.addClass(s).prop("disabled",!0):c.removeClass(s).prop("disabled",!1))}),e(document).on("cycle-destroyed",function(e,t){t.API.getComponent("prev").off(t.nextEvent),t.API.getComponent("next").off(t.prevEvent),t.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),function(a){"use strict";a.extend(a.fn.cycle.defaults,{progressive:!1}),a(document).on("cycle-pre-initialize",function(e,n){if(n.progressive){var s,t=n.API,i=t.next,o=t.prev,c=t.prepareTx,l=a.type(n.progressive);if("array"==l)s=n.progressive;else if(a.isFunction(n.progressive))s=n.progressive(n);else if("string"==l){if(l=a(n.progressive),!(s=a.trim(l.html())))return;if(/^(\[)/.test(s))try{s=a.parseJSON(s)}catch(e){return void t.log("error parsing progressive slides",e)}else(s=s.split(new RegExp(l.data("cycle-split")||"\n")))[s.length-1]||s.pop()}c&&(t.prepareTx=function(e,t){var i;e||0===s.length?c.apply(n.API,[e,t]):t&&n.currSlide==n.slideCount-1?(i=s[0],s=s.slice(1),n.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.API.advanceSlide(1)},50)}),n.API.add(i)):t||0!==n.currSlide?c.apply(n.API,[e,t]):(e=s.length-1,i=s[e],s=s.slice(0,e),n.container.one("cycle-slide-added",function(e,t){setTimeout(function(){t.currSlide=1,t.API.advanceSlide(-1)},50)}),n.API.add(i,!0))}),i&&(t.next=function(){var e,t=this.opts();s.length&&t.currSlide==t.slideCount-1?(e=s[0],s=s.slice(1),t.container.one("cycle-slide-added",function(e,t){i.apply(t.API),t.container.removeClass("cycle-loading")}),t.container.addClass("cycle-loading"),t.API.add(e)):i.apply(t.API)}),o&&(t.prev=function(){var e,t,i=this.opts();s.length&&0===i.currSlide?(e=s.length-1,t=s[e],s=s.slice(0,e),i.container.one("cycle-slide-added",function(e,t){t.currSlide=1,t.API.advanceSlide(-1),t.container.removeClass("cycle-loading")}),i.container.addClass("cycle-loading"),i.API.add(t,!0)):o.apply(i.API)})}})}(jQuery),function(a){"use strict";a.extend(a.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),a.extend(a.fn.cycle.API,{tmpl:function(e,t){var t=new RegExp(t.tmplRegex||a.fn.cycle.defaults.tmplRegex,"g"),l=a.makeArray(arguments);return l.shift(),e.replace(t,function(e,t){for(var i,n,s,o=t.split("."),c=0;c<l.length;c++)if(n=l[c]){if(1<o.length)for(s=n,i=0;i<o.length;i++)s=(n=s)[o[i]]||t;else s=n[t];if(a.isFunction(s))return s.apply(n,l);if(null!=s&&s!=t)return s}return t})}})}(jQuery);
;jQuery(document).ready(function(n){0<n(".search-toggle").length&&(n(".search-toggle").on("click",function(o){o.preventDefault(),n(this).parent().toggleClass("toggled-on")}),n(window).on("load.educationsoul resize.educationsoul",function(){767<window.innerWidth&&n("#primary-search-form").on("focusout",function(){var o=n(this);setTimeout(function(){o.find(":focus").length||n(".primary-search-wrapper .search-toggle").trigger("click")},0)})}));var o=n("#btn-scrollup");0<o.length&&(n(window).on("scroll",function(){100<n(this).scrollTop()?o.fadeIn():o.fadeOut()}),o.on("click",function(){return n("html, body").animate({scrollTop:0},600),!1}))});
;var EducationHubScreenReaderText={"expand":"<span class=\"screen-reader-text\">expand child menu<\/span>","collapse":"<span class=\"screen-reader-text\">collapse child menu<\/span>"}
;jQuery(document).ready(function(a){var e,n,t,o;function i(){910<=window.innerWidth?(a(document.body).on("touchstart.educationHub",function(e){a(e.target).closest(".main-navigation li").length||a(".main-navigation li").removeClass("focus")}),e.find(".menu-item-has-children > a, .page_item_has_children > a").on("touchstart.educationHub",function(e){var n=a(this).parent("li");n.hasClass("focus")||(e.preventDefault(),n.toggleClass("focus"),n.siblings(".focus").removeClass("focus"))})):e.find(".menu-item-has-children > a, .page_item_has_children > a").unbind("touchstart.educationHub")}n=a(".main-navigation"),t=a("<button />",{class:"dropdown-toggle","aria-expanded":!1}).append(a("<span />",{class:"screen-reader-text",text:EducationHubScreenReaderText.expand.expand})),n.find(".menu-item-has-children > a, .page_item_has_children > a").after(t),n.find(".current-menu-ancestor > button").addClass("toggled-on"),n.find(".current-menu-ancestor > .sub-menu").addClass("toggled-on"),n.find(".menu-item-has-children, .page_item_has_children").attr("aria-haspopup","true"),n.find(".dropdown-toggle").on("click",function(e){var n=a(this),t=n.find(".screen-reader-text");e.preventDefault(),n.toggleClass("toggled-on"),n.attr("aria-expanded","false"===n.attr("aria-expanded")?"true":"false"),t.text(t.text()===EducationHubScreenReaderText.expand.expand?EducationHubScreenReaderText.expand.collapse:EducationHubScreenReaderText.expand.expand)}),t=a("#main-nav"),n=t.find(".menu-toggle"),e=t.find("#site-navigation"),quickLinks=a(".quick-links"),o=0,n.length&&(n.on("click.educationHub",function(){a(this).add(e).attr("aria-expanded","false"===a(this).add(e).attr("aria-expanded")?"true":"false")}),n.add(e).attr("aria-expanded","false"),n.on("click.educationHub",function(){var e=a(this).parents(".wrap-menu-content"),e=(a(".menu-toggle").not(this).removeClass("selected"),a(".wrap-menu-content").not(e).removeClass("is-open"),a(this).toggleClass("selected"),a(e).toggleClass("is-open"),a(e).hasClass("is-open"));e&&!jQuery("body").hasClass("menu-open")?(0===o&&(o=a("body").scrollTop()),a("body").addClass("menu-open")):e||(a("body").removeClass("menu-open"),a("body").scrollTop(o),o=0),a(".wrap-menu-content").toggle("slow"),a("#site-navigation").toggleClass("toggled-on")}),a(document).on("click touchstart",function(){a("body").removeClass("menu-open"),a(".menu-toggle").removeClass("selected"),a(".wrap-menu-content").removeClass("is-open")}),a(".site-header-menu,.menu-toggle, .dropdown-toggle, .search-field, #site-navigation, #social-search-wrapper, #social-navigation .search-submit").on("click touchstart",function(e){e.stopPropagation()})),e.length&&e.children().length&&("ontouchstart"in window&&(a(window).on("resize.educationHub",i),i()),e.find("a").on("focus.educationHub blur.educationHub",function(){a(this).parents(".menu-item").toggleClass("focus")}),a(".main-navigation button.dropdown-toggle").on("click",function(){a(this).toggleClass("active"),a(this).parent().find(".children, .sub-menu").first().toggleClass("toggled-on")})),quickLinks.length&&quickLinks.children().length&&quickLinks.find("a").on("focus.educationHub blur.educationHub",function(){quickLinks.toggleClass("focus")}),a(document).ready(function(){a(document.body),a(window).on("load.educationsoul resize.educationsoul",function(){window.innerWidth<768&&a("#site-navigation .wrap-menu-content").on("focusout",function(){var e=a(this);setTimeout(function(){e.find(":focus").length||a("#site-navigation .menu-toggle").trigger("click")},0)})})})});
;