(window.webpackJsonp=window.webpackJsonp||[]).push([["base"],{"+2oP":function(t,e,n){"use strict";var r=n("I+eb"),i=n("2oRo"),o=n("6LWA"),a=n("aO6C"),s=n("hh1v"),c=n("I8vh"),u=n("B/qT"),l=n("/GqU"),d=n("hBjN"),f=n("tiKp"),h=n("Hd5f"),p=n("82ph"),v=h("slice"),m=f("species"),g=i.Array,y=Math.max;r({target:"Array",proto:!0,forced:!v},{slice:function(t,e){var n,r,i,f=l(this),h=u(f),v=c(t,h),b=c(void 0===e?h:e,h);if(o(f)&&(n=f.constructor,a(n)&&(n===g||o(n.prototype))?n=void 0:s(n)&&null===(n=n[m])&&(n=void 0),n===g||void 0===n))return p(f,v,b);for(r=new(void 0===n?g:n)(y(b-v,0)),i=0;v<b;v++,i++)v in f&&d(r,i,f[v]);return r.length=i,r}})},"+M1K":function(t,e,n){var r=n("2oRo"),i=n("WSbT"),o=r.RangeError;t.exports=function(t){var e=i(t);if(e<0)throw o("The argument can't be less than 0");return e}},"+ywr":function(t,e,n){n("dOgj")("Uint32",function(t){return function(e,n,r){return t(this,e,n,r)}})},"/GqU":function(t,e,n){var r=n("RK3t"),i=n("HYAF");t.exports=function(t){return r(i(t))}},"/OA6":function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return i});var r=function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},i=function(t){return t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2}},"/OPJ":function(t,e,n){var r=n("0Dky"),i=n("2oRo").RegExp;t.exports=r(function(){var t=i(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})},"/Yfv":function(t,e,n){n("dOgj")("Int8",function(t){return function(e,n,r){return t(this,e,n,r)}})},"/b8u":function(t,e,n){var r=n("STAE");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"/byt":function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"/cOv":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("Q/5a"),i=n("KxHI"),o={difficultyMenu:document.getElementById("difficulty-menu"),dcMenu:document.getElementById("dc-menu")},a=function(){r.a.emit(i.f.hideAllMenu),o.difficultyMenu&&o.difficultyMenu.classList.remove("menu-visible")},s=function(t,e,n){n=n||o[e];window.isMobile&&!["newGameMenu","dcMenu"].includes(e)||(t.stopPropagation(),n.classList.contains("menu-visible")?a():(a(),function(t,e){e=e||o[t];a(),e&&e.classList.add("menu-visible")}(e,n)))}},"/qmn":function(t,e,n){var r=n("2oRo");t.exports=r.Promise},"07d7":function(t,e,n){var r=n("AO7/"),i=n("busE"),o=n("sEFX");r||i(Object.prototype,"toString",o,{unsafe:!0})},"0BK2":function(t,e){t.exports={}},"0Dky":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"0GbY":function(t,e,n){var r=n("2oRo"),i=n("Fib7");t.exports=function(t,e){return arguments.length<2?(n=r[t],i(n)?n:void 0):r[t]&&r[t][e];var n}},"0TkE":function(t,e,n){"use strict";var r=n("67WC"),i=n("tycR").find,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)})},"0eef":function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},"0rvr":function(t,e,n){var r=n("4zBA"),i=n("glrk"),o=n("O741");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},"14Sl":function(t,e,n){"use strict";n("rB9j");var r=n("4zBA"),i=n("busE"),o=n("kmMV"),a=n("0Dky"),s=n("tiKp"),c=n("kRJp"),u=s("species"),l=RegExp.prototype;t.exports=function(t,e,n,d){var f=s(t),h=!a(function(){var e={};return e[f]=function(){return 7},7!=""[t](e)}),p=h&&!a(function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return e=!0,null},n[f](""),!e});if(!h||!p||n){var v=r(/./[f]),m=e(f,""[t],function(t,e,n,i,a){var s=r(t),c=e.exec;return c===o||c===l.exec?h&&!a?{done:!0,value:v(e,n,i)}:{done:!0,value:s(n,e,i)}:{done:!1}});i(String.prototype,t,m[0]),i(l,f,m[1])}d&&c(l[f],"sham",!0)}},"1E5z":function(t,e,n){var r=n("m/L8").f,i=n("Gi26"),o=n("tiKp")("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!i(t,o)&&r(t,o,{configurable:!0,value:e})}},"1MNl":function(t,e,n){var r=n("NC/Y"),i=n("2oRo");t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},"1Y/n":function(t,e,n){var r=n("2oRo"),i=n("We1y"),o=n("ewvW"),a=n("RK3t"),s=n("B/qT"),c=r.TypeError,u=function(t){return function(e,n,r,u){i(n);var l=o(e),d=a(l),f=s(l),h=t?f-1:0,p=t?-1:1;if(r<2)for(;;){if(h in d){u=d[h],h+=p;break}if(h+=p,t?h<0:f<=h)throw c("Reduce of empty array with no initial value")}for(;t?h>=0:f>h;h+=p)h in d&&(u=n(u,d[h],h,l));return u}};t.exports={left:u(!1),right:u(!0)}},"1Ybj":function(t,e,n){"use strict";n.d(e,"a",function(){return m});var r=n("Q/5a"),i=n("kFz4"),o=n("J8vR"),a=n("Vl5E"),s=n("KxHI"),c="ad_native_impression",u="ad_native_failed",l="ad_native_closed",d="ad_native_cached",f="ad_native_request",h=(n("nIJZ"),function(){return(h=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)}),p="ab_vidazoo2_mobile_aniviewmidpf"===window.abGroups.ab_vidazoo2_mobile||"ab_vidazoo2_desktop_aniviewmidpf"===window.abGroups.ab_vidazoo2_desktop?"664e06087e13fbb6c60e516b":"ab_vidazoo2_mobile_aniviewlowpf"===window.abGroups.ab_vidazoo2_mobile||"ab_vidazoo2_desktop_aniviewlowpf"===window.abGroups.ab_vidazoo2_desktop?"66525c61b6dc5954fb0954d5":"65703e202c3d426a6902efd7",v=[{width:400,height:225},{width:350,height:196},{width:320,height:180},{width:200,height:112}],m=function(){function t(){var t,e,n,i=(null===(n=null===(e=null===(t=null===window||void 0===window?void 0:window.eb)||void 0===t?void 0:t.userProfile)||void 0===e?void 0:e.device)||void 0===n?void 0:n.type)!==s.c.desktop;this.baseEventData={placement:i?"under_game":"flying_down",service_name:s.l.aniview},this.$wrapper=document.querySelector("#aniview-"+(i?"mobile":"float")+"-container"),this.player=null,this.inited=!1,window.avPlayer?this.init():r.a.subscribe(s.f.AniviewLoaded,this.init.bind(this))}return t.prototype.init=function(){var t,e,n,r,l=this;if(!this.inited)if(window.avPlayer){var m=v.find(function(t){return window.innerWidth-20>t.width}),g=(null===(n=null===(e=null===(t=null===window||void 0===window?void 0:window.eb)||void 0===t?void 0:t.userProfile)||void 0===e?void 0:e.device)||void 0===n?void 0:n.type)!==s.c.desktop,y={position:"aniview-mobile-container",width:m.width?m.width:100,height:m.height?m.height:0};console.log(g,"is Mobile"),this.inited=!0,this.player=new window.avPlayer(h({publisherId:"64997fd0362016b0aa065754",channelId:"65703c915c28d248a80dfc66",autoPlay:!0,loop:!0,errorLimit:(null===(r=null===window||void 0===window?void 0:window.eb)||void 0===r?void 0:r.settings.aniview_limit)||50,vastRetry:3,midrolltime:5,Skip:!0,skipTimer:5,tagId:p,closeButton:!1,playerVersion:8,maxImp:99},g?y:{position:"aniview-float-container",width:380,height:240,openAnim:!0})),this.player.play(),this.player.on("AdEvent",function(t){"bid"===t&&(Object(a.a)(f,{service_name:s.l.aniview}),i.a.send(f,{service_name:s.l.aniview}))}),this.player.on("AdReady",function(){console.log("player ready (native)"),Object(o.a)(l.$wrapper).add("active"),Object(a.a)(d,l.baseEventData),i.a.send(d,l.baseEventData)}),this.player.on("AdImpression",function(t){var e={adsource_id:t.asid,channel_id:"65703c915c28d248a80dfc66",studio_tag_id:p},n=h(h({},e),l.baseEventData);Object(a.a)(c,n),i.a.send(c,n,!0)}),this.player.on("AdError",function(t){console.log("ad error",t),"errorlimit"===(null==t?void 0:t.reason)&&(window.needToRestartPageOnChangeMode=!0,Object(a.a)(u,l.baseEventData),i.a.send(u,l.baseEventData))}),this.player.on("AdVideoComplete",this.onClose.bind(this)),this.player.on("AdSkipped",this.onClose.bind(this))}else console.log("no avPlayer :(")},t.prototype.onClose=function(){Object(o.a)(this.$wrapper).remove("active"),Object(a.a)(l,this.baseEventData),i.a.send(l,this.baseEventData)},t}()},"1dYe":function(t,e,n){"use strict";var r=n("67WC"),i=n("tycR").forEach,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",function(t){i(o(this),t,arguments.length>1?arguments[1]:void 0)})},"1t3B":function(t,e,n){var r=n("I+eb"),i=n("0GbY"),o=n("glrk");r({target:"Reflect",stat:!0,sham:!n("uy83")},{preventExtensions:function(t){o(t);try{var e=i("Object","preventExtensions");return e&&e(t),!0}catch(t){return!1}}})},"1tal":function(t,e,n){var r=n("2oRo").TypeError;t.exports=function(t,e){if(t<e)throw r("Not enough arguments");return t}},"23rs":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=[{key:"finish_level",text:"Finish Level",condition:"Sudoku"},{key:"complete_day",text:"Complete Day",condition:"calendar"},{key:"clear_day",text:"Clear Day",condition:"calendar"},{key:"complete_month",text:"Complete Month",condition:"calendar"},{key:"clear_month",text:"Clear Month",condition:"calendar"}],i=function(){function t(t){this.selectors=t,this.cheats=[]}return t.prototype.getElements=function(){this.$menu=document.querySelector(this.selectors.menuSelector),this.$toggles=document.querySelectorAll(this.selectors.toggleSelector),this.$buttons=document.querySelector(this.selectors.buttonsSelector),this.$parent=document.querySelector(this.selectors.parentSelector)},t.prototype.init=function(){var t=this;this.getElements(),this.cheats=r.filter(function(t){return!!window[t.condition]}),this.cheats.length&&(this.$parent.classList.add("active"),this.toggleMenu=this.toggleMenu.bind(this),this.$toggles.forEach(function(e){return e.addEventListener("click",t.toggleMenu)}),this.generateCheatMenu(),this.inited=!0)},t.prototype.toggleMenu=function(){this.$menu.classList.toggle("active")},t.prototype.addButton=function(t){var e=this;if(!this.cheats.find(function(e){return e.text===t.text})){this.cheats.push(t);var n=document.createElement("button");n.innerText=t.text,n.addEventListener("click",t.func),this.inited?this.$buttons.appendChild(n):(this.getElements(),this.$buttons.appendChild(n),this.$parent.classList.add("active"),this.toggleMenu=this.toggleMenu.bind(this),this.$toggles.forEach(function(t){return t.addEventListener("click",e.toggleMenu)}),this.inited=!0)}},t.prototype.generateCheatMenu=function(){var t=this;this.cheats.forEach(function(e){var n=document.createElement("button");switch(n.innerText=e.text,e.key){case"finish_level":n.addEventListener("click",function(){window._finishSudoku()});break;case"complete_day":n.addEventListener("click",window.calendar._cheatUpdateSelectedDay.bind(window.calendar));break;case"clear_day":n.addEventListener("click",window.calendar._cheatUpdateSelectedDay.bind(window.calendar,null,!0,"REMOVE"));break;case"complete_month":n.addEventListener("click",window.calendar._cheatUpdateSelectedMonth.bind(window.calendar,"COMPLETE"));break;case"clear_month":n.addEventListener("click",window.calendar._cheatUpdateSelectedMonth.bind(window.calendar,"REMOVE"));break;default:n.addEventListener("click",function(){return alert("Action for the cheat not presented")})}t.$buttons.appendChild(n)})},t}()},"25bX":function(t,e,n){var r=n("I+eb"),i=n("glrk"),o=n("T63f");r({target:"Reflect",stat:!0},{isExtensible:function(t){return i(t),o(t)}})},"27RR":function(t,e,n){var r=n("I+eb"),i=n("g6v/"),o=n("Vu81"),a=n("/GqU"),s=n("Bs8V"),c=n("hBjN");r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),i=s.f,u=o(r),l={},d=0;u.length>d;)void 0!==(n=i(r,e=u[d++]))&&c(l,e,n);return l}})},"2B1R":function(t,e,n){"use strict";var r=n("I+eb"),i=n("tycR").map;r({target:"Array",proto:!0,forced:!n("Hd5f")("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},"2Gvs":function(t,e,n){var r=n("0Dky");t.exports=r(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})},"2Zix":function(t,e,n){var r=n("NC/Y");t.exports=/MSIE|Trident/.test(r)},"2bX/":function(t,e,n){var r=n("2oRo"),i=n("0GbY"),o=n("Fib7"),a=n("OpvP"),s=n("/b8u"),c=r.Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return o(e)&&a(e.prototype,c(t))}},"2oRo":function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("yLpj"))},3:function(t,e){},"33Wh":function(t,e,n){var r=n("yoRg"),i=n("eDl+");t.exports=Object.keys||function(t){return r(t,i)}},"37lR":function(t,e,n){var r=n("B/qT");t.exports=function(t,e){for(var n=0,i=r(e),o=new t(i);i>n;)o[n]=e[n++];return o}},"3Eq5":function(t,e,n){var r=n("We1y");t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},"3I1R":function(t,e,n){n("dG/n")("hasInstance")},"3bBZ":function(t,e,n){var r=n("2oRo"),i=n("/byt"),o=n("eFrH"),a=n("4mDm"),s=n("kRJp"),c=n("tiKp"),u=c("iterator"),l=c("toStringTag"),d=a.values,f=function(t,e){if(t){if(t[u]!==d)try{s(t,u,d)}catch(e){t[u]=d}if(t[l]||s(t,l,e),i[e])for(var n in a)if(t[n]!==a[n])try{s(t,n,a[n])}catch(e){t[n]=a[n]}}};for(var h in i)f(r[h]&&r[h].prototype,h);f(o,"DOMTokenList")},"4Brf":function(t,e,n){"use strict";var r=n("I+eb"),i=n("g6v/"),o=n("2oRo"),a=n("4zBA"),s=n("Gi26"),c=n("Fib7"),u=n("OpvP"),l=n("V37c"),d=n("m/L8").f,f=n("6JNq"),h=o.Symbol,p=h&&h.prototype;if(i&&c(h)&&(!("description"in p)||void 0!==h().description)){var v={},m=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),e=u(p,this)?new h(t):void 0===t?h():h(t);return""===t&&(v[e]=!0),e};f(m,h),m.prototype=p,p.constructor=m;var g="Symbol(test)"==String(h("test")),y=a(p.toString),b=a(p.valueOf),w=/^Symbol\((.*)\)[^)]+$/,S=a("".replace),_=a("".slice);d(p,"description",{configurable:!0,get:function(){var t=b(this),e=y(t);if(s(v,t))return"";var n=g?_(e,7,-1):S(e,w,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:m})}},"4WOD":function(t,e,n){var r=n("2oRo"),i=n("Gi26"),o=n("Fib7"),a=n("ewvW"),s=n("93I0"),c=n("4Xet"),u=s("IE_PROTO"),l=r.Object,d=l.prototype;t.exports=c?l.getPrototypeOf:function(t){var e=a(t);if(i(e,u))return e[u];var n=e.constructor;return o(n)&&e instanceof n?n.prototype:e instanceof l?d:null}},"4Xet":function(t,e,n){var r=n("0Dky");t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},"4l63":function(t,e,n){var r=n("I+eb"),i=n("wg0c");r({global:!0,forced:parseInt!=i},{parseInt:i})},"4mDm":function(t,e,n){"use strict";var r=n("/GqU"),i=n("RNIs"),o=n("P4y1"),a=n("afO8"),s=n("m/L8").f,c=n("fdAy"),u=n("xDBR"),l=n("g6v/"),d=a.set,f=a.getterFor("Array Iterator");t.exports=c(Array,"Array",function(t,e){d(this,{type:"Array Iterator",target:r(t),index:0,kind:e})},function(){var t=f(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values");var h=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!u&&l&&"values"!==h.name)try{s(h,"name",{value:"values"})}catch(t){}},"4syw":function(t,e,n){var r=n("busE");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},"4zBA":function(t,e,n){var r=n("QNWe"),i=Function.prototype,o=i.bind,a=i.call,s=r&&o.bind(a,a);t.exports=r?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},"5Tg+":function(t,e,n){var r=n("tiKp");e.f=r},"5Yz+":function(t,e,n){"use strict";var r=n("K6Rb"),i=n("/GqU"),o=n("WSbT"),a=n("B/qT"),s=n("pkCn"),c=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,d=s("lastIndexOf"),f=l||!d;t.exports=f?function(t){if(l)return r(u,this,arguments)||0;var e=i(this),n=a(e),s=n-1;for(arguments.length>1&&(s=c(s,o(arguments[1]))),s<0&&(s=n+s);s>=0;s--)if(s in e&&e[s]===t)return s||0;return-1}:u},"5bJ4":function(t,e,n){"use strict";n.d(e,"a",function(){return m});var r,i,o={DELAY:2e3,IOS_BANNER_DELAY:200,IOS_BANNER_LIMIT:20,MAIN_ID:"mobile-smart",SHOW_SMART_CLASS:"smart-visible"},a=function(){function t(){this.body=document.querySelector("body"),this.banner=document.getElementById(o.MAIN_ID),this.wrap=document.getElementById("smart-wrap"),this.cookiesConsent=document.getElementById("cookies-banner"),this.badgeGP=document.querySelectorAll(".badge-button-gp"),this.badgeIOS=document.querySelectorAll(".badge-button-ios"),this.getDynamicElements()}return Object.defineProperty(t.prototype,"mode",{get:function(){return this.banner&&this.banner.dataset.mode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"platform",{get:function(){return this.banner&&this.banner.dataset.platform},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"badgeMode",{get:function(){return this.badgeWrapper&&this.badgeWrapper.dataset.mode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"consentVisible",{get:function(){return this.cookiesConsent&&!this.cookiesConsent.classList.contains("hidden")},enumerable:!1,configurable:!0}),t.prototype.bindCloseBanner=function(t){var e=this;return this.closeButton&&this.closeButton.addEventListener("click",t),function(){e.closeButton&&e.closeButton.removeEventListener("click",t)}},t.prototype.bindClickOpen=function(t){var e=this;return this.openButton&&this.openButton.addEventListener("click",t),function(){e.openButton&&e.openButton.removeEventListener("click",t)}},t.prototype.bindBadgeGPClick=function(t){var e=this;return this.badgeGP.forEach(function(e){return e.addEventListener("click",t)}),function(){e.badgeGP.forEach(function(e){return e.removeEventListener("click",t)})}},t.prototype.bindBadgeIOSClick=function(t){var e=this;return this.badgeIOS.forEach(function(e){return e.addEventListener("click",t)}),function(){e.badgeIOS.forEach(function(e){return e.removeEventListener("click",t)})}},t.prototype.showSmart=function(){this.body.classList.add(o.SHOW_SMART_CLASS)},t.prototype.hideSmart=function(){this.body.classList.remove(o.SHOW_SMART_CLASS)},t.prototype.getDynamicElements=function(){this.openButton=document.getElementById("mobile-smart-cta"),this.closeButton=document.getElementById("smart-close"),this.badgeWrapper=document.querySelector(".app-teaser-wrapper")},t}();!function(t){t.classic="classic",t.killer="killer"}(r||(r={})),function(t){t.mode="mode",t.height="height"}(i||(i={}));var s=function(){function t(){this.mode=r.classic,this.bannerEventSent=!1,this.countCheckBanner=0,this.bannerHeight=0}return t.prototype.bindChangeMode=function(t){this.onChangeMode=t},t.prototype.bindChangeBannerHeight=function(t){this.onChangeBannerHeight=t},t.prototype.changeShownSettings=function(t){this.mode=t,this.commit(i.mode)},t.prototype.changeBannerEventSent=function(){this.bannerEventSent=!0},t.prototype.changeBannerHeight=function(t){this.bannerHeight=t,this.commit(i.height)},t.prototype.incrementCountCheckBanner=function(){this.countCheckBanner++},t.prototype.commit=function(t){switch(t){case i.mode:this.onChangeMode();break;case i.height:this.onChangeBannerHeight(this.bannerHeight)}},t}(),c=n("Vl5E"),u=n("LKh6"),l=n("5z3c"),d=function(){var t=document.getElementById("game");setTimeout(function(){t&&t.classList.toggle("game-resize")},510)},f=n("6Ssv"),h=n("Q/5a"),p=n("KxHI"),v=n("kFz4"),m=function(){function t(){this.view=new a,this.model=new s,this.bindDynamicElements(),this.model.bindChangeMode(this.onShowBanner.bind(this)),this.model.bindChangeBannerHeight(this.onChangeBannerHeight.bind(this)),this.view.bindBadgeGPClick(this.handleBadgeGBClick.bind(this)),this.view.bindBadgeIOSClick(this.handleBadgeIOSClick.bind(this)),this.view.mode&&this.handleChangeMode(this.view.mode),!u.d||!u.f||u.b||u.c||u.g||this.detectIosSmartBanner(),h.a.subscribe(p.f.contentChanged,this.onChangeContent.bind(this))}return t.prototype.onChangeContent=function(t){this.unsubClickOpen(),this.unsubCloseBanner(),t.smart_banner&&this.view.wrap&&(this.view.wrap.innerHTML=t.smart_banner),this.view.getDynamicElements(),this.bindDynamicElements()},t.prototype.bindDynamicElements=function(){this.unsubClickOpen=this.view.bindClickOpen(this.handleOpenLink.bind(this)),this.unsubCloseBanner=this.view.bindCloseBanner(this.handleCloseBanner.bind(this))},t.prototype.onChangeBannerHeight=function(t){h.a.emit(p.f.changeCookiesPadding,t)},t.prototype.onShowBanner=function(){this.handleShowSmartBanner()},t.prototype.handleShowSmartBanner=function(){this.view.showSmart(),Object(c.a)("smartbanner_show",{os:this.view.platform,type:this.model.mode}),v.a.send("smartbanner_show",{os:this.view.platform,type:this.model.mode}),d()},t.prototype.handleBadgeGBClick=function(){Object(c.a)("badge_click",{os:"android",type:this.view.badgeMode}),v.a.send("badge_click",{os:"android",type:this.view.badgeMode})},t.prototype.handleBadgeIOSClick=function(){Object(c.a)("badge_click",{os:"ios",type:this.view.badgeMode}),v.a.send("badge_click",{os:"ios",type:this.view.badgeMode})},t.prototype.handleOpenLink=function(){Object(c.a)("smartbanner_click",{os:this.view.platform,type:this.model.mode}),v.a.send("smartbanner_click",{os:this.view.platform,type:this.model.mode})},t.prototype.handleCloseBanner=function(){var t,e;this.view.hideSmart();var n="hide"+(this.model.mode===r.classic?"Classic":"Killer")+Object(l.c)(this.view.platform)+"SmartBanner";return f.a&&((null===(t=null===window||void 0===window?void 0:window.eb)||void 0===t?void 0:t.settings.use_cmp)&&"1"===Object(l.k)(p.a.functional)||!(null===(e=null===window||void 0===window?void 0:window.eb)||void 0===e?void 0:e.settings.use_cmp))&&Object(f.c)(n,"1",365),d(),n},t.prototype.handleChangeMode=function(t){this.model.changeShownSettings(t)},t.prototype.detectIosSmartBanner=function(){var t=this;setTimeout(function(){var e=Math.abs(document.documentElement.clientHeight-window.innerHeight),n=Math.abs((window.defaultWindowHeight||0)-window.innerHeight);e>0||n>0?(t.model.bannerEventSent||(Object(c.a)("smartbanner_show",{os:"ios",type:t.model.mode}),v.a.send("smartbanner_show",{os:"ios",type:t.model.mode}),t.model.changeBannerEventSent()),e>t.model.bannerHeight&&t.view.consentVisible&&t.model.changeBannerHeight(e)):t.view.consentVisible&&h.a.emit(p.f.removeCookiesPadding),t.model.incrementCountCheckBanner(),t.model.countCheckBanner<o.IOS_BANNER_LIMIT&&t.detectIosSmartBanner()},o.IOS_BANNER_DELAY)},t}()},"5mdu":function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},"5s+n":function(t,e,n){"use strict";var r,i,o,a,s=n("I+eb"),c=n("xDBR"),u=n("2oRo"),l=n("0GbY"),d=n("xluM"),f=n("/qmn"),h=n("busE"),p=n("4syw"),v=n("0rvr"),m=n("1E5z"),g=n("JiZb"),y=n("We1y"),b=n("Fib7"),w=n("hh1v"),S=n("GarU"),_=n("iSVu"),k=n("ImZN"),x=n("HH4o"),E=n("SEBh"),O=n("LPSS").set,T=n("tXUg"),I=n("zfnd"),A=n("RN6c"),C=n("8GlL"),j=n("5mdu"),R=n("AbTg"),L=n("afO8"),M=n("lMq5"),B=n("tiKp"),P=n("YGnB"),D=n("YF1G"),N=n("LQDL"),G=B("species"),H="Promise",q=L.getterFor(H),F=L.set,U=L.getterFor(H),W=f&&f.prototype,z=f,$=W,V=u.TypeError,Y=u.document,J=u.process,K=C.f,X=K,Z=!!(Y&&Y.createEvent&&u.dispatchEvent),Q=b(u.PromiseRejectionEvent),tt=!1,et=M(H,function(){var t=_(z),e=t!==String(z);if(!e&&66===N)return!0;if(c&&!$.finally)return!0;if(N>=51&&/native code/.test(t))return!1;var n=new z(function(t){t(1)}),r=function(t){t(function(){},function(){})};return(n.constructor={})[G]=r,!(tt=n.then(function(){})instanceof r)||!e&&P&&!Q}),nt=et||!x(function(t){z.all(t).catch(function(){})}),rt=function(t){var e;return!(!w(t)||!b(e=t.then))&&e},it=function(t,e){var n,r,i,o=e.value,a=1==e.state,s=a?t.ok:t.fail,c=t.resolve,u=t.reject,l=t.domain;try{s?(a||(2===e.rejection&&ut(e),e.rejection=1),!0===s?n=o:(l&&l.enter(),n=s(o),l&&(l.exit(),i=!0)),n===t.promise?u(V("Promise-chain cycle")):(r=rt(n))?d(r,n,c,u):c(n)):u(o)}catch(t){l&&!i&&l.exit(),u(t)}},ot=function(t,e){t.notified||(t.notified=!0,T(function(){for(var n,r=t.reactions;n=r.get();)it(n,t);t.notified=!1,e&&!t.rejection&&st(t)}))},at=function(t,e,n){var r,i;Z?((r=Y.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),u.dispatchEvent(r)):r={promise:e,reason:n},!Q&&(i=u["on"+t])?i(r):"unhandledrejection"===t&&A("Unhandled promise rejection",n)},st=function(t){d(O,u,function(){var e,n=t.facade,r=t.value;if(ct(t)&&(e=j(function(){D?J.emit("unhandledRejection",r,n):at("unhandledrejection",n,r)}),t.rejection=D||ct(t)?2:1,e.error))throw e.value})},ct=function(t){return 1!==t.rejection&&!t.parent},ut=function(t){d(O,u,function(){var e=t.facade;D?J.emit("rejectionHandled",e):at("rejectionhandled",e,t.value)})},lt=function(t,e,n){return function(r){t(e,r,n)}},dt=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,ot(t,!0))},ft=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw V("Promise can't be resolved itself");var r=rt(e);r?T(function(){var n={done:!1};try{d(r,e,lt(ft,n,t),lt(dt,n,t))}catch(e){dt(n,e,t)}}):(t.value=e,t.state=1,ot(t,!1))}catch(e){dt({done:!1},e,t)}}};if(et&&($=(z=function(t){S(this,$),y(t),d(r,this);var e=q(this);try{t(lt(ft,e),lt(dt,e))}catch(t){dt(e,t)}}).prototype,(r=function(t){F(this,{type:H,done:!1,notified:!1,parent:!1,reactions:new R,rejection:!1,state:0,value:void 0})}).prototype=p($,{then:function(t,e){var n=U(this),r=K(E(this,z));return n.parent=!0,r.ok=!b(t)||t,r.fail=b(e)&&e,r.domain=D?J.domain:void 0,0==n.state?n.reactions.add(r):T(function(){it(r,n)}),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r,e=q(t);this.promise=t,this.resolve=lt(ft,e),this.reject=lt(dt,e)},C.f=K=function(t){return t===z||t===o?new i(t):X(t)},!c&&b(f)&&W!==Object.prototype)){a=W.then,tt||(h(W,"then",function(t,e){var n=this;return new z(function(t,e){d(a,n,t,e)}).then(t,e)},{unsafe:!0}),h(W,"catch",$.catch,{unsafe:!0}));try{delete W.constructor}catch(t){}v&&v(W,$)}s({global:!0,wrap:!0,forced:et},{Promise:z}),m(z,H,!1,!0),g(H),o=l(H),s({target:H,stat:!0,forced:et},{reject:function(t){var e=K(this);return d(e.reject,void 0,t),e.promise}}),s({target:H,stat:!0,forced:c||et},{resolve:function(t){return I(c&&this===o?z:this,t)}}),s({target:H,stat:!0,forced:nt},{all:function(t){var e=this,n=K(e),r=n.resolve,i=n.reject,o=j(function(){var n=y(e.resolve),o=[],a=0,s=1;k(t,function(t){var c=a++,u=!1;s++,d(n,e,t).then(function(t){u||(u=!0,o[c]=t,--s||r(o))},i)}),--s||r(o)});return o.error&&i(o.value),n.promise},race:function(t){var e=this,n=K(e),r=n.reject,i=j(function(){var i=y(e.resolve);k(t,function(t){d(i,e,t).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}})},"5z3c":function(t,e,n){"use strict";n.d(e,"h",function(){return a}),n.d(e,"d",function(){return s}),n.d(e,"a",function(){return c}),n.d(e,"u",function(){return u}),n.d(e,"r",function(){return l}),n.d(e,"c",function(){return d}),n.d(e,"k",function(){return f}),n.d(e,"s",function(){return h}),n.d(e,"b",function(){return p}),n.d(e,"l",function(){return m}),n.d(e,"p",function(){return g}),n.d(e,"g",function(){return y}),n.d(e,"t",function(){return b}),n.d(e,"w",function(){return w}),n.d(e,"o",function(){return S}),n.d(e,"f",function(){return _}),n.d(e,"e",function(){return k}),n.d(e,"q",function(){return x}),n.d(e,"v",function(){return E}),n.d(e,"j",function(){return O}),n.d(e,"i",function(){return T}),n.d(e,"n",function(){return I}),n.d(e,"m",function(){return A});var r=n("6Ssv"),i=function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}c((r=r.apply(t,e||[])).next())})},o=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};var a=function(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height}};function s(){var t=this;return window.useAdBlock=!1,new Promise(function(e){return i(t,void 0,void 0,function(){return o(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,3,4]),[4,fetch("/static/js/ima3.js",{method:"HEAD",mode:"no-cors"}).catch(function(){window.useAdBlock=!0})];case 1:return t.sent(),[3,4];case 2:return t.sent(),window.useAdBlock=!0,[3,4];case 3:return void 0!==window.gtag&&window.gtag("set","user_properties",{use_ad_block:window.useAdBlock}),e(window.useAdBlock),[7];case 4:return[2]}})})})}var c=function(t){return t/Math.pow(1024,2)},u=function(t,e){if("createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent(e,!1,!0),t.dispatchEvent(n)}else t.fireEvent("on"+e)},l=function(t,e){return Math.floor(Math.random()*(e-t+1)+t)},d=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},f=function(t){var e=Object(r.b)("OptanonConsent");if(!e)return"0";var n=e.split("&").reduce(function(t,e){var n=e.split("=");return t[n[0]]=n[1],t},{}).groups;return n?n.split(",").reduce(function(t,e){var n=e.split(":");return t[n[0]]=n[1],t},{})[t]:"0"};var h=function(t,e,n){return t.replace(new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),n)},p=function(t){var e=t.replace(/[A-Z]/g,function(t){return"_"+t.toLowerCase()});return"_"===e[0]&&(e=e.slice(1)),e},v=["moz","ms","o","webkit"],m=function(t){return t?t+"Hidden":"hidden"},g=function(t){return(t||"")+"visibilitychange"},y=function(){for(var t=0;t<v.length;t++)if(m(v[t])in document)return v[t];return null},b=function(t,e){return t.reduce(function(t,n,r){var i=Math.floor(r/e);return t[i]||(t[i]=[]),t[i].push(n),t},[])},w=function(t,e,n){void 0===n&&(n="0");for(var r=t;r.length<e;)r=n+r;return r},S=function(){var t=window.location.search.substring(1).toLowerCase();return t.length?t.split("&").reduce(function(t,e){var n=e.split("="),r=n[0],i=n[1];return"utm_"===r.slice(0,4)&&(t[r]=i),t},{}):{}},_=function(t,e,n){var r;void 0===e&&(e=window),"function"==typeof Event?r=new Event(t):(r=document.createEvent("Event")).initEvent(t,!0,!0),r.data=n,e.dispatchEvent(r)},k=function(t,e){var n;return void 0===e&&(e=300),function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];clearTimeout(n),n=setTimeout(function(){t.apply(void 0,r)},e)}},x=function(t){return t.map(function(e,n){return t.slice(n+1).map(function(t){return[e,t]})}).flat()},E=function(t){var e=[];if(t.length<3)return e;for(var n=0;n<t.length-2;n++)for(var r=n+1;r<t.length-1;r++)for(var i=r+1;i<t.length;i++)e.push([t[n],t[r],t[i]]);return e},O=function(){var t="prod";switch(!0){case window.location.origin.includes("stage."):t="stage";break;case window.location.origin.includes("test."):case window.location.origin.includes("0.0.0"):case window.location.origin.includes("localhost"):t="test";break;default:t="production"}return t},T=function(t){var e=t,n=Math.floor(e/86400);e-=86400*n;var r=Math.floor(e/3600)%24;e-=3600*r;var i=Math.floor(e/60)%60;return e-=60*i,{d:n,h:r,m:i,s:parseInt(e%60)}},I=function(t,e){for(var n=[],r=0;r<t.length;r++)r!==e&&n.push(r);return n[Math.floor(Math.random()*n.length)]},A=function(t,e){var n=e?e+1:0;return n>t.length-1&&(n=0),n}},"6+x4":function(t,e,n){"use strict";n.d(e,"a",function(){return f});var r=n("J8vR"),i="menu-visible",o="main-menu-open",a="main-menu-transition",s="header-index",c=function(){function t(){var t;this.body=document.querySelector("body"),this.mainNav=document.getElementById("main-navigation"),this.langMenu=document.querySelectorAll(".lang-menu"),this.modeMenu=document.getElementById("mode-menu"),this.modeMenuLabel=document.getElementById("mode-menu-label"),this.burger=document.getElementById("burger-icon"),this.moreLink=document.querySelector(".more-menu-open"),this.moreDropdown=document.querySelector(".more-menu-dropdown"),this.header=document.querySelector("#masthead"),this.moreWrapper=document.querySelector(".more-menu-link"),this.submenuLinks=document.querySelectorAll(".submenu-more-link"),this.flexibleLinks=document.querySelectorAll(".flexible-link"),this.contentWrapper=document.querySelector(".site-header > .container"),this.refModeMenu=document.querySelector(".ref-mode-menu"),this.logo=document.querySelector(".logo-sudoku-wrapper"),this.defaultWidthNavigation=null!==(t=document.querySelector(".main-navigation-wrapper").clientWidth)&&void 0!==t?t:0,this.countShowedFliexibleMenu=0,this.menuInited=!1,this.getDynamicElements()}return Object.defineProperty(t.prototype,"containerMenuWidth",{get:function(){var t,e=this.refModeMenu?this.refModeMenu.clientWidth+25:0,n=null!==(t=this.logo.clientWidth)&&void 0!==t?t:0;return this.contentWrapper.clientWidth-20-e-n-80-this.defaultWidthNavigation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"modeMenuVisible",{get:function(){return Object(r.a)(this.modeMenu).contains(i)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"moreDropdownVisible",{get:function(){return this.moreDropdown&&Object(r.a)(this.moreDropdown).contains(i)},enumerable:!1,configurable:!0}),t.prototype.setUpHeaderMenu=function(){for(var t=this.containerMenuWidth,e=0,n=0,i=0;i<this.flexibleLinks.length&&!((e+=8*this.flexibleLinks[i].innerText.length+35)>t);i++)n++;n<this.flexibleLinks.length&&8*this.moreLink.innerText.length+35+e>t&&n--,this.flexibleLinks.forEach(function(t){return Object(r.a)(t).remove("showed")}),this.submenuLinks.forEach(function(t){Object(r.a)(t).remove("hidden")}),Object(r.a)(this.moreWrapper).remove("showed"),Object(r.a)(this.moreLink).remove("active");for(i=0;i<n;i++)Object(r.a)(this.flexibleLinks[i]).add("showed"),Object(r.a)(this.submenuLinks[i]).add("hidden");if(n<this.flexibleLinks.length){Object(r.a)(this.moreWrapper).add("showed");var o=!1;for(i=n-1<0?0:n-1;i<this.submenuLinks.length;i++)!Object(r.a)(this.submenuLinks[i]).contains("hidden")&&this.submenuLinks[i].childNodes.length&&Object(r.a)(this.submenuLinks[i].childNodes[0]).contains("active")&&(o=!0);o&&Object(r.a)(this.moreLink).add("active")}},t.prototype.bindChangeLangSelect=function(t){var e=this;return this.langMenuSelect.forEach(function(e){return e.addEventListener("change",t)}),function(){e.langMenuSelect.forEach(function(e){return e.removeEventListener("change",t)})}},t.prototype.bindClickMoreLink=function(t){this.moreLink&&this.moreLink.addEventListener("click",t)},t.prototype.bindClickLangLabel=function(t){var e=this;return this.langMenuLabel.forEach(function(e){return e.addEventListener("click",t)}),function(){e.langMenuLabel.forEach(function(e){return e.removeEventListener("click",t)})}},t.prototype.bindClickModeLabel=function(t){this.modeMenuLabel&&this.modeMenuLabel.addEventListener("click",t)},t.prototype.bindBurgerClick=function(t){this.burger&&this.burger.addEventListener("click",t)},t.prototype.toggleShowMenu=function(){Object(r.a)(this.body).add(a).toggle(o)},t.prototype.closeMainMenu=function(){this.mainNav&&this.mainNav.removeAttribute("style"),Object(r.a)(this.body).remove(o)},t.prototype.removeMenuTransition=function(){Object(r.a)(this.body).remove(a)},t.prototype.hideMenus=function(){Object(r.a)(this.header).remove(s),Object(r.a)(this.modeMenu).remove(i),this.langMenu.forEach(function(t){return Object(r.a)(t).remove(i)}),this.moreDropdown&&Object(r.a)(this.moreDropdown).remove(i)},t.prototype.showMenu=function(t){Object(r.a)(t).add(i)},t.prototype.headerToTop=function(){this.header&&Object(r.a)(this.header).add(s)},t.prototype.getDynamicElements=function(){this.langMenuSelect=document.querySelectorAll(".lang-menu_select"),this.langMenuLabel=document.querySelectorAll(".lang-menu_label")},t}(),u=n("Q/5a"),l=n("KxHI"),d=n("LKh6"),f=function(){function t(){this.view=new c,this.view.bindBurgerClick(this.handleBurgerClick.bind(this)),this.view.bindClickModeLabel(this.handleOpenMenu.bind(this)("modeMenu")),this.view.bindClickMoreLink(this.handleOpenMenu.bind(this)("moreDropdown")),this.bindDynamicElements(),u.a.subscribe(l.f.contentChanged,this.onChangeContent.bind(this)),u.a.subscribe(l.f.hideAllMenu,this.view.hideMenus.bind(this.view)),window.addEventListener("resize",this.onResizeView.bind(this))}return t.prototype.onResizeView=function(){this.view.removeMenuTransition(),window.innerWidth<d.a||this.view.closeMainMenu()},t.prototype.onChangeContent=function(t){this.unsubChangeLangSelect(),this.unsubChangeModeSelect(),this.unsubClickLangLabel(),t.mode_menu&&this.view.modeMenuLabel&&(this.view.modeMenuLabel.innerHTML=t.mode_menu),t.language_menu&&this.view.langMenu.forEach(function(e){return e.innerHTML=t.language_menu}),this.view.getDynamicElements(),this.bindDynamicElements()},t.prototype.bindDynamicElements=function(){this.unsubChangeLangSelect=this.view.bindChangeLangSelect(this.handleChangeLangSelect.bind(this)),this.unsubClickLangLabel=this.view.bindClickLangLabel(this.handleOpenMenu.bind(this)("langMenu"))},t.prototype.handleBurgerClick=function(){this.view.toggleShowMenu(),u.a.emit(l.f.userAction)},t.prototype.handleOpenMenu=function(t){var e=this;return function(n){if(n.preventDefault(),!(window.innerWidth<d.a)){n.stopPropagation();var o="langMenu"===t?Object(r.a)(n.target.closest(".lang-menu")).contains(i):e.view[t+"Visible"];u.a.emit(l.f.hideAllMenu),o||e.view.showMenu("langMenu"===t?n.target.closest(".lang-menu"):e.view[t]),"moreDropdown"===t&&e.view.headerToTop()}}},t.prototype.handleChangeLangSelect=function(t){window.location.href=t.target.value},t}()},"67WC":function(t,e,n){"use strict";var r,i,o,a=n("qYE9"),s=n("g6v/"),c=n("2oRo"),u=n("Fib7"),l=n("hh1v"),d=n("Gi26"),f=n("9d/t"),h=n("DVFp"),p=n("kRJp"),v=n("busE"),m=n("m/L8").f,g=n("OpvP"),y=n("4WOD"),b=n("0rvr"),w=n("tiKp"),S=n("kOOl"),_=c.Int8Array,k=_&&_.prototype,x=c.Uint8ClampedArray,E=x&&x.prototype,O=_&&y(_),T=k&&y(k),I=Object.prototype,A=c.TypeError,C=w("toStringTag"),j=S("TYPED_ARRAY_TAG"),R=S("TYPED_ARRAY_CONSTRUCTOR"),L=a&&!!b&&"Opera"!==f(c.opera),M=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},P={BigInt64Array:8,BigUint64Array:8},D=function(t){if(!l(t))return!1;var e=f(t);return d(B,e)||d(P,e)};for(r in B)(o=(i=c[r])&&i.prototype)?p(o,R,i):L=!1;for(r in P)(o=(i=c[r])&&i.prototype)&&p(o,R,i);if((!L||!u(O)||O===Function.prototype)&&(O=function(){throw A("Incorrect invocation")},L))for(r in B)c[r]&&b(c[r],O);if((!L||!T||T===I)&&(T=O.prototype,L))for(r in B)c[r]&&b(c[r].prototype,T);if(L&&y(E)!==T&&b(E,T),s&&!d(T,C))for(r in M=!0,m(T,C,{get:function(){return l(this)?this[j]:void 0}}),B)c[r]&&p(c[r],j,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_CONSTRUCTOR:R,TYPED_ARRAY_TAG:M&&j,aTypedArray:function(t){if(D(t))return t;throw A("Target is not a typed array")},aTypedArrayConstructor:function(t){if(u(t)&&(!b||g(O,t)))return t;throw A(h(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n,r){if(s){if(n)for(var i in B){var o=c[i];if(o&&d(o.prototype,t))try{delete o.prototype[t]}catch(n){try{o.prototype[t]=e}catch(t){}}}T[t]&&!n||v(T,t,n?e:L&&k[t]||e,r)}},exportTypedArrayStaticMethod:function(t,e,n){var r,i;if(s){if(b){if(n)for(r in B)if((i=c[r])&&d(i,t))try{delete i[t]}catch(t){}if(O[t]&&!n)return;try{return v(O,t,n?e:L&&O[t]||e)}catch(t){}}for(r in B)!(i=c[r])||i[t]&&!n||v(i,t,e)}},isView:function(t){if(!l(t))return!1;var e=f(t);return"DataView"===e||d(B,e)||d(P,e)},isTypedArray:D,TypedArray:O,TypedArrayPrototype:T}},"6JNq":function(t,e,n){var r=n("Gi26"),i=n("Vu81"),o=n("Bs8V"),a=n("m/L8");t.exports=function(t,e,n){for(var s=i(e),c=a.f,u=o.f,l=0;l<s.length;l++){var d=s[l];r(t,d)||n&&r(n,d)||c(t,d,u(e,d))}}},"6LWA":function(t,e,n){var r=n("xrYK");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"6R/c":function(t,e,n){"use strict";var r=n("67WC"),i=n("TWQb").indexOf,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)})},"6Ssv":function(t,e,n){"use strict";n.d(e,"c",function(){return r}),n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o});var r=function(t,e,n){var r=new Date;r.setTime(r.getTime()+864e5*n);var i="expires="+r.toUTCString();document.cookie=t+"="+e+";"+i+";path=/"},i=function(t){for(var e=t+"=",n=decodeURIComponent(document.cookie).split(";"),r=0;r<n.length;r++){for(var i=n[r];" "===i.charAt(0);)i=i.substring(1);if(0===i.indexOf(e))return i.substring(e.length,i.length)}return""},o=!navigator||navigator.cookieEnabled},"6VoE":function(t,e,n){var r=n("tiKp"),i=n("P4y1"),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},"6sUC":function(t,e,n){var r=n("hh1v"),i=Math.floor;t.exports=Number.isInteger||function(t){return!r(t)&&isFinite(t)&&i(t)===t}},"7+kd":function(t,e,n){n("dG/n")("isConcatSpreadable")},"7+zs":function(t,e,n){var r=n("Gi26"),i=n("busE"),o=n("UesL"),a=n("tiKp")("toPrimitive"),s=Date.prototype;r(s,a)||i(s,a,o)},"7JcK":function(t,e,n){"use strict";var r=n("67WC"),i=n("iqeF"),o=r.aTypedArrayConstructor;(0,r.exportTypedArrayStaticMethod)("of",function(){for(var t=0,e=arguments.length,n=new(o(this))(e);e>t;)n[t]=arguments[t++];return n},i)},"7ueG":function(t,e,n){"use strict";var r=n("I+eb"),i=n("WKiH").start,o=n("yNLB")("trimStart"),a=o?function(){return i(this)}:"".trimStart;r({target:"String",proto:!0,name:"trimStart",forced:o},{trimStart:a,trimLeft:a})},"82ph":function(t,e,n){var r=n("4zBA");t.exports=r([].slice)},"88L7":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r={MAIN_GAME:"solver_game",LAST_HIW_DATE:"last_hiw_date",DISABLE_SOLVER_NOTIFICATION:"disable_solver_notification"}},"8Eb1":function(t,e,n){"use strict";n.d(e,"a",function(){return v});var r,i,o=n("J8vR"),a=function(){function t(){this.body=document.querySelector("body"),this.mainNav=document.getElementById("main-navigation"),this.consent=document.getElementById("cookies-consent"),this.banner=document.getElementById("cookies-banner"),this.popup=document.getElementById("cookies-popup"),this.closePopup=document.getElementById("cookies-popup-close"),this.linkTabs=document.querySelectorAll(".cookies-options-item"),this.contentTabs=document.querySelectorAll(".options-content"),this.settingsLink=document.getElementById("cookie-settings-link"),this.dropdown=document.querySelector("#cookies-options-dropdown"),this.acceptButtons=document.querySelectorAll(".cookies-accept"),this.saveButton=document.getElementById("cookies-save"),this.sdkGoogleAdw=document.querySelector("#sdk_google_adw"),this.sdkGoogleAnalytics=document.querySelector("#sdk_google_analytics"),this.policyLinks=document.querySelectorAll(".cookies-page .entry-content a, .ref-footer .cookie-preferences-link"),this.aniviewFloatAds=document.getElementById("aniview-float-container"),this.vidazooFloatAds=document.querySelector("#vidazoo-container.vidazoo-float")}return Object.defineProperty(t.prototype,"sdkAdw",{get:function(){return this.sdkGoogleAdw.checked},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sdkAnalytics",{get:function(){return this.sdkGoogleAnalytics.checked},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dropdownValue",{get:function(){return this.dropdown.value},enumerable:!1,configurable:!0}),t.prototype.bindAcceptCookies=function(t){this.acceptButtons.forEach(function(e){e.addEventListener("click",t)})},t.prototype.bindClickPolicyLink=function(t){this.policyLinks.forEach(function(e){e.addEventListener("click",t)})},t.prototype.bindClickLinkTab=function(t){this.linkTabs.forEach(function(e){e.addEventListener("click",function(n){n.preventDefault();var r=e.dataset.category;t(r)})})},t.prototype.bindChangeDropdown=function(t){var e=this;this.dropdown&&this.dropdown.addEventListener("change",function(){t(e.dropdownValue)})},t.prototype.bindSaveCookies=function(t){this.saveButton&&this.saveButton.addEventListener("click",t)},t.prototype.bindShowSettings=function(t){this.settingsLink&&this.settingsLink.addEventListener("click",t)},t.prototype.bindHideSettings=function(t){this.closePopup&&this.closePopup.addEventListener("click",t)},t.prototype.showSettings=function(){this.consent&&(this.consent.style.display="block"),this.popup&&this.popup.classList.add("shown"),this.banner&&(this.banner.style.display="none")},t.prototype.hideSettings=function(){this.popup&&this.popup.classList.remove("shown"),this.banner&&(this.banner.style.display="block")},t.prototype.hideConsent=function(){this.consent.style.display="none",this.body.style.paddingBottom="0",this.aniviewFloatAds&&(this.aniviewFloatAds.style.bottom="10px"),this.vidazooFloatAds&&(this.vidazooFloatAds.style.bottom="10px"),window.vidazooFloatAds&&(window.vidazooFloatAds.style.marginBottom="0px"),window.slideRiseAd&&(window.slideRiseAd.style.bottom="0px")},t.prototype.showTab=function(t){this.linkTabs.forEach(function(e){return e.dataset.category===t?e.classList.add("active"):e.classList.remove("active")}),this.contentTabs.forEach(function(e){e.style.display="none",e.classList.contains("cookies-category-"+t)&&(e.style.display="block")})},t.prototype.updateConsentPadding=function(){var t=this.banner.getBoundingClientRect().height;this.body.classList.add("cookie-visible"),this.body.style.paddingBottom=t+"px",this.mainNav.style.bottom=t-1+"px",this.aniviewFloatAds&&(this.aniviewFloatAds.style.bottom=t+10+"px"),this.vidazooFloatAds&&(this.vidazooFloatAds.style.bottom=t+10+"px"),window.vidazooFloatAds&&(window.vidazooFloatAds.style.marginBottom=t+10+"px"),window.slideRiseAd&&(window.slideRiseAd.style.bottom=t+"px")},t.prototype.removeCookieBannerPadding=function(){this.banner&&(this.banner.style.paddingBottom="")},t.prototype.changeCookieBannerPadding=function(t){this.banner&&(this.removeCookieBannerPadding(),this.banner.offsetWidth,this.banner.style.paddingBottom=t+parseInt(window.getComputedStyle(this.banner).paddingBottom)+"px")},t.prototype.getDynamicElements=function(){this.banner=document.getElementById("onetrust-banner-sdk")},t.prototype.updateConsentPaddingCMP=function(){if(this.banner){if("0"===this.banner.style.opacity)return Object(o.a)(this.body).remove("cookie-visible"),this.body.style.paddingBottom="0px",this.mainNav.style.bottom="0px",this.aniviewFloatAds&&(this.aniviewFloatAds.style.bottom="0px"),this.vidazooFloatAds&&(this.vidazooFloatAds.style.bottom="0px"),window.vidazooFloatAds&&(window.vidazooFloatAds.style.marginBottom="0px"),void(window.slideRiseAd&&(window.slideRiseAd.style.bottom="0px"));var t=this.banner.getBoundingClientRect().height;Object(o.a)(this.body).add("cookie-visible"),this.body.style.paddingBottom=t+"px",this.mainNav.style.bottom=t-1+"px",this.aniviewFloatAds&&(this.aniviewFloatAds.style.bottom=t+10+"px"),this.vidazooFloatAds&&(this.vidazooFloatAds.style.bottom=t+10+"px"),window.vidazooFloatAds&&(window.vidazooFloatAds.style.marginBottom=t+10+"px"),window.slideRiseAd&&(window.slideRiseAd.style.bottom=t+"px")}},t}();!function(t){t.about="about",t.functional="functional",t.analytics="analytics",t.advertising="advertising",t.info="info"}(r||(r={})),function(t){t.shown="shown",t.tab="tab"}(i||(i={}));var s=function(){function t(){this.shownSettings=!1,this.activeTab=r.about}return t.prototype.bindShownSettingsChanged=function(t){this.onShownSettingsChanged=t},t.prototype.bindActiveTabChanged=function(t){this.onActiveTabChanged=t},t.prototype.changeShownSettings=function(t){this.shownSettings=t,this.commit(i.shown)},t.prototype.changeActiveTab=function(t){this.activeTab=t,this.commit(i.tab)},t.prototype.commit=function(t){switch(t){case i.shown:this.onShownSettingsChanged(this.shownSettings);break;case i.tab:this.onActiveTabChanged(this.activeTab)}},t}(),c=n("6Ssv"),u="sdk_adw",l="sdk_analytics",d="sdk_confirm",f=n("KxHI"),h=n("Q/5a"),p=n("Vl5E"),v=function(){function t(){this.view=new a,this.model=new s,this.view.bindAcceptCookies(this.handleAcceptCookies.bind(this)),this.view.bindSaveCookies(this.handleSaveCookies.bind(this)),this.view.bindShowSettings(this.handleShowSettings.bind(this)),this.view.bindHideSettings(this.handleHideSettings.bind(this)),this.view.bindClickPolicyLink(this.handleClickPolicyLink.bind(this)),this.view.bindClickLinkTab(this.handleClickLinkTab.bind(this)),this.view.bindChangeDropdown(this.handleClickLinkTab.bind(this)),this.model.bindShownSettingsChanged(this.onShownSettingsChanged.bind(this)),this.model.bindActiveTabChanged(this.onActiveTabChanged.bind(this)),h.a.subscribe(f.f.removeCookiesPadding,this.view.removeCookieBannerPadding.bind(this.view)),h.a.subscribe(f.f.changeCookiesPadding,this.view.changeCookieBannerPadding.bind(this.view))}return t.prototype.onShownSettingsChanged=function(t){t?this.view.showSettings():this.view.hideSettings()},t.prototype.onActiveTabChanged=function(t){this.view.showTab(t)},t.prototype.handleClickLinkTab=function(t){this.model.changeActiveTab(t)},t.prototype.updateConsentHeight=function(){this.view.consent.classList.contains("hidden")||this.view.updateConsentPadding()},t.prototype.handleAcceptCookies=function(t){t.preventDefault(),Object(c.c)(u,"1",365),Object(c.c)(l,"1",365),Object(c.c)(d,"1",365),this.view.hideConsent(),Object(p.b)(!0,!0),window.location.reload()},t.prototype.handleSaveCookies=function(t){t.preventDefault();var e=this.view.sdkAdw,n=this.view.sdkAnalytics;Object(c.c)(u,Number(e).toString(),365),Object(c.c)(l,Number(n).toString(),365),Object(c.c)(d,"1",365),this.view.hideConsent(),Object(p.b)(n,e),window.location.reload()},t.prototype.handleClickPolicyLink=function(t){var e;t.preventDefault(),t.stopPropagation(),"#show-cookie-preferences"===t.target.hash?(null===(e=null===window||void 0===window?void 0:window.eb)||void 0===e?void 0:e.settings.use_cmp)&&window.OneTrust?window.OneTrust.ToggleInfoDisplay():this.model.changeShownSettings(!0):window.open(t.target.href,"_blank")},t.prototype.handleShowSettings=function(t){t.preventDefault(),this.model.changeShownSettings(!0)},t.prototype.handleHideSettings=function(t){t.preventDefault(),this.model.changeShownSettings(!1)},t.prototype.update=function(){var t=this;if(!this.cmpInit){this.cmpConsentString=window.OnetrustActiveGroups;var e=document.querySelector("#onetrust-consent-sdk #onetrust-policy-text");e&&(e.innerHTML=e.innerHTML.replace("below","above"),e.innerHTML=e.innerHTML.replace("Manage Preferences","Cookie Preferences")),window.__tcfapi("addEventListener",2,function(e){var n=JSON.stringify((null==e?void 0:e.purpose)||{});t.tcfApiInit||(window.tcfData=e,h.a.emit(f.f.initBannerAds,e)),t.tcfApiInit&&t.tcfApiConsent!==n&&window.location.reload(),t.tcfApiConsent=n,t.tcfApiInit=!0}),window.addEventListener("resize",this.view.updateConsentPaddingCMP.bind(this.view)),setTimeout(function(){t.view.getDynamicElements(),t.view.updateConsentPaddingCMP()},100),window.OneTrust.OnConsentChanged(function(){t.view.getDynamicElements(),t.view.updateConsentPaddingCMP();var e=window.OnetrustActiveGroups?window.OnetrustActiveGroups.split(",").filter(function(t){return!!t}):[];e.length&&(window.isShowPersonalAdv=e.includes(f.a.targeting),window.isShowAnalytics=e.includes(f.a.performance),Object(p.b)(e.includes(f.a.performance),e.includes(f.a.targeting))),window.OnetrustActiveGroups!==t.cmpConsentString&&window.location.reload(),t.cmpConsentString=window.OnetrustActiveGroups}),this.cmpInit=!0}},t}()},"8GlL":function(t,e,n){"use strict";var r=n("We1y"),i=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},"8YOa":function(t,e,n){var r=n("I+eb"),i=n("4zBA"),o=n("0BK2"),a=n("hh1v"),s=n("Gi26"),c=n("m/L8").f,u=n("JBy8"),l=n("BX/b"),d=n("T63f"),f=n("kOOl"),h=n("uy83"),p=!1,v=f("meta"),m=0,g=function(t){c(t,v,{value:{objectID:"O"+m++,weakData:{}}})},y=t.exports={enable:function(){y.enable=function(){},p=!0;var t=u.f,e=i([].splice),n={};n[v]=1,t(n).length&&(u.f=function(n){for(var r=t(n),i=0,o=r.length;i<o;i++)if(r[i]===v){e(r,i,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,v)){if(!d(t))return"F";if(!e)return"E";g(t)}return t[v].objectID},getWeakData:function(t,e){if(!s(t,v)){if(!d(t))return!0;if(!e)return!1;g(t)}return t[v].weakData},onFreeze:function(t){return h&&p&&d(t)&&!s(t,v)&&g(t),t}};o[v]=!0},"93I0":function(t,e,n){var r=n("VpIT"),i=n("kOOl"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},"94Xl":function(t,e,n){n("JiZb")("Array")},"9LPj":function(t,e,n){"use strict";var r=n("I+eb"),i=n("0Dky"),o=n("ewvW"),a=n("wE6v");r({target:"Date",proto:!0,forced:i(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})},{toJSON:function(t){var e=o(this),n=a(e,"number");return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},"9N29":function(t,e,n){"use strict";var r=n("I+eb"),i=n("1Y/n").right,o=n("pkCn"),a=n("LQDL"),s=n("YF1G");r({target:"Array",proto:!0,forced:!o("reduceRight")||!s&&a>79&&a<83},{reduceRight:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"9d/t":function(t,e,n){var r=n("2oRo"),i=n("AO7/"),o=n("Fib7"),a=n("xrYK"),s=n("tiKp")("toStringTag"),c=r.Object,u="Arguments"==a(function(){return arguments}());t.exports=i?a:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=c(t),s))?n:u?a(e):"Object"==(r=a(e))&&o(e.callee)?"Arguments":r}},A2ZE:function(t,e,n){var r=n("4zBA"),i=n("We1y"),o=n("QNWe"),a=r(r.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},"AO7/":function(t,e,n){var r={};r[n("tiKp")("toStringTag")]="z",t.exports="[object z]"===String(r)},AbTg:function(t,e){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}},t.exports=n},"B/qT":function(t,e,n){var r=n("UMSQ");t.exports=function(t){return r(t.length)}},B6y2:function(t,e,n){var r=n("I+eb"),i=n("b1O7").values;r({target:"Object",stat:!0},{values:function(t){return i(t)}})},BIHw:function(t,e,n){"use strict";var r=n("I+eb"),i=n("or9q"),o=n("ewvW"),a=n("B/qT"),s=n("WSbT"),c=n("ZfDv");r({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=o(this),n=a(e),r=c(e,0);return r.length=i(r,e,e,n,0,void 0===t?1:s(t)),r}})},BNF5:function(t,e,n){var r=n("NC/Y").match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},BQak:function(t,e,n){"use strict";n.d(e,"a",function(){return k});var r=n("6Ssv"),i=n("lPiR"),o=n.n(i),a=n("ZA8W"),s=n.n(a),c=n("qLbo"),u=n("KxHI"),l=n("5z3c"),d=n("J8vR"),f=n("Q/5a"),h=n("Vl5E"),p=n("kFz4"),v=function(){return(v=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},m=function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}c((r=r.apply(t,e||[])).next())})},g=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},y=function(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))},b={state:"",games:[]},w="show-timer",S="show-leaderboard",_=[[3,5],[10,15],[300,360]],k=function(){function t(t,e){var n,i,o,a,s=this;this.awards=e,this.domain=null===(i=null===(n=null===window||void 0===window?void 0:window.eb)||void 0===n?void 0:n.params)||void 0===i?void 0:i.tournamentHost,this.eaid=null===(a=null===(o=null===window||void 0===window?void 0:window.eb)||void 0===o?void 0:o.params)||void 0===a?void 0:a.eaid,this.euid=t,this.timezone=Math.min(Math.max(Math.floor((new Date).getTimezoneOffset()/-60),-12),12),this.isClickUpdate=Object(d.a)(document.body).contains("tournament-page"),this.storage=r.a&&JSON.parse(localStorage.getItem(c.b.TOURNAMENT))||b,this.leaderboardLoaded=!1,this.score=[],this.place=1,this.$body=document.querySelector("body"),this.$leaderboard=document.querySelector("#tournament-leaderboard"),this.$wrapper=document.querySelector(".tournament_body"),this.$days=document.querySelector(".tournament_timer .days"),this.$hours=document.querySelector(".tournament_timer .hours"),this.$minutes=document.querySelector(".tournament_timer .minutes"),this.$seconds=document.querySelector(".tournament_timer .seconds"),this.$timeToEnd=document.querySelectorAll(".time-to-end"),this.$headerLink=document.querySelector(".tournament_header-link"),this.$headerLinkWrapper=document.querySelector(".tournament-link"),this.$headerTimer=document.querySelector(".tournament_header-timer"),this.$gameWrapper=document.querySelector("#sudoku-wrapper"),this.$stats=document.querySelector(".tournament-stats"),this.$ts=document.querySelector("#tournament-ts"),this.$place=document.querySelector("#tournament-place"),this.$winPopup=document.querySelector(".tournament_popup"),this.$winPopupBtn=document.querySelector(".tournament_popup_btn"),this.$finishMedal=document.querySelector("#finish-medal"),this.$widget=document.querySelector(".tournament-stats_widget"),this.$finishMedal&&(this.$finishMedal.onload=function(){Object(d.a)(s.$finishMedal).add("active")}),f.a.subscribe(u.f.sendGameResult,this.sendGameResult.bind(this)),this.$winPopupBtn&&this.$winPopupBtn.addEventListener("click",function(){s.$winPopup&&(Object(d.a)(s.$body).remove("overflow"),Object(d.a)(s.$winPopup).remove("open"))}),this.loadData(),"visible"===document.visibilityState&&(this.updateInterval=setInterval(function(){s.loadData()},3e5)),document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState?s.updateInterval=setInterval(function(){s.loadData()},3e5):clearInterval(s.updateInterval)}),document.addEventListener("visibility-visible",function(){s.initByData()}),document.addEventListener("visibility-hidden",function(){clearInterval(s.interval)}),window.addEventListener("resize",this.resizeHandler.bind(this))}return t.prototype.resizeHandler=function(){this.$winPopup&&(!(window.deviceType!==u.c.phone&&window.matchMedia("(min-width: 768px)").matches)&&Object(d.a)(this.$winPopup).contains("open")?Object(d.a)(this.$body).add("overflow"):Object(d.a)(this.$body).remove("overflow"))},t.prototype.loadData=function(){var t=Date.now()/1e3;!this.storage.data&&!this.storage.errorUpdateTime||this.storage.updateTime&&t>=this.storage.updateTime||this.storage.errorUpdateTime&&t>=this.storage.errorUpdateTime||this.isClickUpdate&&(!this.storage.lastForceUpdate||t-this.storage.lastForceUpdate>10)?this.sync(this.isClickUpdate&&(!this.storage.lastForceUpdate||t-this.storage.lastForceUpdate>10)?"click":null):this.initByData()},t.prototype.sendGameResult=function(t){var e,n,r,i,o,a,s,c,u,l=t.game,f=t.event;return m(this,void 0,void 0,function(){var t;return g(this,function(v){switch(v.label){case 0:return this.$widget&&Object(d.a)(this.$widget).remove("triangle-bottom").remove("triangle-top"),this.$stats&&Object(d.a)(this.$stats).remove("active"),t=this.place,this.storage.games=y(y([],this.storage.games,!0),[l],!1),[4,this.sync("game")];case 1:return v.sent()||this.saveCurrentConfig(),"running"!==(null===(n=null===(e=this.storage.data)||void 0===e?void 0:e.tournament)||void 0===n?void 0:n.status)&&(Object(h.a)("g_game_finish",f),p.a.send("g_game_finish",f,!0)),this.$stats&&"running"===(null===(i=null===(r=this.storage.data)||void 0===r?void 0:r.tournament)||void 0===i?void 0:i.status)&&!(null===(s=null===(a=null===(o=this.storage.data)||void 0===o?void 0:o.tournament)||void 0===a?void 0:a.info)||void 0===s?void 0:s.is_silent)&&(Object(d.a)(this.$stats).add("active"),this.$ts&&(this.$ts.innerText=String(this.score.find(function(t){return t.p}).ts)),this.$place&&(this.$place.innerText=String(this.place)),t!==this.place&&this.$widget&&Object(d.a)(this.$widget).add(t>this.place?"triangle-top":"triangle-bottom")),this.calculateUserData(),f.place=this.place,"running"===(null===(u=null===(c=this.storage.data)||void 0===c?void 0:c.tournament)||void 0===u?void 0:u.status)&&(Object(h.a)("g_game_finish",f),p.a.send("g_game_finish",f,!0)),[2]}})})},t.prototype.renderTimers=function(){var t,e=this.timer<0?0:this.timer,n=null===(t=this.storage.data)||void 0===t?void 0:t.tournament,r=(n.info,n.status),i=Object(l.i)(e);if("running"===r){var o="";o=0===i.d&&0===i.h?(window.translations.tournamentsMinutesTimer||"{minutes}m {seconds}s").replace("{minutes}",("0"+i.m).slice(-2).split("").map(function(t){return"<span>"+t+"</span>"}).join("")).replace("{seconds}",("0"+i.s).slice(-2).split("").map(function(t){return"<span>"+t+"</span>"}).join("")):0===i.d&&i.h>0?(window.translations.tournamentsHoursTimer||"{hours}h {minutes}m").replace("{hours}",("0"+i.h).slice(-2).split("").map(function(t){return"<span>"+t+"</span>"}).join("")).replace("{minutes}",("0"+i.m).slice(-2).split("").map(function(t){return"<span>"+t+"</span>"}).join("")):(window.translations.tournamentsDaysTimer||"{days}d {hours}h").replace("{days}",("0"+i.d).slice(-2).split("").map(function(t){return"<span>"+t+"</span>"}).join("")).replace("{hours}",("0"+i.h).slice(-2).split("").map(function(t){return"<span>"+t+"</span>"}).join("")),this.$timeToEnd.forEach(function(t){return t.innerHTML=o}),this.$headerTimer&&(this.$headerTimer.innerHTML=o)}else this.$days&&(this.$days.innerHTML=("0"+i.d).slice(-2).split("").map(function(t){return"<span>"+t+"</span>"}).join("")),this.$hours&&(this.$hours.innerHTML=("0"+i.h).slice(-2).split("").map(function(t){return"<span>"+t+"</span>"}).join("")),this.$minutes&&(this.$minutes.innerHTML=("0"+i.m).slice(-2).split("").map(function(t){return"<span>"+t+"</span>"}).join("")),this.$seconds&&(this.$seconds.innerHTML=("0"+i.s).slice(-2).split("").map(function(t){return"<span>"+t+"</span>"}).join(""))},t.prototype.startTimer=function(){var t=this;clearInterval(this.interval),this.renderTimers(),this.interval=setInterval(function(){t.timer>0&&t.timer--,t.renderTimers(),t.timer<=0&&(clearInterval(t.interval),t.sync())},1e3)},t.prototype.showLeaderBoard=function(){var t,e=this;if(this.$wrapper&&(Object(d.a)(this.$wrapper).remove(w).add(S),(null===(t=this.storage.data)||void 0===t?void 0:t.tournament)&&this.$leaderboard&&this.score.length&&(this.$leaderboard.innerHTML="",this.score.forEach(function(t,n){var r=document.createElement("div");Object(d.a)(r).add("leaderboard-item_index"),r.innerText=String(n+1);var i=document.createElement("div");Object(d.a)(i).add("leaderboard-item"),i.appendChild(r),t.p&&Object(d.a)(i).add("me");var o=document.createElement("div");Object(d.a)(o).add("leaderboard-item_score"),o.innerHTML='<div class="leaderboard-item_score_name">'+(t.p?"ME":t.u)+'</div> <div class="leaderboard-item_score_val">'+t.ts+"</div>",i.appendChild(o),e.$leaderboard.append(i)}),!this.leaderboardLoaded))){var n=this.$leaderboard.querySelector(".leaderboard-item.me");n&&this.place>5&&(this.$leaderboard.scrollTop=n.offsetTop-45<0?0:n.offsetTop-45),this.leaderboardLoaded=!0}},t.prototype.calculateUserData=function(){var t,e;if(null===(t=this.storage.data)||void 0===t?void 0:t.tournament){var n=null===(e=this.storage.data)||void 0===e?void 0:e.tournament,r=n.scores;"running"===n.status?(this.score=r.sort(function(t,e){return e.ts-t.ts}),this.place=this.score.findIndex(function(t){return t.p})+1):(this.score=[],this.place=1)}},t.prototype.initByData=function(){var t,e,n,r,i,o,a,s,c,l,f,v,y,b;return m(this,void 0,void 0,function(){var m,_,k,x,E,O,T,I,A,C,j,R,L,M,B,P;return g(this,function(g){switch(g.label){case 0:return this.$headerLink&&(Object(d.a)(this.$headerLink).remove("showed"),Object(d.a)(this.$headerLinkWrapper).remove("showed")),null!==(t=this.storage.data)&&void 0!==t&&t.tournament_result&&"completed"===(null===(n=null===(e=this.storage.data)||void 0===e?void 0:e.tournament_result)||void 0===n?void 0:n.status)?(m=null===(r=this.storage.data)||void 0===r?void 0:r.tournament_result,_=m.scores,k=m.uuid,x=m.achievements,E=_.sort(function(t,e){return e.ts-t.ts}),O=E.findIndex(function(t){return t.p})+1,T=E[O-1].ts,I=x&&x.length?x[0]:null,this.$finishMedal&&(Object(d.a)(this.$finishMedal).remove("win-medal").remove("active"),this.$finishMedal.removeAttribute("src"),this.$finishMedal.removeAttribute("srcset")),I&&I.award&&!I.is_silent?(this.awards.addAward(I.award,Math.floor(Date.now()/1e3)),[4,this.awards.getAwards()]):[3,2]):[3,4];case 1:return A=g.sent(),C=null===(i=A.find(function(t){return t.award_id===I.award}))||void 0===i?void 0:i.url,this.$finishMedal&&(C&&Object(d.a)(this.$finishMedal).add("win-medal"),this.$finishMedal.setAttribute("src",C||"/img/img-tournament-completed.png"),this.$finishMedal.setAttribute("srcset",C?C+" 1x, "+C+" 2x":"/img/img-tournament-completed.png 1x, /img/img-tournament-completed@2x.png 2x")),(null===(a=null===(o=this.storage.data)||void 0===o?void 0:o.tournament_result)||void 0===a?void 0:a.is_silent)||(null===(s=this.storage.data)||void 0===s?void 0:s.tournament_result.sent)||window.notification.add("tournaments"),[3,3];case 2:this.$finishMedal&&(this.$finishMedal.setAttribute("src","/img/img-tournament-completed.png"),this.$finishMedal.setAttribute("srcset","/img/img-tournament-completed.png 1x, /img/img-tournament-completed@2x.png 2x")),g.label=3;case 3:(null===(c=this.storage.data)||void 0===c?void 0:c.tournament_result.sent)||(j={id:k,place:O,points:T,award:x&&x.length?x[0].medal:""},window.isShowAnalytics&&(Object(h.a)("tournaments_finish",j),p.a.send("tournaments_finish",j)),this.storage.data.tournament_result.sent=!0,this.saveCurrentConfig()),!this.$winPopup||(null===(f=null===(l=this.storage.data)||void 0===l?void 0:l.tournament_result)||void 0===f?void 0:f.is_silent)||(null===(v=this.storage.data)||void 0===v?void 0:v.tournament_result.showed)||(window.deviceType!==u.c.phone&&window.matchMedia("(min-width: 768px)").matches||Object(d.a)(this.$body).add("overflow"),Object(d.a)(this.$winPopup).add(x&&x.length?"show-win-text":"show-lose-text").add("open"),this.storage.data.tournament_result.showed=!0,this.saveCurrentConfig()),g.label=4;case 4:return this.$gameWrapper&&Object(d.a)(this.$gameWrapper).add("wide-winscreen"),(null===(y=this.storage.data)||void 0===y?void 0:y.tournament)?(this.calculateUserData(),R=null===(b=this.storage.data)||void 0===b?void 0:b.tournament,L=R.info,M=R.status,B=R.inited,P=R.uuid,this.timer=("running"!==M?L.start_time:L.end_time)-Date.now()/1e3,this.startTimer(),"running"===M?(this.$headerLink&&Object(d.a)(this.$headerLink).add("showed"),this.$headerTimer&&Object(d.a)(this.$headerLinkWrapper).add("showed"),this.showLeaderBoard()):this.$wrapper&&Object(d.a)(this.$wrapper).remove(S).add(w),this.$wrapper&&Object(d.a)(this.$wrapper).remove("loading"),!B&&window.isShowAnalytics&&"running"===M&&(Object(h.a)("tournaments_new",{id:P}),p.a.send("tournaments_new",{id:P}),this.storage.data.tournament.inited=!0,this.saveCurrentConfig()),[2]):[2]}})})},t.prototype.saveCurrentConfig=function(){r.a&&localStorage.setItem(c.b.TOURNAMENT,JSON.stringify(this.storage))},t.prototype.sync=function(t){var e,n,r,i,a,c,u,f,h,p,y,b,w,S,k,x,E,O,T,I,A,C,j,R,L,M,B,P,D,N,G,H,q,F,U,W,z,$,V,Y;return m(this,void 0,void 0,function(){var m,J,K,X,Z,Q,tt,et,nt,rt,it,ot,at,st,ct,ut,lt,dt,ft;return g(this,function(g){switch(g.label){case 0:if(!this.euid||!this.domain||!this.eaid)return[2];this.$wrapper&&Object(d.a)(this.$wrapper).add("loading"),m=Date.now()/1e3,this.storage.lastForceUpdate=m,this.saveCurrentConfig(),J=JSON.stringify(v(v({},this.timezone!==(null===(e=this.storage)||void 0===e?void 0:e.timezone)?{timezone:this.timezone}:{}),this.storage.games&&this.storage.games.length?{games:this.storage.games}:{})),K=o()(""+this.storage.state+J+this.euid+"D00-EJH@*(N3sd"+this.eaid),"string"!=typeof(X=K)&&(X=K.toString(s.a)),t&&(this.isClickUpdate=!1),Z=this.storage.games&&this.storage.games.length?"game":null,Q=t||Z,tt=window.abGroups||{},et=Object.values(tt).join(","),g.label=1;case 1:return g.trys.push([1,4,,5]),[4,fetch(this.domain+"/2.0",{method:"POST",headers:v(v({"x-easy-eaid":String(this.eaid),"x-easy-euid":String(this.euid),"x-easy-hash":X,"x-easy-state":this.storage.state,"Content-Type":"application/json","Accept-Encoding":"gzip, deflate","x-easy-version":"1.0.0"},et?{"x-easy-ab":et}:{}),Q?{"x-easy-action":Q}:{}),body:J})];case 2:return nt=g.sent(),[0,502,504].includes(nt.status)?(this.storage.countErrors=(null!==(n=this.storage.countErrors)&&void 0!==n?n:0)+1,rt=_[Math.min(this.storage.countErrors-1,_.length-1)],this.storage.errorUpdateTime=Date.now()/1e3+60*Object(l.r)(rt[0],rt[1]),this.initByData(),this.saveCurrentConfig(),[2,null]):[4,nt.json()];case 3:return it=g.sent(),ot=Date.now()/1e3,at=parseInt(nt.headers.get("x-easy-time"))||ot,st=parseInt(nt.headers.get("x-easy-update-time"))||ot+60*Object(l.r)(300,360),delete this.storage.errorUpdateTime,delete this.storage.countErrors,this.storage.state=null!==(r=nt.headers.get("x-easy-state"))&&void 0!==r?r:"",this.storage.timezone=this.timezone,this.storage.updateTime=Date.now()+(st-at),ct=(!it.tournament_result||"completed"!==it.tournament_result.status||(null===(i=it.tournament_result)||void 0===i?void 0:i.uuid)===(null===(c=null===(a=this.storage.data)||void 0===a?void 0:a.tournament_result)||void 0===c?void 0:c.uuid))&&(null===(f=null===(u=this.storage.data)||void 0===u?void 0:u.tournament_result)||void 0===f?void 0:f.sent),ut=(!it.tournament_result||(null===(h=it.tournament_result)||void 0===h?void 0:h.uuid)===(null===(y=null===(p=this.storage.data)||void 0===p?void 0:p.tournament_result)||void 0===y?void 0:y.uuid))&&(null===(w=null===(b=this.storage.data)||void 0===b?void 0:b.tournament_result)||void 0===w?void 0:w.showed),lt=(!it.tournament||(null===(S=it.tournament)||void 0===S?void 0:S.uuid)===(null===(x=null===(k=this.storage.data)||void 0===k?void 0:k.tournament)||void 0===x?void 0:x.uuid))&&(null===(O=null===(E=this.storage.data)||void 0===E?void 0:E.tournament)||void 0===O?void 0:O.inited),dt=!(!it.tournament_result||(null===(I=null===(T=this.storage.data)||void 0===T?void 0:T.tournament)||void 0===I?void 0:I.uuid)!==(null===(A=it.tournament_result)||void 0===A?void 0:A.uuid))&&(null===(R=null===(j=null===(C=this.storage.data)||void 0===C?void 0:C.tournament)||void 0===j?void 0:j.info)||void 0===R?void 0:R.is_silent),this.storage.data=v(v({username:null!==(L=it.username||this.storage.data.username)&&void 0!==L?L:"",achievements:it.achievements||this.storage.data.achievements||[],application:it.application||this.storage.data.application||{}},it.tournament||(null===(M=this.storage.data)||void 0===M?void 0:M.tournament)?{tournament:v(v(v({},(null===(B=this.storage.data)||void 0===B?void 0:B.tournament)||{}),it.tournament||{}),{info:v(v({},(null===(D=null===(P=this.storage.data)||void 0===P?void 0:P.tournament)||void 0===D?void 0:D.info)||{}),(null===(N=it.tournament)||void 0===N?void 0:N.info)||{}),inited:lt})}:{}),it.tournament_result||(null===(G=this.storage.data)||void 0===G?void 0:G.tournament_result)?{tournament_result:v(v(v({},(null===(H=this.storage.data)||void 0===H?void 0:H.tournament_result)||{}),it.tournament_result||{}),{sent:ct,showed:ut,achievements:(null===(q=it.tournament_result)||void 0===q?void 0:q.achievements)?null===(F=it.tournament_result)||void 0===F?void 0:F.achievements:null,is_silent:dt})}:{}),this.storage.games=[],this.storage.lastForceUpdate=ot,!it.tournament&&(null===(W=null===(U=this.storage.data)||void 0===U?void 0:U.tournament_result)||void 0===W?void 0:W.uuid)&&(null===($=null===(z=this.storage.data)||void 0===z?void 0:z.tournament_result)||void 0===$?void 0:$.uuid)===(null===(Y=null===(V=this.storage.data)||void 0===V?void 0:V.tournament)||void 0===Y?void 0:Y.uuid)&&delete this.storage.data.tournament,this.saveCurrentConfig(),this.initByData(),[2,!0];case 4:return ft=g.sent(),console.warn(ft),[2,null];case 5:return[2]}})})},t}()},BTho:function(t,e,n){"use strict";var r=n("2oRo"),i=n("4zBA"),o=n("We1y"),a=n("hh1v"),s=n("Gi26"),c=n("82ph"),u=n("QNWe"),l=r.Function,d=i([].concat),f=i([].join),h={};t.exports=u?l.bind:function(t){var e=o(this),n=e.prototype,r=c(arguments,1),i=function(){var n=d(r,c(arguments));return this instanceof i?function(t,e,n){if(!s(h,e)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";h[e]=l("C,a","return new C("+f(r,",")+")")}return h[e](t,n)}(e,n.length,n):e.apply(t,n)};return a(n)&&(i.prototype=n),i}},"BX/b":function(t,e,n){var r=n("xrYK"),i=n("/GqU"),o=n("JBy8").f,a=n("Ta7t"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"==r(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},Bs8V:function(t,e,n){var r=n("g6v/"),i=n("xluM"),o=n("0eef"),a=n("XGwC"),s=n("/GqU"),c=n("oEtG"),u=n("Gi26"),l=n("DPsx"),d=Object.getOwnPropertyDescriptor;e.f=r?d:function(t,e){if(t=s(t),e=c(e),l)try{return d(t,e)}catch(t){}if(u(t,e))return a(!i(o.f,t,e),t[e])}},C0Ia:function(t,e,n){var r=n("2oRo"),i=n("6LWA"),o=n("aO6C"),a=n("hh1v"),s=n("tiKp")("species"),c=r.Array;t.exports=function(t){var e;return i(t)&&(e=t.constructor,o(e)&&(e===c||i(e.prototype))?e=void 0:a(e)&&null===(e=e[s])&&(e=void 0)),void 0===e?c:e}},"CQ/T":function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("kFz4"),i=n("Vl5E"),o=n("KxHI"),a={NATIVE_IMPRESSION:"ad_native_impression",NATIVE_FAIL:"ad_native_failed",NATIVE_CLOSED:"ad_native_closed",NATIVE_READY:"ad_native_cached",NATIVE_REQUEST:"ad_native_request"},s=(n("EVBy"),function(){return(s=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)}),c="6612b6ee7dfbffe42f66d90b",u=function(){return function(){var t,e,n,u=this,l=(null===(n=null===(e=null===(t=null===window||void 0===window?void 0:window.eb)||void 0===t?void 0:t.userProfile)||void 0===e?void 0:e.device)||void 0===n?void 0:n.type)!==o.c.desktop;this.baseEventData={placement:l?"under_game":"flying_down",service_name:o.l.vidazoo},this.countAdRequests=0,window.onVidazooWidgetCreated=function(t){t.on("adImpression",function(t,e){var n,o=s({ad_serving_fee:e.adServingFee,demand_type:e.demandType,net_cpm:e.netCpm,ad_type:e.adType,bidder_code:e.bidderCode,tag_id:e.tagId,demand_partner_id:e.demandPartnerId,widget_id:c},u.baseEventData);Object(i.a)(a.NATIVE_IMPRESSION,o),r.a.send(a.NATIVE_IMPRESSION,o),u.countAdRequests=0,window.vidazooFloatAds=document.querySelector('[data-view="slider"]'),window.cookieBanner&&((null===(n=null===window||void 0===window?void 0:window.eb)||void 0===n?void 0:n.settings.use_cmp)?window.cookieBanner.view.updateConsentPaddingCMP():window.cookieBanner.updateConsentHeight())}),t.on("closeClick",function(){Object(i.a)(a.NATIVE_CLOSED,u.baseEventData),r.a.send(a.NATIVE_CLOSED,u.baseEventData)}),t.on("adFinish",function(){Object(i.a)(a.NATIVE_CLOSED,u.baseEventData),r.a.send(a.NATIVE_CLOSED,u.baseEventData)}),t.on("adRequest",function(){var t;0!==u.countAdRequests&&u.countAdRequests%25!=0||(Object(i.a)(a.NATIVE_REQUEST,u.baseEventData),r.a.send(a.NATIVE_REQUEST,u.baseEventData),window.vidazooFloatAds=document.querySelector('[data-view="slider"]'),window.cookieBanner&&((null===(t=null===window||void 0===window?void 0:window.eb)||void 0===t?void 0:t.settings.use_cmp)?window.cookieBanner.view.updateConsentPaddingCMP():window.cookieBanner.updateConsentHeight())),u.countAdRequests++}),t.on("adError",function(){Object(i.a)(a.NATIVE_FAIL,u.baseEventData),r.a.send(a.NATIVE_FAIL,u.baseEventData)})}}}()},CyXQ:function(t,e,n){var r=n("2oRo"),i=n("WSbT"),o=n("UMSQ"),a=r.RangeError;t.exports=function(t){if(void 0===t)return 0;var e=i(t),n=o(e);if(e!==n)throw a("Wrong length or index");return n}},DEfu:function(t,e,n){var r=n("2oRo");n("1E5z")(r.JSON,"JSON",!0)},DLK6:function(t,e,n){var r=n("4zBA"),i=n("ewvW"),o=Math.floor,a=r("".charAt),s=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,d,f){var h=n+t.length,p=r.length,v=l;return void 0!==d&&(d=i(d),v=u),s(f,v,function(i,s){var u;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return c(e,0,n);case"'":return c(e,h);case"<":u=d[c(s,1,-1)];break;default:var l=+s;if(0===l)return i;if(l>p){var f=o(l/10);return 0===f?i:f<=p?void 0===r[f-1]?a(s,1):r[f-1]+a(s,1):i}u=r[l-1]}return void 0===u?"":u})}},DMt2:function(t,e,n){var r=n("4zBA"),i=n("UMSQ"),o=n("V37c"),a=n("EUja"),s=n("HYAF"),c=r(a),u=r("".slice),l=Math.ceil,d=function(t){return function(e,n,r){var a,d,f=o(s(e)),h=i(n),p=f.length,v=void 0===r?" ":o(r);return h<=p||""==v?f:((d=c(v,l((a=h-p)/v.length))).length>a&&(d=u(d,0,a)),t?f+d:d+f)}};t.exports={start:d(!1),end:d(!0)}},DPsx:function(t,e,n){var r=n("g6v/"),i=n("0Dky"),o=n("zBJ4");t.exports=!r&&!i(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},DTth:function(t,e,n){var r=n("0Dky"),i=n("tiKp"),o=n("xDBR"),a=i("iterator");t.exports=!r(function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach(function(t,r){e.delete("b"),n+=r+t}),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://теÑÑ‚").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})},DVFp:function(t,e,n){var r=n("2oRo").String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},DWIp:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("6Ssv"),i=n("qLbo"),o=function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}c((r=r.apply(t,e||[])).next())})},a=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},s=function(){function t(t){var e,n,o,a;this.domain=null===(n=null===(e=null===window||void 0===window?void 0:window.eb)||void 0===e?void 0:e.params)||void 0===n?void 0:n.awardsHost,this.eaid=null===(a=null===(o=null===window||void 0===window?void 0:window.eb)||void 0===o?void 0:o.params)||void 0===a?void 0:a.eaid,this.euid=t,this.awardList=r.a&&JSON.parse(localStorage.getItem(i.b.TOURNAMENT_AWARDS))||{awards:[]}}return t.prototype.addAward=function(t,e){return o(this,void 0,Promise,function(){return a(this,function(n){return r.a?(this.awardList.awards.some(function(e){return e.award_id===t})||(this.awardList.awards.push({award_id:t,claimed_at:e}),localStorage.setItem(i.b.TOURNAMENT_AWARDS,JSON.stringify(this.awardList))),[2]):[2]})})},t.prototype.getAwards=function(){return o(this,void 0,Promise,function(){var t,e,n,o,s,c=this;return a(this,function(a){switch(a.label){case 0:if(!this.domain||!this.eaid||!r.a)return[2,this.resultAwards()];if(t={"x-easy-eaid":String(this.eaid),"Content-Type":"application/json"},null!==this.euid&&(t["x-easy-euid"]=this.euid),0===(e=this.awardList.awards.filter(function(t){return!t.res}).map(function(t){return t.award_id})).length)return[2,this.resultAwards()];n=JSON.stringify({content:e}),a.label=1;case 1:return a.trys.push([1,4,,5]),[4,fetch(this.domain+"/api/v1/awards",{method:"POST",headers:t,body:n})];case 2:return[4,a.sent().json()];case 3:return o=a.sent(),console.log("AS resp: ",o),this.awardList.cdn=o.cdn[0],o.content.forEach(function(t){c.awardList.awards.forEach(function(e){e.award_id===t.meta.award_id&&(e.res=t.res)})}),o.content.length&&localStorage.setItem(i.b.TOURNAMENT_AWARDS,JSON.stringify(this.awardList)),[3,5];case 4:return s=a.sent(),console.warn("awards api",s),[3,5];case 5:return[2,this.resultAwards()]}})})},t.prototype.resultAwards=function(){var t=this;return this.awardList.cdn?this.awardList.awards.filter(function(t){return t.res&&t.claimed_at}).map(function(e){return{url:t.awardList.cdn+e.res+"/thumbnail",claimed_at:e.claimed_at,award_id:e.award_id}}):[]},t}()},E9XD:function(t,e,n){"use strict";var r=n("I+eb"),i=n("1Y/n").left,o=n("pkCn"),a=n("LQDL"),s=n("YF1G");r({target:"Array",proto:!0,forced:!o("reduce")||!s&&a>79&&a<83},{reduce:function(t){var e=arguments.length;return i(this,t,e,e>1?arguments[1]:void 0)}})},EHx7:function(t,e,n){var r=n("0Dky"),i=n("2oRo").RegExp;t.exports=r(function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})},ELuu:function(t,e,n){"use strict";var r,i,o;n.d(e,"e",function(){return r}),n.d(e,"a",function(){return i}),n.d(e,"d",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return s}),function(t){t.setSettings="setSettings",t.setAutoCheck="setAutoCheck",t.prepareBoard="prepareBoard",t.hideMessageTip="hideMessageTip",t.updateBoard="updateBoard",t.setSelected="setSelected",t.hideMessage="hideMessage",t.setGameLoaded="setGameLoaded",t.setShowWinRate="setShowWinRate",t.setBoardValue="setBoardValue",t.setBoardNote="setBoardNote",t.setBoardValues="setBoardValues",t.setBoardNotes="setBoardNotes",t.validateBoard="validateBoard",t.setCoords="setCoords",t.setNotesMode="setNotesMode",t.removeConflictNotes="removeConflictNotes",t.addUserAction="addUserAction",t.addHistoryAction="addHistoryAction",t.setUserAction="setUserAction",t.setHistoryActions="setHistoryActions",t.setCurrentCellNotes="setCurrentCellNotes",t.setPaused="setPaused",t.setGeneratedCages="setGeneratedCages",t.animateBoard="animateBoard",t.setFinished="setFinished",t.setAnimatedCells="setAnimatedCells",t.prepareEvent="prepareEvent",t.setDifficulty="setDifficulty",t.setMode="setMode",t.checkSavedGame="checkSavedGame",t.setHideSavedGameDialog="setHideSavedGameDialog",t.updateTimer="updateTimer",t.cheatSolve="cheatSolve",t.setShowMonthWinScreen="setShowMonthWinScreen",t.setShowSavedPopup="setShowSavedPopup",t.requestNewContent="requestNewContent",t.restartGame="restartGame",t.setAutoPaused="setAutoPaused",t.setImaAdsPlayed="setImaAdsPlayed",t.updateCountHints="updateCountHints",t.addFreeHints="addFreeHints",t.useHint="useHint",t.addMistake="addMistake",t.minusMistake="minusMistake",t.changeShowGameOver="changeShowGameOver",t.setGameOver="setGameOver",t.makeHint="makeHint",t.setHideLostProgress="setHideLostProgress",t.setShowPopupLostProgress="setShowPopupLostProgress",t.setShowPromoBubbles="setShowPromoBubbles",t.setPromoBubbles="setPromoBubbles",t.makeHintToCell="makeHintToCell",t.changeSmartHint="changeSmartHint",t.changeCountSmartHints="changeCountSmartHints",t.updateCountWins="updateCountWins",t.showInterInProgressByHint="showInterInProgressByHint",t.changeCanShowInter="changeCanShowInter",t.clearAll="clearAll",t.increaseUndos="increaseUndos",t.increaseMistakes="increaseMistakes",t.increaseErases="increaseErases",t.addScore="addScore",t.addScoreHistoryItem="addScoreHistoryItem",t.updateScoreBaseValue="updateScoreBaseValue"}(r||(r={})),function(t){t.undo="undo",t.move="move",t.select="select",t.note="note",t.value="value",t.hint="hint",t.erase="erase"}(i||(i={})),function(t){t.resting="resting",t.action="action",t.mutation="mutation"}(o||(o={}));var a={COUNT_HINTS:3,COUNT_MISTAKES:3},s={easy:{base:50,min:5,step:5,time:5},medium:{base:150,min:15,step:15,time:5},hard:{base:210,min:21,step:21,time:5},expert:{base:230,min:23,step:23,time:5},evil:{base:250,min:25,step:25,time:5},extreme:{base:250,min:25,step:25,time:5}}},ENF9:function(t,e,n){"use strict";var r,i=n("2oRo"),o=n("4zBA"),a=n("4syw"),s=n("8YOa"),c=n("bWFh"),u=n("rKzb"),l=n("hh1v"),d=n("T63f"),f=n("afO8").enforce,h=n("f5p1"),p=!i.ActiveXObject&&"ActiveXObject"in i,v=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},m=c("WeakMap",v,u);if(h&&p){r=u.getConstructor(v,"WeakMap",!0),s.enable();var g=m.prototype,y=o(g.delete),b=o(g.has),w=o(g.get),S=o(g.set);a(g,{delete:function(t){if(l(t)&&!d(t)){var e=f(this);return e.frozen||(e.frozen=new r),y(this,t)||e.frozen.delete(t)}return y(this,t)},has:function(t){if(l(t)&&!d(t)){var e=f(this);return e.frozen||(e.frozen=new r),b(this,t)||e.frozen.has(t)}return b(this,t)},get:function(t){if(l(t)&&!d(t)){var e=f(this);return e.frozen||(e.frozen=new r),b(this,t)?w(this,t):e.frozen.get(t)}return w(this,t)},set:function(t,e){if(l(t)&&!d(t)){var n=f(this);n.frozen||(n.frozen=new r),b(this,t)?S(this,t,e):n.frozen.set(t,e)}else S(this,t,e);return this}})}},EUja:function(t,e,n){"use strict";var r=n("2oRo"),i=n("WSbT"),o=n("V37c"),a=n("HYAF"),s=r.RangeError;t.exports=function(t){var e=o(a(this)),n="",r=i(t);if(r<0||r==1/0)throw s("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}},EVBy:function(t,e,n){},EnZy:function(t,e,n){"use strict";var r=n("K6Rb"),i=n("xluM"),o=n("4zBA"),a=n("14Sl"),s=n("ROdP"),c=n("glrk"),u=n("HYAF"),l=n("SEBh"),d=n("iqWW"),f=n("UMSQ"),h=n("V37c"),p=n("3Eq5"),v=n("Ta7t"),m=n("FMNM"),g=n("kmMV"),y=n("n3/R"),b=n("0Dky"),w=y.UNSUPPORTED_Y,S=Math.min,_=[].push,k=o(/./.exec),x=o(_),E=o("".slice);a("split",function(t,e,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var o=h(u(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===t)return[o];if(!s(t))return i(e,o,t,a);for(var c,l,d,f=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),m=0,y=new RegExp(t.source,p+"g");(c=i(g,y,o))&&!((l=y.lastIndex)>m&&(x(f,E(o,m,c.index)),c.length>1&&c.index<o.length&&r(_,f,v(c,1)),d=c[0].length,m=l,f.length>=a));)y.lastIndex===c.index&&y.lastIndex++;return m===o.length?!d&&k(y,"")||x(f,""):x(f,E(o,m)),f.length>a?v(f,0,a):f}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:i(e,this,t,n)}:e,[function(e,n){var r=u(this),a=null==e?void 0:p(e,t);return a?i(a,e,r,n):i(o,h(r),e,n)},function(t,r){var i=c(this),a=h(t),s=n(o,i,a,r,o!==e);if(s.done)return s.value;var u=l(i,RegExp),p=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(w?"g":"y"),g=new u(w?"^(?:"+i.source+")":i,v),y=void 0===r?4294967295:r>>>0;if(0===y)return[];if(0===a.length)return null===m(g,a)?[a]:[];for(var b=0,_=0,k=[];_<a.length;){g.lastIndex=w?0:_;var O,T=m(g,w?E(a,_):a);if(null===T||(O=S(f(g.lastIndex+(w?_:0)),a.length))===b)_=d(a,_,p);else{if(x(k,E(a,b,_)),k.length===y)return k;for(var I=1;I<=T.length-1;I++)if(x(k,T[I]),k.length===y)return k;_=b=O}}return x(k,E(a,b)),k}]},!!b(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),w)},Ep9I:function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},"Ew+T":function(t,e,n){var r=n("I+eb"),i=n("2oRo"),o=n("LPSS");r({global:!0,bind:!0,enumerable:!0,forced:!i.setImmediate||!i.clearImmediate},{setImmediate:o.set,clearImmediate:o.clear})},F8JR:function(t,e,n){"use strict";var r=n("tycR").forEach,i=n("pkCn")("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},FDzp:function(t,e,n){n("dOgj")("Int32",function(t){return function(e,n,r){return t(this,e,n,r)}})},FEiF:function(t,e,n){var r=n("37lR"),i=n("trfz");t.exports=function(t,e){return r(i(t),e)}},FF6l:function(t,e,n){"use strict";var r=n("ewvW"),i=n("I8vh"),o=n("B/qT"),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),s=o(n),c=i(t,s),u=i(e,s),l=arguments.length>2?arguments[2]:void 0,d=a((void 0===l?s:i(l,s))-u,s-c),f=1;for(u<c&&c<u+d&&(f=-1,u+=d-1,c+=d-1);d-->0;)u in n?n[c]=n[u]:delete n[c],c+=f,u+=f;return n}},FMNM:function(t,e,n){var r=n("2oRo"),i=n("xluM"),o=n("glrk"),a=n("Fib7"),s=n("xrYK"),c=n("kmMV"),u=r.TypeError;t.exports=function(t,e){var n=t.exec;if(a(n)){var r=i(n,t,e);return null!==r&&o(r),r}if("RegExp"===s(t))return i(c,t,e);throw u("RegExp#exec called on incompatible receiver")}},FZtP:function(t,e,n){var r=n("2oRo"),i=n("/byt"),o=n("eFrH"),a=n("F8JR"),s=n("kRJp"),c=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var u in i)i[u]&&c(r[u]&&r[u].prototype);c(o)},Fib7:function(t,e){t.exports=function(t){return"function"==typeof t}},"G+Rx":function(t,e,n){var r=n("0GbY");t.exports=r("document","documentElement")},"G/JM":function(t,e,n){n("I+eb")({target:"Reflect",stat:!0},{ownKeys:n("Vu81")})},GC2F:function(t,e,n){var r=n("2oRo"),i=n("+M1K"),o=r.RangeError;t.exports=function(t,e){var n=i(t);if(n%e)throw o("Wrong offset");return n}},GXvd:function(t,e,n){n("dG/n")("species")},GarU:function(t,e,n){var r=n("2oRo"),i=n("OpvP"),o=r.TypeError;t.exports=function(t,e){if(i(e,t))return t;throw o("Incorrect invocation")}},Gi26:function(t,e,n){var r=n("4zBA"),i=n("ewvW"),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},"H+LF":function(t,e,n){"use strict";n("bWFh")("WeakSet",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},n("rKzb"))},HH4o:function(t,e,n){var r=n("tiKp")("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},HNyW:function(t,e,n){var r=n("NC/Y");t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},HYAF:function(t,e,n){var r=n("2oRo").TypeError;t.exports=function(t){if(null==t)throw r("Can't call method on "+t);return t}},Hd5f:function(t,e,n){var r=n("0Dky"),i=n("tiKp"),o=n("LQDL"),a=i("species");t.exports=function(t){return o>=51||!r(function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},HiXI:function(t,e,n){"use strict";var r=n("I+eb"),i=n("WKiH").end,o=n("yNLB")("trimEnd"),a=o?function(){return i(this)}:"".trimEnd;r({target:"String",proto:!0,name:"trimEnd",forced:o},{trimEnd:a,trimRight:a})},"I+eb":function(t,e,n){var r=n("2oRo"),i=n("Bs8V").f,o=n("kRJp"),a=n("busE"),s=n("zk60"),c=n("6JNq"),u=n("lMq5");t.exports=function(t,e){var n,l,d,f,h,p=t.target,v=t.global,m=t.stat;if(n=v?r:m?r[p]||s(p,{}):(r[p]||{}).prototype)for(l in e){if(f=e[l],d=t.noTargetGet?(h=i(n,l))&&h.value:n[l],!u(v?l:p+(m?".":"#")+l,t.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(t.sham||d&&d.sham)&&o(f,"sham",!0),a(n,l,f,t)}}},I1Gw:function(t,e,n){n("dG/n")("split")},I8vh:function(t,e,n){var r=n("WSbT"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},I9xj:function(t,e,n){n("1E5z")(Math,"Math",!0)},"IL/d":function(t,e,n){"use strict";var r=n("iqeF");(0,n("67WC").exportTypedArrayStaticMethod)("from",n("oHi+"),r)},IZzc:function(t,e,n){"use strict";var r=n("2oRo"),i=n("4zBA"),o=n("0Dky"),a=n("We1y"),s=n("rdv8"),c=n("67WC"),u=n("BNF5"),l=n("2Zix"),d=n("LQDL"),f=n("USzg"),h=r.Array,p=c.aTypedArray,v=c.exportTypedArrayMethod,m=r.Uint16Array,g=m&&i(m.prototype.sort),y=!(!g||o(function(){g(new m(2),null)})&&o(function(){g(new m(2),{})})),b=!!g&&!o(function(){if(d)return d<74;if(u)return u<67;if(l)return!0;if(f)return f<602;var t,e,n=new m(516),r=h(516);for(t=0;t<516;t++)e=t%4,n[t]=515-t,r[t]=t-2*e+3;for(g(n,function(t,e){return(t/4|0)-(e/4|0)}),t=0;t<516;t++)if(n[t]!==r[t])return!0});v("sort",function(t){return void 0!==t&&a(t),b?g(this,t):s(p(this),function(t){return function(e,n){return void 0!==t?+t(e,n)||0:n!=n?-1:e!=e?1:0===e&&0===n?1/e>0&&1/n<0?1:-1:e>n}}(t))},!b||y)},Ib8C:function(t,e,n){(function(e){var r;t.exports=(r=r||function(t,r){var i;if("undefined"!=typeof window&&window.crypto&&(i=window.crypto),"undefined"!=typeof self&&self.crypto&&(i=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(i=globalThis.crypto),!i&&"undefined"!=typeof window&&window.msCrypto&&(i=window.msCrypto),!i&&void 0!==e&&e.crypto&&(i=e.crypto),!i)try{i=n(3)}catch(t){}var o=function(){if(i){if("function"==typeof i.getRandomValues)try{return i.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof i.randomBytes)try{return i.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),s={},c=s.lib={},u=c.Base={extend:function(t){var e=a(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},l=c.WordArray=u.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||f).stringify(this)},concat:function(t){var e=this.words,n=t.words,r=this.sigBytes,i=t.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=n[o>>>2]>>>24-o%4*8&255;e[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var s=0;s<i;s+=4)e[r+s>>>2]=n[s>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=u.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n<t;n+=4)e.push(o());return new l.init(e,t)}}),d=s.enc={},f=d.Hex={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var o=e[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r+=2)n[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new l.init(n,e/2)}},h=d.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i<n;i++){var o=e[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r++)n[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new l.init(n,e)}},p=d.Utf8={stringify:function(t){try{return decodeURIComponent(escape(h.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return h.parse(unescape(encodeURIComponent(t)))}},v=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=p.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,s=4*a,c=o/s,u=(c=e?t.ceil(c):t.max((0|c)-this._minBufferSize,0))*a,d=t.min(4*u,o);if(u){for(var f=0;f<u;f+=a)this._doProcessBlock(i,f);n=i.splice(0,u),r.sigBytes-=d}return new l.init(n,d)},clone:function(){var t=u.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),m=(c.Hasher=v.extend({cfg:u.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){t&&this._append(t);var e=this._doFinalize();return e},blockSize:16,_createHelper:function(t){return function(e,n){return new t.init(n).finalize(e)}},_createHmacHelper:function(t){return function(e,n){return new m.HMAC.init(t,n).finalize(e)}}}),s.algo={});return s}(Math),r)}).call(this,n("yLpj"))},ImZN:function(t,e,n){var r=n("2oRo"),i=n("A2ZE"),o=n("xluM"),a=n("glrk"),s=n("DVFp"),c=n("6VoE"),u=n("B/qT"),l=n("OpvP"),d=n("mh/w"),f=n("NaFW"),h=n("KmKo"),p=r.TypeError,v=function(t,e){this.stopped=t,this.result=e},m=v.prototype;t.exports=function(t,e,n){var r,g,y,b,w,S,_,k=n&&n.that,x=!(!n||!n.AS_ENTRIES),E=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),T=i(e,k),I=function(t){return r&&h(r,"normal",t),new v(!0,t)},A=function(t){return x?(a(t),O?T(t[0],t[1],I):T(t[0],t[1])):O?T(t,I):T(t)};if(E)r=t;else{if(!(g=f(t)))throw p(s(t)+" is not iterable");if(c(g)){for(y=0,b=u(t);b>y;y++)if((w=A(t[y]))&&l(m,w))return w;return new v(!1)}r=d(t,g)}for(S=r.next;!(_=o(S,r)).done;){try{w=A(_.value)}catch(t){h(r,"throw",t)}if("object"==typeof w&&w&&l(m,w))return w}return new v(!1)}},J8vR:function(t,e,n){"use strict";n.d(e,"e",function(){return i}),n.d(e,"b",function(){return o}),n.d(e,"d",function(){return a}),n.d(e,"a",function(){return s}),n.d(e,"c",function(){return c});var r=n("LKh6"),i=function(t){t&&(t.style.display="block")},o=function(t,e){if(t.classList.contains(e))return t;for(var n=t;!n.classList.contains(e);)if("BODY"===(n=n.parentNode).tagName)return!1;return n},a=function(t){var e=document.querySelectorAll(t),n=0;return e.forEach(function(t){t.clientHeight>n&&(n=t.clientHeight)}),n},s=function(t){var e=t.classList;return{add:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return r.e?t.forEach(function(t){return e.add(t)}):e.add.apply(e,t),this},remove:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return r.e?t.forEach(function(t){return e.remove(t)}):e.remove.apply(e,t),this},toggle:function(t){return e.toggle(t),this},contains:function(t){return e.contains(t)}}},c=function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}},JBy8:function(t,e,n){var r=n("yoRg"),i=n("eDl+").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},JTJg:function(t,e,n){"use strict";var r=n("I+eb"),i=n("4zBA"),o=n("WjRb"),a=n("HYAF"),s=n("V37c"),c=n("qxPZ"),u=i("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(t){return!!~u(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},JaFt:function(t,e,n){"use strict";var r=n("67WC"),i=n("1Y/n").right,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",function(t){var e=arguments.length;return i(o(this),t,e,e>1?arguments[1]:void 0)})},JevA:function(t,e,n){var r=n("I+eb"),i=n("wg0c");r({target:"Number",stat:!0,forced:Number.parseInt!=i},{parseInt:i})},JfAA:function(t,e,n){"use strict";var r=n("4zBA"),i=n("Xnc8").PROPER,o=n("busE"),a=n("glrk"),s=n("OpvP"),c=n("V37c"),u=n("0Dky"),l=n("rW0t"),d=RegExp.prototype,f=d.toString,h=r(l),p=u(function(){return"/a/b"!=f.call({source:"a",flags:"b"})}),v=i&&"toString"!=f.name;(p||v)&&o(RegExp.prototype,"toString",function(){var t=a(this),e=c(t.source),n=t.flags;return"/"+e+"/"+c(void 0!==n||!s(d,t)||"flags"in d?n:h(t))},{unsafe:!0})},JiZb:function(t,e,n){"use strict";var r=n("0GbY"),i=n("m/L8"),o=n("tiKp"),a=n("g6v/"),s=o("species");t.exports=function(t){var e=r(t),n=i.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},JjVu:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r,i=n("6Ssv");!function(t){t.dc="dc",t.events="events",t.tournaments="tournaments"}(r||(r={}));var o="notification_count",a=function(){function t(t,e){var n=i.a&&JSON.parse(localStorage.getItem(o))||{};this.count="object"==typeof n&&Object.keys(n).length?n:Object.keys(r).reduce(function(t,e){return t[e]=0,t},{}),delete this.count.events,this.count.tournaments||(this.count.tournaments=0),this.saveStateToLs(),this.$element=document.querySelector(t),this.$awardsElement=document.querySelector(e.awardsSelector),this.$tournamentsElement=document.querySelector(e.tournamentsSelector),this.init()}return t.prototype.setCount=function(t,e){this.count[e]=t,this.repaint()},t.prototype.add=function(t){this.count[t]++,this.repaint()},t.prototype.get=function(t){var e;return null!==(e=this.count[t])&&void 0!==e?e:0},t.prototype.minus=function(t){this.count[t]--,this.repaint()},t.prototype.sumCount=function(){var t=this;return Object.keys(this.count).reduce(function(e,n){return e+t.count[n]},0)},t.prototype.repaint=function(){var t=this;this.saveStateToLs(),this.$notifications.forEach(function(e){e.innerText=t.sumCount(),e.style.opacity=t.sumCount()<=0?"0":"1"}),this.paintSeparatedValues()},t.prototype.paintSeparatedValues=function(){this.$awardsElement&&(this.$awardsElement.innerText=String(this.get(r.dc)),this.$awardsElement.style.display=this.get(r.dc)<=0?"none":"flex"),this.$tournamentsElement&&(this.$tournamentsElement.innerText=String(this.get(r.tournaments)),this.$tournamentsElement.style.display=this.get(r.tournaments)<=0?"none":"flex")},t.prototype.hideGlobal=function(){this.$notifications.forEach(function(t){t.style.opacity="0"})},t.prototype.saveStateToLs=function(){i.a&&localStorage.setItem(o,JSON.stringify(this.count))},t.prototype.init=function(){var t=document.createElement("span");t.classList.add("menu-notification"),t.innerText=String(this.sumCount()),this.paintSeparatedValues(),this.sumCount()<=0&&(t.style.opacity="0"),this.$element&&this.$element.appendChild(t.cloneNode(!0)),document.querySelector("#burger-icon .icon-menu").appendChild(t.cloneNode(!0)),this.$notifications=document.querySelectorAll(".menu-notification")},t}()},Junv:function(t,e,n){"use strict";var r=n("I+eb"),i=n("4zBA"),o=n("6LWA"),a=i([].reverse),s=[1,2];r({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),a(this)}})},K4CH:function(t,e,n){var r;!function(i,o){"use strict";var a="model",s="name",c="type",u="vendor",l="version",d="mobile",f="tablet",h="smarttv",p=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].toUpperCase()]=t[n];return e},v=function(t,e){return"string"==typeof t&&-1!==m(e).indexOf(m(t))},m=function(t){return t.toLowerCase()},g=function(t,e){if("string"==typeof t)return t=t.replace(/^\s\s*/,"").replace(/\s\s*$/,""),void 0===e?t:t.substring(0,350)},y=function(t,e){for(var n,r,i,o,a,s,c=0;c<e.length&&!a;){var u=e[c],l=e[c+1];for(n=r=0;n<u.length&&!a;)if(a=u[n++].exec(t))for(i=0;i<l.length;i++)s=a[++r],"object"==typeof(o=l[i])&&o.length>0?2===o.length?"function"==typeof o[1]?this[o[0]]=o[1].call(this,s):this[o[0]]=o[1]:3===o.length?"function"!=typeof o[1]||o[1].exec&&o[1].test?this[o[0]]=s?s.replace(o[1],o[2]):void 0:this[o[0]]=s?o[1].call(this,s,o[2]):void 0:4===o.length&&(this[o[0]]=s?o[3].call(this,s.replace(o[1],o[2])):void 0):this[o]=s||void 0;c+=2}},b=function(t,e){for(var n in e)if("object"==typeof e[n]&&e[n].length>0){for(var r=0;r<e[n].length;r++)if(v(e[n][r],t))return"?"===n?void 0:n}else if(v(e[n],t))return"?"===n?void 0:n;return t},w={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2000:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},S={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[l,[s,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[l,[s,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[s,l],[/opios[\/ ]+([\w\.]+)/i],[l,[s,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[l,[s,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[s,l],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[l,[s,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[l,[s,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[l,[s,"WeChat"]],[/konqueror\/([\w\.]+)/i],[l,[s,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[l,[s,"IE"]],[/yabrowser\/([\w\.]+)/i],[l,[s,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[s,/(.+)/,"$1 Secure Browser"],l],[/\bfocus\/([\w\.]+)/i],[l,[s,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[l,[s,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[l,[s,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[l,[s,"Dolphin"]],[/coast\/([\w\.]+)/i],[l,[s,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[l,[s,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[l,[s,"Firefox"]],[/\bqihu|(qi?ho?o?|360)browser/i],[[s,"360 Browser"]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[s,/(.+)/,"$1 Browser"],l],[/(comodo_dragon)\/([\w\.]+)/i],[[s,/_/g," "],l],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[s,l],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[s],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[s,"Facebook"],l],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[s,l],[/\bgsa\/([\w\.]+) .*safari\//i],[l,[s,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[l,[s,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[s,"Chrome WebView"],l],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[l,[s,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[s,l],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[l,[s,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[l,s],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[s,[l,b,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[s,l],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[s,"Netscape"],l],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[l,[s,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[s,l]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",m]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[["architecture","arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[["architecture","armhf"]],[/windows (ce|mobile); ppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[["architecture",/ower/,"",m]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[["architecture",m]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[a,[u,"Samsung"],[c,f]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[a,[u,"Samsung"],[c,d]],[/\((ip(?:hone|od)[\w ]*);/i],[a,[u,"Apple"],[c,d]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[a,[u,"Apple"],[c,f]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[a,[u,"Huawei"],[c,f]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[a,[u,"Huawei"],[c,d]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[a,/_/g," "],[u,"Xiaomi"],[c,d]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[a,/_/g," "],[u,"Xiaomi"],[c,f]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[a,[u,"OPPO"],[c,d]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[a,[u,"Vivo"],[c,d]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[a,[u,"Realme"],[c,d]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[a,[u,"Motorola"],[c,d]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[a,[u,"Motorola"],[c,f]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[a,[u,"LG"],[c,f]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[a,[u,"LG"],[c,d]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[a,[u,"Lenovo"],[c,f]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[a,/_/g," "],[u,"Nokia"],[c,d]],[/(pixel c)\b/i],[a,[u,"Google"],[c,f]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[a,[u,"Google"],[c,d]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[a,[u,"Sony"],[c,d]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[a,"Xperia Tablet"],[u,"Sony"],[c,f]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[a,[u,"OnePlus"],[c,d]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[a,[u,"Amazon"],[c,f]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[a,/(.+)/g,"Fire Phone $1"],[u,"Amazon"],[c,d]],[/(playbook);[-\w\),; ]+(rim)/i],[a,u,[c,f]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[a,[u,"BlackBerry"],[c,d]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[a,[u,"ASUS"],[c,f]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[a,[u,"ASUS"],[c,d]],[/(nexus 9)/i],[a,[u,"HTC"],[c,f]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[u,[a,/_/g," "],[c,d]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[a,[u,"Acer"],[c,f]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[a,[u,"Meizu"],[c,d]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[a,[u,"Sharp"],[c,d]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[u,a,[c,d]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[u,a,[c,f]],[/(surface duo)/i],[a,[u,"Microsoft"],[c,f]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[a,[u,"Fairphone"],[c,d]],[/(u304aa)/i],[a,[u,"AT&T"],[c,d]],[/\bsie-(\w*)/i],[a,[u,"Siemens"],[c,d]],[/\b(rct\w+) b/i],[a,[u,"RCA"],[c,f]],[/\b(venue[\d ]{2,7}) b/i],[a,[u,"Dell"],[c,f]],[/\b(q(?:mv|ta)\w+) b/i],[a,[u,"Verizon"],[c,f]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[a,[u,"Barnes & Noble"],[c,f]],[/\b(tm\d{3}\w+) b/i],[a,[u,"NuVision"],[c,f]],[/\b(k88) b/i],[a,[u,"ZTE"],[c,f]],[/\b(nx\d{3}j) b/i],[a,[u,"ZTE"],[c,d]],[/\b(gen\d{3}) b.+49h/i],[a,[u,"Swiss"],[c,d]],[/\b(zur\d{3}) b/i],[a,[u,"Swiss"],[c,f]],[/\b((zeki)?tb.*\b) b/i],[a,[u,"Zeki"],[c,f]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[u,"Dragon Touch"],a,[c,f]],[/\b(ns-?\w{0,9}) b/i],[a,[u,"Insignia"],[c,f]],[/\b((nxa|next)-?\w{0,9}) b/i],[a,[u,"NextBook"],[c,f]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[u,"Voice"],a,[c,d]],[/\b(lvtel\-)?(v1[12]) b/i],[[u,"LvTel"],a,[c,d]],[/\b(ph-1) /i],[a,[u,"Essential"],[c,d]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[a,[u,"Envizen"],[c,f]],[/\b(trio[-\w\. ]+) b/i],[a,[u,"MachSpeed"],[c,f]],[/\btu_(1491) b/i],[a,[u,"Rotor"],[c,f]],[/(shield[\w ]+) b/i],[a,[u,"Nvidia"],[c,f]],[/(sprint) (\w+)/i],[u,a,[c,d]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[u,"Microsoft"],[c,d]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[a,[u,"Zebra"],[c,f]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[a,[u,"Zebra"],[c,d]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[u,a,[c,"console"]],[/droid.+; (shield) bui/i],[a,[u,"Nvidia"],[c,"console"]],[/(playstation [345portablevi]+)/i],[a,[u,"Sony"],[c,"console"]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[a,[u,"Microsoft"],[c,"console"]],[/smart-tv.+(samsung)/i],[u,[c,h]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[u,"Samsung"],[c,h]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[u,"LG"],[c,h]],[/(apple) ?tv/i],[u,[a,"Apple TV"],[c,h]],[/crkey/i],[[a,"Chromecast"],[u,"Google"],[c,h]],[/droid.+aft(\w)( bui|\))/i],[a,[u,"Amazon"],[c,h]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[a,[u,"Sharp"],[c,h]],[/(bravia[\w ]+)( bui|\))/i],[a,[u,"Sony"],[c,h]],[/(mitv-\w{5}) bui/i],[a,[u,"Xiaomi"],[c,h]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[u,g],[a,g],[c,h]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,h]],[/((pebble))app/i],[u,a,[c,"wearable"]],[/droid.+; (glass) \d/i],[a,[u,"Google"],[c,"wearable"]],[/droid.+; (wt63?0{2,3})\)/i],[a,[u,"Zebra"],[c,"wearable"]],[/(quest( 2)?)/i],[a,[u,"Facebook"],[c,"wearable"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[u,[c,"embedded"]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[a,[c,d]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[a,[c,f]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,f]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[c,d]],[/(android[-\w\. ]{0,9});.+buil/i],[a,[u,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[l,[s,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[l,[s,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[s,l],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[l,s]],os:[[/microsoft (windows) (vista|xp)/i],[s,l],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[s,[l,b,w]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[s,"Windows"],[l,b,w]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[l,/_/g,"."],[s,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[s,"Mac OS"],[l,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[l,s],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[s,l],[/\(bb(10);/i],[l,[s,"BlackBerry"]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[l,[s,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[l,[s,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[l,[s,"webOS"]],[/crkey\/([\d\.]+)/i],[l,[s,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[s,"Chromium OS"],l],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[s,l],[/(sunos) ?([\w\.\d]*)/i],[[s,"Solaris"],l],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[s,l]]},_=function(t,e){if("object"==typeof t&&(e=t,t=void 0),!(this instanceof _))return new _(t,e).getResult();var n=t||(void 0!==i&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),r=e?function(t,e){var n={};for(var r in t)e[r]&&e[r].length%2==0?n[r]=e[r].concat(t[r]):n[r]=t[r];return n}(S,e):S;return this.getBrowser=function(){var t,e={};return e.name=void 0,e.version=void 0,y.call(e,n,r.browser),e.major="string"==typeof(t=e.version)?t.replace(/[^\d\.]/g,"").split(".")[0]:void 0,e},this.getCPU=function(){var t={architecture:void 0};return y.call(t,n,r.cpu),t},this.getDevice=function(){var t={vendor:void 0,model:void 0,type:void 0};return y.call(t,n,r.device),t},this.getEngine=function(){var t={name:void 0,version:void 0};return y.call(t,n,r.engine),t},this.getOS=function(){var t={name:void 0,version:void 0};return y.call(t,n,r.os),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(t){return n="string"==typeof t&&t.length>350?g(t,350):t,this},this.setUA(n),this};_.VERSION="1.0.32",_.BROWSER=p([s,l,"major"]),_.CPU=p(["architecture"]),_.DEVICE=p([a,u,c,"console",d,h,f,"wearable","embedded"]),_.ENGINE=_.OS=p([s,l]),void 0!==e?(void 0!==t&&t.exports&&(e=t.exports=_),e.UAParser=_):n("PDX0")?void 0===(r=function(){return _}.call(e,n,e,t))||(t.exports=r):void 0!==i&&(i.UAParser=_);var k=void 0!==i&&(i.jQuery||i.Zepto);if(k&&!k.ua){var x=new _;k.ua=x.getResult(),k.ua.get=function(){return x.getUA()},k.ua.set=function(t){x.setUA(t);var e=x.getResult();for(var n in e)k.ua[n]=e[n]}}}("object"==typeof window?window:this)},K6Rb:function(t,e,n){var r=n("QNWe"),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},KVSy:function(t,e,n){"use strict";var r=n("67WC"),i=n("trfz"),o=n("0Dky"),a=n("82ph"),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",function(t,e){for(var n=a(s(this),t,e),r=i(this),o=0,c=n.length,u=new r(c);c>o;)u[o]=n[o++];return u},o(function(){new Int8Array(1).slice()}))},KhsS:function(t,e,n){n("dG/n")("match")},KmKo:function(t,e,n){var r=n("xluM"),i=n("glrk"),o=n("3Eq5");t.exports=function(t,e,n){var a,s;i(t);try{if(!(a=o(t,"return"))){if("throw"===e)throw n;return n}a=r(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw n;if(s)throw a;return i(a),n}},KxHI:function(t,e,n){"use strict";var r,i,o,a,s;n.d(e,"f",function(){return r}),n.d(e,"c",function(){return i}),n.d(e,"j",function(){return o}),n.d(e,"m",function(){return a}),n.d(e,"n",function(){return s}),n.d(e,"d",function(){return v}),n.d(e,"q",function(){return m}),n.d(e,"a",function(){return c}),n.d(e,"p",function(){return u}),n.d(e,"l",function(){return l}),n.d(e,"o",function(){return d}),n.d(e,"i",function(){return f}),n.d(e,"k",function(){return h}),n.d(e,"b",function(){return p}),n.d(e,"e",function(){return b}),n.d(e,"g",function(){return g}),n.d(e,"h",function(){return y}),function(t){t.contentChanged="contentChanged",t.hideAllMenu="hideMenu",t.removeCookiesPadding="cookies:removePadding",t.changeCookiesPadding="cookies:changePadding",t.hideGameMessage="hideGameMessage",t.repaintGameBoard="repaintBoard",t.repaintPausedState="repaintPaused",t.animateCells="animateCells",t.startTimer="startTimer",t.stopTimer="stopTimer",t.processNewGame="processNewGame",t.showImaAds="showImaAds",t.currentGameInit="currentGameInit",t.mistakeAdded="mistakeAdded",t.showMistakesPopup="showMistakesPopup",t.showLostProgressPopup="showLostProgressPopup",t.setActiveDifficulty="setActiveDifficulty",t.selectDifficulty="selectDifficulty",t.setActiveMode="setActiveMode",t.closeMistakesPopup="closeMistakesPopup",t.rewardReady="rewardReady",t.rewardGranted="rewardGranted",t.rewardDestroyed="rewardDestroyed",t.initBannerAds="initBannerAds",t.userAction="userAction",t.showSmartHint="showSmartHint",t.gameStarted="gameStarted",t.requestNewBanner="requestNewBanner",t.removeNewBanner="removeNewBanner",t.showWinScreenBanner="showWinScreenBanner",t.interLoaded="interLoaded",t.interDestroyed="interDestroyed",t.interImpression="interImpression",t.startScoreTimer="startScoreTimer",t.stopScoreTimer="stopScoreTimer",t.sendGameResult="sendGameResult",t.AniviewLoaded="AniviewLoaded",t.resetGsInterTimer="resetGsInterTimer",t.addGsInterTime="addGsInterTime"}(r||(r={})),function(t){t.desktop="desktop",t.phone="phone",t.tablet="tablet"}(i||(i={})),function(t){t.classic="classic",t.killer="killer",t.daily="daily"}(o||(o={})),function(t){t.dc="dc-calendar"}(a||(a={})),function(t){t.imaAds="ima_ads",t.imaAdsDelay="ima_ads_delay",t.imaAdsOnStart="ima_ads_on_start",t.imaAdsOnRestart="ima_ads_on_restart",t.imaAdsTest="ima_ads_test_tag",t.showCheatMenu="show_cheat_menu",t.saveHistory="save_history_actions",t.countHints="count_hints",t.countMistakes="count_mistakes"}(s||(s={}));var c,u,l,d,f,h,p,v=["easy","medium","hard","expert","evil","extreme"],m={classic:"main",killer:"main",event:"liveops"};!function(t){t.strictlyNecessary="C0001",t.performance="C0002",t.functional="C0003",t.targeting="C0004",t.social="C0005"}(c||(c={})),function(t){t.Required="required",t.Email="email",t.MinLength="minLength",t.MaxLength="maxLength",t.IncorrectFormat="incorrectFormat",t.MaxFileSize="maxFileSize"}(u||(u={})),function(t){t.google="AdManager",t.rise="Rise",t.aniview="Aniview",t.vidazoo="Vidazoo"}(l||(l={})),function(t){t.LastFreeCell="LastFreeCell",t.LastRemainingCell="LastRemainingCell",t.LastPossibleNumber="LastPossibleNumber",t.Notes="Notes",t.IncorrectNumber="IncorrectNumber",t.FreeCell="FreeCell",t.ObviousSingles="ObviousSingles",t.ObviousPairs="ObviousPairs",t.ObviousTriples="ObviousTriples",t.HiddenSingles="HiddenSingles",t.HiddenPairs="HiddenPairs",t.PointingPairs="PointingPairs"}(d||(d={})),function(t){t.game_win="game_win",t.gamescreen_progress="gamescreen_progress",t.gamescreen_progress_cell="gamescreen_progress_cell",t.game_start="game_start",t.game_restart="game_restart",t.game_over_restart="game_over_restart"}(f||(f={})),function(t){t.rewarded_mistakes="rewarded_mistakes",t.rewarded_add_hint="rewarded_add_hint",t.solver="solver"}(h||(h={})),function(t){t.portrait="portrait",t.landscape="landscape"}(p||(p={}));var g,y,b={easy:"easy",medium:"medium",hard:"hard",expert:"expert",evil:"master",extreme:"extreme"};!function(t){t.emoji="emoji",t.tooltip_blue="tooltip_blue",t.tooltip_white="tooltip_white"}(g||(g={})),function(t){t.gamescreen_progress="gamescreen_progress",t.gamescreen_progress_cell="gamescreen_progress_cell"}(y||(y={}))},Kz25:function(t,e,n){"use strict";n("PKPk");var r,i=n("I+eb"),o=n("g6v/"),a=n("DTth"),s=n("2oRo"),c=n("A2ZE"),u=n("4zBA"),l=n("N+g0").f,d=n("busE"),f=n("GarU"),h=n("Gi26"),p=n("YNrV"),v=n("TfTi"),m=n("Ta7t"),g=n("ZUd8").codeAt,y=n("X7LM"),b=n("V37c"),w=n("1E5z"),S=n("1tal"),_=n("mGGf"),k=n("afO8"),x=k.set,E=k.getterFor("URL"),O=_.URLSearchParams,T=_.getState,I=s.URL,A=s.TypeError,C=s.parseInt,j=Math.floor,R=Math.pow,L=u("".charAt),M=u(/./.exec),B=u([].join),P=u(1..toString),D=u([].pop),N=u([].push),G=u("".replace),H=u([].shift),q=u("".split),F=u("".slice),U=u("".toLowerCase),W=u([].unshift),z=/[a-z]/i,$=/[\d+-.a-z]/i,V=/\d/,Y=/^0x/i,J=/^[0-7]+$/,K=/^\d+$/,X=/^[\da-f]+$/i,Z=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Q=/[\0\t\n\r #/:<>?@[\\\]^|]/,tt=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,et=/[\t\n\r]/g,nt=function(t){var e,n,r,i;if("number"==typeof t){for(e=[],n=0;n<4;n++)W(e,t%256),t=j(t/256);return B(e,".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,i=0,o=0;o<8;o++)0!==t[o]?(i>n&&(e=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(e=r,n=i),e}(t),n=0;n<8;n++)i&&0===t[n]||(i&&(i=!1),r===n?(e+=n?":":"::",i=!0):(e+=P(t[n],16),n<7&&(e+=":")));return"["+e+"]"}return t},rt={},it=p({},rt,{" ":1,'"':1,"<":1,">":1,"`":1}),ot=p({},it,{"#":1,"?":1,"{":1,"}":1}),at=p({},ot,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),st=function(t,e){var n=g(t,0);return n>32&&n<127&&!h(e,t)?t:encodeURIComponent(t)},ct={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ut=function(t,e){var n;return 2==t.length&&M(z,L(t,0))&&(":"==(n=L(t,1))||!e&&"|"==n)},lt=function(t){var e;return t.length>1&&ut(F(t,0,2))&&(2==t.length||"/"===(e=L(t,2))||"\\"===e||"?"===e||"#"===e)},dt=function(t){return"."===t||"%2e"===U(t)},ft={},ht={},pt={},vt={},mt={},gt={},yt={},bt={},wt={},St={},_t={},kt={},xt={},Et={},Ot={},Tt={},It={},At={},Ct={},jt={},Rt={},Lt=function(t,e,n){var r,i,o,a=b(t);if(e){if(i=this.parse(a))throw A(i);this.searchParams=null}else{if(void 0!==n&&(r=new Lt(n,!0)),i=this.parse(a,null,r))throw A(i);(o=T(new O)).bindURL(this),this.searchParams=o}};Lt.prototype={type:"URL",parse:function(t,e,n){var i,o,a,s,c,u=this,l=e||ft,d=0,f="",p=!1,g=!1,y=!1;for(t=b(t),e||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,t=G(t,tt,"")),t=G(t,et,""),i=v(t);d<=i.length;){switch(o=i[d],l){case ft:if(!o||!M(z,o)){if(e)return"Invalid scheme";l=pt;continue}f+=U(o),l=ht;break;case ht:if(o&&(M($,o)||"+"==o||"-"==o||"."==o))f+=U(o);else{if(":"!=o){if(e)return"Invalid scheme";f="",l=pt,d=0;continue}if(e&&(u.isSpecial()!=h(ct,f)||"file"==f&&(u.includesCredentials()||null!==u.port)||"file"==u.scheme&&!u.host))return;if(u.scheme=f,e)return void(u.isSpecial()&&ct[u.scheme]==u.port&&(u.port=null));f="","file"==u.scheme?l=Et:u.isSpecial()&&n&&n.scheme==u.scheme?l=vt:u.isSpecial()?l=bt:"/"==i[d+1]?(l=mt,d++):(u.cannotBeABaseURL=!0,N(u.path,""),l=Ct)}break;case pt:if(!n||n.cannotBeABaseURL&&"#"!=o)return"Invalid scheme";if(n.cannotBeABaseURL&&"#"==o){u.scheme=n.scheme,u.path=m(n.path),u.query=n.query,u.fragment="",u.cannotBeABaseURL=!0,l=Rt;break}l="file"==n.scheme?Et:gt;continue;case vt:if("/"!=o||"/"!=i[d+1]){l=gt;continue}l=wt,d++;break;case mt:if("/"==o){l=St;break}l=At;continue;case gt:if(u.scheme=n.scheme,o==r)u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=m(n.path),u.query=n.query;else if("/"==o||"\\"==o&&u.isSpecial())l=yt;else if("?"==o)u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=m(n.path),u.query="",l=jt;else{if("#"!=o){u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=m(n.path),u.path.length--,l=At;continue}u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=m(n.path),u.query=n.query,u.fragment="",l=Rt}break;case yt:if(!u.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,l=At;continue}l=St}else l=wt;break;case bt:if(l=wt,"/"!=o||"/"!=L(f,d+1))continue;d++;break;case wt:if("/"!=o&&"\\"!=o){l=St;continue}break;case St:if("@"==o){p&&(f="%40"+f),p=!0,a=v(f);for(var w=0;w<a.length;w++){var S=a[w];if(":"!=S||y){var _=st(S,at);y?u.password+=_:u.username+=_}else y=!0}f=""}else if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()){if(p&&""==f)return"Invalid authority";d-=v(f).length+1,f="",l=_t}else f+=o;break;case _t:case kt:if(e&&"file"==u.scheme){l=Tt;continue}if(":"!=o||g){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()){if(u.isSpecial()&&""==f)return"Invalid host";if(e&&""==f&&(u.includesCredentials()||null!==u.port))return;if(s=u.parseHost(f))return s;if(f="",l=It,e)return;continue}"["==o?g=!0:"]"==o&&(g=!1),f+=o}else{if(""==f)return"Invalid host";if(s=u.parseHost(f))return s;if(f="",l=xt,e==kt)return}break;case xt:if(!M(V,o)){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&u.isSpecial()||e){if(""!=f){var k=C(f,10);if(k>65535)return"Invalid port";u.port=u.isSpecial()&&k===ct[u.scheme]?null:k,f=""}if(e)return;l=It;continue}return"Invalid port"}f+=o;break;case Et:if(u.scheme="file","/"==o||"\\"==o)l=Ot;else{if(!n||"file"!=n.scheme){l=At;continue}if(o==r)u.host=n.host,u.path=m(n.path),u.query=n.query;else if("?"==o)u.host=n.host,u.path=m(n.path),u.query="",l=jt;else{if("#"!=o){lt(B(m(i,d),""))||(u.host=n.host,u.path=m(n.path),u.shortenPath()),l=At;continue}u.host=n.host,u.path=m(n.path),u.query=n.query,u.fragment="",l=Rt}}break;case Ot:if("/"==o||"\\"==o){l=Tt;break}n&&"file"==n.scheme&&!lt(B(m(i,d),""))&&(ut(n.path[0],!0)?N(u.path,n.path[0]):u.host=n.host),l=At;continue;case Tt:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!e&&ut(f))l=At;else if(""==f){if(u.host="",e)return;l=It}else{if(s=u.parseHost(f))return s;if("localhost"==u.host&&(u.host=""),e)return;f="",l=It}continue}f+=o;break;case It:if(u.isSpecial()){if(l=At,"/"!=o&&"\\"!=o)continue}else if(e||"?"!=o)if(e||"#"!=o){if(o!=r&&(l=At,"/"!=o))continue}else u.fragment="",l=Rt;else u.query="",l=jt;break;case At:if(o==r||"/"==o||"\\"==o&&u.isSpecial()||!e&&("?"==o||"#"==o)){if(".."===(c=U(c=f))||"%2e."===c||".%2e"===c||"%2e%2e"===c?(u.shortenPath(),"/"==o||"\\"==o&&u.isSpecial()||N(u.path,"")):dt(f)?"/"==o||"\\"==o&&u.isSpecial()||N(u.path,""):("file"==u.scheme&&!u.path.length&&ut(f)&&(u.host&&(u.host=""),f=L(f,0)+":"),N(u.path,f)),f="","file"==u.scheme&&(o==r||"?"==o||"#"==o))for(;u.path.length>1&&""===u.path[0];)H(u.path);"?"==o?(u.query="",l=jt):"#"==o&&(u.fragment="",l=Rt)}else f+=st(o,ot);break;case Ct:"?"==o?(u.query="",l=jt):"#"==o?(u.fragment="",l=Rt):o!=r&&(u.path[0]+=st(o,rt));break;case jt:e||"#"!=o?o!=r&&("'"==o&&u.isSpecial()?u.query+="%27":u.query+="#"==o?"%23":st(o,rt)):(u.fragment="",l=Rt);break;case Rt:o!=r&&(u.fragment+=st(o,it))}d++}},parseHost:function(t){var e,n,r;if("["==L(t,0)){if("]"!=L(t,t.length-1))return"Invalid host";if(!(e=function(t){var e,n,r,i,o,a,s,c=[0,0,0,0,0,0,0,0],u=0,l=null,d=0,f=function(){return L(t,d)};if(":"==f()){if(":"!=L(t,1))return;d+=2,l=++u}for(;f();){if(8==u)return;if(":"!=f()){for(e=n=0;n<4&&M(X,f());)e=16*e+C(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,u>6)return;for(r=0;f();){if(i=null,r>0){if(!("."==f()&&r<4))return;d++}if(!M(V,f()))return;for(;M(V,f());){if(o=C(f(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;d++}c[u]=256*c[u]+i,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;c[u++]=e}else{if(null!==l)return;d++,l=++u}}if(null!==l)for(a=u-l,u=7;0!=u&&a>0;)s=c[u],c[u--]=c[l+a-1],c[l+--a]=s;else if(8!=u)return;return c}(F(t,1,-1))))return"Invalid host";this.host=e}else if(this.isSpecial()){if(t=y(t),M(Z,t))return"Invalid host";if(null===(e=function(t){var e,n,r,i,o,a,s,c=q(t,".");if(c.length&&""==c[c.length-1]&&c.length--,(e=c.length)>4)return t;for(n=[],r=0;r<e;r++){if(""==(i=c[r]))return t;if(o=10,i.length>1&&"0"==L(i,0)&&(o=M(Y,i)?16:8,i=F(i,8==o?1:2)),""===i)a=0;else{if(!M(10==o?K:8==o?J:X,i))return t;a=C(i,o)}N(n,a)}for(r=0;r<e;r++)if(a=n[r],r==e-1){if(a>=R(256,5-e))return null}else if(a>255)return null;for(s=D(n),r=0;r<n.length;r++)s+=n[r]*R(256,3-r);return s}(t)))return"Invalid host";this.host=e}else{if(M(Q,t))return"Invalid host";for(e="",n=v(t),r=0;r<n.length;r++)e+=st(n[r],rt);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return h(ct,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"==this.scheme&&1==e&&ut(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,n=t.username,r=t.password,i=t.host,o=t.port,a=t.path,s=t.query,c=t.fragment,u=e+":";return null!==i?(u+="//",t.includesCredentials()&&(u+=n+(r?":"+r:"")+"@"),u+=nt(i),null!==o&&(u+=":"+o)):"file"==e&&(u+="//"),u+=t.cannotBeABaseURL?a[0]:a.length?"/"+B(a,"/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},setHref:function(t){var e=this.parse(t);if(e)throw A(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"==t)try{return new Mt(t.path[0]).origin}catch(t){return"null"}return"file"!=t&&this.isSpecial()?t+"://"+nt(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(b(t)+":",ft)},getUsername:function(){return this.username},setUsername:function(t){var e=v(b(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<e.length;n++)this.username+=st(e[n],at)}},getPassword:function(){return this.password},setPassword:function(t){var e=v(b(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<e.length;n++)this.password+=st(e[n],at)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?nt(t):nt(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,_t)},getHostname:function(){var t=this.host;return null===t?"":nt(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,kt)},getPort:function(){var t=this.port;return null===t?"":b(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""==(t=b(t))?this.port=null:this.parse(t,xt))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+B(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,It))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""==(t=b(t))?this.query=null:("?"==L(t,0)&&(t=F(t,1)),this.query="",this.parse(t,jt)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!=(t=b(t))?("#"==L(t,0)&&(t=F(t,1)),this.fragment="",this.parse(t,Rt)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Mt=function(t){var e=f(this,Bt),n=S(arguments.length,1)>1?arguments[1]:void 0,r=x(e,new Lt(t,!1,n));o||(e.href=r.serialize(),e.origin=r.getOrigin(),e.protocol=r.getProtocol(),e.username=r.getUsername(),e.password=r.getPassword(),e.host=r.getHost(),e.hostname=r.getHostname(),e.port=r.getPort(),e.pathname=r.getPathname(),e.search=r.getSearch(),e.searchParams=r.getSearchParams(),e.hash=r.getHash())},Bt=Mt.prototype,Pt=function(t,e){return{get:function(){return E(this)[t]()},set:e&&function(t){return E(this)[e](t)},configurable:!0,enumerable:!0}};if(o&&l(Bt,{href:Pt("serialize","setHref"),origin:Pt("getOrigin"),protocol:Pt("getProtocol","setProtocol"),username:Pt("getUsername","setUsername"),password:Pt("getPassword","setPassword"),host:Pt("getHost","setHost"),hostname:Pt("getHostname","setHostname"),port:Pt("getPort","setPort"),pathname:Pt("getPathname","setPathname"),search:Pt("getSearch","setSearch"),searchParams:Pt("getSearchParams"),hash:Pt("getHash","setHash")}),d(Bt,"toJSON",function(){return E(this).serialize()},{enumerable:!0}),d(Bt,"toString",function(){return E(this).serialize()},{enumerable:!0}),I){var Dt=I.createObjectURL,Nt=I.revokeObjectURL;Dt&&d(Mt,"createObjectURL",c(Dt,I)),Nt&&d(Mt,"revokeObjectURL",c(Nt,I))}w(Mt,"URL"),i({global:!0,forced:!a,sham:!o},{URL:Mt})},LKBx:function(t,e,n){"use strict";var r,i=n("I+eb"),o=n("4zBA"),a=n("Bs8V").f,s=n("UMSQ"),c=n("V37c"),u=n("WjRb"),l=n("HYAF"),d=n("qxPZ"),f=n("xDBR"),h=o("".startsWith),p=o("".slice),v=Math.min,m=d("startsWith");i({target:"String",proto:!0,forced:!!(f||m||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!m},{startsWith:function(t){var e=c(l(this));u(t);var n=s(v(arguments.length>1?arguments[1]:void 0,e.length)),r=c(t);return h?h(e,r,n):p(e,n,n+r.length)===r}})},LKh6:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"g",function(){return a}),n.d(e,"f",function(){return s}),n.d(e,"d",function(){return c}),n.d(e,"e",function(){return u});var r=980,i=(navigator.userAgent.toLowerCase().indexOf("android"),/CriOS/i.test(navigator.userAgent)),o=/FxiOS/i.test(navigator.userAgent),a=/UCBrowser/i.test(navigator.userAgent),s=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),c=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,u=!!document.documentMode;window.innerWidth},LPSS:function(t,e,n){var r,i,o,a,s=n("2oRo"),c=n("K6Rb"),u=n("A2ZE"),l=n("Fib7"),d=n("Gi26"),f=n("0Dky"),h=n("G+Rx"),p=n("82ph"),v=n("zBJ4"),m=n("1tal"),g=n("HNyW"),y=n("YF1G"),b=s.setImmediate,w=s.clearImmediate,S=s.process,_=s.Dispatch,k=s.Function,x=s.MessageChannel,E=s.String,O=0,T={};try{r=s.location}catch(t){}var I=function(t){if(d(T,t)){var e=T[t];delete T[t],e()}},A=function(t){return function(){I(t)}},C=function(t){I(t.data)},j=function(t){s.postMessage(E(t),r.protocol+"//"+r.host)};b&&w||(b=function(t){m(arguments.length,1);var e=l(t)?t:k(t),n=p(arguments,1);return T[++O]=function(){c(e,void 0,n)},i(O),O},w=function(t){delete T[t]},y?i=function(t){S.nextTick(A(t))}:_&&_.now?i=function(t){_.now(A(t))}:x&&!g?(a=(o=new x).port2,o.port1.onmessage=C,i=u(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!f(j)?(i=j,s.addEventListener("message",C,!1)):i="onreadystatechange"in v("script")?function(t){h.appendChild(v("script")).onreadystatechange=function(){h.removeChild(this),I(t)}}:function(t){setTimeout(A(t),0)}),t.exports={set:b,clear:w}},LQDL:function(t,e,n){var r,i,o=n("2oRo"),a=n("NC/Y"),s=o.process,c=o.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(i=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},LTMS:function(t,e,n){},Lu1R:function(t,e,n){},MoCz:function(t,e,n){"use strict";var r=n("67WC"),i=n("K6Rb"),o=n("5Yz+"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",function(t){var e=arguments.length;return i(o,a(this),e>1?[t,arguments[1]]:[t])})},"N+g0":function(t,e,n){var r=n("g6v/"),i=n("rtlb"),o=n("m/L8"),a=n("glrk"),s=n("/GqU"),c=n("33Wh");e.f=r&&!i?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),i=c(e),u=i.length,l=0;u>l;)o.f(t,n=i[l++],r[n]);return t}},"NC/Y":function(t,e,n){var r=n("0GbY");t.exports=r("navigator","userAgent")||""},NaFW:function(t,e,n){var r=n("9d/t"),i=n("3Eq5"),o=n("P4y1"),a=n("tiKp")("iterator");t.exports=function(t){if(null!=t)return i(t,a)||i(t,"@@iterator")||o[r(t)]}},O741:function(t,e,n){var r=n("2oRo"),i=n("Fib7"),o=r.String,a=r.TypeError;t.exports=function(t){if("object"==typeof t||i(t))return t;throw a("Can't set "+o(t)+" as a prototype")}},Om6b:function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"k",function(){return a}),n.d(e,"d",function(){return s}),n.d(e,"i",function(){return c}),n.d(e,"f",function(){return u}),n.d(e,"g",function(){return l}),n.d(e,"e",function(){return d}),n.d(e,"h",function(){return f}),n.d(e,"b",function(){return r}),n.d(e,"j",function(){return h});n("6Ssv");var r,i=function(t){return t.getFullYear()+"_"+t.getMonth()+"_"+t.getDate()},o="dailyInfo",a=function(t,e,n,r){return"FULL"!==r?t.replace("{0}","DATE"===r?e.toString():n.toString()):t.replace("{0}",e.toString()).replace("{1}",n.toString())},s=function(t){if(!t||"string"!=typeof t)return!1;var e=t.split("_");return e[0]+"_"+e[1]},c=function(t,e){var n=Math.abs(t-e)/1e3;return Math.floor(n/86400)>=1?e:t},u=function(t,e){return 32-new Date(t,e,32).getDate()},l=function(t,e){return new Date(t,e,1).getDay()},d=function(t,e){var n=t-e;return n<0?7+n:n},f=function(t){return Math.trunc(t.filter(function(t){return!!t}).length/81*100)};!function(t){t[t.Mon=1]="Mon",t[t.Tue=2]="Tue",t[t.Wed=3]="Wed",t[t.Thu=4]="Thu",t[t.Fri=5]="Fri",t[t.Sat=6]="Sat",t[t.Sun=0]="Sun"}(r||(r={}));var h=function(t){if(!(t instanceof Date))return!1;var e=new Date;return e.setDate(e.getDate()-1),t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}},OmMN:function(t,e,n){"use strict";n.d(e,"c",function(){return r}),n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o});var r=function(){return window.devicePixelRatio&&window.devicePixelRatio>2?2*window.devicePixelRatio:4},i=function(t,e){var n=t.cell,r=t.outer;void 0===e&&(e=0);for(var i=[],o=0;o<9;o++)for(var a=0;a<9;a++)i.push({x:e+r+n*a,y:e+r+n*o,cubeId:""+Math.floor(o/3)+Math.floor(a/3),row:o,col:a});return i},o=function(t,e,n){for(var r=e.reduce(function(e,n){var r=n.reduce(function(e,n){return e+=Number(t[n])},0);return e.push(r),e},[]),i=new Array(9),o=0;o<i.length;o++)i[o]=new Array(9).fill(0);for(var a=0;a<e.length;a++){var s=e[a];for(o=0;o<s.length;o++){var c=s[o];i[n[c].row][n[c].col]=a}}return{array:i,sum:r}}},Onu3:function(t,e,n){"use strict";var r=n("67WC"),i=n("tycR").findIndex,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)})},OpvP:function(t,e,n){var r=n("4zBA");t.exports=r({}.isPrototypeOf)},P4y1:function(t,e){t.exports={}},P8wP:function(t,e,n){"use strict";var r=n("67WC"),i=n("tycR").map,o=n("trfz"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0,function(t,e){return new(o(t))(e)})})},PDX0:function(t,e){(function(e){t.exports=e}).call(this,{})},PF2M:function(t,e,n){"use strict";var r=n("2oRo"),i=n("xluM"),o=n("67WC"),a=n("B/qT"),s=n("GC2F"),c=n("ewvW"),u=n("0Dky"),l=r.RangeError,d=r.Int8Array,f=d&&d.prototype,h=f&&f.set,p=o.aTypedArray,v=o.exportTypedArrayMethod,m=!u(function(){var t=new Uint8ClampedArray(2);return i(h,t,{length:1,0:3},1),3!==t[1]}),g=m&&o.NATIVE_ARRAY_BUFFER_VIEWS&&u(function(){var t=new d(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]});v("set",function(t){p(this);var e=s(arguments.length>1?arguments[1]:void 0,1),n=c(t);if(m)return i(h,this,n,e);var r=this.length,o=a(n),u=0;if(o+e>r)throw l("Wrong length");for(;u<o;)this[e+u]=n[u++]},!m||g)},PKPk:function(t,e,n){"use strict";var r=n("ZUd8").charAt,i=n("V37c"),o=n("afO8"),a=n("fdAy"),s=o.set,c=o.getterFor("String Iterator");a(String,"String",function(t){s(this,{type:"String Iterator",string:i(t),index:0})},function(){var t,e=c(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})})},PzqY:function(t,e,n){var r=n("I+eb"),i=n("g6v/"),o=n("glrk"),a=n("oEtG"),s=n("m/L8");r({target:"Reflect",stat:!0,forced:n("0Dky")(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})}),sham:!i},{defineProperty:function(t,e,n){o(t);var r=a(e);o(n);try{return s.f(t,r,n),!0}catch(t){return!1}}})},"Q/5a":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=new(function(){function t(){this.listeners={}}return t.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return!!Array.isArray(this.listeners[t])&&(this.listeners[t].forEach(function(t){t.apply(void 0,e)}),!0)},t.prototype.subscribe=function(t,e){var n=this;return this.listeners[t]=this.listeners[t]||[],this.listeners[t].push(e),function(){n.listeners[t]=n.listeners[t].filter(function(t){return t!==e})}},t}())},QFcT:function(t,e,n){var r=n("I+eb"),i=Math.hypot,o=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!i&&i(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,i=0,s=0,c=arguments.length,u=0;s<c;)u<(n=o(arguments[s++]))?(i=i*(r=u/n)*r+1,u=n):i+=n>0?(r=n/u)*r:n;return u===1/0?1/0:u*a(i)}})},QGkA:function(t,e,n){n("RNIs")("flat")},QIpd:function(t,e,n){var r=n("4zBA");t.exports=r(1..valueOf)},QNWe:function(t,e,n){var r=n("0Dky");t.exports=!r(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},Qo9l:function(t,e,n){var r=n("2oRo");t.exports=r},RK3t:function(t,e,n){var r=n("2oRo"),i=n("4zBA"),o=n("0Dky"),a=n("xrYK"),s=r.Object,c=i("".split);t.exports=o(function(){return!s("z").propertyIsEnumerable(0)})?function(t){return"String"==a(t)?c(t,""):s(t)}:s},RN6c:function(t,e,n){var r=n("2oRo");t.exports=function(t,e){var n=r.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}},RNIs:function(t,e,n){var r=n("tiKp"),i=n("fHMY"),o=n("m/L8"),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},ROdP:function(t,e,n){var r=n("hh1v"),i=n("xrYK"),o=n("tiKp")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},Rm1S:function(t,e,n){"use strict";var r=n("xluM"),i=n("14Sl"),o=n("glrk"),a=n("UMSQ"),s=n("V37c"),c=n("HYAF"),u=n("3Eq5"),l=n("iqWW"),d=n("FMNM");i("match",function(t,e,n){return[function(e){var n=c(this),i=null==e?void 0:u(e,t);return i?r(i,e,n):new RegExp(e)[t](s(n))},function(t){var r=o(this),i=s(t),c=n(e,r,i);if(c.done)return c.value;if(!r.global)return d(r,i);var u=r.unicode;r.lastIndex=0;for(var f,h=[],p=0;null!==(f=d(r,i));){var v=s(f[0]);h[p]=v,""===v&&(r.lastIndex=l(i,a(r.lastIndex),u)),p++}return 0===p?null:h}]})},SEBh:function(t,e,n){var r=n("glrk"),i=n("UIe5"),o=n("tiKp")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},SFrS:function(t,e,n){var r=n("2oRo"),i=n("xluM"),o=n("Fib7"),a=n("hh1v"),s=r.TypeError;t.exports=function(t,e){var n,r;if("string"===e&&o(n=t.toString)&&!a(r=i(n,t)))return r;if(o(n=t.valueOf)&&!a(r=i(n,t)))return r;if("string"!==e&&o(n=t.toString)&&!a(r=i(n,t)))return r;throw s("Can't convert object to primitive value")}},STAE:function(t,e,n){var r=n("LQDL"),i=n("0Dky");t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})},SYor:function(t,e,n){"use strict";var r=n("I+eb"),i=n("WKiH").trim;r({target:"String",proto:!0,forced:n("yNLB")("trim")},{trim:function(){return i(this)}})},SpvK:function(t,e,n){n("dOgj")("Float64",function(t){return function(e,n,r){return t(this,e,n,r)}})},SuFq:function(t,e,n){var r=n("I+eb"),i=n("0GbY"),o=n("K6Rb"),a=n("BTho"),s=n("UIe5"),c=n("glrk"),u=n("hh1v"),l=n("fHMY"),d=n("0Dky"),f=i("Reflect","construct"),h=Object.prototype,p=[].push,v=d(function(){function t(){}return!(f(function(){},[],t)instanceof t)}),m=!d(function(){f(function(){})}),g=v||m;r({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(t,e){s(t),c(e);var n=arguments.length<3?t:s(arguments[2]);if(m&&!v)return f(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return o(p,r,e),new(o(a,t,r))}var i=n.prototype,d=l(u(i)?i:h),g=o(t,d,e);return u(g)?g:d}})},T63A:function(t,e,n){var r=n("I+eb"),i=n("b1O7").entries;r({target:"Object",stat:!0},{entries:function(t){return i(t)}})},T63f:function(t,e,n){var r=n("0Dky"),i=n("hh1v"),o=n("xrYK"),a=n("2Gvs"),s=Object.isExtensible,c=r(function(){s(1)});t.exports=c||a?function(t){return!!i(t)&&((!a||"ArrayBuffer"!=o(t))&&(!s||s(t)))}:s},TWNs:function(t,e,n){var r=n("g6v/"),i=n("2oRo"),o=n("4zBA"),a=n("lMq5"),s=n("cVYH"),c=n("kRJp"),u=n("m/L8").f,l=n("JBy8").f,d=n("OpvP"),f=n("ROdP"),h=n("V37c"),p=n("rW0t"),v=n("n3/R"),m=n("busE"),g=n("0Dky"),y=n("Gi26"),b=n("afO8").enforce,w=n("JiZb"),S=n("tiKp"),_=n("/OPJ"),k=n("EHx7"),x=S("match"),E=i.RegExp,O=E.prototype,T=i.SyntaxError,I=o(p),A=o(O.exec),C=o("".charAt),j=o("".replace),R=o("".indexOf),L=o("".slice),M=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,B=/a/g,P=/a/g,D=new E(B)!==B,N=v.MISSED_STICKY,G=v.UNSUPPORTED_Y,H=r&&(!D||N||_||k||g(function(){return P[x]=!1,E(B)!=B||E(P)==P||"/a/i"!=E(B,"i")}));if(a("RegExp",H)){for(var q=function(t,e){var n,r,i,o,a,u,l=d(O,this),p=f(t),v=void 0===e,m=[],g=t;if(!l&&p&&v&&t.constructor===q)return t;if((p||d(O,t))&&(t=t.source,v&&(e="flags"in g?g.flags:I(g))),t=void 0===t?"":h(t),e=void 0===e?"":h(e),g=t,_&&"dotAll"in B&&(r=!!e&&R(e,"s")>-1)&&(e=j(e,/s/g,"")),n=e,N&&"sticky"in B&&(i=!!e&&R(e,"y")>-1)&&G&&(e=j(e,/y/g,"")),k&&(t=(o=function(t){for(var e,n=t.length,r=0,i="",o=[],a={},s=!1,c=!1,u=0,l="";r<=n;r++){if("\\"===(e=C(t,r)))e+=C(t,++r);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:A(M,L(t,r+1))&&(r+=2,c=!0),i+=e,u++;continue;case">"===e&&c:if(""===l||y(a,l))throw new T("Invalid capture group name");a[l]=!0,o[o.length]=[l,u],c=!1,l="";continue}c?l+=e:i+=e}return[i,o]}(t))[0],m=o[1]),a=s(E(t,e),l?this:O,q),(r||i||m.length)&&(u=b(a),r&&(u.dotAll=!0,u.raw=q(function(t){for(var e,n=t.length,r=0,i="",o=!1;r<=n;r++)"\\"!==(e=C(t,r))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+C(t,++r);return i}(t),n)),i&&(u.sticky=!0),m.length&&(u.groups=m)),t!==g)try{c(a,"source",""===g?"(?:)":g)}catch(t){}return a},F=function(t){t in q||u(q,t,{configurable:!0,get:function(){return E[t]},set:function(e){E[t]=e}})},U=l(E),W=0;U.length>W;)F(U[W++]);O.constructor=q,q.prototype=O,m(i,"RegExp",q)}w("RegExp")},TWQb:function(t,e,n){var r=n("/GqU"),i=n("I8vh"),o=n("B/qT"),a=function(t){return function(e,n,a){var s,c=r(e),u=o(c),l=i(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},TZCg:function(t,e,n){"use strict";var r=n("I+eb"),i=n("DMt2").start;r({target:"String",proto:!0,forced:n("mgyK")},{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},Ta7t:function(t,e,n){var r=n("2oRo"),i=n("I8vh"),o=n("B/qT"),a=n("hBjN"),s=r.Array,c=Math.max;t.exports=function(t,e,n){for(var r=o(t),u=i(e,r),l=i(void 0===n?r:n,r),d=s(c(l-u,0)),f=0;u<l;u++,f++)a(d,f,t[u]);return d.length=f,d}},TeQF:function(t,e,n){"use strict";var r=n("I+eb"),i=n("tycR").filter;r({target:"Array",proto:!0,forced:!n("Hd5f")("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},TfTi:function(t,e,n){"use strict";var r=n("2oRo"),i=n("A2ZE"),o=n("xluM"),a=n("ewvW"),s=n("m92n"),c=n("6VoE"),u=n("aO6C"),l=n("B/qT"),d=n("hBjN"),f=n("mh/w"),h=n("NaFW"),p=r.Array;t.exports=function(t){var e=a(t),n=u(this),r=arguments.length,v=r>1?arguments[1]:void 0,m=void 0!==v;m&&(v=i(v,r>2?arguments[2]:void 0));var g,y,b,w,S,_,k=h(e),x=0;if(!k||this==p&&c(k))for(g=l(e),y=n?new this(g):p(g);g>x;x++)_=m?v(e[x],x):e[x],d(y,x,_);else for(S=(w=f(e,k)).next,y=n?new this:[];!(b=o(S,w)).done;x++)_=m?s(w,v,[b.value,x],!0):b.value,d(y,x,_);return y.length=x,y}},ToJy:function(t,e,n){"use strict";var r=n("I+eb"),i=n("4zBA"),o=n("We1y"),a=n("ewvW"),s=n("B/qT"),c=n("V37c"),u=n("0Dky"),l=n("rdv8"),d=n("pkCn"),f=n("BNF5"),h=n("2Zix"),p=n("LQDL"),v=n("USzg"),m=[],g=i(m.sort),y=i(m.push),b=u(function(){m.sort(void 0)}),w=u(function(){m.sort(null)}),S=d("sort"),_=!u(function(){if(p)return p<70;if(!(f&&f>3)){if(h)return!0;if(v)return v<603;var t,e,n,r,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)m.push({k:e+r,v:n})}for(m.sort(function(t,e){return e.v-t.v}),r=0;r<m.length;r++)e=m[r].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}});r({target:"Array",proto:!0,forced:b||!w||!S||!_},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(_)return void 0===t?g(e):g(e,t);var n,r,i=[],u=s(e);for(r=0;r<u;r++)r in e&&y(i,e[r]);for(l(i,function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:c(e)>c(n)?1:-1}}(t)),n=i.length,r=0;r<n;)e[r]=i[r++];for(;r<u;)delete e[r++];return e}})},Tskq:function(t,e,n){"use strict";n("bWFh")("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},n("ZWaQ"))},U3f4:function(t,e,n){var r=n("g6v/"),i=n("m/L8"),o=n("rW0t"),a=n("0Dky"),s=RegExp.prototype;r&&a(function(){return"sy"!==Object.getOwnPropertyDescriptor(s,"flags").get.call({dotAll:!0,sticky:!0})})&&i.f(s,"flags",{configurable:!0,get:o})},UIe5:function(t,e,n){var r=n("2oRo"),i=n("aO6C"),o=n("DVFp"),a=r.TypeError;t.exports=function(t){if(i(t))return t;throw a(o(t)+" is not a constructor")}},UMSQ:function(t,e,n){var r=n("WSbT"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},USzg:function(t,e,n){var r=n("NC/Y").match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},UesL:function(t,e,n){"use strict";var r=n("2oRo"),i=n("glrk"),o=n("SFrS"),a=r.TypeError;t.exports=function(t){if(i(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw a("Incorrect hint");return o(this,t)}},UxlC:function(t,e,n){"use strict";var r=n("K6Rb"),i=n("xluM"),o=n("4zBA"),a=n("14Sl"),s=n("0Dky"),c=n("glrk"),u=n("Fib7"),l=n("WSbT"),d=n("UMSQ"),f=n("V37c"),h=n("HYAF"),p=n("iqWW"),v=n("3Eq5"),m=n("DLK6"),g=n("FMNM"),y=n("tiKp")("replace"),b=Math.max,w=Math.min,S=o([].concat),_=o([].push),k=o("".indexOf),x=o("".slice),E="$0"==="a".replace(/./,"$0"),O=!!/./[y]&&""===/./[y]("a","$0");a("replace",function(t,e,n){var o=O?"$":"$0";return[function(t,n){var r=h(this),o=null==t?void 0:v(t,y);return o?i(o,t,r,n):i(e,f(r),t,n)},function(t,i){var a=c(this),s=f(t);if("string"==typeof i&&-1===k(i,o)&&-1===k(i,"$<")){var h=n(e,a,s,i);if(h.done)return h.value}var v=u(i);v||(i=f(i));var y=a.global;if(y){var E=a.unicode;a.lastIndex=0}for(var O=[];;){var T=g(a,s);if(null===T)break;if(_(O,T),!y)break;""===f(T[0])&&(a.lastIndex=p(s,d(a.lastIndex),E))}for(var I,A="",C=0,j=0;j<O.length;j++){for(var R=f((T=O[j])[0]),L=b(w(l(T.index),s.length),0),M=[],B=1;B<T.length;B++)_(M,void 0===(I=T[B])?I:String(I));var P=T.groups;if(v){var D=S([R],M,L,s);void 0!==P&&_(D,P);var N=f(r(i,void 0,D))}else N=m(R,s,L,M,P,i);L>=C&&(A+=x(s,C,L)+N,C=L+R.length)}return A+x(s,C)}]},!!s(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!E||O)},V37c:function(t,e,n){var r=n("2oRo"),i=n("9d/t"),o=r.String;t.exports=function(t){if("Symbol"===i(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},VZr0:function(t,e,n){"use strict";n.r(e),n.d(e,"page",function(){return a});var r,i=n("kwDz"),o=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=new(function(t){function e(){return t.call(this)||this}return o(e,t),e.prototype.onLoaded=function(){t.prototype.onLoaded.call(this)},e}(i.a))},Vl5E:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return o});var r=function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},i=function(t,e){void 0!==window.gtag&&(e?window.gtag("event",t,e):window.gtag("event",t))},o=function(t,e){window.isShowAnalytics=t,window.gtag&&window.gtag("consent","update",r({analytics_storage:t?"granted":"denied",ad_storage:e?"granted":"denied"},window.useCmp?{ad_user_data:e?"granted":"denied",ad_personalization:e?"granted":"denied"}:{})),window.fbq&&window.fbq("consent",e?"grant":"revoke")}},VpIT:function(t,e,n){var r=n("xDBR"),i=n("xs3f");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.21.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},Vu81:function(t,e,n){var r=n("0GbY"),i=n("4zBA"),o=n("JBy8"),a=n("dBg+"),s=n("glrk"),c=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?c(e,n(t)):e}},WJkJ:function(t,e){t.exports="\t\n\v\f\r    â€â€‚         âŸã€€\u2028\u2029\ufeff"},WKiH:function(t,e,n){var r=n("4zBA"),i=n("HYAF"),o=n("V37c"),a=n("WJkJ"),s=r("".replace),c="["+a+"]",u=RegExp("^"+c+c+"*"),l=RegExp(c+c+"*$"),d=function(t){return function(e){var n=o(i(e));return 1&t&&(n=s(n,u,"")),2&t&&(n=s(n,l,"")),n}};t.exports={start:d(1),end:d(2),trim:d(3)}},WSbT:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){var e=+t;return e!=e||0===e?0:(e>0?r:n)(e)}},We1y:function(t,e,n){var r=n("2oRo"),i=n("Fib7"),o=n("DVFp"),a=r.TypeError;t.exports=function(t){if(i(t))return t;throw a(o(t)+" is not a function")}},WjRb:function(t,e,n){var r=n("2oRo"),i=n("ROdP"),o=r.TypeError;t.exports=function(t){if(i(t))throw o("The method doesn't accept regular expressions");return t}},X5Zq:function(t,e,n){"use strict";var r=n("67WC"),i=n("4zBA"),o=r.aTypedArray,a=r.exportTypedArrayMethod,s=i([].join);a("join",function(t){return s(o(this),t)})},X7LM:function(t,e,n){"use strict";var r=n("2oRo"),i=n("4zBA"),o=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",c=r.RangeError,u=i(a.exec),l=Math.floor,d=String.fromCharCode,f=i("".charCodeAt),h=i([].join),p=i([].push),v=i("".replace),m=i("".split),g=i("".toLowerCase),y=function(t){return t+22+75*(t<26)},b=function(t,e,n){var r=0;for(t=n?l(t/700):t>>1,t+=l(t/e);t>455;)t=l(t/35),r+=36;return l(r+36*t/(t+38))},w=function(t){var e,n,r=[],i=(t=function(t){for(var e=[],n=0,r=t.length;n<r;){var i=f(t,n++);if(i>=55296&&i<=56319&&n<r){var o=f(t,n++);56320==(64512&o)?p(e,((1023&i)<<10)+(1023&o)+65536):(p(e,i),n--)}else p(e,i)}return e}(t)).length,o=128,a=0,u=72;for(e=0;e<t.length;e++)(n=t[e])<128&&p(r,d(n));var v=r.length,m=v;for(v&&p(r,"-");m<i;){var g=2147483647;for(e=0;e<t.length;e++)(n=t[e])>=o&&n<g&&(g=n);var w=m+1;if(g-o>l((2147483647-a)/w))throw c(s);for(a+=(g-o)*w,o=g,e=0;e<t.length;e++){if((n=t[e])<o&&++a>2147483647)throw c(s);if(n==o){for(var S=a,_=36;;){var k=_<=u?1:_>=u+26?26:_-u;if(S<k)break;var x=S-k,E=36-k;p(r,d(y(k+x%E))),S=l(x/E),_+=36}p(r,d(y(S))),u=b(a,w,m==v),a=0,m++}}a++,o++}return h(r,"")};t.exports=function(t){var e,n,r=[],i=m(v(g(t),a,"."),".");for(e=0;e<i.length;e++)n=i[e],p(r,u(o,n)?"xn--"+w(n):n);return h(r,".")}},XGwC:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},XMab:function(t,e,n){n("dOgj")("Uint8",function(t){return function(e,n,r){return t(this,e,n,r)}})},XUE8:function(t,e,n){var r=n("I+eb"),i=n("xluM"),o=n("hh1v"),a=n("glrk"),s=n("xg1e"),c=n("Bs8V"),u=n("4WOD");r({target:"Reflect",stat:!0},{get:function t(e,n){var r,l,d=arguments.length<3?e:arguments[2];return a(e)===d?e[n]:(r=c.f(e,n))?s(r)?r.value:void 0===r.get?void 0:i(r.get,d):o(l=u(e))?t(l,n,d):void 0}})},XbcX:function(t,e,n){"use strict";var r=n("I+eb"),i=n("or9q"),o=n("We1y"),a=n("ewvW"),s=n("B/qT"),c=n("ZfDv");r({target:"Array",proto:!0},{flatMap:function(t){var e,n=a(this),r=s(n);return o(t),(e=c(n,0)).length=i(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},Xnc8:function(t,e,n){var r=n("g6v/"),i=n("Gi26"),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},YF1G:function(t,e,n){var r=n("xrYK"),i=n("2oRo");t.exports="process"==r(i.process)},YGK4:function(t,e,n){"use strict";n("bWFh")("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},n("ZWaQ"))},YGnB:function(t,e){t.exports="object"==typeof window},YL0P:function(t,e,n){"use strict";var r=n("2oRo"),i=n("0Dky"),o=n("4zBA"),a=n("67WC"),s=n("4mDm"),c=n("tiKp")("iterator"),u=r.Uint8Array,l=o(s.values),d=o(s.keys),f=o(s.entries),h=a.aTypedArray,p=a.exportTypedArrayMethod,v=u&&u.prototype,m=!i(function(){v[c].call([1])}),g=!!v&&v.values&&v[c]===v.values&&"values"===v.values.name,y=function(){return l(h(this))};p("entries",function(){return f(h(this))},m),p("keys",function(){return d(h(this))},m),p("values",y,m||!g,{name:"values"}),p(c,y,m||!g,{name:"values"})},YNrV:function(t,e,n){"use strict";var r=n("g6v/"),i=n("4zBA"),o=n("xluM"),a=n("0Dky"),s=n("33Wh"),c=n("dBg+"),u=n("0eef"),l=n("ewvW"),d=n("RK3t"),f=Object.assign,h=Object.defineProperty,p=i([].concat);t.exports=!f||a(function(){if(r&&1!==f({b:1},f(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=f({},t)[n]||"abcdefghijklmnopqrst"!=s(f({},e)).join("")})?function(t,e){for(var n=l(t),i=arguments.length,a=1,f=c.f,h=u.f;i>a;)for(var v,m=d(arguments[a++]),g=f?p(s(m),f(m)):s(m),y=g.length,b=0;y>b;)v=g[b++],r&&!o(h,m,v)||(n[v]=m[v]);return n}:f},Yhre:function(t,e,n){"use strict";var r=n("2oRo"),i=n("4zBA"),o=n("g6v/"),a=n("qYE9"),s=n("Xnc8"),c=n("kRJp"),u=n("4syw"),l=n("0Dky"),d=n("GarU"),f=n("WSbT"),h=n("UMSQ"),p=n("CyXQ"),v=n("d6cI"),m=n("4WOD"),g=n("0rvr"),y=n("JBy8").f,b=n("m/L8").f,w=n("gdVl"),S=n("Ta7t"),_=n("1E5z"),k=n("afO8"),x=s.PROPER,E=s.CONFIGURABLE,O=k.get,T=k.set,I=r.ArrayBuffer,A=I,C=A&&A.prototype,j=r.DataView,R=j&&j.prototype,L=Object.prototype,M=r.Array,B=r.RangeError,P=i(w),D=i([].reverse),N=v.pack,G=v.unpack,H=function(t){return[255&t]},q=function(t){return[255&t,t>>8&255]},F=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},U=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},W=function(t){return N(t,23,4)},z=function(t){return N(t,52,8)},$=function(t,e){b(t.prototype,e,{get:function(){return O(this)[e]}})},V=function(t,e,n,r){var i=p(n),o=O(t);if(i+e>o.byteLength)throw B("Wrong index");var a=O(o.buffer).bytes,s=i+o.byteOffset,c=S(a,s,s+e);return r?c:D(c)},Y=function(t,e,n,r,i,o){var a=p(n),s=O(t);if(a+e>s.byteLength)throw B("Wrong index");for(var c=O(s.buffer).bytes,u=a+s.byteOffset,l=r(+i),d=0;d<e;d++)c[u+d]=l[o?d:e-d-1]};if(a){var J=x&&"ArrayBuffer"!==I.name;if(l(function(){I(1)})&&l(function(){new I(-1)})&&!l(function(){return new I,new I(1.5),new I(NaN),J&&!E}))J&&E&&c(I,"name","ArrayBuffer");else{(A=function(t){return d(this,C),new I(p(t))}).prototype=C;for(var K,X=y(I),Z=0;X.length>Z;)(K=X[Z++])in A||c(A,K,I[K]);C.constructor=A}g&&m(R)!==L&&g(R,L);var Q=new j(new A(2)),tt=i(R.setInt8);Q.setInt8(0,2147483648),Q.setInt8(1,2147483649),!Q.getInt8(0)&&Q.getInt8(1)||u(R,{setInt8:function(t,e){tt(this,t,e<<24>>24)},setUint8:function(t,e){tt(this,t,e<<24>>24)}},{unsafe:!0})}else C=(A=function(t){d(this,C);var e=p(t);T(this,{bytes:P(M(e),0),byteLength:e}),o||(this.byteLength=e)}).prototype,R=(j=function(t,e,n){d(this,R),d(t,C);var r=O(t).byteLength,i=f(e);if(i<0||i>r)throw B("Wrong offset");if(i+(n=void 0===n?r-i:h(n))>r)throw B("Wrong length");T(this,{buffer:t,byteLength:n,byteOffset:i}),o||(this.buffer=t,this.byteLength=n,this.byteOffset=i)}).prototype,o&&($(A,"byteLength"),$(j,"buffer"),$(j,"byteLength"),$(j,"byteOffset")),u(R,{getInt8:function(t){return V(this,1,t)[0]<<24>>24},getUint8:function(t){return V(this,1,t)[0]},getInt16:function(t){var e=V(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=V(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return U(V(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return U(V(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return G(V(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return G(V(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){Y(this,1,t,H,e)},setUint8:function(t,e){Y(this,1,t,H,e)},setInt16:function(t,e){Y(this,2,t,q,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){Y(this,2,t,q,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){Y(this,4,t,F,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){Y(this,4,t,F,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){Y(this,4,t,W,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){Y(this,8,t,z,e,arguments.length>2?arguments[2]:void 0)}});_(A,"ArrayBuffer"),_(j,"DataView"),t.exports={ArrayBuffer:A,DataView:j}},ZA8W:function(t,e,n){var r;t.exports=(r=n("Ib8C"),r.enc.Hex)},ZJ55:function(t,e,n){"use strict";var r=n("67WC"),i=n("tycR").some,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)})},ZUd8:function(t,e,n){var r=n("4zBA"),i=n("WSbT"),o=n("V37c"),a=n("HYAF"),s=r("".charAt),c=r("".charCodeAt),u=r("".slice),l=function(t){return function(e,n){var r,l,d=o(a(e)),f=i(n),h=d.length;return f<0||f>=h?t?"":void 0:(r=c(d,f))<55296||r>56319||f+1===h||(l=c(d,f+1))<56320||l>57343?t?s(d,f):r:t?u(d,f,f+2):l-56320+(r-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},ZWaQ:function(t,e,n){"use strict";var r=n("m/L8").f,i=n("fHMY"),o=n("4syw"),a=n("A2ZE"),s=n("GarU"),c=n("ImZN"),u=n("fdAy"),l=n("JiZb"),d=n("g6v/"),f=n("8YOa").fastKey,h=n("afO8"),p=h.set,v=h.getterFor;t.exports={getConstructor:function(t,e,n,u){var l=t(function(t,r){s(t,h),p(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),d||(t.size=0),null!=r&&c(r,t[u],{that:t,AS_ENTRIES:n})}),h=l.prototype,m=v(e),g=function(t,e,n){var r,i,o=m(t),a=y(t,e);return a?a.value=n:(o.last=a={index:i=f(e,!0),key:e,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),d?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},y=function(t,e){var n,r=m(t),i=f(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==e)return n};return o(h,{clear:function(){for(var t=m(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,d?t.size=0:this.size=0},delete:function(t){var e=m(this),n=y(this,t);if(n){var r=n.next,i=n.previous;delete e.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),e.first==n&&(e.first=r),e.last==n&&(e.last=i),d?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=m(this),r=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),o(h,n?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),d&&r(h,"size",{get:function(){return m(this).size}}),l},setStrong:function(t,e,n){var r=e+" Iterator",i=v(e),o=v(r);u(t,e,function(t,e){p(this,{type:r,target:t,state:i(t),kind:e,last:void 0})},function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),l(e)}}},ZfDv:function(t,e,n){var r=n("C0Ia");t.exports=function(t,e){return new(r(t))(0===e?0:e)}},a57n:function(t,e,n){n("dG/n")("search")},aO6C:function(t,e,n){var r=n("4zBA"),i=n("0Dky"),o=n("Fib7"),a=n("9d/t"),s=n("0GbY"),c=n("iSVu"),u=function(){},l=[],d=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=r(f.exec),p=!f.exec(u),v=function(t){if(!o(t))return!1;try{return d(u,l,t),!0}catch(t){return!1}},m=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!h(f,c(t))}catch(t){return!0}};m.sham=!0,t.exports=!d||i(function(){var t;return v(v.call)||!v(Object)||!v(function(){t=!0})||t})?m:v},aVqm:function(t,e,n){"use strict";function r(t,e){var n,r,i=window.pageYOffset,o={duration:e.duration,offset:e.offset||0,callback:e.callback,easing:e.easing||function(t,e,n,r){return(t/=r/2)<1?n/2*t*t+e:-n/2*(--t*(t-2)-1)+e}},a="string"==typeof t?o.offset+document.querySelector(t).getBoundingClientRect().top:t,s="function"==typeof o.duration?o.duration(a):o.duration;function c(t){r=t-n,window.scrollTo(0,o.easing(r,i,a,s)),r<s?requestAnimationFrame(c):(window.scrollTo(0,i+a),"function"==typeof o.callback&&o.callback())}requestAnimationFrame(function(t){n=t,c(t)})}n.d(e,"a",function(){return r})},afO8:function(t,e,n){var r,i,o,a=n("f5p1"),s=n("2oRo"),c=n("4zBA"),u=n("hh1v"),l=n("kRJp"),d=n("Gi26"),f=n("xs3f"),h=n("93I0"),p=n("0BK2"),v=s.TypeError,m=s.WeakMap;if(a||f.state){var g=f.state||(f.state=new m),y=c(g.get),b=c(g.has),w=c(g.set);r=function(t,e){if(b(g,t))throw new v("Object already initialized");return e.facade=t,w(g,t,e),e},i=function(t){return y(g,t)||{}},o=function(t){return b(g,t)}}else{var S=h("state");p[S]=!0,r=function(t,e){if(d(t,S))throw new v("Object already initialized");return e.facade=t,l(t,S,e),e},i=function(t){return d(t,S)?t[S]:{}},o=function(t){return d(t,S)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=i(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return n}}}},b1O7:function(t,e,n){var r=n("g6v/"),i=n("4zBA"),o=n("33Wh"),a=n("/GqU"),s=i(n("0eef").f),c=i([].push),u=function(t){return function(e){for(var n,i=a(e),u=o(i),l=u.length,d=0,f=[];l>d;)n=u[d++],r&&!s(i,n)||c(f,t?[n,i[n]]:i[n]);return f}};t.exports={entries:u(!0),values:u(!1)}},bWFh:function(t,e,n){"use strict";var r=n("I+eb"),i=n("2oRo"),o=n("4zBA"),a=n("lMq5"),s=n("busE"),c=n("8YOa"),u=n("ImZN"),l=n("GarU"),d=n("Fib7"),f=n("hh1v"),h=n("0Dky"),p=n("HH4o"),v=n("1E5z"),m=n("cVYH");t.exports=function(t,e,n){var g=-1!==t.indexOf("Map"),y=-1!==t.indexOf("Weak"),b=g?"set":"add",w=i[t],S=w&&w.prototype,_=w,k={},x=function(t){var e=o(S[t]);s(S,t,"add"==t?function(t){return e(this,0===t?0:t),this}:"delete"==t?function(t){return!(y&&!f(t))&&e(this,0===t?0:t)}:"get"==t?function(t){return y&&!f(t)?void 0:e(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!f(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(a(t,!d(w)||!(y||S.forEach&&!h(function(){(new w).entries().next()}))))_=n.getConstructor(e,t,g,b),c.enable();else if(a(t,!0)){var E=new _,O=E[b](y?{}:-0,1)!=E,T=h(function(){E.has(1)}),I=p(function(t){new w(t)}),A=!y&&h(function(){for(var t=new w,e=5;e--;)t[b](e,e);return!t.has(-0)});I||((_=e(function(t,e){l(t,S);var n=m(new w,t,_);return null!=e&&u(e,n[b],{that:n,AS_ENTRIES:g}),n})).prototype=S,S.constructor=_),(T||A)&&(x("delete"),x("has"),g&&x("get")),(A||O)&&x(b),y&&S.clear&&delete S.clear}return k[t]=_,r({global:!0,forced:_!=w},k),v(_,t),y||n.setStrong(_,t,g),_}},bZMm:function(t,e,n){"use strict";var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r&&r,i={searchParams:"URLSearchParams"in r,iterable:"Symbol"in r&&"iterator"in Symbol,blob:"FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in r,arrayBuffer:"ArrayBuffer"in r};if(i.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(t){return t&&o.indexOf(Object.prototype.toString.call(t))>-1};function s(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function c(t){return"string"!=typeof t&&(t=String(t)),t}function u(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return i.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function d(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise(function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}})}function h(t){var e=new FileReader,n=f(e);return e.readAsArrayBuffer(t),n}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:i.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:i.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():i.arrayBuffer&&i.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||a(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var t=d(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=d(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(h)}),this.text=function(){var t,e,n,r=d(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,n=f(e),e.readAsText(t),n;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r<e.length;r++)n[r]=String.fromCharCode(e[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=s(t),e=c(e);var n=this.map[t];this.map[t]=n?n+", "+e:e},l.prototype.delete=function(t){delete this.map[s(t)]},l.prototype.get=function(t){return t=s(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(s(t))},l.prototype.set=function(t,e){this.map[s(t)]=c(e)},l.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},l.prototype.keys=function(){var t=[];return this.forEach(function(e,n){t.push(n)}),u(t)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),u(t)},l.prototype.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),u(t)},i.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,e){if(!(this instanceof g))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(e=e||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(n=e.method||this.method||"GET",r=n.toUpperCase(),m.indexOf(r)>-1?r:n),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function y(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}}),e}function b(t,e){if(!(this instanceof b))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},v.call(g.prototype),v.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var w=[301,302,303,307,308];b.redirect=function(t,e){if(-1===w.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})};var S=r.DOMException;try{new S}catch(t){(S=function(t,e){this.message=t,this.name=e;var n=Error(t);this.stack=n.stack}).prototype=Object.create(Error.prototype),S.prototype.constructor=S}function _(t,e){return new Promise(function(n,o){var a=new g(t,e);if(a.signal&&a.signal.aborted)return o(new S("Aborted","AbortError"));var s=new XMLHttpRequest;function u(){s.abort()}s.onload=function(){var t,e,r={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t}).forEach(function(t){var n=t.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();e.append(r,i)}}),e)};r.url="responseURL"in s?s.responseURL:r.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;setTimeout(function(){n(new b(i,r))},0)},s.onerror=function(){setTimeout(function(){o(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){o(new TypeError("Network request failed"))},0)},s.onabort=function(){setTimeout(function(){o(new S("Aborted","AbortError"))},0)},s.open(a.method,function(t){try{return""===t&&r.location.href?r.location.href:t}catch(e){return t}}(a.url),!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&(i.blob?s.responseType="blob":i.arrayBuffer&&a.headers.get("Content-Type")&&-1!==a.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!e||"object"!=typeof e.headers||e.headers instanceof l?a.headers.forEach(function(t,e){s.setRequestHeader(e,t)}):Object.getOwnPropertyNames(e.headers).forEach(function(t){s.setRequestHeader(t,c(e.headers[t]))}),a.signal&&(a.signal.addEventListener("abort",u),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",u)}),s.send(void 0===a._bodyInit?null:a._bodyInit)})}_.polyfill=!0,r.fetch||(r.fetch=_,r.Headers=l,r.Request=g,r.Response=b)},bhUR:function(t,e,n){},busE:function(t,e,n){var r=n("2oRo"),i=n("Fib7"),o=n("Gi26"),a=n("kRJp"),s=n("zk60"),c=n("iSVu"),u=n("afO8"),l=n("Xnc8").CONFIGURABLE,d=u.get,f=u.enforce,h=String(String).split("String");(t.exports=function(t,e,n,c){var u,d=!!c&&!!c.unsafe,p=!!c&&!!c.enumerable,v=!!c&&!!c.noTargetGet,m=c&&void 0!==c.name?c.name:e;i(n)&&("Symbol("===String(m).slice(0,7)&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(n,"name")||l&&n.name!==m)&&a(n,"name",m),(u=f(n)).source||(u.source=h.join("string"==typeof m?m:""))),t!==r?(d?!v&&t[e]&&(p=!0):delete t[e],p?t[e]=n:a(t,e,n)):p?t[e]=n:s(e,n)})(Function.prototype,"toString",function(){return i(this)&&d(this).source||c(this)})},c162:function(t,e,n){"use strict";var r=n("67WC"),i=n("xluM"),o=n("gdVl"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",function(t){var e=arguments.length;return i(o,a(this),t,e>1?arguments[1]:void 0,e>2?arguments[2]:void 0)})},c9m3:function(t,e,n){n("RNIs")("flatMap")},cVYH:function(t,e,n){var r=n("Fib7"),i=n("hh1v"),o=n("0rvr");t.exports=function(t,e,n){var a,s;return o&&r(a=e.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(t,s),t}},cvf0:function(t,e,n){"use strict";var r=n("67WC").exportTypedArrayMethod,i=n("0Dky"),o=n("2oRo"),a=n("4zBA"),s=o.Uint8Array,c=s&&s.prototype||{},u=[].toString,l=a([].join);i(function(){u.call({})})&&(u=function(){return l(this)});var d=c.toString!=u;r("toString",u,d)},d6cI:function(t,e,n){var r=n("2oRo").Array,i=Math.abs,o=Math.pow,a=Math.floor,s=Math.log,c=Math.LN2;t.exports={pack:function(t,e,n){var u,l,d,f=r(n),h=8*n-e-1,p=(1<<h)-1,v=p>>1,m=23===e?o(2,-24)-o(2,-77):0,g=t<0||0===t&&1/t<0?1:0,y=0;for((t=i(t))!=t||t===1/0?(l=t!=t?1:0,u=p):(u=a(s(t)/c),t*(d=o(2,-u))<1&&(u--,d*=2),(t+=u+v>=1?m/d:m*o(2,1-v))*d>=2&&(u++,d/=2),u+v>=p?(l=0,u=p):u+v>=1?(l=(t*d-1)*o(2,e),u+=v):(l=t*o(2,v-1)*o(2,e),u=0));e>=8;)f[y++]=255&l,l/=256,e-=8;for(u=u<<e|l,h+=e;h>0;)f[y++]=255&u,u/=256,h-=8;return f[--y]|=128*g,f},unpack:function(t,e){var n,r=t.length,i=8*r-e-1,a=(1<<i)-1,s=a>>1,c=i-7,u=r-1,l=t[u--],d=127&l;for(l>>=7;c>0;)d=256*d+t[u--],c-=8;for(n=d&(1<<-c)-1,d>>=-c,c+=e;c>0;)n=256*n+t[u--],c-=8;if(0===d)d=1-s;else{if(d===a)return n?NaN:l?-1/0:1/0;n+=o(2,e),d-=s}return(l?-1:1)*n*o(2,d-e)}}},"dBg+":function(t,e){e.f=Object.getOwnPropertySymbols},"dG/n":function(t,e,n){var r=n("Qo9l"),i=n("Gi26"),o=n("5Tg+"),a=n("m/L8").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},dOgj:function(t,e,n){"use strict";var r=n("I+eb"),i=n("2oRo"),o=n("xluM"),a=n("g6v/"),s=n("iqeF"),c=n("67WC"),u=n("Yhre"),l=n("GarU"),d=n("XGwC"),f=n("kRJp"),h=n("6sUC"),p=n("UMSQ"),v=n("CyXQ"),m=n("GC2F"),g=n("oEtG"),y=n("Gi26"),b=n("9d/t"),w=n("hh1v"),S=n("2bX/"),_=n("fHMY"),k=n("OpvP"),x=n("0rvr"),E=n("JBy8").f,O=n("oHi+"),T=n("tycR").forEach,I=n("JiZb"),A=n("m/L8"),C=n("Bs8V"),j=n("afO8"),R=n("cVYH"),L=j.get,M=j.set,B=A.f,P=C.f,D=Math.round,N=i.RangeError,G=u.ArrayBuffer,H=G.prototype,q=u.DataView,F=c.NATIVE_ARRAY_BUFFER_VIEWS,U=c.TYPED_ARRAY_CONSTRUCTOR,W=c.TYPED_ARRAY_TAG,z=c.TypedArray,$=c.TypedArrayPrototype,V=c.aTypedArrayConstructor,Y=c.isTypedArray,J=function(t,e){V(t);for(var n=0,r=e.length,i=new t(r);r>n;)i[n]=e[n++];return i},K=function(t,e){B(t,e,{get:function(){return L(this)[e]}})},X=function(t){var e;return k(H,t)||"ArrayBuffer"==(e=b(t))||"SharedArrayBuffer"==e},Z=function(t,e){return Y(t)&&!S(e)&&e in t&&h(+e)&&e>=0},Q=function(t,e){return e=g(e),Z(t,e)?d(2,t[e]):P(t,e)},tt=function(t,e,n){return e=g(e),!(Z(t,e)&&w(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?B(t,e,n):(t[e]=n.value,t)};a?(F||(C.f=Q,A.f=tt,K($,"buffer"),K($,"byteOffset"),K($,"byteLength"),K($,"length")),r({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:Q,defineProperty:tt}),t.exports=function(t,e,n){var a=t.match(/\d+$/)[0]/8,c=t+(n?"Clamped":"")+"Array",u="get"+t,d="set"+t,h=i[c],g=h,y=g&&g.prototype,b={},S=function(t,e){B(t,e,{get:function(){return function(t,e){var n=L(t);return n.view[u](e*a+n.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,r){var i=L(t);n&&(r=(r=D(r))<0?0:r>255?255:255&r),i.view[d](e*a+i.byteOffset,r,!0)}(this,e,t)},enumerable:!0})};F?s&&(g=e(function(t,e,n,r){return l(t,y),R(w(e)?X(e)?void 0!==r?new h(e,m(n,a),r):void 0!==n?new h(e,m(n,a)):new h(e):Y(e)?J(g,e):o(O,g,e):new h(v(e)),t,g)}),x&&x(g,z),T(E(h),function(t){t in g||f(g,t,h[t])}),g.prototype=y):(g=e(function(t,e,n,r){l(t,y);var i,s,c,u=0,d=0;if(w(e)){if(!X(e))return Y(e)?J(g,e):o(O,g,e);i=e,d=m(n,a);var f=e.byteLength;if(void 0===r){if(f%a)throw N("Wrong length");if((s=f-d)<0)throw N("Wrong length")}else if((s=p(r)*a)+d>f)throw N("Wrong length");c=s/a}else c=v(e),i=new G(s=c*a);for(M(t,{buffer:i,byteOffset:d,byteLength:s,length:c,view:new q(i)});u<c;)S(t,u++)}),x&&x(g,z),y=g.prototype=_($)),y.constructor!==g&&f(y,"constructor",g),f(y,U,g),W&&f(y,W,c),b[c]=g,r({global:!0,forced:g!=h,sham:!F},b),"BYTES_PER_ELEMENT"in g||f(g,"BYTES_PER_ELEMENT",a),"BYTES_PER_ELEMENT"in y||f(y,"BYTES_PER_ELEMENT",a),I(c)}):t.exports=function(){}},"eDl+":function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},eFrH:function(t,e,n){var r=n("zBJ4")("span").classList,i=r&&r.constructor&&r.constructor.prototype;t.exports=i===Object.prototype?void 0:i},ewvW:function(t,e,n){var r=n("2oRo"),i=n("HYAF"),o=r.Object;t.exports=function(t){return o(i(t))}},ezDJ:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("6Ssv"),i=n("qLbo"),o=function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}c((r=r.apply(t,e||[])).next())})},a=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},s=function(){function t(){var t,e,n,o;this.domain=null===(e=null===(t=null===window||void 0===window?void 0:window.eb)||void 0===t?void 0:t.params)||void 0===e?void 0:e.authHost,this.eaid=null===(o=null===(n=null===window||void 0===window?void 0:window.eb)||void 0===n?void 0:n.params)||void 0===o?void 0:o.eaid,this.euid=r.a?localStorage.getItem(i.b.EUID):null}return t.prototype.getEuid=function(){return o(this,void 0,void 0,function(){var t,e,n;return a(this,function(o){switch(o.label){case 0:if(this.euid&&this.validateEuid()||!this.eaid||!this.domain)return[2,this.euid];o.label=1;case 1:return o.trys.push([1,4,,5]),[4,fetch(this.domain+"/api/v1/auth",{method:"POST",headers:{"x-easy-eaid":String(this.eaid),"Accept-Encoding":"gzip, deflate","Content-Encoding":"gzip"},body:JSON.stringify({})})];case 2:return[4,o.sent().json()];case 3:return t=o.sent(),e=t.euid,r.a&&e&&localStorage.setItem(i.b.EUID,e),[2,null!=e?e:null];case 4:return n=o.sent(),console.warn(n),[2,null];case 5:return[2]}})})},t.prototype.validateEuid=function(){if(!this.euid)return!1;return/^[a-f0-9]{64}$/i.test(this.euid)},t}()},f3jH:function(t,e,n){var r=n("I+eb"),i=n("glrk"),o=n("4WOD");r({target:"Reflect",stat:!0,sham:!n("4Xet")},{getPrototypeOf:function(t){return o(i(t))}})},f5p1:function(t,e,n){var r=n("2oRo"),i=n("Fib7"),o=n("iSVu"),a=r.WeakMap;t.exports=i(a)&&/native code/.test(o(a))},fHMY:function(t,e,n){var r,i=n("glrk"),o=n("N+g0"),a=n("eDl+"),s=n("0BK2"),c=n("G+Rx"),u=n("zBJ4"),l=n("93I0"),d=l("IE_PROTO"),f=function(){},h=function(t){return"<script>"+t+"<\/script>"},p=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e;v="undefined"!=typeof document?document.domain&&r?p(r):((e=u("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):p(r);for(var n=a.length;n--;)delete v.prototype[a[n]];return v()};s[d]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=i(t),n=new f,f.prototype=null,n[d]=t):n=v(),void 0===e?n:o.f(n,e)}},fdAy:function(t,e,n){"use strict";var r=n("I+eb"),i=n("xluM"),o=n("xDBR"),a=n("Xnc8"),s=n("Fib7"),c=n("ntOU"),u=n("4WOD"),l=n("0rvr"),d=n("1E5z"),f=n("kRJp"),h=n("busE"),p=n("tiKp"),v=n("P4y1"),m=n("rpNk"),g=a.PROPER,y=a.CONFIGURABLE,b=m.IteratorPrototype,w=m.BUGGY_SAFARI_ITERATORS,S=p("iterator"),_=function(){return this};t.exports=function(t,e,n,a,p,m,k){c(n,e,a);var x,E,O,T=function(t){if(t===p&&R)return R;if(!w&&t in C)return C[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},I=e+" Iterator",A=!1,C=t.prototype,j=C[S]||C["@@iterator"]||p&&C[p],R=!w&&j||T(p),L="Array"==e&&C.entries||j;if(L&&(x=u(L.call(new t)))!==Object.prototype&&x.next&&(o||u(x)===b||(l?l(x,b):s(x[S])||h(x,S,_)),d(x,I,!0,!0),o&&(v[I]=_)),g&&"values"==p&&j&&"values"!==j.name&&(!o&&y?f(C,"name","values"):(A=!0,R=function(){return i(j,this)})),p)if(E={values:T("values"),keys:m?R:T("keys"),entries:T("entries")},k)for(O in E)!w&&!A&&O in C||h(C,O,E[O]);else r({target:e,proto:!0,forced:w||A},E);return o&&!k||C[S]===R||h(C,S,R,{name:p}),v[e]=R,E}},fhKU:function(t,e,n){var r=n("2oRo"),i=n("0Dky"),o=n("4zBA"),a=n("V37c"),s=n("WKiH").trim,c=n("WJkJ"),u=o("".charAt),l=r.parseFloat,d=r.Symbol,f=d&&d.iterator,h=1/l(c+"-0")!=-1/0||f&&!i(function(){l(Object(f))});t.exports=h?function(t){var e=s(a(t)),n=l(e);return 0===n&&"-"==u(e,0)?-0:n}:l},ftMj:function(t,e,n){var r=n("I+eb"),i=n("xluM"),o=n("glrk"),a=n("hh1v"),s=n("xg1e"),c=n("0Dky"),u=n("m/L8"),l=n("Bs8V"),d=n("4WOD"),f=n("XGwC");r({target:"Reflect",stat:!0,forced:c(function(){var t=function(){},e=u.f(new t,"a",{configurable:!0});return!1!==Reflect.set(t.prototype,"a",1,e)})},{set:function t(e,n,r){var c,h,p,v=arguments.length<4?e:arguments[3],m=l.f(o(e),n);if(!m){if(a(h=d(e)))return t(h,n,r,v);m=f(0)}if(s(m)){if(!1===m.writable||!a(v))return!1;if(c=l.f(v,n)){if(c.get||c.set||!1===c.writable)return!1;c.value=r,u.f(v,n,c)}else u.f(v,n,f(0,r))}else{if(void 0===(p=m.set))return!1;i(p,v,r)}return!0}})},"g6v/":function(t,e,n){var r=n("0Dky");t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},gOCb:function(t,e,n){n("dG/n")("replace")},gQOP:function(t,e,n){"use strict";n.d(e,"o",function(){return d}),n.d(e,"j",function(){return g}),n.d(e,"v",function(){return y}),n.d(e,"k",function(){return b}),n.d(e,"w",function(){return w}),n.d(e,"g",function(){return S}),n.d(e,"a",function(){return _}),n.d(e,"i",function(){return k}),n.d(e,"h",function(){return x}),n.d(e,"n",function(){return E}),n.d(e,"d",function(){return O}),n.d(e,"q",function(){return T}),n.d(e,"r",function(){return I}),n.d(e,"s",function(){return A}),n.d(e,"p",function(){return C}),n.d(e,"b",function(){return j}),n.d(e,"u",function(){return R}),n.d(e,"t",function(){return L}),n.d(e,"m",function(){return M}),n.d(e,"l",function(){return B}),n.d(e,"c",function(){return P}),n.d(e,"f",function(){return D}),n.d(e,"e",function(){return G});var r=n("KxHI"),i=n("6Ssv"),o=n("qLbo"),a=n("88L7"),s=n("vTjZ"),c=n("5z3c"),u=function(){return(u=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},l=function(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))},d=function(t,e,n){switch(!0){case t===r.j.daily:var i=n.split("_").map(function(t){return parseInt(t)});return"/api/dc/"+i[0]+"-"+(i[1]+1)+"-"+i[2]+"?v=2";default:return"extreme"!==e&&!window.useLevelCoreBase||t!==r.j.classic?"/api/level/"+e+(t===r.j.killer?"?mode=killer":""):"/api/v2/level/"+e}},f=function(t,e){var n=[],r=0;for(t.forEach(function(t,n){t.cellId===e&&(r=n)}),n.push(t[r]),t.splice(r,1);t.length;)t[r]&&t[r-1]?(n.push([t[r],t[r-1]]),t.splice(r-1,2),r--):0===r?(n.push(t[r]),t.splice(r,1)):r===t.length&&(n.push(t[r-1]),t.splice(r-1,1),r--);return n},h=37,p=38,v=39,m=40,g=function(t,e,n){var r=[];if(!e||!e.length)return r;for(var i=0;i<t.length;i++)e[i].row!==e[n].row&&e[i].col!==e[n].col&&e[i].cubeId!==e[n].cubeId||!t[i]||i===n||r.push({cell:i,notes:l([],t[i],!0)});return r},y=function(t,e,n){var r=t.values,i=t.notes,o=r[n].val,a=l([],i,!0);if(!e||!e.length)return a;for(var s=0;s<a.length;s++)e[s].row!==e[n].row&&e[s].col!==e[n].col&&e[s].cubeId!==e[n].cubeId||!a[s]||a[s][o-1]!==o||(a[s][o-1]=null);return a},b=function(t,e,n){var r=t.values,i=t.solution;if(!e||!e.length)return 1;for(var o=[],a=[],s=[],c=0;c<r.length;c++)r[c].val===i[c]&&(e[c].row===e[n].row&&o.push(c),e[c].col===e[n].col&&a.push(c),e[c].cubeId===e[n].cubeId&&s.push(c));var u=0;return 9===o.length&&(u+=5),9===a.length&&(u+=5),9===s.length&&(u+=5),u||1},w=function(t,e,n,r){var i=t.values,o=t.solution,a=l([],i,!0);if(!e||!e.length)return a;for(var s=0;s<a.length;s++)r||(a[s].conflict=!1),a[s].mistake=!1;for(s=0;s<a.length;s++){n&&!r&&i[s].val&&o[s]!==i[s].val&&(a[s].mistake=!0);for(var c=0;c<a.length;c++)a[s].val&&s!==c&&a[s].val===a[c].val&&(e[s].row!==e[c].row&&e[s].col!==e[c].col&&e[s].cubeId!==e[c].cubeId||(r?a[s].mistake=!0:a[s].conflict=!0))}return a},S=function(t){return t.split("").map(function(t){return{val:parseInt(t),editable:!parseInt(t)}})},_=function(t,e){var n=t;switch(e){case h:n%9!=0&&n--;break;case v:(n+1)%9!=0&&n++;break;case p:n>8&&(n-=9);break;case m:n<72&&(n+=9)}return n},k=function(t,e){var n=[],r=[t];n.push(e[t]);for(var i=e[t].col-1,o=e[t].col+1,a=e[t].row-1,s=e[t].row+1;i>=0||o<=8||a>=0||s<=8;){for(var c=[],u=0;u<81;u++)e[u].row>=a&&e[u].row<=s&&e[u].col>=i&&e[u].col<=o&&!r.includes(u)&&(c.push(e[u]),r.push(u));n.push(c),i--,a--,s++,o++}return n},x=function(t,e,n){var i=t.values,o=t.cages,a=t.mode,s=t.solution,c=[],l=[],d=[],h=[],p=a===r.j.killer?o.find(function(t){return t.includes(e)}):null,v=p&&p.every(function(t){return i[t].val});if(!n||!n.length)return c;for(var m=0;m<81;m++)i[m].val===s[m]&&(n[m].row===n[e].row&&l.push(u({cellId:m},n[m])),n[m].col===n[e].col&&d.push(u({cellId:m},n[m])),n[m].cubeId===n[e].cubeId&&h.push(u({cellId:m},n[m])));if(9===h.length&&c.push(h),9!==l.length||0!==n[e].row&&8!==n[e].col||c.push(0===e?l:l.reverse()),9!==d.length||0!==n[e].row&&8!==n[e].col||c.push(0===e?d:d.reverse()),9!==d.length||0===n[e].row&&8===n[e].col||c.push(f(d,e)),9!==l.length||0===n[e].row&&8===n[e].col||c.push(f(l,e)),v){var g=[];p.forEach(function(t){i[t].val===s[t]&&g.push(u({cellId:t},n[t]))}),p.length===g.length&&c.push(g)}return c},E=function(t){for(var e=t.values,n=t.solution,r=0;r<81;r++)if(n[r]!==e[r].val)return!1;return!0},O=function(){i.a&&(localStorage.removeItem("difficulty"),localStorage.removeItem("mode"),localStorage.removeItem("userGrid"),localStorage.removeItem("clearGrid"),localStorage.removeItem("puzzleGrid"),localStorage.removeItem("timePassed"),localStorage.removeItem("pencilGrid"),localStorage.removeItem("cages"),localStorage.removeItem("winRate"),localStorage.removeItem("lastGameDifficulty"),localStorage.removeItem("lastGameTime"))},T=function(t){i.a&&window.localStorage.setItem(o.b.HISTORY_ACTIONS,JSON.stringify(t))},I=function(t,e){if(i.a)switch(t.mode){case r.j.daily:var n=JSON.parse(localStorage.getItem(o.b.DAILY))||{};n[e]=u(u({},n[e]||{}),t),window.localStorage.setItem(o.b.DAILY,JSON.stringify(n));break;case r.j.classic:case r.j.killer:window.localStorage.setItem(t.mode===r.j.killer?o.b.MAIN_GAME_KILLER:o.b.MAIN_GAME,JSON.stringify(t))}},A=function(t){i.a&&window.localStorage.setItem(a.a.MAIN_GAME,JSON.stringify(t))},C=function(){i.a&&window.localStorage.removeItem(a.a.MAIN_GAME)},j=function(t,e,n){var r,i,o;if(!(t.clearGrid&&t.userGrid&&t.solvedGrid))return t;var a=t.clearGrid.join(""),s=S(a);s.forEach(function(e,n){!e.val&&t.userGrid[n]&&(e.val=parseInt(t.userGrid[n]),"number"==typeof t.userGrid[n]&&(e.editable=!1))});var c={mode:t.mode,difficulty:t.difficulty,values:w({values:s,solution:t.solvedGrid},e,n),solution:t.solvedGrid,loaded:!0,mission:a,showWinRate:!1,winRate:null!==(r=t.winRate)&&void 0!==r?r:0,timer:null!==(i=t.timePassed)&&void 0!==i?i:0,notes:t.pencilGrid||[],cages:t.cages};return(null===(o=c.difficulty)||void 0===o?void 0:o.indexOf('"'))>=0&&(c.difficulty=JSON.parse(c.difficulty)),t.id&&(c.id=t.id),c},R=function(t,e){var n;if(i.a){if(t.mode===r.j.daily){var a=JSON.parse(localStorage.getItem(o.b.DAILY))||{};(null===(n=a[e])||void 0===n?void 0:n.done)?sessionStorage.removeItem("dc-win-date"):sessionStorage.setItem("dc-win-date",e),a[e].done=!0,delete a[e].mission,delete a[e].difficulty,delete a[e].notes,delete a[e].solution,delete a[e].timer,delete a[e].values,localStorage.setItem(o.b.DAILY,JSON.stringify(a))}else[r.j.killer,r.j.classic].includes(t.mode)&&localStorage.removeItem(t.mode===r.j.killer?o.b.MAIN_GAME_KILLER:o.b.MAIN_GAME);localStorage.removeItem(o.b.HISTORY_ACTIONS)}},L=function(t){var e,n,i=t.mode,o=t.id,a=t.difficulty;try{switch(!0){case i===r.j.daily:e="/api/dc/finish",n={id:o};break;case[r.j.killer,r.j.classic].includes(i):e="/api/level/finish",n={level_id:o,d:r.d.findIndex(function(t){return t===a})}}n&&e&&fetch(e,u(u({},s.a.post),{body:JSON.stringify(n)}))}catch(t){console.warn(t)}},M=function(t,e){var n=t.values,i=t.cages,o=t.mode,a=t.solution,s=o===r.j.killer?i.find(function(t){return t.includes(e)}):null;return s&&s.every(function(t){return n[t].val&&a[t]===n[t].val})},B=function(t,e,n){var r=0,i=0,o=0;return t.forEach(function(t,a){if(!t.val||t.mistake||!e||!e[a])return!1;e[a].row===e[n].row&&r++,e[a].col===e[n].col&&i++,e[a].cubeId===e[n].cubeId&&o++}),9===r||9===i||9===o},P=function(t){var e=0;return t.forEach(function(t){(!t.val||t.val&&t.mistake)&&e++}),e},D=function(t,e,n){var i={rows:{},cols:{},cubs:{}},o=t.values.reduce(function(t,n,r){return l(l([],t,!0),[u(u(u({},n),e[r]),{index:r})],!1)},[]),a=t.notes.reduce(function(t,n,r){return l(l([],t,!0),[u(u({notes:n},e[r]),{index:r})],!1)},[]),s=o.reduce(function(t,e){var r,o,a;return e.val&&!e.mistake?t:(i.rows[e.row]=(null!==(r=i.rows[e.row])&&void 0!==r?r:0)+1,i.cols[e.col]=(null!==(o=i.cols[e.col])&&void 0!==o?o:0)+1,i.cubs[e.cubeId]=(null!==(a=i.cubs[e.cubeId])&&void 0!==a?a:0)+1,e.index===n?l([e],t,!0):l(l([],t,!0),[e],!1))},[]),d=[],f=[],h=[];if(Object.keys(i.cols).forEach(function(t){1===i.cols[t]&&d.push(parseInt(t))}),Object.keys(i.rows).forEach(function(t){1===i.rows[t]&&f.push(parseInt(t))}),Object.keys(i.cubs).forEach(function(t){1===i.cubs[t]&&h.push(t)}),(d.length||f.length||h.length)&&!window.disableLastFreeCell){var p={},v=s.find(function(t){return t.index===n&&(f.includes(t.row)?(p={type:"row",val:t.row},!0):d.includes(t.col)?(p={type:"col",val:t.col},!0):h.includes(t.cubeId)?(p={type:"cube",val:t.cubeId},!0):void 0)}),m=s.find(function(t){return f.includes(t.row)?(p={type:"row",val:t.row},!0):d.includes(t.col)?(p={type:"col",val:t.col},!0):h.includes(t.cubeId)?(p={type:"cube",val:t.cubeId},!0):void 0});if(!(v||m).mistake)return{cell:v||m,type:r.o.LastFreeCell,additionalData:p}}for(var g=function(t){var e=Array.from({length:9},function(t,e){return e+1}),n=s[t],i=o.filter(function(t){return t.cubeId===n.cubeId}),a=s.filter(function(t){return t.cubeId===n.cubeId&&t.index!==n.index}),c=a.reduce(function(t,e){return t.rows.includes(e.row)||e.row===n.row||t.rows.push(e.row),t.cols.includes(e.col)||e.col===n.col||t.cols.push(e.col),t},{rows:[],cols:[]});i.forEach(function(t){if(t.val&&!t.mistake){var n=e.indexOf(t.val);-1!==n&&e.splice(n,1)}});for(var u=function(t){var i={rows:[],cols:[],cubs:[]},s=o.filter(function(r){if(r.cubeId!==n.cubeId&&!r.mistake&&r.val===e[t]&&(c.rows.includes(r.row)||c.cols.includes(r.col)))return c.rows.includes(r.row)&&i.rows.push(r.row),c.cols.includes(r.col)&&i.cols.push(r.col),!0});if(!a.filter(function(t){return!s.find(function(e){return e.row===t.row||e.col===t.col})}).length&&!window.disableLastRemainingCell&&!n.mistake)return{value:{cell:n,type:r.o.LastRemainingCell,additionalData:{type:"cube",val:n.cubeId,arrWithValues:s,highlightedItems:i}}}},l=0;l<e.length;l++){var d=u(l);if("object"==typeof d)return d}},y=0;y<s.length;y++){var b=g(y);if("object"==typeof b)return b.value}var w=function(t){var e=Array.from({length:9},function(t,e){return e+1}),n=Array.from({length:9},function(t,e){return e}),i=[];o.forEach(function(r){if(r.row===t&&r.val&&!r.mistake){var o=e.indexOf(r.val),a=n.indexOf(r.col);-1!==o&&e.splice(o,1),-1!==a&&n.splice(a,1)}i.includes(r.cubeId)||Math.floor(t/3)!==parseInt(r.cubeId[0])||i.push(r.cubeId)});for(var a=[],s=[],c=[],u=function(u){var d=e[u],f=l([],n,!0),h=l([],i,!0);a=[],s=[],c=[],o.forEach(function(t){if(h.includes(t.cubeId)&&t.val&&!t.mistake&&d===t.val&&-1!==h.indexOf(t.cubeId)){var e=parseInt(t.cubeId[1]);f.forEach(function(t){Math.floor(t/3)===e&&c.push(t)}),a.push(t.cubeId)}}),o.forEach(function(t){f.includes(t.col)&&!s.includes(t.col)&&!t.mistake&&t.val&&d===t.val&&s.push(t.col)});var p=N(s.sort(),c.sort()),v=l(l([],s,!0),c,!0).filter(function(t,e,n){return n.indexOf(t)===e});if(f.length-v.length==1&&!window.disableLastRemainingCell){var m=f.filter(function(t){return!v.includes(t)})[0],g=o.find(function(e){return e.col===m&&e.row===t}),y=s.filter(function(e){return!a.includes(""+Math.floor(t/3)+Math.floor(e/3))}),b=o.filter(function(t){return!t.mistake&&t.val===d&&((p?s:y).includes(t.col)||!p&&a.includes(t.cubeId))});if(!g.mistake)return{value:{cell:g,type:r.o.LastRemainingCell,additionalData:{type:"row",val:d,arrWithValues:b,highlightedItems:{cols:p?s:y,cubs:p?[]:a,rows:[]}}}}}},d=0;d<e.length;d++){var f=u(d);if("object"==typeof f)return f}};for(y=0;y<9;y++){var S=w(y);if("object"==typeof S)return S.value}var _=function(t){var e=Array.from({length:9},function(t,e){return e+1}),n=Array.from({length:9},function(t,e){return e}),i=[];o.forEach(function(r){if(r.col===t&&r.val&&!r.mistake){var o=e.indexOf(r.val),a=n.indexOf(r.row);-1!==o&&e.splice(o,1),-1!==a&&n.splice(a,1)}i.includes(r.cubeId)||Math.floor(t/3)!==parseInt(r.cubeId[1])||i.push(r.cubeId)});for(var a=[],s=[],c=[],u=function(u){var d=e[u],f=l([],n,!0),h=l([],i,!0);a=[],s=[],c=[],o.forEach(function(t){if(h.includes(t.cubeId)&&t.val&&d===t.val&&!t.mistake&&-1!==h.indexOf(t.cubeId)){var e=parseInt(t.cubeId[0]);f.forEach(function(t){Math.floor(t/3)===e&&c.push(t)}),a.push(t.cubeId)}}),o.forEach(function(t){f.includes(t.row)&&!s.includes(t.row)&&t.val&&d===t.val&&!t.mistake&&s.push(t.row)});var p=N(s.sort(),c.sort()),v=l(l([],s,!0),c,!0).filter(function(t,e,n){return n.indexOf(t)===e});if(f.length-v.length==1&&!window.disableLastRemainingCell){var m=f.filter(function(t){return!v.includes(t)})[0],g=o.find(function(e){return e.row===m&&e.col===t}),y=s.filter(function(e){return!a.includes(""+Math.floor(e/3)+Math.floor(t/3))}),b=o.filter(function(t){return!t.mistake&&t.val===d&&((p?s:y).includes(t.row)||!p&&a.includes(t.cubeId))});if(!g.mistake)return{value:{cell:g,type:r.o.LastRemainingCell,additionalData:{type:"col",val:d,arrWithValues:b,highlightedItems:{rows:p?s:y,cubs:p?[]:a,cols:[]}}}}}},d=0;d<e.length;d++){var f=u(d);if("object"==typeof f)return f}};for(y=0;y<9;y++){var k=_(y);if("object"==typeof k)return k.value}var x=function(t){var e=Array.from({length:9},function(t,e){return e+1}),n=s[t],i=o.filter(function(t){return(t.col===n.col||t.row===n.row||t.cubeId===n.cubeId)&&t.val&&!t.mistake}),a=[],c={};if(i.forEach(function(t){var r=e.indexOf(t.val);-1!==r&&(a.push(t.index),e.splice(r,1),n.cubeId!==t.cubeId&&n.row===t.row&&(c.row=t.row),n.cubeId!==t.cubeId&&n.col===t.col&&(c.col=t.col))}),1===e.length&&!window.disableLastPossibleNumber){var u=Array.from({length:9},function(t,e){return e+1}),l=u.indexOf(e[0]);if(-1!==l&&u.splice(l,1),!n.mistake)return{value:{cell:n,type:r.o.LastPossibleNumber,additionalData:{descArr:u,highlightsCells:a,highlightsGroups:c}}}}};for(y=0;y<s.length;y++){var E=x(y);if("object"==typeof E)return E.value}var O=o.filter(function(t){return t.val&&t.mistake});if(O.length){var T=[];O.forEach(function(t){var e=Array.from({length:9},function(t,e){return e+1});o.filter(function(e){return e.val&&!e.mistake&&(e.col===t.col||e.row===t.row||e.cubeId===t.cubeId)}).forEach(function(t){var n=e.indexOf(t.val);-1!==n&&(e[n]=null)}),T[t.index]=e});var I=l([],t.notes,!0);return T.forEach(function(t,e){t&&(I[e]=l([],t,!0))}),{type:r.o.IncorrectNumber,notes:T,additionalData:{allNotes:I}}}if(!window.disableNotes){var A=!0,C=[],j=[];s.forEach(function(e){var n=t.notes[e.index]&&t.notes[e.index][t.solution[e.index]-1],r=Array.from({length:9},function(t,e){return e+1});o.filter(function(t){return t.val&&!t.mistake&&(t.col===e.col||t.row===e.row||t.cubeId===e.cubeId)}).forEach(function(t){var e=r.indexOf(t.val);-1!==e&&(r[e]=null)}),n?j[e.index]=l([],t.notes[e.index],!0):(A=!1,j[e.index]=l([],r,!0)),C[e.index]=r});var R=[],L=!0;if(t.notes.forEach(function(t,e){if(t)for(var n=0;n<t.length;n++)t[n]&&t[n]!==C[e][n]&&(R[e]=l([],R[e]||[],!0),R[e][n]=t[n],j[e][n]=null,L=!1);else R[e]=null}),!A||!L)return{type:r.o.Notes,notes:j,arrayWithFreeCells:s,incorrectArr:R};var M=t.notes.findIndex(function(t){return t&&1===t.filter(function(t){return!!t}).length});if(-1!==M&&!window.disableObviousSingles)return{cell:o[M],type:r.o.ObviousSingles};if(!window.disableHiddenSingles){var B={},P={},D={};for(y=0;y<a.length;y++){for(var G=a[y],H=B[G.row]||{},q=P[G.col]||{},F=D[G.cubeId]||{},U=G.notes||[],W=0;W<U.length;W++)U[W]&&(H[U[W]]=H[U[W]]?H[U[W]]+1:1,q[U[W]]=q[U[W]]?q[U[W]]+1:1,F[U[W]]=F[U[W]]?F[U[W]]+1:1);window.disableSearchInRows||(B[G.row]=H),P[G.col]=q,window.disableSearchInBlocks||(D[G.cubeId]=F)}var z=function(t){for(var e=Object.keys(D)[t],n=function(t){var n=Object.keys(D[e])[t];if(1===D[e][n]){var i=a.find(function(t){return t.cubeId===e&&t.notes&&t.notes.includes(parseInt(n))});return{value:{cell:o.find(function(t){return i&&t.index===i.index}),type:r.o.HiddenSingles,additionalData:{type:"cube",val:e}}}}},i=0;i<Object.keys(D[e]).length;i++){var s=n(i);if("object"==typeof s)return s}};for(y=0;y<Object.keys(D).length;y++){var $=z(y);if("object"==typeof $)return $.value}var V=function(t){for(var e=Object.keys(B)[t],n=function(t){var n=Object.keys(B[e])[t];if(1===B[e][n]){var i=a.find(function(t){return t.row===parseInt(e)&&t.notes&&t.notes.includes(parseInt(n))});return{value:{cell:o.find(function(t){return i&&t.index===i.index}),type:r.o.HiddenSingles,additionalData:{type:"row",val:parseInt(e)}}}}},i=0;i<Object.keys(B[e]).length;i++){var s=n(i);if("object"==typeof s)return s}};for(y=0;y<Object.keys(B).length;y++){var Y=V(y);if("object"==typeof Y)return Y.value}var J=function(t){for(var e=Object.keys(P)[t],n=function(t){var n=Object.keys(P[e])[t];if(1===P[e][n]){var i=a.find(function(t){return t.col===parseInt(e)&&t.notes&&t.notes.includes(parseInt(n))});return{value:{cell:o.find(function(t){return i&&t.index===i.index}),type:r.o.HiddenSingles,additionalData:{type:"col",val:parseInt(e)}}}}},i=0;i<Object.keys(P[e]).length;i++){var s=n(i);if("object"==typeof s)return s}};for(y=0;y<Object.keys(P).length;y++){var K=J(y);if("object"==typeof K)return K.value}}if(!window.disableObviousPairs){for(B={},P={},D={},y=0;y<a.length;y++){G=a[y],H=B[G.row]||{},q=P[G.col]||{},F=D[G.cubeId]||{};if(2===(mt=(U=G.notes||[]).filter(function(t){return!!t})).length){var X=mt.toString();H[X]=H[X]?H[X]+1:1,q[X]=q[X]?q[X]+1:1,F[X]=F[X]?F[X]+1:1,window.disableSearchInRows||(B[G.row]=H),P[G.col]=q,window.disableSearchInBlocks||(D[G.cubeId]=F)}}var Z=function(e){for(var n=Object.keys(D)[e],i=function(e){var i=Object.keys(D[n])[e];if(2===D[n][i]){var o=i.split(",").map(function(t){return parseInt(t)}),s=a.filter(function(t){return t.cubeId===n}),c=s.filter(function(t){return(t.notes||[]).filter(function(t){return!!t}).toString()===i}),u=s.filter(function(t){var e=t.notes||[];return!c.find(function(e){return e.index===t.index})&&(e.includes(o[0])||e.includes(o[1]))}),l=s[0];if(u.length){var d=t.notes.map(function(t,e){return t&&u.find(function(t){return t.index===e})?t.map(function(t){return o.includes(t)?null:t}):t});return{value:{cell:l,notes:c,type:r.o.ObviousPairs,additionalData:{type:"cube",val:n,descArr:o,invalidNotes:u,finishNotes:d}}}}}},o=0;o<Object.keys(D[n]).length;o++){var s=i(o);if("object"==typeof s)return s}};for(y=0;y<Object.keys(D).length;y++){var Q=Z(y);if("object"==typeof Q)return Q.value}var tt=function(e){for(var n=Object.keys(B)[e],i=function(e){var i=Object.keys(B[n])[e];if(2===B[n][i]){var o=i.split(",").map(function(t){return parseInt(t)}),s=a.filter(function(t){return t.row===parseInt(n)}),c=s.filter(function(t){return(t.notes||[]).filter(function(t){return!!t}).toString()===i}),u=s.filter(function(t){var e=t.notes||[];return!c.find(function(e){return e.index===t.index})&&(e.includes(o[0])||e.includes(o[1]))}),l=s[0];if(u.length){var d=t.notes.map(function(t,e){return t&&u.find(function(t){return t.index===e})?t.map(function(t){return o.includes(t)?null:t}):t});return{value:{cell:l,notes:c,type:r.o.ObviousPairs,additionalData:{type:"row",val:parseInt(n),descArr:o,invalidNotes:u,finishNotes:d}}}}}},o=0;o<Object.keys(B[n]).length;o++){var s=i(o);if("object"==typeof s)return s}};for(y=0;y<Object.keys(B).length;y++){var et=tt(y);if("object"==typeof et)return et.value}var nt=function(e){for(var n=Object.keys(P)[e],i=function(e){var i=Object.keys(P[n])[e];if(2===P[n][i]){var o=i.split(",").map(function(t){return parseInt(t)}),s=a.filter(function(t){return t.col===parseInt(n)}),c=s.filter(function(t){return(t.notes||[]).filter(function(t){return!!t}).toString()===i}),u=s.filter(function(t){var e=t.notes||[];return!c.find(function(e){return e.index===t.index})&&(e.includes(o[0])||e.includes(o[1]))}),l=s[0];if(u.length){var d=t.notes.map(function(t,e){return t&&u.find(function(t){return t.index===e})?t.map(function(t){return o.includes(t)?null:t}):t});return{value:{cell:l,notes:c,type:r.o.ObviousPairs,additionalData:{type:"col",val:parseInt(n),descArr:o,invalidNotes:u,finishNotes:d}}}}}},o=0;o<Object.keys(P[n]).length;o++){var s=i(o);if("object"==typeof s)return s}};for(y=0;y<Object.keys(P).length;y++){var rt=nt(y);if("object"==typeof rt)return rt.value}}if(!window.disableObviousTriples){var it=Object(c.v)([1,2,3,4,5,6,7,8,9]),ot=(B={},P={},D={},function(t){for(var e=a.filter(function(e){return e.row===t}),n=B[t]||{},r=function(t){var r=it[t].toString(),i=Object(c.q)(it[t]).map(function(t){return t.toString()});e.forEach(function(t){var e=(t.notes||[]).filter(function(t){return!!t}).toString(),n=i.findIndex(function(t){return t===e});-1!==n&&i.splice(n,1)}),0===i.length&&(n[r]=n[r]?n[r]+1:1)},i=0;i<it.length;i++)r(i);window.disableSearchInRows||(B[t]=n)});for(y=0;y<9;y++)ot(y);var at=function(t){for(var e=a.filter(function(e){return e.col===t}),n=P[t]||{},r=function(t){var r=it[t].toString(),i=Object(c.q)(it[t]).map(function(t){return t.toString()});e.forEach(function(t){var e=(t.notes||[]).filter(function(t){return!!t}).toString(),n=i.findIndex(function(t){return t===e});-1!==n&&i.splice(n,1)}),0===i.length&&(n[r]=n[r]?n[r]+1:1)},i=0;i<it.length;i++)r(i);P[t]=n};for(y=0;y<9;y++)at(y);var st=["00","01","02","10","11","12","20","21","22"],ct=function(t){for(var e=a.filter(function(e){return e.cubeId===st[t]}),n=D[st[t]]||{},r=function(t){var r=it[t].toString(),i=Object(c.q)(it[t]).map(function(t){return t.toString()});e.forEach(function(t){var e=(t.notes||[]).filter(function(t){return!!t}).toString(),n=i.findIndex(function(t){return t===e});-1!==n&&i.splice(n,1)}),0===i.length&&(n[r]=n[r]?n[r]+1:1)},i=0;i<it.length;i++)r(i);window.disableSearchInBlocks||(D[st[t]]=n)};for(y=0;y<9;y++)ct(y);var ut=function(e){for(var n=Object.keys(D)[e],i=function(e){var i=Object.keys(D[n])[e];if(1===D[n][i]){var o=i.split(",").map(function(t){return parseInt(t)}),s=Object(c.q)(o).map(function(t){return t.toString()}),l=a.filter(function(t){return t.cubeId===n}),d=l.filter(function(t){var e=(t.notes||[]).filter(function(t){return!!t});return s.includes(e.toString())}),f=l.filter(function(t){var e=!d.find(function(e){return e.index===t.index}),n=(t.notes||[]).find(function(t){return t&&o.includes(t)});return e&&n}).map(function(t){return u(u({},t),{notes:t.notes.map(function(t){return t&&o.includes(t)?t:null})})}),h=l[0];if(f.length){var p=t.notes.map(function(t,e){return t&&f.find(function(t){return t.index===e})?t.map(function(t){return o.includes(t)?null:t}):t});return{value:{cell:h,notes:l,type:r.o.ObviousTriples,additionalData:{type:"cube",val:n,descArr:o,invalidNotes:f,finishNotes:p}}}}}},o=0;o<Object.keys(D[n]).length;o++){var s=i(o);if("object"==typeof s)return s}};for(y=0;y<Object.keys(D).length;y++){var lt=ut(y);if("object"==typeof lt)return lt.value}var dt=function(e){for(var n=Object.keys(B)[e],i=function(e){var i=Object.keys(B[n])[e];if(1===B[n][i]){var o=i.split(",").map(function(t){return parseInt(t)}),s=Object(c.q)(o).map(function(t){return t.toString()}),l=a.filter(function(t){return t.row===parseInt(n)}),d=l.filter(function(t){var e=(t.notes||[]).filter(function(t){return!!t});return s.includes(e.toString())}),f=l.filter(function(t){var e=!d.find(function(e){return e.index===t.index}),n=(t.notes||[]).find(function(t){return t&&o.includes(t)});return e&&n}).map(function(t){return u(u({},t),{notes:t.notes.map(function(t){return t&&o.includes(t)?t:null})})}),h=l[0];if(f.length){var p=t.notes.map(function(t,e){return t&&f.find(function(t){return t.index===e})?t.map(function(t){return o.includes(t)?null:t}):t});return{value:{cell:h,notes:l,type:r.o.ObviousTriples,additionalData:{type:"row",val:parseInt(n),descArr:o,invalidNotes:f,finishNotes:p}}}}}},o=0;o<Object.keys(B[n]).length;o++){var s=i(o);if("object"==typeof s)return s}};for(y=0;y<Object.keys(B).length;y++){var ft=dt(y);if("object"==typeof ft)return ft.value}var ht=function(e){for(var n=Object.keys(P)[e],i=function(e){var i=Object.keys(P[n])[e];if(1===P[n][i]){var o=i.split(",").map(function(t){return parseInt(t)}),s=Object(c.q)(o).map(function(t){return t.toString()}),l=a.filter(function(t){return t.col===parseInt(n)}),d=l.filter(function(t){var e=(t.notes||[]).filter(function(t){return!!t});return s.includes(e.toString())}),f=l.filter(function(t){var e=!d.find(function(e){return e.index===t.index}),n=(t.notes||[]).find(function(t){return t&&o.includes(t)});return e&&n}).map(function(t){return u(u({},t),{notes:t.notes.map(function(t){return t&&o.includes(t)?t:null})})}),h=l[0];if(f.length){var p=t.notes.map(function(t,e){return t&&f.find(function(t){return t.index===e})?t.map(function(t){return o.includes(t)?null:t}):t});return{value:{cell:h,notes:l,type:r.o.ObviousTriples,additionalData:{type:"col",val:parseInt(n),descArr:o,invalidNotes:f,finishNotes:p}}}}}},o=0;o<Object.keys(P[n]).length;o++){var s=i(o);if("object"==typeof s)return s}};for(y=0;y<Object.keys(P).length;y++){var pt=ht(y);if("object"==typeof pt)return pt.value}}if(!window.disableHiddenPairs){var vt=Object(c.q)([1,2,3,4,5,6,7,8,9]);for(B={},P={},D={},y=0;y<a.length;y++){var mt;G=a[y],H=B[G.row]||{},q=P[G.col]||{},F=D[G.cubeId]||{};if(!((mt=(U=G.notes||[]).filter(function(t){return!!t})).length<2)){for(W=0;W<vt.length;W++){var gt=mt.toString(),yt=vt[W].toString();gt.includes(vt[W][0])&>.includes(vt[W][1])&&(H[yt]=H[yt]?H[yt]+1:1,q[yt]=q[yt]?q[yt]+1:1,F[yt]=F[yt]?F[yt]+1:1)}window.disableSearchInRows||(B[G.row]=H),P[G.col]=q,window.disableSearchInBlocks||(D[G.cubeId]=F)}}var bt=function(e){for(var n=Object.keys(D)[e],i=function(e){var i=Object.keys(D[n])[e];if(2===D[n][i]){var o=i.split(",").map(function(t){return parseInt(t)}),s=a.filter(function(t){return t.cubeId===n&&t.notes&&(t.notes.includes(o[0])||t.notes.includes(o[1]))});if(2!==s.length)return"continue";var c=s.map(function(t){var e=t.notes||[];return u(u({},t),{notes:e.filter(function(t){return!o.includes(t)&&t})})}).filter(function(t){return t.notes&&t.notes.length}),l=s[0];if(c.length){var d=t.notes.map(function(t,e){return t&&c.find(function(t){return t.index===e})?t.map(function(t){return o.includes(t)?t:null}):t});return{value:{cell:l,notes:s,type:r.o.HiddenPairs,additionalData:{type:"cube",val:n,descArr:o,invalidNotes:c,finishNotes:d}}}}}},o=0;o<Object.keys(D[n]).length;o++){var s=i(o);if("object"==typeof s)return s}};for(y=0;y<Object.keys(D).length;y++){var wt=bt(y);if("object"==typeof wt)return wt.value}var St=function(e){for(var n=Object.keys(B)[e],i=function(e){var i=Object.keys(B[n])[e];if(2===B[n][i]){var o=i.split(",").map(function(t){return parseInt(t)}),s=a.filter(function(t){return t.row===parseInt(n)&&t.notes&&(t.notes.includes(o[0])||t.notes.includes(o[1]))});if(2!==s.length)return"continue";var c=s.map(function(t){var e=t.notes||[];return u(u({},t),{notes:e.filter(function(t){return!o.includes(t)&&t})})}).filter(function(t){return t.notes&&t.notes.length}),l=s[0];if(c.length){var d=t.notes.map(function(t,e){return t&&c.find(function(t){return t.index===e})?t.map(function(t){return o.includes(t)?t:null}):t});return{value:{cell:l,notes:s,type:r.o.HiddenPairs,additionalData:{type:"row",val:parseInt(n),descArr:o,invalidNotes:c,finishNotes:d}}}}}},o=0;o<Object.keys(B[n]).length;o++){var s=i(o);if("object"==typeof s)return s}};for(y=0;y<Object.keys(B).length;y++){var _t=St(y);if("object"==typeof _t)return _t.value}var kt=function(e){for(var n=Object.keys(P)[e],i=function(e){var i=Object.keys(P[n])[e];if(2===P[n][i]){var o=i.split(",").map(function(t){return parseInt(t)}),s=a.filter(function(t){return t.col===parseInt(n)&&t.notes&&(t.notes.includes(o[0])||t.notes.includes(o[1]))});if(2!==s.length)return"continue";var c=s.map(function(t){var e=t.notes||[];return u(u({},t),{notes:e.filter(function(t){return!o.includes(t)&&t})})}).filter(function(t){return t.notes&&t.notes.length}),l=s[0];if(c.length){var d=t.notes.map(function(t,e){return t&&c.find(function(t){return t.index===e})?t.map(function(t){return o.includes(t)?t:null}):t});return{value:{cell:l,notes:s,type:r.o.HiddenPairs,additionalData:{type:"col",val:parseInt(n),descArr:o,invalidNotes:c,finishNotes:d}}}}}},o=0;o<Object.keys(P[n]).length;o++){var s=i(o);if("object"==typeof s)return s}};for(y=0;y<Object.keys(P).length;y++){var xt=kt(y);if("object"==typeof xt)return xt.value}}if(!window.disablePointingPairs){var Et={};for(B={},P={},y=0;y<a.length;y++){for(G=a[y],F=Et[G.cubeId]||{},H=B[G.row]||{},q=P[G.col]||{},U=G.notes||[],W=0;W<U.length;W++)U[W]&&(F[U[W]]=F[U[W]]?F[U[W]]+1:1,H[U[W]]=H[U[W]]?H[U[W]]+1:1,q[U[W]]=q[U[W]]?q[U[W]]+1:1);window.disableSearchInRows||(B[G.row]=H),P[G.col]=q,window.disableSearchInBlocks||(Et[G.cubeId]=F)}var Ot=function(e){for(var n=Object.keys(Et)[e],i=function(e){var i=Object.keys(Et[n])[e];if(2===Et[n][i]){var o=a.filter(function(t){return t.cubeId===n}),s=o.filter(function(t){return t.notes&&t.notes.includes(parseInt(i))});if(2!==s.length)return"continue";var c=[],u=null,l=null;if(s[0].row===s[1].row?(c=a.filter(function(t){return t.cubeId!==n&&t.notes&&t.notes.includes(parseInt(i))&&t.row===s[0].row}),u="row",l=s[0].row):s[0].col===s[1].col&&(c=a.filter(function(t){return t.cubeId!==n&&t.notes&&t.notes.includes(parseInt(i))&&t.col===s[0].col}),u="col",l=s[0].col),!c.length)return"continue";var d=o[0],f=t.notes.map(function(t,e){return t&&c.find(function(t){return t.index===e})?t.map(function(t){return t===parseInt(i)?null:t}):t});return{value:{cell:d,notes:s,type:r.o.PointingPairs,additionalData:{type:u,val:n,invalidNotes:c,finishNotes:f,highlightedType:"cube",highlightedVal:l,value:parseInt(i)}}}}},o=0;o<Object.keys(Et[n]).length;o++){var s=i(o);if("object"==typeof s)return s}};for(y=0;y<Object.keys(Et).length;y++){var Tt=Ot(y);if("object"==typeof Tt)return Tt.value}var It=function(e){for(var n=Object.keys(B)[e],i=function(e){var i=Object.keys(B[n])[e];if(2===B[n][i]){var o=a.filter(function(t){return t.row===parseInt(n)}),s=o.filter(function(t){return t.notes&&t.notes.includes(parseInt(i))});if(2!==s.length)return"continue";if(s[0].cubeId!==s[1].cubeId)return"continue";var c=a.filter(function(t){return t.row!==parseInt(n)&&t.cubeId===s[0].cubeId&&t.notes&&t.notes.includes(parseInt(i))}),u=s[0].cubeId;if(!c.length)return"continue";var l=o[0],d=t.notes.map(function(t,e){return t&&c.find(function(t){return t.index===e})?t.map(function(t){return t===parseInt(i)?null:t}):t});return{value:{cell:l,notes:s,type:r.o.PointingPairs,additionalData:{type:"cube_row",val:parseInt(n),invalidNotes:c,finishNotes:d,highlightedType:"row",highlightedVal:u,value:parseInt(i)}}}}},o=0;o<Object.keys(B[n]).length;o++){var s=i(o);if("object"==typeof s)return s}};for(y=0;y<Object.keys(B).length;y++){var At=It(y);if("object"==typeof At)return At.value}var Ct=function(e){for(var n=Object.keys(P)[e],i=function(e){var i=Object.keys(P[n])[e];if(2===P[n][i]){var o=a.filter(function(t){return t.col===parseInt(n)}),s=o.filter(function(t){return t.notes&&t.notes.includes(parseInt(i))});if(2!==s.length)return"continue";if(s[0].cubeId!==s[1].cubeId)return"continue";var c=a.filter(function(t){return t.col!==parseInt(n)&&t.cubeId===s[0].cubeId&&t.notes&&t.notes.includes(parseInt(i))}),u=s[0].cubeId;if(!c.length)return"continue";var l=o[0],d=t.notes.map(function(t,e){return t&&c.find(function(t){return t.index===e})?t.map(function(t){return t===parseInt(i)?null:t}):t});return{value:{cell:l,notes:s,type:r.o.PointingPairs,additionalData:{type:"cube_col",val:parseInt(n),invalidNotes:c,finishNotes:d,highlightedType:"col",highlightedVal:u,value:parseInt(i)}}}}},o=0;o<Object.keys(P[n]).length;o++){var s=i(o);if("object"==typeof s)return s}};for(y=0;y<Object.keys(P).length;y++){var jt=Ct(y);if("object"==typeof jt)return jt.value}}}return!1};function N(t,e){return Array.isArray(t)&&Array.isArray(e)&&t.length===e.length&&t.every(function(t,n){return t===e[n]})}var G=function(t){var e=document.querySelector(".fake-board");if(e)for(var n=0;n<9;n++){for(var r=document.createElement("div"),i=0;i<9;i++){var o=document.createElement("span"),a=9*(Math.floor(i/3)+3*Math.floor(n/3))+(([0,3,6].includes(i)?0:[1,4,7].includes(i)?1:2)+3*([0,3,6].includes(n)?0:[1,4,7].includes(n)?1:2));o.style.color="#"+(parseInt(t.mission[a])?"344861":"335ab0"),o.innerText=t.solution[a],r.appendChild(o)}e.appendChild(r)}}},gXIK:function(t,e,n){n("dG/n")("toPrimitive")},gdVl:function(t,e,n){"use strict";var r=n("ewvW"),i=n("I8vh"),o=n("B/qT");t.exports=function(t){for(var e=r(this),n=o(e),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,u=void 0===c?n:i(c,n);u>s;)e[s++]=t;return e}},glrk:function(t,e,n){var r=n("2oRo"),i=n("hh1v"),o=r.String,a=r.TypeError;t.exports=function(t){if(i(t))return t;throw a(o(t)+" is not an object")}},gvgV:function(t,e,n){"use strict";var r=n("67WC"),i=n("TWQb").includes,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)})},gxH9:function(t,e,n){"use strict";n.d(e,"a",function(){return r});n("bhUR");var r=function(){return function(){}}()},hBjN:function(t,e,n){"use strict";var r=n("oEtG"),i=n("m/L8"),o=n("XGwC");t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},hByQ:function(t,e,n){"use strict";var r=n("xluM"),i=n("14Sl"),o=n("glrk"),a=n("HYAF"),s=n("Ep9I"),c=n("V37c"),u=n("3Eq5"),l=n("FMNM");i("search",function(t,e,n){return[function(e){var n=a(this),i=null==e?void 0:u(e,t);return i?r(i,e,n):new RegExp(e)[t](c(n))},function(t){var r=o(this),i=c(t),a=n(e,r,i);if(a.done)return a.value;var u=r.lastIndex;s(u,0)||(r.lastIndex=0);var d=l(r,i);return s(r.lastIndex,u)||(r.lastIndex=u),null===d?-1:d.index}]})},hDyC:function(t,e,n){"use strict";var r=n("I+eb"),i=n("DMt2").end;r({target:"String",proto:!0,forced:n("mgyK")},{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},hMMk:function(t,e,n){n("dOgj")("Uint16",function(t){return function(e,n,r){return t(this,e,n,r)}})},hh1v:function(t,e,n){var r=n("Fib7");t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},i5pp:function(t,e,n){var r=n("I+eb"),i=n("glrk"),o=n("O741"),a=n("0rvr");a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){i(t),o(e);try{return a(t,e),!0}catch(t){return!1}}})},iP3q:function(t,e,n){"use strict";n.d(e,"a",function(){return v});var r,i=n("J8vR"),o="active",a="menu-visible";!function(t){t.daily="tab-daily",t.killer="tab-killer"}(r||(r={}));var s=n("KxHI"),c=function(){function t(){this.parentMenuWrappers=document.querySelectorAll(".new-game-menu"),this.gameModes=document.querySelectorAll(".new-game-menu-mode-button"),this.menuWrappers=document.querySelectorAll(".new-game-button-wrapper"),this.gameButtons=document.querySelectorAll(".new-game-button"),this.dcContinueButtons=document.querySelectorAll(".dc-action"),this.newGameButtons=document.querySelectorAll(".new-game-menu-button:not(.new-game-menu-restart):not(.new-game-menu-continue)"),this.restartGameButton=document.querySelectorAll(".new-game-menu-button.new-game-menu-restart")}return t.prototype.bindClickGameMode=function(t){this.gameModes.forEach(function(e){return e.addEventListener("click",t)})},t.prototype.bindClickGameButton=function(t){this.gameButtons.forEach(function(e){return e.addEventListener("click",t)})},t.prototype.bindClickDcButton=function(t){this.dcContinueButtons.forEach(function(e){return e.addEventListener("click",t)})},t.prototype.bindClickNewGameButton=function(t){this.newGameButtons.forEach(function(e){return e.addEventListener("click",t)})},t.prototype.bindClickRestartButton=function(t){this.restartGameButton.forEach(function(e){return e.addEventListener("click",t)})},t.prototype.showActiveGameMode=function(t){this.gameModes.forEach(function(e){Object(i.a)(e).remove(o),e.dataset.mode===t&&Object(i.a)(e).add(o)})},t.prototype.showTabGameMode=function(t){this.parentMenuWrappers.forEach(function(e){Object(i.a)(e).remove(r.killer,r.daily),[s.j.killer,s.j.daily].includes(t)&&Object(i.a)(e).add("tab-"+t)})},t.prototype.showMenu=function(t){Object(i.a)(t).add(a)},t.prototype.hideMenus=function(){this.menuWrappers.forEach(function(t){return Object(i.a)(t).remove(a)})},t}(),u=function(){return function(){}}(),l=n("Q/5a"),d=n("6Ssv"),f=n("qLbo"),h=n("zhTc"),p=n("ELuu"),v=function(){function t(){this.view=new c,this.model=new u,this.view.bindClickGameMode(this.handleClickGameMode.bind(this)),this.view.bindClickGameButton(this.handleClickGameButton.bind(this)),window.mode&&(this.view.bindClickDcButton(this.handlerDcContinueClick.bind(this)),this.view.bindClickNewGameButton(this.handleClickNewGameButton.bind(this)),this.view.bindClickRestartButton(this.handleClickRestartButton.bind(this))),l.a.subscribe(s.f.hideAllMenu,this.view.hideMenus.bind(this.view))}return t.prototype.handleClickRestartButton=function(){if(window.mode){var t=h.a.state.showGameOver;l.a.emit(s.f.closeMistakesPopup),h.a.dispatch(p.e.restartGame,{gameOver:t})}},t.prototype.handleClickNewGameButton=function(t){t.preventDefault(),l.a.emit(s.f.closeMistakesPopup);var e=t.target.dataset.mode,n=t.target.dataset.difficulty;if(e!==h.a.state.mode&&(window.needToRestartPageOnChangeMode=!0),d.a){if(window.needToRestartPageOnChangeMode)(JSON.parse(localStorage.getItem(e===s.j.killer?f.b.MAIN_GAME_KILLER:f.b.MAIN_GAME))||{}).loaded&&localStorage.removeItem(e===s.j.killer?f.b.MAIN_GAME_KILLER:f.b.MAIN_GAME);localStorage.removeItem(h.a.state.mode===s.j.killer?f.b.MAIN_GAME_KILLER:f.b.MAIN_GAME),localStorage.removeItem(f.b.HISTORY_ACTIONS)}if(window.mode&&h.a.state.settings[s.n.imaAdsOnStart]&&!h.a.state.finished)return h.a.dispatch(p.e.setPaused,!1),l.a.emit(s.f.stopTimer,!0),h.a.commit(p.e.setDifficulty,n),h.a.commit(p.e.setMode,e),h.a.commit(p.e.prepareBoard,null),h.a.commit(p.e.setSelected,0),window.needToRestartPageOnChangeMode||h.a.dispatch(p.e.requestNewContent),window.needToRestartPageOnChangeMode?window.location.href=t.target.href:(l.a.emit(s.f.setActiveDifficulty,{difficulty:n}),h.a.dispatch(p.e.checkSavedGame),l.a.emit(s.f.processNewGame)),void l.a.emit(s.f.setActiveDifficulty,{difficulty:n,replace:!0});window.location.href=t.target.href},t.prototype.handlerDcContinueClick=function(t){t.preventDefault(),d.a&&sessionStorage.setItem(s.m.dc,"1"),window.location.href=t.target.href},t.prototype.handleClickGameButton=function(t){t.stopPropagation();var e=t.target.closest(".new-game-button").parentElement,n=Object(i.a)(e).contains(a);l.a.emit(s.f.hideAllMenu),n||this.view.showMenu(e)},t.prototype.handleClickGameMode=function(t){t.stopPropagation();var e=t.target.closest(".new-game-menu-mode-button").dataset.mode;this.view.showActiveGameMode(e),this.view.showTabGameMode(e)},t}()},iSVu:function(t,e,n){var r=n("4zBA"),i=n("Fib7"),o=n("xs3f"),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},ilnZ:function(t,e,n){n("dOgj")("Uint8",function(t){return function(e,n,r){return t(this,e,n,r)}},!0)},inlA:function(t,e,n){"use strict";var r,i=n("I+eb"),o=n("4zBA"),a=n("Bs8V").f,s=n("UMSQ"),c=n("V37c"),u=n("WjRb"),l=n("HYAF"),d=n("qxPZ"),f=n("xDBR"),h=o("".endsWith),p=o("".slice),v=Math.min,m=d("endsWith");i({target:"String",proto:!0,forced:!!(f||m||(r=a(String.prototype,"endsWith"),!r||r.writable))&&!m},{endsWith:function(t){var e=c(l(this));u(t);var n=arguments.length>1?arguments[1]:void 0,r=e.length,i=void 0===n?r:v(s(n),r),o=c(t);return h?h(e,o,i):p(e,i-o.length,i)===o}})},iqWW:function(t,e,n){"use strict";var r=n("ZUd8").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},iqeF:function(t,e,n){var r=n("2oRo"),i=n("0Dky"),o=n("HH4o"),a=n("67WC").NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,c=r.Int8Array;t.exports=!a||!i(function(){c(1)})||!i(function(){new c(-1)})||!o(function(t){new c,new c(null),new c(1.5),new c(t)},!0)||i(function(){return 1!==new c(new s(2),1,void 0).length})},iwkZ:function(t,e,n){n("dOgj")("Int16",function(t){return function(e,n,r){return t(this,e,n,r)}})},kFz4:function(t,e,n){"use strict";n.d(e,"a",function(){return v});n("bZMm");var r=n("6Ssv"),i=n("5z3c"),o=n("K4CH"),a=function(){return(a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},s=function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}c((r=r.apply(t,e||[])).next())})},c=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},u=function(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))},l="ets_temp",d="ets",f="utms",h="pack",p="track",v=new(function(){function t(){var t,e,n,s,c,u,h,p,v,m,g,y=this,b=window.abGroups||{};this.domain=null===(e=null===(t=null===window||void 0===window?void 0:window.eb)||void 0===t?void 0:t.params)||void 0===e?void 0:e.etsHost,this.eaid=null===(s=null===(n=null===window||void 0===window?void 0:window.eb)||void 0===n?void 0:n.params)||void 0===s?void 0:s.eaid,this.priorifySending=!1,this.events=r.a&&JSON.parse(localStorage.getItem(d))||[],this.abGroups=Object.keys(b).map(function(t){return b[t]}),this.canMakeRequest=!0,this.tempSendEvents=r.a&&JSON.parse(localStorage.getItem(l))||[],this.batchTh=null!==(u=Number(null===(c=null===window||void 0===window?void 0:window.eb)||void 0===c?void 0:c.settings.ets_batch_th))&&void 0!==u?u:50,this.batchTth=1e3*(null!==(p=Number(null===(h=null===window||void 0===window?void 0:window.eb)||void 0===h?void 0:h.settings.ets_batch_tth))&&void 0!==p?p:60),this.useBeacon=Boolean(null!==(m=null===(v=null===window||void 0===window?void 0:window.eb)||void 0===v?void 0:v.settings.ets_on_close_page)&&void 0!==m&&m);var w=r.a&&JSON.parse(localStorage.getItem(f))||{},S=Object(i.o)();if(this.utms=a(a({},w),S),r.a&&localStorage.setItem(f,JSON.stringify(this.utms)),this.tempSendEvents.length){var _=this.tempSendEvents.reduce(function(t,e){return t.push(e.id),t},[]);this.events=this.events.filter(function(t){return _.includes(t.id)}),this.tempSendEvents=[],this.saveToLs()}this.updateSessionNumber();var k=(new o.UAParser).getResult();this.deviceCategory=k.device.type?{mobile:"mobile",console:"desktop",smarttv:"smarttv",wearable:"wearable",embedded:"embedded",tablet:"tablet"}[k.device.type]:"desktop",void 0!==window.gtag&&window.gtag("get","G-LKCCSV4WGG","client_id",function(t){y.userId=y.generateUserId(t)});var x=Number(null===(g=null===window||void 0===window?void 0:window.eb)||void 0===g?void 0:g.settings.ets_event_lt)||20;x&&(this.events=this.events.filter(function(t){return(Math.floor(Date.now()/1e3)-t.event.ttime)/86400<x}),this.saveToLs())}return t.prototype.updateSessionNumber=function(){var t={number:1,date:Date.now()/1e3},e=r.a&&JSON.parse(localStorage.getItem("ets_session"))||t,n=e.date,i=e.number,o=Date.now()/1e3;if(this.session=i,n){var a=(o-n)/60;this.session=a>=30?i+1:i,r.a&&window.isShowAnalytics&&localStorage.setItem("ets_session",JSON.stringify({date:Date.now()/1e3,number:this.session}))}},t.prototype.generateUserId=function(t){if(!t)return null;var e=t.split("."),n="";return e.forEach(function(t){n+=Object(i.w)(parseInt(t).toString(16),16)}),n},t.prototype.postEvents=function(t,e){return s(this,void 0,void 0,function(){var n,i,o,a,s,d,f;return c(this,function(c){switch(c.label){case 0:if(!this.canMakeRequest||!this.userId)return[2,!1];this.tempSendEvents=u(u([],this.tempSendEvents,!0),t,!0),r.a&&window.isShowAnalytics&&localStorage.setItem(l,JSON.stringify(this.tempSendEvents)),n=e&&this.useBeacon,c.label=1;case 1:return c.trys.push([1,11,,12]),i=t.reduce(function(t,e){return t.push(e.event),t},[]),o=this.domain+"/"+(i.length>1?h:p),n?(this.events=this.events.filter(function(e){return!t.find(function(t){return t.id===e.id})}),this.tempSendEvents=this.tempSendEvents.filter(function(e){return!t.find(function(t){return t.id===e.id})}),this.saveToLs(),[4,fetch(o,{method:"POST",headers:{"x-easy-appid":String(this.eaid),"x-easy-adid":this.userId},body:JSON.stringify(i.length>1?i:i[0]),keepalive:!0})]):[3,3];case 2:return c.sent(),[2,!0];case 3:return[4,fetch(o,{method:"POST",headers:{"x-easy-appid":String(this.eaid),"x-easy-adid":this.userId},body:JSON.stringify(i.length>1?i:i[0])})];case 4:return 200!==(a=c.sent()).status?[3,5]:(this.events=this.events.filter(function(e){return!t.find(function(t){return t.id===e.id})}),this.tempSendEvents=this.tempSendEvents.filter(function(e){return!t.find(function(t){return t.id===e.id})}),this.saveToLs(),[2,!0]);case 5:return 400!==a.status?[3,9]:1!==i.length?[3,6]:(s=i[0],this.events=this.events.filter(function(t){return!(t.event.ttime===s.ttime&&t.event.tname===s.tname)}),[3,8]);case 6:return[4,a.json()];case 7:d=c.sent(),this.events=this.events.filter(function(t){return!d.find(function(e){return e.Ttime===t.event.ttime&&e.Tname===t.event.tname})}),c.label=8;case 8:return this.tempSendEvents=this.tempSendEvents.filter(function(e){return!t.find(function(t){return t.id===e.id})}),this.saveToLs(),[2,!0];case 9:return this.handleErrorOnRequest(t),[2,!1];case 10:return[3,12];case 11:return f=c.sent(),console.warn("ETS WARN",f),this.handleErrorOnRequest(t),[2,!1];case 12:return[2]}})})},t.prototype.handleErrorOnRequest=function(t){var e=this;clearTimeout(this.timeoutForRequest),this.batchTth=2*this.batchTth,this.canMakeRequest=!1,this.tempSendEvents=this.tempSendEvents.filter(function(e){return!t.find(function(t){return t.id===e.id})}),this.saveToLs(),this.timeoutForRequest=setTimeout(function(){e.canMakeRequest=!0},this.batchTth)},t.prototype.send=function(t,e,n){var r,i,o,s,c=this;window.useETS&&window.isShowAnalytics&&this.eaid&&this.domain&&(this.updateSessionNumber(),this.events.push({id:this.events.length+Math.random().toString(16).slice(2),event:{tname:t,ttime:Math.floor(Date.now()/1e3),payload:a(a(a(a({},e||{}),this.abGroups.length?{ab_groups:this.abGroups.join(",")}:{}),{session:this.session,device__category:this.deviceCategory,installed_at:null!==(r=window.fv)&&void 0!==r?r:null,build_version:null!==(s=null===(o=null===(i=null===window||void 0===window?void 0:window.eb)||void 0===i?void 0:i.params)||void 0===o?void 0:o.buildVersion)&&void 0!==s?s:null}),this.utms)}}),!this.priorifySending&&n&&(this.priorifySending=!0),this.saveToLs(),clearTimeout(this.sendTimeout),this.sendTimeout=setTimeout(function(){c.sendEvents(!0)},500))},t.prototype.createTimeout=function(){var t=this;clearTimeout(this.timeout),this.batchTth&&(this.timeout=setTimeout(function(){t.priorifySending=!0,t.sendEvents(),t.createTimeout()},this.batchTth))},t.prototype.filterDuplicates=function(t){return t.reduce(function(t,e){return t.find(function(t){var n,r,i,o;return t.id===e.id||e.event.tname===t.event.tname&&!["g_hint_next","g_hint_back","g_hint_needed","ab_group"].includes(e.event.tname)&&e.event.ttime===t.event.ttime&&(null===(r=null===(n=t.event)||void 0===n?void 0:n.payload)||void 0===r?void 0:r.path)===(null===(o=null===(i=e.event)||void 0===i?void 0:i.payload)||void 0===o?void 0:o.path)})||t.push(e),t},[])},t.prototype.sendEvents=function(t,e){return s(this,void 0,void 0,function(){var n,o,a,s,u,d=this;return c(this,function(c){switch(c.label){case 0:if(this.processOfSending)return[2];if(n=!0,clearTimeout(this.sendTimeout),this.events=this.filterDuplicates(this.events),this.tempSendEvents=this.filterDuplicates(r.a&&JSON.parse(localStorage.getItem(l))||[]),!(o=this.events.filter(function(t){return!d.tempSendEvents.find(function(e){return e.id===t.id})})).length||!(o.length>=this.batchTh||this.priorifySending))return[3,4];this.processOfSending=!0,a=Object(i.t)(o,this.batchTh),s=0,c.label=1;case 1:return s<a.length?(u=a[s],[4,this.postEvents(u,e)]):[3,4];case 2:c.sent()||(n=!1),c.label=3;case 3:return s++,[3,1];case 4:return n&&t&&this.createTimeout(),this.processOfSending=!1,this.priorifySending=!1,[2]}})})},t.prototype.sync=function(t){if(window.useETS&&window.isShowAnalytics&&this.eaid&&this.domain){if(clearTimeout(this.timeout),this.updateSessionNumber(),t)return this.priorifySending=!0,void this.sendEvents(!1,!0);this.sendEvents(),this.createTimeout()}},t.prototype.saveToLs=function(){r.a&&(localStorage.setItem(l,JSON.stringify(this.tempSendEvents)),localStorage.setItem(d,JSON.stringify(this.events)))},t}())},kOOl:function(t,e,n){var r=n("4zBA"),i=0,o=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},kRJp:function(t,e,n){var r=n("g6v/"),i=n("m/L8"),o=n("XGwC");t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},kmMV:function(t,e,n){"use strict";var r,i,o=n("xluM"),a=n("4zBA"),s=n("V37c"),c=n("rW0t"),u=n("n3/R"),l=n("VpIT"),d=n("fHMY"),f=n("afO8").get,h=n("/OPJ"),p=n("EHx7"),v=l("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,g=m,y=a("".charAt),b=a("".indexOf),w=a("".replace),S=a("".slice),_=(i=/b*/g,o(m,r=/a/,"a"),o(m,i,"a"),0!==r.lastIndex||0!==i.lastIndex),k=u.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];(_||x||k||h||p)&&(g=function(t){var e,n,r,i,a,u,l,h=this,p=f(h),E=s(t),O=p.raw;if(O)return O.lastIndex=h.lastIndex,e=o(g,O,E),h.lastIndex=O.lastIndex,e;var T=p.groups,I=k&&h.sticky,A=o(c,h),C=h.source,j=0,R=E;if(I&&(A=w(A,"y",""),-1===b(A,"g")&&(A+="g"),R=S(E,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==y(E,h.lastIndex-1))&&(C="(?: "+C+")",R=" "+R,j++),n=new RegExp("^(?:"+C+")",A)),x&&(n=new RegExp("^"+C+"$(?!\\s)",A)),_&&(r=h.lastIndex),i=o(m,I?n:h,R),I?i?(i.input=S(i.input,j),i[0]=S(i[0],j),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:_&&i&&(h.lastIndex=h.global?i.index+i[0].length:r),x&&i&&i.length>1&&o(v,i[0],n,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)}),i&&T)for(i.groups=u=d(null),a=0;a<T.length;a++)u[(l=T[a])[0]]=i[l[1]];return i}),t.exports=g},kwDz:function(t,e,n){"use strict";n.d(e,"a",function(){return R});n("pNMO"),n("4Brf"),n("tjZM"),n("3I1R"),n("7+kd"),n("KhsS"),n("gOCb"),n("a57n"),n("GXvd"),n("I1Gw"),n("gXIK"),n("lEou"),n("ma9I"),n("TeQF"),n("BIHw"),n("XbcX"),n("yq1k"),n("4mDm"),n("2B1R"),n("E9XD"),n("9N29"),n("Junv"),n("+2oP"),n("ToJy"),n("94Xl"),n("pDQq"),n("QGkA"),n("c9m3"),n("wZ/5"),n("rOQg"),n("9LPj"),n("7+zs"),n("tW5y"),n("DEfu"),n("Tskq"),n("QFcT"),n("I9xj"),n("w1rZ"),n("JevA"),n("toAj"),n("zKZe"),n("T63A"),n("wfmh"),n("27RR"),n("07d7"),n("B6y2"),n("rNhl"),n("4l63"),n("5s+n"),n("p532"),n("pv2x"),n("SuFq"),n("PzqY"),n("rBZX"),n("XUE8"),n("nkod"),n("f3jH"),n("x2An"),n("25bX"),n("G/JM"),n("1t3B"),n("ftMj"),n("i5pp"),n("TWNs"),n("rB9j"),n("U3f4"),n("JfAA"),n("YGK4"),n("inlA"),n("JTJg"),n("Rm1S"),n("hDyC"),n("TZCg"),n("UxlC"),n("hByQ"),n("EnZy"),n("LKBx"),n("SYor"),n("HiXI"),n("7ueG"),n("z8NH"),n("SpvK"),n("/Yfv"),n("iwkZ"),n("FDzp"),n("XMab"),n("ilnZ"),n("hMMk"),n("+ywr"),n("moxL"),n("qXVe"),n("c162"),n("waxf"),n("0TkE"),n("Onu3"),n("1dYe"),n("IL/d"),n("gvgV"),n("6R/c"),n("YL0P"),n("X5Zq"),n("MoCz"),n("P8wP"),n("7JcK"),n("ypFw"),n("JaFt"),n("zSZm"),n("PF2M"),n("KVSy"),n("ZJ55"),n("IZzc"),n("s5qe"),n("cvf0"),n("ENF9"),n("H+LF"),n("FZtP"),n("3bBZ"),n("Ew+T"),n("n5b4"),n("Kz25"),n("vxnP"),n("mGGf"),n("ls82");var r=n("K4CH"),i=n("8Eb1"),o=n("5bJ4"),a=n("vJIS"),s=n("6+x4"),c=n("iP3q"),u=n("gxH9"),l=(n("y+ba"),n("Lu1R"),n("LTMS"),n("LKh6")),d=n("23rs"),f=n("5z3c"),h=n("6Ssv"),p=n("Om6b"),v=n("JjVu"),m=n("Q/5a"),g=n("KxHI"),y=n("Vl5E"),b=n("/cOv"),w=n("kFz4"),S=n("J8vR"),_=n("gQOP"),k=n("88L7"),x=n("ezDJ"),E=n("BQak"),O=n("DWIp"),T=n("1Ybj"),I=n("CQ/T"),A=function(){return(A=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},C=function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}c((r=r.apply(t,e||[])).next())})},j=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},R=function(){function t(){var t,e,n,i,o,a;if(this.body=document.querySelector("body"),this.isPortrait=!0,this.errors=0,this.auth=new x.a,this.parser=new r.UAParser,this.parserResult=this.parser.getResult(),window.useVidazooVideoAds?this.vidazooVideo=new I.a:window.useAniviewVideoAds&&(this.aniviewVideo=new T.a),this.beforeLoaded(),document.addEventListener(Object(f.p)(Object(f.g)()),this.handleVisibilityChange.bind(this)),document.addEventListener("DOMContentLoaded",this.onLoaded.bind(this)),(window.useAniviewInterstitial||window.useAniviewVideoAds&&!window.useVidazooVideoAds)&&setTimeout(function(){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src="/static/js/aniview.js",t.setAttributeNode(document.createAttribute("data-ot-ignore")),t.onload=function(){m.a.emit(g.f.AniviewLoaded)},document.head.appendChild(t)},1e3),(null===(t=null===window||void 0===window?void 0:window.eb)||void 0===t?void 0:t.settings.use_sentry)&&window.Sentry){var s=(parseInt(null===(e=null===window||void 0===window?void 0:window.eb)||void 0===e?void 0:e.settings.sentry_sample_rate)||10)/100,c=(parseInt(null===(n=null===window||void 0===window?void 0:window.eb)||void 0===n?void 0:n.settings.sentry_traces_sample_rate)||10)/100;window.Sentry.init({dsn:"https://8784a376beaa4ed7bd55810ca7fc27d8@sentry.easybrain.com/14",environment:Object(f.j)(),release:null!==(a=null===(o=null===(i=null===window||void 0===window?void 0:window.eb)||void 0===i?void 0:i.params)||void 0===o?void 0:o.buildVersion)&&void 0!==a?a:"unknown",tracesSampleRate:c,sampleRate:s,denyUrls:[/extensions\//i,/^chrome:\/\//i,/^chrome-extension:\/\//i],allowUrls:[/https?:\/\/((stage|test|www)\.)?sudoku\.com/]})}var u="hidden";function l(t){var e,n="visible",r="hidden",i={focus:n,focusin:n,pageshow:n,blur:r,focusout:r,pagehide:r};(t=t||window.event).type in i?(e=i[t.type],Object(f.f)("visibility-"+e,document)):Object(f.f)("visibility-"+(this[u]?"hidden":"visible"),document)}u in document?document.addEventListener("visibilitychange",l):(u="mozHidden")in document?document.addEventListener("mozvisibilitychange",l):(u="webkitHidden")in document?document.addEventListener("webkitvisibilitychange",l):(u="msHidden")in document?document.addEventListener("msvisibilitychange",l):"onfocusin"in document?document.onfocusin=document.onfocusout=l:window.onpageshow=window.onpagehide=window.onfocus=window.onblur=l,void 0!==document[u]&&l({type:document[u]?"blur":"focus"})}return t.prototype.sessionStart=function(){this.sessionStartValue=Math.floor(Date.now()/1e3),w.a.send("session_start",{page_location:window.location.href.split("?")[0]}),m.a.emit(g.f.resetGsInterTimer)},t.prototype.sessionEnd=function(){var t=Math.floor(Date.now()/1e3);w.a.send("session_end",A({last_time_spent:t-this.sessionStartValue,page_location:window.location.href.split("?")[0]},window.gameData||{}))},t.prototype.sendPageView=function(t){var e,n,r;window.fs&&w.a.send("first_visit",{},!0),w.a.send("pageview",A(A(A({page_location:window.location.href.split("?")[0],page_referrer:t?t.pageReferrer:document.referrer?document.referrer:null,device__user_agent:(null!==(e=this.parserResult.ua)&&void 0!==e?e:"").substring(0,255)},this.parserResult.device.type?{device__model:this.parserResult.device.model,device__brand:this.parserResult.device.vendor}:{}),{device__browser:this.parserResult.browser.name,device__browser_version:this.parserResult.browser.version,device__operating_system:null!==(n=this.parserResult.os.name)&&void 0!==n?n:null,device__operating_system_version:null!==(r=this.parserResult.os.version)&&void 0!==r?r:null,device__language:navigator.language,device__time_zone_offset_seconds:60*(new Date).getTimezoneOffset(),device__web_info__hostname:window.location.host,use_ad_block:window.useAdBlock}),this.countErrors?{count_errors:this.countErrors}:{}),!0),this.countErrors=null},t.prototype.handleVisibilityChange=function(){document[Object(f.l)(Object(f.g)())]?(this.sessionEnd(),w.a.sync(!0)):(this.sessionStart(),w.a.sync())},t.prototype.beforeLoaded=function(){var t=this;this.sessionStart(),h.a&&(this.countErrors=Number(localStorage.getItem("count_errors")),localStorage.removeItem("count_errors")),window.addEventListener("error",function(){t.errors++,localStorage.setItem("count_errors",String(t.errors))}),window.globalAppAction={setCookie:h.c},window.defaultWindowHeight=window.innerHeight;var e=this;window.useAniviewVideoAds||window.useVidazooVideoAds||Object.defineProperty(window,"risePlayerInstances",{set:function(t){var n=this;Proxy?this._risePlayerInstances=new Proxy(t,{set:function(t,n,r){return t[n]=r,n!==window.riseInterstitialPlayerId&&(t[n].on("AdImpression",function(){var e=Object.assign({},t[n].adData,n,t),r=document.getElementById("rise-player"),i={placement:r&&r.childNodes.length?"under_game":"flying_down",adSystem:e.response.adSystems.join(";"),title:e.response.adTitle,description:e.adType,service_name:"Rise"};Object(y.a)("ad_native_impression",i),w.a.send("ad_native_impression",i,!0)}),t[n].on("AdLoaded",function(){var e=Object.assign({},t[n].adData,n,t),r=document.getElementById("rise-player"),i={placement:r&&r.childNodes.length?"under_game":"flying_down",adSystem:e.response.adSystems.join(";"),title:e.response.adTitle,description:e.adType,service_name:"Rise"};Object(y.a)("ad_native_request",i),w.a.send("ad_native_request",i)}),t[n].on("AdStarted",function(){var r,i=Object.assign({},t[n].adData,n,t),o=document.getElementById("rise-player"),a={placement:o&&o.childNodes.length?"under_game":"flying_down",adSystem:i.response.adSystems.join(";"),title:i.response.adTitle,description:i.adType,service_name:"Rise"};Object(y.a)("ad_native_cached",a),w.a.send("ad_native_cached",a),window.slideRiseAd=document.querySelector(".sr-bladex-in-slide"),e.cookiesBanner&&((null===(r=null===window||void 0===window?void 0:window.eb)||void 0===r?void 0:r.settings.use_cmp)?e.cookiesBanner.view.updateConsentPaddingCMP():e.cookiesBanner.updateConsentHeight())}),t[n].on("playerReady",function(){var t,n;if(null===(t=null===window||void 0===window?void 0:window.eb)||void 0===t||!t.settings.use_google_instead_rise){var r=document.getElementById("rise-player"),i={placement:r&&r.childNodes.length?"under_game":"flying_down"};Object(y.a)("ad_native_player_ready",i),w.a.send("ad_native_player_ready",i),window.slideRiseAd=document.querySelector(".sr-bladex-in-slide"),e.cookiesBanner&&((null===(n=null===window||void 0===window?void 0:window.eb)||void 0===n?void 0:n.settings.use_cmp)?e.cookiesBanner.view.updateConsentPaddingCMP():e.cookiesBanner.updateConsentHeight())}})),!0}}):(this._risePlayerInstances=t,this._riseUpdatedInstances=[],this._riseInterval=setInterval(function(){Object.keys(n._risePlayerInstances).length&&Object.keys(n._risePlayerInstances).forEach(function(t){n._riseUpdatedInstances.includes(t)||t===window.riseInterstitialPlayerId||(n._risePlayerInstances[t].on("AdImpression",function(){var e=Object.assign({},n._risePlayerInstances[t].adData),r=document.getElementById("rise-player"),i={placement:r&&r.childNodes.length?"under_game":"flying_down",adSystem:e.response.adSystems.join(";"),title:e.response.adTitle,description:e.adType,service_name:"Rise"};Object(y.a)("ad_native_impression",i),w.a.send("ad_native_impression",i,!0)}),n._risePlayerInstances[t].on("AdLoaded",function(){var e=Object.assign({},n._risePlayerInstances[t].adData),r=document.getElementById("rise-player"),i={placement:r&&r.childNodes.length?"under_game":"flying_down",adSystem:e.response.adSystems.join(";"),title:e.response.adTitle,description:e.adType,service_name:"Rise"};Object(y.a)("ad_native_request",i),w.a.send("ad_native_request",i)}),n._risePlayerInstances[t].on("AdStarted",function(){var r,i=Object.assign({},n._risePlayerInstances[t].adData),o=document.getElementById("rise-player"),a={placement:o&&o.childNodes.length?"under_game":"flying_down",adSystem:i.response.adSystems.join(";"),title:i.response.adTitle,description:i.adType,service_name:"Rise"};Object(y.a)("ad_native_cached",a),w.a.send("ad_native_cached",a),window.slideRiseAd=document.querySelector(".sr-bladex-in-slide"),e.cookiesBanner&&((null===(r=null===window||void 0===window?void 0:window.eb)||void 0===r?void 0:r.settings.use_cmp)?e.cookiesBanner.view.updateConsentPaddingCMP():e.cookiesBanner.updateConsentHeight())}),n._risePlayerInstances[t].on("playerReady",function(){var t,n;if(null===(t=null===window||void 0===window?void 0:window.eb)||void 0===t||!t.settings.use_google_instead_rise){var r=document.getElementById("rise-player"),i={placement:r&&r.childNodes.length?"under_game":"flying_down"};Object(y.a)("ad_native_player_ready",i),w.a.send("ad_native_player_ready",i),window.slideRiseAd=document.querySelector(".sr-bladex-in-slide"),e.cookiesBanner&&((null===(n=null===window||void 0===window?void 0:window.eb)||void 0===n?void 0:n.settings.use_cmp)?e.cookiesBanner.view.updateConsentPaddingCMP():e.cookiesBanner.updateConsentHeight())}}),n._riseUpdatedInstances.push(t))})},500))},get:function(){return this._risePlayerInstances}}),window.currentDate=Object(p.i)(new Date,window.serverDate),window.cheats=new d.a({parentSelector:"#cheat-parent",toggleSelector:".cheat-toggle",menuSelector:"#cheat-menu",buttonsSelector:"#cheat-buttons"}),h.a&&localStorage.removeItem("live_ops"),this.notification=new v.a(".awards-link > a",{awardsSelector:".cup-notification",tournamentsSelector:".tournaments-notification"}),window.notification=this.notification,Object(f.d)().then(function(){t.sendPageView()}),window.newGroups.length&&window.newGroups.forEach(function(t){w.a.send("ab_group",{group:t})})},t.prototype.initServices=function(){return C(this,void 0,void 0,function(){var t;return j(this,function(e){switch(e.label){case 0:return[4,this.auth.getEuid()];case 1:return t=e.sent(),console.log("init services",t),t?(this.awards=new O.a(t),this.tournaments=new E.a(t,this.awards),this.startLogicAfterServices(),[2]):[2]}})})},t.prototype.onLoaded=function(){var t,e=this;this.cookiesBanner=new i.a,this.smartBanner=new o.a,this.anchorLinks=new a.a,this.header=new s.a,this.buttons=new c.a,this.footer=new u.a,window.cookieBanner=this.cookiesBanner,(null===(t=null===window||void 0===window?void 0:window.eb)||void 0===t?void 0:t.settings.use_cmp)||window.addEventListener("resize",function(){e.cookiesBanner.updateConsentHeight()}),l.e&&this.body.classList.add("ie"),!document.querySelector("body").classList.contains("awards-page")&&h.a&&sessionStorage.removeItem("awards_tab"),!document.querySelector("body").classList.contains("awards-page")&&h.a&&sessionStorage.removeItem("awards_tab");var n;this.body&&this.body.addEventListener("click",function(){m.a.emit(g.f.hideAllMenu)}),m.a.subscribe(g.f.contentChanged,this.sendPageView.bind(this)),window.addEventListener("resize",function(){e.checkOrientation(),clearTimeout(n),n=setTimeout(function(){Object(f.f)("resize-debounce")},50)}),Object(f.f)("resize"),this.setOldHandlers(),m.a.subscribe(g.f.hideAllMenu,this.hideDifficultyMenu.bind(this)),w.a.sync();var r=h.a?JSON.parse(localStorage.getItem(k.a.MAIN_GAME)):null;this.body&&!Object(S.a)(this.body).contains("solver-page")&&r&&r.finished&&Object(_.p)(),this.initServices()},t.prototype.startLogicAfterServices=function(){},t.prototype.hideDifficultyMenu=function(){var t=document.getElementById("difficulty-menu");t&&t.classList.remove("menu-visible")},t.prototype.setOldHandlers=function(){var t=document.getElementById("difficulty-menu-label");t&&t.addEventListener("click",function(t){Object(b.a)(t,"difficultyMenu")})},t.prototype.checkOrientation=function(){window.innerWidth>window.innerHeight?(this.body&&this.body.classList.remove("portrait"),this.body&&this.body.classList.add("landscape"),this.isPortrait=!1):(this.body&&this.body.classList.add("portrait"),this.body&&this.body.classList.remove("landscape"),this.isPortrait=!0),"tablet"===this.parserResult.device.type&&(this.isPortrait&&window.innerWidth/window.innerHeight>.67||!this.isPortrait&&window.innerWidth/window.innerHeight<1.5)?this.body&&this.body.classList.add("tablet"):this.body&&this.body.classList.remove("tablet")},t}()},lEou:function(t,e,n){n("dG/n")("toStringTag")},lMq5:function(t,e,n){var r=n("0Dky"),i=n("Fib7"),o=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n==l||n!=u&&(i(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},lPiR:function(t,e,n){var r;t.exports=(r=n("Ib8C"),function(t){var e=r,n=e.lib,i=n.WordArray,o=n.Hasher,a=e.algo,s=[],c=[];!function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(t){return 4294967296*(t-(0|t))|0}for(var r=2,i=0;i<64;)e(r)&&(i<8&&(s[i]=n(t.pow(r,.5))),c[i]=n(t.pow(r,1/3)),i++),r++}();var u=[],l=a.SHA256=o.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(t,e){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],l=n[5],d=n[6],f=n[7],h=0;h<64;h++){if(h<16)u[h]=0|t[e+h];else{var p=u[h-15],v=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,m=u[h-2],g=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;u[h]=v+u[h-7]+g+u[h-16]}var y=r&i^r&o^i&o,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),w=f+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&l^~s&d)+c[h]+u[h];f=d,d=l,l=s,s=a+w|0,a=o,o=i,i=r,r=w+(b+y)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+l|0,n[6]=n[6]+d|0,n[7]=n[7]+f|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=t.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=o._createHelper(l),e.HmacSHA256=o._createHmacHelper(l)}(Math),r.SHA256)},ls82:function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var i=e&&e.prototype instanceof m?e:m,o=Object.create(i.prototype),a=new I(r||[]);return o._invoke=function(t,e,n){var r=d;return function(i,o){if(r===h)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return C()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var c=l(t,e,n);if("normal"===c.type){if(r=n.done?p:f,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=p,n.method="throw",n.arg=c.arg)}}}(t,n,a),o}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var d="suspendedStart",f="suspendedYield",h="executing",p="completed",v={};function m(){}function g(){}function y(){}var b={};b[o]=function(){return this};var w=Object.getPrototypeOf,S=w&&w(w(A([])));S&&S!==n&&r.call(S,o)&&(b=S);var _=y.prototype=m.prototype=Object.create(b);function k(t){["next","throw","return"].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function x(t,e){var n;this._invoke=function(i,o){function a(){return new e(function(n,a){!function n(i,o,a,s){var c=l(t[i],t,o);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==typeof d&&r.call(d,"__await")?e.resolve(d.__await).then(function(t){n("next",t,a,s)},function(t){n("throw",t,a,s)}):e.resolve(d).then(function(t){u.value=t,a(u)},function(t){return n("throw",t,a,s)})}s(c.arg)}(i,o,n,a)})}return n=n?n.then(a,a):a()}}function E(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,E(t,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=l(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function A(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:C}}function C(){return{value:e,done:!0}}return g.prototype=_.constructor=y,y.constructor=g,g.displayName=c(y,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,c(t,s,"GeneratorFunction")),t.prototype=Object.create(_),t},t.awrap=function(t){return{__await:t}},k(x.prototype),x.prototype[a]=function(){return this},t.AsyncIterator=x,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new x(u(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},k(_),c(_,s,"Generator"),_[o]=function(){return this},_.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=A,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:A(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},"m/L8":function(t,e,n){var r=n("2oRo"),i=n("g6v/"),o=n("DPsx"),a=n("rtlb"),s=n("glrk"),c=n("oEtG"),u=r.TypeError,l=Object.defineProperty,d=Object.getOwnPropertyDescriptor;e.f=i?a?function(t,e,n){if(s(t),e=c(e),s(n),"function"==typeof t&&"prototype"===e&&"value"in n&&"writable"in n&&!n.writable){var r=d(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return l(t,e,n)}:l:function(t,e,n){if(s(t),e=c(e),s(n),o)try{return l(t,e,n)}catch(t){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},m92n:function(t,e,n){var r=n("glrk"),i=n("KmKo");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){i(t,"throw",e)}}},mGGf:function(t,e,n){"use strict";n("4mDm");var r=n("I+eb"),i=n("2oRo"),o=n("0GbY"),a=n("xluM"),s=n("4zBA"),c=n("DTth"),u=n("busE"),l=n("4syw"),d=n("1E5z"),f=n("ntOU"),h=n("afO8"),p=n("GarU"),v=n("Fib7"),m=n("Gi26"),g=n("A2ZE"),y=n("9d/t"),b=n("glrk"),w=n("hh1v"),S=n("V37c"),_=n("fHMY"),k=n("XGwC"),x=n("mh/w"),E=n("NaFW"),O=n("1tal"),T=n("tiKp"),I=n("rdv8"),A=T("iterator"),C=h.set,j=h.getterFor("URLSearchParams"),R=h.getterFor("URLSearchParamsIterator"),L=o("fetch"),M=o("Request"),B=o("Headers"),P=M&&M.prototype,D=B&&B.prototype,N=i.RegExp,G=i.TypeError,H=i.decodeURIComponent,q=i.encodeURIComponent,F=s("".charAt),U=s([].join),W=s([].push),z=s("".replace),$=s([].shift),V=s([].splice),Y=s("".split),J=s("".slice),K=/\+/g,X=Array(4),Z=function(t){return X[t-1]||(X[t-1]=N("((?:%[\\da-f]{2}){"+t+"})","gi"))},Q=function(t){try{return H(t)}catch(e){return t}},tt=function(t){var e=z(t,K," "),n=4;try{return H(e)}catch(t){for(;n;)e=z(e,Z(n--),Q);return e}},et=/[!'()~]|%20/g,nt={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},rt=function(t){return nt[t]},it=function(t){return z(q(t),et,rt)},ot=f(function(t,e){C(this,{type:"URLSearchParamsIterator",iterator:x(j(t).entries),kind:e})},"Iterator",function(){var t=R(this),e=t.kind,n=t.iterator.next(),r=n.value;return n.done||(n.value="keys"===e?r.key:"values"===e?r.value:[r.key,r.value]),n},!0),at=function(t){this.entries=[],this.url=null,void 0!==t&&(w(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===F(t,0)?J(t,1):t:S(t)))};at.prototype={type:"URLSearchParams",bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,n,r,i,o,s,c,u=E(t);if(u)for(n=(e=x(t,u)).next;!(r=a(n,e)).done;){if(o=(i=x(b(r.value))).next,(s=a(o,i)).done||(c=a(o,i)).done||!a(o,i).done)throw G("Expected sequence with length 2");W(this.entries,{key:S(s.value),value:S(c.value)})}else for(var l in t)m(t,l)&&W(this.entries,{key:l,value:S(t[l])})},parseQuery:function(t){if(t)for(var e,n,r=Y(t,"&"),i=0;i<r.length;)(e=r[i++]).length&&(n=Y(e,"="),W(this.entries,{key:tt($(n)),value:tt(U(n,"="))}))},serialize:function(){for(var t,e=this.entries,n=[],r=0;r<e.length;)t=e[r++],W(n,it(t.key)+"="+it(t.value));return U(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var st=function(){p(this,ct);var t=arguments.length>0?arguments[0]:void 0;C(this,new at(t))},ct=st.prototype;if(l(ct,{append:function(t,e){O(arguments.length,2);var n=j(this);W(n.entries,{key:S(t),value:S(e)}),n.updateURL()},delete:function(t){O(arguments.length,1);for(var e=j(this),n=e.entries,r=S(t),i=0;i<n.length;)n[i].key===r?V(n,i,1):i++;e.updateURL()},get:function(t){O(arguments.length,1);for(var e=j(this).entries,n=S(t),r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){O(arguments.length,1);for(var e=j(this).entries,n=S(t),r=[],i=0;i<e.length;i++)e[i].key===n&&W(r,e[i].value);return r},has:function(t){O(arguments.length,1);for(var e=j(this).entries,n=S(t),r=0;r<e.length;)if(e[r++].key===n)return!0;return!1},set:function(t,e){O(arguments.length,1);for(var n,r=j(this),i=r.entries,o=!1,a=S(t),s=S(e),c=0;c<i.length;c++)(n=i[c]).key===a&&(o?V(i,c--,1):(o=!0,n.value=s));o||W(i,{key:a,value:s}),r.updateURL()},sort:function(){var t=j(this);I(t.entries,function(t,e){return t.key>e.key?1:-1}),t.updateURL()},forEach:function(t){for(var e,n=j(this).entries,r=g(t,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((e=n[i++]).value,e.key,this)},keys:function(){return new ot(this,"keys")},values:function(){return new ot(this,"values")},entries:function(){return new ot(this,"entries")}},{enumerable:!0}),u(ct,A,ct.entries,{name:"entries"}),u(ct,"toString",function(){return j(this).serialize()},{enumerable:!0}),d(st,"URLSearchParams"),r({global:!0,forced:!c},{URLSearchParams:st}),!c&&v(B)){var ut=s(D.has),lt=s(D.set),dt=function(t){if(w(t)){var e,n=t.body;if("URLSearchParams"===y(n))return e=t.headers?new B(t.headers):new B,ut(e,"content-type")||lt(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),_(t,{body:k(0,S(n)),headers:k(0,e)})}return t};if(v(L)&&r({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return L(t,arguments.length>1?dt(arguments[1]):{})}}),v(M)){var ft=function(t){return p(this,P),new M(t,arguments.length>1?dt(arguments[1]):{})};P.constructor=ft,ft.prototype=P,r({global:!0,forced:!0},{Request:ft})}}t.exports={URLSearchParams:st,getState:j}},ma9I:function(t,e,n){"use strict";var r=n("I+eb"),i=n("2oRo"),o=n("0Dky"),a=n("6LWA"),s=n("hh1v"),c=n("ewvW"),u=n("B/qT"),l=n("hBjN"),d=n("ZfDv"),f=n("Hd5f"),h=n("tiKp"),p=n("LQDL"),v=h("isConcatSpreadable"),m=i.TypeError,g=p>=51||!o(function(){var t=[];return t[v]=!1,t.concat()[0]!==t}),y=f("concat"),b=function(t){if(!s(t))return!1;var e=t[v];return void 0!==e?!!e:a(t)};r({target:"Array",proto:!0,forced:!g||!y},{concat:function(t){var e,n,r,i,o,a=c(this),s=d(a,0),f=0;for(e=-1,r=arguments.length;e<r;e++)if(o=-1===e?a:arguments[e],b(o)){if(f+(i=u(o))>9007199254740991)throw m("Maximum allowed index exceeded");for(n=0;n<i;n++,f++)n in o&&l(s,f,o[n])}else{if(f>=9007199254740991)throw m("Maximum allowed index exceeded");l(s,f++,o)}return s.length=f,s}})},mgyK:function(t,e,n){var r=n("NC/Y");t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},"mh/w":function(t,e,n){var r=n("2oRo"),i=n("xluM"),o=n("We1y"),a=n("glrk"),s=n("DVFp"),c=n("NaFW"),u=r.TypeError;t.exports=function(t,e){var n=arguments.length<2?c(t):e;if(o(n))return a(i(n,t));throw u(s(t)+" is not iterable")}},moxL:function(t,e,n){"use strict";var r=n("4zBA"),i=n("67WC"),o=r(n("FF6l")),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",function(t,e){return o(a(this),t,e,arguments.length>2?arguments[2]:void 0)})},"n3/R":function(t,e,n){var r=n("0Dky"),i=n("2oRo").RegExp,o=r(function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")}),a=o||r(function(){return!i("a","y").sticky}),s=o||r(function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")});t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},n5b4:function(t,e,n){var r=n("I+eb"),i=n("2oRo"),o=n("tXUg"),a=n("We1y"),s=n("1tal"),c=n("YF1G"),u=i.process;r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(t){s(arguments.length,1),a(t);var e=c&&u.domain;o(e?e.bind(t):t)}})},nIJZ:function(t,e,n){},nkod:function(t,e,n){var r=n("I+eb"),i=n("g6v/"),o=n("glrk"),a=n("Bs8V");r({target:"Reflect",stat:!0,sham:!i},{getOwnPropertyDescriptor:function(t,e){return a.f(o(t),e)}})},ntOU:function(t,e,n){"use strict";var r=n("rpNk").IteratorPrototype,i=n("fHMY"),o=n("XGwC"),a=n("1E5z"),s=n("P4y1"),c=function(){return this};t.exports=function(t,e,n,u){var l=e+" Iterator";return t.prototype=i(r,{next:o(+!u,n)}),a(t,l,!1,!0),s[l]=c,t}},oEtG:function(t,e,n){var r=n("wE6v"),i=n("2bX/");t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},"oHi+":function(t,e,n){var r=n("A2ZE"),i=n("xluM"),o=n("UIe5"),a=n("ewvW"),s=n("B/qT"),c=n("mh/w"),u=n("NaFW"),l=n("6VoE"),d=n("67WC").aTypedArrayConstructor;t.exports=function(t){var e,n,f,h,p,v,m=o(this),g=a(t),y=arguments.length,b=y>1?arguments[1]:void 0,w=void 0!==b,S=u(g);if(S&&!l(S))for(v=(p=c(g,S)).next,g=[];!(h=i(v,p)).done;)g.push(h.value);for(w&&y>2&&(b=r(b,arguments[2])),n=s(g),f=new(d(m))(n),e=0;n>e;e++)f[e]=w?b(g[e],e):g[e];return f}},or9q:function(t,e,n){"use strict";var r=n("2oRo"),i=n("6LWA"),o=n("B/qT"),a=n("A2ZE"),s=r.TypeError,c=function(t,e,n,r,u,l,d,f){for(var h,p,v=u,m=0,g=!!d&&a(d,f);m<r;){if(m in n){if(h=g?g(n[m],m,e):n[m],l>0&&i(h))p=o(h),v=c(t,e,h,p,v,l-1)-1;else{if(v>=9007199254740991)throw s("Exceed the acceptable array length");t[v]=h}v++}m++}return v};t.exports=c},p532:function(t,e,n){"use strict";var r=n("I+eb"),i=n("xDBR"),o=n("/qmn"),a=n("0Dky"),s=n("0GbY"),c=n("Fib7"),u=n("SEBh"),l=n("zfnd"),d=n("busE");if(r({target:"Promise",proto:!0,real:!0,forced:!!o&&a(function(){o.prototype.finally.call({then:function(){}},function(){})})},{finally:function(t){var e=u(this,s("Promise")),n=c(t);return this.then(n?function(n){return l(e,t()).then(function(){return n})}:t,n?function(n){return l(e,t()).then(function(){throw n})}:t)}}),!i&&c(o)){var f=s("Promise").prototype.finally;o.prototype.finally!==f&&d(o.prototype,"finally",f,{unsafe:!0})}},pDQq:function(t,e,n){"use strict";var r=n("I+eb"),i=n("2oRo"),o=n("I8vh"),a=n("WSbT"),s=n("B/qT"),c=n("ewvW"),u=n("ZfDv"),l=n("hBjN"),d=n("Hd5f")("splice"),f=i.TypeError,h=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(t,e){var n,r,i,d,v,m,g=c(this),y=s(g),b=o(t,y),w=arguments.length;if(0===w?n=r=0:1===w?(n=0,r=y-b):(n=w-2,r=p(h(a(e),0),y-b)),y+n-r>9007199254740991)throw f("Maximum allowed length exceeded");for(i=u(g,r),d=0;d<r;d++)(v=b+d)in g&&l(i,d,g[v]);if(i.length=r,n<r){for(d=b;d<y-r;d++)m=d+n,(v=d+r)in g?g[m]=g[v]:delete g[m];for(d=y;d>y-r+n;d--)delete g[d-1]}else if(n>r)for(d=y-r;d>b;d--)m=d+n-1,(v=d+r-1)in g?g[m]=g[v]:delete g[m];for(d=0;d<n;d++)g[d+b]=arguments[d+2];return g.length=y-r+n,i}})},pLQz:function(t,e,n){var r=n("NC/Y");t.exports=/web0s(?!.*chrome)/i.test(r)},pNMO:function(t,e,n){"use strict";var r=n("I+eb"),i=n("2oRo"),o=n("0GbY"),a=n("K6Rb"),s=n("xluM"),c=n("4zBA"),u=n("xDBR"),l=n("g6v/"),d=n("STAE"),f=n("0Dky"),h=n("Gi26"),p=n("6LWA"),v=n("Fib7"),m=n("hh1v"),g=n("OpvP"),y=n("2bX/"),b=n("glrk"),w=n("ewvW"),S=n("/GqU"),_=n("oEtG"),k=n("V37c"),x=n("XGwC"),E=n("fHMY"),O=n("33Wh"),T=n("JBy8"),I=n("BX/b"),A=n("dBg+"),C=n("Bs8V"),j=n("m/L8"),R=n("N+g0"),L=n("0eef"),M=n("82ph"),B=n("busE"),P=n("VpIT"),D=n("93I0"),N=n("0BK2"),G=n("kOOl"),H=n("tiKp"),q=n("5Tg+"),F=n("dG/n"),U=n("1E5z"),W=n("afO8"),z=n("tycR").forEach,$=D("hidden"),V=H("toPrimitive"),Y=W.set,J=W.getterFor("Symbol"),K=Object.prototype,X=i.Symbol,Z=X&&X.prototype,Q=i.TypeError,tt=i.QObject,et=o("JSON","stringify"),nt=C.f,rt=j.f,it=I.f,ot=L.f,at=c([].push),st=P("symbols"),ct=P("op-symbols"),ut=P("string-to-symbol-registry"),lt=P("symbol-to-string-registry"),dt=P("wks"),ft=!tt||!tt.prototype||!tt.prototype.findChild,ht=l&&f(function(){return 7!=E(rt({},"a",{get:function(){return rt(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=nt(K,e);r&&delete K[e],rt(t,e,n),r&&t!==K&&rt(K,e,r)}:rt,pt=function(t,e){var n=st[t]=E(Z);return Y(n,{type:"Symbol",tag:t,description:e}),l||(n.description=e),n},vt=function(t,e,n){t===K&&vt(ct,e,n),b(t);var r=_(e);return b(n),h(st,r)?(n.enumerable?(h(t,$)&&t[$][r]&&(t[$][r]=!1),n=E(n,{enumerable:x(0,!1)})):(h(t,$)||rt(t,$,x(1,{})),t[$][r]=!0),ht(t,r,n)):rt(t,r,n)},mt=function(t,e){b(t);var n=S(e),r=O(n).concat(wt(n));return z(r,function(e){l&&!s(gt,n,e)||vt(t,e,n[e])}),t},gt=function(t){var e=_(t),n=s(ot,this,e);return!(this===K&&h(st,e)&&!h(ct,e))&&(!(n||!h(this,e)||!h(st,e)||h(this,$)&&this[$][e])||n)},yt=function(t,e){var n=S(t),r=_(e);if(n!==K||!h(st,r)||h(ct,r)){var i=nt(n,r);return!i||!h(st,r)||h(n,$)&&n[$][r]||(i.enumerable=!0),i}},bt=function(t){var e=it(S(t)),n=[];return z(e,function(t){h(st,t)||h(N,t)||at(n,t)}),n},wt=function(t){var e=t===K,n=it(e?ct:S(t)),r=[];return z(n,function(t){!h(st,t)||e&&!h(K,t)||at(r,st[t])}),r};(d||(B(Z=(X=function(){if(g(Z,this))throw Q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?k(arguments[0]):void 0,e=G(t),n=function(t){this===K&&s(n,ct,t),h(this,$)&&h(this[$],e)&&(this[$][e]=!1),ht(this,e,x(1,t))};return l&&ft&&ht(K,e,{configurable:!0,set:n}),pt(e,t)}).prototype,"toString",function(){return J(this).tag}),B(X,"withoutSetter",function(t){return pt(G(t),t)}),L.f=gt,j.f=vt,R.f=mt,C.f=yt,T.f=I.f=bt,A.f=wt,q.f=function(t){return pt(H(t),t)},l&&(rt(Z,"description",{configurable:!0,get:function(){return J(this).description}}),u||B(K,"propertyIsEnumerable",gt,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!d,sham:!d},{Symbol:X}),z(O(dt),function(t){F(t)}),r({target:"Symbol",stat:!0,forced:!d},{for:function(t){var e=k(t);if(h(ut,e))return ut[e];var n=X(e);return ut[e]=n,lt[n]=e,n},keyFor:function(t){if(!y(t))throw Q(t+" is not a symbol");if(h(lt,t))return lt[t]},useSetter:function(){ft=!0},useSimple:function(){ft=!1}}),r({target:"Object",stat:!0,forced:!d,sham:!l},{create:function(t,e){return void 0===e?E(t):mt(E(t),e)},defineProperty:vt,defineProperties:mt,getOwnPropertyDescriptor:yt}),r({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:bt,getOwnPropertySymbols:wt}),r({target:"Object",stat:!0,forced:f(function(){A.f(1)})},{getOwnPropertySymbols:function(t){return A.f(w(t))}}),et)&&r({target:"JSON",stat:!0,forced:!d||f(function(){var t=X();return"[null]"!=et([t])||"{}"!=et({a:t})||"{}"!=et(Object(t))})},{stringify:function(t,e,n){var r=M(arguments),i=e;if((m(e)||void 0!==t)&&!y(t))return p(e)||(e=function(t,e){if(v(i)&&(e=s(i,this,t,e)),!y(e))return e}),r[1]=e,a(et,null,r)}});if(!Z[V]){var St=Z.valueOf;B(Z,V,function(t){return s(St,this)})}U(X,"Symbol"),N[$]=!0},pkCn:function(t,e,n){"use strict";var r=n("0Dky");t.exports=function(t,e){var n=[][t];return!!n&&r(function(){n.call(null,e||function(){return 1},1)})}},pv2x:function(t,e,n){var r=n("I+eb"),i=n("K6Rb"),o=n("We1y"),a=n("glrk");r({target:"Reflect",stat:!0,forced:!n("0Dky")(function(){Reflect.apply(function(){})})},{apply:function(t,e,n){return i(o(t),e,a(n))}})},qLbo:function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"c",function(){return i}),n.d(e,"a",function(){return o});var r={GAME_TIP:"hideGameTip",DIFFICULTY:"difficulty",MODE:"mode",SAVED_GAME:"hideLoadGameDialog",DAILY:"dailyInfo",MAIN_GAME:"main_game",MAIN_GAME_KILLER:"main_game_killer",FINISHED_MONTHS:"dailyFinishedMonths",HISTORY_ACTIONS:"main_game_actions",HIDE_LOST_PROGRESS:"hide_lost_progress",PROMO_BUBBLE:"promo_bubble",LAST_INTER_IN_PROGRESS:"last_inter_date",COUNT_WINS:"count_wins",CAN_SHOW_INTERS:"can_show_interstitial_ads",LAST_INTER_TIME:"last_inter_time",EUID:"euid",TOURNAMENT:"tournament",TOURNAMENT_HIW:"tournament_hiw",TOURNAMENT_AWARDS:"tournament_awards",LAST_INTER_TEXT:"last_inter_text",LAST_INTER_EMOJI:"last_inter_emoji"},i={STARTED_GAME_DIALOG:"hideLoadGameDialog",DC_DATE:"dc-date",SELECTED_CELL:"selected_cell"},o={CHECK_MISTAKES:"checkMistakes"}},qXVe:function(t,e,n){"use strict";var r=n("67WC"),i=n("tycR").every,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)})},qYE9:function(t,e){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},qxPZ:function(t,e,n){var r=n("tiKp")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},rB9j:function(t,e,n){"use strict";var r=n("I+eb"),i=n("kmMV");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},rBZX:function(t,e,n){var r=n("I+eb"),i=n("glrk"),o=n("Bs8V").f;r({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var n=o(i(t),e);return!(n&&!n.configurable)&&delete t[e]}})},rKzb:function(t,e,n){"use strict";var r=n("4zBA"),i=n("4syw"),o=n("8YOa").getWeakData,a=n("glrk"),s=n("hh1v"),c=n("GarU"),u=n("ImZN"),l=n("tycR"),d=n("Gi26"),f=n("afO8"),h=f.set,p=f.getterFor,v=l.find,m=l.findIndex,g=r([].splice),y=0,b=function(t){return t.frozen||(t.frozen=new w)},w=function(){this.entries=[]},S=function(t,e){return v(t.entries,function(t){return t[0]===e})};w.prototype={get:function(t){var e=S(this,t);if(e)return e[1]},has:function(t){return!!S(this,t)},set:function(t,e){var n=S(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=m(this.entries,function(e){return e[0]===t});return~e&&g(this.entries,e,1),!!~e}},t.exports={getConstructor:function(t,e,n,r){var l=t(function(t,i){c(t,f),h(t,{type:e,id:y++,frozen:void 0}),null!=i&&u(i,t[r],{that:t,AS_ENTRIES:n})}),f=l.prototype,v=p(e),m=function(t,e,n){var r=v(t),i=o(a(e),!0);return!0===i?b(r).set(e,n):i[r.id]=n,t};return i(f,{delete:function(t){var e=v(this);if(!s(t))return!1;var n=o(t);return!0===n?b(e).delete(t):n&&d(n,e.id)&&delete n[e.id]},has:function(t){var e=v(this);if(!s(t))return!1;var n=o(t);return!0===n?b(e).has(t):n&&d(n,e.id)}}),i(f,n?{get:function(t){var e=v(this);if(s(t)){var n=o(t);return!0===n?b(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return m(this,t,e)}}:{add:function(t){return m(this,t,!0)}}),l}}},rNhl:function(t,e,n){var r=n("I+eb"),i=n("fhKU");r({global:!0,forced:parseFloat!=i},{parseFloat:i})},rOQg:function(t,e,n){"use strict";var r=n("I+eb"),i=n("4zBA"),o=n("0Dky"),a=n("Yhre"),s=n("glrk"),c=n("I8vh"),u=n("UMSQ"),l=n("SEBh"),d=a.ArrayBuffer,f=a.DataView,h=f.prototype,p=i(d.prototype.slice),v=i(h.getUint8),m=i(h.setUint8);r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o(function(){return!new d(2).slice(1,void 0).byteLength})},{slice:function(t,e){if(p&&void 0===e)return p(s(this),t);for(var n=s(this).byteLength,r=c(t,n),i=c(void 0===e?n:e,n),o=new(l(this,d))(u(i-r)),a=new f(this),h=new f(o),g=0;r<i;)m(h,g++,v(a,r++));return o}})},rW0t:function(t,e,n){"use strict";var r=n("glrk");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},rdv8:function(t,e,n){var r=n("Ta7t"),i=Math.floor,o=function(t,e){var n=t.length,c=i(n/2);return n<8?a(t,e):s(t,o(r(t,0,c),e),o(r(t,c),e),e)},a=function(t,e){for(var n,r,i=t.length,o=1;o<i;){for(r=o,n=t[o];r&&e(t[r-1],n)>0;)t[r]=t[--r];r!==o++&&(t[r]=n)}return t},s=function(t,e,n,r){for(var i=e.length,o=n.length,a=0,s=0;a<i||s<o;)t[a+s]=a<i&&s<o?r(e[a],n[s])<=0?e[a++]:n[s++]:a<i?e[a++]:n[s++];return t};t.exports=o},rpNk:function(t,e,n){"use strict";var r,i,o,a=n("0Dky"),s=n("Fib7"),c=n("fHMY"),u=n("4WOD"),l=n("busE"),d=n("tiKp"),f=n("xDBR"),h=d("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(i=u(u(o)))!==Object.prototype&&(r=i):p=!0),null==r||a(function(){var t={};return r[h].call(t)!==t})?r={}:f&&(r=c(r)),s(r[h])||l(r,h,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},rtlb:function(t,e,n){var r=n("g6v/"),i=n("0Dky");t.exports=r&&i(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},s5qe:function(t,e,n){"use strict";var r=n("2oRo"),i=n("K6Rb"),o=n("67WC"),a=n("0Dky"),s=n("82ph"),c=r.Int8Array,u=o.aTypedArray,l=o.exportTypedArrayMethod,d=[].toLocaleString,f=!!c&&a(function(){d.call(new c(1))});l("toLocaleString",function(){return i(d,f?s(u(this)):u(this),s(arguments))},a(function(){return[1,2].toLocaleString()!=new c([1,2]).toLocaleString()})||!a(function(){c.prototype.toLocaleString.call([1,2])}))},sEFX:function(t,e,n){"use strict";var r=n("AO7/"),i=n("9d/t");t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},tW5y:function(t,e,n){"use strict";var r=n("Fib7"),i=n("hh1v"),o=n("m/L8"),a=n("4WOD"),s=n("tiKp")("hasInstance"),c=Function.prototype;s in c||o.f(c,s,{value:function(t){if(!r(this)||!i(t))return!1;var e=this.prototype;if(!i(e))return t instanceof this;for(;t=a(t);)if(e===t)return!0;return!1}})},tXUg:function(t,e,n){var r,i,o,a,s,c,u,l,d=n("2oRo"),f=n("A2ZE"),h=n("Bs8V").f,p=n("LPSS").set,v=n("HNyW"),m=n("1MNl"),g=n("pLQz"),y=n("YF1G"),b=d.MutationObserver||d.WebKitMutationObserver,w=d.document,S=d.process,_=d.Promise,k=h(d,"queueMicrotask"),x=k&&k.value;x||(r=function(){var t,e;for(y&&(t=S.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(t){throw i?a():o=void 0,t}}o=void 0,t&&t.enter()},v||y||g||!b||!w?!m&&_&&_.resolve?((u=_.resolve(void 0)).constructor=_,l=f(u.then,u),a=function(){l(r)}):y?a=function(){S.nextTick(r)}:(p=f(p,d),a=function(){p(r)}):(s=!0,c=w.createTextNode(""),new b(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s})),t.exports=x||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},tiKp:function(t,e,n){var r=n("2oRo"),i=n("VpIT"),o=n("Gi26"),a=n("kOOl"),s=n("STAE"),c=n("/b8u"),u=i("wks"),l=r.Symbol,d=l&&l.for,f=c?l:l&&l.withoutSetter||a;t.exports=function(t){if(!o(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&o(l,t)?u[t]=l[t]:u[t]=c&&d?d(e):f(e)}return u[t]}},tjZM:function(t,e,n){n("dG/n")("asyncIterator")},toAj:function(t,e,n){"use strict";var r=n("I+eb"),i=n("2oRo"),o=n("4zBA"),a=n("WSbT"),s=n("QIpd"),c=n("EUja"),u=n("0Dky"),l=i.RangeError,d=i.String,f=Math.floor,h=o(c),p=o("".slice),v=o(1..toFixed),m=function(t,e,n){return 0===e?n:e%2==1?m(t,e-1,n*t):m(t*t,e/2,n)},g=function(t,e,n){for(var r=-1,i=n;++r<6;)i+=e*t[r],t[r]=i%1e7,i=f(i/1e7)},y=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=f(r/e),r=r%e*1e7},b=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=d(t[e]);n=""===n?r:n+h("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:u(function(){return"0.000"!==v(8e-5,3)||"1"!==v(.9,0)||"1.25"!==v(1.255,2)||"1000000000000000128"!==v(0xde0b6b3a7640080,0)})||!u(function(){v({})})},{toFixed:function(t){var e,n,r,i,o=s(this),c=a(t),u=[0,0,0,0,0,0],f="",v="0";if(c<0||c>20)throw l("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return d(o);if(o<0&&(f="-",o=-o),o>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(o*m(2,69,1))-69)<0?o*m(2,-e,1):o/m(2,e,1),n*=4503599627370496,(e=52-e)>0){for(g(u,0,n),r=c;r>=7;)g(u,1e7,0),r-=7;for(g(u,m(10,r,1),0),r=e-1;r>=23;)y(u,1<<23),r-=23;y(u,1<<r),g(u,1,1),y(u,2),v=b(u)}else g(u,0,n),g(u,1<<-e,0),v=b(u)+h("0",c);return v=c>0?f+((i=v.length)<=c?"0."+h("0",c-i)+v:p(v,0,i-c)+"."+p(v,i-c)):f+v}})},trfz:function(t,e,n){var r=n("67WC"),i=n("SEBh"),o=r.TYPED_ARRAY_CONSTRUCTOR,a=r.aTypedArrayConstructor;t.exports=function(t){return a(i(t,t[o]))}},tycR:function(t,e,n){var r=n("A2ZE"),i=n("4zBA"),o=n("RK3t"),a=n("ewvW"),s=n("B/qT"),c=n("ZfDv"),u=i([].push),l=function(t){var e=1==t,n=2==t,i=3==t,l=4==t,d=6==t,f=7==t,h=5==t||d;return function(p,v,m,g){for(var y,b,w=a(p),S=o(w),_=r(v,m),k=s(S),x=0,E=g||c,O=e?E(p,k):n||f?E(p,0):void 0;k>x;x++)if((h||x in S)&&(b=_(y=S[x],x,w),t))if(e)O[x]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return x;case 2:u(O,y)}else switch(t){case 4:return!1;case 7:u(O,y)}return d?-1:i||l?l:O}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},uh8D:function(t,e,n){"use strict";n.d(e,"a",function(){return d});var r=n("Om6b"),i=n("J8vR"),o=n("/cOv"),a=n("5z3c"),s=n("/OA6"),c=n("6Ssv"),u=n("aVqm"),l=function(){return(l=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},d=function(){function t(t){this.minDate=t.minDate,this.firstDayInCalendar=t.firstDay,this.maxDate=t.maxDate,this.selectedDate=Object(r.c)(this.maxDate),this.calendar=[],this.cups=[],this.moving=!1,this.mounted=!1,this.dateTranslations=t.dateTranslations,this.$body=document.querySelector("body"),this.$calendarDate=document.querySelector(t.calendarDateSelector),this.$calendarWrapper=document.querySelector(t.calendarWrapperSelector),this.$navPrev=document.querySelector(t.calendarNavSelector+"[left]"),this.$navNext=document.querySelector(t.calendarNavSelector+"[right]"),this.$calendarCup=document.querySelector(t.calendarCupSelector),this.$calendarButton=document.querySelector(t.calendarButtonSelector),this.$restartButton=document.querySelector(t.restartButtonSelector),this.$continueButton=document.querySelector(t.continueButtonSelector),this.$calendarBody=document.getElementById("calendar-body"),this.$flares=document.querySelectorAll("#calendar-cup .flare"),this.$calendarProgress=document.querySelector("#calendar-progress")}return t.monthIsFullCompleted=function(t,e,n){var i=e||c.a&&JSON.parse(localStorage.getItem(r.a))||{},o=t.split("_"),a=o[0],s=o[1],u=Object(r.f)(parseInt(a),parseInt(s)),l=0;return Object.keys(i).forEach(function(e){var n=e.split("_");n[0]+"_"+n[1]===t&&i[e].done&&l++}),{countFinished:l,daysInMonth:u,completed:n?l===n:l===u}},t.prototype.init=function(){var t=this,e=c.a&&sessionStorage.getItem("dc-calendar"),n=c.a&&sessionStorage.getItem("dc-win-date");n&&(this.fakeSelectedDate=n),this.selectCell=this.selectCell.bind(this),this.moveCalendar=this.moveCalendar.bind(this),this.handleCalendarButtonClick=this.handleCalendarButtonClick.bind(this),this.resetLocalStorageLevelProgress=this.resetLocalStorageLevelProgress.bind(this),this.redirectToDCLevel=this.redirectToDCLevel.bind(this),this.prepareCalendar(),this.paintCup(),this.paintCalendar(),this.createCalendarListeners(),this.paintSelectedDate(),this.paintProgress(),e&&this.activateNearTab(),this.lazyLoadImages(this.$flares),this.showWinCoin(),this.$navPrev.addEventListener("click",this.moveCalendar),this.$navNext.addEventListener("click",this.moveCalendar),this.$calendarButton.addEventListener("click",this.handleCalendarButtonClick),this.$continueButton.addEventListener("click",this.redirectToDCLevel),this.$restartButton.addEventListener("click",this.resetLocalStorageLevelProgress),window.addEventListener("resize",Object(a.e)(function(){t.$calendarCup.style.height="auto",t.$calendarCup.style.height=t.$calendarCup.offsetHeight+"px"}))},t.prototype.lazyLoadImages=function(t){function e(t){t&&(t.target?0!==t.target.naturalHeight&&Object(i.a)(t.target).add("loaded"):Object(i.a)(t).add("loaded"))}t.forEach(function(t){t.complete&&0!==t.naturalHeight?e(t):t.addEventListener("load",e)})},t.prototype.showWinCoin=function(){var t=this;if(this.fakeSelectedDate){var e=this.fakeSelectedDate.split("_"),n=e[0],r=e[1],o=(e[2],this.calendar[this.selectedMonth].id.split("_")),a=o[0],s=o[1],l=!Object(i.c)(this.$calendarWrapper),d=this.$calendarBody.getBoundingClientRect().top-(window.innerHeight-this.$calendarBody.scrollHeight);if(r===s&&n===a){var f=window.matchMedia("(max-width: 767px)").matches,h=document.createElement("img");if(h.classList.add("calendar-coin"),h.src="/img/dc-coin.svg",window.matchMedia("(max-width: 767px)").matches)this.$calendarBody.appendChild(h);else{var p=document.createElement("div");p.classList.add("calendar-coin-parent"),p.appendChild(h);h.style.left="50%",h.style.bottom="inherit",h.style.right="inherit",h.style.margin="-410px 0 0 -820px",h.style.width="1640px",h.style.height="1640px",h.style.opacity="0",this.$body.appendChild(p)}this.$dcCoin=document.querySelector(".calendar-coin"),this.$dcCoin.style.display="block",this.$calendarBody.classList.add("animation"),setTimeout(function(){t.animateCoin(),l&&f&&Object(u.a)(d,{duration:500}),setTimeout(function(){t.$calendarBody.classList.add("animation-select")},f?500:600),setTimeout(function(){Object(i.a)(t.$calendarBody).remove("animation","animation-select"),sessionStorage.removeItem("dc-win-date")},1300)},400)}else c.a&&sessionStorage.removeItem("dc-win-date")}},t.prototype.animateCoin=function(){var t=window.matchMedia("(max-width: 767px)").matches,e=document.querySelector('.day[data-id="'+this.fakeSelectedDate+'"]'),n=this.$dcCoin.clientWidth,r=e.getBoundingClientRect(),i=this.$dcCoin.getBoundingClientRect(),o=t?600:700,a=window.matchMedia("(max-width: 767px)").matches?0:n/2,c=(i.top+a)*(t?1:-1),u=i.left+n/2-(t?0:820),l=0,d=0,f=0,h=0,p=null,v=this;requestAnimationFrame(function e(i){p||(p=i);var a=i-p,m=Math.min(Object(s.a)(a/o),1);d=(c-r.top-r.width/2)*m,f=(u-r.left-r.width/2)*m,l=n-n*m,v.$dcCoin.style.width=l+"px",v.$dcCoin.style.height=l+"px",v.$dcCoin.style.transform="translate("+-f+"px, "+-d+"px)",t||(h=m,v.$dcCoin.style.opacity=""+h),a<o&&requestAnimationFrame(e)})},t.prototype.activateNearTab=function(){sessionStorage.removeItem("dc-calendar");for(var t=null,e=this.calendar.length-1;e>=0&&null===t;)this.calendar[e].notFullCompletedMonth||(t=e),e--;this.selectedMonth=null!==t?t:this.calendar.length-1,this.moveCalendar(null,!0)},t.prototype.resetLocalStorageLevelProgress=function(){if(c.a){var t=JSON.parse(localStorage.getItem(r.a))||{};delete t[this.selectedDate],localStorage.setItem(r.a,JSON.stringify(t)),this.redirectToDCLevel()}},t.prototype.redirectToDCLevel=function(){window.location.href=this.$calendarButton.dataset.url},t.prototype.handleCalendarButtonClick=function(t){var e=c.a&&JSON.parse(localStorage.getItem(r.a))||{};c.a&&sessionStorage.setItem("dc-date",this.selectedDate),e[this.selectedDate]&&!e[this.selectedDate].done?Object(o.a)(t,"dcMenu"):this.redirectToDCLevel()},t.prototype.moveCalendar=function(t,e){if(!this.moving){if(!e){var n=Object(i.b)(t.target,"calendar-nav");this.selectedMonth=n.hasAttribute("left")?this.selectedMonth-1:this.selectedMonth+1}this.disableInteraction(),this.actualizeStateOfNavs(),this.paintCalendar(e),this.removeCalendarListeners(),this.createCalendarListeners(),this.selectCell(),this.paintCup(),this.paintProgress()}},t.prototype.actualizeStateOfNavs=function(){this.$navNext.removeAttribute("disabled"),this.$navPrev.removeAttribute("disabled"),this.selectedMonth>=this.calendar.length-1&&this.$navNext.setAttribute("disabled",""),this.selectedMonth<=0&&this.$navPrev.setAttribute("disabled","")},t.prototype.disableInteraction=function(){var t=this;this.moving=!0,setTimeout(function(){t.moving=!1},500)},t.prototype.prepareCalendar=function(){for(var e=new Date(this.minDate);e<this.maxDate;){var n=Object(r.f)(e.getFullYear(),e.getMonth()),i=Object(r.g)(e.getFullYear(),e.getMonth()),o=Object(r.e)(i,this.firstDayInCalendar),a=new Array(o).fill(0).concat(Array.from({length:n},function(t,e){return e+1})),s=e.getFullYear()+"_"+e.getMonth(),c=this.selectedDate.split("_"),u=c[0],l=c[1],d=c[2],p=u+"_"+l===s?parseInt(d):n,v=this.findLastAvailableMonthDay(s,p);u+"_"+l===s&&(this.selectedDate=u+"_"+l+"_"+v),this.calendar.push({id:s,monthId:e.getMonth(),countDaysInMonth:n,countCompletedDays:f(s),maxDay:p,maxNotFinishedDay:v,cells:a,calendarHtml:h(a,s,this.selectedDate,this.maxDate,this.fakeSelectedDate),fullCompleted:t.monthIsFullCompleted(s).completed,notFullCompletedMonth:t.monthIsFullCompleted(s,null,p).completed}),e.setMonth(e.getMonth()+1)}this.selectedMonth=this.calendar.length-1},t.prototype.findLastAvailableMonthDay=function(t,e){var n=c.a&&JSON.parse(localStorage.getItem(r.a))||{};if(!c.a)return e;for(var i=e;i>0;){var o=n[t+"_"+i];if(!o||!o||!o.done)return i;i--}return e},t.prototype.downloadCup=function(t,e,n){var r;if(!this.cups[t]||!this.cups[t][e]){var i=new Image;i.src="/img/cups/cup_"+t+(n?"_done":"")+".png",i.srcset="/img/cups/cup_"+t+(n?"_done":"")+".png 1x, /img/cups/cup_"+t+(n?"_done":"")+"@2x.png 2x",i.dataset.id=t.toString(),i.dataset.type=e,this.cups[t]=l(l({},this.cups[t]||{}),((r={})[e]=i,r)),this.cups[t][e].classList.add("active"),this.$calendarCup.appendChild(this.cups[t][e])}},t.prototype.paintProgress=function(){var t=this.calendar[this.selectedMonth],e=t.countCompletedDays,n=t.countDaysInMonth;this.$calendarProgress.innerText=e+"/"+n},t.prototype.paintCup=function(){var t=this,e=this.selectedMonth-1,n=this.calendar[this.selectedMonth],r=n.monthId,i=n.fullCompleted,o=i?"gold":"normal";if(this.downloadCup(r,o,i),e>=0){var a=this.calendar[e],s=a.monthId,c=a.fullCompleted;this.downloadCup(s,c?"gold":"normal",c)}if(this.$calendarCup.querySelectorAll("img[data-id]").forEach(function(t){t.classList.remove("active"),parseInt(t.dataset.id)===r&&t.dataset.type===o&&t.classList.add("active")}),!this.mounted){var u=document.querySelectorAll("img[data-id]");this.lazyLoadImages(u),setTimeout(function(){t.$calendarCup.classList.add("active"),t.$calendarCup.style.height=t.$calendarCup.offsetHeight+"px"},500),setTimeout(function(){t.$calendarCup.classList.add("inited")},1e3)}},t.prototype.paintSelectedDate=function(){var t=this.selectedDate.split("_").map(function(t){return parseInt(t)}),e=t[0],n=t[1],i=t[2];this.$calendarDate.innerText=Object(r.k)(this.dateTranslations[n],i,e,"YEAR")},t.prototype.paintCalendar=function(t){var e=this,n=this.selectedMonth-1>=0?this.selectedMonth-1:0,r=this.selectedMonth+1<=this.calendar.length-1?this.selectedMonth+1:this.calendar.length-1,o=this.calendar.slice(n,r+1);(Object(i.a)(this.calendar[this.selectedMonth].calendarHtml).remove("prev","next","active").add("active"),r!==this.selectedMonth&&Object(i.a)(this.calendar[r].calendarHtml).remove("prev","next","active").add("next"),n!==this.selectedMonth&&Object(i.a)(this.calendar[n].calendarHtml).remove("prev","next","active").add("prev"),!this.mounted||t)?(this.$calendarWrapper.innerHTML="",o.forEach(function(t){return e.$calendarWrapper.appendChild(t.calendarHtml)}),this.mounted=!0):(document.querySelectorAll(".calendar-table").forEach(function(t){o.find(function(e){return e.id===t.dataset.id})||t.parentNode.removeChild(t)}),o.forEach(function(t,n){if(document.querySelector('.calendar-table[data-id="'+t.id+'"]')){if(e.rerenderedMonth){var r=document.querySelector('.calendar-table[data-id="'+t.id+'"]');r.className=t.calendarHtml.className,r.innerHTML=t.calendarHtml.innerHTML,t.calendarHtml=r}}else 0===n&&e.$calendarWrapper.insertAdjacentElement("afterbegin",t.calendarHtml),n===o.length-1&&e.$calendarWrapper.appendChild(t.calendarHtml)}),this.rerenderedMonth=!1)},t.prototype.clearSelectedCells=function(){document.querySelectorAll(".calendar-table .day").forEach(function(t){t.classList.remove("selected")})},t.prototype.selectCell=function(t){if(this.clearSelectedCells(),!t){var e=this.calendar[this.selectedMonth];return this.selectedDate=e.id+"_"+e.maxNotFinishedDay,document.querySelector('[data-id="'+this.selectedDate+'"]').classList.add("selected"),void this.paintSelectedDate()}var n=Object(i.b)(t.target,"day");n&&(this.selectedDate=n.dataset.id,n.classList.add("selected"),this.paintSelectedDate())},t.prototype.createCalendarListeners=function(){var t=this;document.querySelectorAll(".calendar-table.active .day:not([disabled])").forEach(function(e){e.addEventListener("click",t.selectCell)})},t.prototype.removeCalendarListeners=function(){var t=this;document.querySelectorAll(".calendar-table:not(.active) .day:not([disabled])").forEach(function(e){e.removeEventListener("click",t.selectCell)})},t.prototype.rerenderCurrentMonth=function(){document.querySelector('[data-id="'+this.calendar[this.selectedMonth].id+'"]').innerHTML=this.calendar[this.selectedMonth].calendarHtml.innerHTML,this.removeCalendarListeners(),this.createCalendarListeners(),this.paintCup(),this.paintProgress(),this.rerenderedMonth=!0},t.prototype._cheatUpdateSelectedMonth=function(t){void 0===t&&(t="COMPLETE");for(var e=this.calendar[this.selectedMonth].cells.filter(function(t){return!!t}),n=0;n<this.calendar[this.selectedMonth].maxDay;n++)this._cheatUpdateSelectedDay(this.calendar[this.selectedMonth].id+"_"+e[n],this.calendar[this.selectedMonth].maxDay===e[n],t);this.selectedDate=this.calendar[this.selectedMonth].id+"_"+this.calendar[this.selectedMonth].maxDay},t.prototype._cheatUpdateSelectedDay=function(e,n,i){var o=this;if(void 0===n&&(n=!0),void 0===i&&(i="COMPLETE"),c.a){var a=JSON.parse(localStorage.getItem(r.a))||{},s="string"==typeof e?e:this.selectedDate,u=s.split("_"),d=u[0],p=u[1];"COMPLETE"===i?a[s]=l(l({},a[s]),{done:!0}):delete a[s],this.calendar.map(function(e){return e.id===d+"_"+p&&(e.calendarHtml=h(e.cells,e.id,s,o.maxDate,null,a),e.fullCompleted=t.monthIsFullCompleted(e.id,a).completed,e.countCompletedDays=f(e.id,a)),e}),localStorage.setItem(r.a,JSON.stringify(a)),n&&this.rerenderCurrentMonth()}},t}();function f(t,e){var n=e||c.a&&JSON.parse(localStorage.getItem(r.a))||{},i=0;return Object.keys(n).forEach(function(e){var r,o=t.split("_"),a=o[0],s=o[1],c=e.split("_"),u=c[0],l=c[1];c[2];a===u&&s===l&&(null===(r=n[e])||void 0===r?void 0:r.done)&&i++}),i}function h(t,e,n,i,o,a){var s=a||c.a&&JSON.parse(localStorage.getItem(r.a))||{},u=document.createElement("div"),l=i.getDate(),d=i.getFullYear(),f=i.getMonth();return u.className="calendar-table",u.dataset.id=e,t.forEach(function(t){var i,a=document.createElement("div");if(t){var c=e+"_"+t,h=document.createElement("div");if(h.innerText=t,h.dataset.id=c,h.className="day",n===c&&(h.classList.add("selected"),o&&h.classList.add("animation-hidden")),o===c&&h.classList.add("animation-selected"),(null===(i=s[c])||void 0===i?void 0:i.done)&&h.classList.add("completed"),t>l&&e===d+"_"+f&&h.setAttribute("disabled",""),s[c]&&!s[c].done){var p=s[c]||0,v=p.userGrid,m=p.values,g=void 0;m&&(g=m.reduce(function(t,e){return t.push(e.val),t},[]));var y=100-Object(r.h)(g||v);h.classList.add("progress"),h.innerHTML='\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="-2 -2 36 36">\n <circle cx="16" cy="16" r="15.9155" class="background" />\n <circle cx="16" cy="16" r="15.9155" class="progress" style="stroke-dashoffset: '+y+'" />\n </svg>\n '+t+"\n "}a.appendChild(h)}u.appendChild(a)}),u}},uy83:function(t,e,n){var r=n("0Dky");t.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},vJIS:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r,i=function(){function t(){this.footer=document.querySelector(".ref-footer"),this.footerAnchor=document.querySelector(".footer-anchor"),this.anchorLinks=document.querySelectorAll("[data-anchor]"),this.anchorTopLinks=document.querySelectorAll("[data-scrolltop]")}return t.prototype.bindAnchorLinksClick=function(t){this.anchorLinks.forEach(function(e){e.addEventListener("click",function(){return t(e)})})},t.prototype.bindAnchorTopLinksClick=function(t){this.anchorTopLinks.forEach(function(e){e.addEventListener("click",t)})},t.prototype.changeAnchorPosition=function(t){this.footerAnchor.style.position=t},t}(),o=function(){return function(){}}();!function(t){t.absolute="absolute",t.fixed="fixed"}(r||(r={}));var a=n("aVqm"),s=function(){function t(){this.view=new i,this.model=new o,this.view.bindAnchorLinksClick(this.handleAnchorLinkClick.bind(this)),this.view.bindAnchorTopLinksClick(this.handleAnchorTopLinkClick.bind(this)),document.addEventListener("scroll",this.handleScroll.bind(this))}return t.prototype.handleAnchorLinkClick=function(t){t.addEventListener("click",function(){Object(a.a)(t.dataset.anchor,{duration:400})})},t.prototype.handleAnchorTopLinkClick=function(){Object(a.a)("#masthead",{duration:400})},t.prototype.handleScroll=function(){function t(t){return t.getBoundingClientRect().top}this.view.footerAnchor&&(t(this.view.footerAnchor)+document.body.scrollTop+this.view.footerAnchor.offsetHeight>=t(this.view.footer)+document.body.scrollTop-10&&this.view.changeAnchorPosition(r.absolute),document.body.scrollTop+window.innerHeight<t(this.view.footer)+document.body.scrollTop&&this.view.changeAnchorPosition(r.fixed))},t}()},vTjZ:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r={post:{method:"POST",headers:{"Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"}},get:{method:"GET",headers:{"X-Requested-With":"XMLHttpRequest"}},postFormData:{method:"POST",headers:{"X-Requested-With":"XMLHttpRequest"}},classicPost:{method:"POST",headers:{"Content-Type":"application/json"}}}},vxnP:function(t,e,n){"use strict";var r=n("I+eb"),i=n("xluM");r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},w1rZ:function(t,e,n){var r=n("I+eb"),i=n("fhKU");r({target:"Number",stat:!0,forced:Number.parseFloat!=i},{parseFloat:i})},wE6v:function(t,e,n){var r=n("2oRo"),i=n("xluM"),o=n("hh1v"),a=n("2bX/"),s=n("3Eq5"),c=n("SFrS"),u=n("tiKp"),l=r.TypeError,d=u("toPrimitive");t.exports=function(t,e){if(!o(t)||a(t))return t;var n,r=s(t,d);if(r){if(void 0===e&&(e="default"),n=i(r,t,e),!o(n)||a(n))return n;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},"wZ/5":function(t,e,n){"use strict";var r=n("I+eb"),i=n("2oRo"),o=n("Yhre"),a=n("JiZb"),s=o.ArrayBuffer;r({global:!0,forced:i.ArrayBuffer!==s},{ArrayBuffer:s}),a("ArrayBuffer")},waxf:function(t,e,n){"use strict";var r=n("67WC"),i=n("tycR").filter,o=n("FEiF"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",function(t){var e=i(a(this),t,arguments.length>1?arguments[1]:void 0);return o(this,e)})},wfmh:function(t,e,n){var r=n("I+eb"),i=n("ImZN"),o=n("hBjN");r({target:"Object",stat:!0},{fromEntries:function(t){var e={};return i(t,function(t,n){o(e,t,n)},{AS_ENTRIES:!0}),e}})},wg0c:function(t,e,n){var r=n("2oRo"),i=n("0Dky"),o=n("4zBA"),a=n("V37c"),s=n("WKiH").trim,c=n("WJkJ"),u=r.parseInt,l=r.Symbol,d=l&&l.iterator,f=/^[+-]?0x/i,h=o(f.exec),p=8!==u(c+"08")||22!==u(c+"0x16")||d&&!i(function(){u(Object(d))});t.exports=p?function(t,e){var n=s(a(t));return u(n,e>>>0||(h(f,n)?16:10))}:u},x2An:function(t,e,n){n("I+eb")({target:"Reflect",stat:!0},{has:function(t,e){return e in t}})},xDBR:function(t,e){t.exports=!1},xg1e:function(t,e,n){var r=n("Gi26");t.exports=function(t){return void 0!==t&&(r(t,"value")||r(t,"writable"))}},xluM:function(t,e,n){var r=n("QNWe"),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},xrYK:function(t,e,n){var r=n("4zBA"),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},xs3f:function(t,e,n){var r=n("2oRo"),i=n("zk60"),o=r["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},"y+ba":function(t,e,n){(function(t){/*!@sentry/browser & @sentry/tracing 7.64.0 (e01d8f8) | https://github.com/getsentry/sentry-javascript*/window.Sentry=function(e){var n=function(){function t(e){this.name=t.id,console.error("You are using new Replay() even though this bundle does not include replay.")}return t.prototype.setupOnce=function(){},t.prototype.start=function(){},t.prototype.stop=function(){},t.prototype.flush=function(){},t.id="Replay",t}(),r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}c((r=r.apply(t,e||[])).next())})}function s(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}function c(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-->0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function l(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}var d=Object.prototype.toString;function f(t){switch(d.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return _(t,Error)}}function h(t,e){return d.call(t)==="[object ".concat(e,"]")}function p(t){return h(t,"ErrorEvent")}function v(t){return h(t,"DOMError")}function m(t){return h(t,"String")}function g(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function y(t){return h(t,"Object")}function b(t){return"undefined"!=typeof Event&&_(t,Event)}function w(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function S(t){return"number"==typeof t&&t!=t}function _(t,e){try{return t instanceof e}catch(t){return!1}}function k(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:"".concat(t.slice(0,e),"...")}function x(t,e){if(!Array.isArray(t))return"";for(var n=[],r=0;r<t.length;r++){var i=t[r];try{n.push(String(i))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function E(t,e,n){return void 0===e&&(e=[]),void 0===n&&(n=!1),e.some(function(e){return function(t,e,n){return void 0===n&&(n=!1),!!m(t)&&(h(e,"RegExp")?e.test(t):!!m(e)&&(n?t===e:t.includes(e)))}(t,e,n)})}function O(t,e,n,r,i,o,a,s){if(o.length>=n+1)return o;var c=l([],u(o),!1);if(_(r[i],Error)){T(a,s);var d=t(e,r[i]),f=c.length;I(d,i,f,s),c=O(t,e,n,r[i],i,l([d],u(c),!1),d,f)}return Array.isArray(r.errors)&&r.errors.forEach(function(r,o){if(_(r,Error)){T(a,s);var d=t(e,r),f=c.length;I(d,"errors[".concat(o,"]"),f,s),c=O(t,e,n,r,i,l([d],u(c),!1),d,f)}}),c}function T(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism=o(o({},t.mechanism),{is_exception_group:!0,exception_id:e})}function I(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism=o(o({},t.mechanism),{type:"chained",source:e,exception_id:n,parent_id:r})}function A(t){return t&&t.Math==Math?t:void 0}var C="object"==typeof globalThis&&A(globalThis)||"object"==typeof window&&A(window)||"object"==typeof self&&A(self)||"object"==typeof t&&A(t)||function(){return this}()||{};function j(){return C}function R(t,e,n){var r=n||C,i=r.__SENTRY__=r.__SENTRY__||{};return i[t]||(i[t]=e())}var L=j();function M(t,e){void 0===e&&(e={});try{for(var n=t,r=[],i=0,o=0,a=" > ".length,s=void 0,c=Array.isArray(e)?e:e.keyAttrs,u=!Array.isArray(e)&&e.maxStringLength||80;n&&i++<5&&!("html"===(s=B(n,c))||i>1&&o+r.length*a+s.length>=u);)r.push(s),o+=s.length,n=n.parentNode;return r.reverse().join(" > ")}catch(t){return"<unknown>"}}function B(t,e){var n,r,i,o,a,s=t,c=[];if(!s||!s.tagName)return"";c.push(s.tagName.toLowerCase());var u=e&&e.length?e.filter(function(t){return s.getAttribute(t)}).map(function(t){return[t,s.getAttribute(t)]}):null;if(u&&u.length)u.forEach(function(t){c.push("[".concat(t[0],'="').concat(t[1],'"]'))});else if(s.id&&c.push("#".concat(s.id)),(n=s.className)&&m(n))for(r=n.split(/\s+/),a=0;a<r.length;a++)c.push(".".concat(r[a]));var l=["aria-label","type","name","title","alt"];for(a=0;a<l.length;a++)i=l[a],(o=s.getAttribute(i))&&c.push("[".concat(i,'="').concat(o,'"]'));return c.join("")}var P,D=["debug","info","warn","error","log","assert","trace"];P={enable:function(){},disable:function(){}},D.forEach(function(t){P[t]=function(){}});var N=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function G(t,e){void 0===e&&(e=!1);var n=t.host,r=t.path,i=t.pass,o=t.port,a=t.projectId,s=t.protocol,c=t.publicKey;return"".concat(s,"://").concat(c).concat(e&&i?":".concat(i):"")+"@".concat(n).concat(o?":".concat(o):"","/").concat(r?"".concat(r,"/"):r).concat(a)}function H(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function q(t){var e="string"==typeof t?function(t){var e=N.exec(t);if(e){var n=u(e.slice(1),6),r=n[0],i=n[1],o=n[2],a=void 0===o?"":o,s=n[3],c=n[4],l=void 0===c?"":c,d="",f=n[5],h=f.split("/");if(h.length>1&&(d=h.slice(0,-1).join("/"),f=h.pop()),f){var p=f.match(/^\d+/);p&&(f=p[0])}return H({host:s,pass:a,path:d,projectId:f,port:l,protocol:r,publicKey:i})}console.error("Invalid Sentry Dsn: ".concat(t))}(t):H(t);if(e)return e}var F=function(t){function e(e,n){void 0===n&&(n="warn");var r=this.constructor,i=t.call(this,e)||this;return i.message=e,i.name=r.prototype.constructor.name,Object.setPrototypeOf(i,r.prototype),i.logLevel=n,i}return i(e,t),e}(Error);function U(t,e,n){if(e in t){var r=t[e],i=n(r);if("function"==typeof i)try{z(i,r)}catch(t){}t[e]=i}}function W(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function z(t,e){var n=e.prototype||{};t.prototype=e.prototype=n,W(t,"__sentry_original__",e)}function $(t){return t.__sentry_original__}function V(t){if(f(t))return o({message:t.message,name:t.name,stack:t.stack},J(t));if(b(t)){var e=o({type:t.type,target:Y(t.target),currentTarget:Y(t.currentTarget)},J(t));return"undefined"!=typeof CustomEvent&&_(t,CustomEvent)&&(e.detail=t.detail),e}return t}function Y(t){try{return"undefined"!=typeof Element&&_(t,Element)?M(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function J(t){if("object"==typeof t&&null!==t){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function K(t){return function t(e,n){var r,i;if(y(e)){if(void 0!==(l=n.get(e)))return l;var o={};n.set(e,o);try{for(var a=c(Object.keys(e)),s=a.next();!s.done;s=a.next()){var u=s.value;void 0!==e[u]&&(o[u]=t(e[u],n))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return o}if(Array.isArray(e)){var l;if(void 0!==(l=n.get(e)))return l;var d=[];return n.set(e,d),e.forEach(function(e){d.push(t(e,n))}),d}return e}(t,new Map)}var X=/\(error: (.*)\)/,Z=/captureMessage|captureException/;function Q(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.sort(function(t,e){return t[0]-e[0]}).map(function(t){return t[1]});return function(t,e){var r,i;void 0===e&&(e=0);for(var a=[],s=t.split("\n"),u=e;u<s.length;u++){var l=s[u];if(!(l.length>1024)){var d=X.test(l)?l.replace(X,"$1"):l;if(!d.match(/\S*Error: /)){try{for(var f=(r=void 0,c(n)),h=f.next();!h.done;h=f.next()){var p=(0,h.value)(d);if(p){a.push(p);break}}}catch(t){r={error:t}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}if(a.length>=50)break}}}return function(t){if(!t.length)return[];var e=Array.from(t);return/sentryWrapped/.test(e[e.length-1].function||"")&&e.pop(),e.reverse(),Z.test(e[e.length-1].function||"")&&(e.pop(),Z.test(e[e.length-1].function||"")&&e.pop()),e.slice(0,50).map(function(t){return o(o({},t),{filename:t.filename||e[e.length-1].filename,function:t.function||"?"})})}(a)}}var tt="<anonymous>";function et(t){try{return t&&"function"==typeof t&&t.name||tt}catch(t){return tt}}var nt=j(),rt=j();function it(){if(!("fetch"in rt))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function ot(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}var at,st,ct,ut=j(),lt={},dt={};function ft(t){if(!dt[t])switch(dt[t]=!0,t){case"console":"console"in ut&&D.forEach(function(t){t in ut.console&&U(ut.console,t,function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];pt("console",{args:n,level:t}),e&&e.apply(ut.console,n)}})});break;case"dom":!function(){if("document"in ut){var t=pt.bind(null,"dom"),e=gt(t,!0);ut.document.addEventListener("click",e,!1),ut.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(function(e){var n=ut[e]&&ut[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(U(n,"addEventListener",function(e){return function(n,r,i){if("click"===n||"keypress"==n)try{var o=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=o[n]=o[n]||{refCount:0};if(!a.handler){var s=gt(t);a.handler=s,e.call(this,n,s,i)}a.refCount++}catch(t){}return e.call(this,n,r,i)}}),U(n,"removeEventListener",function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{var i=this.__sentry_instrumentation_handlers__||{},o=i[e];o&&(o.refCount--,o.refCount<=0&&(t.call(this,e,o.handler,r),o.handler=void 0,delete i[e]),0===Object.keys(i).length&&delete this.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}}))})}}();break;case"xhr":!function(){if("XMLHttpRequest"in ut){var t=XMLHttpRequest.prototype;U(t,"open",function(t){return function(){for(var e=this,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=n[1],o=this.__sentry_xhr_v2__={method:m(n[0])?n[0].toUpperCase():n[0],url:n[1],request_headers:{}};m(i)&&"POST"===o.method&&i.match(/sentry_key/)&&(this.__sentry_own_request__=!0);var a=function(){var t=e.__sentry_xhr_v2__;if(t&&4===e.readyState){try{t.status_code=e.status}catch(t){}pt("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:e})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?U(this,"onreadystatechange",function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return a(),t.apply(this,e)}}):this.addEventListener("readystatechange",a),U(this,"setRequestHeader",function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=u(e,2),i=r[0],o=r[1],a=this.__sentry_xhr_v2__;return a&&(a.request_headers[i.toLowerCase()]=o),t.apply(this,e)}}),t.apply(this,n)}}),U(t,"send",function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this.__sentry_xhr_v2__;return r&&void 0!==e[0]&&(r.body=e[0]),pt("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}})}}();break;case"fetch":(function(){if(!it())return!1;if(ot(rt.fetch))return!0;var t=!1,e=rt.document;if(e&&"function"==typeof e.createElement)try{var n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=ot(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){}return t})()&&U(ut,"fetch",function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){var e=u(t,2),n=e[0],r=e[1];return{url:mt(n),method:vt(r,"method")?String(r.method).toUpperCase():"GET"}}var i=t[0];return{url:mt(i),method:vt(i,"method")?String(i.method).toUpperCase():"GET"}}(e),i={args:e,fetchData:{method:r.method,url:r.url},startTimestamp:Date.now()};return pt("fetch",o({},i)),t.apply(ut,e).then(function(t){return pt("fetch",o(o({},i),{endTimestamp:Date.now(),response:t})),t},function(t){throw pt("fetch",o(o({},i),{endTimestamp:Date.now(),error:t})),t})}});break;case"history":!function(){if(function(){var t=nt.chrome,e=t&&t.app&&t.app.runtime,n="history"in nt&&!!nt.history.pushState&&!!nt.history.replaceState;return!e&&n}()){var t=ut.onpopstate;ut.onpopstate=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=ut.location.href,i=at;if(at=r,pt("history",{from:i,to:r}),t)try{return t.apply(this,e)}catch(t){}},U(ut.history,"pushState",e),U(ut.history,"replaceState",e)}function e(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e.length>2?e[2]:void 0;if(r){var i=at,o=String(r);at=o,pt("history",{from:i,to:o})}return t.apply(this,e)}}}();break;case"error":bt=ut.onerror,ut.onerror=function(t,e,n,r,i){return pt("error",{column:r,error:i,line:n,msg:t,url:e}),!(!bt||bt.__SENTRY_LOADER__)&&bt.apply(this,arguments)},ut.onerror.__SENTRY_INSTRUMENTED__=!0;break;case"unhandledrejection":wt=ut.onunhandledrejection,ut.onunhandledrejection=function(t){return pt("unhandledrejection",t),!(wt&&!wt.__SENTRY_LOADER__)||wt.apply(this,arguments)},ut.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0;break;default:return}}function ht(t,e){lt[t]=lt[t]||[],lt[t].push(e),ft(t)}function pt(t,e){var n,r;if(t&<[t])try{for(var i=c(lt[t]||[]),o=i.next();!o.done;o=i.next()){var a=o.value;try{a(e)}catch(t){}}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}function vt(t,e){return!!t&&"object"==typeof t&&!!t[e]}function mt(t){return"string"==typeof t?t:t?vt(t,"url")?t.url:t.toString?t.toString():"":""}function gt(t,e){return void 0===e&&(e=!1),function(n){if(n&&ct!==n&&!function(t){if("keypress"!==t.type)return!1;try{var e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}(n)){var r="keypress"===n.type?"input":n.type;(void 0===st||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(t){}return!1}(ct,n))&&(t({event:n,name:r,global:e}),ct=n),clearTimeout(st),st=ut.setTimeout(function(){st=void 0},1e3)}}}var yt,bt=null,wt=null;function St(){var t=C,e=t.crypto||t.msCrypto;if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");var n=e&&e.getRandomValues?function(){return e.getRandomValues(new Uint8Array(1))[0]}:function(){return 16*Math.random()};return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,function(t){return(t^(15&n())>>t/4).toString(16)})}function _t(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function kt(t){var e=t.message,n=t.event_id;if(e)return e;var r=_t(t);return r?r.type&&r.value?"".concat(r.type,": ").concat(r.value):r.type||r.value||n||"<unknown>":n||"<unknown>"}function xt(t,e,n){var r=t.exception=t.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=e||""),o.type||(o.type=n||"Error")}function Et(t,e){var n=_t(t);if(n){var r=n.mechanism;if(n.mechanism=o(o(o({},{type:"generic",handled:!0}),r),e),e&&"data"in e){var i=o(o({},r&&r.data),e.data);n.mechanism.data=i}}}function Ot(t){if(t&&t.__sentry_captured__)return!0;try{W(t,"__sentry_captured__",!0)}catch(t){}return!1}function Tt(t){return Array.isArray(t)?t:[t]}function It(e,n,r){void 0===n&&(n=100),void 0===r&&(r=1/0);try{return function e(n,r,i,o,a){var s,c;void 0===i&&(i=1/0),void 0===o&&(o=1/0),void 0===a&&(s="function"==typeof WeakSet,c=s?new WeakSet:[],a=[function(t){if(s)return!!c.has(t)||(c.add(t),!1);for(var e=0;e<c.length;e++)if(c[e]===t)return!0;return c.push(t),!1},function(t){if(s)c.delete(t);else for(var e=0;e<c.length;e++)if(c[e]===t){c.splice(e,1);break}}]);var l=u(a,2),d=l[0],f=l[1];if(null==r||["number","boolean","string"].includes(typeof r)&&!S(r))return r;var h=function(e,n){try{if("domain"===e&&n&&"object"==typeof n&&n.t)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(void 0!==t&&n===t)return"[Global]";if("undefined"!=typeof window&&n===window)return"[Window]";if("undefined"!=typeof document&&n===document)return"[Document]";if(y(i=n)&&"nativeEvent"in i&&"preventDefault"in i&&"stopPropagation"in i)return"[SyntheticEvent]";if("number"==typeof n&&n!=n)return"[NaN]";if("function"==typeof n)return"[Function: ".concat(et(n),"]");if("symbol"==typeof n)return"[".concat(String(n),"]");if("bigint"==typeof n)return"[BigInt: ".concat(String(n),"]");var r=function(t){var e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(n);return/^HTML(\w*)Element$/.test(r)?"[HTMLElement: ".concat(r,"]"):"[object ".concat(r,"]")}catch(e){return"**non-serializable** (".concat(e,")")}var i}(n,r);if(!h.startsWith("[object "))return h;if(r.__sentry_skip_normalization__)return r;var p="number"==typeof r.__sentry_override_normalization_depth__?r.__sentry_override_normalization_depth__:i;if(0===p)return h.replace("object ","");if(d(r))return"[Circular ~]";var v=r;if(v&&"function"==typeof v.toJSON)try{return e("",v.toJSON(),p-1,o,a)}catch(n){}var m=Array.isArray(r)?[]:{},g=0,b=V(r);for(var w in b)if(Object.prototype.hasOwnProperty.call(b,w)){if(g>=o){m[w]="[MaxProperties ~]";break}var _=b[w];m[w]=e(w,_,p-1,o,a),g++}return f(r),m}("",e,n,r)}catch(e){return{ERROR:"**non-serializable** (".concat(e,")")}}}function At(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r,i=It(t,e);return r=i,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(r))>n?At(t,e-1,n):i}function Ct(t){return new Rt(function(e){e(t)})}function jt(t){return new Rt(function(e,n){n(t)})}!function(t){t[t.PENDING=0]="PENDING",t[t.RESOLVED=1]="RESOLVED",t[t.REJECTED=2]="REJECTED"}(yt||(yt={}));var Rt=function(){function t(t){var e=this;this.i=function(t){e.o(yt.RESOLVED,t)},this.u=function(t){e.o(yt.REJECTED,t)},this.o=function(t,n){e.h===yt.PENDING&&(w(n)?n.then(e.i,e.u):(e.h=t,e.v=n,e.l()))},this.l=function(){if(e.h!==yt.PENDING){var t=e.p.slice();e.p=[],t.forEach(function(t){t[0]||(e.h===yt.RESOLVED&&t[1](e.v),e.h===yt.REJECTED&&t[2](e.v),t[0]=!0)})}},this.h=yt.PENDING,this.p=[];try{t(this.i,this.u)}catch(t){this.u(t)}}return t.prototype.then=function(e,n){var r=this;return new t(function(t,i){r.p.push([!1,function(n){if(e)try{t(e(n))}catch(t){i(t)}else t(n)},function(e){if(n)try{t(n(e))}catch(t){i(t)}else i(e)}]),r.l()})},t.prototype.catch=function(t){return this.then(function(t){return t},t)},t.prototype.finally=function(e){var n=this;return new t(function(t,r){var i,o;return n.then(function(t){o=!1,i=t,e&&e()},function(t){o=!0,i=t,e&&e()}).then(function(){o?r(i):t(i)})})},t}();function Lt(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}var Mt=["fatal","error","warning","log","info","debug"],Bt=j(),Pt={nowSeconds:function(){return Date.now()/1e3}},Dt=function(){var t=Bt.performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),Nt=void 0===Dt?Pt:{nowSeconds:function(){return(Dt.timeOrigin+Dt.now())/1e3}},Gt=Pt.nowSeconds.bind(Pt),Ht=Nt.nowSeconds.bind(Nt),qt=function(){var t=Bt.performance;if(t&&t.now){var e=36e5,n=t.now(),r=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,o=i<e,a=t.timing&&t.timing.navigationStart,s="number"==typeof a?Math.abs(a+n-r):e;return o||s<e?i<=s?t.timeOrigin:a:r}}(),Ft="baggage",Ut="sentry-",Wt=/^sentry-/;function zt(t){if(t)return function(t){if(0!==Object.keys(t).length)return Object.entries(t).reduce(function(t,e,n){var r=u(e,2),i=r[0],o=r[1],a="".concat(encodeURIComponent(i),"=").concat(encodeURIComponent(o)),s=0===n?a:"".concat(t,",").concat(a);return s.length>8192?t:s},"")}(Object.entries(t).reduce(function(t,e){var n=u(e,2),r=n[0],i=n[1];return i&&(t["".concat(Ut).concat(r)]=i),t},{}))}function $t(t){return t.split(",").map(function(t){return t.split("=").map(function(t){return decodeURIComponent(t.trim())})}).reduce(function(t,e){var n=u(e,2),r=n[0],i=n[1];return t[r]=i,t},{})}var Vt=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Yt(t,e){var n=function(t){if(t){var e,n=t.match(Vt);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}}(t),r=function(t){if(m(t)||Array.isArray(t)){var e={};if(Array.isArray(t))e=t.reduce(function(t,e){var n=$t(e);return o(o({},t),n)},{});else{if(!t)return;e=$t(t)}var n=Object.entries(e).reduce(function(t,e){var n=u(e,2),r=n[0],i=n[1];return r.match(Wt)&&(t[r.slice(Ut.length)]=i),t},{});return Object.keys(n).length>0?n:void 0}}(e),i=n||{},a=i.traceId,s=i.parentSpanId,c=i.parentSampled,l={traceId:a||St(),spanId:St().substring(16),sampled:void 0!==c&&c};return s&&(l.parentSpanId=s),r&&(l.dsc=r),{traceparentData:n,dynamicSamplingContext:r,propagationContext:l}}function Jt(t,e,n){void 0===t&&(t=St()),void 0===e&&(e=St().substring(16));var r="";return void 0!==n&&(r=n?"-1":"-0"),"".concat(t,"-").concat(e).concat(r)}function Kt(t,e){return void 0===e&&(e=[]),[t,e]}function Xt(t,e){var n=u(t,2);return[n[0],l(l([],u(n[1]),!1),[e],!1)]}function Zt(t,e){var n,r,i=t[1];try{for(var o=c(i),a=o.next();!a.done;a=o.next()){var s=a.value;if(e(s,s[0].type))return!0}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return!1}function Qt(t,e){return(e||new TextEncoder).encode(t)}function te(t,e){var n,r,i=u(t,2),o=i[0],a=i[1],s=JSON.stringify(o);function l(t){"string"==typeof s?s="string"==typeof t?s+t:[Qt(s,e),t]:s.push("string"==typeof t?Qt(t,e):t)}try{for(var d=c(a),f=d.next();!f.done;f=d.next()){var h=u(f.value,2),p=h[0],v=h[1];if(l("\n".concat(JSON.stringify(p),"\n")),"string"==typeof v||v instanceof Uint8Array)l(v);else{var m=void 0;try{m=JSON.stringify(v)}catch(t){m=JSON.stringify(It(v))}l(m)}}}catch(t){n={error:t}}finally{try{f&&!f.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}return"string"==typeof s?s:function(t){var e,n,r=t.reduce(function(t,e){return t+e.length},0),i=new Uint8Array(r),o=0;try{for(var a=c(t),s=a.next();!s.done;s=a.next()){var u=s.value;i.set(u,o),o+=u.length}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return i}(s)}function ee(t,e){var n="string"==typeof t.data?Qt(t.data,e):t.data;return[K({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}var ne={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor"};function re(t){return ne[t]}function ie(t){if(t&&t.sdk){var e=t.sdk;return{name:e.name,version:e.version}}}function oe(t,e,n){var r,i,a,s,l=e.statusCode,d=e.headers;void 0===n&&(n=Date.now());var f=o({},t),h=d&&d["x-sentry-rate-limits"],p=d&&d["retry-after"];if(h)try{for(var v=c(h.trim().split(",")),m=v.next();!m.done;m=v.next()){var g=u(m.value.split(":",2),2),y=g[0],b=g[1],w=parseInt(y,10),S=1e3*(isNaN(w)?60:w);if(b)try{for(var _=(a=void 0,c(b.split(";"))),k=_.next();!k.done;k=_.next())f[k.value]=n+S}catch(t){a={error:t}}finally{try{k&&!k.done&&(s=_.return)&&s.call(_)}finally{if(a)throw a.error}}else f.all=n+S}}catch(t){r={error:t}}finally{try{m&&!m.done&&(i=v.return)&&i.call(v)}finally{if(r)throw r.error}}else p?f.all=n+function(t,e){void 0===e&&(e=Date.now());var n=parseInt("".concat(t),10);if(!isNaN(n))return 1e3*n;var r=Date.parse("".concat(t));return isNaN(r)?6e4:r-e}(p,n):429===l&&(f.all=n+6e4);return f}var ae="production";function se(t,e){if(void 0===e&&(e={}),e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||Ht(),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:St()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did="".concat(e.did)),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{var n=t.timestamp-t.started;t.duration=n>=0?n:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}var ce=function(){function t(){this.m=!1,this.g=[],this._=[],this.T=[],this.S=[],this.k={},this.j={},this.O={},this.R={},this.I={},this.C=de()}return t.clone=function(e){var n=new t;return e&&(n.T=l([],u(e.T),!1),n.j=o({},e.j),n.O=o({},e.O),n.R=o({},e.R),n.k=e.k,n.D=e.D,n.A=e.A,n.L=e.L,n.M=e.M,n.N=e.N,n._=l([],u(e._),!1),n.q=e.q,n.S=l([],u(e.S),!1),n.I=o({},e.I),n.C=o({},e.C)),n},t.prototype.addScopeListener=function(t){this.g.push(t)},t.prototype.addEventProcessor=function(t){return this._.push(t),this},t.prototype.setUser=function(t){return this.k=t||{},this.L&&se(this.L,{user:t}),this.H(),this},t.prototype.getUser=function(){return this.k},t.prototype.getRequestSession=function(){return this.q},t.prototype.setRequestSession=function(t){return this.q=t,this},t.prototype.setTags=function(t){return this.j=o(o({},this.j),t),this.H(),this},t.prototype.setTag=function(t,e){var n;return this.j=o(o({},this.j),((n={})[t]=e,n)),this.H(),this},t.prototype.setExtras=function(t){return this.O=o(o({},this.O),t),this.H(),this},t.prototype.setExtra=function(t,e){var n;return this.O=o(o({},this.O),((n={})[t]=e,n)),this.H(),this},t.prototype.setFingerprint=function(t){return this.N=t,this.H(),this},t.prototype.setLevel=function(t){return this.D=t,this.H(),this},t.prototype.setTransactionName=function(t){return this.M=t,this.H(),this},t.prototype.setContext=function(t,e){return null===e?delete this.R[t]:this.R[t]=e,this.H(),this},t.prototype.setSpan=function(t){return this.A=t,this.H(),this},t.prototype.getSpan=function(){return this.A},t.prototype.getTransaction=function(){var t=this.getSpan();return t&&t.transaction},t.prototype.setSession=function(t){return t?this.L=t:delete this.L,this.H(),this},t.prototype.getSession=function(){return this.L},t.prototype.update=function(e){if(!e)return this;if("function"==typeof e){var n=e(this);return n instanceof t?n:this}return e instanceof t?(this.j=o(o({},this.j),e.j),this.O=o(o({},this.O),e.O),this.R=o(o({},this.R),e.R),e.k&&Object.keys(e.k).length&&(this.k=e.k),e.D&&(this.D=e.D),e.N&&(this.N=e.N),e.q&&(this.q=e.q),e.C&&(this.C=e.C)):y(e)&&(e=e,this.j=o(o({},this.j),e.tags),this.O=o(o({},this.O),e.extra),this.R=o(o({},this.R),e.contexts),e.user&&(this.k=e.user),e.level&&(this.D=e.level),e.fingerprint&&(this.N=e.fingerprint),e.requestSession&&(this.q=e.requestSession),e.propagationContext&&(this.C=e.propagationContext)),this},t.prototype.clear=function(){return this.T=[],this.j={},this.O={},this.k={},this.R={},this.D=void 0,this.M=void 0,this.N=void 0,this.q=void 0,this.A=void 0,this.L=void 0,this.H(),this.S=[],this.C=de(),this},t.prototype.addBreadcrumb=function(t,e){var n="number"==typeof e?e:100;if(n<=0)return this;var r=o({timestamp:Gt()},t);return this.T=l(l([],u(this.T),!1),[r],!1).slice(-n),this.H(),this},t.prototype.getLastBreadcrumb=function(){return this.T[this.T.length-1]},t.prototype.clearBreadcrumbs=function(){return this.T=[],this.H(),this},t.prototype.addAttachment=function(t){return this.S.push(t),this},t.prototype.getAttachments=function(){return this.S},t.prototype.clearAttachments=function(){return this.S=[],this},t.prototype.applyToEvent=function(t,e){if(void 0===e&&(e={}),this.O&&Object.keys(this.O).length&&(t.extra=o(o({},this.O),t.extra)),this.j&&Object.keys(this.j).length&&(t.tags=o(o({},this.j),t.tags)),this.k&&Object.keys(this.k).length&&(t.user=o(o({},this.k),t.user)),this.R&&Object.keys(this.R).length&&(t.contexts=o(o({},this.R),t.contexts)),this.D&&(t.level=this.D),this.M&&(t.transaction=this.M),this.A){t.contexts=o({trace:this.A.getTraceContext()},t.contexts);var n=this.A.transaction;if(n){t.sdkProcessingMetadata=o({dynamicSamplingContext:n.getDynamicSamplingContext()},t.sdkProcessingMetadata);var r=n.name;r&&(t.tags=o({transaction:r},t.tags))}}return this.P(t),t.breadcrumbs=l(l([],u(t.breadcrumbs||[]),!1),u(this.T),!1),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=o(o(o({},t.sdkProcessingMetadata),this.I),{propagationContext:this.C}),this.U(l(l([],u(ue()),!1),u(this._),!1),t,e)},t.prototype.setSDKProcessingMetadata=function(t){return this.I=o(o({},this.I),t),this},t.prototype.setPropagationContext=function(t){return this.C=t,this},t.prototype.getPropagationContext=function(){return this.C},t.prototype.U=function(t,e,n,r){var i=this;return void 0===r&&(r=0),new Rt(function(a,s){var c=t[r];if(null===e||"function"!=typeof c)a(e);else{var u=c(o({},e),n);w(u)?u.then(function(e){return i.U(t,e,n,r+1).then(a)}).then(null,s):i.U(t,u,n,r+1).then(a).then(null,s)}})},t.prototype.H=function(){var t=this;this.m||(this.m=!0,this.g.forEach(function(e){e(t)}),this.m=!1)},t.prototype.P=function(t){t.fingerprint=t.fingerprint?Tt(t.fingerprint):[],this.N&&(t.fingerprint=t.fingerprint.concat(this.N)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function ue(){return R("globalEventProcessors",function(){return[]})}function le(t){ue().push(t)}function de(){return{traceId:St(),spanId:St().substring(16),sampled:!1}}var fe=function(){function t(t,e,n){void 0===e&&(e=new ce),void 0===n&&(n=4),this.F=n,this.B=[{scope:e}],t&&this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this.F<t},t.prototype.bindClient=function(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()},t.prototype.pushScope=function(){var t=ce.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t},t.prototype.popScope=function(){return!(this.getStack().length<=1||!this.getStack().pop())},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this.B},t.prototype.getStackTop=function(){return this.B[this.B.length-1]},t.prototype.captureException=function(t,e){var n=this.X=e&&e.event_id?e.event_id:St(),r=new Error("Sentry syntheticException");return this.W(function(i,a){i.captureException(t,o(o({originalException:t,syntheticException:r},e),{event_id:n}),a)}),n},t.prototype.captureMessage=function(t,e,n){var r=this.X=n&&n.event_id?n.event_id:St(),i=new Error(t);return this.W(function(a,s){a.captureMessage(t,e,o(o({originalException:t,syntheticException:i},n),{event_id:r}),s)}),r},t.prototype.captureEvent=function(t,e){var n=e&&e.event_id?e.event_id:St();return t.type||(this.X=n),this.W(function(r,i){r.captureEvent(t,o(o({},e),{event_id:n}),i)}),n},t.prototype.lastEventId=function(){return this.X},t.prototype.addBreadcrumb=function(t,e){var n=this.getStackTop(),r=n.scope,i=n.client;if(i){var a=i.getOptions&&i.getOptions()||{},s=a.beforeBreadcrumb,c=void 0===s?null:s,u=a.maxBreadcrumbs,l=void 0===u?100:u;if(!(l<=0)){var d=Gt(),f=o({timestamp:d},t),h=c?function(t){if(!("console"in C))return t();var e=C.console,n={};D.forEach(function(t){var r=e[t]&&e[t].__sentry_original__;t in e&&r&&(n[t]=e[t],e[t]=r)});try{return t()}finally{Object.keys(n).forEach(function(t){e[t]=n[t]})}}(function(){return c(f,e)}):f;null!==h&&(i.emit&&i.emit("beforeAddBreadcrumb",h,e),r.addBreadcrumb(h,l))}}},t.prototype.setUser=function(t){this.getScope().setUser(t)},t.prototype.setTags=function(t){this.getScope().setTags(t)},t.prototype.setExtras=function(t){this.getScope().setExtras(t)},t.prototype.setTag=function(t,e){this.getScope().setTag(t,e)},t.prototype.setExtra=function(t,e){this.getScope().setExtra(t,e)},t.prototype.setContext=function(t,e){this.getScope().setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop(),n=e.scope;e.client&&t(n)},t.prototype.run=function(t){var e=pe(this);try{t(this)}finally{pe(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(t){return null}},t.prototype.startTransaction=function(t,e){return this.G("startTransaction",t,e)},t.prototype.traceHeaders=function(){return this.G("traceHeaders")},t.prototype.captureSession=function(t){if(void 0===t&&(t=!1),t)return this.endSession();this.J()},t.prototype.endSession=function(){var t=this.getStackTop().scope,e=t.getSession();e&&function(t,e){var n={};"ok"===t.status&&(n={status:"exited"}),se(t,n)}(e),this.J(),t.setSession()},t.prototype.startSession=function(t){var e=this.getStackTop(),n=e.scope,r=e.client,i=r&&r.getOptions()||{},a=i.release,s=i.environment,c=void 0===s?ae:s,u=(C.navigator||{}).userAgent,l=function(t){var e=Ht(),n={sid:St(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:function(){return K({sid:"".concat((t=n).sid),init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?"".concat(t.did):void 0,duration:t.duration,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}});var t}};return t&&se(n,t),n}(o(o({release:a,environment:c,user:n.getUser()},u&&{userAgent:u}),t)),d=n.getSession&&n.getSession();return d&&"ok"===d.status&&se(d,{status:"exited"}),this.endSession(),n.setSession(l),l},t.prototype.shouldSendDefaultPii=function(){var t=this.getClient(),e=t&&t.getOptions();return Boolean(e&&e.sendDefaultPii)},t.prototype.J=function(){var t=this.getStackTop(),e=t.scope,n=t.client,r=e.getSession();r&&n&&n.captureSession&&n.captureSession(r)},t.prototype.W=function(t){var e=this.getStackTop(),n=e.scope,r=e.client;r&&t(r,n)},t.prototype.G=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=he().__SENTRY__;if(r&&r.extensions&&"function"==typeof r.extensions[t])return r.extensions[t].apply(this,e)},t}();function he(){return C.__SENTRY__=C.__SENTRY__||{extensions:{},hub:void 0},C}function pe(t){var e=he(),n=me(e);return ge(e,t),n}function ve(){var t=he();if(t.__SENTRY__&&t.__SENTRY__.acs){var e=t.__SENTRY__.acs.getCurrentHub();if(e)return e}return function(t){var e;return void 0===t&&(t=he()),(e=t)&&e.__SENTRY__&&e.__SENTRY__.hub&&!me(t).isOlderThan(4)||ge(t,new fe),me(t)}(t)}function me(t){return R("hub",function(){return new fe},t)}function ge(t,e){return!!t&&((t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0)}function ye(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;var e=ve().getClient(),n=t||e&&e.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function be(t){return(t||ve()).getScope().getTransaction()}var we=!1;function Se(){var t=be();t&&t.setStatus("internal_error")}Se.tag="sentry_tracingErrorCallback";var _e=function(){function t(t){void 0===t&&(t=1e3),this.K=t,this.spans=[]}return t.prototype.add=function(t){this.spans.length>this.K?t.spanRecorder=void 0:this.spans.push(t)},t}(),ke=function(){function t(t){if(this.traceId=St(),this.spanId=St().substring(16),this.startTimestamp=Ht(),this.tags={},this.data={},this.instrumenter="sentry",!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.name&&(this.description=t.name),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp),t.instrumenter&&(this.instrumenter=t.instrumenter)}return t.prototype.startChild=function(e){var n=new t(o(o({},e),{parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId}));return n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,n},t.prototype.setTag=function(t,e){var n;return this.tags=o(o({},this.tags),((n={})[t]=e,n)),this},t.prototype.setData=function(t,e){var n;return this.data=o(o({},this.data),((n={})[t]=e,n)),this},t.prototype.setStatus=function(t){return this.status=t,this},t.prototype.setHttpStatus=function(t){this.setTag("http.status_code",String(t)),this.setData("http.response.status_code",t);var e=function(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(t);return"unknown_error"!==e&&this.setStatus(e),this},t.prototype.setName=function(t){this.description=t},t.prototype.isSuccess=function(){return"ok"===this.status},t.prototype.finish=function(t){this.endTimestamp="number"==typeof t?t:Ht()},t.prototype.toTraceparent=function(){return Jt(this.traceId,this.spanId,this.sampled)},t.prototype.toContext=function(){return K({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})},t.prototype.updateWithContext=function(t){return this.data=t.data||{},this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=t.spanId||this.spanId,this.startTimestamp=t.startTimestamp||this.startTimestamp,this.status=t.status,this.tags=t.tags||{},this.traceId=t.traceId||this.traceId,this},t.prototype.getTraceContext=function(){return K({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})},t.prototype.toJSON=function(){return K({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})},t}();function xe(t,e,n){var r=e.getOptions(),i=(e.getDsn()||{}).publicKey,o=(n&&n.getUser()||{}).segment,a=K({environment:r.environment||ae,release:r.release,user_segment:o,public_key:i,trace_id:t});return e.emit&&e.emit("createDsc",a),a}var Ee=function(t){function e(e,n){var r=t.call(this,e)||this;delete r.description,r.Y={},r.R={},r.V=n||ve(),r.Z=e.name||"",r.metadata=o(o({source:"custom"},e.metadata),{spanMetadata:{}}),r.tt=e.trimEnd,r.transaction=r;var i=r.metadata.dynamicSamplingContext;return i&&(r.nt=o({},i)),r}return i(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return this.Z},set:function(t){this.setName(t)},enumerable:!1,configurable:!0}),e.prototype.setName=function(t,e){void 0===e&&(e="custom"),this.Z=t,this.metadata.source=e},e.prototype.initSpanRecorder=function(t){void 0===t&&(t=1e3),this.spanRecorder||(this.spanRecorder=new _e(t)),this.spanRecorder.add(this)},e.prototype.setContext=function(t,e){null===e?delete this.R[t]:this.R[t]=e},e.prototype.setMeasurement=function(t,e,n){void 0===n&&(n=""),this.Y[t]={value:e,unit:n}},e.prototype.setMetadata=function(t){this.metadata=o(o({},this.metadata),t)},e.prototype.finish=function(e){var n=this;if(void 0===this.endTimestamp){this.name||(this.name="<unlabeled transaction>"),t.prototype.finish.call(this,e);var r=this.V.getClient();if(r&&r.emit&&r.emit("finishTransaction",this),!0===this.sampled){var i=this.spanRecorder?this.spanRecorder.spans.filter(function(t){return t!==n&&t.endTimestamp}):[];this.tt&&i.length>0&&(this.endTimestamp=i.reduce(function(t,e){return t.endTimestamp&&e.endTimestamp?t.endTimestamp>e.endTimestamp?t:e:t}).endTimestamp);var a=this.metadata,s=o({contexts:o(o({},this.R),{trace:this.getTraceContext()}),spans:i,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:o(o({},a),{dynamicSamplingContext:this.getDynamicSamplingContext()})},a.source&&{transaction_info:{source:a.source}});return Object.keys(this.Y).length>0&&(s.measurements=this.Y),this.V.captureEvent(s)}r&&r.recordDroppedEvent("sample_rate","transaction")}},e.prototype.toContext=function(){var e=t.prototype.toContext.call(this);return K(o(o({},e),{name:this.name,trimEnd:this.tt}))},e.prototype.updateWithContext=function(e){return t.prototype.updateWithContext.call(this,e),this.name=e.name||"",this.tt=e.trimEnd,this},e.prototype.getDynamicSamplingContext=function(){if(this.nt)return this.nt;var t=this.V||ve(),e=t.getClient();if(!e)return{};var n=t.getScope(),r=xe(this.traceId,e,n),i=this.metadata.sampleRate;void 0!==i&&(r.sample_rate="".concat(i));var o=this.metadata.source;return o&&"url"!==o&&(r.transaction=this.name),void 0!==this.sampled&&(r.sampled=String(this.sampled)),r},e.prototype.setHub=function(t){this.V=t},e}(ke),Oe={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},Te=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"],Ie=function(t){function e(e,n,r,i){var o=t.call(this,i)||this;return o.rt=e,o.it=n,o.transactionSpanId=r,o}return i(e,t),e.prototype.add=function(e){var n=this;e.spanId!==this.transactionSpanId&&(e.finish=function(t){e.endTimestamp="number"==typeof t?t:Ht(),n.it(e.spanId)},void 0===e.endTimestamp&&this.rt(e.spanId)),t.prototype.add.call(this,e)},e}(_e),Ae=function(t){function e(e,n,r,i,o,a){void 0===r&&(r=Oe.idleTimeout),void 0===i&&(i=Oe.finalTimeout),void 0===o&&(o=Oe.heartbeatInterval),void 0===a&&(a=!1);var s=t.call(this,e,n)||this;return s.et=n,s.ot=r,s.ut=i,s.ct=o,s.st=a,s.activities={},s.ft=0,s.ht=!1,s.vt=!1,s.dt=[],s.lt=Te[4],a&&n.configureScope(function(t){return t.setSpan(s)}),s.yt(),setTimeout(function(){s.ht||(s.setStatus("deadline_exceeded"),s.lt=Te[3],s.finish())},s.ut),s}return i(e,t),e.prototype.finish=function(e){var n,r,i=this;if(void 0===e&&(e=Ht()),this.ht=!0,this.activities={},"ui.action.click"===this.op&&this.setTag("finishReason",this.lt),this.spanRecorder){try{for(var o=c(this.dt),a=o.next();!a.done;a=o.next())(0,a.value)(this,e)}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.spanRecorder.spans=this.spanRecorder.spans.filter(function(t){if(t.spanId===i.spanId)return!0;t.endTimestamp||(t.endTimestamp=e,t.setStatus("cancelled"));var n=t.startTimestamp<e,r=(i.ut+i.ot)/1e3,o=t.endTimestamp-i.startTimestamp<r;return n&&o})}if(this.st){var s=this.et.getScope();s.getTransaction()===this&&s.setSpan(void 0)}return t.prototype.finish.call(this,e)},e.prototype.registerBeforeFinishCallback=function(t){this.dt.push(t)},e.prototype.initSpanRecorder=function(t){var e=this;this.spanRecorder||(this.spanRecorder=new Ie(function(t){e.ht||e.rt(t)},function(t){e.ht||e.it(t)},this.spanId,t),this.gt()),this.spanRecorder.add(this)},e.prototype.cancelIdleTimeout=function(t,e){var n=(void 0===e?{restartOnChildSpanChange:!0}:e).restartOnChildSpanChange;this.vt=!1===n,this.bt&&(clearTimeout(this.bt),this.bt=void 0,0===Object.keys(this.activities).length&&this.vt&&(this.lt=Te[5],this.finish(t)))},e.prototype.setFinishReason=function(t){this.lt=t},e.prototype.yt=function(t){var e=this;this.cancelIdleTimeout(),this.bt=setTimeout(function(){e.ht||0!==Object.keys(e.activities).length||(e.lt=Te[1],e.finish(t))},this.ot)},e.prototype.rt=function(t){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this.vt}),this.activities[t]=!0},e.prototype.it=function(t){if(this.activities[t]&&delete this.activities[t],0===Object.keys(this.activities).length){var e=Ht();this.vt?(this.lt=Te[5],this.finish(e)):this.yt(e+this.ot/1e3)}},e.prototype.wt=function(){if(!this.ht){var t=Object.keys(this.activities).join("");t===this._t?this.ft++:this.ft=1,this._t=t,this.ft>=3?(this.setStatus("deadline_exceeded"),this.lt=Te[0],this.finish()):this.gt()}},e.prototype.gt=function(){var t=this;setTimeout(function(){t.wt()},this.ct)},e}(Ee);function Ce(){var t=this.getScope().getSpan();return t?{"sentry-trace":t.toTraceparent()}:{}}function je(t,e,n){return ye(e)?void 0!==t.sampled?(t.setMetadata({sampleRate:Number(t.sampled)}),t):("function"==typeof e.tracesSampler?(r=e.tracesSampler(n),t.setMetadata({sampleRate:Number(r)})):void 0!==n.parentSampled?r=n.parentSampled:void 0!==e.tracesSampleRate?(r=e.tracesSampleRate,t.setMetadata({sampleRate:Number(r)})):(r=1,t.setMetadata({sampleRate:r})),function(t){return!(S(t)||"number"!=typeof t&&"boolean"!=typeof t)&&!(t<0||t>1)}(r)&&r?(t.sampled=Math.random()<r,t.sampled,t):(t.sampled=!1,t)):(t.sampled=!1,t);var r}function Re(t,e){var n=this.getClient(),r=n&&n.getOptions()||{};(r.instrumenter||"sentry")!==(t.instrumenter||"sentry")&&(t.sampled=!1);var i=new Ee(t,this);return(i=je(i,r,o({parentSampled:t.parentSampled,transactionContext:t},e))).sampled&&i.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",i),i}function Le(t,e,n,r,i,a,s){var c=t.getClient(),u=c&&c.getOptions()||{},l=new Ae(e,t,n,r,s,i);return(l=je(l,u,o({parentSampled:e.parentSampled,transactionContext:e},a))).sampled&&l.initSpanRecorder(u._experiments&&u._experiments.maxSpans),c&&c.emit&&c.emit("startTransaction",l),l}function Me(){var t=he();t.__SENTRY__&&(t.__SENTRY__.extensions=t.__SENTRY__.extensions||{},t.__SENTRY__.extensions.startTransaction||(t.__SENTRY__.extensions.startTransaction=Re),t.__SENTRY__.extensions.traceHeaders||(t.__SENTRY__.extensions.traceHeaders=Ce),we||(we=!0,ht("error",Se),ht("unhandledrejection",Se)))}function Be(t,e){return ve().captureException(t,{captureContext:e})}function Pe(t){ve().withScope(t)}function De(t){var e=t.protocol?"".concat(t.protocol,":"):"",n=t.port?":".concat(t.port):"";return"".concat(e,"//").concat(t.host).concat(n).concat(t.path?"/".concat(t.path):"","/api/")}function Ne(t,e){void 0===e&&(e={});var n="string"==typeof e?e:e.tunnel,r="string"!=typeof e&&e.Tt?e.Tt.sdk:void 0;return n||"".concat(function(t){return"".concat(De(t)).concat(t.projectId,"/envelope/")}(t),"?").concat(function(t,e){return n=o({sentry_key:t.publicKey,sentry_version:"7"},e&&{sentry_client:"".concat(e.name,"/").concat(e.version)}),Object.keys(n).map(function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(n[t]))}).join("&");var n}(t,r))}function Ge(t,e,n,r){var i=ie(n),a=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=l(l([],u(t.sdk.integrations||[]),!1),u(e.integrations||[]),!1),t.sdk.packages=l(l([],u(t.sdk.packages||[]),!1),u(e.packages||[]),!1))}(t,n&&n.sdk);var s=function(t,e,n,r){var i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return o(o(o({event_id:t.event_id,sent_at:(new Date).toISOString()},e&&{sdk:e}),!!n&&{dsn:G(r)}),i&&{trace:K(o({},i))})}(t,i,r,e);return delete t.sdkProcessingMetadata,Kt(s,[[{type:a},t]])}var He=[];function qe(t){var e=t.defaultIntegrations||[],n=t.integrations;e.forEach(function(t){t.isDefaultInstance=!0});var r=function(t){var e={};return t.forEach(function(t){var n=t.name,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)}),Object.keys(e).map(function(t){return e[t]})}(Array.isArray(n)?l(l([],u(e),!1),u(n),!1):"function"==typeof n?Tt(n(e)):e),i=function(t,e){for(var n=0;n<t.length;n++)if(!0===e(t[n]))return n;return-1}(r,function(t){return"Debug"===t.name});if(-1!==i){var o=u(r.splice(i,1),1)[0];r.push(o)}return r}function Fe(t,e){e[t.name]=t,-1===He.indexOf(t.name)&&(t.setupOnce(le,ve),He.push(t.name))}var Ue=new WeakMap,We=function(){function t(t){if(this.Et=t,this._integrations={},this.St=!1,this.kt=0,this.jt={},this.Ot={},t.dsn&&(this.xt=q(t.dsn)),this.xt){var e=Ne(this.xt,t);this.Rt=t.transport(o(o({recordDroppedEvent:this.recordDroppedEvent.bind(this)},t.transportOptions),{url:e}))}}return t.prototype.captureException=function(t,e,n){var r=this;if(!Ot(t)){var i=e&&e.event_id;return this.It(this.eventFromException(t,e).then(function(t){return r.Ct(t,e,n)}).then(function(t){i=t})),i}},t.prototype.captureMessage=function(t,e,n,r){var i=this,o=n&&n.event_id,a=g(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this.It(a.then(function(t){return i.Ct(t,n,r)}).then(function(t){o=t})),o},t.prototype.captureEvent=function(t,e,n){if(!(e&&e.originalException&&Ot(e.originalException))){var r=e&&e.event_id;return this.It(this.Ct(t,e,n).then(function(t){r=t})),r}},t.prototype.captureSession=function(t){this.Dt()&&("string"!=typeof t.release||(this.sendSession(t),se(t,{init:!1})))},t.prototype.getDsn=function(){return this.xt},t.prototype.getOptions=function(){return this.Et},t.prototype.getSdkMetadata=function(){return this.Et.Tt},t.prototype.getTransport=function(){return this.Rt},t.prototype.flush=function(t){var e=this.Rt;return e?this.At(t).then(function(n){return e.flush(t).then(function(t){return n&&t})}):Ct(!0)},t.prototype.close=function(t){var e=this;return this.flush(t).then(function(t){return e.getOptions().enabled=!1,t})},t.prototype.setupIntegrations=function(){var t,e;this.Dt()&&!this.St&&(this._integrations=(t=this.Et.integrations,e={},t.forEach(function(t){t&&Fe(t,e)}),e),this.St=!0)},t.prototype.getIntegrationById=function(t){return this._integrations[t]},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(t){return null}},t.prototype.addIntegration=function(t){Fe(t,this._integrations)},t.prototype.sendEvent=function(t,e){var n,r,i=this;if(void 0===e&&(e={}),this.xt){var o=Ge(t,this.xt,this.Et.Tt,this.Et.tunnel);try{for(var a=c(e.attachments||[]),s=a.next();!s.done;s=a.next())o=Xt(o,ee(s.value,this.Et.transportOptions&&this.Et.transportOptions.textEncoder))}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}var u=this.Lt(o);u&&u.then(function(e){return i.emit("afterSendEvent",t,e)},null)}},t.prototype.sendSession=function(t){if(this.xt){var e=function(t,e,n,r){var i=ie(n);return Kt(o(o({sent_at:(new Date).toISOString()},i&&{sdk:i}),!!r&&{dsn:G(e)}),["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])}(t,this.xt,this.Et.Tt,this.Et.tunnel);this.Lt(e)}},t.prototype.recordDroppedEvent=function(t,e,n){if(this.Et.sendClientReports){var r="".concat(t,":").concat(e);this.jt[r]=this.jt[r]+1||1}},t.prototype.on=function(t,e){this.Ot[t]||(this.Ot[t]=[]),this.Ot[t].push(e)},t.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];this.Ot[t]&&this.Ot[t].forEach(function(t){return t.apply(void 0,l([],u(e),!1))})},t.prototype.Mt=function(t,e){var n,r,i=!1,a=!1,s=e.exception&&e.exception.values;if(s){a=!0;try{for(var u=c(s),l=u.next();!l.done;l=u.next()){var d=l.value.mechanism;if(d&&!1===d.handled){i=!0;break}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}var f="ok"===t.status;(f&&0===t.errors||f&&i)&&(se(t,o(o({},i&&{status:"crashed"}),{errors:t.errors||Number(a||i)})),this.captureSession(t))},t.prototype.At=function(t){var e=this;return new Rt(function(n){var r=0,i=setInterval(function(){0==e.kt?(clearInterval(i),n(!0)):(r+=1,t&&r>=t&&(clearInterval(i),n(!1)))},1)})},t.prototype.Dt=function(){return!1!==this.getOptions().enabled&&void 0!==this.xt},t.prototype.Nt=function(t,e,n){var r=this,i=this.getOptions(),a=Object.keys(this._integrations);return!e.integrations&&a.length>0&&(e.integrations=a),function(t,e,n,r){var i=t.normalizeDepth,a=void 0===i?3:i,s=t.normalizeMaxBreadth,c=void 0===s?1e3:s,d=o(o({},e),{event_id:e.event_id||n.event_id||St(),timestamp:e.timestamp||Gt()}),f=n.integrations||t.integrations.map(function(t){return t.name});!function(t,e){var n=e.environment,r=e.release,i=e.dist,o=e.maxValueLength,a=void 0===o?250:o;"environment"in t||(t.environment="environment"in e?n:ae),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==i&&(t.dist=i),t.message&&(t.message=k(t.message,a));var s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=k(s.value,a));var c=t.request;c&&c.url&&(c.url=k(c.url,a))}(d,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=l(l([],u(t.sdk.integrations||[]),!1),u(e),!1))}(d,f),void 0===e.type&&function(t,e){var n,r=C._sentryDebugIds;if(r){var i=Ue.get(e);i?n=i:(n=new Map,Ue.set(e,n));var o=Object.keys(r).reduce(function(t,i){var o,a=n.get(i);a?o=a:(o=e(i),n.set(i,o));for(var s=o.length-1;s>=0;s--){var c=o[s];if(c.filename){t[c.filename]=r[i];break}}return t},{});try{t.exception.values.forEach(function(t){t.stacktrace.frames.forEach(function(t){t.filename&&(t.debug_id=o[t.filename])})})}catch(t){}}}(d,t.stackParser);var h=r;n.captureContext&&(h=ce.clone(h).update(n.captureContext));var p=Ct(d);if(h){if(h.getAttachments){var v=l(l([],u(n.attachments||[]),!1),u(h.getAttachments()),!1);v.length&&(n.attachments=v)}p=h.applyToEvent(d,n)}return p.then(function(t){return t&&function(t){var e={};try{t.exception.values.forEach(function(t){t.stacktrace.frames.forEach(function(t){t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)})})}catch(t){}if(0!==Object.keys(e).length){t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];var n=t.debug_meta.images;Object.keys(e).forEach(function(t){n.push({type:"sourcemap",code_file:t,debug_id:e[t]})})}}(t),"number"==typeof a&&a>0?function(t,e,n){if(!t)return null;var r=o(o(o(o(o({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(function(t){return o(o({},t),t.data&&{data:It(t.data,e,n)})})}),t.user&&{user:It(t.user,e,n)}),t.contexts&&{contexts:It(t.contexts,e,n)}),t.extra&&{extra:It(t.extra,e,n)});return t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=It(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(function(t){return t.data&&(t.data=It(t.data,e,n)),t})),r}(t,a,c):t})}(i,t,e,n).then(function(t){if(null===t)return t;var e=(t.sdkProcessingMetadata||{}).propagationContext;if((!t.contexts||!t.contexts.trace)&&e){var i=e,a=i.traceId,s=i.spanId,c=i.parentSpanId,u=i.dsc;t.contexts=o({trace:{trace_id:a,span_id:s,parent_span_id:c}},t.contexts);var l=u||xe(a,r,n);t.sdkProcessingMetadata=o({dynamicSamplingContext:l},t.sdkProcessingMetadata)}return t})},t.prototype.Ct=function(t,e,n){return void 0===e&&(e={}),this.qt(t,e,n).then(function(t){return t.event_id},function(t){})},t.prototype.qt=function(t,e,n){var r=this,i=this.getOptions(),a=i.sampleRate;if(!this.Dt())return jt(new F("SDK not enabled, will not capture event.","log"));var s=$e(t),c=ze(t),u=t.type||"error",l="before send for type `".concat(u,"`");if(c&&"number"==typeof a&&Math.random()>a)return this.recordDroppedEvent("sample_rate","error",t),jt(new F("Discarding event because it's not included in the random sample (sampling rate = ".concat(a,")"),"log"));var d="replay_event"===u?"replay":u;return this.Nt(t,e,n).then(function(n){if(null===n)throw r.recordDroppedEvent("event_processor",d,t),new F("An event processor returned `null`, will not send event.","log");return e.data&&!0===e.data.__sentry__?n:function(t,e){var n="".concat(e," must return `null` or a valid event.");if(w(t))return t.then(function(t){if(!y(t)&&null!==t)throw new F(n);return t},function(t){throw new F("".concat(e," rejected with ").concat(t))});if(!y(t)&&null!==t)throw new F(n);return t}(function(t,e,n){var r=t.beforeSend,i=t.beforeSendTransaction;return ze(e)&&r?r(e,n):$e(e)&&i?i(e,n):e}(i,n,e),l)}).then(function(i){if(null===i)throw r.recordDroppedEvent("before_send",d,t),new F("".concat(l," returned `null`, will not send event."),"log");var a=n&&n.getSession();!s&&a&&r.Mt(a,i);var c=i.transaction_info;return s&&c&&i.transaction!==t.transaction&&(i.transaction_info=o(o({},c),{source:"custom"})),r.sendEvent(i,e),i}).then(null,function(t){if(t instanceof F)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new F("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ".concat(t))})},t.prototype.It=function(t){var e=this;this.kt++,t.then(function(t){return e.kt--,t},function(t){return e.kt--,t})},t.prototype.Lt=function(t){if(this.Rt&&this.xt)return this.emit("beforeEnvelope",t),this.Rt.send(t).then(null,function(t){})},t.prototype.Ht=function(){var t=this.jt;return this.jt={},Object.keys(t).map(function(e){var n=u(e.split(":"),2);return{reason:n[0],category:n[1],quantity:t[e]}})},t}();function ze(t){return void 0===t.type}function $e(t){return"transaction"===t.type}function Ve(t,e,n){void 0===n&&(n=function(t){var e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(r){if(!(void 0===t||e.length<t))return jt(new F("Not adding Promise because buffer limit was reached."));var i=r();return-1===e.indexOf(i)&&e.push(i),i.then(function(){return n(i)}).then(null,function(){return n(i).then(null,function(){})}),i},drain:function(t){return new Rt(function(n,r){var i=e.length;if(!i)return n(!0);var o=setTimeout(function(){t&&t>0&&n(!1)},t);e.forEach(function(t){Ct(t).then(function(){--i||(clearTimeout(o),n(!0))},r)})})}}}(t.bufferSize||30));var r={};function i(i){var o=[];if(Zt(i,function(e,n){var i,a,s,c=re(n);if(i=r,a=c,void 0===s&&(s=Date.now()),function(t,e){return t[a]||t.all||0}(i)>s){var u=Ye(e,n);t.recordDroppedEvent("ratelimit_backoff",c,u)}else o.push(e)}),0===o.length)return Ct();var a=Kt(i[0],o),s=function(e){Zt(a,function(n,r){var i=Ye(n,r);t.recordDroppedEvent(e,re(r),i)})};return n.add(function(){return e({body:te(a,t.textEncoder)}).then(function(t){return r=oe(r,t),t},function(t){throw s("network_error"),t})}).then(function(t){return t},function(t){if(t instanceof F)return s("queue_overflow"),Ct();throw t})}return i.__sentry__baseTransport__=!0,{send:i,flush:function(t){return n.drain(t)}}}function Ye(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}var Je,Ke="7.64.0",Xe=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){Je=Function.prototype.toString;try{Function.prototype.toString=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=$(this)||this;return Je.apply(n,t)}}catch(t){}},t.id="FunctionToString",t}(),Ze=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Qe=[/^.*healthcheck.*$/,/^.*healthy.*$/,/^.*live.*$/,/^.*ready.*$/,/^.*heartbeat.*$/,/^.*\/health$/,/^.*\/healthz$/],tn=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this.Et=e}return t.prototype.setupOnce=function(e,n){var r=function(e){var r=n();if(r){var i=r.getIntegration(t);if(i){var o=r.getClient(),a=o?o.getOptions():{},s=function(t,e){return void 0===t&&(t={}),void 0===e&&(e={}),{allowUrls:l(l([],u(t.allowUrls||[]),!1),u(e.allowUrls||[]),!1),denyUrls:l(l([],u(t.denyUrls||[]),!1),u(e.denyUrls||[]),!1),ignoreErrors:l(l(l([],u(t.ignoreErrors||[]),!1),u(e.ignoreErrors||[]),!1),u(t.disableErrorDefaults?[]:Ze),!1),ignoreTransactions:l(l(l([],u(t.ignoreTransactions||[]),!1),u(e.ignoreTransactions||[]),!1),u(t.disableTransactionDefaults?[]:Qe),!1),ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(i.Et,a);return function(t,e){return!(!e.ignoreInternal||!function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t))||(!!function(t,e){return!(t.type||!e||!e.length)&&function(t){if(t.message)return[t.message];if(t.exception){var e=t.exception.values;try{var n=e&&e[e.length-1]||{},r=n.type,i=void 0===r?"":r,o=n.value,a=void 0===o?"":o;return["".concat(a),"".concat(i,": ").concat(a)]}catch(t){return[]}}return[]}(t).some(function(t){return E(t,e)})}(t,e.ignoreErrors)||(!!function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;var n=t.transaction;return!!n&&E(n,e)}(t,e.ignoreTransactions)||(!!function(t,e){if(!e||!e.length)return!1;var n=en(t);return!!n&&E(n,e)}(t,e.denyUrls)||!function(t,e){if(!e||!e.length)return!0;var n=en(t);return!n||E(n,e)}(t,e.allowUrls))))}(e,s)?null:e}}return e};r.id=this.name,e(r)},t.id="InboundFilters",t}();function en(t){try{var e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t){void 0===t&&(t=[]);for(var e=t.length-1;e>=0;e--){var n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(t){return null}}var nn=Object.freeze({__proto__:null,FunctionToString:Xe,InboundFilters:tn}),rn=C,on=function(t,e,n){var r,i;return function(o){e.value>=0&&(o||n)&&((i=e.value-(r||0))||void 0===r)&&(r=e.value,e.delta=i,t(e))}},an=function(){return rn.__WEB_VITALS_POLYFILL__?rn.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||function(){var t=rn.performance.timing,e=rn.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==e?"back_forward":1===e?"reload":"navigate"};for(var r in t)"navigationStart"!==r&&"toJSON"!==r&&(n[r]=Math.max(t[r]-t.navigationStart,0));return n}()):rn.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},sn=function(){var t=an();return t&&t.activationStart||0},cn=function(t,e){var n=an(),r="navigate";return n&&(r=rn.document.prerendering||sn()>0?"prerender":n.type.replace(/_/g,"-")),{name:t,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},un=function(t,e,n){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var r=new PerformanceObserver(function(t){e(t.getEntries())});return r.observe(Object.assign({type:t,buffered:!0},n||{})),r}}catch(t){}},ln=function(t,e){var n=function n(r){"pagehide"!==r.type&&"hidden"!==rn.document.visibilityState||(t(r),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},dn=-1,fn=function(){return dn<0&&(dn="hidden"!==rn.document.visibilityState||rn.document.prerendering?1/0:0,ln(function(t){var e=t.timeStamp;dn=e},!0)),{get firstHiddenTime(){return dn}}},hn={};function pn(t){return"number"==typeof t&&isFinite(t)}function vn(t,e){var n=e.startTimestamp,r=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}(e,["startTimestamp"]);return n&&t.startTimestamp>n&&(t.startTimestamp=n),t.startChild(o({startTimestamp:n},r))}function mn(t){return t/1e3}function gn(){return rn&&rn.addEventListener&&rn.performance}var yn,bn,wn=0,Sn={};function _n(){var t,e,n,r,i,o,a,s=gn();if(s&&qt){s.mark&&rn.performance.mark("sentry-tracing-init"),t=function(t){var e=t.entries.pop();if(e){var n=mn(qt),r=mn(e.startTime);Sn.fid={value:t.value,unit:"millisecond"},Sn["mark.fid"]={value:n+r,unit:"second"}}},n=fn(),r=cn("FID"),i=function(t){t.startTime<n.firstHiddenTime&&(r.value=t.processingStart-t.startTime,r.entries.push(t),e(!0))},a=un("first-input",o=function(t){t.forEach(i)}),e=on(t,r),a&&ln(function(){o(a.takeRecords()),a.disconnect()},!0);var c=function(t){var e,n=cn("CLS",0),r=0,i=[],o=function(t){t.forEach(function(t){if(!t.hadRecentInput){var o=i[0],a=i[i.length-1];r&&0!==i.length&&t.startTime-a.startTime<1e3&&t.startTime-o.startTime<5e3?(r+=t.value,i.push(t)):(r=t.value,i=[t]),r>n.value&&(n.value=r,n.entries=i,e&&e())}})},a=un("layout-shift",o);if(a){e=on(function(t){var e=t.entries.pop();e&&(Sn.cls={value:t.value,unit:""},bn=e)},n);var s=function(){o(a.takeRecords()),e(!0)};return ln(s),s}}(),u=function(t){var e,n=fn(),r=cn("LCP"),i=function(t){var i=t[t.length-1];if(i){var o=Math.max(i.startTime-sn(),0);o<n.firstHiddenTime&&(r.value=o,r.entries=[i],e())}},o=un("largest-contentful-paint",i);if(o){e=on(function(t){var e=t.entries.pop();e&&(Sn.lcp={value:t.value,unit:"millisecond"},yn=e)},r);var a=function(){hn[r.id]||(i(o.takeRecords()),o.disconnect(),hn[r.id]=!0,e(!0))};return["keydown","click"].forEach(function(t){addEventListener(t,a,{once:!0,capture:!0})}),ln(a,!0),a}}();return function(){c&&c(),u&&u()}}return function(){}}function kn(t,e,n,r,i,o){var a=o?e[o]:e["".concat(n,"End")],s=e["".concat(n,"Start")];s&&a&&vn(t,{op:"browser",description:i||n,startTimestamp:r+mn(s),endTimestamp:r+mn(a)})}var xn=["localhost",/^\/(?!\/)/],En={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:xn,tracePropagationTargets:xn};function On(t){var e=o({traceFetch:En.traceFetch,traceXHR:En.traceXHR},t),n=e.traceFetch,r=e.traceXHR,i=e.tracePropagationTargets,a=e.tracingOrigins,s=e.shouldCreateSpanForRequest,c=e.enableHTTPTimings,d="function"==typeof s?s:function(t){return!0},f=function(t){return function(t,e){return E(t,i||a||xn)}(t)},h={};n&&ht("fetch",function(t){var e=function(t,e,n,r){if(ye()&&t.fetchData){var i=e(t.fetchData.url);if(!t.endTimestamp||!i){var a=ve(),s=a.getScope(),c=a.getClient(),d=s.getSpan(),f=t.fetchData,h=f.method,p=f.url,v=i&&d?d.startChild({data:{url:p,type:"fetch","http.method":h},description:"".concat(h," ").concat(p),op:"http.client"}):void 0;if(v&&(t.fetchData.__span=v.spanId,r[v.spanId]=v),n(t.fetchData.url)&&c){var m=t.args[0];t.args[1]=t.args[1]||{};var g=t.args[1];g.headers=function(t,e,n,r,i){var a=i||n.getSpan(),s=a&&a.transaction,c=n.getPropagationContext(),d=c.traceId,f=c.sampled,h=c.dsc,p=a?a.toTraceparent():Jt(d,void 0,f),v=zt(s?s.getDynamicSamplingContext():h||xe(d,e,n)),m="undefined"!=typeof Request&&_(t,Request)?t.headers:r.headers;if(m){if("undefined"!=typeof Headers&&_(m,Headers))return(g=new Headers(m)).append("sentry-trace",p),v&&g.append(Ft,v),g;if(Array.isArray(m)){var g=l(l([],u(m),!1),[["sentry-trace",p]],!1);return v&&g.push([Ft,v]),g}var y="baggage"in m?m.baggage:void 0,b=[];return Array.isArray(y)?b.push.apply(b,l([],u(y),!1)):y&&b.push(y),v&&b.push(v),o(o({},m),{"sentry-trace":p,baggage:b.length>0?b.join(","):void 0})}return{"sentry-trace":p,baggage:v}}(m,c,s,g,v)}return v}var y=t.fetchData.__span;if(!y)return;var b=r[y];if(b){if(t.response){b.setHttpStatus(t.response.status);var w=t.response&&t.response.headers&&t.response.headers.get("content-length"),S=parseInt(w);S>0&&b.setData("http.response_content_length",S)}else t.error&&b.setStatus("internal_error");b.finish(),delete r[y]}}}(t,d,f,h);c&&e&&Tn(e)}),r&&ht("xhr",function(t){var e=function(t,e,n,r){var i=t.xhr,a=i&&i.__sentry_xhr_v2__;if(!(!ye()||i&&i.__sentry_own_request__)&&i&&a){var s=e(a.url);if(!t.endTimestamp||!s){var c=ve(),u=c.getScope(),l=u.getSpan(),d=s&&l?l.startChild({data:o(o({},a.data),{type:"xhr","http.method":a.method,url:a.url}),description:"".concat(a.method," ").concat(a.url),op:"http.client"}):void 0;if(d&&(i.__sentry_xhr_span_id__=d.spanId,r[i.__sentry_xhr_span_id__]=d),i.setRequestHeader&&n(a.url))if(d){var f=d&&d.transaction,h=zt(f&&f.getDynamicSamplingContext());An(i,d.toTraceparent(),h)}else{var p=c.getClient(),v=u.getPropagationContext(),m=v.traceId,g=v.sampled,y=v.dsc;An(i,Jt(m,void 0,g),h=zt(y||(p?xe(m,p,u):void 0)))}return d}var b=i.__sentry_xhr_span_id__;if(!b)return;var w=r[b];w&&(w.setHttpStatus(a.status_code),w.finish(),delete r[b])}}(t,d,f,h);c&&e&&Tn(e)})}function Tn(t){var e=t.data.url,n=new PerformanceObserver(function(r){r.getEntries().forEach(function(r){"fetch"!==r.initiatorType&&"xmlhttprequest"!==r.initiatorType||!r.name.endsWith(e)||(function(t){var e=function(t){var e,n,r,i="unknown",o="unknown",a="";try{for(var s=c(t),l=s.next();!l.done;l=s.next()){var d=l.value;if("/"===d){i=(r=u(t.split("/"),2))[0],o=r[1];break}if(!isNaN(Number(d))){i="h"===a?"http":a,o=t.split(a)[1];break}a+=d}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return a===t&&(i=a),{name:i,version:o}}(t.nextHopProtocol),n=e.name,r=e.version,i=[];return i.push(["network.protocol.version",r],["network.protocol.name",n]),qt?l(l([],u(i),!1),[["http.request.redirect_start",In(t.redirectStart)],["http.request.fetch_start",In(t.fetchStart)],["http.request.domain_lookup_start",In(t.domainLookupStart)],["http.request.domain_lookup_end",In(t.domainLookupEnd)],["http.request.connect_start",In(t.connectStart)],["http.request.secure_connection_start",In(t.secureConnectionStart)],["http.request.connection_end",In(t.connectEnd)],["http.request.request_start",In(t.requestStart)],["http.request.response_start",In(t.responseStart)],["http.request.response_end",In(t.responseEnd)]],!1):i}(r).forEach(function(e){return t.setData.apply(t,l([],u(e),!1))}),n.disconnect())})});n.observe({entryTypes:["resource"]})}function In(t){return((qt||performance.timeOrigin)+t)/1e3}function An(t,e,n){try{t.setRequestHeader("sentry-trace",e),n&&t.setRequestHeader(Ft,n)}catch(t){}}var Cn=o(o(o({},Oe),{markBackgroundTransactions:!0,routingInstrumentation:function(t,e,n){if(void 0===e&&(e=!0),void 0===n&&(n=!0),rn&&rn.location){var r,i=rn.location.href;e&&(r=t({name:rn.location.pathname,startTimestamp:qt?qt/1e3:void 0,op:"pageload",metadata:{source:"url"}})),n&&ht("history",function(e){var n=e.to,o=e.from;void 0===o&&i&&-1!==i.indexOf(n)?i=void 0:o!==n&&(i=void 0,r&&r.finish(),r=t({name:rn.location.pathname,op:"navigation",metadata:{source:"url"}}))})}},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{}}),En),jn=function(){function t(t){this.name="BrowserTracing",this.Pt=!1,Me(),this.options=o(o({},Cn),t),void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),this.Ut=_n(),this.options.enableLongTask&&un("longtask",function(t){var e,n;try{for(var r=c(t),i=r.next();!i.done;i=r.next()){var o=i.value,a=be();if(!a)return;var s=mn(qt+o.startTime),u=mn(o.duration);a.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimestamp:s,endTimestamp:s+u})}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}}),this.options._experiments.enableInteractions&&un("event",function(t){var e,n;try{for(var r=c(t),i=r.next();!i.done;i=r.next()){var o=i.value,a=be();if(!a)return;if("click"===o.name){var s=mn(qt+o.startTime),u=mn(o.duration);a.startChild({description:M(o.target),op:"ui.interaction.".concat(o.name),startTimestamp:s,endTimestamp:s+u})}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},{durationThreshold:0})}return t.prototype.setupOnce=function(t,e){var n=this;this.$t=e;var r=e().getClient(),i=r&&r.getOptions(),o=this.options,a=o.routingInstrumentation,s=o.startTransactionOnLocationChange,c=o.startTransactionOnPageLoad,u=o.markBackgroundTransactions,l=o.traceFetch,d=o.traceXHR,f=o.shouldCreateSpanForRequest,h=o.enableHTTPTimings,p=o._experiments,v=i&&i.tracePropagationTargets||this.options.tracePropagationTargets;a(function(t){var r=n.Ft(t);return n.options._experiments.onStartRouteTransaction&&n.options._experiments.onStartRouteTransaction(r,t,e),r},c,s),u&&rn&&rn.document&&rn.document.addEventListener("visibilitychange",function(){var t=be();rn.document.hidden&&t&&(t.status||t.setStatus("cancelled"),t.setTag("visibilitychange","document.hidden"),t.finish())}),p.enableInteractions&&this.Bt(),On({traceFetch:l,traceXHR:d,tracePropagationTargets:v,shouldCreateSpanForRequest:f,enableHTTPTimings:h})},t.prototype.Ft=function(t){var e=this;if(this.$t){var n=this.$t(),r=this.options,i=r.beforeNavigate,a=r.idleTimeout,s=r.finalTimeout,c=r.heartbeatInterval,u="pageload"===t.op,l=Yt(u?Rn("sentry-trace"):"",u?Rn("baggage"):""),d=l.traceparentData,f=l.dynamicSamplingContext,h=l.propagationContext,p=o(o(o({},t),d),{metadata:o(o({},t.metadata),{dynamicSamplingContext:d&&!f?{}:f}),trimEnd:!0}),v="function"==typeof i?i(p):p,m=void 0===v?o(o({},p),{sampled:!1}):v;m.metadata=m.name!==p.name?o(o({},m.metadata),{source:"custom"}):m.metadata,this.Xt=m.name,this.zt=m.metadata&&m.metadata.source;var g=Le(n,m,a,s,!0,{location:rn.location},c),y=n.getScope();return u&&d?y.setPropagationContext(h):y.setPropagationContext({traceId:g.traceId,spanId:g.spanId,parentSpanId:g.parentSpanId,sampled:!!g.sampled}),g.registerBeforeFinishCallback(function(t){e.Ut(),function(t){var e=gn();if(e&&rn.performance.getEntries&&qt){var n,r,i=mn(qt),o=e.getEntries();if(o.slice(wn).forEach(function(e){var o=mn(e.startTime),a=mn(e.duration);if(!("navigation"===t.op&&i+o<t.startTimestamp))switch(e.entryType){case"navigation":!function(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(function(r){kn(t,e,r,n)}),kn(t,e,"secureConnection",n,"TLS/SSL","connectEnd"),kn(t,e,"fetch",n,"cache","domainLookupStart"),kn(t,e,"domainLookup",n,"DNS"),function(t,e,n){vn(t,{op:"browser",description:"request",startTimestamp:n+mn(e.requestStart),endTimestamp:n+mn(e.responseEnd)}),vn(t,{op:"browser",description:"response",startTimestamp:n+mn(e.responseStart),endTimestamp:n+mn(e.responseEnd)})}(t,e,n)}(t,e,i),n=i+mn(e.responseStart),r=i+mn(e.requestStart);break;case"mark":case"paint":case"measure":!function(t,e,n,r,i){var o=i+n,a=o+r;vn(t,{description:e.name,endTimestamp:a,op:e.entryType,startTimestamp:o})}(t,e,o,a,i);var s=fn(),c=e.startTime<s.firstHiddenTime;"first-paint"===e.name&&c&&(Sn.fp={value:e.startTime,unit:"millisecond"}),"first-contentful-paint"===e.name&&c&&(Sn.fcp={value:e.startTime,unit:"millisecond"});break;case"resource":var u=e.name.replace(rn.location.origin,"");!function(t,e,n,r,i,o){if("xmlhttprequest"!==e.initiatorType&&"fetch"!==e.initiatorType){var a={};"transferSize"in e&&(a["http.response_transfer_size"]=e.transferSize),"encodedBodySize"in e&&(a["http.response_content_length"]=e.encodedBodySize),"decodedBodySize"in e&&(a["http.decoded_response_content_length"]=e.decodedBodySize),"renderBlockingStatus"in e&&(a["resource.render_blocking_status"]=e.renderBlockingStatus);var s=o+r;vn(t,{description:n,endTimestamp:s+i,op:e.initiatorType?"resource.".concat(e.initiatorType):"resource.other",startTimestamp:s,data:a})}}(t,e,u,o,a,i)}}),wn=Math.max(o.length-1,0),function(t){var e=rn.navigator;if(e){var n=e.connection;n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),pn(n.rtt)&&(Sn["connection.rtt"]={value:n.rtt,unit:"millisecond"})),pn(e.deviceMemory)&&t.setTag("deviceMemory","".concat(e.deviceMemory," GB")),pn(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}}(t),"pageload"===t.op){"number"==typeof n&&(Sn.ttfb={value:1e3*(n-t.startTimestamp),unit:"millisecond"},"number"==typeof r&&r<=n&&(Sn["ttfb.requestTime"]={value:1e3*(n-r),unit:"millisecond"})),["fcp","fp","lcp"].forEach(function(e){if(Sn[e]&&!(i>=t.startTimestamp)){var n=Sn[e].value,r=i+mn(n),o=Math.abs(1e3*(r-t.startTimestamp));Sn[e].value=o}});var a=Sn["mark.fid"];a&&Sn.fid&&(vn(t,{description:"first input delay",endTimestamp:a.value+mn(Sn.fid.value),op:"ui.action",startTimestamp:a.value}),delete Sn["mark.fid"]),"fcp"in Sn||delete Sn.cls,Object.keys(Sn).forEach(function(e){t.setMeasurement(e,Sn[e].value,Sn[e].unit)}),function(t){yn&&(yn.element&&t.setTag("lcp.element",M(yn.element)),yn.id&&t.setTag("lcp.id",yn.id),yn.url&&t.setTag("lcp.url",yn.url.trim().slice(0,200)),t.setTag("lcp.size",yn.size)),bn&&bn.sources&&bn.sources.forEach(function(e,n){return t.setTag("cls.source.".concat(n+1),M(e.node))})}(t)}yn=void 0,bn=void 0,Sn={}}}(t)}),g}},t.prototype.Bt=function(){var t,e=this,n=function(){var n=e.options,r=n.idleTimeout,i=n.finalTimeout,o=n.heartbeatInterval,a=be();if(!(a&&a.op&&["navigation","pageload"].includes(a.op))&&(t&&(t.setFinishReason("interactionInterrupted"),t.finish(),t=void 0),e.$t&&e.Xt)){var s=e.$t(),c=rn.location,u={name:e.Xt,op:"ui.action.click",trimEnd:!0,metadata:{source:e.zt||"url"}};t=Le(s,u,r,i,!0,{location:c},o)}};["click"].forEach(function(t){addEventListener(t,n,{once:!1,capture:!0})})},t}();function Rn(t){var e,n=(e="meta[name=".concat(t,"]"),L.document&&L.document.querySelector?L.document.querySelector(e):null);return n?n.getAttribute("content"):void 0}function Ln(){Me()}var Mn=C,Bn=0;function Pn(){return Bn>0}function Dn(t,e,n){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{var r=t.__sentry_wrapped__;if(r)return r;if($(t))return t}catch(e){return t}var i=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var i=r.map(function(t){return Dn(t,e)});return t.apply(this,i)}catch(t){throw Bn++,setTimeout(function(){Bn--}),Pe(function(n){n.addEventProcessor(function(t){return e.mechanism&&(xt(t,void 0,void 0),Et(t,e.mechanism)),t.extra=o(o({},t.extra),{arguments:r}),t}),Be(t)}),t}};try{for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(i[a]=t[a])}catch(t){}z(i,t),W(t,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:function(){return t.name}})}catch(t){}return i}function Nn(t,e){var n=Hn(t,e),r={type:e&&e.name,value:Fn(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Gn(t,e){return{exception:{values:[Nn(t,e)]}}}function Hn(t,e){var n=e.stacktrace||e.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(qn.test(t.message))return 1}return 0}(e);try{return t(n,r)}catch(t){}return[]}var qn=/Minified React error #\d+;/i;function Fn(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function Un(t,e,n,r){var i=zn(t,e,n&&n.syntheticException||void 0,r);return Et(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),Ct(i)}function Wn(t,e,n,r,i){void 0===n&&(n="info");var o=$n(t,e,r&&r.syntheticException||void 0,i);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),Ct(o)}function zn(t,e,n,r,i){var a;if(p(e)&&e.error)return Gn(t,e.error);if(v(e)||h(e,"DOMException")){var s=e;if("stack"in e)a=Gn(t,e);else{var c=s.name||(v(s)?"DOMError":"DOMException"),u=s.message?"".concat(c,": ").concat(s.message):c;xt(a=$n(t,u,n,r),u)}return"code"in s&&(a.tags=o(o({},a.tags),{"DOMException.code":"".concat(s.code)})),a}return f(e)?Gn(t,e):y(e)||b(e)?(Et(a=function(t,e,n,r){var i=ve().getClient(),o=i&&i.getOptions().normalizeDepth,a={exception:{values:[{type:b(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:Vn(e,{isUnhandledRejection:r})}]},extra:{__serialized__:At(e,o)}};if(n){var s=Hn(t,n);s.length&&(a.exception.values[0].stacktrace={frames:s})}return a}(t,e,n,i),{synthetic:!0}),a):(xt(a=$n(t,e,n,r),"".concat(e),void 0),Et(a,{synthetic:!0}),a)}function $n(t,e,n,r){var i={message:e};if(r&&n){var o=Hn(t,n);o.length&&(i.exception={values:[{value:e,stacktrace:{frames:o}}]})}return i}function Vn(t,e){var n=e.isUnhandledRejection,r=function(t,e){void 0===e&&(e=40);var n=Object.keys(V(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return k(n[0],e);for(var r=n.length;r>0;r--){var i=n.slice(0,r).join(", ");if(!(i.length>e))return r===n.length?i:k(i,e)}return""}(t),i=n?"promise rejection":"exception";if(p(t))return"Event `ErrorEvent` captured as ".concat(i," with message `").concat(t.message,"`");if(b(t)){var o=function(t){try{var e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(t){}}(t);return"Event `".concat(o,"` (type=").concat(t.type,") captured as ").concat(i)}return"Object captured as ".concat(i," with keys: ").concat(r)}var Yn=1024,Jn="Breadcrumbs",Kn=function(){function t(e){this.name=t.id,this.options=o({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.setupOnce=function(){this.options.console&&ht("console",Xn),this.options.dom&&ht("dom",function(t){return function(e){var n,r,i="object"==typeof t?t.serializeAttribute:void 0,o="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;o&&o>Yn&&(o=Yn),"string"==typeof i&&(i=[i]);try{var a=e.event;n=(r=a)&&r.target?M(a.target,{keyAttrs:i,maxStringLength:o}):M(a,{keyAttrs:i,maxStringLength:o})}catch(t){n="<unknown>"}0!==n.length&&ve().addBreadcrumb({category:"ui.".concat(e.name),message:n},{event:e.event,name:e.name,global:e.global})}}(this.options.dom)),this.options.xhr&&ht("xhr",Zn),this.options.fetch&&ht("fetch",Qn),this.options.history&&ht("history",tr)},t.prototype.addSentryBreadcrumb=function(t){this.options.sentry&&ve().addBreadcrumb({category:"sentry.".concat("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:kt(t)},{event:t})},t.id=Jn,t}();function Xn(t){for(var e=0;e<t.args.length;e++)if("ref=Ref<"===t.args[e]){t.args[e+1]="viewRef";break}var n,r={category:"console",data:{arguments:t.args,logger:"console"},level:(n=t.level,"warn"===n?"warning":Mt.includes(n)?n:"log"),message:x(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;r.message="Assertion failed: ".concat(x(t.args.slice(1)," ")||"console.assert"),r.data.arguments=t.args.slice(1)}ve().addBreadcrumb(r,{input:t.args,level:t.level})}function Zn(t){var e=t.startTimestamp,n=t.endTimestamp,r=t.xhr.__sentry_xhr_v2__;if(e&&n&&r){var i=r.method,o=r.url,a=r.status_code,s=r.body,c={method:i,url:o,status_code:a},u={xhr:t.xhr,input:s,startTimestamp:e,endTimestamp:n};ve().addBreadcrumb({category:"xhr",data:c,type:"http"},u)}}function Qn(t){var e=t.startTimestamp,n=t.endTimestamp;if(n&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){var r=t.fetchData,i={data:t.error,input:t.args,startTimestamp:e,endTimestamp:n};ve().addBreadcrumb({category:"fetch",data:r,level:"error",type:"http"},i)}else r=o(o({},t.fetchData),{status_code:t.response&&t.response.status}),i={input:t.args,response:t.response,startTimestamp:e,endTimestamp:n},ve().addBreadcrumb({category:"fetch",data:r,type:"http"},i)}function tr(t){var e=t.from,n=t.to,r=Lt(Mn.location.href),i=Lt(e),o=Lt(n);i.path||(i=r),r.protocol===o.protocol&&r.host===o.host&&(n=o.relative),r.protocol===i.protocol&&r.host===i.host&&(e=i.relative),ve().addBreadcrumb({category:"navigation",data:{from:e,to:n}})}function er(t,e){var n=e.metadata,r=e.tunnel,i=e.dsn;return Kt(o(o({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&n.sdk&&{sdk:{name:n.sdk.name,version:n.sdk.version}}),!!r&&!!i&&{dsn:G(i)}),[function(t){return[{type:"user_report"},t]}(t)])}var nr=function(t){function e(e){var n=this,r=Mn.SENTRY_SDK_SOURCE||"cdn";return e.Tt=e.Tt||{},e.Tt.sdk=e.Tt.sdk||{name:"sentry.javascript.browser",packages:[{name:"".concat(r,":@sentry/browser"),version:Ke}],version:Ke},n=t.call(this,e)||this,e.sendClientReports&&Mn.document&&Mn.document.addEventListener("visibilitychange",function(){"hidden"===Mn.document.visibilityState&&n.Wt()}),n}return i(e,t),e.prototype.eventFromException=function(t,e){return Un(this.Et.stackParser,t,e,this.Et.attachStacktrace)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e="info"),Wn(this.Et.stackParser,t,e,n,this.Et.attachStacktrace)},e.prototype.sendEvent=function(e,n){var r=this.getIntegrationById(Jn);r&&r.addSentryBreadcrumb&&r.addSentryBreadcrumb(e),t.prototype.sendEvent.call(this,e,n)},e.prototype.captureUserFeedback=function(t){if(this.Dt()){var e=er(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.Lt(e)}},e.prototype.Nt=function(e,n,r){return e.platform=e.platform||"javascript",t.prototype.Nt.call(this,e,n,r)},e.prototype.Wt=function(){var t=this.Ht();if(0!==t.length&&this.xt){var e,n,r=(e=t,Kt((n=this.Et.tunnel&&G(this.xt))?{dsn:n}:{},[[{type:"client_report"},{timestamp:Gt(),discarded_events:e}]]));this.Lt(r)}},e}(We),rr=void 0;function ir(t,e){void 0===e&&(e=function(){if(rr)return rr;if(ot(Mn.fetch))return rr=Mn.fetch.bind(Mn);var t=Mn.document,e=Mn.fetch;if(t&&"function"==typeof t.createElement)try{var n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){}return rr=e.bind(Mn)}());var n=0,r=0;return Ve(t,function(i){var a=i.body.length;n+=a,r++;var s=o({body:i.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&r<15},t.fetchOptions);try{return e(t.url,s).then(function(t){return n-=a,r--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}}})}catch(t){return rr=void 0,n-=a,r--,jt(t)}})}function or(t){return Ve(t,function(e){return new Rt(function(n,r){var i=new XMLHttpRequest;for(var o in i.onerror=r,i.onreadystatechange=function(){4===i.readyState&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",t.url),t.headers)Object.prototype.hasOwnProperty.call(t.headers,o)&&i.setRequestHeader(o,t.headers[o]);i.send(e.body)})})}function ar(t,e,n,r){var i={filename:t,function:e,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}var sr=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,cr=/\((\S*)(?::(\d+))(?::(\d+))\)/,ur=[30,function(t){var e=sr.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){var n=cr.exec(e[2]);n&&(e[2]=n[1],e[3]=n[2],e[4]=n[3])}var r=u(Sr(e[1]||"?",e[2]),2),i=r[0];return ar(r[1],i,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],lr=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,dr=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,fr=[50,function(t){var e,n=lr.exec(t);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){var r=dr.exec(n[3]);r&&(n[1]=n[1]||"eval",n[3]=r[1],n[4]=r[2],n[5]="")}var i=n[3],o=n[1]||"?";return o=(e=u(Sr(o,i),2))[0],ar(i=e[1],o,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}],hr=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,pr=[40,function(t){var e=hr.exec(t);return e?ar(e[2],e[1]||"?",+e[3],e[4]?+e[4]:void 0):void 0}],vr=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,mr=[10,function(t){var e=vr.exec(t);return e?ar(e[2],e[3]||"?",+e[1]):void 0}],gr=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,yr=[20,function(t){var e=gr.exec(t);return e?ar(e[5],e[3]||e[4]||"?",+e[1],+e[2]):void 0}],br=[ur,fr,pr],wr=Q.apply(void 0,l([],u(br),!1)),Sr=function(t,e){var n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:"?",n?"safari-extension:".concat(e):"safari-web-extension:".concat(e)]:[t,e]},_r=function(){function t(e){this.name=t.id,this.Et=o({onerror:!0,onunhandledrejection:!0},e),this.Gt={onerror:kr,onunhandledrejection:xr}}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50;var t=this.Et;for(var e in t){var n=this.Gt[e];n&&t[e]&&(n(),this.Gt[e]=void 0)}},t.id="GlobalHandlers",t}();function kr(){ht("error",function(t){var e=u(Tr(),3),n=e[0],r=e[1],i=e[2];if(n.getIntegration(_r)){var o=t.msg,a=t.url,s=t.line,c=t.column,l=t.error;if(!(Pn()||l&&l.__sentry_own_request__)){var d=void 0===l&&m(o)?function(t,e,n,r){var i=p(t)?t.message:t,o="Error",a=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return a&&(o=a[1],i=a[2]),Er({exception:{values:[{type:o,value:i}]}},e,n,r)}(o,a,s,c):Er(zn(r,l||o,void 0,i,!1),a,s,c);d.level="error",Or(n,l,d,"onerror")}}})}function xr(){ht("unhandledrejection",function(t){var e=u(Tr(),3),n=e[0],r=e[1],i=e[2];if(n.getIntegration(_r)){var o=t;try{"reason"in t?o=t.reason:"detail"in t&&"reason"in t.detail&&(o=t.detail.reason)}catch(t){}if(Pn()||o&&o.__sentry_own_request__)return!0;var a=g(o)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: ".concat(String(o))}]}}:zn(r,o,void 0,i,!0);a.level="error",Or(n,o,a,"onunhandledrejection")}})}function Er(t,e,n,r){var i=t.exception=t.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},c=s.frames=s.frames||[],u=isNaN(parseInt(r,10))?void 0:r,l=isNaN(parseInt(n,10))?void 0:n,d=m(e)&&e.length>0?e:function(){try{return L.document.location.href}catch(t){return""}}();return 0===c.length&&c.push({colno:u,filename:d,function:"?",in_app:!0,lineno:l}),t}function Or(t,e,n,r){Et(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function Tr(){var t=ve(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:function(){return[]},attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}var Ir=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Ar=function(){function t(e){this.name=t.id,this.Et=o({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){this.Et.setTimeout&&U(Mn,"setTimeout",Cr),this.Et.setInterval&&U(Mn,"setInterval",Cr),this.Et.requestAnimationFrame&&U(Mn,"requestAnimationFrame",jr),this.Et.XMLHttpRequest&&"XMLHttpRequest"in Mn&&U(XMLHttpRequest.prototype,"send",Rr);var t=this.Et.eventTarget;t&&(Array.isArray(t)?t:Ir).forEach(Lr)},t.id="TryCatch",t}();function Cr(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e[0];return e[0]=Dn(r,{mechanism:{data:{function:et(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function jr(t){return function(e){return t.apply(this,[Dn(e,{mechanism:{data:{function:"requestAnimationFrame",handler:et(t)},handled:!0,type:"instrument"}})])}}function Rr(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(function(t){t in r&&"function"==typeof r[t]&&U(r,t,function(e){var n={mechanism:{data:{function:t,handler:et(e)},handled:!0,type:"instrument"}},r=$(e);return r&&(n.mechanism.data.handler=et(r)),Dn(e,n)})}),t.apply(this,e)}}function Lr(t){var e=Mn,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(U(n,"addEventListener",function(e){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=Dn(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:et(r),target:t},handled:!0,type:"instrument"}}))}catch(t){}return e.apply(this,[n,Dn(r,{mechanism:{data:{function:"addEventListener",handler:et(r),target:t},handled:!0,type:"instrument"}}),i])}}),U(n,"removeEventListener",function(t){return function(e,n,r){var i=n;try{var o=i&&i.__sentry_wrapped__;o&&t.call(this,e,o,r)}catch(t){}return t.call(this,e,i,r)}}))}var Mr=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this.Jt=e.key||"cause",this.Kt=e.limit||5}return t.prototype.setupOnce=function(e,n){e(function(e,r){var i=n(),o=i.getClient(),a=i.getIntegration(t);if(!o||!a)return e;var s=o.getOptions();return function(t,e,n,r,i,o,a){if(void 0===n&&(n=250),o.exception&&o.exception.values&&a&&_(a.originalException,Error)){var s,c,u=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;u&&(o.exception.values=(s=O(t,e,i,a.originalException,r,o.exception.values,u,0),c=n,s.map(function(t){return t.value&&(t.value=k(t.value,c)),t})))}}(Nn,s.stackParser,s.maxValueLength,a.Jt,a.Kt,e,r),e})},t.id="LinkedErrors",t}(),Br=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){le(function(e){if(ve().getIntegration(t)){if(!Mn.navigator&&!Mn.location&&!Mn.document)return e;var n=e.request&&e.request.url||Mn.location&&Mn.location.href,r=(Mn.document||{}).referrer,i=(Mn.navigator||{}).userAgent,a=o(o(o({},e.request&&e.request.headers),r&&{Referer:r}),i&&{"User-Agent":i}),s=o(o(o({},e.request),n&&{url:n}),{headers:a});return o(o({},e),{request:s})}return e})},t.id="HttpContext",t}(),Pr=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(e,n){var r=function(e){if(e.type)return e;var r=n().getIntegration(t);if(r){try{if(function(t,e){return!!e&&(!!function(t,e){var n=t.message,r=e.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!Nr(t,e)&&!!Dr(t,e))))}(t,e)||!!function(t,e){var n=Gr(e),r=Gr(t);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!Nr(t,e)&&!!Dr(t,e)))}(t,e))}(e,r.Yt))return null}catch(t){return r.Yt=e}return r.Yt=e}return e};r.id=this.name,e(r)},t.id="Dedupe",t}();function Dr(t,e){var n=Hr(t),r=Hr(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(n=n,(r=r).length!==n.length)return!1;for(var i=0;i<r.length;i++){var o=r[i],a=n[i];if(o.filename!==a.filename||o.lineno!==a.lineno||o.colno!==a.colno||o.function!==a.function)return!1}return!0}function Nr(t,e){var n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return!(n.join("")!==r.join(""))}catch(t){return!1}}function Gr(t){return t.exception&&t.exception.values&&t.exception.values[0]}function Hr(t){var e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(t){return}}var qr=Object.freeze({__proto__:null,GlobalHandlers:_r,TryCatch:Ar,Breadcrumbs:Kn,LinkedErrors:Mr,HttpContext:Br,Dedupe:Pr}),Fr=[new tn,new Xe,new Ar,new Kn,new _r,new Mr,new Pr,new Br];function Ur(t){t.startSession({ignoreDuration:!0}),t.captureSession()}var Wr={};Mn.Sentry&&Mn.Sentry.Integrations&&(Wr=Mn.Sentry.Integrations);var zr=o(o(o({},Wr),nn),qr);return zr.Replay=n,zr.BrowserTracing=jn,Ln(),e.Breadcrumbs=Kn,e.BrowserClient=nr,e.BrowserTracing=jn,e.Dedupe=Pr,e.FunctionToString=Xe,e.GlobalHandlers=_r,e.HttpContext=Br,e.Hub=fe,e.InboundFilters=tn,e.Integrations=zr,e.LinkedErrors=Mr,e.Replay=n,e.SDK_VERSION=Ke,e.Scope=ce,e.Span=ke,e.TryCatch=Ar,e.WINDOW=Mn,e.addBreadcrumb=function(t){ve().addBreadcrumb(t)},e.addExtensionMethods=Ln,e.addGlobalEventProcessor=le,e.captureEvent=function(t,e){return ve().captureEvent(t,e)},e.captureException=Be,e.captureMessage=function(t,e){var n="string"==typeof e?e:void 0,r="string"!=typeof e?{captureContext:e}:void 0;return ve().captureMessage(t,n,r)},e.captureUserFeedback=function(t){var e=ve().getClient();e&&e.captureUserFeedback(t)},e.chromeStackLineParser=ur,e.close=function(t){return a(this,void 0,void 0,function(){var e;return s(this,function(n){return(e=ve().getClient())?[2,e.close(t)]:[2,Promise.resolve(!1)]})})},e.configureScope=function(t){ve().configureScope(t)},e.createTransport=Ve,e.createUserFeedbackEnvelope=er,e.defaultIntegrations=Fr,e.defaultStackLineParsers=br,e.defaultStackParser=wr,e.eventFromException=Un,e.eventFromMessage=Wn,e.exceptionFromError=Nn,e.flush=function(t){return a(this,void 0,void 0,function(){var e;return s(this,function(n){return(e=ve().getClient())?[2,e.flush(t)]:[2,Promise.resolve(!1)]})})},e.forceLoad=function(){},e.geckoStackLineParser=fr,e.getCurrentHub=ve,e.getHubFromCarrier=me,e.init=function(t){void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Fr),void 0===t.release&&("string"==typeof __SENTRY_RELEASE__&&(t.release=__SENTRY_RELEASE__),Mn.SENTRY_RELEASE&&Mn.SENTRY_RELEASE.id&&(t.release=Mn.SENTRY_RELEASE.id)),void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0);var e,n=o(o({},t),{stackParser:(e=t.stackParser||wr,Array.isArray(e)?Q.apply(void 0,l([],u(e),!1)):e),integrations:qe(t),transport:t.transport||(it()?ir:or)});!function(t,e){!0===e.debug&&console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");var n=ve();n.getScope().update(e.initialScope);var r=new t(e);n.bindClient(r)}(nr,n),t.autoSessionTracking&&function(){if(void 0!==Mn.document){var t=ve();t.captureSession&&(Ur(t),ht("history",function(t){var e=t.from,n=t.to;void 0!==e&&e!==n&&Ur(ve())}))}}()},e.lastEventId=function(){return ve().lastEventId()},e.makeFetchTransport=ir,e.makeMain=pe,e.makeXHRTransport=or,e.onLoad=function(t){t()},e.opera10StackLineParser=mr,e.opera11StackLineParser=yr,e.setContext=function(t,e){ve().setContext(t,e)},e.setExtra=function(t,e){ve().setExtra(t,e)},e.setExtras=function(t){ve().setExtras(t)},e.setTag=function(t,e){ve().setTag(t,e)},e.setTags=function(t){ve().setTags(t)},e.setUser=function(t){ve().setUser(t)},e.showReportDialog=function(t,e){if(void 0===t&&(t={}),void 0===e&&(e=ve()),Mn.document){var n=e.getStackTop(),r=n.client,i=n.scope,a=t.dsn||r&&r.getDsn();if(a){i&&(t.user=o(o({},i.getUser()),t.user)),t.eventId||(t.eventId=e.lastEventId());var s=Mn.document.createElement("script");s.async=!0,s.crossOrigin="anonymous",s.src=function(t,e){var n=q(t);if(!n)return"";var r="".concat(De(n),"embed/error-page/"),i="dsn=".concat(G(n));for(var o in e)if("dsn"!==o)if("user"===o){var a=e.user;if(!a)continue;a.name&&(i+="&name=".concat(encodeURIComponent(a.name))),a.email&&(i+="&email=".concat(encodeURIComponent(a.email)))}else i+="&".concat(encodeURIComponent(o),"=").concat(encodeURIComponent(e[o]));return"".concat(r,"?").concat(i)}(a,t),t.onLoad&&(s.onload=t.onLoad);var c=Mn.document.head||Mn.document.body;c&&c.appendChild(s)}}},e.startTransaction=function(t,e){return ve().startTransaction(o({},t),e)},e.winjsStackLineParser=pr,e.withScope=Pe,e.wrap=function(t){return Dn(t)()},"includes"in Array.prototype||(Array.prototype.includes=function(t){return this.indexOf(t)>-1}),"find"in Array.prototype||(Array.prototype.find=function(t){for(var e=0;e<this.length;e++)if(t(this[e]))return this[e]}),"findIndex"in Array.prototype||(Array.prototype.findIndex=function(t){for(var e=0;e<this.length;e++)if(t(this[e]))return e;return-1}),"includes"in String.prototype||(String.prototype.includes=function(t){return this.indexOf(t)>-1}),"startsWith"in String.prototype||(String.prototype.startsWith=function(t){return 0===this.indexOf(t)}),"endsWith"in String.prototype||(String.prototype.endsWith=function(t){var e=this.indexOf(t);return e>-1&&e===this.length-t.length}),e}({})}).call(this,n("yLpj"))},yLpj:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},yNLB:function(t,e,n){var r=n("Xnc8").PROPER,i=n("0Dky"),o=n("WJkJ");t.exports=function(t){return i(function(){return!!o[t]()||"â€‹Â…á Ž"!=="â€‹Â…á Ž"[t]()||r&&o[t].name!==t})}},yoRg:function(t,e,n){var r=n("4zBA"),i=n("Gi26"),o=n("/GqU"),a=n("TWQb").indexOf,s=n("0BK2"),c=r([].push);t.exports=function(t,e){var n,r=o(t),u=0,l=[];for(n in r)!i(s,n)&&i(r,n)&&c(l,n);for(;e.length>u;)i(r,n=e[u++])&&(~a(l,n)||c(l,n));return l}},ypFw:function(t,e,n){"use strict";var r=n("67WC"),i=n("1Y/n").left,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",function(t){var e=arguments.length;return i(o(this),t,e,e>1?arguments[1]:void 0)})},yq1k:function(t,e,n){"use strict";var r=n("I+eb"),i=n("TWQb").includes,o=n("RNIs");r({target:"Array",proto:!0},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},z8NH:function(t,e,n){n("dOgj")("Float32",function(t){return function(e,n,r){return t(this,e,n,r)}})},zBJ4:function(t,e,n){var r=n("2oRo"),i=n("hh1v"),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},zKZe:function(t,e,n){var r=n("I+eb"),i=n("YNrV");r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},zSZm:function(t,e,n){"use strict";var r=n("67WC"),i=r.aTypedArray,o=r.exportTypedArrayMethod,a=Math.floor;o("reverse",function(){for(var t,e=i(this).length,n=a(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this})},zfnd:function(t,e,n){var r=n("glrk"),i=n("hh1v"),o=n("8GlL");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},zhTc:function(t,e,n){"use strict";var r,i,o=n("ELuu"),a=n("6Ssv"),s=n("qLbo"),c=n("Q/5a"),u=n("KxHI"),l=n("OmMN"),d=n("gQOP"),f=n("5z3c"),h=n("Om6b"),p=n("Vl5E"),v=n("uh8D"),m=n("vTjZ"),g=n("kFz4"),y=function(){return(y=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},b=function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}c((r=r.apply(t,e||[])).next())})},w=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},S=function(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))},_=((r={})[o.e.setHideLostProgress]=function(t){t.commit(o.e.setHideLostProgress),a.a&&localStorage.setItem(s.b.HIDE_LOST_PROGRESS,String(!0))},r[o.e.restartGame]=function(t,e){var n=t.state,r=n.currentGame,i=n.finished,a=n.settings,s=n.difficulty,l=n.mode,f=n.date,h=e.gameOver,v=y(y({},r),{values:Object(d.g)(r.mission),showWinRate:!0,timer:0,notes:[],score:0,scoreHistory:[],baseScore:{val:o.c[s].base,lastTimeUpdated:Date.now()}});window.useLimitationHintsAndMistakes&&(v.mistakes=0,v.hints=a[u.n.countHints]||o.b.COUNT_HINTS),t.dispatch(o.e.setPaused,!1),c.a.emit(u.f.stopTimer,!0),t.commit(o.e.prepareBoard,v),t.commit(o.e.setUserAction,[]),t.commit(o.e.setHistoryActions,[]),t.commit(o.e.setSelected,0),Object(d.r)(t.state.currentGame,f);var m={difficulty:u.e[s],mode:u.q[l]||l,content_id:r.id,content_type:[u.j.classic,u.j.killer].includes(l)?l:u.j.classic};Object(p.a)("g_game_restart",m),g.a.send("g_game_restart",m),!a[u.n.imaAdsOnRestart]||i?window.location.reload():c.a.emit(u.f.showImaAds,function(){window.needToRestartPageOnChangeMode?window.location.reload():(c.a.emit(u.f.processNewGame,!0),c.a.emit(u.f.currentGameInit),c.a.emit(u.f.startScoreTimer,!0))},y(y({},m),{placement:h?u.i.game_over_restart:u.i.game_restart}))},r[o.e.requestNewContent]=function(t){return b(this,void 0,void 0,function(){var e,n,r,i,o,a,s;return w(this,function(l){switch(l.label){case 0:e=t.state,n=e.lang,r=e.mode,i=e.difficulty,l.label=1;case 1:return l.trys.push([1,4,,5]),[4,fetch("/api/content/"+n+"/"+i+"/"+r,m.a.get)];case 2:return[4,l.sent().json()];case 3:return o=l.sent(),a=document.getElementById("tips-articles-wrap"),o.pageReferrer=window.location.href,o.url&&window.history.replaceState({},o.title?o.title:"",o.url),o.content&&a&&(a.innerHTML=o.content),c.a.emit(u.f.contentChanged,o),[3,5];case 4:return s=l.sent(),console.log(s),[3,5];case 5:return[2]}})})},r[o.e.updateTimer]=function(t,e){t.state.currentGame&&t.commit(o.e.updateTimer,e)},r[o.e.setPaused]=function(t,e){t.commit(o.e.setPaused,e),t.dispatch(o.e.hideMessage),e?c.a.emit(u.f.stopScoreTimer):c.a.emit(u.f.startScoreTimer),c.a.emit(u.f.repaintGameBoard)},r[o.e.setSettings]=function(t,e){t.commit(o.e.setSettings,e)},r[o.e.setCoords]=function(t,e){t.commit(o.e.setCoords,e)},r[o.e.setAutoCheck]=function(t,e){var n,r;t.commit(o.e.setAutoCheck,e),t.dispatch(o.e.validateBoard),c.a.emit(u.f.repaintGameBoard),a.a&&((null===(n=null===window||void 0===window?void 0:window.eb)||void 0===n?void 0:n.settings.use_cmp)&&"1"===Object(f.k)(u.a.functional)||!(null===(r=null===window||void 0===window?void 0:window.eb)||void 0===r?void 0:r.settings.use_cmp))&&Object(a.c)(s.a.CHECK_MISTAKES,e.toString(),9999)},r[o.e.hideMessageTip]=function(t){t.commit(o.e.hideMessageTip),c.a.emit(u.f.hideGameMessage),a.a&&localStorage.setItem(s.b.GAME_TIP,"true")},r[o.e.hideMessage]=function(t){var e=t.state,n=e.currentGame,r=e.hideMessageTip;(null==n?void 0:n.showWinRate)&&(t.commit(o.e.setShowWinRate,!1),c.a.emit(u.f.hideGameMessage)),r||(t.dispatch(o.e.hideMessageTip),c.a.emit(u.f.userAction))},r[o.e.validateBoard]=function(t,e){var n,r,i,s,l,f=t.state,h=f.currentGame,v=f.autoCheckMistakes,m=f.coords,b=f.difficulty,w=f.mode;f.settings;if(h){if(t.commit(o.e.setBoardValues,Object(d.w)(h,m,v)),Object(d.n)(y({},h))){t.commit(o.e.setFinished,!0);var S={difficulty:u.e[b],mode:u.q[w]||w,content_id:h.id,content_type:[u.j.classic,u.j.killer].includes(w)?w:u.j.classic,time_1s:parseInt(h.timer/1e3),smart_hints:null!==(n=h.countSmartHints)&&void 0!==n?n:0,undos:null!==(r=h.undos)&&void 0!==r?r:0,erases:null!==(i=h.erases)&&void 0!==i?i:0,mistakes:null!==(s=h.countMistakes)&&void 0!==s?s:0,points:null!==(l=h.score)&&void 0!==l?l:0};h.score||(Object(p.a)("g_game_finish",S),g.a.send("g_game_finish",S,!0)),Object(d.t)(h),a.a&&(t.dispatch(o.e.updateCountWins),localStorage.setItem("lastGameTime",h.timer),localStorage.setItem("lastGameDifficulty",b)),Object(d.e)(h),h.score&&c.a.emit(u.f.sendGameResult,{game:{score:h.score,time:Math.round(Date.now()/1e3)},event:S}),c.a.emit(u.f.stopTimer),c.a.emit(u.f.stopScoreTimer)}t.dispatch(o.e.animateBoard,e)}},r[o.e.animateBoard]=function(t,e){var n=t.state,r=n.currentGame,i=n.selectedCell,a=n.finished,s=n.animatedCells,l=n.coords,f="number"==typeof e?e:i;if(a){var h=[Object(d.i)(f,S([],l,!0))];t.commit(o.e.setAnimatedCells,h),c.a.emit(u.f.animateCells)}else{h=Object(d.h)(y({},r),f,S([],l,!0));JSON.stringify(h)!==JSON.stringify(s)&&(t.commit(o.e.setAnimatedCells,h),c.a.emit(u.f.animateCells))}},r[o.e.removeConflictNotes]=function(t){var e=t.state,n=e.currentGame,r=e.selectedCell,i=e.coords;t.commit(o.e.setBoardNotes,Object(d.v)(n,i,r))},r[o.e.cheatSolve]=function(t){for(var e=t.state,n=e.currentGame,r=e.date,i=n.values,a=n.solution,s=JSON.parse(JSON.stringify(i)),c=S([],s,!0).reverse().findIndex(function(t){return t.editable&&!t.val}),u=c>=0?s.length-1-c:c,l=0;l<u;l++)s[l]=y(y({},i[l]),{val:a[l],editable:!1,conflict:!1,mistake:!1});t.commit(o.e.setShowWinRate,!1),t.dispatch(o.e.setGameLoaded,!0),t.commit(o.e.setBoardValues,s),t.commit(o.e.setBoardNotes,[]),t.dispatch(o.e.validateBoard),Object(d.r)(t.state.currentGame,r)},r[o.e.updateBoard]=function(t,e){var n,r,i,a,s,l,f,h,v,m=t.state,b=m.gameOver,w=m.showGameOver,_=m.settings,k=m.pausedGame,x=m.currentGame,E=m.selectedCell,O=m.notesMode,T=m.autoRemoveNotes,I=m.userActions,A=m.hideMessageTip,C=m.coords,j=m.date,R=m.finished,L=m.historyActions,M=m.mode,B=m.smartHint,P=m.difficulty,D=m.countWins,N=m.imaPlayed,G=!1,H=!1,q=!1;if(_[u.n.saveHistory]&&(t.commit(o.e.addHistoryAction,e),Object(d.q)(L)),!(R||w||B||N)){if(c.a.emit(u.f.userAction),b&&x.mistakes===(_[u.n.countMistakes]||o.b.COUNT_MISTAKES)&&![o.a.select,o.a.move,o.a.note].includes(e.type))return t.commit(o.e.changeShowGameOver,!0),c.a.emit(u.f.showMistakesPopup),c.a.emit(u.f.stopTimer),void c.a.emit(u.f.stopScoreTimer);if(!x.showWinRate&&A||t.dispatch(o.e.hideMessage),k)return t.dispatch(o.e.setPaused,!1),void c.a.emit(u.f.startTimer);if(x.values[E].editable||[o.a.undo,o.a.move,o.a.select,o.a.note,o.a.hint].includes(e.type)){switch([o.a.value,o.a.hint].includes(e.type)&&!x.loaded&&t.dispatch(o.e.setGameLoaded,!0),e.type){case o.a.select:t.commit(o.e.setSelected,e.value);break;case o.a.note:t.commit(o.e.setNotesMode,e.value);break;case o.a.value:if(t.commit(o.e.addUserAction,{cell:E,value:x.values[E].val,notes:S([],x.notes[E]||[],!0),nearNotes:Object(d.j)(x.notes,C,E)}),O)t.commit(o.e.setBoardValue,{val:0}),t.commit(o.e.setBoardNote,{val:e.value});else{var F=x.values[E].val===e.value;t.commit(o.e.setBoardValue,{val:F?0:e.value}),t.commit(o.e.setBoardNote,{val:0}),T&&!F&&t.dispatch(o.e.removeConflictNotes);var U=Object(d.c)(t.state.currentGame.values)+1>(null!==(r=null===(n=window.gsInterDelaySettings)||void 0===n?void 0:n.cells_limit)&&void 0!==r?r:0),W=D>=(null===(i=window.gsInterDelaySettings)||void 0===i?void 0:i.games_solved);if(console.log("games_solved_passed = "+W+"; cells_limit_passed = "+U+"; count_empty_cells = "+(Object(d.c)(t.state.currentGame.values)-1)+"; "),q=M===u.j.killer&&Object(d.m)(y({},x),E),H=Object(d.l)(t.state.currentGame.values,t.state.coords,t.state.selectedCell),G=window.useGsInters&&t.state.currentGame.solution[t.state.selectedCell]===e.value&&!F&&U&&((null===(a=window.gsInterDelaySettings)||void 0===a?void 0:a.placement)===u.h.gamescreen_progress_cell||(null===(s=window.gsInterDelaySettings)||void 0===s?void 0:s.placement)===u.h.gamescreen_progress&&(H||q))&&W,console.log("canShowInterInProgress = "+G),window.useGsInters&&!F&&t.state.currentGame.solution[t.state.selectedCell]===e.value&&((null===(l=window.gsInterDelaySettings)||void 0===l?void 0:l.placement)===u.h.gamescreen_progress_cell||(null===(f=window.gsInterDelaySettings)||void 0===f?void 0:f.placement)===u.h.gamescreen_progress&&(H||q))&&window.canShowInterByTimeoutCondition&&window.canShowInterByTimeoutCondition()&&!U&&W&&!window.cellsLimitSent){window.cellsLimitSent=!0;var z={reason:"cells_limit",placement:null===(h=window.gsInterDelaySettings)||void 0===h?void 0:h.placement,difficulty:u.e[P],mode:u.q[M]||M,content_id:x.id,content_type:[u.j.classic,u.j.killer].includes(M)?M:u.j.classic};Object(p.a)("ad_interstitial_limited",z),g.a.send("ad_interstitial_limited",z)}var $=""+E+e.value;if(t.state.currentGame.solution[t.state.selectedCell]===e.value&&x.baseScore&&!F&&!x.scoreHistory.includes($)){var V=Object(d.k)(t.state.currentGame,t.state.coords,t.state.selectedCell);t.commit(o.e.addScore,x.baseScore.val*V),t.commit(o.e.addScoreHistoryItem,$),console.log("Added "+x.baseScore.val*V+" to score"),console.log("Total score:",x.score),c.a.emit(u.f.startScoreTimer,!0)}if(window.useLimitationHintsAndMistakes&&"number"==typeof t.state.currentGame.mistakes&&t.state.currentGame.solution[t.state.selectedCell]!==e.value&&!F){var Y=_[u.n.countMistakes]||o.b.COUNT_MISTAKES;t.commit(o.e.increaseMistakes),t.commit(o.e.addMistake,Y),c.a.emit(u.f.mistakeAdded),t.state.currentGame.mistakes===Y&&(t.commit(o.e.changeShowGameOver,!0),c.a.emit(u.f.showMistakesPopup),c.a.emit(u.f.stopTimer),c.a.emit(u.f.stopScoreTimer))}else t.state.currentGame.solution[t.state.selectedCell]===e.value||F||c.a.emit(u.f.mistakeAdded)}t.dispatch(o.e.validateBoard);break;case o.a.erase:if((!x.values[E].val||x.values[E].val&&!x.values[E].editable)&&(!x.notes[E]||!x.notes[E].length))return;t.commit(o.e.addUserAction,{cell:E,value:x.values[E].val,notes:x.notes[E]}),t.commit(o.e.increaseErases),t.commit(o.e.setBoardValue,{val:0}),t.commit(o.e.setBoardNote,{val:0}),t.dispatch(o.e.validateBoard);break;case o.a.move:t.commit(o.e.setSelected,Object(d.a)(E,e.value));break;case o.a.hint:t.dispatch(o.e.makeHint);break;case o.a.undo:if(!I.length)return;var J=I.pop();if(t.commit(o.e.setSelected,J.cell),t.commit(o.e.setBoardValue,{val:J.value}),t.commit(o.e.setCurrentCellNotes,J.notes),J.nearNotes&&J.nearNotes.length){for(var K=S([],x.notes,!0),X=0;X<J.nearNotes.length;X++)x.values[J.nearNotes[X].cell].val||(K[J.nearNotes[X].cell]=J.nearNotes[X].notes);t.commit(o.e.setBoardNotes,K)}t.commit(o.e.increaseUndos),t.commit(o.e.setUserAction,I),t.dispatch(o.e.validateBoard);break;default:console.log("Type of action does not exists")}if(c.a.emit(u.f.repaintGameBoard),[o.a.move,o.a.select].includes(e.type)||t.state.finished||Object(d.r)(t.state.currentGame,j),G){var Z={placement:null===(v=window.gsInterDelaySettings)||void 0===v?void 0:v.placement,difficulty:u.e[P],mode:u.q[M]||M,content_id:x.id,content_type:[u.j.classic,u.j.killer].includes(M)?M:u.j.classic};setTimeout(function(){c.a.emit(u.f.showImaAds,function(){},Z)},H||q?1e3:100)}t.state.finished?(Object(d.u)(x,j),M===u.j.daily&&t.dispatch(o.e.setShowMonthWinScreen)):(null==e?void 0:e.reload)&&window.location.reload()}}},r[o.e.updateCountWins]=function(t){var e=t.state.countWins;t.commit(o.e.updateCountWins,e+1),a.a&&localStorage.setItem(s.b.COUNT_WINS,String(e+1))},r[o.e.changeSmartHint]=function(t,e){var n,r=t.state.finished,i=e.active,a=e.sh;if(t.commit(o.e.changeSmartHint,i),i)c.a.emit(u.f.stopTimer),c.a.emit(u.f.stopScoreTimer),c.a.emit(u.f.showSmartHint,{show:!0,sh:a});else if(c.a.emit(u.f.showSmartHint,{show:!1}),r||(c.a.emit(u.f.startTimer),c.a.emit(u.f.startScoreTimer)),c.a.emit(u.f.repaintGameBoard),a.type!==u.o.FreeCell){t.commit(o.e.changeCountSmartHints,(null!==(n=t.state.currentGame.countSmartHints)&&void 0!==n?n:0)+1),t.state.finished||Object(d.r)(t.state.currentGame,t.state.date);var s={type:Object(f.b)(a.type),time_1s:t.state.currentGame.timer/1e3};Object(p.a)("g_hint_use",s),g.a.send("g_hint_use",s)}},r[o.e.makeHint]=function(t){var e=t.state,n=e.currentGame,r=e.selectedCell,i=e.autoCheckMistakes,a=e.coords,s=e.mode;if([u.j.classic,u.j.daily].includes(s)){if(i)if(n.values[r].val&&n.values[r].val!==n.solution[r]){t.dispatch(o.e.makeHintToCell,{cell:r});var c={type:"default",time_1s:t.state.currentGame.timer/1e3};Object(p.a)("g_hint_use",c),g.a.send("g_hint_use",c)}else{var l=Object(d.f)(n,a,r);if(l)t.dispatch(o.e.changeSmartHint,{active:!0,sh:y(y({},l),l.cell?{value:n.solution[l.cell.index]}:{})});else if(n.values[r].val)t.dispatch(o.e.changeSmartHint,{active:!0,sh:{type:u.o.FreeCell}});else{t.dispatch(o.e.makeHintToCell,{cell:r});c={type:"default",time_1s:t.state.currentGame.timer/1e3};Object(p.a)("g_hint_use",c),g.a.send("g_hint_use",c)}}}else if(t.state.currentGame.values[r].editable){t.dispatch(o.e.makeHintToCell,{cell:r});c={type:"default",time_1s:t.state.currentGame.timer/1e3};Object(p.a)("g_hint_use",c),g.a.send("g_hint_use",c)}},r[o.e.makeHintToCell]=function(t,e){var n=t.state,r=n.currentGame,i=n.userActions,a=n.date,s=n.mode,l=n.difficulty,f=n.autoRemoveNotes,h=e.cell,p=e.ignoreLimits;r.loaded||t.dispatch(o.e.setGameLoaded,!0),t.commit(o.e.setBoardValue,{val:r.solution[h],index:h,editable:!1}),t.commit(o.e.setBoardNote,{val:0,index:h}),t.commit(o.e.setUserAction,i.filter(function(t){return t.cell!==h})),window.useLimitationHintsAndMistakes&&"number"==typeof r.hints&&!p&&t.commit(o.e.updateCountHints),f&&t.dispatch(o.e.removeConflictNotes),c.a.emit(u.f.repaintGameBoard);var v=Object(d.k)(t.state.currentGame,t.state.coords,h);t.commit(o.e.addScore,o.c[l].base*v),c.a.emit(u.f.startScoreTimer,!0),console.log("Added "+o.c[l].base+" to score (base value by HINT)"),console.log("Total score:",r.score),Object(d.r)(t.state.currentGame,a),t.dispatch(o.e.validateBoard,h),t.state.finished&&(Object(d.u)(r,a),s===u.j.daily&&t.dispatch(o.e.setShowMonthWinScreen))},r[o.e.setShowMonthWinScreen]=function(t){if(a.a){var e=t.state,n=e.date,r=e.dateTranslations,i=Object(h.d)(n),c=JSON.parse(localStorage.getItem(s.b.FINISHED_MONTHS))||[];if(i&&v.a.monthIsFullCompleted(i).completed&&!c.includes(i)){c.push(i),localStorage.setItem(s.b.FINISHED_MONTHS,JSON.stringify(c)),window.notification.add("dc");var u=i.split("_"),l=u[0],d=u[1];document.querySelectorAll(".daily-win-text").forEach(function(t){return t.innerText=t.innerText.replace("{0}",Object(h.k)(r[d],null,parseInt(l),"YEAR"))}),t.commit(o.e.setShowMonthWinScreen,!0)}}},r[o.e.prepareBoard]=function(t,e){var n,r=t.state,i=r.mode,a=r.settings;i===u.j.daily&&t.commit(o.e.setDifficulty,e.difficulty);var s={values:Object(d.g)(e.mission),solution:e.solution.split("").map(function(t){return parseInt(t)}),mode:t.state.mode,difficulty:t.state.difficulty,loaded:!1,mission:e.mission,id:e.id,showWinRate:!(!t.state.hideMessageTip||!e.win_rate),winRate:null!==(n=e.win_rate)&&void 0!==n?n:0,timer:0,notes:[],cages:e.cages,score:0,scoreHistory:[],baseScore:{val:o.c[t.state.difficulty].base,lastTimeUpdated:Date.now()},countSmartHints:0};window.useLimitationHintsAndMistakes&&(s.mistakes=0,s.hints=a[u.n.countHints]||o.b.COUNT_HINTS),t.commit(o.e.prepareBoard,s),i===u.j.killer&&t.commit(o.e.setGeneratedCages,Object(l.a)(e.solution,e.cages,t.state.coords)),c.a.emit(u.f.currentGameInit),c.a.emit(u.f.userAction)},r[o.e.checkSavedGame]=function(t){if(a.a){var e=t.state,n=(e.hideSavedGameDialog,e.mode),r=e.difficulty,i=e.date,f=e.coords,h=e.autoCheckMistakes,p=[u.j.daily].includes(n),v=JSON.parse(localStorage.getItem(s.b.MAIN_GAME))||{},m=JSON.parse(localStorage.getItem(s.b.MAIN_GAME_KILLER))||{},g=localStorage.getItem(s.b.DIFFICULTY),b=localStorage.getItem(s.b.MODE),w=JSON.parse(localStorage.getItem(s.b.DAILY))||{},S=null;switch(v.mode===u.j.killer&&(m=v,Object(d.r)(m,i),localStorage.removeItem(s.b.MAIN_GAME)),!0){case n===u.j.daily:w[i]&&(w[i].userGrid||w[i].values)&&(S=Object(d.b)(y({mode:n},w[i]),f,h),w[i]=S,localStorage.setItem(s.b.DAILY,JSON.stringify(w)));break;case n===b&&r===g:S=Object(d.b)({difficulty:r,mode:n,clearGrid:JSON.parse(localStorage.getItem("clearGrid")),userGrid:JSON.parse(localStorage.getItem("userGrid")),solvedGrid:JSON.parse(localStorage.getItem("puzzleGrid")),pencilGrid:JSON.parse(localStorage.getItem("pencilGrid")),winRate:JSON.parse(localStorage.getItem("winRate")),timePassed:JSON.parse(localStorage.getItem("timePassed")),cages:n===u.j.killer?JSON.parse(localStorage.getItem("cages")):null},f,h),Object(d.d)();break;case m.mode===n&&m.difficulty===r:S=m;break;case v.mode===n&&v.difficulty===r:S=v}if(S&&!(null==S?void 0:S.finished))return t.dispatch(o.e.setHideSavedGameDialog),t.commit(o.e.prepareBoard,S),n===u.j.killer&&t.commit(o.e.setGeneratedCages,Object(l.a)(S.solution,S.cages,f)),void Object(d.r)(S,i);S&&(null==S?void 0:S.finished)&&(Object(d.u)(S,i),S=null);var _=v.difficulty||m.mode||g,k=[v.mode,m.mode,b];if(!p&&_&&k.includes(n)){var x=k.find(function(t){return t===n}),E=x===u.j.classic?v.difficulty||g:v.mode===u.j.killer?v.difficulty||g:m.difficulty||g;t.commit(o.e.setDifficulty,E),t.commit(o.e.setMode,x),c.a.emit(u.f.setActiveDifficulty,{difficulty:E,replace:!0}),t.dispatch(o.e.checkSavedGame)}}},r[o.e.setHideSavedGameDialog]=function(t){a.a&&sessionStorage.setItem("hideLoadGameDialog","true"),t.commit(o.e.setHideSavedGameDialog,!0)},r[o.e.setPromoBubbles]=function(t,e){var n;void 0===e&&(e={hide:!1});var r=e.hide,i=t.state.promoBubble,c={date:(new Date).toString(),count:(null!==(n=i.count)&&void 0!==n?n:0)+1,hide:r};t.commit(o.e.setShowPromoBubbles,!1),t.commit(o.e.setPromoBubbles,c),a.a&&localStorage.setItem(s.b.PROMO_BUBBLE,JSON.stringify(c))},r[o.e.setGameLoaded]=function(t,e){t.commit(o.e.setGameLoaded,e),t.commit(o.e.changeCanShowInter,e),e&&a.a&&localStorage.setItem(s.b.CAN_SHOW_INTERS,String(!0))},r),k=function(){return(k=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},x=function(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))},E=((i={})[o.e.setImaAdsPlayed]=function(t,e){return t.imaPlayed=e,t},i[o.e.setAutoPaused]=function(t,e){return t.autoPaused=e,t},i[o.e.setShowSavedPopup]=function(t,e){return t.showSavedPopup=e,t},i[o.e.setShowMonthWinScreen]=function(t,e){return t.monthWin=e,t},i[o.e.updateTimer]=function(t,e){return t.currentGame.timer=e,t},i[o.e.setHideSavedGameDialog]=function(t,e){return t.setHideSavedGameDialog=e,t},i[o.e.setDifficulty]=function(t,e){return t.difficulty=e,window.difficulty=e,t},i[o.e.setMode]=function(t,e){return t.mode=e,t},i[o.e.setAnimatedCells]=function(t,e){return t.animatedCells=e,t},i[o.e.setFinished]=function(t,e){return t.finished=e,t.currentGame.finished=e,t},i[o.e.setGeneratedCages]=function(t,e){return t.generatedCages=e,t},i[o.e.setPaused]=function(t,e){return t.pausedGame=e,t},i[o.e.setCurrentCellNotes]=function(t,e){return t.currentGame.notes[t.selectedCell]=e,t},i[o.e.setUserAction]=function(t,e){return t.userActions=e,t},i[o.e.setHistoryActions]=function(t,e){return t.historyActions=e,t},i[o.e.setNotesMode]=function(t,e){return t.notesMode=e,t},i[o.e.setCoords]=function(t,e){return t.coords=e,t},i[o.e.setSettings]=function(t,e){return t.settings=e,t},i[o.e.setAutoCheck]=function(t,e){return t.autoCheckMistakes=e,t},i[o.e.prepareBoard]=function(t,e){return t.currentGame=e,t},i[o.e.setSelected]=function(t,e){return t.selectedCell=e,t},i[o.e.hideMessageTip]=function(t){return t.hideMessageTip=!0,t},i[o.e.setGameLoaded]=function(t,e){return t.currentGame?(t.currentGame.loaded=e,t):t},i[o.e.setShowWinRate]=function(t,e){return t.currentGame?(t.currentGame.showWinRate=e,t):t},i[o.e.setBoardValues]=function(t,e){t.currentGame.values=e},i[o.e.setBoardValue]=function(t,e){var n="number"==typeof e.index?e.index:t.selectedCell;return t.currentGame.values[n]=k(k({},t.currentGame.values[n]),e),t},i[o.e.setBoardNotes]=function(t,e){return t.currentGame.notes=e,t},i[o.e.addUserAction]=function(t,e){return t.userActions.push(e),t},i[o.e.addHistoryAction]=function(t,e){return t.historyActions.push(e),t},i[o.e.setBoardNote]=function(t,e){var n="number"==typeof e.index?e.index:t.selectedCell,r=x([],t.currentGame.notes[n]||[],!0);return e.val&&(r[e.val-1]=r[e.val-1]?null:e.val),t.currentGame.notes[n]=e.val?r:null,t},i[o.e.updateCountHints]=function(t){return t.currentGame.hints=0===t.currentGame.hints?t.currentGame.hints:t.currentGame.hints-1,t},i[o.e.addFreeHints]=function(t){return t.currentGame.hints++,t},i[o.e.addMistake]=function(t,e){return t.currentGame.mistakes=t.currentGame.mistakes+1<e?t.currentGame.mistakes+1:e,t},i[o.e.minusMistake]=function(t){return t.currentGame.mistakes=t.currentGame.mistakes-1>=0?t.currentGame.mistakes-1:0,t},i[o.e.changeShowGameOver]=function(t,e){return t.showGameOver=e,t},i[o.e.setGameOver]=function(t,e){return t.gameOver=e,t},i[o.e.setHideLostProgress]=function(t){return t.hideLostProgress=!0,t},i[o.e.setShowPopupLostProgress]=function(t,e){return t.showPopupLostProgress=e,t},i[o.e.setShowPromoBubbles]=function(t,e){return t.canShowPromoBubble=e,t},i[o.e.setPromoBubbles]=function(t,e){return t.promoBubble=e,t},i[o.e.changeSmartHint]=function(t,e){return t.smartHint=e,t},i[o.e.changeCountSmartHints]=function(t,e){return t.currentGame.countSmartHints=e,t},i[o.e.updateCountWins]=function(t,e){return t.countWins=e,t},i[o.e.changeCanShowInter]=function(t,e){return t.canShowInter=e,t},i[o.e.increaseErases]=function(t){var e;return t.currentGame.erases=(null!==(e=t.currentGame.erases)&&void 0!==e?e:0)+1,t},i[o.e.increaseUndos]=function(t){var e;return t.currentGame.undos=(null!==(e=t.currentGame.undos)&&void 0!==e?e:0)+1,t},i[o.e.increaseMistakes]=function(t){var e;return t.currentGame.countMistakes=(null!==(e=t.currentGame.countMistakes)&&void 0!==e?e:0)+1,t},i[o.e.addScore]=function(t,e){var n;return t.currentGame.score=(null!==(n=t.currentGame.score)&&void 0!==n?n:0)+e,t},i[o.e.addScoreHistoryItem]=function(t,e){return t.currentGame.scoreHistory.push(e),t},i[o.e.updateScoreBaseValue]=function(t,e){return t.currentGame.baseScore=e,t},i),O=window.mode,T=window.lang,I=window.difficulty,A=Object(h.i)(new Date,window.serverDate),C=a.a&&sessionStorage.getItem(s.c.DC_DATE)||A.getFullYear()+"_"+A.getMonth()+"_"+A.getDate(),j=a.a&&Object(a.b)(s.a.CHECK_MISTAKES),R=a.a&&localStorage.getItem(s.b.GAME_TIP),L=a.a&&localStorage.getItem(s.b.HIDE_LOST_PROGRESS),M=a.a&&sessionStorage.getItem(s.b.SAVED_GAME),B=0,P=a.a&&JSON.parse(localStorage.getItem(s.b.PROMO_BUBBLE))||{count:0},D=P.date?new Date(P.date):new Date,N=new Date,G=!(P.date&&N.getFullYear()===D.getFullYear()&&N.getMonth()===D.getMonth()&&N.getDate()===D.getDate()||P.count&&!(P.count<3)||P.hide);a.a&&sessionStorage.getItem(s.c.SELECTED_CELL)&&(B=parseInt(sessionStorage.getItem(s.c.SELECTED_CELL)),sessionStorage.removeItem(s.c.SELECTED_CELL));var H={settings:{},selectedCell:B,autoCheckMistakes:!j||"true"===j,hideMessageTip:!!R,hideSavedGameDialog:M,showSavedPopup:!1,showGameOver:!1,gameOver:!1,currentGame:null,notesMode:!1,pausedGame:!1,autoPaused:!1,finished:!1,monthWin:!1,userActions:[],historyActions:a.a&&JSON.parse(localStorage.getItem(s.b.HISTORY_ACTIONS))||[],coords:[],animatedCells:[],autoRemoveNotes:!0,imaPlayed:!1,showPopupLostProgress:!1,mode:O,lang:T,difficulty:I,date:C,dateTranslations:window.arrayOfTranslateDates,hideLostProgress:L,promoBubble:P,canShowPromoBubble:G,smartHint:!1,lastInterInProgressDate:a.a?Number(localStorage.getItem(s.b.LAST_INTER_IN_PROGRESS)):null,countWins:a.a?Number(localStorage.getItem(s.b.COUNT_WINS)):0,canShowInter:!a.a||Boolean(localStorage.getItem(s.b.CAN_SHOW_INTERS))},q=function(){function t(t){this.status=o.d.resting,this.actions=t.actions,this.mutations=t.mutations,this.state=t.state||{}}return t.prototype.dispatch=function(t,e){if("function"==typeof this.actions[t])return this.status=o.d.action,this.actions[t](this,e),!0},t.prototype.commit=function(t,e){if("function"==typeof this.mutations[t])return this.status=o.d.mutation,this.state=Object.assign(this.state,this.mutations[t](this.state,e)),!0},t}();e.a=new q({actions:_,mutations:E,state:H})},zk60:function(t,e,n){var r=n("2oRo"),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}}},[["VZr0","runtime"]]]);